Fix build of C mempcpy and stpcpy.
[glibc.git] / ChangeLog
blob8448f28f23376d2c57676ecf2245eed54f8f281b
1 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4         redeclare with asm name.
5         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7         including <string.h>.
8         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18         * stdlib/strtol.c (__strtol): Use prototype definition.
20         [BZ #17594]
21         * stdlib/strtol.c (SYM__): New macro.
22         (SYM__1): Likewise.
23         (__strtol): Likewise.
24         (strtol): Rename to __strtol and define as weak alias of
25         __strtol.  Use libc_hidden_weak.
27 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30         Use numbered labels in inline assembly.
32 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35         Add setjmp LIBC_PROBE.
36         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37         Likewise.
38         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39         Add longjmp, longjmp_target LIBC_PROBE.
40         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41         Likewise.
43 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
47         to get rid of unused variable warning.
49 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
51         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
52         Check for unwind_backtrace ==  NULL only in SHARED case.
53         (__backchain_backtrace): Compile only in SHARED case.
54         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
55         Likewise.
56         (__backchain_backtrace): Declare as static.
58 2014-11-12  Roland McGrath  <roland@hack.frob.com>
60         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
61         (__libc_multiple_threads_ptr): Variable moved ...
62         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
64 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
66         * conform/GlibcConform.pm: New file.
67         * conform/conformtest.pl: Use GlibcConform module.
68         * conform/linknamespace.pl: New file.
69         * conform/list-header-symbols.pl: Likewise.
70         * conform/Makefile (linknamespace-symlists-base): New variable.
71         (linknamespace-symlists-tests): Likewise.
72         (linknamespace-header-base): Likewise.
73         (linknamespace-header-tests): Likewise.
74         (tests-special): Add new tests.
75         ($(linknamespace-symlists-tests)): New rule.
76         (linknamespace-libs): New variable.
77         ($(objpfx)symlist-stdlibs): New rule.
78         ($(linknamespace-header-tests)): Likewise.
79         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
80         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
81         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
82         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
83         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
84         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
85         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
86         (test-xfail-ISO/math.h/linknamespace): Likewise.
87         (test-xfail-ISO/signal.h/linknamespace): Likewise.
88         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
89         (test-xfail-ISO/time.h/linknamespace): Likewise.
90         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
91         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
92         (test-xfail-ISO99/math.h/linknamespace): Likewise.
93         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
94         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
95         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
96         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
97         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
98         (test-xfail-ISO11/math.h/linknamespace): Likewise.
99         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
100         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
101         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
102         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
103         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
104         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
105         (test-xfail-XPG3/math.h/linknamespace): Likewise.
106         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
107         (test-xfail-XPG3/search.h/linknamespace): Likewise.
108         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
109         (test-xfail-XPG3/time.h/linknamespace): Likewise.
110         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
111         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
112         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
113         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
114         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
115         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
116         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
117         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
118         (test-xfail-XPG4/math.h/linknamespace): Likewise.
119         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
120         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
121         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
122         (test-xfail-XPG4/search.h/linknamespace): Likewise.
123         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
124         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
125         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
126         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
127         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
128         (test-xfail-XPG4/time.h/linknamespace): Likewise.
129         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
130         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
131         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
132         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
133         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
134         (test-xfail-POSIX/math.h/linknamespace): Likewise.
135         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
136         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
137         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
138         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
139         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
140         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
141         (test-xfail-POSIX/time.h/linknamespace): Likewise.
142         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
143         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
144         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
145         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
146         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
147         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
148         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
149         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
150         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
151         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
152         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
153         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
154         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
155         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
156         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
157         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
158         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
159         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
160         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
161         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
162         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
163         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
164         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
165         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
166         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
167         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
168         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
169         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
170         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
171         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
172         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
173         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
174         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
175         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
176         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
177         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
178         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
179         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
180         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
181         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
182         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
183         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
184         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
185         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
186         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
187         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
188         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
189         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
190         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
191         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
192         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
193         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
194         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
195         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
196         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
197         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
198         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
199         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
200         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
201         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
202         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
203         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
204         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
205         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
206         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
207         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
208         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
209         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
210         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
211         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
212         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
213         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
214         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
215         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
216         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
217         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
218         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
219         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
220         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
221         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
222         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
223         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
224         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
225         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
226         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
227         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
228         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
229         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
230         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
231         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
232         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
233         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
234         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
235         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
236         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
237         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
238         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
239         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
241         [BZ #17589]
242         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
243         of fgets_unlocked.
245         [BZ #17585]
246         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
247         (memmem): Rename to __memmem and define as weak alias of
248         __memmem.  Use libc_hidden_weak.
249         (__memmem): Use libc_hidden_def.
250         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
251         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
252         memmem.
254         [BZ #17582]
255         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
256         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
257         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
258         and define as weak alias of __fgets_unlocked.  Use
259         libc_hidden_weak.
260         (__fgets_unlocked): Use libc_hidden_def.
261         * include/stdio.h (__fgets_unlocked): Declare.  Use
262         libc_hidden_proto.
263         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
264         __fgets_unlocked instead of fgets_unlocked.
265         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
266         (GET_NPROCS_CONF_PARSER): Likewise.
267         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
268         (GET_NPROCS_CONF_PARSER): Likewise.
270         [BZ #17574]
271         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
272         weak alias of __wmemset.  Use libc_hidden_weak.
273         (__wmemset): Use libc_hidden_def.
274         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
275         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
276         of wmemset.
278         [BZ #17573]
279         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
280         with asm name __mempcpy.
281         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
283         [BZ #17572]
284         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
285         and define as weak alias of __rawmemchr.
286         (__rawmemchr): Do not define as strong alias of rawmemchr.
288         [BZ #17571]
289         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
290         alias of __qsort_r.
291         (qsort): Call __qsort_r instead of qsort_r.
292         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
293         (__qsort_r): Declare.  Call libc_hidden_proto.
294         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
295         instead of qsort_r.
296         * nscd/gai.c (__qsort_r): Define to qsort_r.
297         * posix/tst-rfc3484.c (__qsort_r): Likewise.
298         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
299         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
301         [BZ #17570]
302         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
303         define as weak alias of __malloc_info.
305         [BZ #17584]
306         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
307         as weak alias of __rewinddir.  Don't use libc_hidden_def.
308         (__rewinddir): Use libc_hidden_def.
309         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
310         as weak alias of __rewinddir.  Don't use libc_hidden_def.
311         (__rewinddir): Use libc_hidden_def.
312         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
313         weak alias of __rewinddir.  Don't use libc_hidden_def.
314         (__rewinddir): Use libc_hidden_def.
315         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
316         (__rewinddir): Use libc_hidden_proto.
317         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
318         rewinddir.
319         (__getcwd): Use __rewinddir instead of rewinddir.
321         [BZ #17583]
322         * libio/fileno.c (fileno): Rename to __fileno and define as weak
323         alias of __fileno.  Use libc_hidden_weak.
324         (__fileno): Use libc_hidden_def.
325         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
326         * libio/ftello.c (ftello): Rename to __ftello and define as weak
327         alias of __ftello.
328         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
329         __ftello.
330         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
331         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
332         libc_hidden_def.
333         (fread_unlocked): Don't use libc_hidden_ver.
334         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
335         and define as weak alias of __fread_unlocked.  Don't use
336         libc_hidden_def.
337         (__fread_unlocked): Use libc_hidden_def.
338         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
339         (ftello): Don't use libc_hidden_proto.
340         (__ftello): Declare.  Use libc_hidden_proto.
341         (fread_unlocked): Don't use libc_hidden_proto.
342         (__fread_unlocked): Declare.  Use libc_hidden_proto.
343         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
344         and __ftello instead of fileno, fread_unlocked and ftello.
346 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
348         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
349         GOT12.
350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
351         Likewise.
352         (_dl_start_user): Likewise.
353         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
355 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
356             Siddhesh Poyarekar  <siddhesh@redhat.com>
358         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
359         Move argv and envp down instead of moving argc up.
360         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
362 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
364         [BZ #17506]
365         * test-skeleton.c (main): Return successful if one of
366         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
367         * string/tst-strcoll-overflow.c: Define expected status.
369 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
371         [BZ #17475]
372         * locale/iso-639.def: Define Bhili and Tulu language codes.
374 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
376         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
378 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
380         [BZ #17555]
381         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
383 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
385         * configure.ac: Updated check of minimal required version to
386         2.22.
387         * manual/install.texi (Tools for Compilation): Updated version
388         number.
389         * configure: Regenerated.
390         * INSTALL: Likewise.
392 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
394         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
395         __tls_get_addr.
397 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
399         * include/sys/wait.h (__libc_waitpid): Remove declaration.
400         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
402         libc_hidden_weak.
403         (waitpid): Define as alias of __waitpid.
404         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
405         __waitpid.
406         (__waitpid): Don't define as alias.  Use libc_hidden_def not
407         libc_hidden_weak.
408         (waitpid): Define as alias of __waitpid.
409         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
410         __libc_waitpid alias.
411         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
412         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
413         Likewise.
414         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
415         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
416         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
417         alias.
418         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
419         __waitpid.
420         (__waitpid): Don't define as alias.  Use libc_hidden_def not
421         libc_hidden_weak.
422         (waitpid): Define as alias of __waitpid.
424 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
426         * manual/llio.texi: Add comment that write safety has been
427         fixed in Linux.
429         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
430         (localplt-build-dso): Add elf/ld.so.
431         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
432         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
433         and free for ld.so.
434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
435         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
437         Likewise.
438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
439         Likewise.
440         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
441         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
442         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
443         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
444         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
445         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
446         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
447         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
448         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
449         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
450         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
452 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
454         [BZ #14132]
455         * include/libc-symbols.h (INTUSE): Remove macro.
456         (INTDEF): Likewise.
457         (INTVARDEF): Likewise.
458         (_INTVARDEF): Likewise.
459         (INTDEF2): Likewise.
460         (INTVARDEF2): Likewise.
461         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
462         rtld_hidden_def instead of INTVARDEF.
463         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
464         (_dl_starting_up_internal): Remove declaration.
465         (_dl_starting_up): Use rtld_hidden_proto.
466         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
467         declaration.
468         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
469         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
470         _dl_starting_up.
471         * elf/dl-writev.h (_dl_writev): Likewise.
472         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
473         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
474         _dl_starting_up_internal.
476 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
478         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
479         test-skeleton.c.
481 2014-11-05  Will Newton  <will.newton@linaro.org>
483         * benchtests/Makefile: (bench-malloc): Add malloc thread
484         scalability benchmark.
485         * benchtests/bench-malloc-threads.c: New file.
487 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
489         * sysdeps/aarch64/strchrnul.S: New file.
491 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
493         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
494         definition.
495         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
496         Likwise.
497         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
498         Likewise.
499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
500         Likewise.
501         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
502         Likewise.
503         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
504         Likewise.
506 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
508         * catgets/test-gencat.c: Use test-skeleton.c.
509         * catgets/tst-catgets.c: Likewise.
510         * csu/tst-empty.c: Likewise.
511         * elf/tst-audit2.c: Likewise.
512         * elf/tst-global1.c: Likewise.
513         * elf/tst-pathopt.c: Likewise.
514         * elf/tst-piemod1.c: Likewise.
515         * elf/tst-tls10.c: Likewise.
516         * elf/tst-tls11.c: Likewise.
517         * elf/tst-tls12.c: Likewise.
518         * gnulib/tst-gcc.c: Likewise.
519         * iconvdata/tst-e2big.c: Likewise.
520         * iconvdata/tst-loading.c: Likewise.
521         * iconv/tst-iconv1.c: Likewise.
522         * iconv/tst-iconv2.c: Likewise.
523         * inet/test-inet6_opt.c: Likewise.
524         * inet/tst-gethnm.c: Likewise.
525         * inet/tst-network.c: Likewise.
526         * inet/tst-ntoa.c: Likewise.
527         * intl/tst-codeset.c: Likewise.
528         * intl/tst-gettext2.c: Likewise.
529         * intl/tst-gettext3.c: Likewise.
530         * intl/tst-ngettext.c: Likewise.
531         * intl/tst-translit.c: Likewise.
532         * io/test-stat.c: Likewise.
533         * libio/test-fmemopen.c: Likewise.
534         * libio/tst-freopen.c: Likewise.
535         * libio/tst-sscanf.c: Likewise.
536         * libio/tst-ungetwc1.c: Likewise.
537         * libio/tst-ungetwc2.c: Likewise.
538         * libio/tst-widetext.c: Likewise.
539         * localedata/tst-ctype.c: Likewise.
540         * localedata/tst-digits.c: Likewise.
541         * localedata/tst-leaks.c: Likewise.
542         * localedata/tst-mbswcs1.c: Likewise.
543         * localedata/tst-mbswcs2.c: Likewise.
544         * localedata/tst-mbswcs3.c: Likewise.
545         * localedata/tst-mbswcs4.c: Likewise.
546         * localedata/tst-mbswcs5.c: Likewise.
547         * localedata/tst-setlocale.c: Likewise.
548         * localedata/tst-trans.c: Likewise.
549         * localedata/tst-wctype.c: Likewise.
550         * localedata/tst-xlocale1.c: Likewise.
551         * login/tst-grantpt.c: Likewise.
552         * malloc/tst-calloc.c: Likewise.
553         * malloc/tst-malloc.c: Likewise.
554         * malloc/tst-mallocstate.c: Likewise.
555         * malloc/tst-mcheck.c: Likewise.
556         * malloc/tst-mtrace.c: Likewise.
557         * malloc/tst-obstack.c: Likewise.
558         * math/atest-exp2.c: Likewise.
559         * math/atest-exp.c: Likewise.
560         * math/atest-sincos.c: Likewise.
561         * math/test-matherr.c: Likewise.
562         * math/test-misc.c: Likewise.
563         * math/test-powl.c: Likewise.
564         * math/tst-definitions.c: Likewise.
565         * misc/tst-dirname.c: Likewise.
566         * misc/tst-efgcvt.c: Likewise.
567         * misc/tst-fdset.c: Likewise.
568         * misc/tst-hsearch.c: Likewise.
569         * misc/tst-mntent2.c: Likewise.
570         * nptl/tst-sem7.c: Likewise.
571         * nptl/tst-sem8.c: Likewise.
572         * nptl/tst-sem9.c: Likewise.
573         * nss/test-netdb.c: Likewise.
574         * posix/tst-fnmatch.c: Likewise.
575         * posix/tst-getlogin.c: Likewise.
576         * posix/tst-gnuglob.c: Likewise.
577         * posix/tst-mmap.c: Likewise.
578         * pwd/tst-getpw.c: Likewise.
579         * resolv/tst-inet_ntop.c: Likewise.
580         * rt/tst-timer.c: Likewise.
581         * stdio-common/test-fseek.c: Likewise.
582         * stdio-common/test-popen.c: Likewise.
583         * stdio-common/test-vfprintf.c: Likewise.
584         * stdio-common/tst-cookie.c: Likewise.
585         * stdio-common/tst-fileno.c: Likewise.
586         * stdio-common/tst-gets.c: Likewise.
587         * stdio-common/tst-obprintf.c: Likewise.
588         * stdio-common/tst-perror.c: Likewise.
589         * stdio-common/tst-sprintf2.c: Likewise.
590         * stdio-common/tst-sprintf3.c: Likewise.
591         * stdio-common/tst-sprintf.c: Likewise.
592         * stdio-common/tst-swprintf.c: Likewise.
593         * stdio-common/tst-tmpnam.c: Likewise.
594         * stdio-common/tst-unbputc.c: Likewise.
595         * stdio-common/tst-wc-printf.c: Likewise.
596         * stdlib/tst-environ.c: Likewise.
597         * stdlib/tst-fmtmsg.c: Likewise.
598         * stdlib/tst-limits.c: Likewise.
599         * stdlib/tst-rand48-2.c: Likewise.
600         * stdlib/tst-rand48.c: Likewise.
601         * stdlib/tst-random2.c: Likewise.
602         * stdlib/tst-random.c: Likewise.
603         * stdlib/tst-strtol.c: Likewise.
604         * stdlib/tst-strtoll.c: Likewise.
605         * stdlib/tst-tls-atexit.c: Likewise.
606         * stdlib/tst-xpg-basename.c: Likewise.
607         * string/test-ffs.c: Likewise.
608         * string/tst-bswap.c: Likewise.
609         * string/tst-inlcall.c: Likewise.
610         * string/tst-strtok.c: Likewise.
611         * string/tst-strxfrm.c: Likewise.
612         * sysdeps/x86_64/tst-audit10.c: Likewise.
613         * sysdeps/x86_64/tst-audit3.c: Likewise.
614         * sysdeps/x86_64/tst-audit4.c: Likewise.
615         * sysdeps/x86_64/tst-audit5.c: Likewise.
616         * time/tst-ftime_l.c: Likewise.
617         * time/tst-getdate.c: Likewise.
618         * time/tst-mktime3.c: Likewise.
619         * time/tst-mktime.c: Likewise.
620         * time/tst-posixtz.c: Likewise.
621         * time/tst-strptime2.c: Likewise.
622         * time/tst-strptime3.c: Likewise.
623         * wcsmbs/tst-btowc.c: Likewise.
624         * wcsmbs/tst-mbrtowc.c: Likewise.
625         * wcsmbs/tst-mbsrtowcs.c: Likewise.
626         * wcsmbs/tst-wchar-h.c: Likewise.
627         * wcsmbs/tst-wcpncpy.c: Likewise.
628         * wcsmbs/tst-wcrtomb.c: Likewise.
629         * wcsmbs/tst-wcsnlen.c: Likewise.
630         * wcsmbs/tst-wcstof.c: Likewise.
632 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
634         [BZ #14132]
635         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
636         INTDEF.
637         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
638         declaration.
639         (_dl_mcount): Use rtld_hidden_proto.
640         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
641         _dl_mcount.
642         * elf/rtld.c (_rtld_global_ro): Likewise.
644         [BZ #14132]
645         * elf/dl-init.c (_dl_init): Don't use INTDEF.
646         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
647         of _dl_init_internal.
648         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
649         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
650         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
651         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
652         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
653         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
654         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
655         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
656         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
657         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
658         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
659         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
660         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
661         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
662         * sysdeps/tile/dl-start.S (_start): Likewise.
663         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
664         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
666         [BZ #14132]
667         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
668         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
669         (rtld_progname): Make macro definition unconditional.
670         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
671         INTDEF.
672         (dlmopen_doit): Do not use INTUSE with _dl_argv.
673         (dl_main): Likewise.
674         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
675         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
676         instead of _dl_argv_internal.
677         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
678         __GI__dl_argv instead of INTUSE(_dl_argv).
679         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
680         __GI__dl_argv instead of _dl_argv_internal.
682         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
683         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
684         macro.
685         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
686         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
687         New macro.
688         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
689         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
690         macro.
691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
692         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
694 2014-11-04  Andreas Schwab  <schwab@suse.de>
696         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
698 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
701         mtvsrd instruction in binary form.
703 2014-11-03  Andreas Schwab  <schwab@suse.de>
705         [BZ #17522]
706         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
707         for less than MB_LEN_MAX use a local buffer of that size.
708         * libio/tst-fputws.c: New file.
709         * libio/Makefile (tests): Add tst-fputws.
711 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
713         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
714         the size of the fpu_fr.fpu_dregs[] array.
716 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
718         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
719         (__nanosleep): Do not define as alias.
720         (nanosleep): Define as alias of __nanosleep.
721         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
722         __libc_nanosleep name.
724 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
726         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
727         install.texi in comment.
729 2014-10-31  Torvald Riegel  <triegel@redhat.com>
731         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
732         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
733         ... add here and use lwsync or sync ...
734         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
735         ... and add here using lwsync.
737 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
739         * elf/dl-machine-reject-phdr.h: New file.
740         * elf/dl-load.c: #include that.
741         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
742         if that returned true.
744 2014-10-31  Roland McGrath  <roland@hack.frob.com>
746         [BZ #17496]
747         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
748         gen-as-const-headers chunk.  Add a big scare comment after the last
749         safe place to touch before-compile.
751 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
753         * manual/install.texi (Tools for Compilation): Update autoconf
754         version requirements.
755         * INSTALL: Regenerated.
757         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
758         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
759         (__libc_pselect): Likewise.
761         [BZ #14138]
762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
767 2014-10-31  Torvald Riegel  <triegel@redhat.com>
769         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
770         correct barrier instruction.
771         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
772         Likewise.
773         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
774         Likewise.
776 2014-10-30  Roland McGrath  <roland@hack.frob.com>
778         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
779         after defining inlines.  Instead, just use parens to defeat macro
780         expansion of __isctype in its declaration.
782 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
784         * include/sys/uio.h (__libc_readv): Remove declaration.
785         (__libc_writev): Likewise.
786         * misc/readv.c (__libc_readv): Rename to __readv.
787         (__readv): Do not define as alias.
788         (readv): Define as alias of __readv.
789         * misc/writev.c (__libc_writev): Rename to __writev.
790         (__writev): Do not define as alias.
791         (writev): Define as alias of __writev.
792         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
793         (__readv): Do not define as alias.
794         (readv): Define unconditionally as alias of __readv.
795         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
796         (__writev): Do not define as alias.
797         (writev): Define unconditionally as alias of __writev.
798         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
799         name.
800         (writev): Do not define __libc_writev name.
802 2014-10-30  Roland McGrath  <roland@hack.frob.com>
804         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
805         (convert_charseq): New function, broken out of ...
806         (use_from_charmap): ... here.  Call it.
807         (use_to_charmap): Use convert_charseq and free instead of duplicating
808         its code with a variable-length stack struct.
810 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
812         * include/fcntl.h (__libc_creat): Remove declaration.
813         * io/creat.c (__libc_creat): Rename to creat.
814         (creat): Do not define as alias.
815         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
816         of creat instead of __libc_creat.
817         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
818         to creat.
819         (creat): Do not define as alias.
820         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
821         __libc_creat.
822         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
823         __libc_creat name.
824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
825         Likewise.
827 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
829         * manual/llio.texi: Add comments discussing why write() may be
830         considered MT-unsafe on Linux.
832 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
834         * dl-load.c (local_strdup): Remove.
835         (expand_dynamic_string_token): Use __strdup.
836         (decompose_rpath): Likewise.
837         (_dl_map_object): Likewise.
839 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
841         [BZ #14132]
842         * sysdeps/generic/unwind-dw2-fde.c
843         (__register_frame_info_bases_internal): Do not declare.
844         (__register_frame_info_table_bases_internal): Likewise.
845         (__deregister_frame_info_bases_internal): Likewise.
846         (__register_frame_info_bases): Declare and use hidden_proto before
847         definition.  Use hidden_def instead of INTDEF.
848         (__register_frame_info_table_bases): Likewise.
849         (__deregister_frame_info_bases): Likewise.
850         (__register_frame_info): Do not use INTUSE.
851         (__register_frame): Likewise.
852         (__register_frame_info_table): Likewise.
853         (__register_frame_table): Likewise.
854         (__deregister_frame_info): Likewise.
855         (__deregister_frame): Likewise.
857 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
860         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
861         not undefine.
862         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
863         Likewise.
864         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
865         Likewise.
867 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #14138]
870         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
871         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
872         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
873         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
874         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
875         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
876         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
877         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
878         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
879         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
880         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
881         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
882         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
883         syscall.
884         (setfsuid): Likewise.
885         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
886         (setfsuid): Likewise.
887         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
888         (setfsuid): Likewise.
889         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
890         Likewise.
891         (setfsuid): Likewise.
892         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
893         (setfsuid): Likewise.
894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
895         Likewise.
896         (setfsuid): Likewise.
898 2014-10-27  Andreas Schwab  <schwab@suse.de>
900         [BZ #17501]
901         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
902         check for Slow_SSE4_2 feature bit.
903         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
904         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
905         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
906         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
908 2014-10-24  Roland McGrath  <roland@hack.frob.com>
910         * configure.ac: Validate compiler version with a empirical test of
911         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
912         $CC -v output.
913         * configure: Regenerated.
915         * inet/htons.c (htons): Prototypify.
916         * inet/htonl.c (htonl): Likewise.
918 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
920         * string/strncat.c (strncat): Improve performance by using strlen.
922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
924         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
926 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
928         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
929         Call libc_fetestexcept_aarch64.
931 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
933         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
934         Call libc_feholdexcept_aarch64.
936 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
938         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
939         Call get_rounding_mode.
941 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
943         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
944         Simplify logic.
946 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
948         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
949         Simplify logic.
951 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
953         [BZ #14138]
954         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
955         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
956         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
957         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
958         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
959         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
960         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
961         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
962         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
963         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
964         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
965         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
966         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
967         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
968         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
969         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
970         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
971         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
972         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
973         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
974         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
975         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
976         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
977         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
978         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
979         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
980         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
981         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
982         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
983         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
984         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
985         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
986         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
987         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
988         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
989         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
990         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
992         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
993         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
994         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
995         syscall.
996         (geteuid): Likewise.
997         (getgid): Likewise.
998         (getuid): Likewise.
999         (getresgid): Likewise.
1000         (getresuid): Likewise.
1001         (getgroups): Likewise.
1002         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1003         (geteuid): Likewise.
1004         (getgid): Likewise.
1005         (getuid): Likewise.
1006         (getresgid): Likewise.
1007         (getresuid): Likewise.
1008         (getgroups): Likewise.
1009         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1010         (geteuid): Likewise.
1011         (getgid): Likewise.
1012         (getuid): Likewise.
1013         (getresgid): Likewise.
1014         (getresuid): Likewise.
1015         (getgroups): Likewise.
1016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1017         Likewise.
1018         (geteuid): Likewise.
1019         (getgid): Likewise.
1020         (getuid): Likewise.
1021         (getresgid): Likewise.
1022         (getresuid): Likewise.
1023         (getgroups): Likewise.
1024         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1025         (geteuid): Likewise.
1026         (getgid): Likewise.
1027         (getuid): Likewise.
1028         (getresgid): Likewise.
1029         (getresuid): Likewise.
1030         (getgroups): Likewise.
1031         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1032         Likewise.
1033         (geteuid): Likewise.
1034         (getgid): Likewise.
1035         (getuid): Likewise.
1036         (getgroups): Likewise.
1038         [BZ #14138]
1039         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1040         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1041         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1042         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1043         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1044         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1045         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1046         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1047         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1048         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1049         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1050         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1052         __chown.
1053         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1054         (lchown): Likewise.
1055         (fchown): Likewise.
1056         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1057         Likewise.
1058         (lchown): Likewise.
1059         (fchown): Likewise.
1060         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1061         (lchown): Likewise.
1062         (fchown): Likewise.
1063         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1064         Likewise.
1065         (lchown): Likewise.
1066         (fchown): Likewise.
1068 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1070         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1071         Simplify logic.
1073 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1075         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1076         Cleanup logic.
1078 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1080         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1081         Remove unused include.
1083 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
1085         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1086         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1087         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1088         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1090 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
1091             Helge Deller <deller@gmx.de>
1093         [BZ #17508]
1094         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1095         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1096         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1098 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
1100         [BZ #14132]
1101         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1102         Remove macro definition.
1103         (__ashrdi3_v_glibc20): Likewise.
1104         (__lshrdi3_v_glibc20): Likewise.
1105         (__cmpdi2_v_glibc20): Likewise.
1106         (__ucmpdi2_v_glibc20): Likewise.
1107         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1108         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1109         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1110         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1111         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1112         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1114 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1116         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1117         old GNU extension [0] syntax.
1118         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1119         alloca rather than an array member with variable length.
1120         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1121         * nscd/nscd.c (invalidate_db): New function, broken out of ...
1122         (parse_opt): ... here.  Likewise use alloca there.
1123         Validate the -i argument before checking for rootness.
1124         (send_shutdown): New function, broken out of ...
1125         (parse_opt): ... here.
1127 2014-10-22  Roland McGrath  <roland@hack.frob.com>
1129         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1130         macro to get at the _rt_local_ro field.
1131         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1132         ([PIC] case) or _dl_hwcap ([!PIC] case).
1133         * sysdeps/arm/setjmp.S: Likewise.
1135         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1136         * sysdeps/arm/configure.ac: New check to define it.
1137         * sysdeps/arm/configure: Regenerated.
1138         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1139         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1140         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1141         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1142         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1143         Use move/movt pair instead of a load.
1144         (LDST_GLOBAL): Macro removed.
1145         (LDR_GLOBAL): New macro replaces it.
1146         (LDR_HIDDEN): New macro.
1147         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1148         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1150         * setjmp/tst-setjmp-static.c: New file.
1151         * setjmp/Makefile (tests): Add it.
1152         (tests-static): New variable.
1154 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
1156         [BZ #17485]
1157         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1159 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
1161         [BZ #14132]
1162         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1164 2014-10-21  Roland McGrath  <roland@hack.frob.com>
1166         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1168 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1170         * io/fts.c (dirent_not_directory): New function.
1171         (fts_build): Call it.
1173 2014-10-20  Roland McGrath  <roland@hack.frob.com>
1175         * nptl/version.c (__nptl_main): Use normal __write rather than
1176         INTERNAL_SYSCALL.
1177         (banner): Update copyright years.
1179         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1180         gettimeofday.
1181         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1182         * nptl/pthread_cond_timedwait.c: Likewise.
1183         * nptl/pthread_mutex_timedlock.c: Likewise.
1184         * nptl/sem_timedwait.c: Likewise.
1186         * sysdeps/nptl/bits/libc-lock.h
1187         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1188         (__libc_lock_init_recursive): Return void, not 0.
1189         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1190         (__libc_rwlock_init): Likewise.
1191         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1193 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1195         [BZ #15215]
1196         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1197         (__pthread_once_slow): ... here.
1198         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1199         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1201 2014-10-20  Torvald Riegel  <triegel@redhat.com>
1203         [BZ #15215]
1204         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1205         __PTHREAD_ONCE_FORK_GEN_INCR): New.
1206         * sysdeps/nptl/fork.c (__libc_fork): Use them.
1207         * nptl/pthread_once.c (__pthread_once): Likewise.
1208         Update comments.
1210 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
1212         [BZ #14138]
1213         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1214         name.
1215         (writev): Use __libc_writev as strong name.
1216         * sysdeps/unix/sysv/linux/readv.c: Remove file.
1217         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1219 2014-10-17  Roland McGrath  <roland@hack.frob.com>
1221         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1223         * sysdeps/i386/nptl/tls.h
1224         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1225         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1226         New macros.
1227         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1228         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1229         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1230         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1231         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1232         Call CHECK_THREAD_SYSINFO instead of doing an assert.
1234         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1235         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1236         on [__NR_futex].
1237         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1238         broken out of ...
1239         (__pthread_mutex_init): ... here.  Call it.
1240         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1241         Conditionalize PI cases on [__NR_futex].
1242         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1243         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1244         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1246         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1247         conditional on [SIGSETXID].
1248         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1249         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1250         is defined.  Likewise for SIGSETXID.
1251         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1252         Conditionalize definitions on [SIGSETXID].
1253         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1254         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1255         unblocking on [SIGCANCEL].
1257         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1258         [__NR_set_robust_list].
1260 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1262         * string/strcoll_l.c (get_next_seq): Fix up formatting.
1263         (do_compare): Likewise.
1265 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
1267         [BZ #15884]
1268         * string/strcoll_l.c: Don't include stdio.h.
1269         (coll_seq): Remove members idxarr and rulearr.
1270         (get_next_seq_cached): Remove function.
1271         (get_next_seq): Likewise.
1272         (get_next_seq_nocache): Rename to get_next_seq.
1273         (do_compare): Remove function.
1274         (do_compare_nocache): Rename to do_compare.
1275         (STRCOLL): Remove weight and rules cache.
1277 2014-10-16  Roland McGrath  <roland@hack.frob.com>
1279         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1280         * sysdeps/arm/sfp-machine.h: ... to here.
1281         * sysdeps/arm/Implies: Remove arm/soft-fp.
1283 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1285         * conform/data/sys/utsname.h-data (*_t): Allow.
1286         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1287         [POSIX] (WEXITED): Do not expect constant.
1288         [POSIX] (WSTOPPED): Likewise.
1289         [POSIX] (WNOHANG): Likewise.
1290         [POSIX] (WNOWAIT): Likewise.
1291         [POSIX] (siginfo_t): Do not expect type or elements.
1292         [POSIX] (pid_t): Do not expect type.
1293         [POSIX] (signal.h): Do not allow header.
1294         [POSIX] (sys/resource.h): Likewise.
1295         [POSIX] (si_*): Do not allow pattern.
1296         [POSIX] (W*): Likewise.
1297         [POSIX] (P_*): Likewise.
1298         [POSIX] (BUS_*): Likewise.
1299         [POSIX] (CLD_*): Likewise.
1300         [POSIX] (FPE_*): Likewise.
1301         [POSIX] (ILL_*): Likewise.
1302         [POSIX] (POLL_*): Likewise.
1303         [POSIX] (SEGV_*): Likewise.
1304         [POSIX] (SI_*): Likewise.
1305         [POSIX] (TRAP_*): Likewise.
1306         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1307         variable.
1309 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1311         [BZ #12926]
1312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1313         infinite loop when __recvmsg returns 0.
1315 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1317         * CANCEL-FCT-WAIVE: Remove file.
1318         * CANCEL-FILE-WAIVE: Likewise.
1320         [BZ #14132]
1321         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1322         instead of INTVARDEF.
1323         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1324         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1325         rtld_hidden_data_def instead of INTVARDEF.
1326         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1327         * elf/dl-deps.c (expand_dst): Likewise.
1328         * elf/dl-load.c (_dl_dst_count): Likewise.
1329         (_dl_dst_substitute): Likewise.
1330         (decompose_rpath): Likewise.
1331         (_dl_init_paths): Likewise.
1332         (open_path): Likewise.
1333         (_dl_map_object): Likewise.
1334         * elf/rtld.c (dl_main): Likewise.
1335         (process_dl_audit): Likewise.
1336         (process_envvars): Likewise.
1337         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1338         Remove declaration.
1339         (__libc_enable_secure): Use rtld_hidden_proto.
1341 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1343         * elf/dl-load.c
1344         (add_path): New function broken out of _dl_rtld_di_serinfo.
1345         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1347 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1349         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1350         parentheses around macro arguments.
1351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1362         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1366         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1367         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1380         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1384         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1385         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1386         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1387         Likewise.
1388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1395         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1399         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1400         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1405         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1409         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1410         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1413         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1414         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1415         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1416         (_FP_FRAC_SRS_1): Likewise.
1417         (_FP_FRAC_CLZ_1): Likewise.
1418         (_FP_MUL_MEAT_1_imm): Likewise.
1419         (_FP_MUL_MEAT_1_wide): Likewise.
1420         (_FP_MUL_MEAT_1_hard): Likewise.
1421         (_FP_SQRT_MEAT_1): Likewise.
1422         (_FP_FRAC_ASSEMBLE_1): Likewise.
1423         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1424         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1425         (__FP_CLZ_2): Likewise.
1426         (_FP_MUL_MEAT_2_wide): Likewise.
1427         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1428         (_FP_MUL_MEAT_2_gmp): Likewise.
1429         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1430         (_FP_SQRT_MEAT_2): Likewise.
1431         (_FP_FRAC_ASSEMBLE_2): Likewise.
1432         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1433         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1434         (_FP_FRAC_CLZ_4): Likewise.
1435         (_FP_MUL_MEAT_4_wide): Likewise.
1436         (_FP_MUL_MEAT_4_gmp): Likewise.
1437         (_FP_SQRT_MEAT_4): Likewise.
1438         (_FP_FRAC_ASSEMBLE_4): Likewise.
1439         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1440         * soft-fp/op-common.h (_FP_CMP): Likewise.
1441         (_FP_CMP_EQ): Likewise.
1442         (_FP_CMP_UNORD): Likewise.
1443         (_FP_TO_INT): Likewise.
1444         (_FP_FROM_INT): Likewise.
1445         [!__FP_CLZ] (__FP_CLZ): Likewise.
1446         (_FP_DIV_HELP_imm): Likewise.
1447         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1448         Likewise.
1449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1460         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1464         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1465         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1478         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1482         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1483         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1484         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1485         (FP_UNPACK_RAW_SP): Likewise.
1486         (FP_PACK_RAW_S): Likewise.
1487         (FP_PACK_RAW_SP): Likewise.
1488         (FP_UNPACK_S): Likewise.
1489         (FP_UNPACK_SP): Likewise.
1490         (FP_UNPACK_SEMIRAW_S): Likewise.
1491         (FP_UNPACK_SEMIRAW_SP): Likewise.
1492         (FP_PACK_S): Likewise.
1493         (FP_PACK_SP): Likewise.
1494         (FP_PACK_SEMIRAW_S): Likewise.
1495         (FP_PACK_SEMIRAW_SP): Likewise.
1496         (_FP_SQRT_MEAT_S): Likewise.
1497         (FP_CMP_S): Likewise.
1498         (FP_CMP_EQ_S): Likewise.
1499         (FP_CMP_UNORD_S): Likewise.
1500         (FP_TO_INT_S): Likewise.
1501         (FP_FROM_INT_S): Likewise.
1503         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1505         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1506         (FP_EX_INVALID_IMZ): Likewise.
1507         (FP_EX_INVALID_IMZ_FMA): Likewise.
1508         (FP_EX_INVALID_ISI): Likewise.
1509         (FP_EX_INVALID_ZDZ): Likewise.
1510         (FP_EX_INVALID_IDI): Likewise.
1511         (FP_EX_INVALID_SQRT): Likewise.
1512         (FP_EX_INVALID_CVI): Likewise.
1513         (FP_EX_INVALID_VC): Likewise.
1514         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1515         "invalid" exceptions.
1516         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1517         (_FP_ADD_INTERNAL): Likewise.
1518         (_FP_MUL): Likewise.
1519         (_FP_FMA): Likewise.
1520         (_FP_DIV): Likewise.
1521         (_FP_CMP_CHECK_NAN): Likewise.
1522         (_FP_SQRT): Likewise.
1523         (_FP_TO_INT): Likewise.
1524         (FP_EXTEND): Likewise.
1526 2014-10-09  Allan McRae  <allan@archlinux.org>
1528         * po/fr.po: Update French translation from translation project.
1530 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1532         [BZ #14132]
1533         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1534         of INTDEF.
1535         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1536         (__cxa_atexit): Use libc_hidden_proto.
1537         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1539         [BZ #14132]
1540         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1541         declaration.
1542         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1543         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1544         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1545         [!_ISOMAC] (__iswctype_internal): Likewise.
1546         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1547         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1548         alias.
1549         (fcntl): Remove __fcntl_internal alias.
1550         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1551         __connect_internal alias.
1552         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1553         Likewise.
1555         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1556         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1557         FP_DENORM_ZERO.
1558         (_FP_CHECK_FLUSH_ZERO): New macro.
1559         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1560         (_FP_CMP): Likewise.
1561         (_FP_CMP_EQ): Likewise.
1562         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1563         FP_DENORM_ZERO.
1564         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1565         (FP_TRUNC): Likewise.
1567         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1568         treated as invalid conversion, not as normal exponent.
1570         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1571         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1572         (_FP_CMP_EQ): Likewise.
1573         (_FP_CMP_UNORD): Likewise.
1574         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1575         (FP_CMP_EQ_D): Likewise.
1576         (FP_CMP_UNORD_D): Likewise.
1577         * soft-fp/extended.h (FP_CMP_E): Likewise.
1578         (FP_CMP_EQ_E): Likewise.
1579         (FP_CMP_UNORD_E): Likewise.
1580         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1581         (FP_CMP_EQ_Q): Likewise.
1582         (FP_CMP_UNORD_Q): Likewise.
1583         * soft-fp/single.h (FP_CMP_S): Likewise.
1584         (FP_CMP_EQ_S): Likewise.
1585         (FP_CMP_UNORD_S): Likewise.
1586         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1587         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1588         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1589         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1590         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1591         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1592         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1593         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1594         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1595         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1596         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1597         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1598         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1599         to FP_CMP_Q.
1600         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1601         FP_CMP_Q.
1602         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1603         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1604         FP_CMP_EQ_Q.
1605         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1606         FP_CMP_Q.
1607         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1608         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1609         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1610         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1611         FP_CMP_EQ_Q.
1612         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1613         FP_CMP_Q.
1614         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1615         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1616         FP_CMP_EQ_Q.
1617         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1618         FP_CMP_Q.
1619         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1620         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1621         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1622         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1623         FP_CMP_EQ_Q.
1625         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1626         a subnormal result, set the underflow exception if trapping on
1627         underflow is enabled.
1628         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1629         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1630         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1631         redefine to 0.
1632         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1633         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1634         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1635         * soft-fp/extendxftf2.c (__extendxftf2): Use
1636         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1638         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1639         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1640         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1641         FP_HANDLE_EXCEPTIONS.
1642         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1643         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1644         FP_HANDLE_EXCEPTIONS.
1645         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1646         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1647         FP_HANDLE_EXCEPTIONS.
1648         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1649         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1650         FP_HANDLE_EXCEPTIONS.
1652 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1654         [BZ #14132]
1655         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1656         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1657         use INTUSE.
1658         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1659         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1660         Remove alias.
1661         (__adjtimex): Define using libc_hidden_ver.
1662         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1663         Remove declaration.
1664         (ntp_gettime): Call __adjtimex directly.
1665         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1666         Remove declaration.
1667         (ntp_gettimex): Call __adjtimex directly.
1668         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1669         __adjtimex_internal alias.
1671 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1673         [BZ #17460]
1674         * nscd/nscd.c (more_help): Rewrite list of tables collection
1675         using xstrdup and asprintf.
1677         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1679 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1680             Roland McGrath  <roland@hack.frob.com>
1682         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1683         (do_lookup_unique): ... local function 'enter' here; update callers.
1685 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1687         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1688         compat_symbol calls on [SHARED].
1689         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1690         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1691         Remove.
1692         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1693         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1694         (oldsetrlimit): Remove.
1695         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1697         (lchown): New syscall entry.
1698         (oldsetrlimit): Remove.
1699         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1700         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1701         (oldsetrlimit): Remove.
1702         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1704         [BZ #14138]
1705         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1706         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1707         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1708         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1709         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1710         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1711         (fchown): Likewise.
1712         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1713         (fchown): Likewise.
1714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1715         Likewise.
1717 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1720         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1721         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1722         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1723         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1724         Likewise.
1725         (__old_sem_post): Likewise.
1727 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1729         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1730         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1731         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1732         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1733         Use INLINE_VSYSCALL macro.
1734         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1735         __vdso_clock_gettime.
1736         * sysdeps/unix/sysv/linux/tile/init-first.c
1737         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1738         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1739         __vdso_clock_gettime.
1741         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1742         to set up frame more cleanly.
1744         * sysdeps/tile/memcmp.c: New file.
1746         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1748         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1749         * sysdeps/tile/tilegx/strcasestr.c: New file.
1750         * sysdeps/tile/tilegx/strnlen.c: New file.
1751         * sysdeps/tile/tilegx/strstr.c: New file.
1753         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1755 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1757         * nptl/tst-setuid3.c: Write errors to stdout.
1759 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1761         * elf/dl-deps.c
1762         (preload): New functions broken out of _dl_map_object_deps.
1763         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1765 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1767         [BZ #14138]
1768         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1769         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1771 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1773         * sysdeps/mips/strcmp.S: New.
1775 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #14138]
1778         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1779         (linkat): Likewise.
1780         (mkdirat): Likewise.
1781         (readlinkat): Likewise.
1782         (renameat): Likewise.
1783         (symlinkat): Likewise.
1784         (unlinkat): Likewise.
1785         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1786         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1787         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1788         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1789         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1790         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1791         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1793 2014-09-30  Will Newton  <will.newton@linaro.org>
1795         * math/math.h: Define long double math functions if
1796         _LIBC_TEST is defined.
1797         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1799         * localedata/Makefile: Move assignment to tests-special
1800         into an ifdef testing run-built-tests.
1801         * timezone/Makefile: Likewise.
1803 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1805         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1806         with $(BASH) not $(SHELL).
1808 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1809             Matthew LeGendre  <legendre1@llnl.gov>
1811         [BZ #17411]
1812         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1813         l_reloc_result.
1815 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1817         * stdio-common/printf_fp.c
1818         (hack_digit): New function, broken out of ...
1819         (__printf_fp): ... local function here.  Update call sites.
1820         hack_digit now takes an additional parameter that is a pointer
1821         to a struct of the referenced locals.  Those locals moved inside
1822         the struct and references updated.
1824 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1826         * aclocal.m4: Require autoconf 2.69.
1827         * configure: Regenerated.
1828         * sysdeps/aarch64/configure: Likewise.
1829         * sysdeps/alpha/configure: Likewise.
1830         * sysdeps/arm/armv7/configure: Likewise.
1831         * sysdeps/arm/configure: Likewise.
1832         * sysdeps/ia64/configure: Likewise.
1833         * sysdeps/mach/configure: Likewise.
1834         * sysdeps/mips/configure: Likewise.
1835         * sysdeps/s390/configure: Likewise.
1836         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1839         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1840         file.
1841         * sysdeps/ia64/configure.ac: Likewise.
1843 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1846         specify symbol version for ld.so.  Do not include entry for
1847         libpthread.
1848         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1849         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1850         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1852         [BZ #14171]
1853         * Makeconfig [$(build-shared) = yes]
1854         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1855         makefiles.
1856         [$(build-shared) = yes && $(soversions.mk-done) = t]
1857         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1858         [$(build-shared) = yes && $(soversions.mk-done) = t]
1859         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1860         to Makerules.
1861         [$(build-shared) = yes && $(soversions.mk-done) = t]
1862         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1863         here.
1864         [$(build-shared) = yes && $(soversions.mk-done) = t]
1865         (common-generated): Don't append gnu/lib-names.h and
1866         gnu/lib-names.stmp here.
1867         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1868         (lib-names-h-abi): New variable.
1869         [$(build-shared) = yes && $(soversions.mk-done) = t]
1870         (lib-names-stmp-abi): Likewise.
1871         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1872         abi-variants] (before-compile): Append
1873         $(common-objpfx)$(lib-names-h-abi).
1874         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1875         abi-variants] (common-generated): Append gnu/lib-names.h.
1876         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1877         abi-variants] (install-others-nosubdir): Depend on
1878         $(inst_includedir)/$(lib-names-h-abi).
1879         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1880         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1881         [$(build-shared) = yes && $(soversions.mk-done) = t]
1882         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1883         [$(build-shared) = yes && $(soversions.mk-done) = t]
1884         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1885         [$(build-shared) = yes && $(soversions.mk-done) = t]
1886         (common-generated): Append $(lib-names-h-abi) and
1887         $(lib-names-stmp-abi).
1888         * scripts/lib-names.awk: Do not handle multi being set.
1889         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1890         Remove variable.
1891         (abi-lp64_be-ld-soname): Likewise.
1892         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1893         Likewise.
1894         (abi-hard-ld-soname): Likewise.
1895         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1896         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1897         Remove variable.
1898         (abi-o32_hard-ld-soname): Likewise.
1899         (abi-o32_soft_2008-ld-soname): Likewise.
1900         (abi-o32_hard_2008-ld-soname): Likewise.
1901         (abi-n32_soft-ld-soname): Likewise.
1902         (abi-n32_hard-ld-soname): Likewise.
1903         (abi-n32_soft_2008-ld-soname): Likewise.
1904         (abi-n32_hard_2008-ld-soname): Likewise.
1905         (abi-n64_soft-ld-soname): Likewise.
1906         (abi-n64_hard-ld-soname): Likewise.
1907         (abi-n64_soft_2008-ld-soname): Likewise.
1908         (abi-n64_hard_2008-ld-soname): Likewise.
1909         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1910         Likewise.
1911         (abi-64-v2-ld-soname): Likewise.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1913         ld.so entries.
1914         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1915         variable.
1916         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1917         entry.
1918         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1919         variable.
1920         (abi-64-ld-soname): Likewise.
1921         (abi-x32-ld-soname): Likewise.
1922         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1923         entry.
1924         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1926 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1928         [BZ #14138]
1929         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1930         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1931         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1932         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1933         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1934         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1935         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1936         syscall entry for GLIBC_2.2 symbol version.
1937         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1938         Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1940         (setrlimit): Likewise.
1941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1942         Likewise.
1944 2014-09-23  Will Newton  <will.newton@linaro.org>
1946         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1947         _LINUX_ARM_SYSDEP_H include guard too.
1948         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1949         define.
1951 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1953         * sysdeps/unix/sysv/linux/eventfd.c:
1954         Make first argument unsigned.
1955         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1956         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1958 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1960         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1961         * socket/sys/socket.h: Likewise
1962         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1964 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1966         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1968 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1970         * time/tst-ftime.c: New test.
1971         * time/Makefile (tests): Add tst-ftime.
1973 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1975         * soft-fp/extended.h: Fix comment formatting.
1976         * soft-fp/op-1.h: Likewise.
1977         * soft-fp/op-2.h: Likewise.
1978         * soft-fp/op-4.h: Likewise.
1979         * soft-fp/op-8.h: Likewise.
1980         * soft-fp/op-common.h: Likewise.
1981         * soft-fp/soft-fp.h: Likewise.
1983         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1985 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1987         [BZ #6652]
1988         * Makeconfig (soversions-default-setname): Remove variable.
1989         ($(common-objpfx)soversions.i): Don't pass default_setname to
1990         soversions.awk.
1991         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1992         oldest_abi to abi-versions.awk.
1993         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1994         * config.make.in (oldest-abi): Remove variable.
1995         * configure.ac (--enable-oldest-abi): Remove configure option.
1996         * configure: Regenerated.
1997         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1998         text.
1999         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2000         * scripts/soversions.awk: Do not handle default_setname variable.
2001         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2002         variable.
2003         * sysdeps/mach/hurd/configure: Regenerated.
2004         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2005         variable.
2006         * sysdeps/unix/sysv/linux/configure: Regenerated.
2008 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2010         * elf/Makefile (CFLAGS-interp.c): Remove.
2011         ($(elf-objpfx)runtime-linker.h): Generate header with linker
2012         path string.
2013         * elf/interp.c: Include generated runtime-linker.h
2015         * Makerules (lib%.so): Don't include $(+interp) in
2016         prerequisites.
2017         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2018         * dlfcn/eval.c: Remove file.
2020         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2021         macros.
2023         [BZ #17266]
2024         * misc/sys/cdefs.h: Define __extern_always_inline for clang
2025         4.2 and newer.
2027         [BZ #17370]
2028         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2030 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2031             Jakub Jelinek  <jakub@redhat.com>
2033         [BZ #17266]
2034         * libio/stdio.h: Check definition of __fortify_function
2035         instead of __extern_always_inline to include bits/stdio2.h.
2036         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2037         check if __extern_always_inline is defined.
2038         [__USE_MISC || __USE_XOPEN]: Likewise.
2039         [__USE_ISOC99] Likewise.
2040         * misc/sys/cdefs.h (__fortify_function): Define only if
2041         __extern_always_inline is defined.
2042         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2043         __extern_always_inline and __extern_inline only for g++-4.3
2044         and newer or a compatible gcc.
2046 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
2048         [BZ #17371]
2049         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2050         last change to handle zero prefix length.
2052 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2054         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2055         _SC_REGEX_VERSION.
2057         * posix/getconf.c (vars): Add _POSIX_IPV6 and
2058         _POSIX_RAW_SOCKETS.
2060 2014-09-13  Allan McRae  <allan@archlinux.org>
2062         * po/ru.po: Update Russian translation from translation project.
2064 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2066         * locale/programs/locale.c (show_locale_vars): Inline local function
2067         into its sole call site.  Clean up some style nits.
2068         (print_item): New function, broken out of ...
2069         (show_info): ... local function here.  Clean up style nits.
2071         * locale/programs/ld-ctype.c (set_one_default): New function, broken
2072         out of ...
2073         (set_class_defaults): ... local function set_default here.
2074         Define set_default as a macro locally to pass constant parameters.
2075         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2076         rather than a shared local.
2078         * stdlib/rpmatch.c (try): New function, broken out of ...
2079         (rpmatch): ... local function here.  Also, prototypify definition.
2081 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2083         * scripts/soversions.awk: Do not handle configuration names.
2084         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2085         vendor and os variables to soversions.awk.
2086         * configure.ac: Do not modify gnu-* host_os.
2087         * configure: Regenerated
2088         * shlib-versions: Remove first column with configuration names.
2089         * nptl/shlib-versions: Likewise.
2090         * nptl_db/shlib-versions: Likewise.
2091         * sysdeps/hppa/shlib-versions: Likewise.
2092         * sysdeps/m68k/shlib-versions: Likewise.
2093         * sysdeps/mach/hurd/shlib-versions: Likewise.
2094         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2095         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2096         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2097         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2098         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2099         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2100         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2101         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2105         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2106         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2107         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2108         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2109         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2110         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2111         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2114         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2116         Regenerated.
2117         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2119         Condition symbol version definitions on [HAVE_ELFV2_ABI].
2121         * shlib-versions: Remove OS-specific entries.  Moved to files in
2122         sysdeps.
2123         * sysdeps/mach/hurd/shlib-versions: New file.
2124         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2126         * nptl/shlib-versions: Remove architecture-specific entries.
2127         Moved to files in sysdeps.
2128         * shlib-versions: Likewise.
2129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2130         file.
2131         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2132         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2133         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2134         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2136         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2137         (UDP_NO_CHECK6_RX): Likewise.
2139 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2141         * sysdeps/posix/sysconf.c (__sysconf): Spell
2142         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2144 2014-08-12  Florian Weimer  <fweimer@redhat.com>
2146         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2147         loading.
2148         * iconv/Versions (__gconv_transliterate): Export for use from
2149         gconv modules.
2150         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2151         (struct __gconv_trans_data, __gconv_trans_fct,
2152         __gconv_trans_context_fct, __gconv_trans_query_fct,
2153         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2154         definitions.
2155         (struct __gconv_step_data): Remove __trans member.
2156         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
2157         longer hidden.  Remove unused trans_data argument.
2158         * iconv/gconv_int.h (struct trans_struct): Remove definition.
2159         (__gconv_translit_find): Remove declaration.
2160         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
2161         prototype.
2162         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2163         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2164         trans_data argument.  Add hidden definition.
2165         (__gconv_translit_find): Remove.
2166         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2167         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2168         * iconv/skeleton.c: Remove transliteration initialization.
2169         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2170         __gconv_step_data initialization.
2171         * libio/iofwide.c (__libio_translit_): Remove.
2172         (_IO_fwide): Adjust struct __gconv_step_data initialization.
2173         * wcsmbs/btowc.c (__btowc): Likewise.
2174         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2175         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2176         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2177         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2178         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2179         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2180         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2181         * wcsmbs/wctob.c (wctob): Likewise.
2183 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2185         [BZ #16194]
2186         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2187         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
2188         register usage.
2189         * sysdeps/x86/Makefile: Adjust.
2191 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2192             Roland McGrath  <roland@hack.frob.com>
2194         * locale/weight.h: Add include guard.
2195         (findidx): Make static rather than auto; take new parameters
2196         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2197         * locale/weightwc.h: Likewise.
2198         * posix/fnmatch_loop.c
2199         (FCT): Change type of EXTRA from int32_t to wint_t.
2200         Don't include either header inside the function.
2201         Call FINDIDX rather than findidx, and pass new arguments.
2202         #undef FINDIDX at the end of the file.
2203         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2204         FINDIDX before including fnmatch_loop.c for the non-wide version.
2205         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2206         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2207         for the wide version.
2208         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2209         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2210         Pass new arguments to findidx.
2211         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2212         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2213         Don't #include it inside the function.  Pass new arguments to findidx.
2214         * posix/regex_internal.h
2215         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2216         (re_string_elem_size_at): Don't #include it inside the function.
2217         Pass new arguments to findidx.
2218         * string/strcoll_l.c: #include WEIGHT_H at top level.
2219         (get_next_seq): Don't #include it inside the function.
2220         Pass new arguments to findidx.
2221         (get_next_seq_nocache): Likewise.
2222         * string/strxfrm_l.c: #include WEIGHT_H at top level.
2223         (STRXFRM): Don't #include it inside the function.
2224         Pass new arguments to findidx.
2226 2014-09-11  Florian Weimer  <fweimer@redhat.com>
2228         [BZ #17344]
2229         * malloc/malloc.c (unlink): Turn asserts into a call to
2230         malloc_printerr.
2232 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
2234         [BZ #17370]
2235         * libio/wfileops (do_ftell_wide): Free OUT.
2237 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
2239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2241 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2243         [BZ #17363]
2244         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2245         group if the current group is empty.
2247 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2249         * benchtests/bench-memset.c (test_main): Add more test from size
2250         from 32 to 512 bytes.
2251         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2252         Add POWER8 memset object.
2253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2254         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2255         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2256         implementation.
2257         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2258         Likewise.
2259         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2260         multiarch POWER8 memset optimization.
2261         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2262         POWER8 memset optimization.
2264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2265         Remove bzero multiarch objects.
2266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2268         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2269         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2270         Remove define.
2271         [__bzero]: Redefine to specific name.
2272         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2273         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2274         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2275         define.
2276         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2277         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2279 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2281         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2282         warnings into errors.
2284         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2285         __cxa_thread_atexit_impl prototype.
2287 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2289         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2290         Fix capitalization of error message.
2292 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2294         * sysdeps/mips/preconfigure: Modify ABI tests.
2296 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2298         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2300 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2301             Carlos O'Donell  <carlos@systemhalted.org>
2303         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2304         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2305         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2306         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2307         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2308         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2309         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2310         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2311         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2312         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2316         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2318         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2320         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2321         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2322         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2323         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2324         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2325         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2326         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2327         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2328         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2329         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2330         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2331         Deconditionalize the code that was previously under [RESET_PID].
2332         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2333         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2334         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2335         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2336         include sysdep.h.
2338 2014-09-08  Allan McRae  <allan@archlinux.org>
2340         * version.h (RELEASE): Set to "development".
2341         (VERSION): Set to "2.20.90"
2343 2014-09-07  Allan McRae  <allan@archlinux.org
2345         * version.h (RELEASE): Set to "stable".
2346         (VERSION): Set to "2.20"
2347         * include/features.h (__GLIBC_MINOR__): Set to 20.
2349         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2350         Liebler.
2352         * po/ko.po: Update Korean translation from translation project.
2354 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2356         [BZ #17354]
2357         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2358         macro for handling signed relocations.
2360 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2362         [BZ #17325]
2363         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2364         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2365         assert.
2366         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2367         * iconvdata/ibm935.c (BODY): Likewise.
2368         * iconvdata/ibm937.c (BODY): Likewise.
2369         * iconvdata/ibm939.c (BODY): Likewise.
2370         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2371         assert.
2372         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2373         script.
2374         * iconvdata/run-iconv-test.sh: New test loop for checking for
2375         decoder crashers.
2377 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2379         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2380         libm_hidden_ver.
2382 2014-09-01  Allan McRae  <allan@archlinux.org>
2384         * po/eo.po: Update Esperanto translation from translation project.
2386         * po/ca.po: Update Catalan translation from translation project.
2388 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2390         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2391         __proc_dostop call.
2393 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2395         [BZ #17319]
2396         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2397         to call set_thread_area instead of hand written asm.
2398         (__NR_set_thread_area): Removed define.
2399         (TLS_FLAG_WRITABLE): Likewise.
2400         (__ASSUME_SET_THREAD_AREA): Remove check.
2401         (TLS_EBX_ARG): Remove define.
2402         (TLS_LOAD_EBX): Likewise.
2404 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2406         Simplify atomicity of socket creation in bind.
2408         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2409         looking up the name after linking the file.
2411 2014-08-27  Allan McRae  <allan@archlinux.org>
2413         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2415 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2417         [BZ #17187]
2418         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2419         trans_compare, open_translit, __gconv_translit_find):
2420         Remove module loading code.
2422 2014-08-26  Allan McRae  <allan@archlinux.org>
2424         * po/vi.po: Update Vietnamese translation from translation project.
2426         * po/uk.po: Update Ukrainian translation from translation project.
2428         * po/fr.po: Update French translation from translation project.
2430         * po/ru.po: Update Russian translation from translation project.
2432         * po/pl.po: Update Polish translation from translation project.
2434         * po/cs.po: Update Czech translation from translation project.
2436         * po/de.po: Update German translation from translation project.
2438         * po/bg.po: Update Bulgarian translation from translation project.
2440         * po/sv.po: Update Sweedish translation from translation project.
2442         * po/nl.po: Update Dutch translation from translation project.
2444         * po/es.po: Update Spanish translation from translation project.
2446 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2448         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2450         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2451         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2452         (CPPFLAGS-iconvconfig): Likewise.
2453         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2455         * include/libc-symbols.h: Remove unnecessary check for
2456         NOT_IN_libc.
2457         * nptl/pthreadP.h: Likewise.
2458         * sysdeps/aarch64/setjmp.S: Likewise.
2459         * sysdeps/alpha/setjmp.S: Likewise.
2460         * sysdeps/arm/sysdep.h: Likewise.
2461         * sysdeps/i386/setjmp.S: Likewise.
2462         * sysdeps/m68k/setjmp.c: Likewise.
2463         * sysdeps/posix/getcwd.c: Likewise.
2464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2465         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2466         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2467         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2468         * sysdeps/sh/sh3/setjmp.S: Likewise.
2469         * sysdeps/sh/sh4/setjmp.S: Likewise.
2470         * sysdeps/unix/alpha/sysdep.h: Likewise.
2471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2473         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2474         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2479         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2482         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2484         * sysdeps/x86_64/setjmp.S: Likewise.
2486 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2488         [BZ #17263]
2489         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2490         <stdint.h>.
2491         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2494 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2496         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2498         [BZ #17262]
2499         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2500         and __x86_64__ when disabling x87 inline functions.
2502 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2504         [BZ #17259]
2505         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2506         asm statement with __cpuid_count.
2508 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2510         * configure.ac: Change __ehdr_start code to dereference the struct.
2511         Run readelf on the output to look for relocations.
2512         * configure: Regenerated.
2514 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #17261]
2517         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2518         value to 0.
2519         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2521 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2523         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2525 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2527         [BZ #16892]
2528         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2529         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2531 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2533         * malloc/malloc.c: Fix typo in comment.
2535 2014-08-09  Allan McRae  <allan@archlinux.org>
2537         * Regenerate libc.po.
2539 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2541         * intl/tst-gettext2.sh: Check every lang file for creation.
2543 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2545         * sysdeps/aarch64/fpu/math_private.h
2546         (libc_feholdsetround_noex_aarch64_ctx): New function.
2548 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2550         * sysdeps/arm/armv6/strcpy.S (strcpy):
2551         Fix performance issue in misaligned cases.
2553 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2555         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2556         Move definition from termios.h.
2557         (struct termio): Likewise.
2558         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2559         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2560         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2561         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2562         Likewise.
2563         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2564         Move definition to ioctl-types.h
2565         (struct termio): Likewise.
2566         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2567         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2568         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2569         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2570         Likewise.
2572 2014-08-05  Richard Henderson  <rth@redhat.com>
2574         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2575         exceptions.
2576         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2577         Add fraiseexcpt.
2578         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2579         Use __feraiseexcept.
2580         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2581         Protect libm symbols with IS_IN_libm.
2583         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2585 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2587         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2589 2014-08-04  Will Newton  <will.newton@linaro.org>
2591         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2592         file.
2594 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2596         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2597         variants for each function.
2599 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2601         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2602         appended ...
2603         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2604         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2605         appended ...
2606         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2607         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2608         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2609         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2610         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2611         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2612         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2613         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2614         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2615         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2616         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2618         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2619         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2620         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2621         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2622         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2623         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2624         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2625         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2626         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2628         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2630         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2631         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2632         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2633         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2634         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2636         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2637         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2638         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2639         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2640         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2642         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2643         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2645         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2646         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2648         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2650         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2652         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2653         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2654         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2656         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2657         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2658         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2659         Update #include.
2660         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2661         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2663 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2665         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2666         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2667         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2668         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2669         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2670         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2672 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2674         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2675         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2676         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2677         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2679 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2681         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2682         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2683         (__libc_vfork): Define function under this name.
2684         (__vfork): Define as an alias.
2685         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2686         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2688 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2690         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2691         that was previously under [RESET_PID].
2692         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2694 2014-08-04  Andreas Schwab  <schwab@suse.de>
2696         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2698 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2700         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2701         (main): Likewise.
2703 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2705         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2707 2014-08-01  Richard Henderon  <rth@redhat.com>
2709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2710         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2711         typo in exact zero test.
2712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2716 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2718         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2719         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2720         * sysdeps/arm/sysdep.h: ... here.
2721         [!__ASSEMBLER__]: Include <stdint.h>.
2723 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2725         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2726         (HAVE_WCTYPE_H): Likewise.
2727         (HAVE_ISWCTYPE): Likewise.
2728         (ENABLE_NLS): Likewise.
2729         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2730         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2732         * posix/regex_internal.c: Check if DEBUG is defined and is
2733         set.
2735         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2736         (HAVE_MBSRTOWCS): Likewise.
2737         * posix/fnmatch.c: Include string.h unconditionally.
2739 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2741         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2742         reversal.
2744 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2746         * sysdeps/generic/safe-fatal.h: New file.
2747         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2748         * nptl/forward.c: Include it.
2749         (__pthread_unwind): Use __safe_fatal as default action, rather
2750         than a bogus use of INTERNAL_SYSCALL that could never work.
2752         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2753         * configure.ac (libc_cv_builtin_trap): New test.
2754         * configure: Regenerated.
2755         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2756         (ABORT_INSTRUCTION): Define using __builtin_trap.
2758         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2759         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2760         * sysdeps/nptl/nptl-signals.h: New file.
2761         * nptl/pthreadP.h: Include <nptl-signals.h>.
2763 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2765         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2766         (ONE_DIRECTION): Define.
2767         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2768         (ONE_DIRECTION): Define.
2769         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2770         (ONE_DIRECTION): Define.
2772 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2774         * sysdeps/s390/Makefile: Delete file.
2775         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2776         * sysdeps/s390/__longjmp.c: Delete file.
2777         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2778         Remove fields __flags and __reserved.
2779         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2780         and add versioning.
2781         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2782         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2783         * sysdeps/s390/rtld-setjmp.S: Likewise.
2784         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2785         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2786         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2787         * sysdeps/s390/s390-32/setjmp.S: ... here.
2788         Add versioning.
2789         (__sigsetjmp): Remove setting __flags field.
2790         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2791         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2792         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2793         * sysdeps/s390/s390-64/setjmp.S: ... here.
2794         Add versioning.
2795         (__sigsetjmp): Remove setting __flags field.
2796         * sysdeps/s390/setjmp.S: Delete file.
2797         * sysdeps/s390/sigjmp.c: Likewise.
2798         * sysdeps/s390/v1-longjmp.c: Likewise.
2799         * sysdeps/s390/v1-setjmp.h: Likewise.
2800         * sysdeps/s390/v1-sigjmp.c: Likewise.
2801         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2802         Remove v1-longjmp_chk.
2803         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2804         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2805         Include debug/longjmp_chk.c and add versioning.
2806         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2807         Include nptl/pt-longjmp.c and add versioning.
2808         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2809         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2810         Include __longjmp.c.
2811         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2812         Move to ...
2813         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2814         (__getcontext): Remove setting __flags field.
2815         Add versioning.
2816         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2817         Don't restore upper high grps.
2818         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2819         Likewise.
2820         (__swapcontext): Remove setting uc_flags field.
2821         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2822         Delete file.
2823         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2824         Include __longjmp.c.
2825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2826         Move to ...
2827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2828         (__getcontext): Remove setting __flags field.
2829         Add versioning.
2830         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2831         (__swapcontext): Remove setting uc_flags field.
2832         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2833         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2834         Remove fields uc_high_gprs and __reserved.
2835         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2836         New file with reverted content.
2837         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2838         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2839         Regenerated.
2840         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2841         Regenerated.
2843 2014-07-31  Andreas Schwab  <schwab@suse.de>
2845         * config.h.in (HAVE_IFUNC): Define to 0.
2846         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2847         definedness.
2849 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2852         memmove-avx-unaligned, memcpy-avx-unaligned and
2853         mempcpy-avx-unaligned.
2854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2855         Add tests for AVX memcpy functions.
2856         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2857         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2858         memcpy_chk.
2859         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2860         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2861         memmove_chk.
2862         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2863         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2864         mempcpy_chk.
2865         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2866         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2867         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2869 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2871         [BZ #17213]
2872         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2873         powerpc64le.
2875 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2877         [BZ #16839]
2878         * manual/llio.texi: Add section about open file description locks.
2879         * manual/examples/ofdlocks.c: Example of open file description
2880         lock usage.
2881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2882         F_OFD_SETLK, and F_OFD_SETLKW.
2884 2014-07-23  Allan McRae  <allan@archlinux.org>
2886         * po/es.po: Update Spanish translation from translation project.
2888 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2890         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2892 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2894         [BZ #17078]
2895         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2896         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2897         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2899 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2901         [BZ #17088]
2902         * math/fesetenv.c (__fesetenv)
2903         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2904         * math/feupdateenv.c (__feupdateenv)
2905         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2907         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2908         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2909         (__ASSUME_SOCKETCALL): Do not define.
2911         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2912         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2913         (__ASSUME_SOCKETCALL): Do not define.
2914         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2915         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2916         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2917         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2918         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2919         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2921         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2923         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2924         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2925         (__ASSUME_SOCKETCALL): Do not define.
2926         (__ASSUME_IPC64): Define unconditionally.
2927         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2928         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2929         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2931         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2933         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2934         Likewise.
2936         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2937         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2938         (__ASSUME_SOCKETCALL): Do not define.
2939         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2940         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2941         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2942         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2943         (__ASSUME_REQUEUE_PI): Define unconditionally.
2944         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2945         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2946         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2947         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2948         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2949         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2951         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2952         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2953         (__ASSUME_SOCKETCALL): Do not define.
2954         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2955         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2956         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2957         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2958         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2959         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2961         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2962         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2963         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2964         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2965         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2966         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2967         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2968         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2969         (__ASSUME_GETCPU_SYSCALL): Likewise.
2971         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2972         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2973         cases for individual architectures.
2974         * sysdeps/gnu/configure: Regenerated.
2975         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2976         LIBC_SLIBDIR_RTLDDIR.
2977         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2978         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2979         LIBC_SLIBDIR_RTLDDIR.
2980         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2982         LIBC_SLIBDIR_RTLDDIR.
2983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2984         Regenerated.
2985         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2986         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2987         file.
2988         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2989         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2990         file.
2991         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2992         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2993         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2994         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2996         * sysdeps/aarch64/shlib-versions: Move to ...
2997         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2998         * sysdeps/alpha/shlib-versions: Move to ...
2999         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3000         * sysdeps/arm/shlib-versions: Move to ...
3001         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3002         * sysdeps/hppa/shlib-versions: Move all contents except for
3003         libgcc_s entry to ...
3004         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
3005         entry from ...
3006         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
3007         * sysdeps/ia64/shlib-versions: Move to ...
3008         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
3009         entry from ...
3010         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
3011         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3012         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3013         * sysdeps/microblaze/shlib-versions: Move to ...
3014         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3015         * sysdeps/mips/shlib-versions: Move to ...
3016         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
3017         entry from ...
3018         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
3019         * sysdeps/tile/shlib-versions: Move to ...
3020         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3021         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3022         from ...
3023         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
3024         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3025         entry from ...
3026         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
3028 2014-07-17  Will Newton  <will.newton@linaro.org>
3030         * sysdeps/arm/bits/atomic.h
3031         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3032         (__arch_compare_and_exchange_bool_16_int): Likewise.
3033         (__arch_compare_and_exchange_bool_64_int): Likewise.
3035         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3036         into an #else block.
3038 2014-07-16  Roland McGrath  <roland@hack.frob.com>
3040         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3041         just Linux configurations.  Test empirically that the compiler sets
3042         __ARM_EABI__, rather than using the tuple to decide.
3043         * sysdeps/arm/preconfigure: Regenerated.
3044         * sysdeps/unix/sysv/linux/arm/configure: File removed.
3045         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3046         contents appended ...
3047         * sysdeps/arm/configure.ac: ... here.
3048         * sysdeps/arm/configure: Regenerated.
3050 2014-07-15  Roland McGrath  <roland@hack.frob.com>
3052         * nptl/pthread_kill.c: New file.
3053         * nptl/pthread_sigmask.c: New file.
3054         * nptl/pthread_sigqueue.c: New file.
3056         * sysdeps/nptl/lowlevellock.h: New file.
3057         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3058         * sysdeps/nptl/lowlevellock-futex.h: New file.
3060         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3061         Remove dead declarations.
3063 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3065         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3066         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3067         config-cflags-avx2.
3068         * sysdeps/x86_64/configure.ac: Likewise.
3069         * sysdeps/i386/configure: Regenerated.
3070         * sysdeps/x86_64/configure: Likewise.
3071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3072         memset-avx2 only if config-cflags-avx2 is yes.
3073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3074         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3075         defined.
3076         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3077         only if HAVE_AVX2_SUPPORT is defined.
3078         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3080 2014-07-14  Alan Modra  <amodra@gmail.com>
3082         [BZ #17153]
3083         * elf/elf.h (DT_PPC64_NUM): Correct value.
3084         * NEWS: Add to fixed bug list.
3086 2014-07-13  Jim Meyering  <meyering@fb.com>
3088         [BZ 17150]
3089         regex: don't deref NULL upon heap allocation failure
3090         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3091         failure in one more place.
3092         To trigger the segfault, configure grep -with-included-regex,
3093         build it, and run these commands:
3094         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3096 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3098         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3100 2014-07-11  Richard Henderson  <rth@redhat.com>
3102         * sysdeps/aarch64/libm-test-ulps: Update.
3104 2014-07-10  Florian Weimer  <fweimer@redhat.com>
3106         [BZ #17135]
3107         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3108         * nptl/allocatestack.c (__nptl_setxid_error): New function.
3109         (__nptl_setxid): Initialize error member.  Call
3110         __nptl_setxid_error.
3111         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3112         * nptl/descr.h (struct xid_command): Add error member.
3113         * nptl/tst-setuid3.c: New file.
3114         * nptl/Makefile (tests): Add it.
3116 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3118         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3119         New define.
3120         (__lll_trylock): Use __lll_base_trylock.
3121         (__lll_cond_trylock): Likewise.
3123 2014-07-10  Roland McGrath  <roland@hack.frob.com>
3125         * nptl/pthread_create.c (start_thread): Use atomic_or and
3126         lll_futex_wake directly rather than lll_robust_dead.
3127         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3128         (lll_robust_dead): Macro removed.
3129         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3130         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3131         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3132         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3134         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3135         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3136         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3137         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3139         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3140         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3141         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3142         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3145         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3146         Use atomic_compare_and_exchange_val_acq directly rather than
3147         lll_robust_trylock.
3148         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3149         (__lll_robust_trylock, lll_robust_trylock): Removed.
3150         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3151         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3154         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3155         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3156         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3157         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3158         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3159         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3161         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3162         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3165 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3167         * manual/locale.texi (Locale Names): New section documenting
3168         locale name syntax.  Adjust menu and node chaining accordingly.
3169         (Choosing Locale): Reference Locale Names, Locale Categories.
3170         Mention setting LC_ALL=C.  Reflect that name syntax is now
3171         documented.
3172         (Locale Categories): New section title.  Reference Locale Names.
3173         LC_ALL is an environment variable, but not a category.
3174         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3175         description, now in Locale Name.  Reference that section.  Locale
3176         name syntax is now documented.
3178 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3180         [BZ #17137]
3181         * locale/findlocale.c (name_present, valid_locale_name): New
3182         functions.
3183         (_nl_find_locale): Use the loc_name variable to store name
3184         candidates.  Call name_present and valid_locale_name to check and
3185         validate locale names.  Return an error if the locale is invalid.
3187 2014-07-02  Florian Weimer  <fweimer@redhat.com>
3189         * locale/setlocale.c (setlocale): Use strdup for allocating
3190         composite name copy.
3192 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3194         Sync up with gnulib.
3195         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3196         [!_LIBC && ENABLE_NLS]: Include gettext.h.
3197         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3198         and _GL_ARG_NONNULL.
3199         [USE_UNLOCKED_IO]: Include unlocked-io.h.
3200         [!_LIBC]: Include code for Windows and Cygwin.
3201         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3202         Include prototype for int strerror_r.
3203         [!_LIBC] (is_open): New function.
3204         (flush_stdout): New function.
3205         (print_errno_message): Use it.
3206         (error): Likewise.
3207         (error_at_line): Likewise.
3208         (error_tail) Add function attribute macros.  Use
3209         __builtin_expect.
3211         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3213         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3215         * io/ftw.c: Include sys/param.h unconditionally.
3217         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3219         [BZ #17125]
3220         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3221         libc_freeres_ptr.
3222         (freecache): New function to free CACHE on exit.
3224         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3225         initialization.
3227 2014-07-09  David S. Miller  <davem@davemloft.net>
3229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3231         * sysdeps/sparc/nptl/internaltypes.h: Delete.
3232         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3233         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3234         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3235         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3236         * sysdeps/sparc/nptl/sem_init.c: Likewise.
3237         * sysdeps/sparc/nptl/sem_post.c: Likewise.
3238         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3239         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3240         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3241         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3242         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3243         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3245 2014-07-09  Andreas Schwab  <schwab@suse.de>
3247         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3248         output.
3249         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3250         (do_test): Likewise.
3252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3254 2014-07-09  Will Newton  <will.newton@linaro.org>
3256         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3257         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3258         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3259         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3260         * sysdeps/hppa/start.S (_start): Likewise.
3262 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3264         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3266         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3267         defined.
3269 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3272         after checking that it is non-NULL.
3274         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3276 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3278         * sysdeps/powerpc/memmove.c: Remove file.
3279         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3280         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3282         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3284         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3285         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3286         string memmove instead of removed powerpc one.
3288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3289         [weak_alias]: Fix compiler warning due trailing data.
3290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3291         [weak_alias]: Likewise.
3292         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3293         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3296         (__libc_ifunc_impl_list): Add memmove functions.
3298 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3300         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3301         Remove code.
3302         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3303         Likewise
3304         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3305         Likewise
3306         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3307         Likewise
3308         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3309         Likewise
3310         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3311         Likewise
3312         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3313         Likewise
3314         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3315         Likewise
3316         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3317         Likewise
3318         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3319         Likewise
3320         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3321         Likewise
3322         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3323         Likewise
3324         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3325         Likewise
3326         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3327         Likewise
3328         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3329         Likewise
3330         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3331         Likewise
3332         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3333         Likewise
3335 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3338         to avoid alignment traps in non-cacheable memory.
3339         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3342         multiarch objects.
3343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3344         file: multiarch power7 memmove.
3345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3346         multiarch default memmove.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3348         multiarch memove for powerpc32/power4.
3350         * string/bcopy.c: Use full path to include memmove.c.
3351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3352         multiarch objects.
3353         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3354         bcopy for powerpc64.
3355         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3356         bcopy for powerpc64.
3357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3358         and memmove implementations.
3359         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3360         optimized multiarch memmove for POWER7/powerpc64.
3361         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3362         default multiarch memmove for powerpc64.
3363         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3364         multiarch for powerpc64.
3365         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3366         for POWER7/powerpc64.
3367         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3368         memmove for POWER7/powerpc64.
3370         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3371         glibc default one.
3373         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3374         __ELF_NATIVE_CLASS equal to 64.
3376 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3378         * sysdeps/nptl/lowlevellock.h: File removed.
3380         * NEWS: NPTL is no longer an add-on!
3381         * nptl/internaltypes.h: Moved ...
3382         * sysdeps/nptl/internaltypes.h: ... here.
3383         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3384         * sysdeps/nptl/fork.c: Likewise.
3385         * sysdeps/nptl/gai_misc.h: Likewise.
3386         * sysdeps/nptl/librt-cancellation.c: Likewise.
3387         * sysdeps/nptl/jmp-unwind.c: Likewise.
3388         * sysdeps/nptl/setxid.h: Likewise.
3389         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3390         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3391         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3392         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3393         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3394         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3395         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3396         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3397         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3398         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3399         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3400         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3401         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3402         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3403         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3404         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3405         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3406         * nptl/Makeconfig: Moved ...
3407         * sysdeps/nptl/Makeconfig: ... here.
3408         * nptl/configure: File removed.
3409         * nptl/ANNOUNCE: File removed.
3410         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3411         * sysdeps/unix/sysv/linux/configure: Regenerated.
3413         * nptl/Makefile (routines): Add libc_pthread_init,
3414         libc_multiple_threads, register-atfork and unregister-atfork.
3415         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3416         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3417         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3418         pthread-pi-defines.sym, structsem.sym.
3419         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3420         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3421         [$(subdir) = nptl] (tests): Add tst-setgetname.
3422         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3423         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3424         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3425         [!LIBC_SIGACTION]: Remove aliases.
3426         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3427         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3428         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3429         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3430         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3431         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3432         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3435         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3436         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3437         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3438         __libc_allocate_rtsig_private.
3439         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3440         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3441         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3442         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3443         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3444         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3445         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3446         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3447         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3448         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3449         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3450         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3451         * nptl/internaltypes.h: ... here.
3452         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3453         * sysdeps/nptl/jmp-unwind.c: ... here.
3454         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3455         * nptl/libc-lowlevellock.c: ... here.
3456         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3457         * nptl/libc_multiple_threads.c: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3459         * nptl/libc_pthread_init.c: ... here.
3460         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3461         * nptl/lowlevelbarrier.sym: ... here.
3462         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3463         * nptl/lowlevelcond.sym: ... here.
3464         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3465         * nptl/lowlevellock.c: ... here.
3466         * nptl/lowlevellock.h: Moved ...
3467         * sysdeps/nptl/lowlevellock.h: ... here.
3468         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3469         * nptl/lowlevelrobustlock.c: ... here.
3470         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3471         * nptl/lowlevelrobustlock.sym: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3473         * nptl/lowlevelrwlock.sym: ... here.
3474         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3475         * nptl/pt-fork.c: ... here.
3476         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3477         * nptl/pthread-pi-defines.sym: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3479         * nptl/pthread_attr_getaffinity.c: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3481         * nptl/pthread_attr_setaffinity.c: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3483         * nptl/pthread_mutex_cond_lock.c: ... here.
3484         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3485         Update #include.
3486         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3487         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3488         * nptl/pthread_once.c: ... here, replacing old file.
3489         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3490         * nptl/pthread_yield.c: ... here.
3491         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3492         * nptl/register-atfork.c: ... here.
3493         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3494         * nptl/sem_post.c: ... here.
3495         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3496         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3497         * nptl/sem_timedwait.c: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3499         * nptl/sem_trywait.c: ... here.
3500         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3501         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3502         * nptl/sem_wait.c: ... here.
3503         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3504         * nptl/structsem.sym: ... here.
3505         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3506         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3507         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3508         * nptl/unregister-atfork.c: ... here.
3509         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3510         * nptl/unwindbuf.sym: ... here.
3511         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3512         * sysdeps/nptl/fork.c: ... here.
3513         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3514         * sysdeps/nptl/fork.h: ... here.
3515         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3516         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3517         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3519         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3520         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3521         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3522         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3523         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3524         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3525         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3526         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3527         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3528         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3529         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3530         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3531         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3532         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3533         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3534         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3535         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3536         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3537         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3538         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3539         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3540         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3541         * sysdeps/unix/sysv/linux/raise.c: ... here.
3542         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3543         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3544         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3545         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3546         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3547         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3548         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3549         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3550         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3551         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3552         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3553         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3554         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3555         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3556         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3558 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3560         * sysdeps/generic/memcopy.h: Add comment for
3561         MEMCPY_OK_FOR_FWD_MEMMOVE.
3563 2014-07-04  Will Newton  <will.newton@linaro.org>
3565         * string/memchr.c: Merge from gnulib.
3566         [_LIBC]: Remove conditionals.
3567         (__ptr_t): Remove define.
3568         (LONG_MAX_32_BITS): Likewise.
3569         (LONG_MAX): Likewise.
3570         (MEMCHR): Use ANSI prototype and optimize algorithm.
3572         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3574 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3576         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3577         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3579         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3580         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3581         in a bare environment with no <stdlib.h> installed.
3582         * sysdeps/nptl/configure: Regenerated.
3584         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3586         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3587         AC_EGREP_CPP for kernel header checks, so they only succeed if
3588         including <linux/version.h> actually works right.
3589         * sysdeps/unix/sysv/linux/configure: Regenerated.
3591         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3592         value so it's not diagnosed as unused.
3594         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3595         thing) with "ifeq ($(subdir),rt)".
3597 2014-07-03  Richard Henderson  <rth@redhat.com>
3599         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3600         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3601         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3603         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3604         (math_force_eval): New.
3606         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3607         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3609         * sysdeps/alpha/fpu/s_round.c: Remove file.
3610         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3612         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3613         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3614         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3615         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3616         (_dl_start, print_statistics): Likewise.
3617         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3618         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3620         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3621         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3622         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3623         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3625         (HP_SMALL_TIMING_AVAIL): Define.
3626         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3628         (HP_SMALL_TIMING_AVAIL): Define.
3629         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3630         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3632         * sysdeps/aarch64/hp-timing.h: New file.
3634         * sysdeps/generic/hp-timing.h: Remove dead comment.
3635         * sysdeps/generic/hp-timing-common.h: New file.
3636         * sysdeps/alpha/hp-timing.h: Include it.
3637         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3638         * sysdeps/i386/i686/hp-timing.h: Likewise.
3639         * sysdeps/ia64/hp-timing.h: Likewise.
3640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3641         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3643         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3644         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3645         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3646         (hp_timing_t): New.
3648         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3649         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3650         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3651         * elf/rtld.c (_dl_start_final): Likewise.
3652         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3653         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3654         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3656         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3658         (HP_TIMING_DIFF_INIT): Remove.
3659         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3661         (HP_TIMING_DIFF_INIT): Remove.
3662         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3663         * sysdeps/i386/i686/hp-timing.c: Remove file.
3664         * sysdeps/x86_64/hp-timing.c: Remove file.
3665         * sysdeps/ia64/hp-timing.c: Remove file.
3666         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3667         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3668         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3669         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3671         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3672         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3673         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3674         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3676         (HP_TIMING_ACCUM): Remove.
3677         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3679         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3681         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3682         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3683         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3684         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3685         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3686         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3687         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3688         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3690         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3692 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3694         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3696 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3698         Sync up with gettext.
3699         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3700         [_MSC_VER]: Include malloc.h
3701         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3702         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3703         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3704         TEMP_FAILURE_RETRY.  Cast return of alloca.
3705         [!_LIBC] Call gl_rwlock_init.
3706         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3710         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3711         before checking its value.
3713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3715         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3717         * debug/memcpy_chk.c: Don't include pagecopy.h.
3718         * debug/mempcpy_chk.c: Likewise.
3719         * string/memcpy.c: Likewise.
3720         * string/memmove.c: Likewise.
3721         * sysdeps/powerpc/memmove.c: Likewise.
3722         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3723         definition of PAGE_COPY_FWD_MAYBE here...
3724         * sysdeps/generic/pagecopy.h: ... from here.
3725         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3727 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3732         optimizations.
3733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3734         (__libc_ifunc_impl_list): Likewise.
3735         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3736         multiarch strcat for PPC64.
3737         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3738         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3740 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3742         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3744 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3746         * intl/loadmsgcat.c: Remove declaration of
3747         get_sysdep_segment_value.
3748         (get_sysdep_segment_value): Use ISO C style.
3749         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3750         semicolon.  Fix typo and formatting in comment.
3751         (_nl_unload_domain): Use ISO C style.
3753         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3755 2014-07-02  Will Newton  <will.newton@linaro.org>
3757         * malloc/obstack.c: Merge from gnulib master.
3758         [HAVE_CONFIG_H]: Remove conditional code.
3759         [!_LIBC]: Include config.h.
3760         [!ELIDE_CODE]: Don't include inttypes.h, include
3761         stdint.h unconditionally.
3762         (print_and_abort): Mark as _Noreturn.
3763         (_obstack_allocated_p): Mark as __attribute_pure__.
3764         (obstack_free): Rename to __obstack_free.
3765         [!__attribute__]: Remove conditional code.
3766         * malloc/obstack.h: Merge from gnulib master.
3767         [__cplusplus]: Move conditional down.
3768         [!__attribute_pure__]: Define __attribute_pure__ here
3769         if it is not already defined.
3770         (_obstack_memory_used): Mark as __attribute_pure__.
3771         [!__obstack_free]: Define as obstack_free.
3772         [__GNUC__]: Remove check for ancient NeXT gcc.
3774 2014-07-02  Will Newton  <will.newton@linaro.org>
3775             Paul Eggert  <eggert@cs.ucla.edu>
3777         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3779 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3781         * resolv/gethnamaddr.c: Add comment warning that the file is
3782         not maintained.
3784 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3786         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3787         entries.
3789         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3790         entry for aio_cancel and aio_cancel64.
3791         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3792         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3793         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3794         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3795         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3796         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3797         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3798         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3799         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3800         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3801         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3802         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3803         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3805 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3807         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3808         * nptl/pthread_mutex_lock.c: Likewise.
3809         * nptl/pthread_mutex_timedlock.c: Likewise.
3810         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3812 2014-07-01  Richard henderson  <rth@redhat.com>
3814         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3815         (__isnan, __isnanl): Remove.
3816         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3818         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3820 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3822         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3824 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3826         * resolv/nss_dns/dns-host.c (getanswer_r)
3827         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3829 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3832         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3833         undefine.
3834         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3835         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3837 2014-07-01  Roland McGrath <roland@hack.frob.com>
3839         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3840         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3842         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3843         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3845         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3846         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3847         ... here.
3848         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3849         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3851         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3852         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3853         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3854         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3856         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3857         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3858         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3859         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3860         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3861         Moved ...
3862         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3863         ... here.
3864         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3865         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3866         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3867         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3868         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3869         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3870         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3871         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3872         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3873         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3874         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3875         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3877         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3878         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3879         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3880         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3881         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3882         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3883         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3884         ... here.
3885         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3886         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3887         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3888         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3889         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3890         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3891         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3892         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3894 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3896         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3897         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3898         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3899         Add sysdep.
3901 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3905 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3907         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3908         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3910         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3912         * sysdeps/arm/libm-test-ulps: Regenerated.
3914 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3915             Roland McGrath <roland@hack.frob.com>
3917         * test-skeleton.c (signal_handler): Kill the whole process group
3918         before killing the child individually.
3919         (main): Report any failure on `setpgid'.
3921 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3923         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3924         from _TLS_H to _ARM_NPTL_TLS_H.
3925         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3926         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3928 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3930         [BZ #16539]
3931         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3932         (__expm1l): Return argument unchanged when small but not
3933         subnormal.
3935         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3936         include macro name.
3937         (_FP_UNPACK_RAW_1_P): Likewise.
3938         (_FP_PACK_RAW_1): Likewise.
3939         (_FP_PACK_RAW_1_P): Likewise.
3940         (_FP_MUL_MEAT_1_wide): Likewise.
3941         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3942         (_FP_MUL_MEAT_1_hard): Likewise.
3943         (_FP_DIV_MEAT_1_imm): Likewise.
3944         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3945         (_FP_DIV_MEAT_1_udiv): Likewise.
3946         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3947         (_FP_UNPACK_RAW_2): Likewise.
3948         (_FP_UNPACK_RAW_2_P): Likewise.
3949         (_FP_PACK_RAW_2): Likewise.
3950         (_FP_PACK_RAW_2_P): Likewise.
3951         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3952         (_FP_MUL_MEAT_2_wide): Likewise.
3953         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3954         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3955         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3956         (_FP_MUL_MEAT_2_gmp): Likewise.
3957         (_FP_DIV_MEAT_2_udiv): Likewise.
3958         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3959         (_FP_FRAC_SRL_4): Likewise.
3960         (_FP_FRAC_SRST_4): Likewise.
3961         (_FP_FRAC_SRS_4): Likewise.
3962         (_FP_UNPACK_RAW_4): Likewise.
3963         (_FP_UNPACK_RAW_4_P): Likewise.
3964         (_FP_PACK_RAW_4): Likewise.
3965         (_FP_PACK_RAW_4_P): Likewise.
3966         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3967         (_FP_MUL_MEAT_4_wide): Likewise.
3968         (_FP_MUL_MEAT_4_gmp): Likewise.
3969         (umul_ppppmnnn): Likewise.
3970         (_FP_DIV_MEAT_4_udiv): Likewise.
3971         (__FP_FRAC_ADD_4): Likewise.
3972         (__FP_FRAC_SUB_3): Likewise.
3973         (__FP_FRAC_SUB_4): Likewise.
3974         (__FP_FRAC_DEC_3): Likewise.
3975         (__FP_FRAC_DEC_4): Likewise.
3976         (__FP_FRAC_ADDI_4): Likewise.
3977         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3978         (_FP_FRAC_SRL_8): Likewise.
3979         (_FP_FRAC_SRS_8): Likewise.
3981         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3982         include macro name.
3983         (FP_UNPACK_RAW_EP): Likewise.
3984         (FP_PACK_RAW_E): Likewise.
3985         (FP_PACK_RAW_EP): Likewise.
3986         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3987         (_FP_ISSIGNAN): Likewise.
3988         (_FP_ADD_INTERNAL): Likewise.
3989         (_FP_FMA): Likewise.
3990         (_FP_CMP): Likewise.
3991         (_FP_SQRT): Likewise.
3992         (_FP_TO_INT): Likewise.
3993         (_FP_FROM_INT): Likewise.
3994         (FP_EXTEND): Likewise.
3995         (_FP_DIV_MEAT_N_loop): Likewise.
3997 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3999         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4000         throughout.
4002 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
4004         [BZ #17097]
4005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4006         result with correct sign in case of exponents that produce
4007         overflow except for X very close to 1.
4009 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
4011         mktime: merge #if/#ifdef usage from glibc
4012         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4013         as that works with both Glibc's and Gnulib's style.
4014         See thread starting at Siddhesh Poyarekar's bug report at:
4015         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4017 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4019         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4020         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4021         * sysdeps/tile/tilegx/memmove.c: Remove file.
4023 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4025         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4026         abi-name definition.
4027         * scripts/soversions.awk: Do not handle or generate ABI lines.
4028         * shlib-versions: Remove ABI entries.
4029         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4030         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4032 2014-06-27  Roland McGrath  <roland@hack.frob.com>
4034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4035         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4036         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4039         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4041         Moved ...
4042         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4043         ... here.
4044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4045         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4047         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4049         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4051         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4053         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4055         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4057         Moved ...
4058         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4062         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4064         Moved ...
4065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4067         Moved ...
4068         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4070         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4072         Moved ...
4073         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4075         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4077         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4079         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4081         Moved ...
4082         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4084         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4086         Moved ...
4087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4089         Moved ...
4090         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4092         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4096         ... here.
4097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4098         Identical file removed.
4099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4100         Moved ...
4101         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4103         Identical file removed.
4104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4107         Moved ...
4108         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4110         Identical file removed.
4111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4112         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4114         Identical file removed.
4115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4116         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4118         Identical file removed.
4119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4120         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4122         Identical file removed.
4123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4124         Moved ...
4125         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4127         Identical file removed.
4128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4129         Moved ...
4130         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4134         Identical file removed.
4135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4136         Moved ...
4137         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4138         ... here.
4139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4140         Identical file removed.
4141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4142         Moved ...
4143         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4144         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4145         Identical file removed.
4146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4150         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4152         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4154         Moved ...
4155         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4156         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4157         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4159         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4160         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4161         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4162         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4163         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4165 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
4167         [BZ #17092]
4168         * nscd/nscd.c (monitor_child): Return exit status of child
4169         instead of return value from wait syscall.
4171 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
4173         * configure.ac (libc_commonpagesize): Remove variable.
4174         (libc_relro_required): Likewise.
4175         (libc_cv_z_relro): Remove configure test.
4176         * configure: Regenerated.
4177         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4178         variable.
4179         (libc_relro_required): Likewise.
4180         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4181         (libc_relro_required): Likewise.
4182         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4183         (libc_relro_required): Likewise.
4184         * sysdeps/arm/preconfigure: Regenerated.
4185         * sysdeps/ia64/preconfigure: Remove file.
4186         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4187         variable.
4188         (libc_relro_required): Likewise.
4190         [BZ #16561]
4191         [BZ #16562]
4192         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4193         (__ieee754_yn): Set FE_TONEAREST mode internally and then
4194         recompute overflowing results in original rounding mode.
4195         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4196         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4197         recompute overflowing results in original rounding mode.
4198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4199         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4200         recompute overflowing results in original rounding mode.
4201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4202         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4203         recompute overflowing results in original rounding mode.
4204         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4205         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4206         recompute overflowing results in original rounding mode.
4207         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4208         (libc_feholdsetround_ctx): New macro.
4209         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4210         * sysdeps/i386/fpu/libm-test-ulps: Update.
4211         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4215         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4216         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4217         corresponding .cpsetup call.
4219 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4221         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4222         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4223         * sysdeps/arm/Makefile [$(subdir) = csu]
4224         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4225         (static-only-routines): Add aeabi_read_tp here.
4226         (shared-only-routines): Add libc-aeabi_read_tp here.
4227         (CFLAGS-libc-start.c): Add -fexceptions here.
4228         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4229         (sysdep_routines, static-only-routines, shared-only-routines):
4230         Don't add to these here.
4231         (CFLAGS-libc-start.c): Likewise.
4233         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4234         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4235         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4236         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4237         * sysdeps/arm/Makefile [$(subdir) = rt]
4238         (librt-sysdep_routines, librt-shared-only-routines):
4239         Append rt-aeabi_unwind_cpp_pr1 here.
4240         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4241         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4242         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4243         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4244         Append nptl-aeabi_unwind_cpp_pr1 here.
4245         (tests): Filter out tst-cleanupx4 here.
4246         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4247         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4248         Don't do those here.
4250 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4252         * scripts/list-sources.sh: Do not handle ports specially.
4254 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4256         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4257         * sysdeps/arm/feupdateenv.c: Likewise.
4259         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4261 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4263         * manual/texinfo.tex: Update to version 2014-05-05.10 with
4264         trailing whitespace removed.
4265         * scripts/config.guess: Update to version 2014-03-23.
4266         * scripts/config.sub: Update to version 2014-05-01
4267         * scripts/install-sh: Update to version 2013-12-25.23.
4268         * scripts/move-if-change: Update from gnulib.
4270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4272         * debug/memmove_chk.c: Remove pagecopy.h include.
4274 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
4276         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
4277         identical to gnulib mktime.
4279 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4281         * configure.ac: Do not test for machine being rs6000.  Do not test
4282         for powerpc*-*soft.
4283         * configure: Regenerated.
4285         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4286         test.
4287         * configure: Regenerated.
4288         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4289         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4290         Remove configure test.
4291         * sysdeps/arm/configure: Regenerated.
4292         * sysdeps/nptl/configure.ac: Do not check
4293         libc_cv_asm_cfi_directives.
4294         * sysdeps/nptl/configure: Regenerated.
4295         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4296         * sysdeps/x86_64/nptl/configure: Remove generated file.
4297         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4298         unconditional.
4299         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4301 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4303         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4304         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4305         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4306         it is defined.
4308         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4309         instead of whether it is defined.
4310         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4311         * sysdeps/hppa/dl-machine.h: Likewise.
4312         * sysdeps/ia64/dl-machine.h: Likewise.
4313         * sysdeps/m68k/dl-machine.h: Likewise.
4314         * sysdeps/microblaze/dl-machine.h: Likewise.
4315         * sysdeps/mips/dl-machine.: Likewise.
4316         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4317         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4318         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4319         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4320         * sysdeps/sh/dl-machine.h: Likewise.
4321         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4322         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4323         * sysdeps/tile/dl-machine.h: Likewise.
4324         * sysdeps/x86_64/dl-machine.h: Likewise.
4326         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4327         code.
4328         (verify_persistent_db): Likewise.
4330 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4333         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4335         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4337         Moved ...
4338         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4339         ... here.
4340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4341         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4343         Identical file removed.
4344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4345         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4347         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4349         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4351         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4353         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4355         Moved ...
4356         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4358         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4360         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4362         Moved ...
4363         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4365         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4367         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4369         Identical file removed.
4370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4371         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4373         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4375         Moved ...
4376         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4377         ... here.
4378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4379         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4381         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4383         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4385         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4387         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4389         Moved ...
4390         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4392         Moved ...
4393         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4395         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4397         Moved ...
4398         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4400         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4402         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4403         folded into ...
4404         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4405         * sysdeps/unix/sysv/linux/s390/Versions
4406         (libpthread: GLIBC_2.19): New version set.
4407         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4408         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4409         (librt: GLIBC_2.3.3): New version set.
4410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4411         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4412         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4413         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4414         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4416         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4418         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4420         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4422         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4424         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4426         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4427         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4428         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4429         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4430         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4432         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4434         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4436         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4438         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4439         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4440         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4441         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4446         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4448         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4450         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4452         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4454         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4456         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4457         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4458         (__libc_vfork): Define the function under this name.
4459         [!NOT_IN_libc] (__vfork): Make this an alias.
4460         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4462         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4463         (__libc_vfork): Define the function under this name.
4464         [!NOT_IN_libc] (__vfork): Make this an alias.
4465         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4466         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4467         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4469         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4470         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4472         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4473         code that was previously under [RESET_PID].
4474         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4475         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4478         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4479         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4480         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4481         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4482         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4483         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4484         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4485         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4486         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4487         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4488         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4489         Moved ...
4490         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4491         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4494         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4495         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4496         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4497         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4498         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4499         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4502         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4504         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4505         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4506         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4507         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4508         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4509         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4512         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4513         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4514         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4515         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4516         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4517         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4518         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4520 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4522         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4523         that was previously under [RESET_PID].
4524         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4526 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4528         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4529         not undefine and redefine.
4530         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4531         [O_CLOEXEC]: Make code unconditional.
4532         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4533         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4534         <kernel-features.h>.
4535         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4536         conditional variable definition.
4537         (shm_open) [O_CLOEXEC]: Make code unconditional.
4538         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4539         code.
4541         * configure.ac (USE_REGPARMS): Don't define here.
4542         * configure: Regenerated.
4543         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4544         * sysdeps/i386/configure: Regenerated.
4546         * nptl/createthread.c: Don't include kernel-features.h.
4547         * nptl/pthread_cancel.c: Likewise.
4548         * nptl/pthread_condattr_setclock.c: Likewise.
4549         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4550         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4551         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4552         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4553         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4554         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4555         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4558         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4559         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4560         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4561         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4562         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4563         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4564         * nscd/gai.c: Likewise.
4565         * nss/nss_db/db-open.c: Likewise.
4566         * sysdeps/generic/ldsodefs.h: Likewise.
4567         * sysdeps/sh/nptl/tls.h: Likewise.
4568         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4569         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4570         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4571         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4572         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4573         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4574         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4575         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4576         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4577         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4578         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4579         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4580         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4581         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4582         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4583         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4584         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4585         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4586         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4587         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4590         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4591         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4596         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4597         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4598         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4599         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4600         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4601         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4602         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4603         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4604         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4605         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4606         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4607         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4608         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4609         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4610         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4611         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4612         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4613         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4614         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4615         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4617         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4618         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4619         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4620         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4621         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4622         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4623         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4624         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4625         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4648         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4649         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4650         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4651         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4652         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4653         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4654         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4655         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4656         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4657         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4658         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4659         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4660         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4661         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4662         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4663         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4664         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4665         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4666         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4667         * sysdeps/unix/sysv/linux/system.c: Likewise.
4668         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4669         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4670         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4671         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4672         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4673         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4674         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4676         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4677         * configure: Regenerated.
4678         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4680         * configure.ac (base_machine): Do not set specially for particular
4681         machines here.
4682         * configure: Regenerated.
4683         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4684         settings from configure.ac.
4685         * sysdeps/i386/preconfigure: New file.
4686         * sysdeps/s390/preconfigure: Likewise.
4687         * sysdeps/sh/preconfigure: Likewise.
4688         * sysdeps/sparc/preconfigure: Likewise.
4690 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4692         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4693         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4694         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4695         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4696         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4697         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4698         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4699         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4700         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4701         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4702         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4703         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4704         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4705         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4709         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4710         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4712         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4713         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4714         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4715         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4716         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4717         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4718         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4719         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4720         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4721         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4722         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4723         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4724         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4725         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4726         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4727         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4728         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4729         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4730         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4731         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4732         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4733         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4735         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4738         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4739         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4741         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4742         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4743         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4745         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4746         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4747         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4748         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4749         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4752         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4754         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4756         Moved ...
4757         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4758         ... here.
4759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4760         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4762         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4764         Moved ...
4765         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4767         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4769         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4771         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4773         Moved ...
4774         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4776         Moved ...
4777         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4779         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4781         Moved ...
4782         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4784         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4786         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4788         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4790         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4792         Moved ...
4793         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4794         ... here.
4795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4796         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4798         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4800         Moved ...
4801         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4803         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4805         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4807         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4809         Moved ...
4810         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4812         Moved ...
4813         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4815         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4820         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4822         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4826         * timezone/checktab.awk: Update from tzcode 2014e.
4827         * timezone/private.h: Likewise.
4828         * timezone/tzfile.h: Likewise.
4829         * timezone/zdump.c: Likewise.
4830         * timezone/zic.c: Likewise.
4832         * sysdeps/unix/sysv/linux/kernel-features.h
4833         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4834         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4835         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4836         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4837         Remove conditional code.
4839 2014-06-25  Will Newton  <will.newton@linaro.org>
4841         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4842         (_dl_arm_cap_flags): Add HWCAP2 values.
4843         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4844         (_DL_HWCAP_COUNT): Increase to 37.
4845         (_DL_HWCAP_LAST): New define.
4846         (_DL_HWCAP2_LAST): New define.
4847         (_dl_procinfo): Add support for printing
4848         AT_HWCAP2 entries.
4849         (_dl_string_hwcap): Use _dl_hwcap_string.
4851 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4855 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4857         * README: Do not mention ports directory.
4859         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4860         Remove macro.
4861         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4862         <kernel-features.h>.
4863         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4864         conditional variable definition.
4865         (__futimes): Update comment.
4866         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4867         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4869         [BZ #16560]
4870         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4871         arguments close to 0.
4872         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4873         Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4875         Likewise.
4876         * math/auto-libm-test-in: Add more tests of exp10.
4877         * math/auto-libm-test-out: Regenerated.
4878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4880         * sysdeps/unix/sysv/linux/kernel-features.h
4881         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4882         * sysdeps/unix/sysv/linux/readv.c: Do not include
4883         <kernel-features.h>.
4884         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4885         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4886         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4887         unconditional.
4888         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4889         conditional code.
4890         * sysdeps/unix/sysv/linux/writev.c: Do not include
4891         <kernel-features.h>.
4892         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4893         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4894         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4895         unconditional.
4896         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4897         conditional code.
4899 2014-06-25  Will Newton  <will.newton@linaro.org>
4901         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4902         comment changes throughout the file.  Remove checks
4903         for HAVE_*_H definitions that are not required.
4904         (__gen_tempname): Call abort if an unknown kind value is
4905         passed.
4907 2014-06-25  Andreas Schwab  <schwab@suse.de>
4909         [BZ #17086]
4910         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4911         scalbln, scalblnf, scalblnl in libc.
4913 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4915         [BZ #17086]
4916         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4917         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4918         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4920 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4922         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4923         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4924         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4925         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4926         Update #include.
4927         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4928         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4929         Update #include.
4930         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4931         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4932         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4933         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4934         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4935         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4936         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4937         * sysdeps/x86/bits/semaphore.h: ... here.
4938         * sysdeps/x86/nptl/elide.h: Moved ...
4939         * sysdeps/x86/elide.h: ... here.
4940         * sysdeps/x86_64/nptl/Implies: File removed.
4941         * sysdeps/i386/nptl/Implies: File removed.
4943 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4945         [BZ #16539]
4946         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4947         return the argument for normal arguments with exponent below -64.
4948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4949         Likewise.
4950         * math/auto-libm-test-in: Add another test of expm1.
4951         * math/auto-libm-test-out: Regenerated.
4953         [BZ #16287]
4954         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4955         calling __erfcl for arguments at least 16.
4956         * math/auto-libm-test-in: Add more tests of erf.
4957         * math/auto-libm-test-out: Regenerated.
4959         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4960         individual architectures.
4961         * sysdeps/unix/sysv/linux/configure: Regenerated.
4962         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4963         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4964         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4965         (ldd_rewrite_script): Define variable.
4966         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4968         file.
4969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4970         generated file.
4971         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4972         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4973         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4974         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4975         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4976         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4977         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4978         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4980 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4982         [BZ #17084]
4983         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4984         Rename member __data.d to __data.__elision_data.
4986 2014-06-24  Wilco  <wdijkstr@arm.com>
4988         * NEWS: Add 16918 to fixed bug list.
4990 2014-06-24  Wilco  <wdijkstr@arm.com>
4992         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4994 2014-06-24  Wilco  <wdijkstr@arm.com>
4996         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4997         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4998         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4999         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5000         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5001         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5002         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5003         Use _FPU_MASK_RM.
5005 2014-06-24  Wilco  <wdijkstr@arm.com>
5007         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5009 2014-06-24  Wilco  <wdijkstr@arm.com>
5011         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5012         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5013         * sysdeps/arm/fesetround.c (fesetround): Remove space.
5014         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5016 2014-06-24  Wilco  <wdijkstr@arm.com>
5018         [BZ #16918]
5019         * sysdeps/arm/feupdateenv.c (feupdateenv):
5020         Rewrite to reduce FPSCR accesses and fix return value.
5022 2014-06-24  Wilco  <wdijkstr@arm.com>
5024         * sysdeps/arm/fclrexcpt.c (feclearexcept):
5025         Optimize to avoid unnecessary FPSCR writes.
5026         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5027         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5028         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5029         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5031 2014-06-24  Wilco  <wdijkstr@arm.com>
5033         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5034         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5035         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5036         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5037         Call libc_fetestexcept_vfp.
5038         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5039         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5040         __SOFTFP__ ifdef so that they can be built for softfp.
5042 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5044         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5045         argument type signed char.
5047         * Makerules (check-abi): Dump diff of symlist if the test
5048         fails.
5050 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5052         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5053         using abort.
5055         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5056         Remove unused variable ST.
5058 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5060         [BZ #16354]
5061         [BZ #17061]
5062         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5063         small arguments before calling __expm1.
5064         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5065         small arguments before calling __expm1f.
5066         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5067         small arguments before calling __expm1l.
5068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5069         Likewise.
5070         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5071         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
5072         spurious underflow for some cosh tests.
5073         * math/auto-libm-test-out: Regenerated.
5074         * sysdeps/i386/fpu/libm-test-ulps: Update.
5076         [BZ #17050]
5077         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5078         (__ieee754_y1): Set errno if return value overflows.
5079         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5080         (__ieee754_y1f): Set errno if return value overflows.
5081         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5082         (__ieee754_y1l): Set errno if return value overflows.
5083         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5084         (__ieee754_y1l): Set errno if return value overflows.
5085         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5086         * math/auto-libm-test-out: Regenerated.
5088         * math/gen-auto-libm-tests.c: Document use of
5089         ignore-zero-inf-sign.
5090         (input_flag_type): Add value flag_ignore_zero_inf_sign.
5091         (input_flags): Add ignore-zero-inf-sign.
5092         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5093         * math/gen-libm-test.pl (generate_testfile): Handle
5094         ignore-zero-inf-sign.
5095         * math/auto-libm-test-in: Mark some cpow tests with
5096         ignore-zero-inf-sign and some with xfail-rounding.
5097         * math/auto-libm-test-out: Regenerated.
5098         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5099         * sysdeps/i386/fpu/libm-test-ulps: Update.
5100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102         [BZ #16315]
5103         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5104         overflowing or underflowing operations take place with sign of
5105         result.
5106         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5107         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5108         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5109         (__ieee754_pow): Recompute overflowing and underflowing results in
5110         original rounding mode.
5111         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5112         (__powl_helper): Allow negative argument X and scale negated value
5113         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
5114         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5115         overflowing or underflowing operations take place with sign of
5116         result.
5117         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5118         Include <math.h>.
5119         * math/auto-libm-test-in: Add more tests of pow.
5120         * math/auto-libm-test-out: Regenerated.
5121         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5122         (pow_tonearest_test_data): Remove.
5123         (pow_test_tonearest): Likewise.
5124         (pow_towardzero_test_data): Likewise.
5125         (pow_test_towardzero): Likewise.
5126         (pow_downward_test_data): Likewise.
5127         (pow_test_downward): Likewise.
5128         (pow_upward_test_data): Likewise.
5129         (pow_test_upward): Likewise.
5130         (main): Don't call removed functions.
5131         * sysdeps/i386/fpu/libm-test-ulps: Update.
5132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5134 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5137         Moved ...
5138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5140         Moved ...
5141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5143         Moved ...
5144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5146         Moved ...
5147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5149         File removed.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5151         File removed.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5153         File removed.
5154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5155         File removed.
5156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5157         File removed.
5158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5159         File removed.
5160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5161         File removed.
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5163         File removed.
5164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5165         File removed.
5166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5167         File removed.
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5169         File removed.
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5171         File removed.
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5173         Moved ...
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5176         Moved ...
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5178         ... here.
5179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5180         Moved ...
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5183         Moved ...
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5189         Moved ...
5190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5192         Moved ...
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5195         Moved ...
5196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5198         Moved ...
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5202         ... here.
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5204         Moved ...
5205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5207         Moved ...
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5209         ... here.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5211         Moved ...
5212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5213         ... here.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5215         Moved ...
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5217         ... here.
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5219         Moved ...
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5222         Moved ...
5223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5229         ... here.
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5231         Moved ...
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5233         ... here.
5234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5235         Moved ...
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5238         Moved ...
5239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5241         Moved ...
5242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5244         Moved ...
5245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5247         Moved ...
5248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5249         ... here.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5251         Moved ...
5252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5254         Moved ...
5255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5257         Moved ...
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5260         Moved ...
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5265         Moved ...
5266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5268         Moved ...
5269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5271         Moved ...
5272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5273         ... here.
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5275         Moved ...
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5277         ... here.
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5279         Moved ...
5280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5281         ... here.
5282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5283         Moved ...
5284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5286         Moved ...
5287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5289         Moved ...
5290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5292         Moved ...
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5294         ... here.
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5296         Moved ...
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5298         ... here.
5299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5300         Moved ...
5301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5302         ... here.
5303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5304         Moved ...
5305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5307         Moved ...
5308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5310 2014-06-23  Will Newton  <will.newton@linaro.org>
5311             Wilco  <wdijkstr@arm.com>
5313         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5314         implementation.  Include get-rounding-mode.h.
5315         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5316         [!libc_feholdsetround_noex_ctx]: Define
5317         libc_feholdsetround_noex_ctx.
5318         [!libc_feholdsetround_noexf_ctx]: Define
5319         libc_feholdsetround_noexf_ctx.
5320         [!libc_feholdsetround_noexl_ctx]: Define
5321         libc_feholdsetround_noexl_ctx.
5322         (libc_feholdsetround_ctx): New function.
5323         (libc_feresetround_ctx): New function.
5324         (libc_feholdsetround_noex_ctx): New function.
5325         (libc_feresetround_noex_ctx): New function.
5327 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5329         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5330         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5331         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5332         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5333         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5334         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5336         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5337         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5338         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5339         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5340         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5341         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5343         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5345         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5347         Moved ...
5348         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5349         ... here.
5350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5351         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5353         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5355         Moved ...
5356         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5358         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5360         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5361         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5362         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5363         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5364         Moved ...
5365         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5367         Moved ...
5368         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5370         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5372         Moved ...
5373         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5375         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5377         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5378         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5379         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5381         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5383         Moved ...
5384         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5385         ... here.
5386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5387         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5389         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5395         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5396         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5399         Moved ...
5400         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5402         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5403         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5404         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5406         Moved ...
5407         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5409         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5411         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5413         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5414         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5415         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5416         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5417         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5418         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5419         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5420         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5422         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5423         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5424         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5425         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5426         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5427         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5428         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5429         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5430         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5431         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5432         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5433         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5434         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5436         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5437         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5438         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5439         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5440         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5442 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5445         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5446         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5447         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5448         (IPV6_PMTUDISC_INTERFACE): Likewise.
5449         (IPV6_PMTUDISC_OMIT): Likewise.
5451 2014-06-23  Andreas Schwab  <schwab@suse.de>
5453         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5454         Remove unused errout label.
5456 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5458         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5459         macro: hardware supports Vector Crypto instructions.
5461 2014-06-23  Will Newton  <will.newton@linaro.org>
5463         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5464         rather than __builtin_expect.
5466         * elf/dl-lookup.c (undefined_msg): Remove variable.
5467         (_dl_lookup_symbol_x): Replace undefined_msg with string
5468         literal.
5470         * elf/dl-lookup.c (do_lookup_unique): New function.
5471         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5472         to a separate function.
5474 2014-06-23  Andreas Schwab  <schwab@suse.de>
5476         [BZ #17079]
5477         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5478         before reading the next line.
5480 2014-06-23  Will Newton  <will.newton@linaro.org>
5482         * test-skeleton.c (signal_handler): Use printf and %m
5483         rather than perror.  Use printf rather than fprintf to
5484         stderr.  Use puts rather than fputs to stderr.
5485         (main): Likewise.
5487 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5489         * nscd/nscd.c (thread_info_t): Remove typedef.
5490         (thread_info): Remove variable.
5492 2014-06-21  Allan McRae  <allan@archlinux.org>
5494         * NEWS: Mention CVE-2014-4043.
5496 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5498         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5499         * nptl/smp.h: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5503         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5504         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5505         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5506         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5508         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5509         * nptl/stack-aliasing.h: New file.
5510         * sysdeps/i386/i686/stack-aliasing.h: New file.
5511         * sysdeps/i386/i686/nptl/Makefile: File removed.
5512         * sysdeps/x86_64/stack-aliasing.h: New file.
5513         * sysdeps/x86_64/nptl/Makefile
5514         (CFLAGS-pthread_create.c): Variable removed.
5516         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5517         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5518         old file.
5519         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5520         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5521         old file.
5523 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5526         (__ASSUME_SIGFRAME_V2): Remove macro.
5527         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5528         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5529         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5530         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5531         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5532         Declare as function.  Remove conditional macro definitions.
5533         (__default_rt_sa_restorer): Likewise.
5534         (__default_sa_restorer_v1): Remove declaration.
5535         (__default_sa_restorer_v2): Likewise.
5536         (__default_rt_sa_restorer_v1): Likewise.
5537         (__default_rt_sa_restorer_v2): Likewise.
5538         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5539         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5540         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5542 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5544         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5545         (libpthread-routines): Add sysdep.
5546         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5547         * sysdeps/unix/sysv/linux/sparc/Versions
5548         (libpthread: GLIBC_2.3.3): New version set.
5549         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5550         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5551         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5553         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5554         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5555         Moved ...
5556         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5557         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5558         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5560         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5561         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5562         * sysdeps/sparc/nptl/sem_init.c: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5564         * sysdeps/sparc/nptl/sem_post.c: ... here.
5565         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5566         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5568         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5570         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5571         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5572         (libpthread-routines): Add cpu_relax.
5573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5574         File removed.
5575         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5576         (librt: GLIBC_2.3.3): New version set.
5577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5578         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5579         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5580         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5583         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5585         Moved ...
5586         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5588         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5590         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5592         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5594         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5596         Moved ...
5597         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5598         Update #include.
5599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5600         Moved ...
5601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5602         Update #include.
5603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5604         Moved ...
5605         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5606         Update #include.
5607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5608         Moved ...
5609         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5610         Update #include.
5611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5612         Moved ...
5613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5614         Update #include.
5615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5616         Moved ...
5617         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5618         Update #include.
5619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5620         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5626         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5628         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5630         Moved ...
5631         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5633         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5635         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5637 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5639         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5640         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5641         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5642         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5643         * nscd/nscd.c: Likewise.
5644         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5645         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5646         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5647         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5649         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5650         <kernel-features.h>.
5651         (init_mq_netlink): Remove conditional have_sock_cloexec
5652         definitions.  Remove code conditional on have_sock_cloexec < 0.
5653         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5654         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5655         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5656         <kernel-features.h>.
5657         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5658         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5660 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5663         Add tests for memset_chk and memset.
5665         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5666         with AVX2_Usable.
5668 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5670         [BZ #16046]
5671         * elf/tst-dl-iter-static.c: New file.
5672         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5674         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5675         error.
5677 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5679         * sysdeps/unix/sysv/linux/kernel-features.h
5680         (__ASSUME_F_GETOWN_EX): Remove macro.
5681         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5682         <kernel-features.h>.
5683         (miss_F_GETOWN_EX): Remove variable or macro.
5684         (do_fcntl): Do not check miss_F_GETOWN_EX.
5685         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5688         Remove macro.
5689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5690         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5691         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5693         * sysdeps/unix/sysv/linux/kernel-features.h
5694         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5695         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5696         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5697         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5699 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5701         [BZ #17075]
5702         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5703         Fix calculation of the symbol's value.
5704         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5705         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5706         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5707         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5708         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5709         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5710         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5711         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5712         (modules-names): Add `tst-armtlsdescmod',
5713         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5714         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5715         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5716         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5717         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5718         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5719         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5720         ($(objpfx)tst-armtlsdescloc): New dependency.
5721         ($(objpfx)tst-armtlsdescextnow): Likewise.
5722         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5723         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5724         TLS scheme support.
5725         * sysdeps/arm/configure: Regenerate.
5727 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5729         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5730         (__atfct_seterrno_2): Likewise.
5731         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5732         <kernel-features.h>.
5733         (__ASSUME_ATFCTS): Do not undefine and redefine.
5734         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5735         (__have_atfcts): Remove conditional definition.
5736         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5738         unreachable if [__ASSUME_ATFCTS].
5739         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5740         not undefine and redefine.
5741         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5742         <kernel-features.h>.
5743         (faccessat) [__NR_faccessat]: Make code unconditional.
5744         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5745         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5746         <kernel-features.h>.
5747         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5748         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5749         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5750         <kernel-features.h>.
5751         (fchownat) [__NR_fchownat]: Make code unconditional.
5752         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5753         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5754         <kernel-features.h>.
5755         (futimesat) [__NR_futimesat]: Make code unconditional.
5756         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5757         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5758         <kernel-features.h>.
5759         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5760         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5761         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5762         <kernel-features.h>.
5763         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5764         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5765         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5766         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5767         <kernel-features.h>.
5768         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5769         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5770         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5771         <kernel-features.h>.
5772         (linkat) [__NR_linkat]: Make code unconditional.
5773         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5774         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5775         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5776         <kernel-features.h>.
5777         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5778         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5779         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5780         <kernel-features.h>.
5781         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5782         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5783         * sysdeps/unix/sysv/linux/openat.c: Do not include
5784         <kernel-features.h>.
5785         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5786         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5787         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5788         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5789         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5790         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5791         <kernel-features.h>.
5792         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5793         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5794         result of INLINE_SYSCALL directly, not via int variable.
5795         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5796         <kernel-features.h>.
5797         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5798         (renameat) [__NR_renameat]: Make code unconditional.
5799         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5800         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5801         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5802         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5803         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5804         (__ASSUME_ATFCTS): Do not undefine and redefine.
5805         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5806         <kernel-features.h>.
5807         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5808         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5809         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5810         <kernel-features.h>.
5811         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5812         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5813         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5814         (__ASSUME_ATFCTS): Do not undefine and redefine.
5815         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5816         <kernel-features.h>.
5817         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5818         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5819         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5820         <kernel-features.h>.
5821         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5822         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5824 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5826         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5828 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5830         [BZ #17069]
5831         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5832         constructed tree before returning error.
5833         * posix/bug-regexp36.c: Expand test case.
5835 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5837         [BZ #6803]
5838         * math/libm-test.inc (scalbln_test_date):
5839         Add errno expectations.
5840         * math/w_scalblnf.c: New File.
5841         Add wrapper which checks for setting errno to ERANGE.
5842         Add weak_alias for corresponding scalbln function.
5843         * math/w_scalbln.c: Likewise.
5844         * math/w_scalblnl.c: Likewise.
5845         * math/Makefile (libm-calls): Add w_scalbln.
5846         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5847         Remove weak_alias for corresponding scalbln function.
5848         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5849         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5850         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5851         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5852         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5853         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5854         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5855         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5856         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5857         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5858         Remove long_double_symbol for scalblnl function in libm, libc.
5859         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5860         Add wrapper which checks for setting errno to ERANGE.
5861         Add long_double_symbol for scalblnl function in libm, libc.
5862         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5863         Remove long_double_symbol for scalblnl in libm.
5864         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5865         Add wrapper which checks for setting errno to ERANGE.
5866         Add long_double_symbol for scalblnl function in libm.
5867         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5868         Do not use wrapper because of own implementation.
5870 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5872         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5873         3 bytes for __pad1 for x32.
5874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5876 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5877             H.J. Lu  <hongjiu.lu@intel.com>
5879         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5880         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5881         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5882         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5883         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5885 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5887         [BZ #17069]
5888         * posix/regcomp.c (parse_expression): Deallocate partially
5889         constructed tree before returning error.
5890         * posix/Makefile.c (tests): Add bug-regex36.
5891         (generated): Add bug-regex36.mtrace.
5892         (tests-special): Add $(objpfx)bug-regex36-mem.out
5893         (bug-regex36-ENV): New variable.
5894         ($(objpfx)bug-regex36-mem.out): New rule.
5895         * posix/bug-regex36.c: New file.
5897 2014-06-19  Will Newton  <will.newton@linaro.org>
5899         * malloc/malloc.c (systrim): If extra is zero then return
5900         early.
5902 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5904         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5906 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5908         * sysdeps/aarch64/strchr.S: New file.
5910 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5912         [BZ #17022]
5913         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5914         from arguments -2 or below.
5915         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5916         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5918 2014-06-18  Andreas Schwab  <schwab@suse.de>
5920         [BZ #17062]
5921         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5922         of a bracket expr not to run off the end of the string.
5923         * posix/Makefile (tests): Add tst-fnmatch3.
5924         * posix/tst-fnmatch3.c: New file.
5926 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5928         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5929         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5930         [$(cross-compiling) = no]: Likewise.
5931         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5932         [$(cross-compiling) = no]: Likewise.
5934 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5936         [BZ #17031]
5937         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5938         double, adjusted for any remainder from the high double.
5939         * math/libm-test.inc (nearbyint): Add tests.
5940         (rint): Likewise.
5942 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5944         * nptl/sysdeps/powerpc/Makefile: Moved ...
5945         * sysdeps/powerpc/nptl/Makefile: ... here.
5946         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5947         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5948         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5949         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5950         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5951         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5952         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5953         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5954         * nptl/sysdeps/powerpc/tls.h: Moved ...
5955         * sysdeps/powerpc/nptl/tls.h: ... here.
5957 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #16681]
5960         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5961         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5962         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5963         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5964         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5965         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5966         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5967         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5968         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5970 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5972         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5974 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5976         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5977         defined operator.
5979         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5980         $TIMEOUTFACTOR.
5982 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5984         [BZ #17058]
5985         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5986         non-executed part of the test.
5988 2014-06-16  Andreas Schwab  <schwab@suse.de>
5990         * string/bits/string2.h (strdup, strndup): Update feature guard.
5992 2014-06-14  David S. Miller  <davem@davemloft.net>
5994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5996 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5998         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5999         that was previously under [RESET_PID].
6000         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6002         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6003         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6004         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6005         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6006         (__libc_vfork): New strong alias.
6007         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6009 2014-06-14 Andi Kleen  <ak@linux.intel.com>
6011         * sysdeps/generic/elide.h: New file.
6013 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6015         * Makefile (installed-headers): Adjust path of pthread.h header.
6017 2014-06-13  Roland McGrath  <roland@hack.frob.com>
6019         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6020         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6022         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6024         * nptl/sysdeps/s390/Makefile: Moved ...
6025         * sysdeps/s390/nptl/Makefile: ... here.
6026         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6027         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6028         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6029         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6030         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6031         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6032         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6033         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6034         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6035         * sysdeps/s390/nptl/pthreaddef.h: ... here.
6036         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6037         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6038         * nptl/sysdeps/s390/tls.h: Moved ...
6039         * sysdeps/s390/nptl/tls.h: ... here.
6041         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6042         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6044 2014-06-13  David S. Miller  <davem@davemloft.net>
6046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6049         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6053         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6054         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6055         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6056         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6057         Remove RESET_PID cpp guards.
6058         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6059         Remove RESET_PID cpp guards.
6060         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6062 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
6064         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6065         __sp to uintptr_t.
6067 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6075         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6090         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6091         (pthread_rwlock_rdlock): Add elision.
6092         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6093         (pthread_rwlock_wrlock): Add elision.
6094         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6095         (pthread_rwlock_trywrlock): Add elision.
6096         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6097         (pthread_rwlock_tryrdlock): Add elision.
6098         * nptl/pthread_rwlock_unlock.c: Include elide.h.
6099         (pthread_rwlock_tryrdlock): Add elision unlock.
6100         * nptl/sysdeps/pthread/pthread.h:
6101         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6102         (PTHREAD_RWLOCK_INITIALIZER,
6103         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6104         Handle new elision field.
6105         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6106         * sysdeps/arm/nptl/bits/pthreadtypes.h
6107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6108         * sysdeps/sh/nptl/bits/pthreadtypes.h
6109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6110         * sysdeps/tile/nptl/bits/pthreadtypes.h
6111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6112         * sysdeps/a/nptl/bits/pthreadtypes.h
6113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6114         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6116         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6118         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6120         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6122         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6124         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6126         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6128         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6130         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6131         (elision_init): Set try_xbegin to zero when no RTM.
6132         * sysdeps/x86/nptl/bits/pthreadtypes.h
6133         (pthread_rwlock_t): Change __pad1 to __rwelision.
6134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6136 2014-06-13  Andi Kleen  <ak@linux.intel.com>
6138         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6139         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6140         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6141         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6143 2014-06-13  Meador Inge  <meadori@codesourcery.com>
6145         [BZ #16996]
6146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6147         that the cached result has been set before returning it.
6149 2014-06-12  Roland McGrath  <roland@hack.frob.com>
6151         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6152         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6153         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6154         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6155         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6156         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6158         * nptl/sysdeps/sparc/Makefile: Moved ...
6159         * sysdeps/sparc/nptl/Makefile: ... here.
6160         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6161         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6162         * nptl/sysdeps/sparc/tls.h: Moved ...
6163         * sysdeps/sparc/nptl/tls.h: ... here.
6164         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6165         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6166         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6167         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6168         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6169         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6170         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6171         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6172         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6173         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6174         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6175         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6176         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6177         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6178         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6179         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6180         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6182         Update #include.
6183         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6185         Update #include.
6186         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6188         Update #include.
6189         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6190         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6191         Update #include.
6193         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6195         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6196         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6198         * sysdeps/pthread/posix-timer.h: Include <list.h>.
6199         (struct list_links): Type removed.
6200         (struct thread_node, struct timer_node): Replace struct list_links
6201         with struct list_head.
6202         (list_unlink_ip): Likewise.
6203         * sysdeps/pthread/timer_routines.c
6204         (timer_free_list, thread_free_list, thread_active_list): Likewise.
6205         (list_append, list_insbefore): Likewise.
6206         (list_init): Function removed.
6207         (thread_init, init_module): Use INIT_LIST_HEAD instead.
6208         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6209         * sysdeps/pthread/Makefile: ... here, new file.
6211         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6212         * sysdeps/nptl/Implies: ... here.
6213         * sysdeps/unix/sysv/linux/Implies: Add nptl.
6214         * nptl/sysdeps/pthread/list.h: Moved ...
6215         * include/list.h: ... here.
6216         * nptl/sysdeps/pthread/createthread.c: Moved ...
6217         * nptl/createthread.c: ... here.
6218         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6219         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6220         * nptl/pt-longjmp.c: ... here.
6221         * nptl/sysdeps/pthread/Makefile: Moved ...
6222         * sysdeps/nptl/Makefile: ... here.
6223         * nptl/sysdeps/pthread/Subdirs: Moved ...
6224         * sysdeps/nptl/Subdirs: ... here.
6225         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6226         * sysdeps/nptl/aio_misc.h: ... here.
6227         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6228         * sysdeps/nptl/bits/libc-lock.h: ... here.
6229         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6230         * sysdeps/nptl/bits/libc-lockP.h: ... here.
6231         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6232         * sysdeps/nptl/bits/stdio-lock.h: ... here.
6233         * nptl/sysdeps/pthread/configure: Moved ...
6234         * sysdeps/nptl/configure: ... here.
6235         * nptl/sysdeps/pthread/configure.ac: Moved ...
6236         * sysdeps/nptl/configure.ac: ... here.
6237         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6238         * sysdeps/nptl/gai_misc.h: ... here.
6239         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6240         * sysdeps/nptl/librt-cancellation.c: ... here.
6241         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6242         * sysdeps/nptl/malloc-machine.h: ... here.
6243         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6244         * sysdeps/nptl/pthread-functions.h: ... here.
6245         * nptl/sysdeps/pthread/pthread.h: Moved ...
6246         * sysdeps/nptl/pthread.h: ... here.
6247         * nptl/sysdeps/pthread/setxid.h: Moved ...
6248         * sysdeps/nptl/setxid.h: ... here.
6249         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6250         * sysdeps/nptl/sigfillset.c: ... here.
6251         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6252         * sysdeps/nptl/tcb-offsets.h: ... here.
6253         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6254         * sysdeps/nptl/tst-mqueue8x.c: ... here.
6255         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6256         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6257         * nptl/sysdeps/pthread/allocalim.h: Moved ...
6258         * sysdeps/pthread/allocalim.h: ... here.
6259         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6260         * sysdeps/pthread/bits/sigthread.h: ... here.
6261         * nptl/sysdeps/pthread/flockfile.c: Moved ...
6262         * sysdeps/pthread/flockfile.c: ... here.
6263         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6264         * sysdeps/pthread/ftrylockfile.c: ... here.
6265         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6266         * sysdeps/pthread/funlockfile.c: ... here.
6267         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6268         * sysdeps/pthread/posix-timer.h: ... here.
6269         * nptl/sysdeps/pthread/timer_create.c: Moved ...
6270         * sysdeps/pthread/timer_create.c: ... here.
6271         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6272         * sysdeps/pthread/timer_delete.c: ... here.
6273         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6274         * sysdeps/pthread/timer_getoverr.c: ... here.
6275         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6276         * sysdeps/pthread/timer_gettime.c: ... here.
6277         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6278         * sysdeps/pthread/timer_routines.c: ... here.
6279         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6280         * sysdeps/pthread/timer_settime.c: ... here.
6281         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6282         * sysdeps/pthread/tst-timer.c: ... here.
6283         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6284         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6286         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6287         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6289         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6290         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6291         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6292         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6293         Update #include target.
6294         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6295         * sysdeps/i386/i686/nptl/Makefile: ... here.
6296         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6297         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6298         Update #include target.
6299         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6300         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6301         * nptl/sysdeps/i386/Makefile: Moved ...
6302         * sysdeps/i386/nptl/Makefile: ... here.
6303         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6304         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6305         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6306         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6307         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6308         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6309         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6310         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6311         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6312         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6313         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6314         * nptl/sysdeps/i386/tls.h: Moved ...
6315         * sysdeps/i386/nptl/tls.h: ... here.
6317         * sysdeps/sh/Makefile [$(subdir) = csu]
6318         (gen-as-const-headers): Add tcb-offsets.sym.
6319         * nptl/sysdeps/sh/Makefile: File removed.
6320         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6321         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6322         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6323         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6324         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6325         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6326         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6327         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6328         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6329         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6330         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6331         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6332         * nptl/sysdeps/sh/tls.h: Moved ...
6333         * sysdeps/sh/nptl/tls.h: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6335         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6337         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6338         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6339         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6340         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6341         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6342         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6343         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6345         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6346         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6347         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6348         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6349         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6350         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6351         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6352         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6353         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6355         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6356         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6357         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6359         Moved ...
6360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6367         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6368         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6369         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6370         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6371         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6372         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6373         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6374         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6375         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6376         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6377         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6378         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6379         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6381         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6383 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6385         * posix/spawn_faction_addopen.c: Include string.h.
6387 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6389         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6390         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6391         * nptl/sysdeps/x86_64/Makefile: Moved ...
6392         * sysdeps/x86_64/nptl/Makefile: ... here.
6393         * nptl/sysdeps/x86_64/configure: Moved ...
6394         * sysdeps/x86_64/nptl/configure: ... here.
6395         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6396         * sysdeps/x86_64/nptl/configure.ac: ... here.
6397         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6398         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6399         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6400         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6401         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6402         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6403         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6404         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6405         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6406         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6407         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6408         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6409         * nptl/sysdeps/x86_64/tls.h: Moved ...
6410         * sysdeps/x86_64/nptl/tls.h: ... here.
6411         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6412         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6413         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6414         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6416         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6418 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6422 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6424         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6425         type.
6426         [POSIX] (off_t): Likewise.
6427         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6428         [POSIX] (S_ISBLK): Require macro.
6429         [POSIX] (S_ISCHR): Likewise.
6430         [POSIX] (S_ISDIR): Likewise.
6431         [POSIX] (S_ISFIFO): Likewise.
6432         [POSIX] (S_ISREG): Likewise.
6433         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6434         optional-macro.
6435         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6436         type.
6437         [POSIX] (time_t): Likewise.
6438         [POSIX] (timer_t): Likewise.
6440 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6442         [BZ #17048]
6443         * posix/spawn_int.h (struct __spawn_action): Make the path string
6444         non-const to support deallocation.
6445         * posix/spawn_faction_addopen.c
6446         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6447         * posix/spawn_faction_destroy.c
6448         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6449         path in all spawn_do_open actions.
6450         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6451         posix_spawn_file_actions_addopen.
6453 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6455         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6456         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6457         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6458         conditional code always true.
6459         (__libc_vfork): New alias.
6461 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6463         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6464         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6466         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6468         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6469         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6471         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6472         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6474         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6475         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6477 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6479         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6480         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6481         multiarch strcmp for PPC64.
6482         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6483         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6485         multiarch optimizations.
6486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6487         (__libc_ifunc_impl_list): Likewise.
6489 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6491         * benchtests/scripts/validate_benchout.py: New script.
6492         * benchtests/Makefile (bench-func): Call it.
6493         * benchtests/scripts/benchout.schema.json: New file.
6495 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6497         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6498         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6499         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6500         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6501         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6502         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6503         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6504         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6505         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6506         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6507         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6508         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6509         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6510         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6511         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6512         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6514         Moved ...
6515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6516         ... here.
6517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6518         Moved ...
6519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6521         Moved ...
6522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6523         ... here.
6524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6525         Moved ...
6526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6527         ... here.
6528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6529         Moved ...
6530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6532         Moved ...
6533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6534         ... here.
6535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6536         Moved ...
6537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6538         ... here.
6539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6540         Moved ...
6541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6543         Moved ...
6544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6545         ... here.
6546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6547         Moved ...
6548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6549         ... here.
6550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6551         Moved ...
6552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6553         ... here.
6554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6555         Moved ...
6556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6558         Moved ...
6559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6560         ... here.
6561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6562         Moved ...
6563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6564         ... here.
6565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6566         Moved ...
6567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6568         ... here.
6569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6570         Moved ...
6571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6573         Moved ...
6574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6575         ... here.
6576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6577         Moved ...
6578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6579         ... here.
6580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6581         Moved ...
6582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6584         Moved ...
6585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6586         ... here.
6587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6588         Moved ...
6589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6591         Moved ...
6592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6594         Moved ...
6595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6596         ... here.
6597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6598         Moved ...
6599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6600         ... here.
6601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6602         Moved ...
6603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6604         ... here.
6605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6606         Moved ...
6607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6609         Moved ...
6610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6611         ... here.
6612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6613         Moved ...
6614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6615         ... here.
6616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6617         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6619         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6621         Moved ...
6622         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6623         ... here.
6624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6625         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6627         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6629         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6631         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6633         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6635         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6637         Moved ...
6638         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6640         Moved ...
6641         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6643         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6645         Moved ...
6646         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6648         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6649         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6650         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6651         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6652         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6654 2014-06-10  Wilco  <wdijkstr@arm.com>
6656         * math/test-fenv-return.c: New file.
6657         * math/Makefile: Add new test test-fenv-return.
6659 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6661         [BZ #17042]
6662         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6663         when x - 1 is zero.
6664         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6665         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6666         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6667         0.0L for an argument of 1.0L.
6668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6669         Likewise.
6670         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6671         value when x - 1 is zero.
6672         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6673         * sysdeps/i386/fpu/libm-test-ulps: Update.
6674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6676 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6678         [BZ #15119]
6679         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6681 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6683         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6684         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6686 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6688         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6689         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6691         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6692         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6694         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6695         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6697         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6698         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6700         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6701         if not already defined.
6702         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6703         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6704         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6705         (TLS_INIT_TP): Use it.
6706         (TLS_DEFINE_INIT_TP): New macro.
6707         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6709 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6711         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6712         constant.
6713         [POSIX] (IXANY): Likewise.
6714         [POSIX] (OLCUC): Likewise.
6715         [POSIX || POSIX2008] (CBAUD): Do not allow.
6716         [POSIX || POSIX2008] (DEFECHO): Likewise.
6717         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6718         [POSIX || POSIX2008] (ECHOKE): Likewise.
6719         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6720         [POSIX || POSIX2008] (EXTA): Likewise.
6721         [POSIX || POSIX2008] (EXTB): Likewise.
6722         [POSIX || POSIX2008] (FLUSHO): Likewise.
6723         [POSIX || POSIX2008] (LOBLK): Likewise.
6724         [POSIX || POSIX2008] (PENDIN): Likewise.
6725         [POSIX || POSIX2008] (SWTCH): Likewise.
6726         [POSIX || POSIX2008] (VDISCARD): Likewise.
6727         [POSIX || POSIX2008] (VDSUSP): Likewise.
6728         [POSIX || POSIX2008] (VLNEXT): Likewise.
6729         [POSIX || POSIX2008] (VREPRINT): Likewise.
6730         [POSIX || POSIX2008] (VSTATUS): Likewise.
6731         [POSIX || POSIX2008] (VWERASE): Likewise.
6732         (B*): Change to B[0123456789]*.
6733         * conform/data/time.h-data [POSIX || UNIX98]
6734         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6735         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6736         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6737         [POSIX] (tm_*): Do not allow.
6739 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6741         * Makefile (install): Don't set LANGUAGE.
6742         * Makefile.in (install): Likewise.
6743         * assert/Makefile (test-assert-ENV): Remove variable.
6744         (test-assert-perr-ENV): Likewise.
6745         * elf/Makefile (neededtest4-ENV): Likewise.
6746         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6747         [$(cross-compiling) = no]: Don't set LANGUAGE.
6748         * io/ftwtest-sh (LANG): Remove variable.
6749         * libio/Makefile (tst-widetext-ENV): Likewise.
6750         * manual/install.texi (Running make install): Don't refer to
6751         environment settings for make install.
6752         * INSTALL: Regenerated.
6753         * nptl/tst-tls6.sh: Don't set LANG.
6754         * posix/globtest.sh (LANG): Remove variable.
6755         * string/Makefile (tester-ENV): Likewise.
6756         (inl-tester-ENV): Likewise.
6757         (noinl-tester-ENV): Likewise.
6758         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6759         [$(cross-compiling) = no]: Don't set LANGUAGE.
6760         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6761         without explicit environment settings.
6763 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6765         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6766         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6767         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6768         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6770 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6772         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6773         other files in the crypt directory.
6774         * crypt/crypt.c: Remove duplicate includes.
6775         * crypt/crypt-entry.c: Likewise.
6776         * crypt/crypt_util.c: Likewise.
6778 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6780         * Makeconfig (run-program-env): New variable.
6781         (run-program-prefix-before-env): Likewise.
6782         (run-program-prefix-after-env): Likewise.
6783         (run-program-prefix): Define in terms of new variables.
6784         (built-program-cmd-before-env): New variable.
6785         (built-program-cmd-after-env): Likewise.
6786         (built-program-cmd): Define in terms of new variables.
6787         (test-program-prefix-before-env): New variable.
6788         (test-program-prefix-after-env): Likewise.
6789         (test-program-prefix): Define in terms of new variables.
6790         (test-program-cmd-before-env): New variable.
6791         (test-program-cmd-after-env): Likewise.
6792         (test-program-cmd): Define in terms of new variables.
6793         * Rules (make-test-out): Use $(run-program-env).
6794         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6795         (help): Do not mention environment variables.  Mention
6796         --timeoutfactor option.
6797         (timeoutfactor): New variable.
6798         (blacklist_exports): Remove function.
6799         (exports): Remove variable.
6800         (command): Do not include ${exports}.
6801         * manual/install.texi (Configuring and compiling): Do not mention
6802         test wrappers preserving environment variables.  Mention that last
6803         assignment to a variable must take precedence.
6804         * INSTALL: Regenerated.
6805         * benchtests/Makefile (run-bench): Use $(run-program-env).
6806         * catgets/Makefile ($(objpfx)test1.cat): Use
6807         $(built-program-cmd-before-env), $(run-program-env) and
6808         $(built-program-cmd-after-env).
6809         ($(objpfx)test2.cat): Do not specify environment variables
6810         explicitly.
6811         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6812         $(run-program-env) and $(built-program-cmd-after-env).
6813         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6814         $(run-program-env) and $(test-program-cmd-after-env).
6815         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6816         explicitly.
6817         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6818         run_program_env and test_program_cmd_after_env arguments.
6819         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6820         * elf/tst-pathopt.sh: Use run_program_env argument.
6821         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6822         $(test-wrapper-env) and $(run-program-env).
6823         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6824         run_program_env arguments.
6825         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6826         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6827         $(test-program-prefix-before-env), $(run-program-env) and
6828         $(test-program-prefix-after-env).
6829         ($(objpfx)tst-gettext2.out): Likewise.
6830         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6831         run_program_env and test_program_prefix_after_env arguments.
6832         * intl/tst-gettext2.sh: Likewise.
6833         * intl/tst-gettext4.sh: Do not set environment variables
6834         explicitly.
6835         * intl/tst-gettext6.sh: Likewise.
6836         * intl/tst-translit.sh: Likewise.
6837         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6838         $(test-program-prefix-before-env), $(run-program-env) and
6839         $(test-program-prefix-after-env).
6840         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6841         run_program_env and test_program_prefix_after_env arguments.
6842         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6843         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6844         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6845         explicitly with each use of ${test_wrapper_env}.
6846         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6847         $(test-program-prefix-before-env), $(run-program-env) and
6848         $(test-program-prefix-after-env).
6849         * posix/tst-getconf.sh: Do not set environment variables
6850         explicitly.
6851         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6852         run_program_env and test_program_prefix_after_env arguments.
6853         * stdio-common/tst-printf.sh: Do not set environment variables
6854         explicitly.
6855         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6856         $(test-program-prefix-before-env), $(run-program-env) and
6857         $(test-program-prefix-after-env).
6858         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6859         run_program_env and test_program_prefix_after_env arguments.
6860         Split $test calls into $test_pre and $test.
6861         * timezone/Makefile (build-testdata): Use
6862         $(built-program-cmd-before-env), $(run-program-env) and
6863         $(built-program-cmd-after-env).
6865 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6867         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6868         strlen for non SHARED builds.
6870 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6872         * nptl/allocatestack.c (check_list): Inlined function...
6873         (__reclaim_stacks): ... here.
6875 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6877         [BZ #15698]
6878         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6879         memory overrun.
6881 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6883         * Rules (make-test-out): Include
6884         LOCPATH=$(common-objpfx)localedata in default environment.
6885         * debug/Makefile (tst-chk1-ENV): Remove variable.
6886         (tst-chk2-ENV): Likewise.
6887         (tst-chk3-ENV): Likewise.
6888         (tst-chk4-ENV): Likewise.
6889         (tst-chk5-ENV): Likewise.
6890         (tst-chk6-ENV): Likewise.
6891         (tst-lfschk1-ENV): Likewise.
6892         (tst-lfschk2-ENV): Likewise.
6893         (tst-lfschk3-ENV): Likewise.
6894         (tst-lfschk4-ENV): Likewise.
6895         (tst-lfschk5-ENV): Likewise.
6896         (tst-lfschk6-ENV): Likewise.
6897         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6898         (tst-iconv7-ENV): Likewise.
6899         * intl/Makefile (LOCPATH-ENV): Likewise.
6900         (tst-codeset-ENV): Likewise.
6901         (tst-gettext3-ENV): Likewise.
6902         (tst-gettext5-ENV): Likewise.
6903         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6904         (tst-fopenloc-ENV): Likewise.
6905         (tst-fgetws-ENV): Remove variable.
6906         (tst-ungetwc1-ENV): Likewise.
6907         (tst-ungetwc2-ENV): Likewise.
6908         (bug-ungetwc2-ENV): Likewise.
6909         (tst-swscanf-ENV): Likewise.
6910         (bug-ftell-ENV): Likewise.
6911         (tst-fgetwc-ENV): Likewise.
6912         (tst-fseek-ENV): Likewise.
6913         (tst-ftell-partial-wide-ENV): Likewise.
6914         (tst-ftell-active-handler-ENV): Likewise.
6915         (tst-ftell-append-ENV): Likewise.
6916         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6917         (tst-regexloc-ENV): Likewise.
6918         (bug-regex1-ENV): Likewise.
6919         (tst-regex-ENV): Likewise.
6920         (tst-regex2-ENV): Likewise.
6921         (bug-regex5-ENV): Likewise.
6922         (bug-regex6-ENV): Likewise.
6923         (bug-regex17-ENV): Likewise.
6924         (bug-regex18-ENV): Likewise.
6925         (bug-regex19-ENV): Likewise.
6926         (bug-regex20-ENV): Likewise.
6927         (bug-regex22-ENV): Likewise.
6928         (bug-regex23-ENV): Likewise.
6929         (bug-regex25-ENV): Likewise.
6930         (bug-regex26-ENV): Likewise.
6931         (bug-regex30-ENV): Likewise.
6932         (bug-regex32-ENV): Likewise.
6933         (bug-regex33-ENV): Likewise.
6934         (bug-regex34-ENV): Likewise.
6935         (bug-regex35-ENV): Likewise.
6936         (tst-rxspencer-ENV): Likewise.
6937         (tst-rxspencer-no-utf8-ENV): Likewise.
6938         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6939         (tst-sscanf-ENV): Likewise.
6940         (tst-swprintf-ENV): Likewise.
6941         (tst-swscanf-ENV): Likewise.
6942         (test-vfprintf-ENV): Likewise.
6943         (scanf13-ENV): Likewise.
6944         (bug14-ENV): Likewise.
6945         (tst-grouping-ENV): Likewise.
6946         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6947         (tst-strtod3-ENV): Likewise.
6948         (tst-strtod4-ENV): Likewise.
6949         (tst-strtod5-ENV): Likewise.
6950         (testmb2-ENV): Likewise./
6951         * string/Makefile (tst-strxfrm-ENV): Likewise.
6952         (tst-strxfrm2-ENV): Likewise.
6953         (bug-strcoll1-ENV): Likewise.
6954         (test-strcasecmp-ENV): Likewise.
6955         (test-strncasecmp-ENV): Likewise.
6956         * time/Makefile (tst-strptime-ENV): Likewise.
6957         (tst-ftime_l-ENV): Likewise.
6958         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6959         (tst-mbrtowc-ENV): Likewise.
6960         (tst-wcrtomb-ENV): Likewise.
6961         (tst-mbrtowc2-ENV): Likewise.
6962         (tst-c16c32-1-ENV): Likewise.
6963         (tst-mbsnrtowcs-ENV): Likewise.
6965 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6967         * manual/resource.texi (How to get information about the memory
6968         subsystem?): Fix typo.
6969         Reported by Peon de la Parra Ivan <peon@keba.com>
6971 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6973         [BZ #16882]
6974         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6975         (pthread_spin_lock): Branch out of spin loop to proper location.
6976         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6977         (pthread_spin_lock): Likewise.
6979         * nptl/tst-spin4.c: New test.
6980         * nptl/Makefile (tests): Add tst-spin4.
6982 2014-06-03  Andreas Schwab  <schwab@suse.de>
6984         [BZ #15946]
6985         * resolv/res_send.c (send_dg): Reload file descriptor after
6986         calling reopen.
6988 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6990         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6992 2014-06-03  Richard Henderson  <rth@redhat.com>
6994         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6995         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6996         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6997         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6998         in the SAVE_PID block.
6999         (__libc_vfork): New alias.
7000         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7002         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7003         child in registers, not on the stack.  Remove RESET_PID conditionals.
7004         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7006 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7008         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7010 2014-06-03  Wilco  <wdijkstr@arm.com>
7012         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7013         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7014         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7015         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7016         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7017         Likewise.
7019 2014-06-03  Wilco  <wdijkstr@arm.com>
7021         * sysdeps/aarch64/fpu/math_private.h
7022         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7023         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7024         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7025         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7026         Fix declarations.
7028 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7030         * crypt/crypt-private.h: Include ufc-crypt.h.
7031         (__b64_from_24bit): Declare extern.
7032         * crypt/crypt_util.c(__b64_from_24bit): New function.
7033         (b64t): New static const variable.
7034         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7035         (b64t): Remove variable.
7036         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7037         * crypt/sha256-crypt.c: Include crypt-private.h.
7038         (b64t): Remove variable.
7039         (__sha256_crypt_r): Remove b64_from_24bit and replace
7040         with __b64_from_24bit.
7041         * crypt/sha512-crypt.c: Likewise.
7043 2014-06-02  Roland McGrath  <roland@hack.frob.com>
7045         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7046         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7047         Label the code __libc_vfork rather than __vfork.
7048         [!NOT_IN_libc] (vfork): Define as weak alias.
7049         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7050         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7051         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7053 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7055         * malloc/malloc.c (malloc_info): Fix format specifier for
7056         n_mmaps.
7058 2014-06-02  Wilco  <wdijkstr@arm.com>
7060         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7061         FPCR write.
7063 2014-06-02  Wilco  <wdijkstr@arm.com>
7065         [BZ #17009]
7066         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7067         Rewrite to reduce FPCR/FPSR accesses.
7069 2014-06-01  David S. Miller  <davem@davemloft.net>
7071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7073 2014-05-31  David S. Miller  <davem@davemloft.net>
7075         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7076         to occur in round to nearest mode when |x| >= 2.0
7078 2014-05-30  Richard Henderson  <rth@twiddle.net>
7080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7081         (PSEUDO_RET_NOERRNO): Remove.
7082         (ret): Don't redefine.
7083         (ret_NOERRNO): Define in terms of ret.
7084         (ret_ERRVAL): Likewise.
7086         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7087         use of PSEUDO_RET; perform the error check directly.
7089 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
7091         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7092         with __int128_t.
7094 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7096         * malloc/malloc (malloc_info): Fix formatting.
7098 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7099             Roland McGrath  <roland@hack.frob.com>
7101         * malloc/malloc (malloc_info): Also print mmapped statistics.
7103 2014-05-30  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7106         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7108 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
7110         * malloc/malloc.c (malloc_info): Inline mi_arena.
7112 2014-05-29  Richard Henderson  <rth@twiddle.net>
7114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7115         Remove comma before expanding ASM_ARGS_##nr.
7116         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7117         Make _x0 a strict output; make _x8 a strict input; adjust expansion
7118         of ASM_ARGS_##nr.
7119         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7120         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7121         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7122         (ASM_ARGS_1): Add leading comma.
7124         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7125         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7126         to __errno_location.
7127         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7128         Remove the expected plt for __errno_location.
7130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7131         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7132         call to __read_tp.
7134         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7135         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
7136         it and break it down.
7137         (DOCARGS_0, DOCARGS_1): Do nothing.
7138         (DOCARGS_2): Update to store into the new stack frame.
7139         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7140         (UNDOCARGS_1): Update to restore from the new stack frame.
7141         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7142         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7144         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7145         (SINGLE_THREAD_P): New parameter for result regno.
7146         (PSEUDO): Update to match; use cbz instead of beq.
7148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7149         Use ENTRY to define the _nocancel entry point.  Share the syscall
7150         and syscall error check paths with the cancel path.
7151         (PSEUDO_END): New.
7153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7154         whitespace; tabs before and after asm mnemonics.
7156 2014-05-29  Eric Wong  <normalperson@yhbt.net>
7158         [BZ #15132]
7159         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7160         Call fstat64 or stat64 internally, depending on arguments passed.
7161         Replace stat buffer argument with file descriptor argument.
7162         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7163         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7164         Pass fd to __internal_statvfs instead of calling fstat64.
7165         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7166         Pass fd to __internal_statvfs64 instead of calling fstat64.
7167         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7168         Pass -1 to __internal_statvfs instead of calling stat64.
7169         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7170         Pass -1 to __internal_statvfs64 instead of calling stat64.
7172 2014-05-28  Roland McGrath  <roland@hack.frob.com>
7174         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7175         that was previously under [RESET_PID].
7176         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7178         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7179         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7181 2014-05-27  Roland McGrath  <roland@hack.frob.com>
7183         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7185         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7186         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7188 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
7190         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7192 2014-05-27  Andreas Schwab  <schwab@suse.de>
7194         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7195         TLS_INIT_TP macro.
7196         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7197         * elf/rtld.c (init_tls, dl_main): Likewise.
7198         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7199         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7200         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7201         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7202         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7203         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7204         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7205         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7206         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7207         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7208         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7209         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7210         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7211         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7212         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7213         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7214         * sysdeps/generic/tls.h: Update description.
7216 2014-05-27  Will Newton  <will.newton@linaro.org>
7218         [BZ #16990]
7219         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7220         and restore r2 rather than just restoring.
7222 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7224         [BZ #16724]
7225         * libio/tst-ftell-append.c: New test case.
7226         * libio/Makefile (tests): Add test case.
7227         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7228         append mode.
7229         * libio/wfileops.c (do_ftell_wide): Likewise.
7231 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7235         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7236         ...
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7239         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7240         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7242         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7243         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7244         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7246         Moved ...
7247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7249         Moved ...
7250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7251         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7252         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7253         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7254         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7255         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7256         ...
7257         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7259         Moved ...
7260         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7261         here.
7262         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7263         ...
7264         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7265         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7266         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7268         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7269         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7270         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7271         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7274         merge into ...
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7277         ...
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7280         ...
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7283         Moved ...
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7285         here.
7286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7287         Moved ...
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7290         Moved ...
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7294         conditional [RESET_PID].
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7297         removed.
7298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7299         removed.
7301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7302         <tcb-offsets.h>.
7303         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7304         (__libc_vfork): New strong alias.
7305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7306         removed.
7307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7308         Removed.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7311         <tcb-offsets.h>.
7312         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7313         (__libc_vfork): New strong alias.
7314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7315         removed.
7316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7317         removed.
7319 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7321         * malloc/malloc.c (mi_arena): New function.
7322         (malloc_info): Remove nested function mi_arena. Call non-nosted
7323         function mi_arena.
7325 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7327         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7328         by insrwi.
7329         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7330         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7331         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7332         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7333         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7334         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7335         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7337 2014-05-26  Andreas Schwab  <schwab@suse.de>
7339         [BZ #16984]
7340         * locale/programs/repertoire.c (repertoire_read): Add slash
7341         between I18NPATH element and file name.
7342         * locale/programs/locfile.c (locfile_read): Likewise.
7344 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7346         * nptl/pthread_mutexattr_settype.c
7347         (__pthread_mutexattr_settype):
7348         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7350 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7352         * nptl/tst-mutex5 (do_test):
7353         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7355 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7357         * benchtests/README: Document 'init' directive.
7358         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7359         BENCH_INIT.
7360         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7361         (parse_file): Recognize 'init' directive.
7363 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7365         [BZ #16796]
7366         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7367         alignment of struct pthread.
7369 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7371         [BZ #16878]
7372         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7373         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7374         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7375         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7377 2014-05-25  Richard Henderson  <rth@twiddle.net>
7379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7380         (SINGLE_THREAD_P_PIC): Remove.
7381         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7382         (SINGLE_THREAD_P_PIC): Remove.
7384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7385         branch to syscall error ...
7386         (PSEUDO): ... here.
7387         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7388         from __local_syscall_error to .Lsyscall_error.
7389         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7390         (SYSCALL_ERROR): Update label name.
7392         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7393         Do not use DOARGS/UNDOARGS.
7394         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7395         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7396         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7397         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7398         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7401         block comment.
7403         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7404         define if !NOT_IN_libc.
7405         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7406         define with non-default symbol versions.
7408 2014-05-23  Richard Henderson  <rth@twiddle.net>
7410         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7411         (vfork, __vfork): Define via compat_symbol.
7413         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7414         [!HAVE_IFUNC] (vfork_compat): Remove.
7415         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7417 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7419         [BZ #16978]
7420         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7421         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7422         variable.
7424 2014-05-23  Richard Henderson  <rth@twiddle.net>
7426         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7427         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7428         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7429         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7431         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7432         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7433         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7434         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7435         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7436         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7437         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7438         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7439         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7440         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7441         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7442         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7443         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7444         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7445         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7446         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7447         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7448         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7449         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7450         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7451         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7452         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7453         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7454         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7455         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7456         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7457         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7458         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7459         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7460         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7461         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7462         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7463         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7464         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7465         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7466         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7467         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7468         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7469         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7470         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7471         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7472         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7473         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7474         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7475         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7476         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7478         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7480         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7482         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7483         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7484         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7486         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7488         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7489         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7490         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7491         before exiting on error.
7492         (__libc_vfork): New strong alias.
7493         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7494         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7496         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7497         that was previously under [RESET_PID].
7498         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7500         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7502 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #16977]
7505         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7506         value when x - 1 is zero.
7507         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7508         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7509         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7510         0.0L for an argument of 1.0L.
7511         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7512         Likewise.
7513         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7514         value when x - 1 is zero.
7515         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7516         * sysdeps/i386/fpu/libm-test-ulps: Update.
7517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7519 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7521         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7522         alphasort and versionsort.
7524 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7526         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7527         macro.
7528         [copysignf]: Likewise.
7530 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7532         * crypt/md5-crypt.c: Fix formatting.
7534 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7536         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7537         (b64_from_24bit): New function.
7539 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7541         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7542         libc_hidden_builtin_def to ifunc.
7543         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7544         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7546 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7548         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7549         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7551 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7553         * nscd/Depend (linuxthreads): Remove.
7554         (nptl): Add.
7555         * resolv/Depend (linuxthreads): Remove.
7556         * rt/Depend (linuxthreads): Remove.
7558         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7559         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7560         $(common-objpfx)elf/.
7561         (link-libc-before-gnulib): Likewise.
7562         (elfobjdir): Remove variable.
7563         * Makefile (install): Use $(elf-objpfx) instead of
7564         $(common-objpfx)elf/.
7565         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7566         $(elfobjdir)/.
7567         (link-libc-deps): Likewise.
7568         ($(common-objpfx)libc.so): Likewise.
7569         ($(common-objpfx)linkobj/libc.so): Likewise.
7570         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7571         instead of $(common-objpfx)elf/.
7572         (symbolic-link-list): Likewise.
7573         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7574         [$(cross-compiling) = no]: Likewise.
7575         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7576         $(elfobjdir)/.
7577         (static-gnulib-arch): Likewise.
7578         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7579         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7580         $(common-objpfx)elf/.
7582 2014-05-21  Richard Henderson  <rth@redhat.com>
7584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7585         (SINGLE_THREAD_P): Use the correct width load.  Fold
7586         into the ldr offset.
7588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7589         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7591 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7593         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7594         (libgcc_s_resume): Use __attribute_used__.
7595         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7596         Likewise.
7598 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7600         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7601         optimization when used with float constants.
7603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7605 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7607         [BZ #16915]
7608         * locale/nl_langinfo_l.c: Make direct reference to every
7609         _nl_current_CATEGORY symbol.
7610         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7611         (tests-static): Add tst-langinfo-static.
7612         (tests-special): Add tst-langinfo-static.out.
7613         ($(objpfx)tst-langinfo.out): Redirect output.
7614         ($(objpfx)tst-langinfo-static.out): New.
7615         * localedata/tst-langinfo.sh: Send output to stdout.
7616         * localedata/tst-langinfo-static.c: New file.
7618         [BZ #16965]
7619         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7620         when the shift amount is modulo the limb size.
7622 2014-05-20  Richard Henderson  <rth@redhat.com>
7624         [BZ #16967]
7625         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7626         Change type of sa_flags from unsigned int to int.
7628         [BZ #16966]
7629         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7631         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7633 2014-05-20  Will Newton  <will.newton@linaro.org>
7635         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7636         Test the return value of the system call in the nocancel case.
7638 2014-05-20  Will Newton  <will.newton@linaro.org>
7639             Yvan Roux  <yvan.roux@linaro.org>
7641         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7642         #include of asm/ptrace.h.
7643         (PTRACE_GET_THREAD_AREA): Remove #undef.
7644         (PTRACE_GETHBPREGS): Likewise.
7645         (PTRACE_SETHBPREGS): Likewise.
7646         (struct user_regs_struct): New structure.
7647         (struct user_fpsimd_struct): New structure.
7648         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7649         #include of asm/ptrace.h and second #include of sys/user.h.
7650         (PTRACE_GET_THREAD_AREA): Remove #undef.
7651         (PTRACE_GETHBPREGS): Likewise.
7652         (PTRACE_SETHBPREGS): Likewise.
7653         (ELF_NGREG): Use new struct user_regs_struct.
7654         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7656 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7658         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7659         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7661 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7663         [BZ #16958]
7664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7665         membar to avoid block loads/stores to overlap previous stores.
7667 2014-05-17  Richard Henderson  <rth@redhat.com>
7669         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7670         Create the __##syscall_name##_nocancel entry point.
7671         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7672         Remove; let the sysdep-cancel.h code create it.
7674 2014-05-17  David S. Miller  <davem@davemloft.net>
7676         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7677         Protect with __USE_GNU.
7678         (TIOCSET_TEMPT): Likewise.
7679         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7680         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7681         these are already provided in bits/ioctl-types.h
7683 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7685         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7686         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7688         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7689         Use wait4 regardless of [__NR_waitpid].
7691 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7693         PR libgcc/60166
7694         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7695         (_FP_NANSIGN_Q): Set the quiet bit.
7697 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7699         * benchtests/Makefile
7700         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7701         not $(common-objpfx)math/libm.so.
7702         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7703         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7704         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7705         $(common-objpfx)dlfcn/libdl.so.
7706         ($(objpfx)tst-audit8): Depend on $(libm), not
7707         $(common-objpfx)math/libm.so.
7708         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7709         not $(common-objpfx)dlfcn/libdl.so.
7710         * math/Makefile
7711         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7712         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7713         [$(build-shared) = yes].
7714         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7715         $(common-objpfx)nptl/libpthread.so.
7716         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7717         $(common-objpfx)math/libm.so$(libm.so-version) or
7718         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7719         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7720         $(common-objpfx)dlfcn/libdl.so.
7721         * setjmp/Makefile (link-libm): Remove variable.
7722         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7723         * stdio-common/Makefile (link-libm): Remove variable.
7724         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7725         * stdlib/Makefile (link-libm): Remove variable.
7726         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7727         ($(objpfx)tst-strtod-round): Likewise.
7728         ($(objpfx)tst-tininess): Likewise.
7729         ($(objpfx)tst-strtod-underflow): Likewise.
7730         ($(objpfx)tst-strtod6): Likewise.
7731         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7732         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7733         $(common-objpfx)dlfcn/libdl.so.
7735 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7737         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7738         BSD terminal modes definitions.
7740 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7742         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7743         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7745         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7746         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7747         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7748         Don't do #include_next.
7749         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7750         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7751         Don't do #include_next.
7752         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7753         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7754         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7755         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7757 2014-05-16  Allan McRae  <allan@archlinux.org>
7759         * po/sv.po: Update Swedish translation from translation project.
7761         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7762         in sed expression.
7764 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7766         [BZ #16917]
7767         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7768         errno if the TIOCGPTN ioctl fails with an error different than
7769         EINVAL.
7770         * login/tst-ptsname.c: New file.
7771         * login/Makefile (tests): Add tst-ptsname.
7773         [BZ #16943]
7774         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7775         and prlimit64.
7777 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7779         [BZ #16849]
7780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7781         herrno to return EAI_AGAIN.
7783 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7785         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7786         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7787         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7788         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7789         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7790         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7791         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7792         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7794         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7795         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7796         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7797         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7798         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7799         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7800         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7801         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7802         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7803         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7804         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7806         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7808         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7809         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7810         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7811         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7812         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7814         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7816         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7818         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7820         Moved ...
7821         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7823         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7825         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7827         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7829         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7831         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7833         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7835         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7837         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7839         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7841         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7843         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7845         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7847         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7849         Moved ...
7850         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7852         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7854         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7856         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7858         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7860         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7862         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7864         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7866         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7868         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7870         Moved ...
7871         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7873         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7875         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7876         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7877         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7878         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7879         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7880         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7881         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7882         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7883         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7885         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7887         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7889         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7891         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7893         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7895         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7897         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7899         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7901         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7902         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7903         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7905         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7907         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7908         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7910         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7911         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7912         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7913         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7914         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7916         Moved ...
7917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7919         Moved ...
7920         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7922         Moved ...
7923         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7925         Moved ...
7926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7927         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7928         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7930         Moved ...
7931         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7932         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7933         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7934         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7935         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7936         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7937         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7939         Moved ...
7940         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7942         Moved ...
7943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7944         ... here.
7945         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7946         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7947         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7948         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7950         Moved ...
7951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7952         ... here.
7953         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7954         Moved ...
7955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7956         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7957         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7959         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7961         Moved ...
7962         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7964         Moved ...
7965         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7967         Moved ...
7968         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7970         Moved ...
7971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7972         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7973         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7974         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7975         Moved ...
7976         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7977         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7978         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7979         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7980         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7981         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7982         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7984         Moved ...
7985         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7987         Moved ...
7988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7989         ... here.
7990         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7991         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7992         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7993         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7995         Moved ...
7996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7997         ... here.
7998         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7999         Moved ...
8000         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8001         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8002         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8003         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8004         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8005         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8006         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8007         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8008         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8010         Moved ...
8011         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8013         Moved ...
8014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8016         Moved ...
8017         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8019         Moved ...
8020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8021         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8022         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8023         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8024         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8025         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8026         Moved ...
8027         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8029         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8031         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8033         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8034         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8035         Moved ...
8036         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8037         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8038         Moved ...
8039         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8040         ... here.
8041         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8042         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8043         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8044         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8046         Moved ...
8047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8048         ... here.
8049         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8050         Moved ...
8051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8052         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8053         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8054         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8055         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8056         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8057         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8058         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8059         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8060         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8061         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8063         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8064         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8066         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8067         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8069         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8070         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8071         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8072         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8073         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8074         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8075         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8076         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8077         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8078         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8079         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8080         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8081         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8082         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8083         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8085         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8087         Moved ...
8088         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8092         Moved ...
8093         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8095         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8097         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8099         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8101         Moved ...
8102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8104         Moved ...
8105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8111         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8112         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8113         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8114         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8115         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8116         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8117         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8118         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8119         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8120         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8121         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8123         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8124         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8125         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8126         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8127         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8129         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8130         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8131         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8132         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8133         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8134         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8135         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8136         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8137         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8138         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8141         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8143         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8144         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8145         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8146         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8147         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8148         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8149         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8150         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8151         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8152         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8153         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8154         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8155         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8156         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8158         Update #include.
8159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8160         Likewise.
8161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8162         Likewise.
8163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8164         Likewise.
8165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8166         Likewise.
8167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8168         Likewise.
8169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8170         Likewise.
8171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8172         Likewise.
8173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8174         Likewise.
8175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8176         Likewise.
8177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8189         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
8191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
8193         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8194         that was previously under [RESET_PID].
8195         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8196         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8197         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8199         * sysdeps/i386/nptl/Implies: New file.
8200         * sysdeps/x86_64/nptl/Implies: New file.
8201         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8202         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8203         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8204         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8206         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8207         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8208         (__libc_vfork): New strong alias.
8209         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8210         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8212         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8213         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8214         (__libc_vfork): New strong alias.
8215         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8216         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8218         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8219         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8220         (__libc_vfork): New strong alias.
8221         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8222         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8223         * nptl/pt-vfork.c: New file.
8224         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8225         (libpthread: GLIBC_2.20): New version set (empty).
8227 2014-05-14  Will Newton  <will.newton@linaro.org>
8229         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8230         rather than #if.
8232 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8234         [BZ #16564]
8235         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8236         arguments with exponent 65 or above.
8237         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8238         arguments 0x1p113L or above.
8239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8240         to arguments 0x1p107L or above.
8241         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8242         positive arguments with exponent 65 or above.
8243         * math/auto-libm-test-in: Add more tests of log1p.
8244         * math/auto-libm-test-out: Regenerated.
8246         [BZ #16928]
8247         * math/s_cacos.c (__cacos): Ensure zero real part of result from
8248         non-finite arguments is +0.
8249         * math/s_cacosf.c (__cacosf): Likewise.
8250         * math/s_cacosl.c (__cacosl): Likewise.
8251         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8252         * sysdeps/i386/fpu/libm-test-ulps: Update.
8253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8255         [BZ #16927]
8256         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8257         value.
8258         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8259         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8260         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8261         for explicit high bit of mantissa when testing for argument equal
8262         to 1.
8263         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8264         * sysdeps/i386/fpu/libm-test-ulps: Update.
8265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267         [BZ #16516]
8268         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8269         (__erf): Scale by 16 instead of 8 in potentially underflowing
8270         case.  Ensure exception if result actually underflows.
8271         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8272         (__erff): Scale by 16 instead of 8 in potentially underflowing
8273         case.  Ensure exception if result actually underflows.
8274         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8275         (efx8): Remove variable.
8276         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8277         case.  Ensure exception if result actually underflows.
8278         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8279         (efx8): Remove variable.
8280         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8281         case.  Ensure exception if result actually underflows.
8282         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8283         (efx8): Remove variable.
8284         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8285         case.  Ensure exception if result actually underflows.
8286         * math/auto-libm-test-in: Add more tests of erf.
8287         * math/auto-libm-test-out: Regenerated.
8289 2014-05-14  Andreas Schwab  <schwab@suse.de>
8291         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8292         Remove code conditionalized on USE___THREAD.
8294         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8295         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8296         not definedness.
8298 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8301         Define unconditionally.
8302         (__ASSUME_O_CLOEXEC): Likewise.
8303         (__ASSUME_SOCK_CLOEXEC): Likewise.
8304         (__ASSUME_IN_NONBLOCK): Likewise.
8305         (__ASSUME_PIPE2): Likewise.
8306         (__ASSUME_EVENTFD2): Likewise.
8307         (__ASSUME_SIGNALFD4): Likewise.
8308         (__ASSUME_DUP3): Likewise.
8309         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8310         (__ASSUME_DUP3): Do not define.
8311         (__ASSUME_EVENTFD2): Likewise.
8312         (__ASSUME_IN_NONBLOCK): Likewise.
8313         (__ASSUME_O_CLOEXEC): Likewise.
8314         (__ASSUME_PIPE2): Likewise.
8315         (__ASSUME_SIGNALFD4): Likewise.
8316         (__ASSUME_SOCK_CLOEXEC): Likewise.
8317         (__ASSUME_UTIMES): Undefine.
8318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8319         (__ASSUME_UTIMES): Do not define.
8320         (__ASSUME_O_CLOEXEC): Likewise.
8321         (__ASSUME_SOCK_CLOEXEC): Likewise.
8322         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8323         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8324         0x020621].
8325         (__ASSUME_PIPE2): Likewise.
8326         (__ASSUME_EVENTFD2): Likewise.
8327         (__ASSUME_SIGNALFD4): Likewise.
8328         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8329         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8330         Do not define.
8331         (__ASSUME_EVENTFD2): Likewise.
8332         (__ASSUME_SIGNALFD4): Likewise.
8333         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8334         (__ASSUME_32BITUIDS): Likewise.
8335         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8336         (__ASSUME_IPC64): Likewise.
8337         (__ASSUME_ST_INO_64_BIT): Likewise.
8338         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8339         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8340         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8341         (__ASSUME_UTIMES): Do not define.
8342         (__ASSUME_PSELECT): Likewise.
8343         (__ASSUME_PPOLL): Likewise.
8344         (__ASSUME_O_CLOEXEC): Likewise.
8345         (__ASSUME_SOCK_CLOEXEC): Likewise.
8346         (__ASSUME_IN_NONBLOCK): Likewise.
8347         (__ASSUME_PIPE2): Likewise.
8348         (__ASSUME_EVENTFD2): Likewise.
8349         (__ASSUME_SIGNALFD4): Likewise.
8350         (__ASSUME_DUP3): Likewise.
8351         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8352         (__ASSUME_UTIMES): Likewise.
8353         (__ASSUME_O_CLOEXEC): Likewise.
8354         (__ASSUME_SOCK_CLOEXEC): Likewise.
8355         (__ASSUME_IN_NONBLOCK): Likewise.
8356         (__ASSUME_PIPE2): Likewise.
8357         (__ASSUME_EVENTFD2): Likewise.
8358         (__ASSUME_SIGNALFD4): Likewise.
8359         (__ASSUME_DUP3): Likewise.
8360         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8361         (__ASSUME_UTIMES): Likewise.
8362         (__ASSUME_O_CLOEXEC): Likewise.
8363         (__ASSUME_SOCK_CLOEXEC): Likewise.
8364         (__ASSUME_IN_NONBLOCK): Likewise.
8365         (__ASSUME_PIPE2): Likewise.
8366         (__ASSUME_EVENTFD2): Likewise.
8367         (__ASSUME_SIGNALFD4): Likewise.
8368         (__ASSUME_DUP3): Likewise.
8369         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8370         Likewise.
8371         (__ASSUME_UTIMES): Likewise.
8372         (__ASSUME_EVENTFD2): Likewise.
8373         (__ASSUME_SIGNALFD4): Likewise.
8374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8375         (__ASSUME_O_CLOEXEC): Likewise.
8376         (__ASSUME_SOCK_CLOEXEC): Likewise.
8377         (__ASSUME_IN_NONBLOCK): Likewise.
8378         (__ASSUME_PIPE2): Likewise.
8379         (__ASSUME_EVENTFD2): Likewise.
8380         (__ASSUME_SIGNALFD4): Likewise.
8381         (__ASSUME_DUP3): Likewise.
8382         (__ASSUME_UTIMES): Undefine.
8384         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8385         feclearexcept.  Remove symbol versioning code.
8386         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8387         symbol versioning code.
8388         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8389         symbol versioning code.
8390         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8391         feupdateenv.  Remove symbol versioning code.
8392         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8393         fegetexceptflag.  Remove symbol versioning code.
8394         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8395         fesetexceptflag.  Remove symbol versioning code.
8396         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8397         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8398         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8399         (__posix_fadvise64_l32): Remove prototype.
8400         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8401         code.
8403 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8405         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8406         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8407         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8408         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8410 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8412         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8413         current working directory
8415 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8417         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8418         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8419         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8420         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8421         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8422         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8423         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8424         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8425         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8426         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8427         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8428         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8429         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8430         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8431         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8432         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8433         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8434         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8435         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8436         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8437         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8438         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8439         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8440         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8441         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8442         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8443         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8444         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8445         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8446         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8447         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8448         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8449         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8450         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8451         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8452         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8453         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8455         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8456         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8457         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8458         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8460         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8461         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8463         * sysdeps/unix/sysv/linux/arm/Makefile
8464         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8465         Add rt-aeabi_unwind_cpp_pr1.
8466         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8467         Add nptl-aeabi_unwind_cpp_pr1.
8468         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8469         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8470         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8471         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8472         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8473         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8475         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8476         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8477         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8478         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8480         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8481         Deconditionalize the code that was previously under [RESET_PID].
8482         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8484         * sysdeps/generic/exit-thread.h: New file.
8485         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8486         * include/unistd.h (__exit_thread): Remove declaration.
8487         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8488         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8489         * csu/libc-start.c: Include <exit-thread.h>.
8490         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8491         * nptl/pthread_create.c: Include <exit-thread.h>.
8492         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8493         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8494         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8495         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8496         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8497         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8498         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8499         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8500         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8501         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8502         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8503         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8504         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8505         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8506         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8507         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8508         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8510 2014-05-13  Andreas Schwab  <schwab@suse.de>
8512         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8514 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8516         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8517         (__ASSUME_UTIMES): Do not condition on kernel version.
8518         (__ASSUME_PSELECT): Define unconditionally.
8519         (__ASSUME_PPOLL): Likewise.
8520         (__ASSUME_ATFCTS): Likewise.
8521         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8522         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8523         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8524         (__ASSUME_UTIMENSAT): Define unconditionally.
8525         (__ASSUME_PRIVATE_FUTEX): Likewise.
8526         (__ASSUME_FALLOCATE): Likewise.
8527         (__ASSUME_O_CLOEXEC): Likewise.
8528         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8529         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8530         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8531         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8532         (__ASSUME_IN_NONBLOCK): Likewise.
8533         (__ASSUME_PIPE2): Likewise.
8534         (__ASSUME_EVENTFD2): Likewise.
8535         (__ASSUME_SIGNALFD4): Likewise.
8536         (__ASSUME_DUP3): Likewise.
8537         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8538         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8539         (__ASSUME_AT_RANDOM): Likewise.
8540         (__ASSUME_PREADV): Likewise.
8541         (__ASSUME_PWRITEV): Likewise.
8542         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8543         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8544         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8546         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8547         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8548         (__ASSUME_O_CLOEXEC): Define unconditionally.
8549         (__ASSUME_PSELECT): Do not undefine conditionally.
8550         (__ASSUME_PPOLL): Likewise.
8551         (__ASSUME_ATFCTS): Likewise.
8552         (__ASSUME_SET_ROBUST_LIST): Likewise.
8553         (__ASSUME_UTIMENSAT): Likewise.
8554         (__ASSUME_FDATASYNC): Define unconditionally.
8555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8556         (__ASSUME_SIGFRAME_V2): Likewise.
8557         )__ASSUME_EVENTFD2): Likewise.
8558         (__ASSUME_SIGNALFD4): Likewise.
8559         (__ASSUME_PSELECT): Do not undefine conditionally.
8560         (__ASSUME_PPOLL): Likewise.
8561         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8562         (__ASSUME_PSELECT): Define unconditionally.
8563         (__ASSUME_PPOLL): Likewise.
8564         (__ASSUME_O_CLOEXEC): Likewise.
8565         (__ASSUME_SOCK_CLOEXEC): Likewise.
8566         (__ASSUME_IN_NONBLOCK): Likewise.
8567         (__ASSUME_PIPE2): Likewise.
8568         (__ASSUME_EVENTFD2): Likewise.
8569         (__ASSUME_SIGNALFD4): Likewise.
8570         (__ASSUME_DUP3): Likewise.
8571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8572         (__ASSUME_O_CLOEXEC): Likewise.
8573         (__ASSUME_SOCK_CLOEXEC): Likewise.
8574         (__ASSUME_IN_NONBLOCK): Likewise.
8575         (__ASSUME_PIPE2): Likewise.
8576         (__ASSUME_EVENTFD2): Likewise.
8577         (__ASSUME_SIGNALFD4): Likewise.
8578         (__ASSUME_DUP3): Likewise.
8579         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8580         (__ASSUME_EVENTFD2): Likewise.
8581         (__ASSUME_SIGNALFD4): Likewise.
8582         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8584 2014-05-12  Andreas Schwab  <schwab@suse.de>
8586         [BZ #16932]
8587         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8588         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8589         than maximum RPC packet size.
8590         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8591         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8592         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8593         (_nss_nis_getservbyport_r): Likewise.
8595 2014-05-12  Will Newton  <will.newton@linaro.org>
8597         * malloc/Makefile (tests): Add tst-mallopt.
8598         * malloc/tst-mallopt.c: New file.
8600 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8602         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8603         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8605 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8607         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8608         (tst-tlsmod6.so): Likewise.
8610 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8612         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8614 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #16064]
8617         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8618         and <dl-procinfo.h>.
8619         (__fegetenv): Save SSE state in envp->__eip if supported.
8620         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8621         envp->__eip if supported.
8622         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8623         and <dl-procinfo.h>.
8624         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8625         __data_offset and __data_selector in environment to 0.  Set SSE
8626         state if supported.
8627         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8628         test-fenv-sse.
8629         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8630         -mfpmath=sse.
8631         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8633 2014-05-09  Will Newton  <will.newton@linaro.org>
8635         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8636         and libc_relro_required for ARM.
8637         * sysdeps/arm/preconfigure: Regenerate.
8639 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8640             Stefan Liebler  <stli@linux.vnet.ibm.com>
8642         * config.make.in (enable-lock-elision): New Makefile variable.
8643         * configure.ac: Likewise.
8644         * configure: Regenerate.
8645         * sysdeps/s390/configure.ac:
8646         Add check for gcc transactions support.
8647         * sysdeps/s390/configure: Regenerate.
8648         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8649         Build elision files if enabled.
8650         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8651         Add lock elision support for s390.
8652         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8653         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8654         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8655         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8656         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8657         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8658         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8659         Likewise.
8660         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8661         Likewise.
8662         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8663         Likewise.
8664         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8665         Likewise.
8666         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8667         (__lll_timedlock_elision, __lll_lock_elision)
8668         (__lll_unlock_elision, __lll_trylock_elision)
8669         (lll_timedlock_elision, lll_lock_elision)
8670         (lll_unlock_elision, lll_trylock_elision): Add.
8671         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8672         (pthread_mutex_t): Add lock elision support for s390.
8674 2014-05-14  Wilco  <wdijkstr@arm.com>
8676         * sysdeps/arm/fclrexcpt.c: Cleanup.
8677         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8678         * sysdeps/arm/feenablxcpt.c: Cleanup.
8679         * sysdeps/arm/fegetenv.c: Cleanup.
8680         * sysdeps/arm/fegetexcept.c: Cleanup.
8681         * sysdeps/arm/fegetround.c: Cleanup.
8682         * sysdeps/arm/feholdexcpt.c: Cleanup.
8683         * sysdeps/arm/fesetenv.c: Cleanup.
8684         * sysdeps/arm/fesetround.c: Cleanup.
8685         * sysdeps/arm/feupdateenv.c: Cleanup.
8686         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8687         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8688         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8689         * sysdeps/arm/ftestexcept.c: Cleanup.
8690         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8691         * sysdeps/arm/setfpucw.c: Cleanup.
8693 2014-05-09  Will Newton  <will.newton@linaro.org>
8695         * sysdeps/arm/armv7/strcmp.S: New file.
8696         * NEWS: Mention addition of ARMv7 optimized strcmp.
8698 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8700         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8701         look for %.ac rather than %.in.
8703         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8704         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8705         * sysdeps/mach/hurd/configure: Regenerated.
8706         * sysdeps/unix/sysv/linux/configure: Regenerated.
8708         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8710 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8712         [BZ# 16922]
8713         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8714         (LONG_SUB): Ditto.
8715         (PTR_SUB): Ditto.
8717 2014-05-07  Andreas Schwab  <schwab@suse.de>
8719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8720         when skipping over non-matching result from nscd.
8722 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8724         [BZ #16876]
8725         * nptl/sockperf.c (client): Check socket return value.
8727         [BZ #16877]
8728         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8729         nscd security class.
8731 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8733         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8734         * sysdeps/arm/unwind.h: ... here.
8736 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8738         [BZ# 16916]
8739         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8740         Define.
8742 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8744         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8745         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8746         multiarch strncpy for PPC64.
8747         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8748         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8750         multiarch optimizations.
8751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8752         (__libc_ifunc_impl_list): Likewise.
8753         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8754         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8755         multiarch stpncpy for PPC64.
8756         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8757         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8759 2014-05-06  Andreas Schwab  <schwab@suse.de>
8761         [BZ #16912]
8762         * gmon/mcount.c (_MCOUNT_DECL): Use
8763         atomic_compare_and_exchange_bool_acq instead of
8764         catomic_compare_and_exchange_bool_acq.
8766 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8768         * elf/Makefile (others, install-bin): Remove pldd.
8769         (pldd-modules): Variable removed.
8770         ($(objpfx)pldd): Target removed.
8771         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8772         (others, install-bin): Append pldd here.
8773         ($(objpfx)pldd): New target.
8775         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8776         to 0, so the first #if test emitted later doesn't see it undefined.
8777         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8778         * sysdeps/gnu/errlist.c: Regenerated.
8780 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8782         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8783         [libc_hidden_builtin_def]: Define to empty value.
8784         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8785         [libc_hidden_builtin_def]: Likewise.
8786         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8787         [libc_hidden_builtin_def]: Likewise.
8788         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8789         [libc_hidden_builtin_def]: Likewise.
8790         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8791         __redirect_memcpy and define ifunc as default hidden symbol.
8792         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8793         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8795 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8797         * locale/iso-4217.def: Reintroduce XDR currency.
8799 2014-05-04  Allan McRae  <allan@archlinux.org>
8801         * po/eo.po: Update Esperanto translation from translation project.
8803 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8805         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8806         and FEATURE_INDEX_MAX to 1.
8807         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8809 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8811         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8812         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8813         * iconvdata/big5.c (ONE_DIRECTION): Define.
8814         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8815         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8816         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8817         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8818         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8819         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8820         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8821         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8822         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8823         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8824         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8825         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8826         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8827         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8828         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8829         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8830         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8831         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8832         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8833         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8834         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8835         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8836         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8837         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8838         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8839         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8840         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8841         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8842         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8843         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8844         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8845         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8846         * iconvdata/johab.c (ONE_DIRECTION): Define.
8847         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8848         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8849         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8850         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8851         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8852         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8853         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8854         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8855         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8856         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8858 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8860         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8861         (_IO_JUMPS_OFFSET): Define to 0.
8863         * nptl/sysdeps/pthread/bits/libc-lock.h
8864         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8865         (__libc_lock_define_initialized_recursive): Always define using
8866         initializer.  Modern compilers treat uninitialized (implicit zero) and
8867         explicit zero initializers the same (i.e. put the datum in bss).
8869 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8871         * nscd/nscd-client.h: Include <string.h>.
8873 2014-05-01  David S. Miller  <davem@davemloft.net>
8875         [BZ #16885]
8876         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8877         multiple zero bytes exist at the end of a string.
8878         Reported by Aurelien Jarno <aurelien@aurel32.net>
8880         * string/test-strcmp.c (check): Add explicit test for situations where
8881         there are multiple zero bytes after the first.
8883 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8885         [BZ #16890]
8886         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8887         when compiling wprintf.
8888         * stdio-common/tstdiomisc.c (t3): New function.
8889         (main): Call it.
8891 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8893         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8894         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8895         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8896         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8898 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8900         * stdlib/longlong.h: Updated from GCC.
8902 2014-05-01  Will Newton  <will.newton@linaro.org>
8903             Bernard Ogden  <bernie.ogden@linaro.org>
8905         * NEWS: Update fixed bug list.
8907         [BZ #15119]
8908         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8910 2014-04-30  David S. Miller  <davem@davemloft.net>
8912         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8913         (libc_feholdexcept_setround_sparc_ctx): New function.
8914         (libc_fesetenv_sparc_ctx): Likewise.
8915         (libc_feupdateenv_sparc_ctx): Likewise.
8916         (libc_feholdsetround_sparc_ctx): Likewise.
8917         (libc_feholdexcept_setround_ctx): Define.
8918         (libc_feholdexcept_setroundf_ctx): Likewise.
8919         (libc_feholdexcept_setroundl_ctx): Likewise.
8920         (libc_fesetenv_ctx): Likewise.
8921         (libc_fesetenvf_ctx): Likewise.
8922         (libc_fesetenvl_ctx): Likewise.
8923         (libc_feupdateenv_ctx): Likewise.
8924         (libc_feupdateenvf_ctx): Likewise.
8925         (libc_feupdateenvl_ctx): Likewise.
8926         (libc_feresetround_ctx): Likewise.
8927         (libc_feresetroundf_ctx): Likewise.
8928         (libc_feresetroundl_ctx): Likewise.
8929         (libc_feholdsetround_ctx): Likewise.
8930         (libc_feholdsetroundf_ctx): Likewise.
8931         (libc_feholdsetroundl_ctx): Likewise.
8933         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8934         with __USE_GNU instead of XOPEN cpp guards.
8936         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8937         0.
8939         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8940         with XOPEN cpp guards.
8942 2014-04-30  Julian Brown  <julian@codesourcery.com>
8944         [BZ #16888]
8945         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8946         handling.
8948 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8950         [BZ #9894]
8951         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8952         Change to 2.6.32.
8953         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8954         * sysdeps/unix/sysv/linux/configure: Regenerated.
8955         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8956         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8957         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8958         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8959         * README: Update reference to required Linux kernel version.
8960         * manual/install.texi (Linux): Update reference to required Linux
8961         kernel headers version.
8962         * INSTALL: Regenerated.
8964         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8965         header inclusion.
8966         [POSIX] (limits.h): Likewise.
8967         [POSIX] (math.h): Likewise.
8968         [POSIX] (sys/wait.h): Likewise.
8969         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8970         function.
8971         [POSIX] (stddef.h): Do not allow header inclusion.
8973 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8975         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8977 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8979         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8980         Return immediately after lll_futex_wake.
8982 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8984         [BZ #16791]
8985         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8986         structure.
8987         (datahead_init_pos): Call datahead_init_common early.
8988         (datahead_init_neg): Likewise.
8990         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8991         datahead_init_neg): New functions.
8992         * nscd/aicache.c (addhstaiX): Use them.
8993         * nscd/grpcache.c (cache_addgr): Likewise.
8994         * nscd/hstcache.c (cache_addhst): Likewise.
8995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8996         * nscd/netgroupcache.c (do_notfound): Likewise.
8997         (addgetnetgrentX): Likewise.
8998         (addinnetgrX): Likewise.
8999         * nscd/pwdcache.c (cache_addpw): Likewise.
9000         * nscd/servicescache.c (cache_addserv): Likewise.
9002 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9003             Atsushi Onoe  <atsushi@onoe.org>
9005         [BZ #14308]
9006         [BZ #12994]
9007         [BZ #13651]
9008         * resolv/res_query.c (__libc_res_nsearch): Return if at least
9009         one response is valid.
9010         * resolv/res_send.c (send_dg): Check for validity of other
9011         response if the current response is a referral.
9013 2014-04-29  Steve Ellcey  <sellcey@mips.com>
9015         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9017 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
9019         [BZ #16823]
9020         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9021         Always divide by positive zero when computing -Inf result.
9022         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9023         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9025 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9027         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9028         FPSCR if value do not change.
9029         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9030         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9031         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9032         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9033         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9034         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9035         function.
9037 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
9039         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9040         * sysdeps/unix/sysv/linux/hppa: Move directory from
9041         ports/systeps/unix/sysv/linux/hppa.
9042         * README: Update listing for hppa-*-linux-gnu.
9044 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
9046         [BZ #16754]
9047         * manual/stdio.texi (Hook functions): Fix types of stream hook
9048         functions.
9049         [BZ #16854]
9050         * socket/sys/socket.h: Fix typo in comment.
9052 2014-04-28  Wilco  <wdijkstr@arm.com>
9054         * sysdeps/arm/fenv_private.h: New file.
9055         * sysdeps/arm/math_private.h: New file.
9056         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9058 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
9060         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9061         with __int128_t.
9062         (La_x86_64_retval): Likewise.
9064 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
9066         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9067         fpsr if value didn't change.
9068         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9069         to fpcr if value didn't change.
9070         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9071         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9072         fpsr or fpcr if value didn't change.
9073         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9074         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9075         fpcr if value didn't change.
9076         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9077         to fpsr if value didn't change.
9079 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9081         * nptl/tst-sem3.c: Use test-skeleton.c
9082         (main): Rename to do_test.  Use return instead of
9083         exit.
9084         * nptl/tst-sem4.c: Use test-skeleton.c
9085         (main): Rename to do_test.
9087 2014-04-22  David S. Miller  <davem@davemloft.net>
9089         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9090         (struct sigaction): New struct member __glibc_reserved0, change
9091         type of sa_flags to int.
9093 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
9095         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9096         (COUNT_LEADING_ZEROS_0): Define for AArch64.
9098 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9100         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9101         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9103 2014-04-22  Will Newton  <will.newton@linaro.org>
9104             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
9106         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9107         (__longjmp): Add longjmp and longjmp_target SystemTap
9108         probes.
9109         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9110         (__sigsetjmp): Add setjmp SystemTap probe.
9112 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
9114         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9115         match manual order.
9117 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9119         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9121         * sysdeps/powerpc/fpu/fenv_private.h
9122         (libc_feholdexcept_setroundl_ctx): Define to
9123         libc_feholdexcept_setround_ppc_ctx.
9124         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9125         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9126         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9127         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9129 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9131         * sysdeps/aarch64/math-tests.h: New file.
9133 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
9135         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9136         New.
9137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9138         Check and set bit_AVX2_Usable.
9139         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9140         macro.
9141         (bit_AVX2): Likewise.
9142         (index_AVX2_Usable): Likewise.
9143         (CPUID_AVX2): Likewise.
9144         (HAS_AVX2): Likewise.
9146 2014-04-17  Will Newton  <will.newton@linaro.org>
9148         * manual/setjmp.texi (System V contexts): Add note that
9149         calling setcontext on a context created by a call to a
9150         signal handler is undefined.  Update text to note that
9151         setcontext from a signal handler is possible but not
9152         recommended.
9154         [BZ #16629]
9155         * stdlib/tst-setcontext.c: Include signal.h.
9156         (main): Check that the signal stack before and
9157         after swapcontext is the same.
9159         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9160         Re-implement to restore registers in user code and avoid
9161         rt_sigreturn system call.
9163 2014-04-17  Wilco  <wdijkstr@arm.com>
9165         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9166         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9167         * math/test-fenv.c: Skip exception trap tests on targets which only
9168         support non-stop mode.
9170 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
9171             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9173         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9174         (libc_feholdsetround_aarch64_ctx)
9175         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9176         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9177         (libc_feresetround_ctx, libc_feresetroundf_ctx)
9178         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9179         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9180         (libc_feresetround_noexl_ctx): Define.
9182 2014-04-16  Richard Henderson  <rth@redhat.com>
9184         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9186         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9187         unwind tables.
9189         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9190         const from the non-libc, non-ldso copy.
9192         * sysdeps/alpha/libm-test-ulps: Regenerate.
9194 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
9195             Wilco Dijkstra  <wilco.dijkstra@arm.com>
9197         * sysdeps/aarch64/fpu/math_private.h: New file.
9199 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9201         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9203 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
9205         [BZ #16275]
9206         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9207         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9209         Intel MPX bound registers before _dl_profile_fixup.
9210         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9211         registers after _dl_profile_fixup.  Save and restore bound
9212         registers bnd0/bnd1 when calling _dl_call_pltexit.
9213         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9214         (LR_BND_OFFSET): Likewise.
9215         (LRV_BND0_OFFSET): Likewise.
9216         (LRV_BND1_OFFSET): Likewise.
9218 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9220         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9221         to...
9222         * sysdeps/mach/hurd/i386/tls.h: ... here.
9223         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9224         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9225         fields.
9227 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9229         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9231 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9233         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9235 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9237         [BZ #14770]
9238         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9239         * sysdeps/s390/configure: Regenerate.
9241         [BZ #16824]
9242         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9243         Set round-to-nearest internally to reduce error accumulation.
9245 2014-04-16  Alan Modra  <amodra@gmail.com>
9247         [BZ #16740]
9248         [BZ #16619]
9249         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9250         * math/libm-test.inc (frexp_test_data): Add tests.
9251         * NEWS: Update fixed bug list.
9253 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9255         * benchtests/Makefile: Depend on libraries in build directory.
9256         (bench-math): Separate out math tests.
9257         (bench-pthread): Separate out pthread tests.
9258         (bench): Include math and pthread tests.
9260 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
9262         [BZ #16831]
9263         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9264         _dl_debug_initialize.
9266         * configure.ac: Remove SELinux header check.
9267         * configure: Regenerate.
9268         * nscd/selinux.c (perms): Array of const char* to permission names.
9269         (nscd_request_avc_has_perm): Call security_deny_unknown to find
9270         default policy. Call string_to_security_class and string_to_av_perm to
9271         translate strings. Enforce default policy and call avs_has_perm with
9272         results of translated strings.
9274 2014-04-13  David S. Miller  <davem@davemloft.net>
9276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9278 2014-04-12  Allan McRae  <allan@archlinux.org>
9280         [BZ #16838]
9281         * manual/string.texi (Collation Functions): Fix qsort argument
9282         order in example.
9283         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9285 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9287         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9288         Make the test a no-op if there are no exceptions defined.
9290 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9292         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9293         enable-hardcoded-path-in-tests
9295 2014-04-11  Will Newton  <will.newton@linaro.org>
9297         * benchtests/Makefile (extra-objs): Add json-lib.o.
9298         (bench-func): Tidy up JSON output.
9299         * benchtests/bench-skeleton.c: Include json-lib.h.
9300         (main): Use JSON library functions to do output of
9301         benchmark results.
9302         * benchtests/bench-timing-type.c (main): Output the
9303         timing type simply, leaving formatting to the user.
9304         * benchtests/json-lib.c: New file.
9305         * benchtests/json-lib.h: Likewise.
9307 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9309         [BZ #15215]
9310         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9311         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9312         memory barriers.  Add comments.
9313         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9314         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9315         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9316         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9317         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9318         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9320 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9322         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9323         * sysdeps/s390/s390-64/configure.ac: ... this ...
9324         * sysdeps/s390/configure.ac: ... to here.
9325         * sysdeps/s390/s390-32/configure: Delete file.
9326         * sysdeps/s390/s390-64/configure: Delete file.
9327         * sysdeps/s390/configure: Regenerate.
9329 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9331         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9333 2014-04-11  Will Newton  <will.newton@linaro.org>
9335         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9336         to zero if it is not defined elsewhere.  (mtrim): Test
9337         the value of MALLOC_DEBUG with #if rather than #ifdef.
9339 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9341         * benchtests/pthread_once-inputs: New file.
9342         * benchtests/pthread_once-source.c: New file.
9343         * benchtests/README: Update documentation.
9345 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9346             H.J. Lu  <hongjiu.lu@intel.com>
9348         [BZ #16275]
9349         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9350         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9351         * sysdeps/x86_64/configure: Regenerated.
9352         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9353         macro.
9354         (REGISTER_SAVE_RAX): Likewise.
9355         (REGISTER_SAVE_RCX): Likewise.
9356         (REGISTER_SAVE_RDX): Likewise.
9357         (REGISTER_SAVE_RSI): Likewise.
9358         (REGISTER_SAVE_RDI): Likewise.
9359         (REGISTER_SAVE_R8): Likewise.
9360         (REGISTER_SAVE_R9): Likewise.
9361         (REGISTER_SAVE_BND0): Likewise.
9362         (REGISTER_SAVE_BND1): Likewise.
9363         (REGISTER_SAVE_BND2): Likewise.
9364         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9365         bound registers when calling _dl_fixup.
9367 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9369         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9370         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9371         of its definition.
9372         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9373         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9374         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9375         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9376         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9377         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9378         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9380 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9382         [BZ #15514]
9383         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9384         pathconf(_PC_NAME_MAX).
9386 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9388         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9389         Remove macro usage.
9390         (__PTHREAD_SPINS): Move definition to ...
9391         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9392         (__PTHREAD_SPINS): ... here.
9393         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9394         (__PTHREAD_SPIN): Likewise.
9395         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9396         (__PTHREAD_SPIN): Likewise.
9397         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9398         (__PTHREAD_SPIN): Likewise.
9399         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9400         (__PTHREAD_SPIN): Likewise.
9401         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9402         (__PTHREAD_SPIN): Likewise.
9403         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9404         (__PTHREAD_SPIN): Likewise.
9405         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9406         (__PTHREAD_SPIN): Likewise.
9407         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9408         (__PTHREAD_SPIN): Likewise.
9409         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9410         (__PTHREAD_SPIN): Likewise.
9411         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9412         (__PTHREAD_SPIN): Likewise.
9413         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9414         (__PTHREAD_SPIN): Likewise.
9415         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9416         (__PTHREAD_SPIN): Likewise.
9418         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9419         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9420         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9421         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9422         imply folder.
9423         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9424         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9425         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9426         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9427         correct imply path.
9428         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9429         strlen symbol for non multi-arch builds.
9430         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9431         missing hidden_def and weak_alias.
9433 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9435         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9437 2014-04-07  Will Newton  <will.newton@linaro.org>
9439         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9440         and contents.  [!_LIBC] Remove #ifndef and contents.
9441         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9442         * string/memccpy.c (__memccpy): Use ANSI prototype.
9443         * string/memfrob.c (memfrob): Likewise.
9444         * string/strcoll.c (STRCOLL): Likewise.
9445         * string/strlen.c (strlen): Likewise.
9446         * string/strtok.c (STRTOK): Likewise.
9447         * string/strcat.c: Remove unused #include of memcopy.h.
9448         (strcat): Use ANSI prototype.
9449         * string/strchr.c: Remove unused #include of memcopy.h.
9450         (strchr): Use ANSI prototype.
9451         * string/strcmp.c: Remove unused #include of memcopy.h.
9452         (strcmp): Use ANSI prototype.
9453         * string/strcpy.c: Remove unused #include of memcopy.h.
9454         (strcpy): Use ANSI prototype.
9456 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9458         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9459         * config.make.in (config-extra-cppflags): Set it from
9460         libc_extra_cppflags.
9461         * configure.ac (libc_extra_cflags): Make it accumulate over
9462         configure fragments.
9463         (libc_extra_cppflags): New flag.
9464         * configure. Regenerate.
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9466         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9467         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9470         [BZ #16815]
9471         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9472         result for FE_DOWNWARD rounding mode.
9473         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9474         Likewise.
9475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9477 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9479         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9480         in function argument name.
9482 2014-04-03  David Svoboda  <svoboda@cert.org>
9484         [BZ #5666]
9485         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9486         explicitly.
9488 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9490         * elf/dl-unmap-segments.h: New file.
9491         * sysdeps/generic/ldsodefs.h
9492         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9493         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9494         * elf/dl-fptr.c: Likewise.
9495         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9496         * sysdeps/aarch64/tlsdesc.c: Likewise.
9497         * sysdeps/arm/tlsdesc.c: Likewise.
9498         * sysdeps/i386/tlsdesc.c: Likewise.
9499         * sysdeps/tile/dl-runtime.c: Likewise.
9500         * sysdeps/x86_64/tlsdesc.c: Likewise.
9501         * elf/dl-load.h: New file.
9502         * elf/dl-load.c: Include it.
9503         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9504         Macros moved to dl-load.h.
9505         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9506         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9507         Use _dl_unmap_segments in place of __munmap.
9508         Break out segment-mapping loop into ...
9509         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9511 2014-04-03  Will Newton  <will.newton@linaro.org>
9513         * elf/dl-lookup.c (do_lookup_x): Remove comment
9514         referring to nested function and move variable
9515         declarations down to before first use.
9517 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9519         [BZ #16799]
9520         [BZ #16800]
9521         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9522         with 0 numerator.
9523         * math/s_catanf.c (__catanf): Likewise.
9524         * math/s_catanh.c (__catanh): Likewise.
9525         * math/s_catanhf.c (__catanhf): Likewise.
9526         * math/s_catanhl.c (__catanhl): Likewise.
9527         * math/s_catanl.c (__catanl): Likewise.
9528         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9529         by positive zero when computing -Inf result.
9530         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9531         (catanh_test): Likewise.
9532         * sysdeps/i386/fpu/libm-test-ulps: Update.
9533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9535         [BZ #16789]
9536         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9537         instead of using underflowing value in computing result.
9538         * math/s_clog10.c (__clog10): Likewise.
9539         * math/s_clog10f.c (__clog10f): Likewise.
9540         * math/s_clog10l.c (__clog10l): Likewise.
9541         * math/s_clogf.c (__clogf): Likewise.
9542         * math/s_clogl.c (__clogl): Likewise.
9543         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9544         (clog10_test): Likewise.
9545         * sysdeps/i386/fpu/libm-test-ulps: Update.
9546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9548 2014-04-02  Alan Modra  <amodra@gmail.com>
9550         [BZ #16739]
9551         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9552         output when value is near a power of two.  Use int64_t for lx and
9553         remove casts.  Use decimal rather than hex exponent constants.
9554         Don't use long double multiplication when double will suffice.
9555         * math/libm-test.inc (nextafter_test_data): Add tests.
9556         * NEWS: Add 16739 and 16786 to bug list.
9558         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9560         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9562 2014-04-01  Will Newton  <will.newton@linaro.org>
9564         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9565         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9567 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9569         [BZ #13347]
9570         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9571         * nptl/tst-setuid2.c: New file.
9572         * nptl/Makefile (xtests): Add tst-setuid2.
9574 2014-04-01  Alan Modra  <amodra@gmail.com>
9576         [BZ #16786]
9577         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9579 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9581         [BZ #6803]
9582         [BZ #6804]
9583         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9584         set errno as appropriate.
9585         * math/w_scalbf.c (__scalbf): Likewise.
9586         * math/w_scalbl.c (__scalbl): Likewise.
9587         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9588         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9589         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9590         Add more NaN tests.
9592         [BZ #16349]
9593         * math/w_atan2.c: Include <errno.h>.
9594         (__atan2): Set errno for result underflowing to zero.
9595         * math/w_atan2f.c: Include <errno.h>.
9596         (__atan2f): Set errno for result underflowing to zero.
9597         * math/w_atan2l.c: Include <errno.h>.
9598         (__atan2l): Set errno for result underflowing to zero.
9599         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9600         tests.
9601         * math/auto-libm-test-out: Regenerated.
9603 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9605         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9606         Encode instruction correctly in little endian.
9607         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9608         Likewise.
9609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9610         Likewise.
9611         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9612         Likewise.
9613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9614         Likewise.
9616 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9618         [BZ #9894]
9619         * sysdeps/unix/sysv/linux/kernel-features.h
9620         [__sparc__ && !__arch64__ && !__sparc_v9__]
9621         (__ASSUME_SET_ROBUST_LIST): Do not define.
9622         [__sparc__ && !__arch64__ && !__sparc_v9__]
9623         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9624         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9625         Likewise.
9626         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9627         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9628         (__ASSUME_REQUEUE_PI): Likewise.
9629         (__ASSUME_SET_ROBUST_LIST): Likewise.
9630         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9631         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9632         Undefine.
9633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9635         Likewise.
9636         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9637         Likewise.
9638         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9639         Likewise.
9640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9641         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9642         Undefine.
9643         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9644         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9645         Likewise.
9647         [BZ #16648]
9648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9649         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9650         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9652 2014-03-31  Will Newton  <will.newton@linaro.org>
9654         * benchtests/Makefile (bench): Add ffs and ffsll to list
9655         of tests.
9656         * benchtests/ffs-inputs: New file.
9657         * benchtests/ffsll-inputs: Likewise.
9659 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9661         [BZ #16770]
9662         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9663         too large before casting to int.
9664         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9665         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9666         * math/libm-test.inc (scalb_test_data): Add more tests.
9668 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9670         * benchtests/Makefile (DETAILED_OPT): New make option.
9671         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9672         set.
9673         * benchtests/bench-skeleton.c: Include stdbool.h.
9674         (main): Store and print timings per input.
9675         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9676         member to each argument value.
9677         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9678         (_print_arg_data): Initialize per-input timing to 0.
9680         * benchtests/Makefile (timing-type): New binary.
9681         (bench-clean): Also remove bench-timing-type.
9682         (bench): New target for timing-type.
9683         (bench-func): Print output in JSON format.
9684         * benchtests/bench-skeleton.c (main): Print output in JSON
9685         format.
9686         * benchtests/bench-timing-type.c: New file.
9687         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9688         (TIMING_PRINT_STATS): Remove.
9689         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9690         name separately.
9692         * benchtests/bench-modf.c: Remove.
9693         * benchtests/modf-inputs: New inputs file.
9695 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9697         [BZ #16362]
9698         * math/s_clog10.c (M_PI_LOG10E): New macro.
9699         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9700         imaginary parts are 0.
9701         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9702         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9703         imaginary parts are 0.
9704         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9705         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9706         imaginary parts are 0.
9707         * math/libm-test.inc (clog10_test_data): Update expected results
9708         for when real and imaginary parts are 0.
9710 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9712         * elf/dl-load.c: Finish conversion of __builtin_expect into
9713         __glibc_{un}likely.
9715 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9717         [BZ #16348]
9718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9719         1+x for argument with exponent below -67.
9720         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9721         Likewise.
9722         * math/auto-libm-test-in: Add more tests of exp.
9723         * math/auto-libm-test-out: Regenerated.
9725 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9727         [BZ #16759]
9728         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9729         (nscd_getnetgrent): Use it.
9731         [BZ #16760]
9732         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9733         of stpcpy.
9735 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9737         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9738         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9739         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9740         (lll_robust_unlock): Remove out of line section. Use cfi
9741         intrinsics.
9742         (LLL_STUB_UNWIND_INFO*): Remove.
9743         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9744         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9745         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9746         (lll_robust_unlock): Remove out of line section. Use cfi
9747         intrinsics.
9748         (LLL_STUB_UNWIND_INFO*): Remove.
9750 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9752         [BZ #16758]
9753         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9754         blank values.
9756 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9758         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9760 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9762         [BZ #16198]
9763         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9764         fnstenv.
9765         * math/test-fenv-preserve.c: New file.
9766         * math/Makefile (tests): Add test-fenv-preserve.
9768 2014-03-26  Will Newton <will.newton@linaro.org>
9770         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9772 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9774         * scripts/versionlist.awk: Partition the version sets and emit all
9775         GLIBC_* (sorted) before all others (sorted).
9777 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9779         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9780         GLIBC_2.2.5 version.
9782 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9784         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9785         calls.
9787         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9788         previous change.
9790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9792 2014-03-25  Andreas Schwab  <schwab@suse.de>
9794         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9795         label to be used after in6ailist is initialized.
9797 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9799         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9800         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9802 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9804         [BZ #16357]
9805         [BZ #16599]
9806         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9807         min_plus_half.
9808         (fp_formats): Update initializers.
9809         (init_fp_formats): Initialize new field.
9810         (output_for_one_input_case): Allow underflow for results up to
9811         min_plus_half.
9812         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9813         * math/auto-libm-test-in: Don't mark some underflows from asin and
9814         atanh as spurious.
9815         * math/auto-libm-test-out: Regenerated.
9816         * sysdeps/i386/fpu/libm-test-ulps: Update.
9817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9819 2014-03-25  Andreas Schwab  <schwab@suse.de>
9821         * libio/Makefile (tst-ftell-partial-wide-ENV)
9822         (tst-ftell-active-handler-ENV): Define.
9824 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9826         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9828 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9830         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9832 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9834         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9835         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9836         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9838 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9840         [BZ #16634]
9841         * elf/dl-load.c (open_verify): Add mode parameter.
9842         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9843         (open_path): Change from boolean 'secure' to complete flag 'mode'
9844         (_dl_map_object): Adjust.
9845         * elf/Makefile (tests): Add tst-dlopen-aout.
9846         * elf/tst-dlopen-aout.c: New test.
9848 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9850         [BZ #16714]
9851         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9852         (struct stat): Rename member pad0 to __glibc_reserved0.
9854         [BZ #16712]
9855         * sysdeps/s390/s390-32/bits/wordsize.h
9856         (__WORDSIZE32_SIZE_ULONG): New define.
9857         * sysdeps/s390/s390-64/bits/wordsize.h
9858         (__WORDSIZE32_SIZE_ULONG): Likewise.
9859         * sysdeps/generic/stdint.h (SIZE_MAX):
9860         Define as UL if __WORDSIZE32_SIZE_ULONG.
9862         [BZ #16713]
9863         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9864         (__glibc_reserved0): New variable.
9865         (sa_flags): Change type to int.
9867         * posix/Makefile (before-compile): Use += before-compile instead
9868         of a :=.
9870         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9871         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9873 2014-03-20  Andreas Schwab  <schwab@suse.de>
9875         [BZ #16743]
9876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9877         non-matching result from nscd.
9879 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9881         * scripts/bench.py: Moved to ...
9882         * benchtests/scripts/bench.py: ... here.
9883         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9885 2014-03-24  Andreas Schwab  <schwab@suse.de>
9887         [BZ #16002]
9888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9889         alloca_account and account alloca use for struct in6ailist.
9891 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9893         [BZ #16284]
9894         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9895         rounding mode to recompute results that overflow to infinity or
9896         underflow to zero.
9897         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9898         bug 16284.
9899         * math/auto-libm-test-out: Regenerated.
9900         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9901         (ccosh_test): Likewise.
9902         (csin_test_data): Use plus_oflow.
9903         (csin_test): Use ALL_RM_TEST.
9904         (csinh_test_data): Use plus_oflow.
9905         (csinh_test): Use ALL_RM_TEST.
9906         * sysdeps/i386/fpu/libm-test-ulps: Update.
9907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9909 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9911         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9912         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9913         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9915         [BZ #16731]
9916         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9917         when x - 1 is zero.
9918         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9919         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9920         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9922         argument is 1.
9923         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9924         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9925         zero.
9926         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9927         * sysdeps/i386/fpu/libm-test-ulps: Update.
9928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9930 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9932         * scripts/bench.pl: Remove file.
9933         * scripts/bench.py: New benchmark script.
9934         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9935         * benchtests/README: Mention python dependency.
9936         * scripts/pylintrc: New file.
9937         * scripts/pylint: New file.
9939         * bits/mathdef.h: Use #ifdef instead of #if.
9940         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9941         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9942         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9943         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9944         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9945         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9947 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9948             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9950         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9952         and strpbrk-ppc64 objects.
9953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9954         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9956         multiarch strpbrk for POWER7.
9957         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9958         multiarch strpbrk for PPC64.
9959         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9960         ifunc selector.
9961         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9962         strpbrk for POWER7.
9964 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9966         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9967         (atan_test): Likewise.
9968         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9969         (atanh_test): Use ALL_RM_TEST.
9970         (atan2_test_data): Likewise.
9971         (cabs_test): Likewise.
9972         (cacosh_test): Likewise.
9973         (carg_test): Likewise.
9974         (casin_test): Likewise.
9975         (casinh_test): Likewise.
9976         (cbrt_test): Likewise.
9977         (csqrt_test): Likewise.
9978         (erf_test): Likewise.
9979         (erfc_test): Likewise.
9980         (pow10_test): Likewise.
9981         (exp2_test): Likewise.
9982         (hypot_test): Likewise.
9983         (j0_test): Likewise.
9984         (j1_test): Likewise.
9985         (lgamma_test): Likewise.
9986         (gamma_test): Likewise.
9987         (sincos_test): Likewise.
9988         (tanh_test): Likewise.
9989         (y0_test): Likewise.
9990         (y1_test): Likewise.
9991         * sysdeps/i386/fpu/libm-test-ulps: Update.
9992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9994 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9996         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9998         and strcspn-ppc64 objects.
9999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10000         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10001         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10002         multiarch strcspn for POWER7.
10003         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10004         multiarch strcspn for PPC64.
10005         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10006         ifunc selector.
10007         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10008         strcspn for POWER7.
10010 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10012         * math/gen-libm-test.pl (generate_testfile): Expect only function
10013         name as argument to AUTO_TESTS_* and pass results for all rounding
10014         modes to parse_args.
10015         (parse_auto_input): Separate inputs of automatic tests from
10016         outputs before storing in %auto_tests.
10017         * math/libm-test.inc (acos_test_data): Update call to
10018         AUTO_TESTS_f_f.
10019         (acos_test): Use ALL_RM_TEST.
10020         (acos_tonearest_test_data): Remove.
10021         (acos_test_tonearest): Likewise.
10022         (acos_towardzero_test_data): Likewise.
10023         (acos_test_towardzero): Likewise.
10024         (acos_downward_test_data): Likewise.
10025         (acos_test_downward): Likewise.
10026         (acos_upward_test_data): Likewise.
10027         (acos_test_upward): Likewise.
10028         (acosh_test_data): Update call to AUTO_TESTS_f_f.
10029         (asin_test_data): Likewise.
10030         (asin_test): Use ALL_RM_TEST.
10031         (asin_tonearest_test_data): Remove.
10032         (asin_test_tonearest): Likewise.
10033         (asin_towardzero_test_data): Likewise.
10034         (asin_test_towardzero): Likewise.
10035         (asin_downward_test_data): Likewise.
10036         (asin_test_downward): Likewise.
10037         (asin_upward_test_data): Likewise.
10038         (asin_test_upward): Likewise.
10039         (asinh_test_data): Update call to AUTO_TESTS_f_f.
10040         (atan_test_data): Likewise.
10041         (atanh_test_data): Likewise.
10042         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10043         (cabs_test_data): Update call to AUTO_TESTS_c_f.
10044         (carg_test_data): Likewise.
10045         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10046         (ccos_test_data): Update call to AUTO_TESTS_c_c.
10047         (ccosh_test_data): Likewise.
10048         (cexp_test_data): Likewise.
10049         (clog_test_data): Likewise.
10050         (clog10_test_data): Likewise.
10051         (cos_test_data): Update call to AUTO_TESTS_f_f.
10052         (cos_test): Use ALL_RM_TEST.
10053         (cos_tonearest_test_data): Remove.
10054         (cos_test_tonearest): Likewise.
10055         (cos_towardzero_test_data): Likewise.
10056         (cos_test_towardzero): Likewise.
10057         (cos_downward_test_data): Likewise.
10058         (cos_test_downward): Likewise.
10059         (cos_upward_test_data): Likewise.
10060         (cos_test_upward): Likewise.
10061         (cosh_test_data): Update call to AUTO_TESTS_f_f.
10062         (cosh_test): Use ALL_RM_TEST.
10063         (cosh_tonearest_test_data): Remove.
10064         (cosh_test_tonearest): Likewise.
10065         (cosh_towardzero_test_data): Likewise.
10066         (cosh_test_towardzero): Likewise.
10067         (cosh_downward_test_data): Likewise.
10068         (cosh_test_downward): Likewise.
10069         (cosh_upward_test_data): Likewise.
10070         (cosh_test_upward): Likewise.
10071         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10072         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10073         (ctan_test_data): Likewise.
10074         (ctan_test): Use ALL_RM_TEST.
10075         (ctan_tonearest_test_data): Remove.
10076         (ctan_test_tonearest): Likewise.
10077         (ctan_towardzero_test_data): Likewise.
10078         (ctan_test_towardzero): Likewise.
10079         (ctan_downward_test_data): Likewise.
10080         (ctan_test_downward): Likewise.
10081         (ctan_upward_test_data): Likewise.
10082         (ctan_test_upward): Likewise.
10083         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10084         (ctanh_test): Use ALL_RM_TEST.
10085         (ctanh_tonearest_test_data): Remove.
10086         (ctanh_test_tonearest): Likewise.
10087         (ctanh_towardzero_test_data): Likewise.
10088         (ctanh_test_towardzero): Likewise.
10089         (ctanh_downward_test_data): Likewise.
10090         (ctanh_test_downward): Likewise.
10091         (ctanh_upward_test_data): Likewise.
10092         (ctanh_test_upward): Likewise.
10093         (erf_test_data): Update call to AUTO_TESTS_f_f.
10094         (erfc_test_data): Likewise.
10095         (exp_test_data): Likewise.
10096         (exp_test): Use ALL_RM_TEST.
10097         (exp_tonearest_test_data): Remove.
10098         (exp_test_tonearest): Likewise.
10099         (exp_towardzero_test_data): Likewise.
10100         (exp_test_towardzero): Likewise.
10101         (exp_downward_test_data): Likewise.
10102         (exp_test_downward): Likewise.
10103         (exp_upward_test_data): Likewise.
10104         (exp_test_upward): Likewise.
10105         (exp10_test_data): Update call to AUTO_TESTS_f_f.
10106         (exp10_test): Use ALL_RM_TEST.
10107         (exp10_tonearest_test_data): Remove.
10108         (exp10_test_tonearest): Likewise.
10109         (exp10_towardzero_test_data): Likewise.
10110         (exp10_test_towardzero): Likewise.
10111         (exp10_downward_test_data): Likewise.
10112         (exp10_test_downward): Likewise.
10113         (exp10_upward_test_data): Likewise.
10114         (exp10_test_upward): Likewise.
10115         (exp2_test_data): Update call to AUTO_TESTS_f_f.
10116         (expm1_test_data): Likewise.
10117         (expm1_test): Use ALL_RM_TEST.
10118         (expm1_tonearest_test_data): Remove.
10119         (expm1_test_tonearest): Likewise.
10120         (expm1_towardzero_test_data): Likewise.
10121         (expm1_test_towardzero): Likewise.
10122         (expm1_downward_test_data): Likewise.
10123         (expm1_test_downward): Likewise.
10124         (expm1_upward_test_data): Likewise.
10125         (expm1_test_upward): Likewise.
10126         (fma_test_data): Update call to AUTO_TESTS_fff_f.
10127         (fma_test): Use ALL_RM_TEST.
10128         (fma_towardzero_test_data): Remove.
10129         (fma_test_towardzero): Likewise.
10130         (fma_downward_test_data): Likewise.
10131         (fma_test_downward): Likewise.
10132         (fma_upward_test_data): Likewise.
10133         (fma_test_upward): Likewise.
10134         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10135         (j0_test_data): Update call to AUTO_TESTS_f_f.
10136         (j1_test_data): Likewise.
10137         (jn_test_data): Update call to AUTO_TESTS_if_f.
10138         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10139         (log_test_data): Update call to AUTO_TESTS_f_f.
10140         (log10_test_data): Likewise.
10141         (log1p_test_data): Likewise.
10142         (log2_test_data): Likewise.
10143         (pow_test_data): Update call to AUTO_TESTS_ff_f.
10144         (pow_tonearest_test_data): Likewise.
10145         (sin_test_data): Update call to AUTO_TESTS_f_f.
10146         (sin_test): Use ALL_RM_TEST.
10147         (sin_tonearest_test_data): Remove.
10148         (sin_test_tonearest): Likewise.
10149         (sin_towardzero_test_data): Likewise.
10150         (sin_test_towardzero): Likewise.
10151         (sin_downward_test_data): Likewise.
10152         (sin_test_downward): Likewise.
10153         (sin_upward_test_data): Likewise.
10154         (sin_test_upward): Likewise.
10155         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10156         (sinh_test_data): Update call to AUTO_TESTS_f_f.
10157         (sinh_test): Use ALL_RM_TEST.
10158         (sinh_tonearest_test_data): Remove.
10159         (sinh_test_tonearest): Likewise.
10160         (sinh_towardzero_test_data): Likewise.
10161         (sinh_test_towardzero): Likewise.
10162         (sinh_downward_test_data): Likewise.
10163         (sinh_test_downward): Likewise.
10164         (sinh_upward_test_data): Likewise.
10165         (sinh_test_upward): Likewise.
10166         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10167         (sqrt_test): Use ALL_RM_TEST.
10168         (sqrt_tonearest_test_data): Remove.
10169         (sqrt_test_tonearest): Likewise.
10170         (sqrt_towardzero_test_data): Likewise.
10171         (sqrt_test_towardzero): Likewise.
10172         (sqrt_downward_test_data): Likewise.
10173         (sqrt_test_downward): Likewise.
10174         (sqrt_upward_test_data): Likewise.
10175         (sqrt_test_upward): Likewise.
10176         (tan_test_data): Update call to AUTO_TESTS_f_f.
10177         (tan_test): Use ALL_RM_TEST.
10178         (tan_tonearest_test_data): Remove.
10179         (tan_test_tonearest): Likewise.
10180         (tan_towardzero_test_data): Likewise.
10181         (tan_test_towardzero): Likewise.
10182         (tan_downward_test_data): Likewise.
10183         (tan_test_downward): Likewise.
10184         (tan_upward_test_data): Likewise.
10185         (tan_test_upward): Likewise.
10186         (tanh_test_data): Update call to AUTO_TESTS_f_f.
10187         (tgamma_test_data): Likewise.
10188         (y0_test_data): Likewise.
10189         (y1_test_data): Likewise.
10190         (yn_test_data): Update call to AUTO_TESTS_if_f.
10191         (main): Do not call removed functions.
10193 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10195         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10196         (ldexp_test_data): Remove.
10197         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
10198         scalbn_test_data.
10199         (scalb_test): Use ALL_RM_TEST.
10201 2014-03-19  Andreas Schwab  <schwab@suse.de>
10203         * nscd/nscd.service: Also invalidate netgroup cache on reload.
10205 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
10207         [BZ #16649]
10208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10209         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10210         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10211         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10212         (__ASSUME_PREADV): Undefine.
10213         (__ASSUME_PWRITEV): Likewise.
10215 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10217         * bits/mman-linux.h: Add comment about non-Linux use.
10218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10219         bits/mman-linux.h resting place.
10221         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10222         * bits/mman-linux.h: ... here.
10224 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10226         * conform/conformtest.pl: Add standard definition when calling C
10227         preprocessor on data files.
10228         (checknamespace): Remove unused variable.
10230 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10232         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10233         minus_oflow, plus_uflow and minus_uflow in expected results.
10234         * math/libm-test.inc (scalbn_test_data): Add more tests of
10235         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
10236         minus_uflow.
10237         (scalbn_test): Use ALL_RM_TEST.
10238         (scalbln_test_data): Add more tests of negative arguments.  Use
10239         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10240         (scalbln_test): Use ALL_RM_TEST.
10242 2014-03-18  Roland McGrath  <roland@hack.frob.com>
10244         * scripts/abilist.awk: Ignore symbols marked with .hidden.
10246 2014-03-18  Will Newton  <will.newton@linaro.org>
10248         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10249         inaccurate comment.
10251 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
10253         * Makerules [!subdir] (check-abi): Exit with error status if a
10254         test failed.
10256 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10258         * math/libm-test.inc (nearbyint_test_data): Include all tests used
10259         for rint.  Include results for all rounding modes.
10260         (nearbyint_test): Use ALL_RM_TEST.
10261         (rint_test_data): Include all tests used for nearbyint.
10263 2014-03-17  Will Newton  <will.newton@linaro.org>
10265         * nptl/sysdeps/pthread/pthread.h: Revert previous
10266         change.
10268         * sysdeps/generic/ldsodefs.h: Revert previous
10269         change.
10271         * libio/genops.c: Revert previous change.
10272         * libio/libioP.h: Likewise.
10273         * stdio-common/vfprintf.c: Likewise.
10275         * sysdeps/generic/math_private.h: Revert previous
10276         change.
10278         * sysdeps/generic/math_private.h: Check whether
10279         HAVE_RM_CTX is defined with #ifdef rather
10280         than #if.
10282         * argp/argp-fmtstream.h: Check whether
10283         __STRICT_ANSI__ is defined with #ifdef rather
10284         than #if.
10285         * argp/argp.h: Likewise.
10287         * libio/genops.c: Check whether
10288         _IO_JUMPS_OFFSET is defined with #ifdef rather
10289         than #if.
10290         * libio/libioP.h: Likewise.
10291         * stdio-common/vfprintf.c: Likewise.
10293         * sysdeps/generic/ldsodefs.h: Check whether
10294         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10295         than #if.
10297         * nptl/sysdeps/pthread/pthread.h: Check
10298         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10299         its value.
10301 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10303         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10304         setting O_APPEND.
10305         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10306         test case.
10308         [BZ #16680]
10309         * libio/fileops.c (_IO_file_open): Seek to end of file but
10310         don't cache the offset.
10311         (get_file_offset): Remove function.
10312         (do_ftell): Use cached offset when available.
10313         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10314         don't cache the offset.
10315         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10316         case.
10317         (do_one_test): Call it.
10318         (do_ftell_test): Fix up expected old offset for a+ mode.
10319         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10320         available.
10322         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10323         up test status with function return status.
10324         (do_write_test): Likewise.
10325         (do_append_test): Likewise.
10327         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10328         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10329         Remove.
10331 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10333         * math/gen-libm-test.pl (parse_args): Handle results specified for
10334         each rounding mode separately.
10335         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10336         tests and results from lrint_tonearest_test_data,
10337         lrint_towardzero_test_data, lrint_downward_test_data and
10338         lrint_upward_test_data.
10339         (lrint_test): Use ALL_RM_TEST.
10340         (lrint_tonearest_test_data): Remove.
10341         (lrint_test_tonearest): Likewise.
10342         (lrint_towardzero_test_data): Likewise.
10343         (lrint_test_towardzero): Likewise.
10344         (lrint_downward_test_data): Likewise.
10345         (lrint_test_downward): Likewise.
10346         (lrint_upward_test_data): Likewise.
10347         (lrint_test_upward): Likewise.
10348         (llrint_test_data): Merge in per-rounding-mode tests and results
10349         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10350         llrint_downward_test_data and llrint_upward_test_data.
10351         (llrint_test): Use ALL_RM_TEST.
10352         (llrint_tonearest_test_data): Remove.
10353         (llrint_test_tonearest): Likewise.
10354         (llrint_towardzero_test_data): Likewise.
10355         (llrint_test_towardzero): Likewise.
10356         (llrint_downward_test_data): Likewise.
10357         (llrint_test_downward): Likewise.
10358         (llrint_upward_test_data): Likewise.
10359         (llrint_test_upward): Likewise.
10360         (rint_test_data): Merge in per-rounding-mode tests and results
10361         from rint_tonearest_test_data, rint_towardzero_test_data,
10362         rint_downward_test_data and rint_upward_test_data.  Add
10363         per-rounding-mode results for tests not in those arrays.
10364         (rint_test): Use ALL_RM_TEST.
10365         (rint_tonearest_test_data): Remove.
10366         (rint_test_tonearest): Likewise.
10367         (rint_towardzero_test_data): Likewise.
10368         (rint_test_towardzero): Likewise.
10369         (rint_downward_test_data): Likewise.
10370         (rint_test_downward): Likewise.
10371         (rint_upward_test_data): Likewise.
10372         (rint_test_upward): Likewise.
10373         (main): Don't call removed functions.
10375 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10377         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10378         "Compiled on ..." crapola.  It is anti-useful.
10380 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10382         * scripts/evaluate-test.sh: Handle fourth argument to determine
10383         whether test run should stop on failure.
10384         * Makeconfig (stop-on-test-failure): New variable.
10385         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10386         $(stop-on-test-failure).
10387         * Makefile (tests): Give a summary of results from testing and
10388         exit with failure status if they include an ERROR or FAIL.
10389         (xtests): Likewise.
10390         * manual/install.texi (Configuring and compiling): Mention
10391         stop-on-test-failure=y.
10392         * INSTALL: Regenerated.
10394 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10396         * scripts/versionlist.awk: New file.
10397         * Makerules [$(build-shared) = yes]
10398         (postclean-generated): Add Versions.def, not Versions.def.v and
10399         Versions.def.v.i.
10400         ($(common-objpfx)Versions.def.v.i): Target removed.
10401         ($(common-objpfx)Versions.def): New target.
10402         ($(common-objpfx)Versions.all): Depend on that rather that
10403         $(common-objpfx)Versions.def.v.
10404         * Versions.def: File removed.
10406         * Makeconfig (+gccwarn): Add -Wundef.
10407         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10408         a dl-sysdep.h breaking its contract.
10409         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10410         * include/stackinfo.h: New file.
10411         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10412         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10413         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10414         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10415         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10416         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10417         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10418         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10419         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10420         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10421         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10422         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10423         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10424         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10425         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10427 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10429         [BZ #16707]
10430         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10431         implementation.
10432         * math/libm-test.inc (round_test_data): Add more tests.
10434         [BZ #16706]
10435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10436         implementation.
10437         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10439         [BZ #16701]
10440         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10441         implementation.
10442         * math/libm-test.inc (ceil_test_data): Add more tests.
10444         * math/libm-test.inc (trunc_test_data): Add more tests related to
10445         BZ#16414.
10447 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10449         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10450         with #if rather than #ifdef.
10451         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10453 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10455         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10456         first.  Disable AVX-512 GCC support if assembler doesn't support
10457         it.
10458         * sysdeps/x86_64/configure: Regenerated.
10460 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10462         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10463         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10464         (__old_pthread_attr_setstack): Likewise.
10465         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10466         [!_STACK_GROWS_DOWN]: Likewise.
10468 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10470         * config.make.in (have-bash2): Delete.
10471         * configure.ac (libc_cv_have_bash2): Delete.
10472         * configure: Regenerate.
10473         * elf/Makefile (common-ldd-rewrite): Rename to ...
10474         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10475         (sh-ldd-rewrite): Delete.
10476         (bash-ldd-rewrite): Delete.
10477         (have-bash2): Delete checks.
10478         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10479         ldd-rewrite.
10481         * config.make.in (have-ksh): Delete.
10482         (KSH): Delete.
10483         * configure.ac (libc_cv_have_ksh): Delete.
10484         * configure: Regenerate.
10486         * elf/Makefile: Delete $(have-ksh) check.
10487         ($(objpfx)sotruss): Change KSH to BASH.
10488         * elf/sotruss.ksh: Rename to ...
10489         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10490         function style to match POSIX.  Drop ksh vim mode setting.
10492         * manual/time.texi (Specifying the Time Zone with TZ): Change
10493         Tuesday to Thursday.
10495         * debug/tst-longjmp_chk2.c: Update header comment.
10496         (stackoverflow_handler): Add comment.  Call assert on pass value.
10498 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10500         [BZ #16194]
10501         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10502         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10503         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10504         (La_x86_64_vector): Add zmm.
10505         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10506         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10507         ($(objpfx)tst-audit10): New target.
10508         ($(objpfx)tst-audit10.out): Likewise.
10509         (tst-audit10-ENV): New.
10510         (AVX512-CFLAGS): Likewise.
10511         (CFLAGS-tst-audit10.c): Likewise.
10512         (CFLAGS-tst-auditmod10a.c): Likewise.
10513         (CFLAGS-tst-auditmod10b.c): Likewise.
10514         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10515         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10516         * sysdeps/x86_64/configure: Regenerated.
10517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10518         AVX-512 zmm register support.
10519         (_dl_x86_64_save_sse): Likewise.
10520         (_dl_x86_64_restore_sse): Likewise.
10521         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10522         size vector registers.
10523         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10524         (ZMM_SIZE): Likewise.
10525         * sysdeps/x86_64/tst-audit10.c: New file.
10526         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10527         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10529 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10531         * configure.ac (HAVE_EHDR_START): New check.
10532         * configure: Regenerated.
10533         * config.h.in (HAVE_EHDR_START): New #undef.
10534         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10535         assuming the lowest-addressed segment maps the start of the file.
10537 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10539         * INSTALL: Regenerated.
10541 2014-03-13  Will Newton  <will.newton@linaro.org>
10543         * manual/setjmp.texi (System V contexts): Improve
10544         clarity and grammar of documentation.
10546 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10548         [BZ #16381]
10549         * elf/Makefile (tests): Add tst-pie2.
10550         (tests-pie): Add tst-pie2.
10551         * elf/tst-pie2.c: New file.
10552         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10553         for ET_EXEC.
10554         * elf/rtld.c (map_doit): Load executable as lt_executable.
10555         (dl_main): Likewise.
10557 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10559         [BZ #16642]
10560         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10561         (__ASSUME_PSELECT): Undefine.
10563 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10565         [BZ #16689]
10566         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10567         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10568         static build.
10569         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10570         selector for static builds.
10572 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10574         [BZ #16695]
10575         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10576         key in the buffer.
10578 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10580         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10581         IFUNC selector for static builds.
10583 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10585         * sysdeps/mips/math_private.h [__mips_hard_float]
10586         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10587         libc_feresetround_mips_ctx.
10588         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10589         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10590         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10592         [BZ #16677]
10593         * math/s_nextafter.c (__nextafter): Do not return value from
10594         overflowing computation.
10595         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10596         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10597         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10598         Likewise.
10599         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10600         Likewise.
10601         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10602         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10604 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10606         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10607         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10608         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10609         the new mov targetting sp.
10611 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613         [BZ #16683]
10614         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10615         Define it for static builds as well.
10616         (NO_BZERO_IMPL): Likewise.
10618 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10620         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10621         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10622         multiarch strspn for PPC64.
10623         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10624         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10626         (__libc_ifunc_impl_list): Likewise.
10627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10628         multiarch optimizations
10629         * string/strspn.c (strspn): Using macro to redefine symbol name.
10631 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10632             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10634         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10635         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10636         multiarch strncat for PPC64.
10637         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10638         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10640         (__libc_ifunc_impl_list): Likewise.
10641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10642         multiarch optimizations
10644 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10646         [BZ #16639]
10647         * nscd/nscd.service: Make service type forking.
10649 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10651         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10652         sign in non default rounding modes.
10653         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10655 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10657         * math/libm-test.inc (ALL_RM_TEST): New macro.
10658         (ceil_test): Use ALL_RM_TEST.
10659         (cimag_test): Likewise.
10660         (conj_test): Likewise.
10661         (copysign_test): Likewise.
10662         (cproj_test): Likewise.
10663         (creal_test): Likewise.
10664         (fabs_test): Likewise.
10665         (floor_test): Likewise.
10666         (fmax_test): Likewise.
10667         (fmin_test): Likewise.
10668         (fmod_test): Likewise.
10669         (fpclassify_test): Likewise.
10670         (frexp_test): Likewise.
10671         (ilogb_test): Likewise.
10672         (isfinite_test): Likewise.
10673         (finite_test): Likewise.
10674         (isgreater_test): Likewise.
10675         (isgreaterequal_test): Likewise.
10676         (isinf_test): Likewise.
10677         (isless_test): Likewise.
10678         (islessequal_test): Likewise.
10679         (islessgreater_test): Likewise.
10680         (isnan_test): Likewise.
10681         (isnormal_test): Likewise.
10682         (issignaling_test): Likewise.
10683         (isunordered_test): Likewise.
10684         (logb_test): Likewise.
10685         (logb_downward_test_data): Remove.
10686         (logb_test_downward): Likewise.
10687         (lround_test): Use ALL_RM_TEST.
10688         (llround_test): Likewise.
10689         (modf_test): Likewise.
10690         (nexttoward_test): Likewise.
10691         (remainder_test): Likewise.
10692         (drem_test): Likewise.
10693         (remainder_tonearest_test_data): Likewise.
10694         (remainder_test_tonearest): Likewise.
10695         (drem_test_tonearest): Likewise.
10696         (remainder_towardzero_test_data): Likewise.
10697         (remainder_test_towardzero): Likewise.
10698         (drem_test_towardzero): Likewise.
10699         (remainder_downward_test_data): Likewise.
10700         (remainder_test_downward): Likewise.
10701         (drem_test_downward): Likewise.
10702         (remainder_upward_test_data): Likewise.
10703         (remainder_test_upward): Likewise.
10704         (drem_test_upward): Likewise.
10705         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10706         (round_test): Use ALL_RM_TEST.
10707         (signbit_test): Likewise.
10708         (trunc_test): Likewise.
10709         (significand_test): Likewise.
10710         (main): Don't call removed functions.
10712 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10714         [BZ #16674]
10715         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10716         || __USE_XOPEN2K8].
10717         (ILL_ILLOPN): Likewise.
10718         (ILL_ILLADR): Likewise.
10719         (ILL_ILLTRP): Likewise.
10720         (ILL_PRVOPC): Likewise.
10721         (ILL_PRVREG): Likewise.
10722         (ILL_COPROC): Likewise.
10723         (ILL_BADSTK): Likewise.
10724         (FPE_INTDIV): Likewise.
10725         (FPE_INTOVF): Likewise.
10726         (FPE_FLTDIV): Likewise.
10727         (FPE_FLTOVF): Likewise.
10728         (FPE_FLTUND): Likewise.
10729         (FPE_FLTRES): Likewise.
10730         (FPE_FLTINV): Likewise.
10731         (FPE_FLTSUB): Likewise.
10732         (SEGV_MAPERR): Likewise.
10733         (SEGV_ACCERR): Likewise.
10734         (BUS_ADRALN): Likewise.
10735         (BUS_ADRERR): Likewise.
10736         (BUS_OBJERR): Likewise.
10737         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10738         (TRAP_TRACE): Likewise.
10739         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10740         __USE_XOPEN2K8].
10741         (CLD_KILLED): Likewise.
10742         (CLD_DUMPED): Likewise.
10743         (CLD_TRAPPED): Likewise.
10744         (CLD_STOPPED): Likewise.
10745         (CLD_CONTINUED): Likewise.
10746         (POLL_IN): Likewise.
10747         (POLL_OUT): Likewise.
10748         (POLL_MSG): Likewise.
10749         (POLL_ERR): Likewise.
10750         (POLL_PRI): Likewise.
10751         (POLL_HUP): Likewise.
10752         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10753         Likewise.
10754         (ILL_ILLOPN): Likewise.
10755         (ILL_ILLADR): Likewise.
10756         (ILL_ILLTRP): Likewise.
10757         (ILL_PRVOPC): Likewise.
10758         (ILL_PRVREG): Likewise.
10759         (ILL_COPROC): Likewise.
10760         (ILL_BADSTK): Likewise.
10761         (FPE_INTDIV): Likewise.
10762         (FPE_INTOVF): Likewise.
10763         (FPE_FLTDIV): Likewise.
10764         (FPE_FLTOVF): Likewise.
10765         (FPE_FLTUND): Likewise.
10766         (FPE_FLTRES): Likewise.
10767         (FPE_FLTINV): Likewise.
10768         (FPE_FLTSUB): Likewise.
10769         (SEGV_MAPERR): Likewise.
10770         (SEGV_ACCERR): Likewise.
10771         (BUS_ADRALN): Likewise.
10772         (BUS_ADRERR): Likewise.
10773         (BUS_OBJERR): Likewise.
10774         (BUS_MCEERR_AR): Likewise.
10775         (BUS_MCEERR_AO): Likewise.
10776         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10777         (TRAP_TRACE): Likewise.
10778         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10779         __USE_XOPEN2K8].
10780         (CLD_KILLED): Likewise.
10781         (CLD_DUMPED): Likewise.
10782         (CLD_TRAPPED): Likewise.
10783         (CLD_STOPPED): Likewise.
10784         (CLD_CONTINUED): Likewise.
10785         (POLL_IN): Likewise.
10786         (POLL_OUT): Likewise.
10787         (POLL_MSG): Likewise.
10788         (POLL_ERR): Likewise.
10789         (POLL_PRI): Likewise.
10790         (POLL_HUP): Likewise.
10791         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10792         (ILL_ILLOPN): Likewise.
10793         (ILL_ILLADR): Likewise.
10794         (ILL_ILLTRP): Likewise.
10795         (ILL_PRVOPC): Likewise.
10796         (ILL_PRVREG): Likewise.
10797         (ILL_COPROC): Likewise.
10798         (ILL_BADSTK): Likewise.
10799         (FPE_INTDIV): Likewise.
10800         (FPE_INTOVF): Likewise.
10801         (FPE_FLTDIV): Likewise.
10802         (FPE_FLTOVF): Likewise.
10803         (FPE_FLTUND): Likewise.
10804         (FPE_FLTRES): Likewise.
10805         (FPE_FLTINV): Likewise.
10806         (FPE_FLTSUB): Likewise.
10807         (SEGV_MAPERR): Likewise.
10808         (SEGV_ACCERR): Likewise.
10809         (BUS_ADRALN): Likewise.
10810         (BUS_ADRERR): Likewise.
10811         (BUS_OBJERR): Likewise.
10812         (BUS_MCEERR_AR): Likewise.
10813         (BUS_MCEERR_AO): Likewise.
10814         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10815         (TRAP_TRACE): Likewise.
10816         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10817         __USE_XOPEN2K8].
10818         (CLD_KILLED): Likewise.
10819         (CLD_DUMPED): Likewise.
10820         (CLD_TRAPPED): Likewise.
10821         (CLD_STOPPED): Likewise.
10822         (CLD_CONTINUED): Likewise.
10823         (POLL_IN): Likewise.
10824         (POLL_OUT): Likewise.
10825         (POLL_MSG): Likewise.
10826         (POLL_ERR): Likewise.
10827         (POLL_PRI): Likewise.
10828         (POLL_HUP): Likewise.
10829         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10830         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         (ILL_BADIADDR): Likewise.
10839         (ILL_BREAK): Likewise.
10840         (FPE_INTDIV): Likewise.
10841         (FPE_INTOVF): Likewise.
10842         (FPE_FLTDIV): Likewise.
10843         (FPE_FLTOVF): Likewise.
10844         (FPE_FLTUND): Likewise.
10845         (FPE_FLTRES): Likewise.
10846         (FPE_FLTINV): Likewise.
10847         (FPE_FLTSUB): Likewise.
10848         (FPE_DECOVF): Likewise.
10849         (FPE_DECDIV): Likewise.
10850         (FPE_DECERR): Likewise.
10851         (FPE_INVASC): Likewise.
10852         (FPE_INVDEC): Likewise.
10853         (SEGV_MAPERR): Likewise.
10854         (SEGV_ACCERR): Likewise.
10855         (SEGV_PSTKOVF): Likewise.
10856         (BUS_ADRALN): Likewise.
10857         (BUS_ADRERR): Likewise.
10858         (BUS_OBJERR): Likewise.
10859         (BUS_MCEERR_AR): Likewise.
10860         (BUS_MCEERR_AO): Likewise.
10861         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10862         (TRAP_TRACE): Likewise.
10863         (TRAP_BRANCH): Likewise.
10864         (TRAP_HWBKPT): Likewise.
10865         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10866         __USE_XOPEN2K8].
10867         (CLD_KILLED): Likewise.
10868         (CLD_DUMPED): Likewise.
10869         (CLD_TRAPPED): Likewise.
10870         (CLD_STOPPED): Likewise.
10871         (CLD_CONTINUED): Likewise.
10872         (POLL_IN): Likewise.
10873         (POLL_OUT): Likewise.
10874         (POLL_MSG): Likewise.
10875         (POLL_ERR): Likewise.
10876         (POLL_PRI): Likewise.
10877         (POLL_HUP): Likewise.
10878         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10879         (ILL_ILLOPN): Likewise.
10880         (ILL_ILLADR): Likewise.
10881         (ILL_ILLTRP): Likewise.
10882         (ILL_PRVOPC): Likewise.
10883         (ILL_PRVREG): Likewise.
10884         (ILL_COPROC): Likewise.
10885         (ILL_BADSTK): Likewise.
10886         (FPE_INTDIV): Likewise.
10887         (FPE_INTOVF): Likewise.
10888         (FPE_FLTDIV): Likewise.
10889         (FPE_FLTOVF): Likewise.
10890         (FPE_FLTUND): Likewise.
10891         (FPE_FLTRES): Likewise.
10892         (FPE_FLTINV): Likewise.
10893         (FPE_FLTSUB): Likewise.
10894         (SEGV_MAPERR): Likewise.
10895         (SEGV_ACCERR): Likewise.
10896         (BUS_ADRALN): Likewise.
10897         (BUS_ADRERR): Likewise.
10898         (BUS_OBJERR): Likewise.
10899         (BUS_MCEERR_AR): Likewise.
10900         (BUS_MCEERR_AO): Likewise.
10901         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10902         (TRAP_TRACE): Likewise.
10903         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10904         __USE_XOPEN2K8].
10905         (CLD_KILLED): Likewise.
10906         (CLD_DUMPED): Likewise.
10907         (CLD_TRAPPED): Likewise.
10908         (CLD_STOPPED): Likewise.
10909         (CLD_CONTINUED): Likewise.
10910         (POLL_IN): Likewise.
10911         (POLL_OUT): Likewise.
10912         (POLL_MSG): Likewise.
10913         (POLL_ERR): Likewise.
10914         (POLL_PRI): Likewise.
10915         (POLL_HUP): Likewise.
10916         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10917         (ILL_ILLOPN): Likewise.
10918         (ILL_ILLADR): Likewise.
10919         (ILL_ILLTRP): Likewise.
10920         (ILL_PRVOPC): Likewise.
10921         (ILL_PRVREG): Likewise.
10922         (ILL_COPROC): Likewise.
10923         (ILL_BADSTK): Likewise.
10924         (FPE_INTDIV): Likewise.
10925         (FPE_INTOVF): Likewise.
10926         (FPE_FLTDIV): Likewise.
10927         (FPE_FLTOVF): Likewise.
10928         (FPE_FLTUND): Likewise.
10929         (FPE_FLTRES): Likewise.
10930         (FPE_FLTINV): Likewise.
10931         (FPE_FLTSUB): Likewise.
10932         (SEGV_MAPERR): Likewise.
10933         (SEGV_ACCERR): Likewise.
10934         (BUS_ADRALN): Likewise.
10935         (BUS_ADRERR): Likewise.
10936         (BUS_OBJERR): Likewise.
10937         (BUS_MCEERR_AR): Likewise.
10938         (BUS_MCEERR_AO): Likewise.
10939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10940         (TRAP_TRACE): Likewise.
10941         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10942         __USE_XOPEN2K8].
10943         (CLD_KILLED): Likewise.
10944         (CLD_DUMPED): Likewise.
10945         (CLD_TRAPPED): Likewise.
10946         (CLD_STOPPED): Likewise.
10947         (CLD_CONTINUED): Likewise.
10948         (POLL_IN): Likewise.
10949         (POLL_OUT): Likewise.
10950         (POLL_MSG): Likewise.
10951         (POLL_ERR): Likewise.
10952         (POLL_PRI): Likewise.
10953         (POLL_HUP): Likewise.
10954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10955         (ILL_ILLOPN): Likewise.
10956         (ILL_ILLADR): Likewise.
10957         (ILL_ILLTRP): Likewise.
10958         (ILL_PRVOPC): Likewise.
10959         (ILL_PRVREG): Likewise.
10960         (ILL_COPROC): Likewise.
10961         (ILL_BADSTK): Likewise.
10962         (FPE_INTDIV): Likewise.
10963         (FPE_INTOVF): Likewise.
10964         (FPE_FLTDIV): Likewise.
10965         (FPE_FLTOVF): Likewise.
10966         (FPE_FLTUND): Likewise.
10967         (FPE_FLTRES): Likewise.
10968         (FPE_FLTINV): Likewise.
10969         (FPE_FLTSUB): Likewise.
10970         (SEGV_MAPERR): Likewise.
10971         (SEGV_ACCERR): Likewise.
10972         (BUS_ADRALN): Likewise.
10973         (BUS_ADRERR): Likewise.
10974         (BUS_OBJERR): Likewise.
10975         (BUS_MCEERR_AR): Likewise.
10976         (BUS_MCEERR_AO): Likewise.
10977         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10978         (TRAP_TRACE): Likewise.
10979         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10980         __USE_XOPEN2K8].
10981         (CLD_KILLED): Likewise.
10982         (CLD_DUMPED): Likewise.
10983         (CLD_TRAPPED): Likewise.
10984         (CLD_STOPPED): Likewise.
10985         (CLD_CONTINUED): Likewise.
10986         (POLL_IN): Likewise.
10987         (POLL_OUT): Likewise.
10988         (POLL_MSG): Likewise.
10989         (POLL_ERR): Likewise.
10990         (POLL_PRI): Likewise.
10991         (POLL_HUP): Likewise.
10992         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10993         (ILL_ILLOPN): Likewise.
10994         (ILL_ILLADR): Likewise.
10995         (ILL_ILLTRP): Likewise.
10996         (ILL_PRVOPC): Likewise.
10997         (ILL_PRVREG): Likewise.
10998         (ILL_COPROC): Likewise.
10999         (ILL_BADSTK): Likewise.
11000         (ILL_DBLFLT): Likewise.
11001         (ILL_HARDWALL): Likewise.
11002         (FPE_INTDIV): Likewise.
11003         (FPE_INTOVF): Likewise.
11004         (FPE_FLTDIV): Likewise.
11005         (FPE_FLTOVF): Likewise.
11006         (FPE_FLTUND): Likewise.
11007         (FPE_FLTRES): Likewise.
11008         (FPE_FLTINV): Likewise.
11009         (FPE_FLTSUB): Likewise.
11010         (SEGV_MAPERR): Likewise.
11011         (SEGV_ACCERR): Likewise.
11012         (BUS_ADRALN): Likewise.
11013         (BUS_ADRERR): Likewise.
11014         (BUS_OBJERR): Likewise.
11015         (BUS_MCEERR_AR): Likewise.
11016         (BUS_MCEERR_AO): Likewise.
11017         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11018         (TRAP_TRACE): Likewise.
11019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11020         __USE_XOPEN2K8].
11021         (CLD_KILLED): Likewise.
11022         (CLD_DUMPED): Likewise.
11023         (CLD_TRAPPED): Likewise.
11024         (CLD_STOPPED): Likewise.
11025         (CLD_CONTINUED): Likewise.
11026         (POLL_IN): Likewise.
11027         (POLL_OUT): Likewise.
11028         (POLL_MSG): Likewise.
11029         (POLL_ERR): Likewise.
11030         (POLL_PRI): Likewise.
11031         (POLL_HUP): Likewise.
11032         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11033         (ILL_ILLOPN): Likewise.
11034         (ILL_ILLADR): Likewise.
11035         (ILL_ILLTRP): Likewise.
11036         (ILL_PRVOPC): Likewise.
11037         (ILL_PRVREG): Likewise.
11038         (ILL_COPROC): Likewise.
11039         (ILL_BADSTK): Likewise.
11040         (FPE_INTDIV): Likewise.
11041         (FPE_INTOVF): Likewise.
11042         (FPE_FLTDIV): Likewise.
11043         (FPE_FLTOVF): Likewise.
11044         (FPE_FLTUND): Likewise.
11045         (FPE_FLTRES): Likewise.
11046         (FPE_FLTINV): Likewise.
11047         (FPE_FLTSUB): Likewise.
11048         (SEGV_MAPERR): Likewise.
11049         (SEGV_ACCERR): Likewise.
11050         (BUS_ADRALN): Likewise.
11051         (BUS_ADRERR): Likewise.
11052         (BUS_OBJERR): Likewise.
11053         (BUS_MCEERR_AR): Likewise.
11054         (BUS_MCEERR_AO): Likewise.
11055         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11056         (TRAP_TRACE): Likewise.
11057         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11058         __USE_XOPEN2K8].
11059         (CLD_KILLED): Likewise.
11060         (CLD_DUMPED): Likewise.
11061         (CLD_TRAPPED): Likewise.
11062         (CLD_STOPPED): Likewise.
11063         (CLD_CONTINUED): Likewise.
11064         (POLL_IN): Likewise.
11065         (POLL_OUT): Likewise.
11066         (POLL_MSG): Likewise.
11067         (POLL_ERR): Likewise.
11068         (POLL_PRI): Likewise.
11069         (POLL_HUP): Likewise.
11070         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11071         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11073         [BZ #16670]
11074         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11075         before #include of <time.h>.
11076         [!__USE_XOPEN2K] (__need_timespec): Likewise.
11077         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11078         (test-xfail-UNIX98/sched.h/conform): Likewise.
11080 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11082         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11083         error absence of trapping exception support.
11084         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11086 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11088         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11089         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11090         * timezone/Makefile (testdata): Move definition above include of
11091         Rules.
11092         (test-zones): New variable.
11093         (tests-special): Add zone files.
11094         (build-testdata): Use $(evaluate-test).
11096         * elf/Makefile (tests-special): Rename tests to end with .out.
11097         ($(objpfx)noload-mem): Likewise.
11098         ($(objpfx)tst-leaks1-mem): Likewise.
11099         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11100         * iconv/Makefile (xtests-special): Change test-iconvconfig to
11101         $(objpfx)test-iconvconfig.out.
11102         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
11103         set -e inside subshell and redirect output to file.
11104         * iconvdata/Makefile (generated): Rename tests to end with .out.
11105         Correct type.
11106         (tests-special): Rename tests to end with .out.
11107         ($(objpfx)mtrace-tst-loading): Likewise.
11108         * intl/Makefile (generated): Likewise.
11109         (tests-special): Likewise.
11110         ($(objpfx)mtrace-tst-gettext): Likewise.
11111         * misc/Makefile (generated): Likewise.
11112         (tests-special): Likewise.
11113         ($(objpfx)tst-error1-mem): Likewise.
11114         * nptl/Makefile (tests-special): Likewise.
11115         ($(objpfx)tst-stack3-mem): Likewise.
11116         (generated): Likewise.
11117         * posix/Makefile (generated): Likewise.
11118         (tests-special): Likewise.
11119         (xtests-special): Likewise.
11120         ($(objpfx)tst-fnmatch-mem): Likewise.
11121         ($(objpfx)bug-regex2-mem): Likewise.
11122         ($(objpfx)bug-regex14-mem): Likewise.
11123         ($(objpfx)bug-regex21-mem): Likewise.
11124         ($(objpfx)bug-regex31-mem): Likewise.
11125         ($(objpfx)tst-vfork3-mem): Likewise.
11126         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11127         ($(objpfx)tst-pcre-mem): Likewise.
11128         ($(objpfx)tst-boost-mem): Likewise.
11129         ($(objpfx)bug-ga2-mem): Likewise.
11130         ($(objpfx)bug-glob2-mem): Likewise.
11131         * resolv/Makefile (generate): Likewise.
11132         (tests-special): Likewise.
11133         (xtests-special): Likewise.
11134         (generated): Likewise.
11135         ($(objpfx)mtrace-tst-leaks): Likewise.
11136         ($(objpfx)mtrace-tst-leaks2): Likewise.
11138         * scripts/merge-test-results.sh: New file.
11139         * Makefile (tests-special-notdir): New variable.
11140         (tests): Run merge-test-results.sh.
11141         (xtests): Likewise.
11142         * Rules (tests-special-notdir): New variable.
11143         (xtests-special-notdir): Likewise.
11144         (tests): Run merge-test-results.sh
11145         (xtests): Likewise.
11147         * Makeconfig (test-xfail-name): New variable.
11148         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11149         compute variable name for expected failures.
11150         * conform/Makefile (conformtest-headers-data): New variable.
11151         (conformtest-standards): Likewise.
11152         (conformtest-headers-ISO): Likewise.
11153         (conformtest-headers-ISO99): Likewise.
11154         (conformtest-headers-ISO11): Likewise.
11155         (conformtest-headers-POSIX): Likewise.
11156         (conformtest-headers-XPG3): Likewise.
11157         (conformtest-headers-XPG4): Likewise.
11158         (conformtest-headers-UNIX98): Likewise.
11159         (conformtest-headers-XOPEN2K): Likewise.
11160         (conformtest-headers-POSIX2008): Likewise.
11161         (conformtest-headers-XOPEN2K8): Likewise.
11162         (conformtest-header-list-base): Likewise.
11163         (conformtest-header-list-tests): Likewise.
11164         (conformtest-header-base): Likewise.
11165         (conformtest-header-tests): Likewise.
11166         (tests-special): Add $(conformtest-header-list-tests).  If
11167         [$(fast-check) && !$(cross-compiling)], add
11168         $(conformtest-header-tests) instead of
11169         $(objpfx)run-conformtest.out.
11170         (generated): Add $(conformtest-header-list-base).  If
11171         [$(fast-check) && !$(cross-compiling)], add
11172         $(conformtest-header-base).  Remove previous setting.
11173         ($(conformtest-header-list-tests)): New target.
11174         (test-xfail-run-conformtest): Remove variable.
11175         ($(objpfx)run-conformtest.out): Remove target.
11176         (test-xfail-ISO11/complex.h/conform): New variable.
11177         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11178         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11179         (test-xfail-XPG3/varargs.h/conform): Likewise.
11180         (test-xfail-XPG4/varargs.h/conform): Likewise.
11181         (test-xfail-UNIX98/varargs.h/conform): Likewise.
11182         (test-xfail-XPG4/ndbm.h/conform): Likewise.
11183         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11184         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11185         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11186         (test-xfail-XPG3/fcntl.h/conform): Likewise.
11187         (test-xfail-XPG3/ftw.h/conform): Likewise.
11188         (test-xfail-XPG3/grp.h/conform): Likewise.
11189         (test-xfail-XPG3/langinfo.h/conform): Likewise.
11190         (test-xfail-XPG3/limits.h/conform): Likewise.
11191         (test-xfail-XPG3/pwd.h/conform): Likewise.
11192         (test-xfail-XPG3/search.h/conform): Likewise.
11193         (test-xfail-XPG3/signal.h/conform): Likewise.
11194         (test-xfail-XPG3/stdio.h/conform): Likewise.
11195         (test-xfail-XPG3/stdlib.h/conform): Likewise.
11196         (test-xfail-XPG3/string.h/conform): Likewise.
11197         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11198         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11199         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11200         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11201         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11202         (test-xfail-XPG3/sys/types.h/conform): Likewise.
11203         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11204         (test-xfail-XPG3/termios.h/conform): Likewise.
11205         (test-xfail-XPG3/time.h/conform): Likewise.
11206         (test-xfail-XPG3/unistd.h/conform): Likewise.
11207         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11208         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11209         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11210         (test-xfail-XPG4/netdb.h/conform): Likewise.
11211         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11212         (test-xfail-XPG4/signal.h/conform): Likewise.
11213         (test-xfail-XPG4/stdio.h/conform): Likewise.
11214         (test-xfail-XPG4/stdlib.h/conform): Likewise.
11215         (test-xfail-XPG4/stropts.h/conform): Likewise.
11216         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11217         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11218         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11219         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11220         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11221         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11222         (test-xfail-XPG4/sys/time.h/conform): Likewise.
11223         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11224         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11225         (test-xfail-XPG4/termios.h/conform): Likewise.
11226         (test-xfail-XPG4/ucontext.h/conform): Likewise.
11227         (test-xfail-XPG4/unistd.h/conform): Likewise.
11228         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11229         (test-xfail-POSIX/sched.h/conform): Likewise.
11230         (test-xfail-POSIX/signal.h/conform): Likewise.
11231         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11232         (test-xfail-POSIX/tar.h/conform): Likewise.
11233         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11234         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11235         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11236         (test-xfail-UNIX98/netdb.h/conform): Likewise.
11237         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11238         (test-xfail-UNIX98/sched.h/conform): Likewise.
11239         (test-xfail-UNIX98/signal.h/conform): Likewise.
11240         (test-xfail-UNIX98/stdio.h/conform): Likewise.
11241         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11242         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11243         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11244         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11245         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11246         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11247         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11248         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11249         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11250         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11251         (test-xfail-UNIX98/unistd.h/conform): Likewise.
11252         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11253         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11254         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11255         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11256         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11257         (test-xfail-XOPEN2K/math.h/conform): Likewise.
11258         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11259         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11260         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11261         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11262         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11263         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11264         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11265         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11266         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11267         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11268         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11269         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11270         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11271         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11272         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11273         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11274         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11275         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11276         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11277         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11278         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11279         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11280         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11281         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11282         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11283         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11284         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11285         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11286         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11287         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11288         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11289         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11290         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11291         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11292         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11293         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11294         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11295         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11296         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11297         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11298         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11299         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11300         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11301         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11302         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11303         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11304         (conformtest-cc-flags): Likewise.
11305         ($(conformtest-header-tests): New target.
11306         * conform/check-header-lists.sh: New file.
11307         * conform/run-conformtest.sh: Remove.
11309         * conform/conformtest.pl: Allow ' and \ in values given for
11310         constants.
11311         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11312         inclusion.
11313         [POSIX] (sys/types.h): Likewise.
11314         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11315         inclusion.
11316         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11317         inclusion.
11318         * conform/data/signal.h-data (SIGIO): Remove expectation.
11319         [XPG3] (SIGBUS): Do not expect.
11320         [POSIX || XPG3] (SIGPOLL): Likewise.
11321         [POSIX || XPG3] (SIGPROF): Likewise.
11322         [POSIX || XPG3] (SIGSYS): Likewise.
11323         [XPG3] (SIGTRAP): Likewise.
11324         [POSIX || XPG3] (SIGURG): Likewise.
11325         [POSIX || XPG3] (SIGVTALRM): Likewise.
11326         [POSIX || XPG3] (SIGXCPU): Likewise.
11327         [POSIX || XPG3] (SIGXFSZ): Likewise.
11328         [POSIX] (SA_SIGINFO): Expect.
11329         [XPG3] (siginfo_t): Do not expect type or contents.
11330         [POSIX] (si_pid): Do not expect element.
11331         [POSIX] (si_uid): Likewise.
11332         [POSIX] (si_addr): Likewise.
11333         [POSIX] (si_status): Likewise.
11334         [POSIX] (si_band): Likewise.
11335         [XPG4] (si_value): Likewise.
11336         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11337         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11338         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11339         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11340         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11341         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11342         [POSIX || XPG3] (ILL_COPROC): Likewise.
11343         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11344         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11345         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11346         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11347         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11348         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11349         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11350         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11351         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11352         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11353         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11354         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11355         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11356         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11357         [POSIX || XPG3] (CLD_EXITED): Likewise.
11358         [POSIX || XPG3] (CLD_KILLED): Likewise.
11359         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11360         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11361         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11362         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11363         [POSIX || XPG3] (POLL_IN): Likewise.
11364         [POSIX || XPG3] (POLL_OUT): Likewise.
11365         [POSIX || XPG3] (POLL_MSG): Likewise.
11366         [POSIX || XPG3] (POLL_ERR): Likewise.
11367         [POSIX || XPG3] (POLL_PRI): Likewise.
11368         [POSIX || XPG3] (POLL_HUP): Likewise.
11369         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11370         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11371         (SIG*): Do not allow.
11372         [XPG3] (si_*): Likewise.
11373         [XPG3] (SI_*): Likewise.
11374         [XPG3 || XPG4] (sigev_*): Likewise.
11375         [XPG3 || XPG4] (SIGEV_*): Likewise.
11376         [XPG3 || XPG4] (sival_*): Likewise.
11377         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11378         [POSIX || XPG3] (BUS_*): Likewise.
11379         [POSIX || XPG3] (CLD_*): Likewise.
11380         [POSIX || XPG3] (FPE_*): Likewise.
11381         [POSIX || XPG3] (ILL_*): Likewise.
11382         [POSIX || XPG3] (POLL_*): Likewise.
11383         [POSIX || XPG3] (SEGV_*): Likewise.
11384         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11385         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11386         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11387         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11388         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11389         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11390         Specify type and value.
11391         (TVERSLEN): Likewise.
11392         (REGTYPE): Likewise.
11393         (AREGTYPE): Likewise.
11394         (LNKTYPE): Likewise.
11395         (SYMTYPE): Likewise.
11396         (CHRTYPE): Likewise.
11397         (BLKTYPE): Likewise.
11398         (DIRTYPE): Likewise.
11399         (FIFOTYPE): Likewise.
11400         (CONTTYPE): Likewise.
11401         (TSUID): Likewise.
11402         (TSGID): Likewise.
11403         (TSVTX): Likewise.
11404         (TUREAD): Likewise.
11405         (TUWRITE): Likewise.
11406         (TUEXEC): Likewise.
11407         (TGREAD): Likewise.
11408         (TGWRITE): Likewise.
11409         (TGEXEC): Likewise.
11410         (TOREAD): Likewise.
11411         (TOWRITE): Likewise.
11412         (TOEXEC): Likewise.
11413         [POSIX] (TSVTX): Expect constant.
11415 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11417         * Makefile (tests): Change dependencies to ....
11418         (tests-special): ... additions to this variable.
11419         (tests): Depend on $(tests-special).
11420         * Makerules (check-abi-list): New variable.
11421         (check-abi): Depend on $(check-abi-list).
11422         [$(subdir) = elf] (tests-special): Add
11423         $(objpfx)check-abi-libc.out.
11424         [$(build-shared) = yes && subdir] (tests-special): Add
11425         $(check-abi-list).
11426         [$(build-shared) = yes && subdir] (tests): Do not depend on
11427         check-abi.
11428         * Rules (tests): Depend on $(tests-special).
11429         (xtests): Depend on $(xtests-special).
11430         * catgets/Makefile (tests): Change dependencies to ....
11431         (tests-special): ... additions to this variable.
11432         * conform/Makefile (tests): Change dependencies to ....
11433         (tests-special): ... additions to this variable.
11434         * elf/Makefile (tests): Change dependencies to ....
11435         (tests-special): ... additions to this variable.
11436         * grp/Makefile (tests): Change dependencies to ....
11437         (tests-special): ... additions to this variable.
11438         * iconv/Makefile (xtests): Change dependencies to ....
11439         (xtests-special): ... additions to this variable.
11440         * iconvdata/Makefile (tests): Change dependencies to ....
11441         (tests-special): ... additions to this variable.
11442         * intl/Makefile (tests): Change dependencies to ....
11443         (tests-special): ... additions to this variable.  Also add
11444         $(objpfx)tst-gettext.out.
11445         * io/Makefile (tests): Change dependencies to ....
11446         (tests-special): ... additions to this variable.
11447         * libio/Makefile (tests): Change dependencies to ....
11448         (tests-special): ... additions to this variable.
11449         * malloc/Makefile (tests): Change dependencies to ....
11450         (tests-special): ... additions to this variable.
11451         * misc/Makefile (tests): Change dependencies to ....
11452         (tests-special): ... additions to this variable.
11453         * nptl/Makefile (tests): Change dependencies to ....
11454         (tests-special): ... additions to this variable.
11455         * nptl_db/Makefile (tests): Change dependencies to ....
11456         (tests-special): ... additions to this variable.
11457         * posix/Makefile (tests): Change dependencies to ....
11458         (tests-special): ... additions to this variable.
11459         (xtests): Change dependencies to ....
11460         (xtests-special): ... additions to this variable.
11461         * resolv/Makefile (tests): Change dependencies to ....
11462         (tests-special): ... additions to this variable.
11463         (xtests): Change dependencies to ....
11464         (xtests-special): ... additions to this variable.
11465         * stdio-common/Makefile (tests): Change dependencies to ....
11466         (tests-special): ... additions to this variable.
11467         (do-tst-unbputc): Remove target.
11468         (do-tst-printf): Likewise.
11469         * stdlib/Makefile (tests): Change dependencies to ....
11470         (tests-special): ... additions to this variable.
11471         * string/Makefile (tests): Change dependencies to ....
11472         (tests-special): ... additions to this variable.
11473         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11474         (tests-special): ... additions to this variable.
11476         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11477         whole file.
11478         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11479         whole file.
11480         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11481         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11483         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11484         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11485         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11486         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11487         * conform/data/libgen.h-data [XPG3]: Likewise.
11488         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11489         * conform/data/ndbm.h-data [XPG3]: Likewise.
11490         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11491         * conform/data/netdb.h-data [XPG3]: Likewise.
11492         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11493         * conform/data/poll.h-data [XPG3]: Likewise.
11494         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11495         * conform/data/strings.h-data [XPG3]: Likewise.
11496         * conform/data/stropts.h-data [XPG3]: Likewise.
11497         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11498         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11499         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11500         Likewise.
11501         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11502         * conform/data/sys/time.h-data [XPG3]: Likewise.
11503         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11504         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11505         * conform/data/sys/un.h-data [XPG3]: Likewise.
11506         * conform/data/syslog.h-data [XPG3]: Likewise.
11507         * conform/data/ucontext.h-data [XPG3]: Likewise.
11508         * conform/data/utmpx.h-data [XPG3]: Likewise.
11509         * conform/data/varargs.h-data [UNIX98]: Enable file.
11511         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11513         * math/libm-test.inc (struct test_f_f_data): Move expected results
11514         into structure for each rounding mode.
11515         (struct test_ff_f_data): Likewise.
11516         (struct test_ff_f_data_nexttoward): Likewise.
11517         (struct test_fi_f_data): Likewise.
11518         (struct test_fl_f_data): Likewise.
11519         (struct test_if_f_data): Likewise.
11520         (struct test_fff_f_data): Likewise.
11521         (struct test_c_f_data): Likewise.
11522         (struct test_f_f1_data): Likewise.
11523         (struct test_fF_f1_data): Likewise.
11524         (struct test_ffI_f1_data): Likewise.
11525         (struct test_c_c_data): Likewise.
11526         (struct test_cc_c_data): Likewise.
11527         (struct test_f_i_data): Likewise.
11528         (struct test_ff_i_data): Likewise.
11529         (struct test_f_l_data): Likewise.
11530         (struct test_f_L_data): Likewise.
11531         (struct test_fFF_11_data): Likewise.
11532         (RM_): New macro.
11533         (RM_FE_DOWNWARD): Likewise.
11534         (RM_FE_TONEAREST): Likewise.
11535         (RM_FE_TOWARDZERO): Likewise.
11536         (RM_FE_UPWARD): Likewise.
11537         (RUN_TEST_LOOP_f_f): Update references to expected results.
11538         (RUN_TEST_LOOP_2_f): Likewise.
11539         (RUN_TEST_LOOP_fff_f): Likewise.
11540         (RUN_TEST_LOOP_c_f): Likewise.
11541         (RUN_TEST_LOOP_f_f1): Likewise.
11542         (RUN_TEST_LOOP_fF_f1): Likewise.
11543         (RUN_TEST_LOOP_fI_f1): Likewise.
11544         (RUN_TEST_LOOP_ffI_f1): Likewise.
11545         (RUN_TEST_LOOP_c_c): Likewise.
11546         (RUN_TEST_LOOP_cc_c): Likewise.
11547         (RUN_TEST_LOOP_f_i): Likewise.
11548         (RUN_TEST_LOOP_f_i_tg): Likewise.
11549         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11550         (RUN_TEST_LOOP_f_b): Likewise.
11551         (RUN_TEST_LOOP_f_b_tg): Likewise.
11552         (RUN_TEST_LOOP_f_l): Likewise.
11553         (RUN_TEST_LOOP_f_L): Likewise.
11554         (RUN_TEST_LOOP_fFF_11): Likewise.
11555         * math/gen-libm-test.pl (parse_args): Output four copies of
11556         expected results for each test.
11558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11559         (__ASSUME_UTIMES): Remove.
11560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11561         (__ASSUME_UTIMES): Likewise.
11563         * math/gen-auto-libm-tests.c: Update comment on output format.
11564         (output_for_one_input_case): Generate before-rounding and
11565         after-rounding information as conditions on output flags not
11566         floating-point format.
11567         * math/auto-libm-test-out: Regenerated.
11568         * math/gen-libm-test.pl (cond_value): New function.
11569         (or_cond_value): Use cond_value.
11570         (generate_testfile): Handle conditional exceptions.
11572 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11574         * math/libm-test.inc (max_valid_error): New variable.
11575         (init_max_error): Take new argument specifying whether function
11576         results are exactly determined.  Set max_valid_error and bound
11577         other variables for errors based on this argument.
11578         (set_max_error): Do not record results above max_valid_error.
11579         (check_float_internal): Only accept errors of up to 0.5ulps if
11580         also at most max_valid_error.
11581         (START): Take new argument EXACT and pass it to init_max_error.
11582         (acos_test): Update call to START.
11583         (acos_test_tonearest): Likewise.
11584         (acos_test_towardzero): Likewise.
11585         (acos_test_downward): Likewise.
11586         (acos_test_upward): Likewise.
11587         (acosh_test): Likewise.
11588         (asin_test): Likewise.
11589         (asin_test_tonearest): Likewise.
11590         (asin_test_towardzero): Likewise.
11591         (asin_test_downward): Likewise.
11592         (asin_test_upward): Likewise.
11593         (asinh_test): Likewise.
11594         (atan_test): Likewise.
11595         (atanh_test): Likewise.
11596         (atan2_test): Likewise.
11597         (cabs_test): Likewise.
11598         (cacos_test): Likewise.
11599         (cacosh_test): Likewise.
11600         (carg_test): Likewise.
11601         (casin_test): Likewise.
11602         (casinh_test): Likewise.
11603         (catan_test): Likewise.
11604         (catanh_test): Likewise.
11605         (cbrt_test): Likewise.
11606         (ccos_test): Likewise.
11607         (ccosh_test): Likewise.
11608         (ceil_test): Likewise.
11609         (cexp_test): Likewise.
11610         (cimag_test): Likewise.
11611         (clog_test): Likewise.
11612         (clog10_test): Likewise.
11613         (conj_test): Likewise.
11614         (copysign_test): Likewise.
11615         (cos_test): Likewise.
11616         (cos_test_tonearest): Likewise.
11617         (cos_test_towardzero): Likewise.
11618         (cos_test_downward): Likewise.
11619         (cos_test_upward): Likewise.
11620         (cosh_test): Likewise.
11621         (cosh_test_tonearest): Likewise.
11622         (cosh_test_towardzero): Likewise.
11623         (cosh_test_downward): Likewise.
11624         (cosh_test_upward): Likewise.
11625         (cpow_test): Likewise.
11626         (cproj_test): Likewise.
11627         (creal_test): Likewise.
11628         (csin_test): Likewise.
11629         (csinh_test): Likewise.
11630         (csqrt_test): Likewise.
11631         (ctan_test): Likewise.
11632         (ctan_test_tonearest): Likewise.
11633         (ctan_test_towardzero): Likewise.
11634         (ctan_test_downward): Likewise.
11635         (ctan_test_upward): Likewise.
11636         (ctanh_test): Likewise.
11637         (ctanh_test_tonearest): Likewise.
11638         (ctanh_test_towardzero): Likewise.
11639         (ctanh_test_downward): Likewise.
11640         (ctanh_test_upward): Likewise.
11641         (erf_test): Likewise.
11642         (erfc_test): Likewise.
11643         (exp_test): Likewise.
11644         (exp_test_tonearest): Likewise.
11645         (exp_test_towardzero): Likewise.
11646         (exp_test_downward): Likewise.
11647         (exp_test_upward): Likewise.
11648         (exp10_test): Likewise.
11649         (exp10_test_tonearest): Likewise.
11650         (exp10_test_towardzero): Likewise.
11651         (exp10_test_downward): Likewise.
11652         (exp10_test_upward): Likewise.
11653         (pow10_test): Likewise.
11654         (exp2_test): Likewise.
11655         (expm1_test): Likewise.
11656         (expm1_test_tonearest): Likewise.
11657         (expm1_test_towardzero): Likewise.
11658         (expm1_test_downward): Likewise.
11659         (expm1_test_upward): Likewise.
11660         (fabs_test): Likewise.
11661         (fdim_test): Likewise.
11662         (floor_test): Likewise.
11663         (fma_test): Likewise.
11664         (fma_test_towardzero): Likewise.
11665         (fma_test_downward): Likewise.
11666         (fma_test_upward): Likewise.
11667         (fmax_test): Likewise.
11668         (fmin_test): Likewise.
11669         (fmod_test): Likewise.
11670         (fpclassify_test): Likewise.
11671         (frexp_test): Likewise.
11672         (hypot_test): Likewise.
11673         (ilogb_test): Likewise.
11674         (isfinite_test): Likewise.
11675         (finite_test): Likewise.
11676         (isgreater_test): Likewise.
11677         (isgreaterequal_test): Likewise.
11678         (isinf_test): Likewise.
11679         (isless_test): Likewise.
11680         (islessequal_test): Likewise.
11681         (islessgreater_test): Likewise.
11682         (isnan_test): Likewise.
11683         (isnormal_test): Likewise.
11684         (issignaling_test): Likewise.
11685         (isunordered_test): Likewise.
11686         (j0_test): Likewise.
11687         (j1_test): Likewise.
11688         (jn_test): Likewise.
11689         (ldexp_test): Likewise.
11690         (lgamma_test): Likewise.
11691         (gamma_test): Likewise.
11692         (lrint_test): Likewise.
11693         (lrint_test_tonearest): Likewise.
11694         (lrint_test_towardzero): Likewise.
11695         (lrint_test_downward): Likewise.
11696         (lrint_test_upward): Likewise.
11697         (llrint_test): Likewise.
11698         (llrint_test_tonearest): Likewise.
11699         (llrint_test_towardzero): Likewise.
11700         (llrint_test_downward): Likewise.
11701         (llrint_test_upward): Likewise.
11702         (log_test): Likewise.
11703         (log10_test): Likewise.
11704         (log1p_test): Likewise.
11705         (log2_test): Likewise.
11706         (logb_test): Likewise.
11707         (logb_test_downward): Likewise.
11708         (lround_test): Likewise.
11709         (llround_test): Likewise.
11710         (modf_test): Likewise.
11711         (nearbyint_test): Likewise.
11712         (nextafter_test): Likewise.
11713         (nexttoward_test): Likewise.
11714         (pow_test): Likewise.
11715         (pow_test_tonearest): Likewise.
11716         (pow_test_towardzero): Likewise.
11717         (pow_test_downward): Likewise.
11718         (pow_test_upward): Likewise.
11719         (remainder_test): Likewise.
11720         (drem_test): Likewise.
11721         (remainder_test_tonearest): Likewise.
11722         (drem_test_tonearest): Likewise.
11723         (remainder_test_towardzero): Likewise.
11724         (drem_test_towardzero): Likewise.
11725         (remainder_test_downward): Likewise.
11726         (drem_test_downward): Likewise.
11727         (remainder_test_upward): Likewise.
11728         (drem_test_upward): Likewise.
11729         (remquo_test): Likewise.
11730         (rint_test): Likewise.
11731         (rint_test_tonearest): Likewise.
11732         (rint_test_towardzero): Likewise.
11733         (rint_test_downward): Likewise.
11734         (rint_test_upward): Likewise.
11735         (round_test): Likewise.
11736         (scalb_test): Likewise.
11737         (scalbn_test): Likewise.
11738         (scalbln_test): Likewise.
11739         (signbit_test): Likewise.
11740         (sin_test): Likewise.
11741         (sin_test_tonearest): Likewise.
11742         (sin_test_towardzero): Likewise.
11743         (sin_test_downward): Likewise.
11744         (sin_test_upward): Likewise.
11745         (sincos_test): Likewise.
11746         (sinh_test): Likewise.
11747         (sinh_test_tonearest): Likewise.
11748         (sinh_test_towardzero): Likewise.
11749         (sinh_test_downward): Likewise.
11750         (sinh_test_upward): Likewise.
11751         (sqrt_test): Likewise.
11752         (sqrt_test_tonearest): Likewise.
11753         (sqrt_test_towardzero): Likewise.
11754         (sqrt_test_downward): Likewise.
11755         (sqrt_test_upward): Likewise.
11756         (tan_test): Likewise.
11757         (tan_test_tonearest): Likewise.
11758         (tan_test_towardzero): Likewise.
11759         (tan_test_downward): Likewise.
11760         (tan_test_upward): Likewise.
11761         (tanh_test): Likewise.
11762         (tgamma_test): Likewise.
11763         (trunc_test): Likewise.
11764         (y0_test): Likewise.
11765         (y1_test): Likewise.
11766         (yn_test): Likewise.
11767         (significand_test): Likewise.
11769         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11770         individual tests in comment.
11771         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11772         (prev_max_error): New variable.
11773         (prev_real_max_error): Likewise.
11774         (prev_imag_max_error): Likewise.
11775         (compare_ulp_data): Don't refer to test names in comment.
11776         (find_test_ulps): Remove function.
11777         (find_function_ulps): Likewise.
11778         (find_complex_function_ulps): Likewise.
11779         (init_max_error): Take function name as argument.  Look up ulps
11780         for that function.
11781         (print_ulps): Remove function.
11782         (print_max_error): Use prev_max_error instead of calling
11783         find_function_ulps.
11784         (print_complex_max_error): Use prev_real_max_error and
11785         prev_imag_max_error instead of calling find_complex_function_ulps.
11786         (check_float_internal): Take max_ulp parameter instead of calling
11787         find_test_ulps.  Don't call print_ulps.
11788         (check_float): Update call to check_float_internal.
11789         (check_complex): Update calls to check_float_internal.
11790         (START): Pass argument to init_max_error.
11791         * math/gen-libm-test.pl (%results): Don't include "kind"
11792         information.
11793         (parse_ulps): Don't handle ulps of individual tests.
11794         (print_ulps_file): Likewise.
11795         (output_ulps): Likewise.
11796         * math/README.libm-test: Update.
11797         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11798         individual tests.
11799         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11800         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11801         * sysdeps/arm/libm-test-ulps: Likewise.
11802         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11803         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11804         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11805         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11806         * sysdeps/microblaze/libm-test-ulps: Likewise.
11807         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11808         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11809         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11810         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11811         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11812         * sysdeps/sh/libm-test-ulps: Likewise.
11813         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11814         * sysdeps/tile/libm-test-ulps: Likewise.
11815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11817 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11819         * math/libm-test.inc (print_complex_max_error): Check separately
11820         whether real and imaginary errors are within allowed range and
11821         pass 0 to print_complex_function_ulps instead of value within
11822         allowed range.
11824 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11826         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11827         formatting.
11828         (get_handles_fopen): Likewise.
11829         (do_write_test): Likewise.
11831         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11833         * libio/fileops.c (do_ftell): Use cached offset when
11834         available.
11835         * libio/iofwide.c (do_ftell_wide): Likewise.
11836         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11837         _IO_file_attach.
11838         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11840         [BZ #16532]
11841         * libio/libioP.h (get_file_offset): New function.
11842         * libio/fileops.c (get_file_offset): Likewise.
11843         (do_ftell): Likewise.
11844         (_IO_new_file_seekoff): Split out ftell logic.
11845         * libio/wfileops.c (do_ftell_wide): Likewise.
11846         (_IO_wfile_seekoff): Split out ftell logic.
11847         * libio/tst-ftell-active-handler.c: New test case.
11848         * libio/Makefile (tests): Add it.
11850 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11852         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11853         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11855 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11857         [BZ #16639]
11858         * nscd/connections.c (nscd_init): Call do_exit.
11859         (start_threads): Call do_exit and notify_parent.
11860         (begin_drop_privileges): Call do_exit.
11861         (finish_drop_privileges): Likewise.
11862         * nscd/selinux.c (preserve_capabilities): Likewise.
11863         (install_real_capabilities): Likewise.
11864         (nscd_selinux_enabled): Likewise.
11865         (avc_create_thread): Likewise.
11866         (avc_alloc_lock): Likewise.
11867         (nscd_avc_init): Likewise.
11868         * nscd/nscd.c (parent_fd): New static variable.
11869         (main): Create a pipe between parent and child processes.
11870         Skip closing parent_fd.
11871         (monitor_child): New function.
11872         (do_exit): Likewise.
11873         (notify_parent): Likewise.
11874         * nscd/nscd.h (notify_parent): Likewise.
11875         (do_exit): Likewise.
11877 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11879         * malloc/malloc.c (__libc_calloc): Revert last change.
11881 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11885 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11887         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11889         implementation.
11890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11891         (__libc_ifunc_impl_list): Likewise.
11892         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11893         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11894         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11895         * string/strrchr.c: Define STRRCHR.
11897 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11899         * benchtest/bench-strtok.c (simple_strtok): Delete.
11900         (strtok_string): Use as benchmark.
11901         * string/strtok (STRTOK): New macro.
11903 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11905         * manual/threads.texi: Add header and standard comments to all
11906         functions.
11908         * elf/dl-lookup.c (check_match): New function.
11909         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11910         (do_lookup_x): Remove nested function check_match. Use non-nested
11911         function check_match.
11913 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11915         * csu/Makefile (generated, before-compile): Use += rather than =.
11916         * catgets/Makefile (generated, generated-dirs): Likewise.
11917         * debug/Makefile (generated): Likewise.
11918         * dlfcn/Makefile (generated): Likewise.
11919         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11920         * iconvdata/Makefile (before-compile, generated): Likewise.
11921         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11922         * libio/Makefile (generated): Likewise.
11923         * malloc/Makefile (generated): Likewise.
11924         * manual/Makefile (generated, generated-dirs): Likewise.
11925         * misc/Makefile (generated): Likewise.
11926         * posix/Makefile (generated): Likewise.
11927         * resolv/Makefile (generated): Likewise.
11928         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11929         * timezone/Makefile (generated, generated-dirs): Likewise.
11931         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11933 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11936         power8 implementation.
11937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11938         file: POWER8 llround ifunc implementation.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11940         (__lllround): Add POWER8 implementation.
11941         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11942         POWER8 llround implementation.
11944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11945         power8 implementation.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11947         file: POWER8 llrint ifunc implementation.
11948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11949         Add POWER8 implementation.
11950         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11951         POWER8 llrint implementation.
11953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11954         power8 implementation.
11955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11956         file: POWER8 finite ifunc implementation.
11957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11958         Add POWER8 implementation.
11959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11960         Likewise.
11961         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11962         POWER8 finite implementation.
11963         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11966         power8 implementation.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11968         file: POWER8 isinf ifunc implementation.
11969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11970         POWER8 implementation.
11971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11972         Likewise.
11973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11974         isinf implementation.
11975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11977         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11978         (INIT_ARCH): Add hwcap2 initialization.
11979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11980         power8 implementation.
11981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11982         file: POWER8 isnan ifunc implementation.
11983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11984         POWER8 implementation.
11985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11986         Likewise.
11987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11988         isnan implementation.
11989         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11991 2014-02-27  Joey Ye  <joey.ye@arm.com>
11993         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11994         (_FP_NANFRAC_Q): Set to zero.
11996 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11998         [BZ #16623]
11999         * math/auto-libm-test-in: New test inputs.
12000         * math/auto-libm-test-out: Regenerate.
12001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12002         and DA.
12003         (__cos): Likewise.
12004         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12006 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
12008         * scripts/evaluate-test.sh: Take new argument indicating whether
12009         failure is expected.
12010         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12011         indicating whether failure is expected.
12012         * conform/Makefile (test-xfail-run-conformtest): New variable.
12013         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12014         level.
12015         * posix/Makefile (test-xfail-annexc): New variable.
12016         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12018 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
12020         * argp/Makefile: Include Makeconfig immediately after defining
12021         subdir.
12022         * assert/Makefile: Likewise.
12023         * benchtests/Makefile: Likewise.
12024         * catgets/Makefile: Likewise.
12025         * conform/Makefile: Likewise.
12026         * crypt/Makefile: Likewise.
12027         * csu/Makefile: Likewise.
12028         (all): Remove target.
12029         * ctype/Makefile: Include Makeconfig immediately after defining
12030         subdir.
12031         * debug/Makefile: Likewise.
12032         * dirent/Makefile: Likewise.
12033         * dlfcn/Makefile: Likewise.
12034         * gmon/Makefile: Likewise.
12035         * gnulib/Makefile: Likewise.
12036         * grp/Makefile: Likewise.
12037         * gshadow/Makefile: Likewise.
12038         * hesiod/Makefile: Likewise.
12039         * hurd/Makefile: Likewise.
12040         (all): Remove target.
12041         * iconvdata/Makefile: Include Makeconfig immediately after
12042         defining subdir.
12043         * inet/Makefile: Likewise.
12044         * intl/Makefile: Likewise.
12045         * io/Makefile: Likewise.
12046         * libio/Makefile: Likewise.
12047         (all): Remove target.
12048         * locale/Makefile: Include Makeconfig immediately after defining
12049         subdir.
12050         * login/Makefile: Likewise.
12051         * mach/Makefile: Likewise.
12052         (all): Remove target.
12053         * malloc/Makefile: Include Makeconfig immediately after defining
12054         subdir.
12055         (all): Remove target.
12056         * manual/Makefile: Include Makeconfig immediately after defining
12057         subdir.
12058         * math/Makefile: Likewise.
12059         * misc/Makefile: Likewise.
12060         * nis/Makefile: Likewise.
12061         * nss/Makefile: Likewise.
12062         * po/Makefile: Likewise.
12063         (all): Remove target.
12064         * posix/Makefile: Include Makeconfig immediately after defining
12065         subdir.
12066         * pwd/Makefile: Likewise.
12067         * resolv/Makefile: Likewise.
12068         * resource/Makefile: Likewise.
12069         * rt/Makefile: Likewise.
12070         * setjmp/Makefile: Likewise.
12071         * shadow/Makefile: Likewise.
12072         * signal/Makefile: Likewise.
12073         * socket/Makefile: Likewise.
12074         * soft-fp/Makefile: Likewise.
12075         * stdio-common/Makefile: Likewise.
12076         * stdlib/Makefile: Likewise.
12077         * streams/Makefile: Likewise.
12078         * string/Makefile: Likewise.
12079         * sunrpc/Makefile: Likewise.
12080         (all): Remove target.
12081         * sysvipc/Makefile: Include Makeconfig immediately after defining
12082         subdir.
12083         * termios/Makefile: Likewise.
12084         * time/Makefile: Likewise.
12085         * timezone/Makefile: Likewise.
12086         (all): Remove target.
12087         * wcsmbs/Makefile: Include Makeconfig immediately after defining
12088         subdir.
12089         * wctype/Makefile: Likewise.
12091 2014-02-26  Steve Ellcey  <sellcey@mips.com>
12093         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12094         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12095         (libc_feholdexcept_setround_mips): Ditto.
12096         (libc_feholdsetround): New.
12097         (libc_feholdsetroundf): New.
12098         (libc_feholdsetroundl): New.
12099         (libc_feupdateenv_test_mips): New.
12100         (libc_feupdateenv_test): New.
12101         (libc_feupdateenv_testf): New.
12102         (libc_feupdateenv_testl): New.
12103         (libc_feresetround): New.
12104         (libc_feresetroundf): New.
12105         (libc_feresetroundl): New.
12106         (libc_fetestexcept_mips): New.
12107         (libc_fetestexcept): New.
12108         (libc_fetestexceptf): New.
12109         (libc_fetestexceptl): New.
12110         (HAVE_RM_CTX): New.
12111         (libc_feholdexcept_setround_mips_ctx): New.
12112         (libc_feholdexcept_setround_ctx): New.
12113         (libc_feholdexcept_setroundf_ctx): New.
12114         (libc_feholdexcept_setroundl_ctx): New.
12115         (libc_fesetenv_mips_ctx): New.
12116         (libc_fesetenv_ctx): New.
12117         (libc_fesetenv_ctxf): New.
12118         (libc_fesetenv_ctxl): New.
12119         (libc_feupdateenv_mips_ctx): New.
12120         (libc_feupdateenv_ctx): New.
12121         (libc_feupdateenvf_ctx): New.
12122         (libc_feupdateenvl_ctx): New.
12123         (libc_feholdsetround_mips_ctx): New.
12124         (libc_feholdsetround_ctx): New.
12125         (libc_feholdsetroundf_ctx): New.
12126         (libc_feholdsetroundl_ctx): New.
12127         (libc_feresetround_mips_ctx): New.
12128         (libc_feresetround_ctx): New.
12129         (libc_feresetroundf_ctx): New.
12130         (libc_feresetroundl_ctx): New.
12132 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
12134         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12136         * manual/ipc.texi: New file.
12137         * manual/Makefile (chapters): Add ipc.
12138         * manual/job.texi: Add "Inter-Process Communication" to next.
12139         * manual/process.texi: Add "Inter-Process Communication" to prev.
12141 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12145 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
12147         * malloc/malloc.c (__libc_calloc): Simplify implementation.
12149         * manual/arith.texi: Fix spaces after sentences.
12150         * manual/charset.texi: Likewise.
12151         * manual/errno.texi: Likewise.
12152         * manual/install.texi: Likewise.
12153         * manual/llio.texi: Likewise.
12154         * manual/locale.texi: Likewise.
12155         * manual/maint.texi: Likewise.
12156         * manual/math.texi: Likewise.
12157         * manual/memory.texi: Likewise.
12158         * manual/message.texi: Likewise.
12159         * manual/probes.texi: Likewise.
12160         * manual/resource.texi: Likewise.
12161         * manual/signal.texi: Likewise.
12162         * manual/socket.texi: Likewise.
12163         * manual/stdio.texi: Likewise.
12164         * manual/string.texi: Likewise.
12165         * manual/time.texi: Likewise.
12166         * manual/users.texi: Likewise.
12168 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
12170         [BZ #16632]
12171         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12172         _DEFAULT_SOURCE is defined.
12174 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
12175             Carlos O'Donell  <carlos@redhat.com>
12177         [BZ #16613]
12178         * elf/dl-tls.c (_dl_count_modids): New function.
12179         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12180         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12181         audit library and increment generation counter.
12182         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12183         * elf/tst-audit9.c: New file.
12184         * elf/tst-auditmod9a.c: New file.
12185         * elf/tst-auditmod9b.c: New file.
12186         * elf/Makefile: Add rules to build and run tst-audit9.
12188 2014-02-25  Florian Weimer  <fweimer@redhat.com>
12190         [BZ #15347]
12191         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12193 2014-02-25  Will Newton  <will.newton@linaro.org>
12195         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12196         (__longjmp): Restore sp and lr before restoring callee
12197         saved registers.  Add longjmp and longjmp_target
12198         SystemTap probe point.
12199         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12200         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12201         Define to zero to match jmpbuf layout.
12202         * sysdeps/arm/setjmp.S: Include stap-probe.h.
12203         (__sigsetjmp): Save sp and lr before saving callee
12204         saved registers.  Add setjmp SystemTap probe point.
12206 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12208         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12210 2014-02-24  Andreas Schwab  <schwab@suse.de>
12212         [BZ #15804]
12213         * elf/pldd.c (wait_for_ptrace_stop): New function.
12214         (main): Call it after attaching.
12216 2014-02-22  Roland McGrath  <roland@hack.frob.com>
12218         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12219         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12220         Versions files is now verboten.
12221         * hurd/Versions (libc: GLIBC_2.0):
12222         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12223         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12224         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12225         * mach/Versions: Likewise.
12227         * csu/Versions: Remove unused %include.
12228         * resolv/Versions: Likewise.
12230 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
12232         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12233         ($(objpfx)check-local-headers.out): Likewise.
12234         ($(objpfx)begin-end-check.out): Likewise.
12235         * Makerules (check-abi-%.out): Likewise.
12236         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12237         ($(objpfx)test2.cat): Likewise.
12238         ($(objpfx)de/libc.cat): Likewise.
12239         ($(objpfx)test-gencat.out): Likewise.
12240         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12241         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12242         ($(objpfx)noload-mem): Likewise.
12243         ($(objpfx)tst-pathopt.out): Likewise.
12244         ($(objpfx)tst-rtld-load-self.out): Likewise.
12245         ($(objpfx)tst-array1-cmp.out): Likewise.
12246         ($(objpfx)tst-array1-static-cmp.out): Likewise.
12247         ($(objpfx)tst-array2-cmp.out): Likewise.
12248         ($(objpfx)tst-array3-cmp.out): Likewise.
12249         ($(objpfx)tst-array4-cmp.out): Likewise.
12250         ($(objpfx)tst-array5-cmp.out): Likewise.
12251         ($(objpfx)tst-array5-static-cmp.out): Likewise.
12252         ($(objpfx)check-textrel.out): Likewise.
12253         ($(objpfx)check-execstack.out): Likewise.
12254         ($(objpfx)check-localplt.out): Likewise.
12255         ($(objpfx)order2-cmp.out): Likewise.
12256         ($(objpfx)tst-leaks1-mem): Likewise.
12257         ($(objpfx)tst-leaks1-static-mem): Likewise.
12258         ($(objpfx)tst-initorder-cmp.out): Likewise.
12259         ($(objpfx)tst-initorder2-cmp.out): Likewise.
12260         ($(objpfx)tst-unused-dep.out): Likewise.
12261         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12262         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12263         * iconv/Makefile (test-iconvconfig): Likewise.
12264         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12265         ($(objpfx)iconv-test.out): Likewise.
12266         ($(objpfx)tst-tables.out): Likewise.
12267         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12268         ($(objpfx)tst-gettext.out): Likewise.
12269         ($(objpfx)tst-translit.out): Likewise.
12270         ($(objpfx)tst-gettext2.out): Likewise.
12271         ($(objpfx)tst-gettext4.out): Likewise.
12272         ($(objpfx)tst-gettext6.out): Likewise.
12273         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12274         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12275         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12276         ($(objpfx)tst-fopenloc-mem.out): Likewise.
12277         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12278         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12279         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12280         ($(objpfx)wordexp-tst.out): Likewise.
12281         ($(objpfx)annexc.out): Likewise.
12282         ($(objpfx)tst-fnmatch-mem): Likewise.
12283         ($(objpfx)bug-regex2-mem): Likewise.
12284         ($(objpfx)bug-regex14-mem): Likewise.
12285         ($(objpfx)bug-regex21-mem): Likewise.
12286         ($(objpfx)bug-regex31-mem): Likewise.
12287         ($(objpfx)tst-vfork3-mem): Likewise.
12288         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12289         ($(objpfx)tst-pcre-mem): Likewise.
12290         ($(objpfx)tst-boost-mem): Likewise.
12291         ($(objpfx)tst-getconf.out): Likewise.
12292         ($(objpfx)bug-ga2-mem): Likewise.
12293         ($(objpfx)bug-glob2-mem): Likewise.
12294         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12295         ($(objpfx)mtrace-tst-leaks2): Likewise.
12296         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12297         ($(objpfx)tst-printf.out): Likewise.
12298         ($(objpfx)tst-setvbuf1.out): Likewise.
12299         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12300         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12301         ($(objpfx)tst-fmtmsg.out): Likewise.
12302         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12303         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12305         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12306         * bits/sigaction.h [__USE_MISC]: Likewise.
12307         * bits/waitstatus.h: Update #endif comments.
12308         * ctype/ctype.h: Likewise.
12309         * dirent/dirent.h: Likewise.
12310         [__USE_MISC]: Remove redundant conditionals.
12311         * grp/grp.h: Update #endif comments.
12312         [__USE_GNU]: Remove redundant conditionals.
12313         [__USE_MISC]: Likewise.
12314         * inet/netinet/in.h [__USE_GNU]: Likewise.
12315         * io/sys/stat.h [__USE_MISC]: Likewise.
12316         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12317         * libio/bits/stdio.h: Update #endif comments.
12318         [__USE_MISC]: Remove redundant conditionals.
12319         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12320         * libio/stdio.h: Update #endif comments.
12321         [__USE_MISC]: Remove redundant conditionals.
12322         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12323         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12324         * math/math.h: Update #else and #endif comments.
12325         [__USE_MISC]: Remove redundant conditionals.
12326         * misc/sys/uio.h: Update #endif comments.
12327         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12328         * posix/glob.h [__USE_MISC]: Likewise.
12329         * posix/sys/types.h: Update #endif comments.
12330         [__USE_MISC]: Remove redundant conditionals.
12331         * posix/sys/wait.h: Update #endif comments.
12332         [__USE_MISC]: Remove redundant conditionals.
12333         * posix/unistd.h: Update #endif comments.
12334         [__USE_MISC]: Remove redundant conditionals.
12335         * pwd/pwd.h [__USE_GNU]: Likewise.
12336         [__USE_MISC]: Likewise.
12337         * resolv/netdb.h [__USE_GNU]: Likewise.
12338         * signal/signal.h: Update #endif comments.
12339         [__USE_MISC]: Remove redundant conditionals.
12340         * stdlib/stdlib.h: Update #else and #endif comments.
12341         [__USE_MISC]: Remove redundant conditionals.
12342         [__USE_GNU]: Likewise.
12343         * string/bits/string2.h [__USE_MISC]: Likewise.
12344         * string/string.h: Update #endif comments.
12345         [__USE_MISC]: Remove redundant conditionals.
12346         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12347         Likewise.
12348         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12349         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12350         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12351         Likewise.
12352         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12353         Likewise.
12354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12355         comments.
12356         [__USE_MISC]: Remove redundant conditionals.
12357         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12358         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12359         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12360         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12361         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12362         Likewise.
12363         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12364         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12365         Likewise.
12366         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12367         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12368         Likewise.
12369         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12370         Likewise.
12371         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12372         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12373         Likewise.
12374         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12375         Likewise.
12376         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12377         * sysdeps/x86/bits/string.h: Update #endif comments.
12378         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12379         conditionals.
12380         * time/sys/time.h: Update #endif comments.
12381         * time/time.h: Likewise.
12382         [__USE_MISC]: Remove redundant conditionals.
12384 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12386         [BZ #16600]
12387         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12389 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12391         * Versions.def (librt): Add GLIBC_2.17.
12393 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12395         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12396         synonym for _SYS_AUXV_H to allow direct inclusion.
12397         * sysdeps/sparc/bits/hwcap.h: Likewise.
12398         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12399         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12400         * sysdeps/sparc/sysdep.h: Likewise.
12402 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12404         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12406 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12408         * benchtests/bench-strrchr.c: Print length instead of position.
12410 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #16611]
12413         * sysdeps/unix/sysv/linux/kernel-features.h
12414         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12415         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12416         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12417         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12418         Likewise.
12419         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12420         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12421         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12422         (__ASSUME_SENDMMSG): Define instead of using previous
12423         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12424         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12425         (__ASSUME_SENDMMSG_SYSCALL): Define.
12426         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12427         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12428         Likewise.
12429         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12431         Likewise.
12432         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12433         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12436         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12437         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12438         [__ASSUME_SENDMMSG]: Change conditionals to
12439         [__ASSUME_SENDMMSG_SOCKETCALL].
12440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12441         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12442         Define.
12443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12444         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12445         Likewise.
12446         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12447         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12448         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12449         [!__ASSUME_SENDMMSG]: Change conditional to
12450         [!__ASSUME_SENDMMSG_SOCKETCALL].
12451         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12452         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12453         Define.
12455         [BZ #16610]
12456         * sysdeps/unix/sysv/linux/kernel-features.h
12457         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12458         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12459         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12460         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12461         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12462         [__i386__ || __sparc__]
12463         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12464         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12465         (__ASSUME_RECVMMSG): Define instead of using previous
12466         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12467         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12468         (__ASSUME_RECVMMSG_SYSCALL): Define.
12469         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12471         Likewise.
12472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12477         Likewise.
12478         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12479         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12480         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12481         [__ASSUME_RECVMMSG]: Change condition to
12482         [__ASSUME_RECVMMSG_SOCKETCALL].
12483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12484         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12485         Define.
12486         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12489         Likewise.
12490         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12491         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12492         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12493         [!__ASSUME_RECVMMSG]: Change condition to
12494         [!__ASSUME_RECVMMSG_SOCKETCALL].
12495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12496         (__ASSUME_RECVMMSG_SYSCALL): Define.
12498         [BZ #16609]
12499         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12500         __powerpc__ || __s390__ || __sh__ || __sparc__]
12501         (__ASSUME_SOCKETCALL): Define.
12502         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12503         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12504         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12505         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12506         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12507         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12508         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12509         (__ASSUME_ACCEPT4): Define instead of using previous
12510         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12511         __powerpc__ || __sparc__ || __s390__)] condition.
12512         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12513         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12514         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12515         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12516         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12517         [!__ASSUME_ACCEPT4]: Change condition to
12518         [!__ASSUME_ACCEPT4_SOCKETCALL].
12519         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12520         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12521         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12522         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12523         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12524         __ASSUME_ACCEPT4_SYSCALL.
12525         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12526         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12527         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12528         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12529         __ASSUME_ACCEPT4_SYSCALL.
12530         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12531         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12532         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12533         [__ASSUME_ACCEPT4]: Change condition to
12534         [__ASSUME_ACCEPT4_SOCKETCALL].
12535         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12536         (__ASSUME_SOCKETCALL): Define.
12537         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12539         (__ASSUME_SOCKETCALL): Define.
12540         (__ASSUME_ACCEPT4): Remove.
12541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12542         Define.
12543         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12544         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12547         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12549         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12550         macro.
12551         (HWCAP_ARM_LPAE): Likewise.
12552         (HWCAP_ARM_EVTSTRM): Likewise.
12553         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12554         Add vpfd32, lpae and evtstrm.
12555         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12556         Increase to 22.
12558 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12560         * math/auto-libm-test-in: Add tests of clog10.
12561         * math/auto-libm-test-out: Regenerated.
12562         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12563         * sysdeps/i386/fpu/libm-test-ulps: Update.
12564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12566 2014-02-18  Andreas Schwab  <schwab@suse.de>
12568         [BZ #16574]
12569         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12570         Store non-zero if the second buffer was newly allocated.
12571         (send_dg): Likewise.
12572         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12573         to send_vc and send_dg.
12574         (res_nsend): Pass NULL for ansp2_malloced.
12575         * resolv/res_query.c (__libc_res_nquery): Add parameter
12576         answerp2_malloced and pass it down to __libc_res_nsend.
12577         (res_nquery): Pass additional NULL to __libc_res_nquery.
12578         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12579         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12580         second answer buffer if answerp2_malloced was set.
12581         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12582         (__libc_res_nquerydomain): Add parameter
12583         answerp2_malloced and pass it down to __libc_res_nquery.
12584         (res_nquerydomain): Pass additional NULL to
12585         __libc_res_nquerydomain.
12586         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12587         additional NULL to __libc_res_nsend and __libc_res_nquery.
12588         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12589         additional NULL to __libc_res_nsearch.
12590         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12591         parameter of __libc_res_nsearch to check for separately allocated
12592         second buffer.
12593         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12594         __libc_res_nquery.
12595         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12596         additional NULL to __libc_res_nquery.
12597         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12598         __libc_res_nsearch.
12599         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12600         * include/resolv.h: Update prototypes of __libc_res_nquery,
12601         __libc_res_nsearch, __libc_res_nsend.
12603 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12605         * math/auto-libm-test-in: Add tests of fma.
12606         * math/auto-libm-test-out: Regenerated.
12607         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12608         (fma_towardzero_test_data): Likewise.
12609         (fma_downward_test_data): Likewise.
12610         (fma_upward_test_data): Likewise.
12611         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12612         mpc_mode.
12613         (rounding_modes): Add values for new field.
12614         (func_calc_method): Add value mpfr_fff_f.
12615         (func_calc_desc): Add mpfr_fff_f union field.
12616         (test_function): Add field exact_args.
12617         (FUNC): Add macro argument EXACT_ARGS.
12618         (FUNC_mpfr_f_f): Update call to FUNC.
12619         (FUNC_mpfr_f_f): Likewise.
12620         (FUNC_mpfr_ff_f): Likewise.
12621         (FUNC_mpfr_if_f): Likewise.
12622         (FUNC_mpc_c_f): Likewise.
12623         (FUNC_mpc_c_c): Likewise.
12624         (test_functions): Add fma.  Update calls to FUNC.
12625         (handle_input_arg): Add argument exact_args.
12626         (add_test): Update call to handle_input_arg.
12627         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12628         (output_for_one_input_case): Update call to calc_generic_results.
12629         Recalculate exact zero results in each rounding mode.
12631         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12632         non-negative before setting low bit.
12633         * math/auto-libm-test-in: Mark one asin test possibly having
12634         spurious underflow.
12635         * math/auto-libm-test-out: Regenerated.
12636         * sysdeps/i386/fpu/libm-test-ulps: Update.
12637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12641         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12642         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12643         ports/sysdeps/unix/sysv/linux/microblaze.
12644         * README: Add missing listing for microblaze*-*-linux-gnu.
12646 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12648         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12649         duplicate code
12651 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12653         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12654         * sysdeps/unix/sysv/linux/ia64: Move directory from
12655         ports/sysdeps/unix/sysv/linux/ia64.
12656         * README: Update listing for ia64-*-linux-gnu.
12658 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12659             Joseph Myers  <joseph@codesourcery.com>
12661         * Makeconfig (test-name): New variable.
12662         (evaluate-test): Likewise.
12663         * Makerules (do-test-clean): Remove .test-result files.
12664         (common-mostlyclean): Likewise.
12665         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12666         * scripts/evaluate-test.sh: New file.
12668 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12670         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12671         separate $(objpfx)tst-fopenloc-cmp.out and
12672         $(objpfx)tst-fopenloc-mem.out targets.
12673         (tests): Update dependencies.
12674         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12675         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12676         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12677         (tst-rxspencer-no-utf8-ARGS): New variable.
12678         (tst-rxspencer-no-utf8-ENV): Likewise.
12679         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12680         instead of $(objpfx)tst-rxspencer-mem.
12681         ($(objpfx)tst-rxspencer-mem): Change target to
12682         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12683         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12684         * posix/tst-rxspencer-no-utf8.c: New file.
12686         * elf/Makefile ($(objpfx)order.out): Remove rule.
12687         [$(run-built-tests) = yes] (tests): Depend on
12688         $(objpfx)order-cmp.out.
12689         ($(objpfx)order-cmp.out): New rule.
12690         [$(run-built-tests) = yes] (tests): Depend on
12691         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12692         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12693         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12694         $(objpfx)tst-array5-static-cmp.out.
12695         ($(objpfx)tst-array1.out): Remove rule.
12696         ($(objpfx)tst-array1-cmp.out): New rule.
12697         ($(objpfx)tst-array1-static.out): Remove rule.
12698         ($(objpfx)tst-array1-static-cmp.out): New rule.
12699         ($(objpfx)tst-array2.out): Remove rule.
12700         ($(objpfx)tst-array2-cmp.out): New rule.
12701         ($(objpfx)tst-array3.out): Remove rule.
12702         ($(objpfx)tst-array3-cmp.out): New rule.
12703         ($(objpfx)tst-array4.out): Remove rule.
12704         ($(objpfx)tst-array4-cmp.out): New rule.
12705         ($(objpfx)tst-array5.out): Remove rule.
12706         ($(objpfx)tst-array5-cmp.out): New rule.
12707         ($(objpfx)tst-array5-static.out): Remove rule.
12708         ($(objpfx)tst-array5-static-cmp.out): New rule.
12709         [$(run-built-tests) = yes] (tests): Depend on
12710         $(objpfx)order2-cmp.out.
12711         ($(objpfx)order2.out): Remove rule.
12712         ($(objpfx)order2-cmp.out): New rule.
12713         ($(objpfx)tst-initorder.out): Remove rule.
12714         [$(run-built-tests) = yes] (tests): Depend on
12715         $(objpfx)tst-initorder-cmp.out.
12716         ($(objpfx)tst-initorder-cmp.out): New rule.
12717         ($(objpfx)tst-initorder2.out): Remove rule.
12718         [$(run-built-tests) = yes] (tests): Depend on
12719         $(objpfx)tst-initorder2-cmp.out.
12720         ($(objpfx)tst-initorder2-cmp.out): New rule.
12721         [$(run-built-tests) = yes] (tests): Depend on
12722         $(objpfx)tst-unused-dep-cmp.out.
12723         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12724         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12725         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12726         on $(objpfx)tst-setvbuf1-cmp.out.
12727         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12728         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12729         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12730         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12731         ($(objpfx)tst-svc.out): Remove rule.
12732         ($(objpfx)tst-svc-cmp.out): New rule.
12734 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12736         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12737         * ctype/ctype.h [__USE_MISC]: Likewise.
12738         * dirent/dirent.h [__USE_MISC]: Likewise.
12739         * grp/grp.h [__USE_MISC]: Likewise.
12740         * io/fcntl.h [__USE_MISC]: Likewise.
12741         * io/sys/stat.h [__USE_MISC]: Likewise.
12742         * libio/stdio.h [__USE_MISC]: Likewise.
12743         * posix/unistd.h [__USE_MISC]: Likewise.
12744         * pwd/pwd.h [__USE_MISC]: Likewise.
12745         * stdlib.h [__USE_MISC]: Likewise.
12746         * string/bits/string2.h [__USE_MISC]: Likewise.
12747         * string/string.h [__USE_MISC]: Likewise.
12748         * time/time.h [__USE_MISC]: Likewise.
12750 2014-02-13  Andreas Schwab  <schwab@suse.de>
12752         [BZ #16574]
12753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12754         second answer buffer if it was separately allocated.
12756 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12758         * sysdeps/mips/math-tests.h: Include <features.h>.
12759         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12760         (ROUNDING_TESTS_long_double): Do not define.
12761         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12762         (EXCEPTION_TESTS_long_double): Likewise.
12763         * sysdeps/mips/mips64/libm-test-ulps: Update.
12765         * include/features.h (__USE_BSD): Remove macro definitions.
12766         (__USE_SVID): Likewise.
12767         (_BSD_SOURCE): Likewise.
12768         (_SVID_SOURCE): Likewise.
12769         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12770         from definition of _DEFAULT_SOURCE.
12771         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12772         [_DEFAULT_SOURCE].
12773         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12774         * bits/mman.h [__USE_BSD]: Likewise.
12775         * bits/termios.h [__USE_BSD]: Likewise.
12776         * bits/waitstatus.h [__USE_BSD]: Likewise.
12777         * ctype/ctype.h [__USE_SVID]: Likewise.
12778         * dirent/dirent.h [__USE_BSD]: Likewise.
12779         * grp/grp.h [__USE_SVID]: Likewise.
12780         [__USE_BSD]: Likewise.
12781         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12782         * io/fcntl.h [__USE_BSD]: Likewise.
12783         * io/ftw.h [__USE_BSD]: Likewise.
12784         * io/sys/stat.h [__USE_BSD]: Likewise.
12785         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12786         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12787         * libio/stdio.h [__USE_SVID]: Likewise.
12788         [__USE_BSD]: Likewise.
12789         * math/math.h [__USE_SVID]: Likewise.
12790         [__USE_BSD]: Likewise.
12791         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12792         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12793         * misc/search.h [__USE_SVID]: Likewise.
12794         * misc/sys/mman.h [__USE_BSD]: Likewise.
12795         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12796         * misc/sys/uio.h [__USE_BSD]: Likewise.
12797         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12798         * posix/glob.h [__USE_BSD]: Likewise.
12799         * posix/regex.h [__USE_BSD]: Likewise.
12800         * posix/sys/types.h [__USE_BSD]: Likewise.
12801         [__USE_SVID]: Likewise.
12802         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12803         * posix/sys/wait.h [__USE_BSD]: Likewise.
12804         [__USE_SVID]: Likewise.
12805         * posix/unistd.h [__USE_BSD]: Likewise.
12806         [__USE_SVID]: Likewise.
12807         * pwd/pwd.h [__USE_SVID]: Likewise.
12808         * resolv/netdb.h [__USE_BSD]: Likewise.
12809         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12810         * signal/signal.h [__USE_BSD]: Likewise.
12811         [__USE_SVID]: Likewise.
12812         * socket/sys/socket.h [__USE_BSD]: Likewise.
12813         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12814         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12815         [__USE_SVID]: Likewise.
12816         * string/bits/string2.h [__USE_BSD]: Likewise.
12817         [__USE_SVID]: Likewise.
12818         * string/bits/string3.h [__USE_BSD]: Likewise.
12819         * string/endian.h [__USE_BSD]: Likewise.
12820         * string/string.h [__USE_SVID]: Likewise.
12821         [__USE_BSD]: Likewise.
12822         * string/strings.h [__USE_BSD]: Likewise.
12823         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12824         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12825         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12826         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12827         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12828         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12829         Likewise.
12830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12831         Likewise.
12832         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12833         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12834         Likewise.
12835         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12836         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12837         Likewise.
12838         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12839         Likewise.
12840         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12841         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12842         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12845         Likewise.
12846         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12847         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12848         * termios/termios.h [__USE_BSD]: Likewise.
12849         * time/sys/time.h [__USE_BSD]: Likewise.
12850         * time/time.h [__USE_BSD]: Likewise.
12851         [__USE_SVID]: Likewise.
12853         * Makefile (subdir_targets): Remove subdir_lint.out.
12855         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12856         (do-tst-printf): Likewise.
12857         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12858         $(objpfx)tst-printf.out.
12860         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12862         * Makerules (check-abi-%): Change target to
12863         $(objpfx)check-abi-%.out.
12864         (check-abi target): Update dependencies.
12865         (check-abi-pattern variable): Redirect output of diff to $@.
12866         (check-abi variable): Likewise.
12867         * elf/Makefile (check-abi): Update dependencies.
12869         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12870         unused.
12871         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12872         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12873         subnormal range.
12874         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12875         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12876         value has largest subnormal exponent.
12877         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12878         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12879         * sysdeps/aarch64/soft-fp/sfp-machine.h
12880         (_FP_TININESS_AFTER_ROUNDING): New macro.
12881         * sysdeps/alpha/soft-fp/sfp-machine.h
12882         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12883         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12884         Likewise.
12885         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12886         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12887         * sysdeps/mips/soft-fp/sfp-machine.h
12888         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12889         * sysdeps/powerpc/soft-fp/sfp-machine.h
12890         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12891         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12892         Likewise.
12893         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12894         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12895         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12896         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12897         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12898         Likewise.
12900 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12902         [BZ #16545]
12903         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12904         model 1.
12906 2014-02-12  Richard Henderson  <rth@redhat.com>
12908         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12909         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12910         * sysdeps/unix/sysv/linux/alpha: Move directory from
12911         ports/sysdeps/unix/sysv/linux/alpha.
12912         * README: Update listing for alpha-*-linux-gnu.
12914 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12916         * include/features.h: Update comment documenting feature test
12917         macros.
12918         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12919         _DEFAULT_SOURCE.
12920         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12921         (_SVID_SOURCE): Likewise.
12922         (_DEFAULT_SOURCE): Update description of default features.
12923         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12924         with _GNU_SOURCE.
12925         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12926         (S_ISVTX): Likewise.
12927         * manual/math.texi (Mathematical Constants): Likewise.
12928         * manual/signal.texi (Interrupted Primitives): Likewise.
12929         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12930         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12931         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12932         Don't refer to _SVID_SOURCE in warning text.
12934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12936         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12937         already defined.
12938         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12939         * sysdeps/mips/dl-lookup.c: Remove.
12940         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12942 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12944         [BZ #16447]
12945         * math/auto-libm-test-in: Add testcase for expl.
12946         * math/auto-libm-test-out: Regenerate.
12947         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12948         calculation of unsafe.
12949         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12951 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12953         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12954         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12955         ports/sysdeps/unix/sysv/linux/aarch64.
12956         * README: Update listing for aarch64*-*-linux-gnu.
12958 2014-02-11  Will Newton  <will.newton@linaro.org>
12960         * manual/probes.texi (Mathematical Function Probes): Use
12961         "triggered" instead of "hit".
12963         * manual/probes.texi (Internal Probes): Add documentation
12964         of setjmp, longjmp and longjmp_target probes.
12966         * include/stap-probe.h: Add comment about probe argument
12967         format.
12969         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12970         definition.  (tr_where, tr_freehook, tr_mallochook,
12971         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12973 2014-02-11  David S. Miller  <davem@davemloft.net>
12975         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12976         processing int_tests.
12978 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12980         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12981         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12982         * sysdeps/unix/sysv/linux/mips: Move directory from
12983         ports/sysdeps/unix/sysv/linux/mips.
12984         * README: Update listing for mips-*-linux-gnu and
12985         mips64-*-linux-gnu.
12987 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12989         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12990         * sysdeps/unix/sysv/linux/m68k: Move directory from
12991         ports/sysdeps/unix/sysv/linux/m68k.
12992         * README: Update listing for m68k-*-linux-gnu.
12994 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12996         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12997         * sysdeps/unix/sysv/linux/generic: Move directory from
12998         ports/sysdeps/unix/sysv/linux/generic.
12999         * sysdeps/unix/sysv/linux/tile: Move directory from
13000         ports/sysdeps/unix/sysv/linux/tile.
13001         * README: Update listing for tile*-*-linux-gnu.
13003 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
13005         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13006         __builtin_expect.
13007         * benchtests/bench-memmem.c (simple_memmem): Likewise.
13008         * catgets/open_catalog.c (__open_catalog): Likewise.
13009         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13010         * debug/confstr_chk.c: Likewise.
13011         * debug/fread_chk.c (__fread_chk): Likewise.
13012         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13013         * debug/getgroups_chk.c: Likewise.
13014         * debug/mbsnrtowcs_chk.c: Likewise.
13015         * debug/mbsrtowcs_chk.c: Likewise.
13016         * debug/mbstowcs_chk.c: Likewise.
13017         * debug/memcpy_chk.c: Likewise.
13018         * debug/memmove_chk.c: Likewise.
13019         * debug/mempcpy_chk.c: Likewise.
13020         * debug/memset_chk.c: Likewise.
13021         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13022         * debug/strcat_chk.c (__strcat_chk): Likewise.
13023         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13024         * debug/strncat_chk.c (__strncat_chk): Likewise.
13025         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13026         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13027         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13028         * debug/wcpncpy_chk.c: Likewise.
13029         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13030         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13031         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13032         * debug/wcsncpy_chk.c: Likewise.
13033         * debug/wcsnrtombs_chk.c: Likewise.
13034         * debug/wcsrtombs_chk.c: Likewise.
13035         * debug/wcstombs_chk.c: Likewise.
13036         * debug/wmemcpy_chk.c: Likewise.
13037         * debug/wmemmove_chk.c: Likewise.
13038         * debug/wmempcpy_chk.c: Likewise.
13039         * debug/wmemset_chk.c: Likewise.
13040         * dirent/scandirat.c (SCANDIRAT): Likewise.
13041         * dlfcn/dladdr1.c (dladdr1): Likewise.
13042         * dlfcn/dladdr.c (dladdr): Likewise.
13043         * dlfcn/dlclose.c (dlclose_doit): Likewise.
13044         * dlfcn/dlerror.c (__dlerror): Likewise.
13045         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13046         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13047         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13048         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13049         * dlfcn/dlsym.c (dlsym_doit): Likewise.
13050         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13051         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13052         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13053         Likewise.
13054         * elf/dl-conflict.c: Likewise.
13055         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13056         * elf/dl-dst.h: Likewise.
13057         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13058         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13059         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13060         * elf/dl-init.c (call_init, _dl_init): Likewise.
13061         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13062         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13063         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13064         Likewise.
13065         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13066         Likewise.
13067         * elf/dl-minimal.c (__libc_memalign): Likewise.
13068         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13069         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13070         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13071         * elf/dl-sym.c (do_sym): Likewise.
13072         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13073         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13074         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13075         * elf/dl-writev.h (_dl_writev): Likewise.
13076         * elf/ldconfig.c (search_dir): Likewise.
13077         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13078         (dl_main): Likewise.
13079         * elf/setup-vdso.h (setup_vdso): Likewise.
13080         * grp/compat-initgroups.c (compat_call): Likewise.
13081         * grp/fgetgrent.c (fgetgrent): Likewise.
13082         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13083         * grp/putgrent.c (putgrent): Likewise.
13084         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13085         Likewise.
13086         * hurd/hurdinit.c: Likewise.
13087         * iconvdata/8bit-gap.c (struct): Likewise.
13088         * iconvdata/ansi_x3.110.c : Likewise.
13089         * iconvdata/big5.c : Likewise.
13090         * iconvdata/big5hkscs.c : Likewise.
13091         * iconvdata/cp1255.c: Likewise.
13092         * iconvdata/cp1258.c : Likewise.
13093         * iconvdata/cp932.c : Likewise.
13094         * iconvdata/euc-cn.c: Likewise.
13095         * iconvdata/euc-jisx0213.c : Likewise.
13096         * iconvdata/euc-jp.c: Likewise.
13097         * iconvdata/euc-jp-ms.c : Likewise.
13098         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13099         * iconvdata/gb18030.c : Likewise.
13100         * iconvdata/gbbig5.c (const): Likewise.
13101         * iconvdata/gbgbk.c: Likewise.
13102         * iconvdata/gbk.c : Likewise.
13103         * iconvdata/ibm1364.c : Likewise.
13104         * iconvdata/ibm930.c : Likewise.
13105         * iconvdata/ibm932.c: Likewise.
13106         * iconvdata/ibm933.c : Likewise.
13107         * iconvdata/ibm935.c : Likewise.
13108         * iconvdata/ibm937.c : Likewise.
13109         * iconvdata/ibm939.c : Likewise.
13110         * iconvdata/ibm943.c: Likewise.
13111         * iconvdata/iso_11548-1.c: Likewise.
13112         * iconvdata/iso-2022-cn.c : Likewise.
13113         * iconvdata/iso-2022-cn-ext.c : Likewise.
13114         * iconvdata/iso-2022-jp-3.c: Likewise.
13115         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13116         * iconvdata/iso-2022-kr.c : Likewise.
13117         * iconvdata/iso646.c (gconv_end): Likewise.
13118         * iconvdata/iso_6937-2.c : Likewise.
13119         * iconvdata/iso_6937.c : Likewise.
13120         * iconvdata/iso8859-1.c: Likewise.
13121         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13122         * iconvdata/shift_jisx0213.c : Likewise.
13123         * iconvdata/sjis.c : Likewise.
13124         * iconvdata/t.61.c : Likewise.
13125         * iconvdata/tcvn5712-1.c : Likewise.
13126         * iconvdata/tscii.c: Likewise.
13127         * iconvdata/uhc.c : Likewise.
13128         * iconvdata/unicode.c (gconv_end): Likewise.
13129         * iconvdata/utf-16.c (gconv_end): Likewise.
13130         * iconvdata/utf-32.c (gconv_end): Likewise.
13131         * iconvdata/utf-7.c (base64): Likewise.
13132         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13133         * iconv/gconv_close.c (__gconv_close): Likewise.
13134         * iconv/gconv_open.c (__gconv_open): Likewise.
13135         * iconv/gconv_simple.c (internal_ucs4_loop_single)
13136         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13137         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13138         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13139         (ucs4le_internal_loop_single): Likewise.
13140         * iconv/iconv.c (iconv): Likewise.
13141         * iconv/iconv_close.c: Likewise.
13142         * iconv/loop.c (SINGLE): Likewise.
13143         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13144         * include/atomic.h: Likewise.
13145         * inet/inet6_option.c (option_alloc): Likewise.
13146         * intl/bindtextdom.c (set_binding_values): Likewise.
13147         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13148         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13149         * intl/localealias.c (read_alias_file): Likewise.
13150         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13151         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13152         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13153         * libio/fmemopen.c (fmemopen): Likewise.
13154         * libio/iofgets.c (_IO_fgets): Likewise.
13155         * libio/iofgets_u.c (fgets_unlocked): Likewise.
13156         * libio/iofgetws.c (fgetws): Likewise.
13157         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13158         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13159         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13160         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13161         * locale/findlocale.c (_nl_find_locale): Likewise.
13162         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13163         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13164         Likewise.
13165         * locale/setlocale.c (setlocale): Likewise.
13166         * login/programs/pt_chown.c (main): Likewise.
13167         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13168         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13169         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13170         (mmap, mmap64, mremap, munmap): Likewise.
13171         * math/e_exp2l.c: Likewise.
13172         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13173         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13174         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13175         * math/s_catan.c (__catan): Likewise.
13176         * math/s_catanf.c (__catanf): Likewise.
13177         * math/s_catanh.c (__catanh): Likewise.
13178         * math/s_catanhf.c (__catanhf): Likewise.
13179         * math/s_catanhl.c (__catanhl): Likewise.
13180         * math/s_catanl.c (__catanl): Likewise.
13181         * math/s_ccosh.c (__ccosh): Likewise.
13182         * math/s_ccoshf.c (__ccoshf): Likewise.
13183         * math/s_ccoshl.c (__ccoshl): Likewise.
13184         * math/s_cexp.c (__cexp): Likewise.
13185         * math/s_cexpf.c (__cexpf): Likewise.
13186         * math/s_cexpl.c (__cexpl): Likewise.
13187         * math/s_clog10.c (__clog10): Likewise.
13188         * math/s_clog10f.c (__clog10f): Likewise.
13189         * math/s_clog10l.c (__clog10l): Likewise.
13190         * math/s_clog.c (__clog): Likewise.
13191         * math/s_clogf.c (__clogf): Likewise.
13192         * math/s_clogl.c (__clogl): Likewise.
13193         * math/s_csin.c (__csin): Likewise.
13194         * math/s_csinf.c (__csinf): Likewise.
13195         * math/s_csinh.c (__csinh): Likewise.
13196         * math/s_csinhf.c (__csinhf): Likewise.
13197         * math/s_csinhl.c (__csinhl): Likewise.
13198         * math/s_csinl.c (__csinl): Likewise.
13199         * math/s_csqrt.c (__csqrt): Likewise.
13200         * math/s_csqrtf.c (__csqrtf): Likewise.
13201         * math/s_csqrtl.c (__csqrtl): Likewise.
13202         * math/s_ctan.c (__ctan): Likewise.
13203         * math/s_ctanf.c (__ctanf): Likewise.
13204         * math/s_ctanh.c (__ctanh): Likewise.
13205         * math/s_ctanhf.c (__ctanhf): Likewise.
13206         * math/s_ctanhl.c (__ctanhl): Likewise.
13207         * math/s_ctanl.c (__ctanl): Likewise.
13208         * math/w_pow.c: Likewise.
13209         * math/w_powf.c: Likewise.
13210         * math/w_powl.c: Likewise.
13211         * math/w_scalb.c (sysv_scalb): Likewise.
13212         * math/w_scalbf.c (sysv_scalbf): Likewise.
13213         * math/w_scalbl.c (sysv_scalbl): Likewise.
13214         * misc/error.c (error_tail): Likewise.
13215         * misc/pselect.c (__pselect): Likewise.
13216         * nis/nis_callback.c (__nis_create_callback): Likewise.
13217         * nis/nis_call.c (__nisfind_server): Likewise.
13218         * nis/nis_creategroup.c (nis_creategroup): Likewise.
13219         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13220         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13221         * nis/nis_getservlist.c (nis_getservlist): Likewise.
13222         * nis/nis_lookup.c (nis_lookup): Likewise.
13223         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13224         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13225         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13226         * nis/nis_xdr.c (xdr_endpoint): Likewise.
13227         * nis/nss_compat/compat-grp.c (getgrent_next_file)
13228         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13229         * nis/nss_compat/compat-initgroups.c (add_group)
13230         (internal_getgrent_r): Likewise.
13231         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13232         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13233         * nis/nss_compat/compat-spwd.c (getspent_next_file)
13234         (internal_getspnam_r): Likewise.
13235         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13236         (_nss_nis_getaliasbyname_r): Likewise.
13237         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13238         (_nss_nis_getntohost_r): Likewise.
13239         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13240         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13241         (_nss_nis_getgrgid_r): Likewise.
13242         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13243         (internal_nis_gethostent_r, internal_gethostbyname2_r)
13244         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13245         (_nss_nis_gethostbyname4_r): Likewise.
13246         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13247         (initgroups_netid): Likewise.
13248         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13249         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13250         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13251         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13252         (_nss_nis_getprotobynumber_r): Likewise.
13253         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13254         (_nss_nis_getsecretkey): Likewise.
13255         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13256         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13257         (_nss_nis_getpwuid_r): Likewise.
13258         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13259         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13260         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13261         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13262         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13263         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13264         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13265         Likewise.
13266         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13267         (_nss_nisplus_getntohost_r): Likewise.
13268         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13269         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13270         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13271         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13272         Likewise.
13273         * nis/nss_nisplus/nisplus-initgroups.c
13274         (_nss_nisplus_initgroups_dyn): Likewise.
13275         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13276         (_nss_nisplus_getnetbyaddr_r): Likewise.
13277         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13278         (_nss_nisplus_getprotobynumber_r): Likewise.
13279         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13280         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13281         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13282         Likewise.
13283         * nis/nss_nisplus/nisplus-service.c
13284         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13285         (_nss_nisplus_getservbyport_r): Likewise.
13286         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13287         (_nss_nisplus_getspnam_r): Likewise.
13288         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13289         Likewise.
13290         * nscd/aicache.c (addhstaiX): Likewise.
13291         * nscd/cache.c (cache_search, prune_cache): Likewise.
13292         * nscd/connections.c (register_traced_file, send_ro_fd)
13293         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13294         (main_loop_epoll): Likewise.
13295         * nscd/grpcache.c (addgrbyX): Likewise.
13296         * nscd/hstcache.c (addhstbyX): Likewise.
13297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13298         * nscd/mem.c (gc, mempool_alloc): Likewise.
13299         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13300         (addinnetgrX): Likewise.
13301         * nscd/nscd-client.h (__nscd_acquire_maplock)
13302         (__nscd_drop_map_ref): Likewise.
13303         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13304         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13305         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13306         Likewise.
13307         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13308         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13309         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13310         (__nscd_get_map_ref): Likewise.
13311         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13312         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13313         Likewise.
13314         * nscd/pwdcache.c (addpwbyX): Likewise.
13315         * nscd/selinux.c (preserve_capabilities): Likewise.
13316         * nscd/servicescache.c (addservbyX): Likewise.
13317         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13318         * posix/fnmatch.c (fnmatch): Likewise.
13319         * posix/getopt.c (_getopt_internal_r): Likewise.
13320         * posix/glob.c (glob, glob_in_dir): Likewise.
13321         * posix/wordexp.c (exec_comm_child): Likewise.
13322         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13323         (getanswer_r, gaih_getanswer_slice): Likewise.
13324         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13325         * resolv/res_init.c: Likewise.
13326         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13327         * resolv/res_query.c (__libc_res_nquery): Likewise.
13328         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13329         Likewise.
13330         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13331         * stdio-common/perror.c (perror): Likewise.
13332         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13333         * stdio-common/tmpnam.c (tmpnam): Likewise.
13334         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13335         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13336         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13337         Likewise.
13338         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13339         * stdlib/putenv.c (putenv): Likewise.
13340         * stdlib/setenv.c (__add_to_environ): Likewise.
13341         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13342         * stdlib/strtol_l.c (INTERNAL): Likewise.
13343         * string/memmem.c (memmem): Likewise.
13344         * string/strerror.c (strerror): Likewise.
13345         * string/strnlen.c (__strnlen): Likewise.
13346         * string/test-memmem.c (simple_memmem): Likewise.
13347         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13348         * sunrpc/pm_getport.c (__get_socket): Likewise.
13349         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13350         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13351         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13352         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13353         Likewise.
13354         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13355         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13356         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13357         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13358         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13359         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13360         Likewise.
13361         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13362         Likewise.
13363         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13364         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13366         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13367         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13369         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13370         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13371         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13372         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13373         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13374         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13375         Likewise.
13376         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13377         Likewise.
13378         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13379         Likewise.
13380         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13382         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13384         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13385         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13386         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13387         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13388         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13389         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13390         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13392         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13393         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13395         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13396         Likewise.
13397         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13398         Likewise.
13399         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13400         Likewise.
13401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13402         Likewise.
13403         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13405         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13406         Likewise.
13407         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13408         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13409         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13410         * sysdeps/posix/sleep.c: Likewise.
13411         * sysdeps/posix/tempname.c: Likewise.
13412         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13413         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13414         Likewise.
13415         * sysdeps/powerpc/powerpc32/dl-machine.h
13416         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13417         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13419         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13420         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13421         Likewise.
13422         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13424         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13425         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13426         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13427         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13428         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13429         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13430         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13431         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13432         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13433         (elf_machine_lazy_rel): Likewise.
13434         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13435         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13436         (elf_machine_lazy_rel): Likewise.
13437         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13438         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13439         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13440         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13441         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13442         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13443         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13447         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13448         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13449         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13450         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13451         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13452         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13453         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13454         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13455         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13456         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13457         Likewise.
13458         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13459         (__posix_fallocate64_l64): Likewise.
13460         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13461         (posix_fallocate): Likewise.
13462         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13463         Likewise.
13464         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13465         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13466         (getifaddrs_internal): Likewise.
13467         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13468         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13469         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13470         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13471         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13472         (__posix_fallocate64_l64): Likewise.
13473         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13474         Likewise.
13475         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13476         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13477         (__get_clockfreq): Likewise.
13478         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13479         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13480         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13483         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13484         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13485         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13486         Likewise.
13487         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13488         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13489         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13490         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13491         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13492         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13493         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13494         Likewise.
13495         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13496         (posix_fallocate): Likewise.
13497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13498         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13499         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13500         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13501         (elf_machine_rela, elf_machine_rela_relative)
13502         (elf_machine_lazy_rel): Likewise.
13503         * time/asctime.c (asctime_internal): Likewise.
13504         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13505         * time/tzset.c (__tzset_parse_tz): Likewise.
13506         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13507         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13508         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13509         * wcsmbs/wcsmbsload.h: Likewise.
13511         [BZ #15894]
13512         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13514         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13515         (arena_get2): Remove THREAD_STATS conditionals.
13516         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13517         (__malloc_stats, int): Likewise.
13519 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13521         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13522         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13524         * manual/setjmp.texi: Fix typos/grammar errors.
13526         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13527         Only return early when n is <= 0.  Delete unused return statement.
13529         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13530         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13531         * debug/tst-longjmp_chk3.c: New file.
13533         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13534         (test_main): Replace code with set_fortify_handler call.
13535         * debug/test-strcpy_chk.c: Likewise.
13536         * debug/tst-chk1.c: Likewise.
13537         * debug/tst-longjmp_chk.c: Likewise.
13538         * test-skeleton.c: Include fcntl.h & paths.h
13539         (set_fortify_handler): Define.
13541         * debug/tst-longjmp_chk.c: Add header comment and include
13542         ../test-skeleton.c.
13543         (do_test): Mark static.
13544         (TEST_FUNCTION): Define.
13546         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13547         (IP_PMTUDISC_INTERFACE): Likewise.
13548         (IP_MULTICAST_IF): Likewise.
13549         (IP_MULTICAST_TTL): Likewise.
13550         (IP_MULTICAST_LOOP): Likewise.
13551         (IP_ADD_MEMBERSHIP): Likewise.
13552         (IP_DROP_MEMBERSHIP): Likewise.
13553         (IP_UNBLOCK_SOURCE): Likewise.
13554         (IP_BLOCK_SOURCE): Likewise.
13555         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13556         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13557         (IP_MSFILTER): Likewise.
13558         (MCAST_JOIN_GROUP): Likewise.
13559         (MCAST_BLOCK_SOURCE): Likewise.
13560         (MCAST_UNBLOCK_SOURCE): Likewise.
13561         (MCAST_LEAVE_GROUP): Likewise.
13562         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13563         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13564         (MCAST_MSFILTER): Likewise.
13565         (IP_MULTICAST_ALL): Likewise.
13566         (IP_UNICAST_IF): Likewise.
13568         * timezone/Makefile: Delete $(have-ksh) check.
13569         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13570         * timezone/tzselect.ksh: Add +x mode bits.
13572         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13573         (ANON_INODE_FS_MAGIC): Likewise.
13574         (BDEVFS_MAGIC): Likewise.
13575         (BINFMTFS_MAGIC): Likewise.
13576         (BTRFS_TEST_MAGIC): Likewise.
13577         (CRAMFS_MAGIC_WEND): Likewise.
13578         (DEBUGFS_MAGIC): Likewise.
13579         (ECRYPTFS_SUPER_MAGIC): Likewise.
13580         (EXT3_SUPER_MAGIC): Likewise.
13581         (EXT4_SUPER_MAGIC): Likewise.
13582         (FUTEXFS_SUPER_MAGIC): Likewise.
13583         (HOSTFS_SUPER_MAGIC): Likewise.
13584         (HUGETLBFS_MAGIC): Likewise.
13585         (MINIX3_SUPER_MAGIC): Likewise.
13586         (MTD_INODE_FS_MAGIC): Likewise.
13587         (NILFS_SUPER_MAGIC): Likewise.
13588         (OPENPROM_SUPER_MAGIC): Likewise.
13589         (PIPEFS_MAGIC): Likewise.
13590         (PSTOREFS_MAGIC): Likewise.
13591         (QNX6_SUPER_MAGIC): Likewise.
13592         (RAMFS_MAGIC): Likewise.
13593         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13594         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13595         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13596         (SECURITYFS_MAGIC): Likewise.
13597         (SELINUX_MAGIC): Likewise.
13598         (SMACK_MAGIC): Likewise.
13599         (SOCKFS_MAGIC): Likewise.
13600         (SQUASHFS_MAGIC): Likewise.
13601         (STACK_END_MAGIC): Likewise.
13602         (TMPFS_MAGIC): Likewise.
13603         (USBDEVICE_SUPER_MAGIC): Likewise.
13604         (V9FS_MAGIC): Likewise.
13605         (XENFS_SUPER_MAGIC): Likewise.
13606         (CRAMFS_MAGIC): Fix typo in comment.
13607         (EXT2_SUPER_MAGIC): Update comment.
13608         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13610 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13612         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13613         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13614         * sysdeps/unix/sysv/linux/arm: Move directory from
13615         ports/sysdeps/unix/sysv/linux/arm.
13616         * README: Update listing for arm-*-linux-gnueabi.
13618         * README: Remove mention of am33.
13620 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13622         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13623         than the comma operator, to avoid "rhs of comma has no effect"
13624         compiler warnings.
13625         (__sigfillset, __sigandset, __sigorset): Likewise.
13626         * include/signal.h (__sigemptyset): Likewise.
13627         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13629 2014-02-07  Allan McRae  <allan@archlinux.org>
13631         * version.h (RELEASE): Set to "development".
13632         (VERSION): Set to "2.19.90"
13633         * NEWS: Add 2.20 section.
13635 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13637         [BZ #16529]
13638         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13640 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13642         * manual/contrib.texi: Update entry for Carlos O'Donell,
13643         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13645 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13647         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13649         * sysdeps/unix/sysv/linux/kernel-features.h
13650         [__LINUX_KERNEL_VERSION >= 0x020621]
13651         (__ASSUME_PROC_PID_TASK_COMM): Define.
13653 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655         [BZ #16398]
13656         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13657         conversion when destination buffer does not have enough space.
13658         * libio/tst-ftell-partial-wide.c: New test case.
13659         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13661         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13662         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13663         Leonard and Allan McRae.
13665 2014-02-04  David S. Miller  <davem@davemloft.net>
13667         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13668         32-bit.
13670 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13673         New file
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13675         New file
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13677         New file.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13679         New file.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13681         New file.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13683         New file.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13685         New file.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13687         New file.
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13689         New file.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13691         New file.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13693         New file.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13695         New file.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13697         New file.
13699 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13701         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13702         * shlib-versions: Likewise.
13704 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13705             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13707         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13708         (abilist-pattern): New variable, set to %-le.abilist.
13710         * Makerules (abilist-pattern): New variable.
13711         (vpath): Use $(abilist-pattern) in place of %.abilist.
13712         (check-abi-% pattern rule): Likewise.
13713         (check-abi, update-abi): Likewise.
13715 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13719 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13721         * manual/startup.texi: Add next, previous, and top entries for
13722         the `Program Arguments' and `Environment Variables' nodes.
13724 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13726         * manual/macros.texi: Add comments before MTASC-safety macros.
13728         * manual/users.texi: Document MTASC-safety properties.
13730         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13731         (pthread_getspecific, pthread_setspecific): Format with
13732         @deftypefun, and add @safety note.
13733         * manual/signal.texi: Move comments that analyze the above
13734         functions to their home place.
13736 2014-02-03  Allan McRae  <allan@archlinux.org>
13738         * po/sl.po: Update Slovenian translation from translation project.
13740 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13742         * manual/time.texi (timegm): Add missing blank after @c.
13743         Reported by Joseph Myers <joseph@codesourcery.com>.
13745 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13747         * manual/check-safety.sh: New.
13748         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13750         * manual/terminal.texi: Document MTASC-safety properties.
13752         * manual/filesys.texi: Document MTASC-safety properties.
13754         * manual/errno.texi: Document MTASC-safety properties.
13756         * manual/intro.texi: Document safety identifiers and
13757         conditionals.
13759         * manual/string.texi (wcstok): Fix prototype.
13760         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13762         * manual/time.texi: Document MTASC-safety properties.
13764         * manual/string.texi: Document MTASC-safety properties.
13766         * manual/threads.texi: Document MTASC-safety properties.
13768         * manual/stdio.texi: Document MTASC-safety properties.
13770         * manual/syslog.texi: Document MTASC-safety properties.
13772         * manual/sysinfo.texi: Document MTASC-safety properties.
13774         * manual/startup.texi: Document MTASC-safety properties.
13776         * manual/socket.texi: Document MTASC-safety properties.
13778         * manual/signal.texi: Document MTASC-safety properties.
13780 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13782         * manual/setjmp.texi: Document MTASC-safety properties.
13784         * manual/search.texi: Document MTASC-safety properties.
13786         * manual/resource.texi: Document MTASC-safety properties.
13788         * manual/process.texi: Document MTASC-safety properties.
13790         * manual/platform.texi: Document MTASC-safety properties.
13792         * manual/pipe.texi: Document MTASC-safety properties.
13794         * manual/pattern.texi: Document MTASC-safety properties.
13796         * manual/message.texi: Document MTASC-safety properties.
13798         [BZ #12751]
13799         * manual/memory.texi: Document MTASC-safety properties.
13801         * manual/math.texi: Document MTASC-safety properties.
13803         * manual/locale.texi: Document MTASC-safety properties.
13805         * manual/llio.texi: Document MTASC-safety properties.
13807         * manual/libdl.texi: New.
13809         * manual/lang.texi: Document MTASC-safety properties.
13811         * manual/job.texi: Document MTASC-safety properties.
13813         * manual/getopt.texi: Document MTASC-safety properties.
13815         * manual/ctype.texi: Document MTASC-safety properties.
13817 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13819         [BZ #16046]
13820         * csu/libc-tls.c (static_map): Remove variable.
13821         (__libc_setup_tls): Use main executable's link map for TLS data.
13822         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13823         casing for LM_ID_BASE and GL(dl_nns).
13824         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13825         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13826         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13827         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13828         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13829         member.
13830         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13831         l_phnum members.
13833 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13835         * manual/debug.texi: Document MTASC-safety properties.
13837 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13839         [BZ #16510]
13840         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13841         of __x86_64__ when disabling x87 inline functions.
13843 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13845         * manual/charset.texi: Document MTASC-safety properties.
13847         * manual/crypt.texi: Document MTASC-safety properties.
13849         * manual/conf.texi: Document MTASC-safety properties.
13851         * manual/arith.texi: Document MTASC-safety properties.
13853         * manual/argp.texi: Document MTASC-safety properties.
13855         * manual/macros.texi: Introduce macros to document multi
13856         thread, asynchronous signal and asynchronous cancellation
13857         safety properties.
13858         * manual/intro.texi: Introduce the properties themselves.
13860 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13862         * sysdeps/sh/sh4/Makefile: New file.
13864 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13866         * math/gen-libm-test.pl ($srcdir): New variable.
13867         ($auto_input): Use it.
13869 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13871         [BZ #16506]
13872         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13873         access beyond array bounds when parsing netgroups file.
13875         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13876         the old buffer before realloc.
13878 2014-01-27  Allan McRae  <allan@archlinux.org>
13880         * po/fr.po: Update French translation from translation project.
13882 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13884         * sysdeps/sh/libm-test-ulps: Regenerate.
13886 2014-01-24  David S. Miller  <davem@davemloft.net>
13888         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13890 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13892         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13893         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13895 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13897         [BZ #16474]
13898         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13899         string pointers after reallocation.
13901 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13903         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13904         __SH4A__ instead of __SH_FPU_ANY__.
13906 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13908         * sysdeps/sh/fpu_control.h: New file.
13909         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13910         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13911         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13912         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13913         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13914         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13915         * sysdeps/sh/sys/ucontext.h: Remove.
13916         * sysdeps/sh/sys: Remove directory.
13918 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13920         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13921         s390/sys/ucontext.h.
13922         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13923         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13925 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13927         [BZ #15605]
13928         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13930 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13932         [BZ#16431]
13933         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13934         Adjust the vDSO correctly for internal calls.
13935         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13937 2014-01-20  Allan McRae  <allan@archlinux.org>
13939         * po/ca.po: Update Catalan translation from translation project.
13941 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13943         * sysdeps/s390/sotruss-lib.c: New file.
13945 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13947         [BZ#16430]
13948         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13949         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13950         local calls issues by not having a PLT stub required for IFUNC calls.
13951         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13953 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13955         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13956         * math/test-fpucw-static.c: Likewise.
13958 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13960         [BZ #16453]
13961         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13963 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13965         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13966         implementation for powerpc.
13968 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13970         [BZ #14782]
13971         * sysdeps/posix/system.c (__libc_system): Do not enable
13972         asynchronous cancellation.
13974 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13976         [BZ #16427]
13977         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13978         handling only for numbers special also in the IEEE case.
13980 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13982         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13984 2014-01-11  Allan McRae  <allan@archlinux.org>
13986         * po/bg.po: Update Bulgarian translation from translation project.
13988         * po/de.po: Update German translation from translation project.
13990 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13992         * sysdeps/generic/gcc-compat.h: New file.
13994 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996         * benchtests/asin-inputs: Correct slow inputs.
13997         * benchtests/acos-inputs: Likewise.
13999 2014-01-10  Allan McRae  <allan@archlinux.org>
14001         * po:sv.po: Update Swedish translation from translation project.
14003         * po/vi.po: Update Vietnamese translation from translation project.
14005         * po/eo.po: Update Esperanto translation from translation project.
14007         * po/cs.po: Update Czech translation from translation project.
14009         * po/nl.po: Update Dutch translation from translation project.
14011         * po/pl.po: Update Polish translation from translation project.
14013         * po/ru.po: Update Russian translation from translation project.
14015         * po/uk.po: Update Ukrainian translation from translation project.
14017 2014-01-08  Brooks Moses  <bmoses@google.com>
14019         * elf/dl-load.c: Fix comment typo.
14021 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
14023         * po/header.pot: Rename to...
14024         * po/pot.header: ... this.
14025         * po/Makefile: Use pot.header.
14027 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
14028             Maxim Kuvyrkov  <maxim@kugelworks.com>
14030         [BZ #16394]
14031         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14032         SRC and DEST against LEN.
14034 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14036         [BZ #16414]
14037         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14038         implementation.
14039         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14041 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14045 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
14047         [BZ #16408]
14048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14049         for large positive arguments.
14051 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
14053         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14055         * math/auto-libm-test-in: Mark various tests with
14056         xfail-rounding:ldbl-128ibm.
14057         * math/auto-libm-test-out: Regenerated.
14059         [BZ #16407]
14060         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14061         Increase overflow threshold.
14063 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
14065         [BZ #14286]
14066         * stdio-common/vfprintf.c: Check for integer overflow.
14068 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14070         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14071         the first argument and return value of __tls_get_addr_internal.
14073 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14075         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14076         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14078 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14080         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14081         * sysdeps/s390/rtld-global-offsets.sym: New file.
14082         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14083         GLIBC_2.19 symbol.
14084         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14085         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14086         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14087         ... this.
14088         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14089         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14090         ... this.
14091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14092         Regenerate.
14093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14094         Regenerate.
14095         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14096         halfs of GPRs for high_gprs contexts.
14097         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14098         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
14099         field.
14100         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14101         uc_flags field.
14102         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14103         64 bit versions:
14104         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14105         for high GPRs (uc_high_gprs) and for future extensions
14106         (__reserved).
14107         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14108         for future extensions (__reserved).
14109         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14110         64 bit versions:
14111         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14112         SC_HIGHGPRS offset definition.
14113         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14114         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14116         * Versions.def: Add GLIBC_2.19 for libpthread.
14117         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14118         siglongjmp for libpthread with GLIBC_2.19 symver.
14119         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14120         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14121         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14122         * sysdeps/s390/__longjmp.c: New file.
14123         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14124         * sysdeps/s390/longjmp.c: New file.
14125         * sysdeps/s390/setjmp.S: New file.
14126         * sysdeps/s390/sigjmp.S: New file.
14127         * sysdeps/s390/v1-longjmp.c: New file.
14128         * sysdeps/s390/v1-setjmp.h: New file.
14129         * sysdeps/s390/v1-sigjmp.c: New file.
14130         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14131         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14132         GLIBC_2.19 version.
14133         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14134         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14135         versioned symbols for ____longjmp_chk.
14136         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14137         Likewise.
14138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14139         Regenerate.
14140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14141         Regenerate.
14142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14143         Regenerate.
14144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14145         Regenerate.
14146         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14147         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14148         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14149         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14150         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14151         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14152         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14153         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14154         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14155         * sysdeps/s390/rtld-__longjmp.c: New file.
14156         * sysdeps/s390/rtld-setjmp.S: New file.
14158 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
14160         [BZ #16400]
14161         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14162         Return -__logl (x) for small positive arguments without evaluating
14163         a polynomial.
14165 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
14167         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14168         Rename to ...
14169         (__ptrace_peeksiginfo_args): ... this.
14170         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14171         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14172         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14174 2014-01-06  Allan McRae  <allan@archlinux.org>
14176         * inet/netinet/in.h: Fix typo in comment.
14178 2014-01-05  Andreas Jaeger  <aj@suse.de>
14180         * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 2014-01-05  Allan McRae  <allan@archlinux.org>
14184         * po/libc.pot: Regenerated.
14186         * malloc/memusagestat.c: Fix gettext call formatting.
14188 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
14190         * nscd/nscd.c: Improve usage() output.
14192 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
14194         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14195         * sysdeps/unix/sysv/linux/configure: Regenerated.
14196         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14197         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14199 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14201         [BZ #16390]
14202         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14203         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14205 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14207         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14208         extra tokens at end of #undef directive.
14209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14210         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14211         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14213 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
14215         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14217         * math/auto-libm-test-in: Mark various tests with
14218         xfail-rounding:ldbl-128ibm.
14219         * math/auto-libm-test-out: Regenerated.
14221 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
14223         [BZ #16386]
14224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14225         numbers with subnormal high part when calculating exponent.
14227         [BZ #16385]
14228         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14229         fabs.
14231         [BZ #16384]
14232         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14233         M_LN2l.
14234         (__ieee754_acoshl): Use __log1pl not __log1p.
14236 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
14238         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14239         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14240         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14241         (grow_heap, heap_trim, _int_new_arena, get_free_list)
14242         (reused_arena, arena_get2): Convert to GNU style.
14243         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14244         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14245         (memalign_check, __malloc_set_state): Likewise.
14246         * malloc/mallocbug.c (main): Likewise.
14247         * malloc/malloc.c (__malloc_assert, malloc_init_state)
14248         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14249         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14250         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14251         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14252         (__posix_memalign, malloc_info): Likewise.
14253         * malloc/malloc.h: Likewise.
14254         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14255         (mallochook, memalignhook, reallochook, mabort): Likewise.
14256         * malloc/mcheck.h: Likewise.
14257         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14258         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14259         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14260         * malloc/morecore.c (__default_morecore): Likewise.
14261         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14262         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14263         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14264         (print_and_abort): Likewise.
14265         * malloc/obstack.h: Likewise.
14266         * malloc/set-freeres.c (__libc_freeres): Likewise.
14267         * malloc/tst-mallocstate.c (main): Likewise.
14268         * malloc/tst-mtrace.c (main): Likewise.
14269         * malloc/tst-realloc.c (do_test): Likewise.
14271 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14273         [BZ #16366]
14274         * nscd/netgroupcache.c (do_notfound): New function.
14275         (addgetnetgrentX): Use it.
14277         [BZ # 16365]
14278         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14279         NSS_STATUS_NOTFOUND.
14281 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14283         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14286 2014-01-01  Allan McRae  <allan@archlinux.org>
14288         * scripts/update-copyrights: Update configure input file suffix.
14290         * NEWS: Update copyright year.
14291         * catgets/gencat.c: Likewise.
14292         * csu/version.c: Likewise.
14293         * debug/catchsegv.sh: Likewise.
14294         * debug/pcprofiledump.c: Likewise.
14295         * debug/xtrace.sh: Likewise.
14296         * elf/ldconfig.c: Likewise.
14297         * elf/ldd.bash.in: Likewise.
14298         * elf/pldd.c: Likewise.
14299         * elf/sotruss.ksh: Likewise.
14300         * elf/sprof.c: Likewise.
14301         * iconv/iconv_prog.c: Likewise.
14302         * iconv/iconvconfig.c: Likewise.
14303         * locale/programs/locale.c: Likewise.
14304         * locale/programs/localedef.c: Likewise.
14305         * login/programs/pt_chown.c: Likewise.
14306         * malloc/memusage.sh: Likewise.
14307         * malloc/memusagestat.c: Likewise.
14308         * malloc/mtrace.pl: Likewise.
14309         * manual/libc.texinfo: Likewise.
14310         * nscd/nscd.c: Likewise.
14311         * nss/getent.c: Likewise.
14312         * nss/makedb.c: Likewise.
14313         * posix/getconf.c: Likewise.
14314         * scripts/test-installation.pl: Likewise.
14316         * All files with FSF copyright notices: Update copyright dates
14317         using scripts/update-copyrights.
14318         * intl/plural.c: Regenerated.
14319         * locale/programs/charmap-kw.h: Likewise.
14320         * locale/programs/locfile-kw.h: Likewise.
14322 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14324         * sysdeps/unix/sysv/linux/configure: Regenerated.
14325         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14326         the linux/fanotify.h header.
14327         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14328         HAVE_LINUX_FANOTIFY_H is defined.
14330 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14332         * benchtests/cos-inputs: New inputs.
14333         * benchtests/sin-inputs: Likewise.
14335         * benchtests/atan-inputs: New inputs. Fix name of multiple
14336         precision fallback inputs.
14338         * benchtests/atanh-inputs: New inputs.
14339         * benchtests/tanh-inputs: Likewise.
14341         * benchtests/acosh-inputs: New inputs.
14342         * benchtests/asinh-inputs: Likewise.
14344         * benchtests/cosh-inputs: New inputs.
14345         * benchtests/sinh-inputs: Likewise.
14347         * benchtests/acos-inputs: Add more inputs.
14348         * benchtests/asin-inputs: Likewise.
14350 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14352         [BZ #16375]
14353         * manual/arith.texi: Fix spelling.
14354         * manual/charset.texi: Likewise.
14355         * manual/errno.texi: Likewise.
14356         * manual/filesys.texi: Likewise.
14357         * manual/lang.texi: Likewise.
14358         * manual/llio.texi: Likewise.
14359         * manual/locale.texi: Likewise.
14360         * manual/message.texi: Likewise.
14361         * manual/resource.texi: Likewise.
14362         * manual/search.texi: Likewise.
14363         * manual/setjmp.texi: Likewise.
14364         * manual/stdio.texi: Likewise.
14365         * manual/string.texi: Likewise.
14366         * manual/sysinfo.texi: Likewise.
14367         * manual/time.texi: Likewise.
14369 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14371         * po/sl.po: New file.
14373 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14375         * .gitignore: Add core/.gdbinit/.gdb_history.
14377 2013-12-27  Allan McRae  <allan@archlinux.org>
14379         [BZ #16369]
14380         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14381         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14383 2013-12-24  Brooks Moses  <bmoses@google.com>
14385         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14386         all compilers that claim C++98 compliance, not just GCC.
14387         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14388         Likewise.
14390 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14392         * NEWS: Restore accidentally deleted bug-fix entries.
14394 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14395             Ondřej Bílka  <neleai@seznam.cz>
14397         [BZ #15073]
14398         * malloc/malloc.c (_int_free): Perform sanity check only if we
14399         have_lock.
14401 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14403         [BZ #12986]
14404         * manual/stdio.texi (String Input Conversions): Clarify that character
14405         classes are not supported.
14407 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14411 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14413         [BZ #16337]
14414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14415         Calculate results for small negative arguments directly rather
14416         than using reflection formula with special underflow handling.
14418         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14419         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14420         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14421         (fchflags): Likewise.
14422         (revoke): Likewise.
14423         (setlogin): Likewise.
14424         (sigaltstack): Likewise.
14425         (wait4): Likewise.
14426         (sigblock): Remove.
14427         (sigsetmask): Likewise.
14428         (wait3): Likewise.
14429         (waitpid): Likewise.
14430         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14431         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14432         file.
14433         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14434         * sysdeps/unix/bsd/Makefile: ... here.
14435         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14436         * sysdeps/unix/bsd/Versions: ... here.
14437         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14438         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14439         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14440         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14441         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14442         * sysdeps/unix/bsd/sigblock.c: ... here.
14443         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14444         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14445         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14446         * sysdeps/unix/bsd/sigvec.c: ... here.
14447         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14448         * sysdeps/unix/bsd/tcdrain.c: ... here.
14449         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14450         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14451         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14452         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14453         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14454         * sysdeps/unix/bsd/wait.c: ... here.
14455         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14456         * sysdeps/unix/bsd/wait3.c: ... here.
14457         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14458         * sysdeps/unix/bsd/waitpid.c: ... here.
14460 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #16356]
14463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14464         round-to-nearest for [!USE_AS_EXPM1L].
14465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14466         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14467         more tests of exp and exp10.  Expect some exp10 tests to miss
14468         exceptions or fail in directed rounding modes.
14469         * math/auto-libm-test-out: Regenerated.
14470         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14471         (exp10_test_tonearest): New function.
14472         (exp10_towardzero_test_data): New array.
14473         (exp10_test_towardzero): New function.
14474         (exp10_downward_test_data): New array.
14475         (exp10_test_downward): New function.
14476         (exp10_upward_test_data): New array.
14477         (exp10_test_upward): New function.
14478         (main): Call the new functions.
14479         * sysdeps/i386/fpu/libm-test-ulps: Update.
14480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14482 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14484         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14485         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14486         * math/auto-libm-test-out: Regenerated.
14487         * math/libm-test.inc (acosh_test_data): Add more tests.
14488         (atanh_test_data): Likewise.
14489         (ceil_test_data): Likewise.
14490         (copysign_test_data): Likewise.
14491         * sysdeps/i386/fpu/libm-test-ulps: Update.
14492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494         * timezone/checktab.awk: Update from tzcode 2013i.
14495         * timezone/private.h: Likewise.
14496         * timezone/scheck.c: Likewise.
14497         * timezone/tzfile.h: Likewise.
14498         * timezone/tzselect.ksh: Likewise.
14499         * timezone/zdump.c: Likewise.
14500         * timezone/zic.c: Likewise.
14502         * math/auto-libm-test-in: Add tests of cpow.
14503         * math/auto-libm-test-out: Regenerated.
14504         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14506         mpc_cc_c.
14507         (func_calc_desc): Add mpc_cc_c union field.
14508         (test_functions): Add cpow.
14509         (special_fill_2pi): New function.
14510         (special_real_inputs): Add 2pi.
14511         (calc_generic_results): Handle mpc_cc_c.
14512         * sysdeps/i386/fpu/libm-test-ulps: Update.
14513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14515         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14516         csqrt, ctan and ctanh.
14517         * math/auto-libm-test-out: Regenerated.
14518         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14519         (TEST_COND_x86): Likewise.
14520         (ccos_test_data): Use AUTO_TESTS_c_c.
14521         (ccosh_test_data): Likewise.
14522         (cexp_test_data): Likewise.
14523         (clog_test_data): Likewise.
14524         (csqrt_test_data): Likewise.
14525         (ctan_test_data): Likewise.
14526         (ctan_tonearest_test_data): Likewise.
14527         (ctan_towardzero_test_data): Likewise.
14528         (ctan_downward_test_data): Likewise.
14529         (ctan_upward_test_data): Likewise.
14530         (ctanh_test_data): Likewise.
14531         (ctanh_tonearest_test_data): Likewise.
14532         (ctanh_towardzero_test_data): Likewise.
14533         (ctanh_downward_test_data): Likewise.
14534         (ctanh_upward_test_data): Likewise.
14535         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14536         mpc_c_c.
14537         (func_calc_desc): Add mpc_c_c union field.
14538         (FUNC_mpc_c_c): New macro.
14539         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14540         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14541         ctanh.
14542         (special_fill_min_subnorm_p120): New function.
14543         (special_real_inputs): Add min_subnorm_p120.
14544         (calc_generic_results): Handle mpc_c_c.
14545         * sysdeps/i386/fpu/libm-test-ulps: Update.
14546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14548 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14550         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14551         (do_sin_slow): New functions.
14552         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14553         (cslow2, csloww1, csloww2): Use the new functions.
14555         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14556         Use M to change sign of result instead of X.  Assume X is
14557         positive.
14558         (csloww1): Likewise.
14559         (__sin): Adjust.
14560         (__cos): Adjust.
14562         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14563         arguments A and DA.
14564         (__sin): Adjust.
14565         (__cos): Likewise.
14567         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14568         (__cos): Likewise.
14569         (sloww1): Don't adjust sign of DX.
14570         (csloww1): Likewise.
14571         (sloww2): Use X directly and don't adjust sign of DX.
14572         (csloww2): Likewise.
14574 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14576         * math/auto-libm-test-in: Add tests of cabs and carg.
14577         * math/auto-libm-test-out: Regenerated.
14578         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14579         (carg_test_data): Likewise.
14580         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14581         mpc_c_f.
14582         (func_calc_desc): Add mpc_c_f union field.
14583         (test_functions): Add cabs and carg.
14584         (calc_generic_results): Handle mpc_c_f.
14586         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14587         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14588         as a macro and a compat symbol.
14589         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14590         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14591         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14592         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14593         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14594         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14595         not use .hidden.
14596         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14597         Likewise.
14598         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14599         Likewise.
14600         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14601         Likewise.
14602         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14603         Likewise.
14604         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14605         Likewise.
14606         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14607         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14608         from GLIBC_2.3.2.
14610 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14614 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14616         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14617         trailing whitespace removed.
14618         * scripts/config.guess: Update to version 2013-11-29.
14619         * scripts/config.sub: Update to version 2013-10-01.
14621         * math/auto-libm-test-in: Add tests of sincos.
14622         * math/auto-libm-test-out: Regenerated.
14623         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14624         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14625         mpfr_f_11.
14626         (func_calc_desc): Add mpfr_f_11 union field.
14627         (test_functions): Add sincos.
14628         (calc_generic_results): Handle mpfr_f_11.
14629         * sysdeps/i386/fpu/libm-test-ulps: Update.
14630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14632 2013-12-19  Andreas Schwab  <schwab@suse.de>
14634         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14635         CALL_MCOUNT.
14636         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14637         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14638         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14640 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14642         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14643         * sysdeps/i386/fpu/libm-test-ulps: Update.
14644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14646         [BZ #16293]
14647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14648         round-to-nearest mode when using frndint.
14649         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14650         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14651         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14652         Likewise.
14653         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14654         sinh test to fail.
14655         * math/auto-libm-test-out: Regenerated.
14656         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14657         (TEST_COND_x86): Likewise.
14658         (expm1_tonearest_test_data): New array.
14659         (expm1_test_tonearest): New function.
14660         (expm1_towardzero_test_data): New array.
14661         (expm1_test_towardzero): New function.
14662         (expm1_downward_test_data): New array.
14663         (expm1_test_downward): New function.
14664         (expm1_upward_test_data): New array.
14665         (expm1_test_upward): New function.
14666         (main): Run the new test functions.
14667         * sysdeps/i386/fpu/libm-test-ulps: Update.
14668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14670         * include/features.h: Update comment documenting feature test
14671         macros.  Mention _DEFAULT_SOURCE in comment.
14672         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14673         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14674         _BSD_SOURCE and _SVID_SOURCE.
14675         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14676         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14677         !_SVID_SOURCE]: Likewise.
14678         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14679         (__USE_POSIX_IMPLICITLY): Define.
14680         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14681         (_POSIX_SOURCE): Undefine and redefine.
14682         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14683         (_POSIX_C_SOURCE): Likewise.
14684         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14685         (Feature Test Macros): Update documentation of default features.
14687 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14689         * benchtests/Makefile: Add bench-strtok.
14690         * benchtests/bench-strtok.c: New file: strtok benchtest.
14692 2013-12-19  Allan McRae  <allan@archlinux.org>
14694         * manual/install.texi: Suppress menu for plain text output.
14695         * INSTALL: Regenerated.
14697 2013-12-18  Brooks Moses  <bmoses@google.com>
14699         [BZ #15846]
14700         * misc/getauxval.c: Include errno.h.
14701         (__getauxval): Set errno to ENOENT if the requested type is not
14702         found.
14703         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14704         don't declare with __attribute_const__.
14705         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14706         * manual/startup.texi: Document that getauxval sets errno.
14708 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14710         * math/auto-libm-test-in: Add tests of jn and yn.
14711         * math/auto-libm-test-out: Regenerated.
14712         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14713         (yn_test_data): Likewise.
14714         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14715         mpfr_if_f.
14716         (func_calc_desc): Add mpfr_if_f union field.
14717         (FUNC_mpfr_if_f): New macro.
14718         (test_functions): Add jn and yn.
14719         (calc_generic_results): Assert type of second input for
14720         mpfr_ff_f.  Handle mpfr_if_f.
14721         (output_for_one_input_case): Disable all checking for arguments
14722         fitting floating-point types in case of an integer argument.
14723         * sysdeps/i386/fpu/libm-test-ulps: Update.
14724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14727         Don't expect fegetround reference in libm.so.
14729 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14731         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14732         $(config-cflags-nofma).
14734 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14736         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14737         * math/auto-libm-test-out: Regenerated.
14739         [BZ #16338]
14740         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14741         to determine exponent and adjust argument to have exponent of -1.
14742         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14743         log2.
14744         * math/auto-libm-test-out: Regenerated.
14745         * sysdeps/i386/fpu/libm-test-ulps: Update.
14746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14750         * manual/probes.texi: Remove cases when per-thread arenas are
14751         disabled.
14753 2013-12-18  Andreas Schwab  <schwab@suse.de>
14755         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14756         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14757         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14758         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14759         * sysdeps/i386/i686/multiarch/Makefile: Update.
14760         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14762 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14764         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14765         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14767 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14769         [BZ #15968]
14770         Support TZ transition times < 00:00:00.
14771         This is needed for version-3 tz-format files; it supports time
14772         stamps past 2037 for America/Godthab (the only entry in the tz
14773         database for which this change is relevant).
14774         * manual/time.texi (TZ Variable): Document transition times
14775         from -167:59:59 through -00:00:01.
14776         * time/tzset.c (tz_rule): Time of day is now signed.
14777         (__tzset_parse_tz): Parse negative time of day.
14779         Document TZ transition times >= 25:00:00.
14780         * manual/time.texi (TZ Variable): Document transition times from
14781         25:00:00 through 167:59:59.  These are already supported, and this
14782         support will help with version-3 tz-format files.
14784         * manual/time.texi (TZ Variable): Modernize North America example
14785         to reflect current (i.e., 2007-and-later) daylight saving rules.
14787         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14789 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14791         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14792         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14795         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14796         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14797         * sysdeps/unix/bsd/clock.c: Likewise.
14798         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14799         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14800         * sysdeps/unix/bsd/init-posix.c: Likewise.
14801         * sysdeps/unix/bsd/poll.c: Likewise.
14802         * sysdeps/unix/bsd/ptsname.c: Likewise.
14803         * sysdeps/unix/bsd/seekdir.c: Likewise.
14804         * sysdeps/unix/bsd/setegid.c: Likewise.
14805         * sysdeps/unix/bsd/seteuid.c: Likewise.
14806         * sysdeps/unix/bsd/setgid.c: Likewise.
14807         * sysdeps/unix/bsd/setrgid.c: Likewise.
14808         * sysdeps/unix/bsd/setruid.c: Likewise.
14809         * sysdeps/unix/bsd/setsid.c: Likewise.
14810         * sysdeps/unix/bsd/setuid.c: Likewise.
14811         * sysdeps/unix/bsd/sigaction.c: Likewise.
14812         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14813         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14814         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14815         * sysdeps/unix/bsd/telldir.c: Likewise.
14816         * sysdeps/unix/bsd/times.c: Likewise.
14817         * sysdeps/unix/bsd/usleep.c: Likewise.
14819         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14820         ($(objpfx)libbsd-compat.a): Remove rule.
14822         * include/features.h (__FAVOR_BSD): Do not define.
14823         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14824         features conflicting with POSIX.
14825         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14826         (_BSD_SOURCE): Remove description of not being a subset of other
14827         feature test macros.
14828         * manual/job.texi (getpgrp): Do not document BSD version.
14829         (getpgid): Do not document by reference to BSD getpgrp.
14830         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14831         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14832         * signal/signal.h [__FAVOR_BSD]: Likewise.
14833         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14834         instead of making contents conditional on [__FAVOR_BSD].
14835         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14837 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14841 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14843         [BZ #16314]
14844         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14845         values below 2**-450, not 2**-500.
14846         * math/auto-libm-test-in: Don't allow spurious underflow from
14847         hypot.
14848         * math/auto-libm-test-out: Regenerated.
14850         [BZ #16316]
14851         [BZ #16330]
14852         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14853         values of ha and hb and sort them after adjusting subnormal
14854         arguments.
14855         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14856         Likewise.
14857         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14858         values of ea and eb and sort them after adjusting subnormal
14859         arguments.
14860         * math/auto-libm-test-in: Do not expect some hypot tests of
14861         subnormals to fail.  Add more hypot tests.
14862         * math/auto-libm-test-out: Regenerated.
14864 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14866         [BZ #13304]
14867         * sysdeps/sh/s_fma.c: New file.
14868         * sysdeps/sh/s_fmaf.c: New file.
14869         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14870         version.
14871         * sysdeps/sh/Implies: Add sh/soft-fp.
14873 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14875         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14876         level of indirection to members `objname', `errstring', `malloced'.
14877         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14878         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14879         it as the __longjmp argument (just pass 1 instead).
14880         (_dl_catch_error): Initialize C with argument pointers and address of
14881         volatile local ERRCODE rather than copying values out of C at return.
14883 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14885         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14886         * math/auto-libm-test-out: Regenerated.
14887         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14888         (hypot_test_data): Likewise.
14889         (pow_test_data): Likewise.
14890         (pow_tonearest_test_data): Likewise.
14891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14892         mpfr_ff_f.
14893         (func_calc_desc): Add mpfr_ff_f union field.
14894         (FUNC_mpfr_ff_f): New macro.
14895         (test_functions): Add atan2, hypot and pow.
14896         (special_fill_min): New function.
14897         (special_fill_minus_min): Likewise.
14898         (special_fill_min_subnorm): Likewise.
14899         (special_fill_minus_min_subnorm): Likewise.
14900         (special_real_inputs): Add min, -min, min_subnorm and
14901         -min_subnorm.
14902         (calc_generic_results): Handle mpfr_ff_f.
14903         * sysdeps/i386/fpu/libm-test-ulps: Update.
14904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14906 2013-12-16  Will Newton  <will.newton@linaro.org>
14908         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14909         (Aligned Memory Blocks): Add documentation for aligned_alloc
14910         and suggest it as an alternative to posix_memalign.
14911         (Hooks for Malloc): Document __memalign_hook is also called
14912         for aligned_alloc.  (Summary of Malloc): Add summary for
14913         aligned alloc.  Document __memalign_hook is also called
14914         for aligned_alloc.
14916 2013-12-16  Will Newton  <will.newton@linaro.org>
14918         * manual/memory.texi (Malloc Examples): Clarify default
14919         alignment documentation.  Suggest posix_memalign rather
14920         than memalign or valloc.
14921         (Aligned Memory Blocks): Remove suggestion to use memalign
14922         or valloc.  Remove obsolete comment about BSD.
14923         Document memalign errno values and mark the function obsolete.
14924         Document posix_memalign returned error codes.  Mark valloc
14925         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14926         called for posix_memalign and valloc.
14927         (Summary of Malloc): Add posix_memalign to function summary.
14928         __memalign_hook is also called for posix_memalign and valloc.
14930 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14932         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14933         TAYLOR_SIN.
14934         (__sin): Adjust.
14935         (__cos): Likewise.
14936         (sloww): Use mynumber union.  Expand ternary operator into
14937         if-else statements.
14938         (cslow): use mynumber union.
14940 2013-12-16  Allan McRae  <allan@archlinux.org>
14942         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14943         * configure: Regenerated.
14945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14947         [BZ #14120]
14948         * configure.ac: Added --enable-maintainer-mode. Check for
14949         autoconf when enabled.
14950         * configure: Regenerated.
14952         * nscd/nscd.service: New file.
14953         * nscd/nscd.tmpfiles: New file.
14955 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14957         [BZ #12100]
14958         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14959         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14960         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14961         (strstr): Add __strstr_sse2_unaligned ifunc.
14962         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14963         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14964         (strcasestr): Remove __strcasestr_sse42 ifunc.
14965         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14969 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14971         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14972         * sysdeps/sh/bits/fenv.h: ... here.
14973         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14975 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14977         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14980         hypotf multiarch implementations.
14981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14984         multiarch hypot for PPC64.
14985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14988         multiarch hypotf for PPC64.
14990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14991         modff multiarch implementations.
14992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14995         multiarch modf for PPC64.
14996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14999         multiarch modff for PPC64.
15001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15002         and logl multiarch implementations.
15003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15006         multiarch logb for PPC64.
15007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15010         multiarch logb for PPC64.
15011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15014         multiarch logb for PPC64.
15016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15017         isinff multiarch implementation.
15018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15019         file.
15020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15022         multiarch isinf for PPC64.
15023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15024         file.
15025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15026         multiarch isinff for PPC64.
15028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15029         finitef multiarch implementation.
15030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15031         file.
15032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15034         multiarch finite for PPC64.
15035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15036         file.
15037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15038         multiarch finitef for PPC64.
15040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15041         lrint multiarch implementation.
15042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15043         file.
15044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15046         multiarch llrint for PPC64.
15047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15048         multiarch lrint for PPC64.
15050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15051         copysignf multiarch implementation.
15052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15053         file.
15054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15055         file.
15056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15057         multiarch copysign for PPC64.
15058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15059         multiarch copysignf for PPC64.
15061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15062         multiarch implementation.
15063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15064         file.
15065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15066         file.
15067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15068         file.
15069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15070         file.
15071         multiarch llround for PPC64.
15072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15073         multiarch trunc for PPC64.
15074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15075         multiarch truncf for PPC64.
15077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15078         multiarch implementation.
15079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15080         file.
15081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15082         file.
15083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15084         file.
15085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15086         file.
15087         multiarch llround for PPC64.
15088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15089         multiarch round for PPC64.
15090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15091         multiarch roundf for PPC64.
15093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15094         multiarch implementation.
15095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15096         file.
15097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15098         file.
15099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15100         file.
15101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15102         file.
15103         multiarch llround for PPC64.
15104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15105         multiarch floor for PPC64.
15106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15107         multiarch floorf for PPC64.
15109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15110         multiarch implementation.
15111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15112         file.
15113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15114         file.
15115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15116         file.
15117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15118         file.
15119         multiarch llround for PPC64.
15120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15121         multiarch ceil for PPC64.
15122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15123         multiarch ceilf for PPC64.
15125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15126         multiarch implementation.
15127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15128         file.
15129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15130         file.
15131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15132         file.
15133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15134         multiarch llround for PPC64.
15135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15136         multiarch lround for PPC64.
15138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15139         multiarch implementation.
15140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15143         file.
15144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15147         multiarch isnan for PPC64.
15148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15149         multiarch isnanf for PPC64.
15151         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15152         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15153         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15154         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15155         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15158         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15159         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15164         multiarch implementations.
15165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15166         (__libc_ifunc_impl_list): Likewise.
15167         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15168         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15170         multiarch stpcpy for PPC64.
15172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15173         multiarch implementations.
15174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15175         (__libc_ifunc_impl_list): Likewise.
15176         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15177         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15178         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15179         multiarch strcpy for PPC64.
15181         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15182         redefine function name.
15183         (_wordcopy_fwd_dest_aligned): Likewise.
15184         (_wordcopy_bwd_aligned): Likewise.
15185         (_wordcopy_bwd_dest_aligned): Likewise.
15186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15187         multiarch implementations.
15188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15189         (__libc_ifunc_impl_list): Likewise.
15190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15191         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15194         multiarch wcscpy for PPC64.
15196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15197         multiarch implementations.
15198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15199         (__libc_ifunc_impl_list): Likewise.
15200         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15201         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15202         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15204         multiarch wcscpy for PPC64.
15206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15207         multiarch implementations.
15208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15209         (__libc_ifunc_impl_list): Likewise.
15210         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15211         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15212         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15213         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15214         multiarch wcsrchr for PPC64.
15216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15217         multiarch implementations.
15218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15219         (__libc_ifunc_impl_list): Likewise.
15220         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15221         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15222         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15223         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15224         multiarch wcschr for PPC64.
15226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15227         multiarch implementations.
15228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15229         (__libc_ifunc_impl_list): Likewise.
15230         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15231         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15232         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15233         multiarch strchrnul for PPC64.
15235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15236         implementations.
15237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15238         (__libc_ifunc_impl_list): Likewise.
15239         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15240         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15241         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15242         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15243         strchr for PPC64.
15245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15246         implementations.
15247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15248         (__libc_ifunc_impl_list): Likewise.
15249         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15250         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15251         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15252         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15253         strncmp for PPC64.
15255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15256         multiarch implementations.
15257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15258         (__libc_ifunc_impl_list): Likewise.
15259         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15260         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15261         strncasecmp for PPC64.
15262         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15263         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15264         multiarch strncasecmp_l for PPC64.
15266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15267         multiarch implementations.
15268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15269         (__libc_ifunc_impl_list): Likewise.
15270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15272         multiarch strcasecmp for PPC64.
15273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15274         file.
15275         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15276         multiarch strcasecmp_l for PPC64.
15278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15279         implementations.
15280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15281         (__libc_ifunc_impl_list): Likewise.
15282         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15283         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15284         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15285         strnlen for PPC64.
15287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15288         implementations.
15289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15290         (__libc_ifunc_impl_list): Likewise.
15291         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15292         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15293         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15294         strlen for PPC64.
15296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15297         implementations.
15298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15299         (__libc_ifunc_impl_list): Likewise.
15300         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15301         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15302         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15303         rawmemrchr for PPC64.
15305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15306         implementation.
15307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15308         (__libc_ifunc_impl_list): Likewise.
15309         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15310         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15311         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15312         memrchr for PPC64.
15314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15315         implementation.
15316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15317         (__libc_ifunc_impl_list): Likewise.
15318         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15319         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15320         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15321         memchr for PPC64.
15323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15324         implementation.
15325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15326         (__libc_ifunc_impl_list): Likewise.
15327         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15328         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15329         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15330         mempcpy for PPC64.
15332         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15333         avoid cretion of __bzero symbol.
15334         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15335         Likewise.
15336         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15337         Likewise.
15338         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15339         Likewise.
15340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15341         multiarch implementations.
15342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15343         (__libc_ifunc_impl_list): Likewise.
15344         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15345         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15346         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15347         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15348         bzero for PPC32.
15349         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15350         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15351         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15352         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15353         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15354         memset for PPC64.
15355         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15357         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15359         implementations.
15360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15361         (__libc_ifunc_impl_list): Likewise.
15362         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15363         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15364         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15365         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15366         memcmp for PPC64.
15368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15369         multiarch for POWER/PPC64.
15370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15371         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15377         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15378         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15379         memcpy for PPC64.
15381         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15382         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15383         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15384         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15385         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15386         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15387         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15388         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15389         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15390         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15391         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15392         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15393         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15394         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15395         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15404 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15406         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15408 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15410         * benchtests/Makefile (bench): Add exp2 and log2.
15411         (LDLIBS-bench-exp2): Add -lm.
15412         (LDLIBS-bench-log2): Likewise.
15413         * benchtests/exp2-inputs: New inputs file.
15414         * benchtests/log2-inputs: New inputs file.
15415         * benchtests/log-inputs: Add new inputs.
15416         * benchtests/tan-inputs: Likewise.
15418 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15420         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15421         definition...
15422         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15423         (csloww2): ... from here.
15425         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15426         instead of structures.
15427         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15428         (POLYNOMIAL): Likewise.
15429         (TAYLOR_SLOW): Likewise.
15430         (__sin): Likewise.
15431         (__cos): Likewise.
15432         (slow1): Likewise.
15433         (slow2): Likewise.
15434         (sloww): Likewise.
15435         (sloww1); Likewise.
15436         (sloww2): Likewise.
15437         (bsloww1): Likewise.
15438         (bsloww2): Likewise.
15439         (cslow2): Likewise.
15440         (csloww): Likewise.
15441         (csloww1): Likewise.
15442         (csloww2): Likewise.
15444 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15446         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15447         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15448         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15449         * malloc/hooks.c (realloc_check): Likewise.
15451         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15452         * malloc/arena.c: Remove PER_THREAD conditional.
15453         [!PER_THREAD]: Remove code.
15454         (ptmalloc_unlock_all2): Likewise.
15455         (ptmalloc_init): Likewise.
15456         (_int_new_arena): Likewise.
15457         (arena_get2): Likewise.
15458         * malloc/hooks.c (__malloc_get_state): Likewise.
15459         (__malloc_set_state): Likewise.
15460         * malloc/malloc.c: Likewise.
15461         (struct malloc_state): Likewise.
15462         (struct malloc_par): Likewise.
15463         (__libc_realloc): Likewise.
15464         (__libc_mallopt): Likewise.
15466 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15468         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15470 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15472         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15473         macro to a function.  Check for zero perturb_byte.
15474         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15476         * malloc/malloc.c: (force_reg): Remove.
15477         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15478         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15479         force_reg by atomic_forced_read.
15480         * malloc/arena.c (ptmalloc_init): Likewise.
15481         * malloc/hooks.c (top_check): Likewise.
15483 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15487 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15491 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15493         * math/auto-libm-test-in: Add tests of lgamma.
15494         * math/auto-libm-test-out: Regenerated.
15495         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15496         (M_LOG_2_SQRT_PIl): Likewise.
15497         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15498         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15499         mpfr_f_f1.
15500         (func_calc_desc): Add mpfr_f_f1 union field.
15501         (ARGS1): New macro.
15502         (ARGS2): Likewise.
15503         (ARGS3): Likewise.
15504         (ARGS4): Likewise.
15505         (RET1): Likewise.
15506         (RET2): Likewise.
15507         (CALC): Likewise.
15508         (FUNC): Likewise.
15509         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15510         (test_functions): Add lgamma.
15511         (calc_generic_results): Handle mpfr_f_f1.
15512         * sysdeps/i386/fpu/libm-test-ulps: Update.
15513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15515 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15517         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15518         __mpn_add_n for PowerPC64/POWER7.
15519         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15520         __mpn_sub_n for PowerPC64/POWER7.
15522         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15523         __mpn_addmul_1 for PowerPC64.
15524         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15525         __mpn_submul_1 for PowerPC64.
15526         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15527         for PowerPC64.
15528         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15529         for PowerPC64.
15531 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15533         [BZ #15089]
15534         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15536 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15538         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15540         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15541         add multiarch folders.
15542         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15543         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15544         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15545         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15546         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15547         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15548         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15549         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15550         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15551         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15552         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15561         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15563         New file.
15564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15565         New file.
15566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15567         multiarch __ieee754_hypot for PowerPC32.
15568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15569         New file.
15570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15571         New file.
15572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15573         multiarch __ieee754_hypotf for PowerPC32.
15575         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15576         long_double_symbol only if __logbl is defined.
15577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15578         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15580         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15582         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15583         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15584         path for implementation.
15585         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15586         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15588         logb, and logbl multiarch implementations for PowerPC32.
15589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15590         file.
15591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15592         file.
15593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15594         multiarch logb for PowerPC32.
15595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15596         file.
15597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15598         file.
15599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15600         multiarch logbf for PowerPC32.
15601         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15603         file.
15604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15605         multiarch logbl implementation for PowerPC32.
15607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15608         and modff multiarch implementations.
15609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15610         New file.
15611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15612         New file.
15613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15614         multiarch modf for PowerPC32.
15615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15616         New file.
15617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15618         New file.
15619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15620         multiarch modff for PowerPC32.
15622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15623         and lrintf multiarch implementations.
15624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15625         New file.
15626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15627         New file.
15628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15629         multiarch lrint for PowerPC32.
15630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15631         file: multiarch lrintf for PowerPC32.
15633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15634         and lroundf multiarch implementations.
15635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15636         New file.
15637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15638         New file.
15639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15640         New file.
15641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15642         multiarch lround for PowerPC32.
15643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15644         file: multiarch lroundf for PowerPC32.
15646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15647         copysign and copysignf multiarch implementations.
15648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15649         New file.
15650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15651         New file.
15652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15653         file: multiarch copysign for PowerPC32.
15654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15655         file: multiarch copysignf for PowerPC32.
15657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15658         and truncf multiarch implementations.
15659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15660         New file.
15661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15662         file.
15663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15664         multiarch trunc for PowerPC32.
15665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15666         New file.
15667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15668         New file.
15669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15670         multiarch truncf for PowerPC32.
15672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15673         and roundf multiarch implementations.
15674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15675         New file.
15676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15677         file.
15678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15679         multiarch round for PowerPC32.
15680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15681         New file.
15682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15683         New file.
15684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15685         multiarch roundf for PowerPC32.
15687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15688         and floorf multiarch implementations.
15689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15690         New file.
15691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15692         file.
15693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15694         multiarch floor for PowerPC32.
15695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15696         New file.
15697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15698         New file.
15699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15700         multiarch floorf for PowerPC32.
15702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15703         and ceilf multiarch implementations.
15704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15705         New file.
15706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15707         file.
15708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15709         multiarch ceil for PowerPC32.
15710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15711         New file.
15712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15713         file.
15714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15715         multiarch ceilf for PowerPC32.
15717         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15718         is defined.
15719         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15720         FINITEF is defined.
15721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15722         and finitef multiarch implementations.
15723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15724         New file.
15725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15726         file.
15727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15728         multiarch finite for PowerPC32.
15729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15730         New file.
15731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15732         file: multiarch finitef for PowerPC32.
15734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15735         and isinff multiarch implementations.
15736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15737         file.
15738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15739         file.
15740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15741         multiarch isinf for PowerPC32.
15742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15743         New file.
15744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15745         multiarch isinff for PowerPC32.
15747         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15748         alias when __isnan is defined.
15749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15750         and isnanf multiarch implementations.
15751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15752         file.
15753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15754         file.
15755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15756         file.
15757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15758         file.
15759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15760         multiarch isnan for PowerPC32.
15761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15762         New file.
15763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15764         New file.
15765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15766         multiarch isnanf for PowerPC32.
15768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15769         and sqrtf multiarch implementations.
15770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15771         file.
15772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15773         file.
15774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15775         multiarch sqrt for PowerPC32.
15776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15777         file.
15778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15779         file.
15780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15781         multiarch sqrtf for PowerPC32.
15783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15784         and llroundf multiarch implementations.
15785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15786         New file.
15787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15788         New file.
15789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15790         New file.
15791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15792         file: multiarch llround for PowerPC32.
15793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15794         file: multiarch llroundf for PowerPC32.
15796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15797         multiarch PowerPC32 fpu implementations.
15798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15799         New file.
15800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15801         New file.
15802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15803         multiarch llrint for PowerPC32.
15804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15805         New file.
15806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15807         New file.
15808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15809         file.
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15814         file.
15815         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15816         file.
15817         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15818         file.
15819         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15820         multiarch wordcopy for PPC32.
15821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15822         wordcopy objects.
15823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15824         (__libc_ifunc_impl_list): Likewise.
15825         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15826         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15827         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15828         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15829         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15830         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15832         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15834         file.
15835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15836         file.
15837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15838         file.
15839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15840         multiarch wcscpy for PPC32.
15841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15842         multiarch objects.
15843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15844         (__libc_ifunc_impl_list): Likewise.
15845         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15846         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15847         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15848         sysdeps/powerpc/power6/wcscpy.c.
15850         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15852         file.
15853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15854         file.
15855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15856         file.
15857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15858         multiarch wcsrchr for PPC32.
15859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15860         multiarch objects.
15861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15862         (__libc_ifunc_impl_list): Likewise.
15863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15864         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15865         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15866         sysdeps/powerpc/power6/wcsrchr.c.
15868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15869         file.
15870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15871         file.
15872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15874         multiarch wcschr for PPc32.
15875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15876         multiarch objects.
15877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15878         (__libc_ifunc_impl_list): Likewise.
15879         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15880         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15881         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15882         sysdeps/powerpc/power6/wcschr.c.
15884         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15885         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15886         file.
15887         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15888         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15889         file: multiarch strchr for PPC32.
15890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15891         multiarch objects.
15892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15893         (__libc_ifunc_impl_list): Likewise.
15895         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15896         name.
15897         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15898         file.
15899         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15900         file.
15901         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15902         multiarch strchrnul for PPC32.
15903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15904         multiarch objects.
15905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15906         (__libc_ifunc_impl_list): Likewise.
15908         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15909         file.
15910         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15911         multiarch strncasecmp for PPC32.
15912         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15913         file.
15914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15915         multiarch strncasecmp_l for PPC32.
15916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15917         strncasecmp multiarch objects.
15918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15919         (__libc_ifunc_impl_list): Likewise.
15921         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15922         file.
15923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15924         multiarch strncasecmp for PPC32.
15925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15926         New file.
15927         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15928         multiarch strcasecmp_l for PPC32.
15929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15930         multiarch objects.
15931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15932         (__libc_ifunc_impl_list): Likewise.
15934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15935         file.
15936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15937         file.
15938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15939         multiarch strncmp for PPC32.
15940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15941         multiarch objects.
15942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15943         (__libc_ifunc_impl_list): Likewise.
15945         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15946         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15947         file.
15948         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15949         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15951         multiarch objects.
15952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15953         (__libc_ifunc_impl_list): Likewise.
15955         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15956         file.
15957         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15958         file.
15959         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15961         multiarch objects.
15962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15963         (__libc_ifunc_impl_list): Likewise.
15965         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15966         file.
15967         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15968         file.
15969         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15970         multiarch rawmemchr for PPC32.
15971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15972         multiarch objects.
15973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15974         (__libc_ifunc_impl_list): Likewise.
15976         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15977         file.
15978         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15979         file.
15980         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15981         file: memrchr multiarch for PPC32.
15982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15983         multiarch objects.
15984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15985         (__libc_ifunc_impl_list): Likewise.
15987         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15989         file.
15990         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15992         multiarch memchr for PPC32.
15993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15994         multiarch objects.
15995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15996         (__libc_ifunc_impl_list): Likewise.
15998         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15999         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16000         file.
16001         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16002         file.
16003         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16004         file: multiarch mempcpy for PPC32.
16005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16006         multiarch objects.
16007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16008         (__libc_ifunc_impl_list): Likewise.
16010         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16011         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16014         multiarch bzero for PPC32.
16015         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16016         file.
16017         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16018         file.
16019         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16020         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16021         file: multiarch memset for PPC32.
16022         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16024         memset multiarch objects.
16025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16026         (__libc_ifunc_impl_list): Likewise.
16028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16029         file.
16030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16032         memcmp for PPC32.
16033         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16035         multiarch objects.
16036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16037         (__libc_ifunc_impl_list): Likewise.
16039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16042         file.
16043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16044         file.
16045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16046         file.
16047         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16048         multiarch memcpy for PPC32.
16049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16050         multiarch objects.
16051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16052         (__libc_ifunc_impl_list): Likewise.
16054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16055         support multiarch for POWER/PPC32.
16056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16057         Likewise.
16058         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16060         Implies file to make multiarch folder appers before the fpu and
16061         default folder for power4 configuration.
16063 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16065         * scripts/bench.pl: Append volatile keyword to type.
16067 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16069         * sysdeps/sh/sotruss-lib.c: New file.
16070         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16072 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16076 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
16078         [BZ #6810]
16079         * math/w_tgamma.c: Include <errno.h>.
16080         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
16081         * math/w_tgammaf.c: Include <errno.h>.
16082         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
16083         * math/w_tgammal.c: Include <errno.h>.
16084         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
16085         * math/auto-libm-test-in: Do not allow missing errno on tgamma
16086         underflow.  Add more tgamma tests.
16087         * math/auto-libm-test-out: Regenerated.
16088         * sysdeps/i386/fpu/libm-test-ulps: Update.
16089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16092         sin, sinh, tan, tanh, tgamma, y0 and y1.
16093         * math/auto-libm-test-out: Regenerated.
16094         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16095         (TEST_COND_x86): Likewise.
16096         (M_E2l): Remove macro.
16097         (M_E3l): Likewise.
16098         (M_2_SQRT_PIl): Likewise.
16099         (M_SQRT_PIl): Likewise.
16100         (M_1_DIV_El): Likewise.
16101         (log_test_data): Use AUTO_TESTS_f_f.
16102         (log10_test_data): Likewise.
16103         (log1p_test_data): Likewise.
16104         (log2_test_data): Likewise.
16105         (sin_test_data): Likewise.
16106         (sin_tonearest_test_data): Likewise.
16107         (sin_towardzero_test_data): Likewise.
16108         (sin_downward_test_data): Likewise.
16109         (sin_upward_test_data): Likewise.
16110         (sinh_test_data): Likewise.
16111         (sinh_tonearest_test_data): Likewise.
16112         (sinh_towardzero_test_data): Likewise.
16113         (sinh_downward_test_data): Likewise.
16114         (sinh_upward_test_data): Likewise.
16115         (tan_test_data): Likewise.
16116         (tan_tonearest_test_data): Likewise.
16117         (tan_towardzero_test_data): Likewise.
16118         (tan_downward_test_data): Likewise.
16119         (tan_upward_test_data): Likewise.
16120         (tanh_test_data): Likewise.
16121         (tgamma_test_data): Likewise.
16122         (y0_test_data): Likewise.
16123         (y1_test_data): Likewise.
16124         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16125         (special_real_inputs): Add pi/4.
16126         * sysdeps/i386/fpu/libm-test-ulps: Update.
16127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16129 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16131         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16132         "longjmp_target" static probes.
16133         (__longjmp): Rename to __longjmp_symbol.
16134         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16135         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16136         on which longjmp to generate.
16137         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16138         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16139         probe.
16140         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16141         (__sigjmp_save): Rename to __sigjmp_save_symbol.
16142         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16143         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16144         and __sigjmp_save_symbol based on which sigsetjmp to generated.
16145         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16147         __longjmp_symbol based on which __longjmp to generate.
16148         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16149         probe.
16150         (setjmp): Rename to setjmp_symbol.
16151         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16152         (_setjmp): Rename to _setjmp_symbol.
16153         (__sigsetjmp): Rename to __sigsetjmp_symbol.
16154         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16155         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16156         which setjmp to generate.
16157         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16158         "longjmp_target" static probes.
16160 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16162         * benchtests/README: Add note about output arguments.
16163         * benchtests/bench-sincos.c: Remove file.
16164         * benchtests/sincos-inputs: New file.
16165         * scripts/bench.pl: Identify output arguments and define
16166         static variables for them.
16168         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16170         [BZ #15941]
16171         * Makefile (INSTALL): Add install-plain.texi as the primary
16172         dependency.
16173         * manual/install-plain.texi: New file.
16174         * manual/install.texi: Include node directive only for
16175         non-plaintext output.
16177 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
16179         * stdlib/longlong.h: Update from GCC.
16181         [BZ #6807]
16182         [BZ #15901]
16183         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16184         * math/w_j0f.c (y0f): Likewise.
16185         * math/w_j0l.c (__y0l): Likewise.
16186         * math/w_j1.c (y1): Likewise.
16187         * math/w_j1f.c (y1f): Likewise.
16188         * math/w_j1l.c (__y1l): Likewise
16189         * math/w_jn.c (yn): Likewise.
16190         * math/w_jnf.c (ynf): Likewise.
16191         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16192         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
16193         value for Bessel function domain errors outside _SVID_ mode.
16194         Adjust sign of return value for yn (negative integer, 0).
16195         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16196         by zero in return for negative x and set sign appropriately for
16197         negative n.
16198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16199         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16200         * math/libm-test.inc (y0_test_data): Add more tests and adjust
16201         expectations in error cases.
16202         (y1_test_data): Likewise.
16203         (yn_test_data): Likewise.
16204         * sysdeps/i386/fpu/libm-test-ulps: Update.
16205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16209         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16210         "64" to "64-v1".  Add "64-v2".
16211         (abi-64-options): Rename to ...
16212         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
16213         (abi-64-condition): Rename to ...
16214         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
16215         (abi-64-ld-soname): Rename to ...
16216         (abi-64-v1-ld-soname): ... this.
16217         (abi-64-v2-options): Define.
16218         (abi-64-v2-condition): Likewise.
16219         (abi-64-v2-ld-soname): Likewise.
16220         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16221         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16226 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16227             Alan Modra  <amodra@gmail.com>
16229         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16230         New versions for use with the ELFv2 ABI.
16231         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16232         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16233         declaration.
16234         (struct La_ppc64v2_retval): Likewise.
16235         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16236         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16237         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16238         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16239         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16240         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16241         Do not save or restore CR.
16242         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16243         (_dl_profile_resolve): Do no save or restore CR.  Support extended
16244         return values for ELFv2 ABI.  Fix location of FPR return registers.
16245         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16246         updated values for _CALL_ELF == 2.
16247         (La_regs, La_retval, int_retval): Likewise.
16249 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16251         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16252         (FRAME_MIN_SIZE_PARM): Likewise.
16253         (FRAME_BACKCHAIN): Likewise.
16254         (FRAME_CR_SAVE): Likewise.
16255         (FRAME_LR_SAVE): Likewise.
16256         (FRAME_TOC_SAVE): Likewise.
16257         (FRAME_PARM_SAVE): Likewise.
16258         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16259         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16260         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16261         (call_mcount_parm_offset): New macro.
16262         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16263         (PROF): Use symbolic stack frame offsets.
16264         (TAIL_CALL_SYSCALL_ERROR): Likewise.
16265         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16266         Redefine in terms of FRAME_MIN_SIZE.
16267         (_dl_runtime_resolve): Use symbolic stack frame offsets.
16268         (_dl_profile_resolve): Likewise.  Update comment.
16269         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16270         symbols stack frame offsets.
16271         (__sigsetjmp): Likewise.
16272         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16273         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16274         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16275         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16278         (FRAME_BACKCHAIN): Remove.
16279         (FRAME_CR_SAVE): Likewise.
16280         (FRAME_LR_SAVE): Likewise.
16281         (FRAME_COMPILER_DW): Likewise.
16282         (FRAME_LINKER_DW): Likewise.
16283         (FRAME_TOC_SAVE): Likewise.
16284         (FRAME_PARM_SAVE): Likewise.
16285         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16286         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16287         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16289         (CHECK_SP): Use symbolic stack frame offsets.
16290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16291         zone" instead of caller's parameter save area for temp storage.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16293         Likewise.  Also, use symbolic stack frame offsets.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16295         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16296         our own stack frame instead of the caller's.
16297         (__socket): Use symbolic stack frame offsets.
16299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16300             Alan Modra  <amodra@gmail.com>
16302         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16303         Define.
16304         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16305         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16306         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16307         New function.
16308         (elf_machine_fixup_plt): Call it.
16309         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16310         reloc arguments.
16311         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16312         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16313         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16314         r2 before calling target.
16316 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16317             Alan Modra  <amodra@gmail.com>
16319         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16320         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16321         versions of macros to support ELFv2 ABI.
16322         (LOCALENTRY): New macro.
16323         (ENTRY, EALIGN): Use it.
16324         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16325         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16326         fall through into ENTRY entry point.
16327         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16328         Only define if _CALL_ELF != 2.
16330         (elf_machine_matches_host): Verify ABI version matches.
16331         (RTLD_START): Use LOCALENTRY.
16332         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16333         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16334         (PLT_ENTRY_WORDS): New macro.
16335         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16336         (elf_machine_runtime_setup): Support ELFv2 ABI.
16337         (elf_machine_fixup_plt): Likewise.
16338         (elf_machine_plt_conflict): Likewise.
16339         (resolve_ifunc): Likewise.
16340         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16342         Likewise.
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16344         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16346         (makecontext): Support ELFv2 ABI.
16347         * elf/elf.h (EF_PPC64_ABI): Define.
16349 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16351         * sysdeps/powerpc/powerpc64/sysdep.h
16352         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16353         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16354         (ENTRY) [ASSEMBLER]: ... but instead here ...
16355         (EALIGN) [ASSEMBLER]: ... and here.
16356         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16357         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16358         (ENTRY_2) [!ASSEMBLER]: Use it.
16359         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16360         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16361         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16362         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16363         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16365         Use PPC64_LOAD_FUNCPTR.
16367         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16369 2013-12-04  Alan Modra  <amodra@gmail.com>
16371         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16372         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16373         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16374         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16377         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16378         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16379         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16380         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16381         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16383 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16386         (__makecontext): Fix incorrect CFI when backtracing out of
16387         context created via makecontext.
16388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16389         (__setcontext): Fix incorrect CFI during switch to new context.
16390         (__novec_setcontext): Likewise.
16392 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16394         [BZ #4772]
16395         * time/strptime_l.c (__strptime_internal): Allow modifiers
16396         in strptime.
16397         * time/tst-strptime.c (day_tests): Add testcase.
16399 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16401         * scripts/bench.pl: Skip over blank lines.
16403 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16405         [BZ #926]
16406         * manual/time.texi (Calendar Time): Clarify what timezone functions
16407         use.
16409 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16413 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16415         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16416         implementation.
16417         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16418         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16419         * debug/memset_chk.c (__memset_chk): Likewise.
16420         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16421         * debug/strncpy_chk.c: Likewise.
16423 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16425         [BZ #15268]
16426         [BZ #15425]
16427         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16428         (__ieee754_exp): For possibly underflowing results, check size of
16429         result and force underflow exception if required.
16430         * math/auto-libm-test-in: Add more tests of exp.
16431         * math/auto-libm-test-out: Regenerated.
16432         * sysdeps/i386/fpu/libm-test-ulps: Update.
16433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16435         [BZ #16283]
16436         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16437         * math/w_exp2f.c (__exp2f): Likewise.
16438         * math/w_exp2l.c (__exp2l): Likewise.
16439         * math/auto-libm-test-in: Do not allow missing errno on exp2
16440         underflow.
16441         * math/auto-libm-test-out: Regenerated.
16443 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16445         [BZ #16274]
16446         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16447         handle filename validation.
16448         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16449         (do_open): Delete.
16451 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16453         [BZ #6786]
16454         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16455         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16456         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16457         <float.h>.
16458         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16460         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16462         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16463         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16464         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16465         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16466         Add more erfc tests.
16467         * math/auto-libm-test-out: Regenerated.
16468         * sysdeps/i386/fpu/libm-test-ulps: Update.
16469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16472         exp2, expm1, j0 and j1.
16473         * math/auto-libm-test-out: Regenerated.
16474         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16475         (erfc_test_data): Likewise.
16476         (exp_test_data): Likewise.
16477         (exp_tonearest_test_data): Likewise.
16478         (exp_towardzero_test_data): Likewise.
16479         (exp_downward_test_data): Likewise.
16480         (exp_upward_test_data): Likewise.
16481         (exp10_test_data): Likewise.
16482         (exp2_test_data): Likewise.
16483         (expm1_test_data): Likewise.
16484         (j0_test_data): Likewise.
16485         (j1_test_data): Likewise.
16486         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16487         (input_flag_type): Add flag_xfail_rounding.
16488         (input_flags): Add xfail-rounding.
16489         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16490         (output_for_one_input_case): Handle flag_xfail_rounding.
16491         * sysdeps/i386/fpu/libm-test-ulps: Update.
16492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16494 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16496         [BZ #16289]
16497         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16498         division by 0.
16500 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16502         [BZ #16195]
16503         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16504         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16505         (STAP_PROBE0): New macro.
16506         (STAP_PROBE1): Likewise.
16507         (STAP_PROBE2): Likewise.
16508         (STAP_PROBE3): Likewise.
16509         (STAP_PROBE4): Likewise.
16511 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16513         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16515 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16517         * benchtests/Makefile (bench): Add sqrt.
16518         (LDLIBS-bench-sqrt): New.
16519         * benchtests/sqrt-input: New.
16521 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16523         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16524         (GAIH_EAI): Likewise.
16525         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16526         (gaih_inet): Likewise.
16527         (getaddrinfo): Don't use GAIH_EAI.
16529         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16530         (struct gaih): Remove definition.
16532 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16534         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16535         Use HERRNOP directly.
16537 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16541 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16543         * math/gen-auto-libm-tests.c (test_functions): Add more
16544         single-argument functions.
16545         (special_fill_pi_2): New function.
16546         (special_fill_minus_pi_2): Likewise.
16547         (special_fill_pi_6): Likewise.
16548         (special_fill_minus_pi_6): Likewise.
16549         (special_fill_pi_3): Likewise.
16550         (special_fill_2pi_3): Likewise.
16551         (special_fill_e): Likewise.
16552         (special_fill_1_e): Likewise.
16553         (special_fill_e_minus_1): Likewise.
16554         (special_real_inputs): Add more special inputs.
16555         (output_for_one_input_case): Do not require ERANGE on underflow to
16556         zero if round-to-nearest result does not underflow to zero, unless
16557         exact results required.
16558         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16559         atan, atanh, cbrt, cos and cosh.
16560         * math/auto-libm-test-out: Regenerated.
16561         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16562         (acos_tonearest_test_data): Likewise.
16563         (acos_towardzero_test_data): Likewise.
16564         (acos_downward_test_data): Likewise.
16565         (acos_upward_test_data): Likewise.
16566         (acosh_test_data): Likewise.
16567         (asin_test_data): Likewise.
16568         (asin_tonearest_test_data): Likewise.
16569         (asin_towardzero_test_data): Likewise.
16570         (asin_upward_test_data): Likewise.
16571         (asinh_test_data): Likewise.
16572         (atan_test_data): Likewise.
16573         (atanh_test_data): Likewise.
16574         (cbrt_test_data): Likewise.
16575         (cos_test_data): Likewise.
16576         (cos_tonearest_test_data): Likewise.
16577         (cos_towardzero_test_data): Likewise.
16578         (cos_downward_test_data): Likewise.
16579         (cos_upward_test_data): Likewise.
16580         (cosh_test_data): Likewise.
16581         (cosh_tonearest_test_data): Likewise.
16582         (cosh_towardzero_test_data): Likewise.
16583         (cosh_downward_test_data): Likewise.
16584         (cosh_upward_test_data): Likewise.
16585         * sysdeps/i386/fpu/libm-test-ulps: Update.
16586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16588 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16590         [BZ #6787]
16591         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16592         * math/w_exp10f.c (__exp10f): Likewise.
16593         * math/w_exp10l.c (__exp10l): Likewise.
16594         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16595         errno settings in existing tests.
16597         [BZ #14032]
16598         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16599         precision control set to double precision.
16600         * sysdeps/i386/fpu/w_sqrt.c: New file.
16601         * math/auto-libm-test-in: Add more tests.
16602         * math/auto-libm-test-out: Update.
16604         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16605         (sqrt_test_tonearest): New function.
16606         (sqrt_towardzero_test_data): New variable.
16607         (sqrt_test_towardzero): New function.
16608         (sqrt_downward_test_data): New variable.
16609         (sqrt_test_downward): New function.
16610         (sqrt_upward_test_data): New variable.
16611         (sqrt_test_upward): New function.
16612         (main): Call the new functions.
16614         * math/gen-auto-libm-tests.c: New file.
16615         * math/auto-libm-test-in: Likewise.
16616         * math/auto-libm-test-out: New generated file.
16617         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16618         variables.
16619         (%beautify): Add generated representations of zero.
16620         (top level): Set $auto_input and call parse_auto_input.
16621         (beautify): Remove trailing "f" from hex float constants.
16622         (parse_args): Handle XFAIL_TEST.
16623         (convert_condition): New function.
16624         (or_value): Likewise.
16625         (or_cond_value): Likewise.
16626         (generate_testfile): Handle AUTO_TESTS_* lines.
16627         (parse_auto_input): New function.
16628         * math/libm-test.inc (XFAIL_TEST): New macro.
16629         (ERRNO_UNCHANGED): Update value.
16630         (ERRNO_EDOM): Likewise.
16631         (ERRNO_ERANGE): Likewise.
16632         (IGNORE_RESULT): Likewise.
16633         (TEST_COND_flt_32): New macro.
16634         (TEST_COND_dbl_64): Likewise.
16635         (TEST_COND_ldbl_96_intel): Likewise.
16636         (TEST_COND_ldbl_96_m68k): Likewise.
16637         (TEST_COND_ldbl_128): Likewise.
16638         (TEST_COND_ldbl_128ibm): Likewise.
16639         (TEST_COND_long32): Likewise.
16640         (TEST_COND_long64): Likewise.
16641         (TEST_COND_before_rounding): Likewise.
16642         (TEST_COND_after_rounding): Likewise.
16643         (enable_test): Handle XFAIL_TEST flag.
16644         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16645         with finite results.
16646         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16647         auto-libm-test-out.
16649 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16650             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16652         [BZ #16214]
16653         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16654         __tls_get_addr_internal instead of __tls_get_offset in order to
16655         avoid GOT pointer dependency.  Make rtld export
16656         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16657         __tls_get_addr since we are a __tls_get_offset platform.
16658         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16659         GOT pointer being set up before.
16660         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16662 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16664         * manual/math.texi (Errors in Math Functions): Document accuracy
16665         goals.
16667         [BZ #15004]
16668         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16669         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16670         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16672         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16673         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16674         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16675         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16676         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16677         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16678         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16679         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16680         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16681         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16682         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16683         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16685         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16686         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16687         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16688         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16689         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16690         Likewise.
16691         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16692         Likewise.
16693         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16694         Likewise.
16695         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16696         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16697         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16698         atomic-feupdateenv and flt-rounds.
16699         * sysdeps/powerpc/nofpu/Versions (libc): Add
16700         __atomic_feholdexcept, __atomic_feclearexcept,
16701         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16703         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16704         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16705         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16706         here.
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16708         Update.
16710         * manual/arith.texi (FP Exceptions): Document that exceptions may
16711         not be raised when matherr is used.
16712         (Math Error Reporting): Document overflow in directed rounding
16713         modes.  Document that errno may not be set when finite values are
16714         returned on overflow.  Document intent to set errno on underflow
16715         only for underflow to zero.
16717         [BZ #16271]
16718         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16719         round-to-nearest then adjust result for other rounding modes.
16720         * include/fenv.h (fegetround): Use libm_hidden_proto.
16721         * math/fegetround.c (fegetround): Use libm_hidden_def.
16722         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16723         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16724         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16725         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16726         Likewise.
16727         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16728         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16729         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16730         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16732 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16734         [BZ #16077]
16735         * nss/Versions (libnss_files): Add
16736         _nss_files_gethostbyname3_r.
16737         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16738         New function.
16739         (HOST_DB_LOOKUP): Remove macro.
16740         (_nss_files_gethostbyname_r): Implement function without the
16741         HOST_DB_LOOKUP macro.
16742         (_nss_files_gethostbyname2_r): Likewise.
16744 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16746         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16748 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16750         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16751         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16752         warning.
16754 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16756         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16757         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16758         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16759         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16760         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16761         __fe_nomask_env_priv and attribute_hidden.
16762         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16763         (libc_feupdateenv_test_ppc): Likewise.
16764         (libc_feresetround_ppc): Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16766         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16767         compat_symbol macro.
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16769         (__fe_nomask_env): Likewise.
16770         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16772 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16774         * string/Makefile: Remove ifunc tests.
16775         * string/test-string.h: Define TEST_IFUNC.
16776         * string/test-bcopy-ifunc.c: Remove.
16777         * string/test-bzero-ifunc.c: Likewise.
16778         * string/test-memccpy-ifunc.c: Likewise.
16779         * string/test-memchr-ifunc.c: Likewise.
16780         * string/test-memcmp-ifunc.c: Likewise.
16781         * string/test-memcpy-ifunc.c: Likewise.
16782         * string/test-memmem-ifunc.c: Likewise.
16783         * string/test-memmove-ifunc.c: Likewise.
16784         * string/test-mempcpy-ifunc.c: Likewise.
16785         * string/test-memrchr-ifunc.c: Likewise.
16786         * string/test-memset-ifunc.c: Likewise.
16787         * string/test-rawmemchr-ifunc.c: Likewise.
16788         * string/test-stpcpy-ifunc.c: Likewise.
16789         * string/test-stpncpy-ifunc.c: Likewise.
16790         * string/test-strcasecmp-ifunc.c: Likewise.
16791         * string/test-strcasestr-ifunc.c: Likewise.
16792         * string/test-strcat-ifunc.c: Likewise.
16793         * string/test-strchr-ifunc.c: Likewise.
16794         * string/test-strchrnul-ifunc.c: Likewise.
16795         * string/test-strcmp-ifunc.c: Likewise.
16796         * string/test-strcpy-ifunc.c: Likewise.
16797         * string/test-strcspn-ifunc.c: Likewise.
16798         * string/test-strlen-ifunc.c: Likewise.
16799         * string/test-strncasecmp-ifunc.c: Likewise.
16800         * string/test-strncat-ifunc.c: Likewise.
16801         * string/test-strncmp-ifunc.c: Likewise.
16802         * string/test-strncpy-ifunc.c: Likewise.
16803         * string/test-strnlen-ifunc.c: Likewise.
16804         * string/test-strpbrk-ifunc.c: Likewise.
16805         * string/test-strrchr-ifunc.c: Likewise.
16806         * string/test-strspn-ifunc.c: Likewise.
16807         * string/test-strstr-ifunc.c: Likewise.
16809 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16811         * benchtests/Makefile: Remove ifunc tests.
16812         * benchtests/bench-string.h: Define TEST_IFUNC.
16813         * benchtests/bench-bcopy-ifunc.c: Remove.
16814         * benchtests/bench-bzero-ifunc.c: Likewise.
16815         * benchtests/bench-memccpy-ifunc.c: Likewise.
16816         * benchtests/bench-memchr-ifunc.c: Likewise.
16817         * benchtests/bench-memcmp-ifunc.c: Likewise.
16818         * benchtests/bench-memcpy-ifunc.c: Likewise.
16819         * benchtests/bench-memmem-ifunc.c: Likewise.
16820         * benchtests/bench-memmove-ifunc.c: Likewise.
16821         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16822         * benchtests/bench-memrchr-ifunc.c: Likewise.
16823         * benchtests/bench-memset-ifunc.c: Likewise.
16824         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16825         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16826         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16827         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16828         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16829         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16830         * benchtests/bench-strcat-ifunc.c: Likewise.
16831         * benchtests/bench-strchr-ifunc.c: Likewise.
16832         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16833         * benchtests/bench-strcmp-ifunc.c: Likewise.
16834         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16835         * benchtests/bench-strcpy-ifunc.c: Likewise.
16836         * benchtests/bench-strcspn-ifunc.c: Likewise.
16837         * benchtests/bench-strlen-ifunc.c: Likewise.
16838         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16839         * benchtests/bench-strncat-ifunc.c: Likewise.
16840         * benchtests/bench-strncmp-ifunc.c: Likewise.
16841         * benchtests/bench-strncpy-ifunc.c: Likewise.
16842         * benchtests/bench-strnlen-ifunc.c: Likewise.
16843         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16844         * benchtests/bench-strrchr-ifunc.c: Likewise.
16845         * benchtests/bench-strsep-ifunc.c: Likewise.
16846         * benchtests/bench-strspn-ifunc.c: Likewise.
16847         * benchtests/bench-strstr-ifunc.c: Likewise.
16849 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16851         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16853 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16855         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16856         * rt/aio.h: Likewise.
16857         * sysdeps/gnu/bits/utmp.h: Likewise.
16858         * sysdeps/gnu/bits/utmpx.h: Likewise.
16859         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16860         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16861         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16862         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16863         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16864         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16865         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16866         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16868         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16870         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16871         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16873         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16874         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16875         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16876         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16877         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16878         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16879         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16880         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16881         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16882         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16883         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16885         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16886         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16887         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16889         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16890         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16891         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16892         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16893         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16894         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16895         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16896         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16897         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16898         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16899         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16900         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16902 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16904         [BZ #16245]
16905         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16906         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16908 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16910         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16911         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16912         Likewise.
16914 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16916         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16917         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16918         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16919         (__fesetround): Remove define.
16920         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16921         rounding and exceptions handling.
16922         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16923         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16924         (__fe_nomask_env): Likewise.
16925         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16926         __fegetround instead of fegetround.
16927         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16928         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16930 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16932         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16933         it's there.
16935         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16937 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16939         [BZ #11157]
16940         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16941         (encrypt_r): Likewise.
16942         * malloc/obstack.h (obstack_free): Likewise.
16943         * posix/unistd.h (encrypt): Likewise.
16945 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16947         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16948         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16949         DL_CALL_DT_FINI() that call the functions directly.
16950         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16951         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16952         * elf/dl-fini.c: Likewise.
16954 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16956         * malloc/hooks.c (memalign_check): Add alignment rounding.
16957         * malloc/malloc.c (_mid_memalign): New function.
16958         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16959         Implement by calling _mid_memalign.
16960         * manual/probes.texi (Memory Allocation Probes): Remove
16961         memory_valloc_retry and memory_pvalloc_retry.
16963 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16965         * locale/programs/locarchive.c (open_archive): Add const
16966         qualifier to ARCHIVEFNAME and copy default fname to
16967         DEFAULT_FNAME.
16969         [BZ #15601]
16970         * libio/tst-widetext.input: Rename Oriya to Odia.
16971         * locale/iso-639.def: Likewise.
16973         * manual/probes.texi (Mathematical Function Probes): Add
16974         documentation for sin, cos, asin and acos probes.
16975         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16976         (__sin32): Add slowasin probe.
16977         (__cos32): Add slowacos probe.
16978         (__mpsin): Add slowsin probe.
16979         (__mpcos): Add slowcos probe.
16981 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #15483]
16984         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16985         thread-local __sim_exceptions_thread and global
16986         __sim_exceptions_global.
16987         (__sim_disabled_exceptions): Change to thread-local
16988         __sim_disabled_exceptions_thread and global
16989         __sim_disabled_exceptions_global.
16990         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16991         and global __sim_round_mode_global.
16992         (__simulate_exceptions): Use thread-local floating-point state and
16993         set global state from it as needed.
16994         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16995         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16996         __sim_round_mode_thread.
16997         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16998         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16999         and global __sim_exceptions_global.
17000         (__sim_disabled_exceptions): Change to thread-local
17001         __sim_disabled_exceptions_thread and global
17002         __sim_disabled_exceptions_global.
17003         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17004         and global __sim_round_mode_global.
17005         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17006         (SIM_SET_GLOBAL): Likewise.
17007         * sysdeps/powerpc/soft-fp/sfp-machine.h
17008         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17009         __sim_round_mode_thread.
17010         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17011         __sim_disabled_exceptions_thread.
17012         (__sim_exceptions): Change to __sim_exceptions_thread.
17013         (__sim_disabled_exceptions): Change to
17014         __sim_disabled_exceptions_thread.
17015         (__sim_round_mode): Change to __sim_round_mode_thread.
17016         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17017         thread-local floating-point state and set global state from it as
17018         needed.
17019         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17020         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17021         (__sim_disabled_exceptions): Remove extern declaration.
17022         (feenableexcept): Use thread-local floating-point state and set
17023         global state from it as needed.
17024         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17025         extern declaration.
17026         (__sim_disabled_exceptions): Likewise.
17027         (__sim_round_mode): Likewise.
17028         (__fegetenv): Use thread-local floating-point state.
17029         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17030         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17031         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17032         floating-point state and set global state from it as needed.
17033         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17034         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17035         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17036         Likewise.
17037         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17038         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17039         Likewise.
17040         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17041         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17042         Use __sim_round_mode_thread.
17043         * math/test-fenv-tls.c: New file.
17044         * math/Makefile (tests): Add test-fenv-tls.
17045         ($(objpfx)test-fenv-tls): Depend on
17046         $(common-objpfx)nptl/libpthread.so.
17048 2013-11-19  Andreas Schwab  <schwab@suse.de>
17050         * locale/programs/locale.c (show_info): Decode wordarray elements.
17051         * locale/categories.def (LC_MONETARY): Add element for
17052         _NL_MONETARY_CRNCYSTR.
17053         * locale/C-monetary.c (conversion_rate): New variable.
17054         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17055         element.
17057 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
17059         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17060         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17062 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17064         * elf/Makefile (tst-auxv): New test.
17065         * elf/tst-auxv.c: New
17066         * elf/rtld.c (dl_main): Adjust AT_EXECFN
17068 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
17070         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17071         (hidden_proto): Caller changed.
17072         (hidden_tls_proto): New macro.
17073         (libc_hidden_tls_proto): Likewise.
17074         (rtld_hidden_tls_proto): Likewise.
17075         (libm_hidden_tls_proto): Likewise.
17076         (libresolv_hidden_tls_proto): Likewise.
17077         (librt_hidden_tls_proto): Likewise.
17078         (libdl_hidden_tls_proto): Likewise.
17079         (libnss_files_hidden_tls_proto): Likewise.
17080         (libnsl_hidden_tls_proto): Likewise.
17081         (libnss_nisplus_hidden_tls_proto): Likewise.
17082         (libutil_hidden_tls_proto): Likewise.
17084 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
17086         [BZ #10253]
17087         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17088         (decompose_rpath): Defer expansion to fillin_rpath.
17089         (_dl_init_paths): Pass linkmap to fillin_rpath.
17091 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17093         * benchtests/Makefile: Add strsep.
17094         * benchtests/bench-strsep.c: New file: strsep benchtest.
17095         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17097 2013-11-18  Andreas Schwab  <schwab@suse.de>
17099         * locale/programs/locale.c (show_info) [case byte]: Check for
17100         '\377' instead of '\177'.
17101         * locale/C-monetary.c (not_available): Always use "\377".
17102         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17103         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
17104         detect unavailable sign_posn locale elements.
17105         * locale/localeconv.c (__localeconv): For grouping and
17106         mon_grouping handle "\177" and "\377" like no grouping.
17107         (INT_ELEM): New macro.  Use it to set all numeric members.
17108         * locale/programs/ld-monetary.c (monetary_read)
17109         <tok_mon_grouping>: Normalize single -1 to the empty string.
17110         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17111         Likewise.
17113 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17115         [BZ #16055]
17116         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17117         when we match (nil).
17118         * stdio-common/tst-sscanf.c (struct test): Add testcase.
17120 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
17122         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17123         (NO_TEST_INLINE): Update value.
17124         (ERRNO_UNCHANGED): Likewise.
17125         (ERRNO_EDOM): Likewise.
17126         (ERRNO_ERANGE): Likewise.
17127         (IGNORE_RESULT): Likewise.
17128         (check_float_internal): Check signs of NaN results if
17129         TEST_NAN_SIGN used.
17130         (check_complex): Pass TEST_NAN_SIGN flag through to second
17131         check_float_internal call.
17132         (copysign_test_data): Add tests with quiet NaNs as second
17133         argument.  Use TEST_NAN_SIGN.
17134         (fabs_test_data): Add test of negative quiet NaN argument.  Use
17135         TEST_NAN_SIGN.
17136         (signbit_test_data): Add tests of quiet NaN argument.
17137         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17139         * math/gen-libm-test.pl (show_exceptions): Take extra argument
17140         $ignore_result.
17141         (parse_args): Handle function results specified as IGNORE.
17142         * math/libm-test.inc (IGNORE_RESULT): New macro.
17143         (check_float_internal): Do not check numerical result if flag
17144         IGNORE_RESULT set.
17145         (check_complex): Pass through IGNORE_RESULT to second
17146         check_float_internal call.
17147         (check_int): Do not check numerical result if flag IGNORE_RESULT
17148         set.
17149         (check_long): Likewise.
17150         (check_bool): Likewise.
17151         (check_longlong): Likewise.
17152         (lrint_test_data): Add tests of infinite and NaN arguments.
17153         (lrint_tonearest_test_data): Likewise.
17154         (lrint_towardzero_test_data): Likewise.
17155         (lrint_downward_test_data): Likewise.
17156         (lrint_upward_test_data): Likewise.
17157         (llrint_test_data): Likewise.
17158         (llrint_tonearest_test_data): Likewise.
17159         (llrint_towardzero_test_data): Likewise.
17160         (llrint_downward_test_data): Likewise.
17161         (llrint_upward_test_data): Likewise.
17162         (lround_test_data): Likewise.
17163         (llround_test_data): Likewise.
17165         * math/libm-test.inc (NO_TEST_INLINE): New macro.
17166         (ERRNO_UNCHANGED): Update value.
17167         (ERRNO_EDOM): Likewise.
17168         (ERRNO_ERANGE): Likewise.
17169         (NO_TEST_INLINE_FLOAT): New macro.
17170         (NO_TEST_INLINE_DOUBLE): Likewise.
17171         (enable_test): New function.
17172         (RUN_TEST_f_f): Check enable_test before running test.
17173         (RUN_TEST_2_f): Likewise.
17174         (RUN_TEST_fff_f): Likewise.
17175         (RUN_TEST_c_f): Likewise.
17176         (RUN_TEST_f_f1): Likewise.
17177         (RUN_TEST_fF_f1): Likewise.
17178         (RUN_TEST_fI_f1): Likewise.
17179         (RUN_TEST_ffI_f1): Likewise.
17180         (RUN_TEST_c_c): Likewise.
17181         (RUN_TEST_cc_c): Likewise.
17182         (RUN_TEST_f_i): Likewise.
17183         (RUN_TEST_f_i_tg): Likewise.
17184         (RUN_TEST_ff_i_tg): Likewise.
17185         (RUN_TEST_f_b): Likewise.
17186         (RUN_TEST_f_b_tg): Likewise.
17187         (RUN_TEST_f_l): Likewise.
17188         (RUN_TEST_f_L): Likewise.
17189         (RUN_TEST_fFF_11): Likewise.
17190         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17191         conditionals.
17192         (cosh_test_data): Likewise.
17193         (exp_test_data): Likewise.
17194         (expm1_test_data): Likewise.
17195         (hypot_test_data): Likewise.
17196         (pow_test_data): Likewise.
17197         (sinh_test_data): Likewise.
17198         (tanh_test_data): Likewise.
17199         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17200         flags argument.
17202         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17203         tests with quiet NaN input and output.
17204         (acosh_test_data): Likewise.
17205         (asin_test_data): Likewise.
17206         (asinh_test_data): Likewise.
17207         (atan_test_data): Likewise.
17208         (atanh_test_data): Likewise.
17209         (atan2_test_data): Likewise.
17210         (cbrt_test_data): Likewise.
17211         (cos_test_data): Likewise.
17212         (cosh_test_data): Likewise.
17213         (erf_test_data): Likewise.
17214         (erfc_test_data): Likewise.
17215         (exp_test_data): Likewise.
17216         (exp10_test_data): Likewise.
17217         (exp2_test_data): Likewise.
17218         (expm1_test_data): Likewise.
17219         (hypot_test_data): Likewise.
17220         (j0_test_data): Likewise.
17221         (j1_test_data): Likewise.
17222         (jn_test_data): Likewise.
17223         (lgamma_test_data): Likewise.
17224         (log_test_data): Likewise.
17225         (log10_test_data): Likewise.
17226         (log1p_test_data): Likewise.
17227         (log2_test_data): Likewise.
17228         (pow_test_data): Likewise.
17229         (scalb_test_data): Likewise.
17230         (sin_test_data): Likewise.
17231         (sincos_test_data): Likewise.
17232         (sinh_test_data): Likewise.
17233         (tan_test_data): Likewise.
17234         (tanh_test_data): Likewise.
17235         (tgamma_test_data): Likewise.
17236         (y0_test_data): Likewise.
17237         (y1_test_data): Likewise.
17238         (yn_test_data): Likewise.
17240         [BZ #16167]
17241         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17242         argument being NaN and avoid computations with second argument in
17243         that case.
17244         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17245         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17246         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17248 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
17250         * locale/iso-639.def: Add Chitwani Tharu (the).
17252 2013-11-14  Andreas Schwab  <schwab@suse.de>
17254         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17255         word instead of empty string.
17257 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17260         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17262         (__fe_nomask_env): Likewise.
17264 2013-11-13  Steve Ellcey  <sellcey@mips.com>
17266         * benchtests/bench-timing.h: Include time.h.
17268 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
17270         [BZ #15997]
17271         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17272         to 3.4.0 for x32.
17273         * sysdeps/unix/sysv/linux/configure: Regenerated.
17275 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
17277         [BZ #16151]
17278         * stdlib/strtod_l.c (round_and_return): Do not consider
17279         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17280         exponent one less than half the least subnormal exponent.
17281         * stdlib/test-strtod-round-data: Add more tests.
17282         * stdlib/tst-strtod-round.c (tests): Regenerated.
17284 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17286         [BZ #14143]
17287         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17288         (__fe_mask_env): Likewise.
17289         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17290         libm_hidden_proto and add function prototype.
17291         (__fe_mask_env): Add function prototype.
17292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17293         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17295         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17297         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17299 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17301         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17302         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17304 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17306         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17307         of htab_find_slot().
17309 2013-11-11  David S. Miller  <davem@davemloft.net>
17311         [BZ #16150]
17312         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17313         symbol in the non-vis3 case in static builds.
17314         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17315         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17316         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17317         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17319 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17321         [BZ #387]
17322         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17323         it is empty.
17325 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17327         * benchtests/Makefile: Add bench-strtod.
17328         * benchtests/bench-strtod.c: New file: strtod benchtest
17330 2013-11-11  Andreas Schwab  <schwab@suse.de>
17332         [BZ #16153]
17333         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17334         terminating NUL in key length.
17336 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17338         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17339         Add artificial ODP entry for vDSO symbol for PPC64.
17340         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17341         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17343 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17345         [BZ #15374]
17346         * nss/getent.c (services_keys): Recognize services starting with digit.
17348 2013-11-06  David S. Miller  <davem@davemloft.net>
17350         [BZ #15985]
17351         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17352         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17354 2013-11-06  Will Newton  <will.newton@linaro.org>
17356         * manual/memory.texi (Malloc Examples): Remove register
17357         keyword from examples.
17359 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17361         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17363 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17365         [BZ #6981]
17366         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17367         depending on [__GCC_IEC_559 > 0].
17368         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17369         depending on [__GCC_IEC_559_COMPLEX > 0].
17371 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17373         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17374         to iso-639.def.
17376 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17378         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17380 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17382         [BZ #16112]
17383         * malloc/malloc (malloc_info): Do not handle first bin as
17384         special case.
17386 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17388         * locale/iso-639.def: Add Central Nahuatl (nhn).
17390 2013-11-01  Bruno Haible  <bruno@clisp.org>
17392         [BZ #7003]
17393         * manual/math.texi (BSD Random): Specify range upper bound as
17394         in POSIX.
17396 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17398         * locale/iso-639.def: Add Meadow Mari (mhr).
17400 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17402         [BZ #14752], [BZ #15763]
17403         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17404         Validate name.
17405         * rt/tst_shm.c: Add test for escaping directory.
17407 2013-10-31  Andreas Schwab  <schwab@suse.de>
17409         [BZ #15917]
17410         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17411         followed by 'x' as part of digit sequence.
17412         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17414 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17416         [BZ #16037]
17417         * configure.ac: allow GNU Make 4.0 and greater.
17418         * configure: Regenerated.
17420 2013-10-30  Will Newton  <will.newton@linaro.org>
17422         [BZ #16038]
17423         * malloc/hooks.c (memalign_check): Limit alignment to the
17424         maximum representable power of two.
17425         * malloc/malloc.c (__libc_memalign): Likewise.
17426         * malloc/tst-memalign.c (do_test): Add test for very
17427         large alignment values.
17428         * malloc/tst-posix_memalign.c (do_test): Likewise.
17430 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17432         [BZ #11087]
17433         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17434         (munmap_chunk): Likewise.
17435         (mremap_chunk): Likewise.
17437 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17439         [BZ #15799]
17440         * stdlib/div.c (div): Remove obsolete code.
17441         * stdlib/ldiv.c (ldiv): Likewise.
17442         * stdlib/lldiv.c (lldiv): Likewise.
17444 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17446         [BZ #16071]
17447         * nss/nss_files/files-XXX.c (get_contents_ret): New
17448         enumerator.
17449         (get_contents): New function.
17450         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17452 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17454         * configure.in: Moved to ...
17455         * configure.ac: ... here. Change reference to configure.in
17456         to configure.ac.
17457         * sysdeps/arm/preconfigure.ac: ... here.
17458         configure.in to configure.ac.
17459         * sysdeps/gnu/configure.in: Moved to ...
17460         * sysdeps/gnu/configure.ac: ... here.
17461         * sysdeps/i386/configure.in: Moved to ...
17462         * sysdeps/i386/configure.ac: ... here.
17463         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17464         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17465         * sysdeps/mach/configure.in: Moved to ...
17466         * sysdeps/mach/configure.ac: ... here.
17467         * sysdeps/mach/hurd/configure.in: Moved to ...
17468         * sysdeps/mach/hurd/configure.ac: ... here.
17469         * sysdeps/powerpc/configure.in: Moved to ...
17470         * sysdeps/powerpc/configure.ac: ... here.
17471         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17472         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17473         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17474         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17475         * sysdeps/s390/s390-32/configure.in: Moved to ...
17476         * sysdeps/s390/s390-32/configure.ac: ... here.
17477         * sysdeps/s390/s390-64/configure.in: Moved to ...
17478         * sysdeps/s390/s390-64/configure.ac: ... here.
17479         * sysdeps/sh/configure.in: Moved to ...
17480         * sysdeps/sh/configure.ac: ... here.
17481         * sysdeps/sparc/configure.in: Moved to ...
17482         * sysdeps/sparc/configure.ac: ... here.
17483         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17484         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17485         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17486         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17487         * sysdeps/x86_64/configure.in: Moved to ...
17488         * sysdeps/x86_64/configure.ac: ... here.
17489         * sysdeps/x86_64/preconfigure.in: Moved to ...
17490         * sysdeps/x86_64/preconfigure.ac: ... here.
17491         * aclocal.m4: Change reference to configure.in to configure.ac.
17492         * config.h.in: Likewise.
17493         * manual/install.texi: Likewise.
17494         * manual/maint.texi: Likewise.
17495         * Makefile: Likewise.
17496         * malloc/Makefile: Likewise.
17497         * nscd/Makefile: Likewise.
17498         * Makeconfig: Change reference to configure.in and
17499         preconfigure.in to configure.ac and preconfigure.ac
17500         respectively.
17501         * INSTALL: Regenerated.
17502         * configure: Likewise.
17503         * sysdeps/gnu/configure: Likewise.
17504         * sysdeps/i386/configure: Likewise.
17505         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17506         * sysdeps/mach/configure: Likewise.
17507         * sysdeps/mach/hurd/configure: Likewise.
17508         * sysdeps/powerpc/configure: Likewise.
17509         * sysdeps/powerpc/powerpc32/configure: Likewise.
17510         * sysdeps/powerpc/powerpc64/configure: Likewise.
17511         * sysdeps/s390/s390-32/configure: Likewise.
17512         * sysdeps/s390/s390-64/configure: Likewise.
17513         * sysdeps/sh/configure: Likewise.
17514         * sysdeps/sparc/configure: Likewise.
17515         * sysdeps/unix/sysv/linux/configure: Likewise.
17516         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17517         * sysdeps/x86_64/configure: Likewise.
17518         * sysdeps/x86_64/preconfigure: Likewise.
17520 2013-10-29  Andreas Schwab  <schwab@suse.de>
17522         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17524 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17526         * benchtests/pow-inputs: Add new inputs.
17528         * benchtests/exp-inputs: Add new inputs.
17530         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17531         conditional check for return value.
17532         (__cos32): Likewise.
17534 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17536         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17537         to provide a boost for large inputs with word alignment.
17538         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17539         implementation based on optimized PPC64 strcpy.
17540         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17541         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17542         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17543         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17545 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17547         [BZ #2801]
17548         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17550 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17552         [BZ #14876]
17553         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17554         * time/tst-strptime.c (day_tests): Add testcase.
17556 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17558         [BZ #14029]
17559         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17561 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17563         [BZ #16074]
17564         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17565         MAP_FAILED on error.
17567 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17569         [BZ #16072]
17570         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17571         heap for large requests.
17573 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17575         [BZ #9954]
17576         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17577         result if the result has no associated interface.
17578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17579         interface for all 127.X.Y.Z addresses.
17581 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17583         * locale/iso-639.def: Add Ligurian (lij)
17585 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17587         [BZ #15825]
17588         * sunrpc/rpc_main.c: Document rpcgen -5.
17590 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17592         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17594 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17596         [BZ #10278]
17597         * posix/glob.c: Match only directories when trailing slash is present.
17598         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17599         (main): Add testcase.
17601 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17603         [BZ #15670]
17604         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17606 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17608         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17609         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17610         AUTH_DES and cindex for FIPS 140-2.
17611         (DES Encryption): Add cindex FIPS 46-3.
17613         * locale/locarchive.h (struct locarhandle): Add fname.
17614         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17615         if an optional argument was specified to --list-archive,
17616         otherwise NULL.
17617         * locale/programs/locarchive.c (show_archive_content): Take new
17618         argument fname and pass it via ah.fname to open_archive.
17619         * locale/programs/localedef.h: Update decl.
17620         (open_archive): If AH->fname is non-null, open that file
17621         rather than the default file name, and don't ignore ENOENT.
17622         (create_archive): Set AH.fname to NULL.
17623         (delete_locales_from_archive): Likewise.
17624         (add_locales_to_archive): Likewise.
17625         * locale/programs/locfile.c (write_all_categories): Likewise.
17627 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17628             Aldy Hernandez  <aldyh@redhat.com>
17630         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17631         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17632         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17633         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17634         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17635         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17636         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17638         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17639         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17640         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17641         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17642         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17643         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17644         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17645         Likewise.
17646         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17647         Likewise.
17648         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17649         Likewise.
17650         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17651         Likewise.
17652         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17653         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17654         Likewise.
17655         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17656         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17657         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17658         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17659         Likewise.
17660         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17661         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17662         * sysdeps/powerpc/preconfigure: Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17664         Likewise.
17665         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17666         Replace contents of file by #include of <fenv_libc.h>.
17667         * sysdeps/powerpc/soft-fp/sfp-machine.h
17668         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17669         and <sys/prctl.h>.
17670         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17683         Allow copysignl PLT reference to be missing.
17685 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17686             Joseph Myers  <joseph@codesourcery.com
17688         [BZ #15948]
17689         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17690         single character.
17691         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17693 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17695         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17696         * elf/tst-tls1.c: Likewise.
17697         * elf/tst-tls10.h: Likewise.
17698         * elf/tst-tls14.c: Likewise.
17699         * elf/tst-tls2.c: Likewise.
17700         * elf/tst-tls3.c: Likewise.
17701         * elf/tst-tls4.c: Likewise.
17702         * elf/tst-tls5.c: Likewise.
17703         * elf/tst-tls6.c: Likewise.
17704         * elf/tst-tls7.c: Likewise.
17705         * elf/tst-tls8.c: Likewise.
17706         * elf/tst-tls9.c: Likewise.
17707         * elf/tst-tlsmod1.c: Likewise.
17708         * elf/tst-tlsmod13.c: Likewise.
17709         * elf/tst-tlsmod13a.c: Likewise.
17710         * elf/tst-tlsmod14a.c: Likewise.
17711         * elf/tst-tlsmod16a.c: Likewise.
17712         * elf/tst-tlsmod16b.c: Likewise.
17713         * elf/tst-tlsmod2.c: Likewise.
17714         * elf/tst-tlsmod3.c: Likewise.
17715         * elf/tst-tlsmod4.c: Likewise.
17716         * elf/tst-tlsmod5.c: Likewise.
17717         * elf/tst-tlsmod6.c: Likewise.
17719 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17721         [BZ #12486]
17722         * malloc/malloc.c: remove checks for statistics.
17724 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17726         [BZ #15277]
17727         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17728         * inet/tst-network.c: Add testcase.
17730 2013-10-17  Andreas Schwab  <schwab@suse.de>
17732         [BZ #15218]
17733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17734         to determine canonical name.
17736 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17738         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17739         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17741         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17743         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17744         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17745         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17746         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17747         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17748         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17749         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17750         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17751         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17755         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17756         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17757         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17761         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17762         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17763         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17764         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17765         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17766         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17767         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17768         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17770         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17771         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17772         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17773         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17774         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17775         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17776         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17777         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17778         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17779         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17780         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17781         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17782         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17783         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17784         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17785         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17786         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17787         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17788         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17789         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17790         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17791         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17792         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17793         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17794         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17795         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17797 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17799         [BZ #16041]
17800         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17801         make result into a quiet NaN.
17803 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17805         * soft-fp/adddf3.c: Fix horizontal whitespace.
17806         * soft-fp/addsf3.c: Likewise.
17807         * soft-fp/addtf3.c: Likewise.
17808         * soft-fp/divdf3.c: Likewise.
17809         * soft-fp/divsf3.c: Likewise.
17810         * soft-fp/divtf3.c: Likewise.
17811         * soft-fp/double.h: Likewise.
17812         * soft-fp/eqdf2.c: Likewise.
17813         * soft-fp/eqsf2.c: Likewise.
17814         * soft-fp/eqtf2.c: Likewise.
17815         * soft-fp/extenddftf2.c: Likewise.
17816         * soft-fp/extended.h: Likewise.
17817         * soft-fp/extendsfdf2.c: Likewise.
17818         * soft-fp/extendsftf2.c: Likewise.
17819         * soft-fp/extendxftf2.c: Likewise.
17820         * soft-fp/fixdfdi.c: Likewise.
17821         * soft-fp/fixdfsi.c: Likewise.
17822         * soft-fp/fixdfti.c: Likewise.
17823         * soft-fp/fixsfdi.c: Likewise.
17824         * soft-fp/fixsfsi.c: Likewise.
17825         * soft-fp/fixsfti.c: Likewise.
17826         * soft-fp/fixtfdi.c: Likewise.
17827         * soft-fp/fixtfsi.c: Likewise.
17828         * soft-fp/fixtfti.c: Likewise.
17829         * soft-fp/fixunsdfdi.c: Likewise.
17830         * soft-fp/fixunsdfsi.c: Likewise.
17831         * soft-fp/fixunsdfti.c: Likewise.
17832         * soft-fp/fixunssfdi.c: Likewise.
17833         * soft-fp/fixunssfsi.c: Likewise.
17834         * soft-fp/fixunssfti.c: Likewise.
17835         * soft-fp/fixunstfdi.c: Likewise.
17836         * soft-fp/fixunstfsi.c: Likewise.
17837         * soft-fp/fixunstfti.c: Likewise.
17838         * soft-fp/floatdidf.c: Likewise.
17839         * soft-fp/floatdisf.c: Likewise.
17840         * soft-fp/floatditf.c: Likewise.
17841         * soft-fp/floatsidf.c: Likewise.
17842         * soft-fp/floatsisf.c: Likewise.
17843         * soft-fp/floatsitf.c: Likewise.
17844         * soft-fp/floattidf.c: Likewise.
17845         * soft-fp/floattisf.c: Likewise.
17846         * soft-fp/floattitf.c: Likewise.
17847         * soft-fp/floatundidf.c: Likewise.
17848         * soft-fp/floatundisf.c: Likewise.
17849         * soft-fp/floatunditf.c: Likewise.
17850         * soft-fp/floatunsidf.c: Likewise.
17851         * soft-fp/floatunsisf.c: Likewise.
17852         * soft-fp/floatunsitf.c: Likewise.
17853         * soft-fp/floatuntidf.c: Likewise.
17854         * soft-fp/floatuntisf.c: Likewise.
17855         * soft-fp/floatuntitf.c: Likewise.
17856         * soft-fp/fmadf4.c: Likewise.
17857         * soft-fp/fmasf4.c: Likewise.
17858         * soft-fp/fmatf4.c: Likewise.
17859         * soft-fp/gedf2.c: Likewise.
17860         * soft-fp/gesf2.c: Likewise.
17861         * soft-fp/getf2.c: Likewise.
17862         * soft-fp/ledf2.c: Likewise.
17863         * soft-fp/lesf2.c: Likewise.
17864         * soft-fp/letf2.c: Likewise.
17865         * soft-fp/muldf3.c: Likewise.
17866         * soft-fp/mulsf3.c: Likewise.
17867         * soft-fp/multf3.c: Likewise.
17868         * soft-fp/negdf2.c: Likewise.
17869         * soft-fp/negsf2.c: Likewise.
17870         * soft-fp/negtf2.c: Likewise.
17871         * soft-fp/op-1.h: Likewise.
17872         * soft-fp/op-2.h: Likewise.
17873         * soft-fp/op-4.h: Likewise.
17874         * soft-fp/op-8.h: Likewise.
17875         * soft-fp/op-common.h: Likewise.
17876         * soft-fp/quad.h: Likewise.
17877         * soft-fp/single.h: Likewise.
17878         * soft-fp/soft-fp.h: Likewise.
17879         * soft-fp/sqrtdf2.c: Likewise.
17880         * soft-fp/sqrtsf2.c: Likewise.
17881         * soft-fp/sqrttf2.c: Likewise.
17882         * soft-fp/subdf3.c: Likewise.
17883         * soft-fp/subsf3.c: Likewise.
17884         * soft-fp/subtf3.c: Likewise.
17885         * soft-fp/truncdfsf2.c: Likewise.
17886         * soft-fp/trunctfdf2.c: Likewise.
17887         * soft-fp/trunctfsf2.c: Likewise.
17888         * soft-fp/trunctfxf2.c: Likewise.
17889         * soft-fp/unorddf2.c: Likewise.
17890         * soft-fp/unordsf2.c: Likewise.
17891         * soft-fp/unordtf2.c: Likewise.
17893 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17895         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17896         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17898 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17900         * elf/dl-libc.c: Clear initfini list after freeing.
17902 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17904         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17905         * soft-fp/addsf3.c: Likewise.
17906         * soft-fp/addtf3.c: Likewise.
17907         * soft-fp/divdf3.c: Likewise.
17908         * soft-fp/divsf3.c: Likewise.
17909         * soft-fp/divtf3.c: Likewise.
17910         * soft-fp/double.h: Likewise.
17911         * soft-fp/eqdf2.c: Likewise.
17912         * soft-fp/eqsf2.c: Likewise.
17913         * soft-fp/eqtf2.c: Likewise.
17914         * soft-fp/extenddftf2.c: Likewise.
17915         * soft-fp/extended.h: Likewise.
17916         * soft-fp/extendsfdf2.c: Likewise.
17917         * soft-fp/extendsftf2.c: Likewise.
17918         * soft-fp/extendxftf2.c: Likewise.
17919         * soft-fp/fixdfdi.c: Likewise.
17920         * soft-fp/fixdfsi.c: Likewise.
17921         * soft-fp/fixdfti.c: Likewise.
17922         * soft-fp/fixsfdi.c: Likewise.
17923         * soft-fp/fixsfsi.c: Likewise.
17924         * soft-fp/fixsfti.c: Likewise.
17925         * soft-fp/fixtfdi.c: Likewise.
17926         * soft-fp/fixtfsi.c: Likewise.
17927         * soft-fp/fixtfti.c: Likewise.
17928         * soft-fp/fixunsdfdi.c: Likewise.
17929         * soft-fp/fixunsdfsi.c: Likewise.
17930         * soft-fp/fixunsdfti.c: Likewise.
17931         * soft-fp/fixunssfdi.c: Likewise.
17932         * soft-fp/fixunssfsi.c: Likewise.
17933         * soft-fp/fixunssfti.c: Likewise.
17934         * soft-fp/fixunstfdi.c: Likewise.
17935         * soft-fp/fixunstfsi.c: Likewise.
17936         * soft-fp/fixunstfti.c: Likewise.
17937         * soft-fp/floatdidf.c: Likewise.
17938         * soft-fp/floatdisf.c: Likewise.
17939         * soft-fp/floatditf.c: Likewise.
17940         * soft-fp/floatsidf.c: Likewise.
17941         * soft-fp/floatsisf.c: Likewise.
17942         * soft-fp/floatsitf.c: Likewise.
17943         * soft-fp/floattidf.c: Likewise.
17944         * soft-fp/floattisf.c: Likewise.
17945         * soft-fp/floattitf.c: Likewise.
17946         * soft-fp/floatundidf.c: Likewise.
17947         * soft-fp/floatundisf.c: Likewise.
17948         * soft-fp/floatunsidf.c: Likewise.
17949         * soft-fp/floatunsisf.c: Likewise.
17950         * soft-fp/floatuntidf.c: Likewise.
17951         * soft-fp/floatuntisf.c: Likewise.
17952         * soft-fp/floatuntitf.c: Likewise.
17953         * soft-fp/fmadf4.c: Likewise.
17954         * soft-fp/fmasf4.c: Likewise.
17955         * soft-fp/fmatf4.c: Likewise.
17956         * soft-fp/gedf2.c: Likewise.
17957         * soft-fp/gesf2.c: Likewise.
17958         * soft-fp/getf2.c: Likewise.
17959         * soft-fp/ledf2.c: Likewise.
17960         * soft-fp/lesf2.c: Likewise.
17961         * soft-fp/letf2.c: Likewise.
17962         * soft-fp/muldf3.c: Likewise.
17963         * soft-fp/mulsf3.c: Likewise.
17964         * soft-fp/multf3.c: Likewise.
17965         * soft-fp/negdf2.c: Likewise.
17966         * soft-fp/negsf2.c: Likewise.
17967         * soft-fp/negtf2.c: Likewise.
17968         * soft-fp/op-1.h: Likewise.
17969         * soft-fp/op-2.h: Likewise.
17970         * soft-fp/op-4.h: Likewise.
17971         * soft-fp/op-8.h: Likewise.
17972         * soft-fp/op-common.h: Likewise.
17973         * soft-fp/quad.h: Likewise.
17974         * soft-fp/single.h: Likewise.
17975         * soft-fp/soft-fp.h: Likewise.
17976         * soft-fp/sqrtdf2.c: Likewise.
17977         * soft-fp/sqrtsf2.c: Likewise.
17978         * soft-fp/sqrttf2.c: Likewise.
17979         * soft-fp/subdf3.c: Likewise.
17980         * soft-fp/subsf3.c: Likewise.
17981         * soft-fp/subtf3.c: Likewise.
17982         * soft-fp/truncdfsf2.c: Likewise.
17983         * soft-fp/trunctfdf2.c: Likewise.
17984         * soft-fp/trunctfsf2.c: Likewise.
17985         * soft-fp/trunctfxf2.c: Likewise.
17986         * soft-fp/unorddf2.c: Likewise.
17987         * soft-fp/unordsf2.c: Likewise.
17988         * soft-fp/unordtf2.c: Likewise.
17990 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17992         [BZ #15672]
17993         * misc/error.c (error_tail): Fix possible buffer overflow.
17995 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17997         [BZ #13028]
17998         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17999         address.
18001 2013-10-14  P. J. McDermott  <pj@pehjota.net>
18003         [BZ #832]
18004         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
18005         testing pipefail option.
18007 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18009         * soft-fp/double.h: Indent preprocessor directives inside #if.
18010         * soft-fp/extended.h: Likewise.
18011         * soft-fp/op-2.h: Likewise.
18012         * soft-fp/op-4.h: Likewise.
18013         * soft-fp/op-common.h: Likewise.
18014         * soft-fp/quad.h: Likewise.
18015         * soft-fp/single.h: Likewise.
18016         * soft-fp/soft-fp.h: Likewise.
18018 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
18020         * iconv/iconv_prog.c: Fix typos.
18021         * stdio-common/psiginfo-data.h: Likewise.
18023 2013-10-12   Reuben Thomas <rrt@sc3d.org>
18025         [BZ #15764]
18026         * locale/setlocale.c: Fix typo.
18028 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
18030         [BZ #16036]
18031         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18032         signaling NaN arguments.
18033         * soft-fp/unordsf2.c (__unordsf2): Likewise.
18034         * soft-fp/unordtf2.c (__unordtf2): Likewise.
18036         [BZ #14910]
18037         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18038         unordered operands.
18039         * soft-fp/gesf2.c (__gesf2): Likewise.
18040         * soft-fp/getf2.c (__getf2): Likewise.
18041         * soft-fp/ledf2.c (__ledf2): Likewise.
18042         * soft-fp/lesf2.c (__lesf2): Likewise.
18043         * soft-fp/letf2.c (__letf2): Likewise.
18045         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18046         * soft-fp/eqsf2.c (__eqsf2): Likewise.
18047         * soft-fp/eqtf2.c (__eqtf2): Likewise.
18048         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18049         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18050         * soft-fp/fixdfti.c (__fixdfti): Likewise.
18051         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18052         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18053         * soft-fp/fixsfti.c (__fixsfti): Likewise.
18054         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18055         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18056         * soft-fp/fixtfti.c (__fixtfti): Likewise.
18057         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18058         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18059         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18060         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18061         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18062         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18063         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18064         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18065         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18066         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18067         * soft-fp/floatdisf.c (__floatdisf): Likewise.
18068         * soft-fp/floatsisf.c (__floatsisf): Likewise.
18069         * soft-fp/floattidf.c (__floattidf): Likewise.
18070         * soft-fp/floattisf.c (__floattisf): Likewise.
18071         * soft-fp/floattitf.c (__floattitf): Likewise.
18072         * soft-fp/floatundidf.c (__floatundidf): Likewise.
18073         * soft-fp/floatundisf.c (__floatundisf): Likewise.
18074         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18075         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18076         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18077         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18078         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18079         * soft-fp/gesf2.c (__gesf2): Likewise.
18080         * soft-fp/getf2.c (__getf2): Likewise.
18081         * soft-fp/ledf2.c (__ledf2): Likewise.
18082         * soft-fp/lesf2.c (__lesf2): Likewise.
18083         * soft-fp/letf2.c (__letf2): Likewise.
18085         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18086         Undefine and redefine.
18087         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18088         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18089         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18090         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18091         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18092         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18093         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18094         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18095         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18096         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18097         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18098         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18099         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18100         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18101         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18103         [BZ #16032]
18104         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18105         without decrementing exponent if mantissa >= that for the
18106         denominator, not >.
18107         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18108         denominator, not >.  Decrement exponent in < case instead of
18109         incrementing in >= case.
18110         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18111         without decrementing exponent if mantissa >= that for the
18112         denominator, not >.
18114         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18115         computing saturated result for unsigned overflow.
18117 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18118             Jeff Law  <law@redhat.com>
18120         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18121         (atan2Mp): Add systemtap probe marker.
18122         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18123         (__ieee754_log): Add systemtap probe marker.
18124         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18125         (atanMp): Add systemtap probe marker.
18126         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18127         (tanMp): Add systemtap probe marker.
18128         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18129         (__slowexp): Add systemtap probe marker.
18130         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18131         (__slowpow): Add systemtap probe marker.
18132         * manual/probes.texi: Document probes.
18134 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
18136         [BZ #15362]
18137         * libio/fileops.c (_IO_new_file_write): Return count of bytes
18138         written.
18139         (_IO_new_file_xsputn): Don't return EOF if nothing has been
18140         written.
18141         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18142         written to buffer but not flushed.
18143         * libio/iofwrite_u.c:  Likewise.
18144         * libio/iopadn.c:  Return bytes returned even if EOF was
18145         encountered.
18146         * libio/iowpadn.c:  Likewise.
18147         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18148         if _IO_padn does not write the whole buffer.
18149         [!COMPILE_WPRINTF] (PAD): Likewise.
18151 2013-10-10  David S. Miller  <davem@davemloft.net>
18153         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18154         directory block.
18156 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18158         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
18159         instead of FSF address.
18160         * soft-fp/fixdfti.c: Likewise.
18161         * soft-fp/fixsfti.c: Likewise.
18162         * soft-fp/fixtfti.c: Likewise.
18163         * soft-fp/fixunsdfti.c: Likewise.
18164         * soft-fp/fixunssfti.c: Likewise.
18165         * soft-fp/fixunstfti.c: Likewise.
18166         * soft-fp/floattidf.c: Likewise.
18167         * soft-fp/floattisf.c: Likewise.
18168         * soft-fp/floattitf.c: Likewise.
18169         * soft-fp/floatuntidf.c: Likewise.
18170         * soft-fp/floatuntisf.c: Likewise.
18171         * soft-fp/floatuntitf.c: Likewise.
18172         * soft-fp/trunctfxf2.c: Likewise.
18174         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
18175         * soft-fp/fixdfti.c: Likewise.
18176         * soft-fp/fixsfti.c: Likewise.
18177         * soft-fp/fixtfti.c: Likewise.
18178         * soft-fp/fixunsdfti.c: Likewise.
18179         * soft-fp/fixunssfti.c: Likewise.
18180         * soft-fp/fixunstfti.c: Likewise.
18181         * soft-fp/floattidf.c: Likewise.
18182         * soft-fp/floattisf.c: Likewise.
18183         * soft-fp/floattitf.c: Likewise.
18184         * soft-fp/floatuntidf.c: Likewise.
18185         * soft-fp/floatuntisf.c: Likewise.
18186         * soft-fp/floatuntitf.c: Likewise.
18187         * soft-fp/trunctfxf2.c: Likewise.
18189 2013-10-10  David S. Miller  <davem@davemloft.net>
18191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18193 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
18195         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18196         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18197         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18198         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18199         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18200         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18201         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18203         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18204         for NaNs before doing comparisons on argument.
18205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18206         Likewise.
18208 2013-10-10  Will Newton  <will.newton@linaro.org>
18210         * malloc/hooks.c (memalign_check): Ensure the value of bytes
18211         passed to _int_memalign does not overflow.
18213 2013-10-10  Torvald Riegel  <triegel@redhat.com>
18215         * scripts/bench.pl: Add include-sources directive.
18216         * benchtests/README: Update documentation.
18218 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
18220         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18221         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18222         instead of FP_INIT_ROUNDMODE.
18223         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18224         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18226         [BZ #16034]
18227         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
18228         copy class of input value.
18229         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
18230         not handle exceptions.
18231         * soft-fp/negsf2.c (__negsf2): Likewise.
18232         * soft-fp/negtf2.c (__negtf2): Likewise.
18233         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18235 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
18237         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18238         semicolon.  From Linux kernel.
18240 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
18242         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18244 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
18246         [BZ #156]
18247         * manual/socket.texi: Added statement about buffer
18248         for gethostbyname2_r.
18250 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
18252         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18253         Use .p2align directive instead, throughout.
18254         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18255         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18256         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18257         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18258         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18259         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18260         * sysdeps/x86_64/strchr.S: Likewise.
18261         * sysdeps/x86_64/strrchr.S: Likewise.
18263 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18265         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18267         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18269         * sysdeps/generic/math_private.h (__mpsin1): Remove
18270         declaration.
18271         (__mpcos1): Likewise.
18272         (__mpsin): New argument __range_reduce.
18273         (__mpcos): Likewise.
18274         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18275         (slow): Use __mpsin and __mpcos.
18276         (slow1): Likewise.
18277         (slow2): Likewise.
18278         (sloww): Likewise.
18279         (sloww1): Likewise.
18280         (sloww2): Likewise.
18281         (bsloww): Likewise.
18282         (bsloww1): Likewise.
18283         (bsloww2): Likewise.
18284         (cslow2): Likewise.
18285         (csloww): Likewise.
18286         (csloww1): Likewise.
18287         (csloww2): Likewise.
18288         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18289         range_reduce.  Merge in __mpsin1.
18290         (__mpcos): Likewise.
18291         (__mpsin1): Remove.
18292         (__mpcos1): Likewise.
18294 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18296         * locale/loadlocale.c (_nl_intern_locale_data): Use
18297         LOCFILE_ALIGNED_P.
18298         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18299         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18300         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18301         obstack data is appropriately aligned.
18302         (obstack_int32_grow_fast): Likewise.
18303         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18304         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18305         (add_locale_uint32_array): Likewise.
18307 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18309         * benchtests/Makefile: Remove ARGLIST and RET variables.
18310         ($(objpfx)bench-%.c): Pass only function name to the script.
18311         * benchtests/README: Update documentation.
18312         * benchtests/acos-inputs: Add new directives.
18313         * benchtests/acosh-inputs: Likewise.
18314         * benchtests/asin-inputs: Likewise.
18315         * benchtests/asinh-inputs: Likewise.
18316         * benchtests/atan-inputs: Likewise.
18317         * benchtests/atanh-inputs: Likewise.
18318         * benchtests/cos-inputs: Likewise.
18319         * benchtests/cosh-inputs: Likewise.
18320         * benchtests/exp-inputs: Likewise.
18321         * benchtests/log-inputs: Likewise.
18322         * benchtests/pow-inputs: Likewise.
18323         * benchtests/rint-inputs: Likewise.
18324         * benchtests/sin-inputs: Likewise.
18325         * benchtests/sinh-inputs: Likewise.
18326         * benchtests/tan-inputs: Likewise.
18327         * benchtests/tanh-inputs: Likewise.
18328         * scripts/bench.pl: Add support for new directives.
18330 2013-10-07  Alan Modra  <amodra@gmail.com>
18332         * README: Fix careless merge.
18334 2013-10-05  Alan Modra  <amodra@gmail.com>
18336         * NEWS: Mention powerpc64le support and bugs fixed.
18337         * README: Both big-endian and little-endian powerpc64 supported.
18339 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18341         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18342         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18343         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18344         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18346 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18348         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18349         match prototype.
18351 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18353         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18354         Move -mhard-float appending from
18355         ports/sysdeps/powerpc/powerpc32/Makefile.
18356         [$(with-fp) = yes] (ASFLAGS): Likewise.
18357         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18358         * sysdeps/powerpc/nofpu: Move directory from
18359         ports/sysdeps/powerpc/nofpu.
18360         * sysdeps/powerpc/soft-fp: Move directory from
18361         ports/sysdeps/powerpc/soft-fp.
18362         * sysdeps/powerpc/powerpc32/405: Move directory from
18363         ports/sysdeps/powerpc/powerpc32/405.
18364         * sysdeps/powerpc/powerpc32/440: Move directory from
18365         ports/sysdeps/powerpc/powerpc32/440.
18366         * sysdeps/powerpc/powerpc32/464: Move directory from
18367         ports/sysdeps/powerpc/powerpc32/464.
18368         * sysdeps/powerpc/powerpc32/476: Move directory from
18369         ports/sysdeps/powerpc/powerpc32/476.
18370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18371         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18373         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18375         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18377         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18379         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18380         * README: Update for powerpc-*-linux-gnu software floating point
18381         support in libc.
18383         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18384         case to powerpc/powerpc32*.
18385         * sysdeps/unix/sysv/linux/configure: Regenerated.
18387         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18388         (_FPU_MASK_OM): Define as 0x04.
18389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18391         0x00c10080.
18392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18393         0x0000003c.
18394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18397         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18398         getcontext_e500.
18399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18400         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18401         setcontext_e500.
18402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18403         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18404         and setcontext_e500.
18406 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18408         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18410 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18412         * manual/threads.texi (Default Thread Attributes): Fix typo.
18414 2013-10-04  Will Newton  <will.newton@linaro.org>
18416         * malloc/Makefile: Add tst-memalign.
18417         * malloc/tst-memalign.c: New file.
18419         * malloc/tst-posix_memalign.c: Add comments.
18420         (do_test): Add comments and call free on all potentially
18421         allocated pointers. Add space after cast.
18423         * malloc/tst-pvalloc.c: Add comments.
18424         (do_test): Add comments and call free on all potentially
18425         allocated pointers. Remove duplicate check for NULL pointer.
18426         Add space after cast.
18428         * malloc/tst-valloc.c: Add comments.
18429         (do_test): Add comments and call free on all potentially
18430         allocated pointers. Remove duplicate check for NULL pointer.
18431         Add space after cast.
18433 2013-10-04  Alan Modra  <amodra@gmail.com>
18435         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18436         Use stdint types in rather than __attribute__((mode())).
18437         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18439 2013-10-04  Alan Modra  <amodra@gmail.com>
18441         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18442         Correct handling of unaligned relocs for little-endian.
18443         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18445 2013-10-04  Alan Modra  <amodra@gmail.com>
18447         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18448         * configure: Regenerate.
18449         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18450         * shlib-versions: Likewise.
18452 2013-10-04  Alan Modra  <amodra@gmail.com>
18454         * string/tester.c (test_memrchr): Increment reported test cycle.
18456 2013-10-04  Alan Modra  <amodra@gmail.com>
18458         * string/test-memcpy.c (do_one_test): When reporting errors, print
18459         string address and don't overrun end of string.
18461 2013-10-04  Alan Modra  <amodra@gmail.com>
18463         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18464         insrdi.  Make better use of reg selection to speed exit slightly.
18465         Schedule entry path a little better.  Remove useless "are we done"
18466         checks on entry to main loop.  Handle wrapping around zero address.
18467         Correct main loop count.  Handle single left-over word from main
18468         loop inline rather than by using loop_small.  Remove extra word
18469         case in loop_small caused by wrong loop count.  Add little-endian
18470         support.
18471         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18472         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18473         cache hint.
18474         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18475         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18476         support.  Avoid rlwimi.
18477         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18479 2013-10-04  Alan Modra  <amodra@gmail.com>
18481         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18482         insrdi.  Formatting.
18483         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18484         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18485         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18486         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18487         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18488         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18490 2013-10-04  Alan Modra  <amodra@gmail.com>
18492         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18493         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18494         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18495         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18496         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18497         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18498         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18499         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18500         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18501         use of regs.  Use power7 mtocrf.  Tidy function tails.
18503 2013-10-04  Alan Modra  <amodra@gmail.com>
18505         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18506         Formatting.  Consistently use rXXX register defines or rN defines.
18507         Use early exit labels that avoid restoring unused non-volatile regs.
18508         Make cr field use more consistent with rWORDn compares.  Rename
18509         regs used as shift registers for unaligned loop, using rN defines
18510         for short lifetime/multiple use regs.
18511         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18513         addi 1,1,64 to pop stack frame.  Simplify return value code.
18514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18516 2013-10-04  Alan Modra  <amodra@gmail.com>
18518         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18519         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18520         rather than rlwimi.
18521         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18522         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18523         little-endian support.  Correct typos.
18524         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18525         rather than rlwimi.
18526         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18527         in loop and entry code to keep "and." results.
18528         (strchr): Add little-endian support.  Comment.  Move cntlzd
18529         earlier in tail.
18530         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18532 2013-10-04  Alan Modra  <amodra@gmail.com>
18534         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18535         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18536         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18537         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18539 2013-10-04  Alan Modra  <amodra@gmail.com>
18541         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18542         (rTMP): Define as r11.
18543         (strcmp): Add little-endian support.  Optimise tail.
18544         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18545         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18546         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18547         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18548         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18549         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18550         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18552 2013-10-04  Alan Modra  <amodra@gmail.com>
18554         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18555         little-endian support.  Remove unnecessary "are we done" tests.
18556         Handle "s" wrapping around zero and extremely large "size".
18557         Correct main loop count.  Handle single left-over word from main
18558         loop inline rather than by using small_loop.  Correct comments.
18559         Delete "zero" tail, use "end_max" instead.
18560         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18562 2013-10-04  Alan Modra  <amodra@gmail.com>
18564         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18565         support.  Don't branch over align.
18566         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18567         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18568         support.  Rearrange tmp reg use to suit.  Comment.
18569         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18571 2013-10-04  Alan Modra  <amodra@gmail.com>
18573         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18575 2013-10-04  Alan Modra  <amodra@gmail.com>
18577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18578         conditional form of branch and link when obtaining pc.
18579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18581 2013-10-04  Alan Modra  <amodra@gmail.com>
18583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18584         HIWORD/LOWORD.
18585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18588 2013-10-04  Alan Modra  <amodra@gmail.com>
18590         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18591         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18592         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18593         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18594         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18595         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18596         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18597         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18598         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18599         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18601 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18602             Alistair Popple <alistair@ozlabs.au.ibm.com>
18603             Alan Modra <amodra@gmail.com>
18605         [BZ #15723]
18606         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18607         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18608         _dl_hwcap access for little-endian.
18609         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18610         destroy vmx regs when saving unaligned.
18611         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18612         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18613         destroy vmx regs when saving unaligned.
18615 2013-10-04  Alan Modra  <amodra@gmail.com>
18617         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18618         Don't use a union to pack hi/low value.
18620 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18622         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18623         for little-endian.
18624         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18625         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18626         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18627         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18628         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18630 2013-10-04  Alan Modra  <amodra@gmail.com>
18632         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18633         constants to usual value for .cst8 section, and remove redundant
18634         high address load.
18635         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18636         constant for 0x1p52.  Load little-endian words of double from
18637         correct stack offsets.
18639 2013-10-04  Alan Modra  <amodra@gmail.com>
18641         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18642         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18643         words of double from correct stack offsets.
18644         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18645         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18646         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18649         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18650         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18651         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18652         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18656         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18657         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18658         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18659         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18660         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18662 2013-10-04  Alan Modra  <amodra@gmail.com>
18664         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18665         64-bit int/double union.
18666         (_FPU_SETCW): Likewise.
18667         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18668         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18670 2013-10-04  Alan Modra  <amodra@gmail.com>
18672         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18673         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18675 2013-10-04  Alan Modra  <amodra@gmail.com>
18677         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18678         use vector int constants.
18679         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18681 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18683         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18684         array with long long.
18685         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18686         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18687         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18688         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18689         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18690         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18691         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18692         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18693         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18694         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18695         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18696         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18697         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18701         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18702         (__signbit): Likewise.  Correct for little-endian.
18703         (__signbitl): Call __signbit.
18704         (lrint): Correct for little-endian.
18705         (lrintf): Call lrint.
18707 2013-10-04  Alan Modra  <amodra@gmail.com>
18709         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18710         union 32-bit int array member with 64-bit int array.
18711         (t515, tm256): Double rather than long double.
18712         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18714 2013-10-04  Alan Modra  <amodra@gmail.com>
18716         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18717         Delete.
18718         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18720         version of math_ldbl.h.
18722 2013-10-04  Alan Modra  <amodra@gmail.com>
18724         [BZ #15734], [BZ #15735]
18725         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18726         all uses of ieee875 long double macros and unions.  Simplify test
18727         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18728         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18729         normalize after ldbl_extract_mantissa, and don't add hidden bit
18730         already handled.  Don't treat low word of ieee854 mantissa like
18731         low word of IBM long double and mask off bit when testing for
18732         zero.
18733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18734         all uses of ieee875 long double macros and unions.  Simplify tests
18735         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18736         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18737         two1022, instead use their values.  Recognise that tests for large
18738         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18739         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18740         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18741         test for 0.0L and nan.  Correct negation.
18742         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18743         ieee875 long double macros and unions.  Correct output for large
18744         magnitude x.  Correct absolute value calculation.
18745         (__erfcl): Likewise.
18746         * math/libm-test.inc: Add tests for errors discovered in IBM long
18747         double versions of fmodl, remainderl, erfl and erfcl.
18749 2013-10-04  Alan Modra  <amodra@gmail.com>
18751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18752         all uses of ieee854 long double macros and unions.  Simplify tests
18753         for long doubles that are fully specified by the high double.
18754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18755         Likewise.
18756         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18757         Remove dead code too.
18758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18759         (__ieee754_ynl): Likewise.
18760         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18763         Remove dead code too.
18764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18765         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18767         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18768         Simplify.
18769         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18770         Simplify.
18771         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18774         Comment on variable precision.
18775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18776         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18777         Likewise.
18778         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18779         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18781         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18782         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18784 2013-10-04  Alan Modra  <amodra@gmail.com>
18786         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18787         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18788         all uses of ieee854 long double macros and unions.
18789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18791         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18793         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18794         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18795         Likewise.
18796         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18797         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18800         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18801         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18802         Simplify sign and nan test too.
18803         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18804         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18805         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18806         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18807         Likewise.
18808         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18809         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18810         Likewise.
18811         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18812         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18813         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18814         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18815         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18818 2013-10-04  Alan Modra  <amodra@gmail.com>
18820         * stdio-common/printf_size.c (__printf_size): Don't use
18821         union ieee854_long_double in fpnum union.
18822         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18823         signbit macro to retrieve sign from long double.
18824         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18825         retrieve sign from long double.
18826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18827         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18828         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18829         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18830         * math/test-misc.c (main): Don't use union ieee854_long_double.
18832 2013-10-04  Alan Modra  <amodra@gmail.com>
18834         [BZ #15680]
18835         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18836         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18837         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18838         calculation.  Remove unnecessary test for denormal exponent.
18839         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18840         Correct handling of denormals.  Avoid undefined shift behaviour.
18841         Correct normalisation of low mantissa when low double is denormal.
18842         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18843         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18844         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18845         Correct normalisation of low mantissa.  Test for overflow of high
18846         mantissa and normalise.
18847         (ldbl_nearbyint): Use more readable constant for two52.
18848         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18849         (__mpn_construct_long_double): Fix test for overflow of high
18850         mantissa and correct normalisation.  Avoid undefined shift.
18852 2013-10-04  Alan Modra  <amodra@gmail.com>
18854         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18855         (union ibm_extended_long_double): Define as an array of ieee754_double.
18856         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18857         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18858         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18859         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18860         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18861         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18863         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18865         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18868 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18870         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18871         page size instead of calling getpagesize.
18873         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18874         (LOCFILE_ALIGN_MASK): Likewise.
18875         (LOCFILE_ALIGN_UP): Likewise.
18876         (LOCFILE_ALIGNED_P): Likewise.
18877         * locale/programs/ld-collate.c (collate_output): Use the new
18878         macros instead of __alignof__ (int32_t).
18879         * locale/weight.h (findidx): Likewise.
18881 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18883         [BZ #431]
18884         * manual/string.texi: Fix strncat and wcsncat.
18886 2013-10-03  Brooks Moses  <bmoses@google.com>
18888         [BZ #15915]
18889         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18890         * Makerules: ...here, and adjust associated comments.
18892 2013-10-02  Will Newton  <will.newton@linaro.org>
18894         * malloc/Makefile: Add tst-pvalloc.
18895         * malloc/tst-pvalloc.c: New file.
18897 2013-10-02  Will Newton  <will.newton@linaro.org>
18899         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18900         improve test coverage.
18902 2013-10-02  Will Newton  <will.newton@linaro.org>
18904         * malloc/Makefile: Add tst-posix_memalign.
18905         * malloc/tst-posix_memalign.c: New file.
18907 2013-10-01  Eric Blake  <eblake@redhat.com>
18909         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18910         Use __THROWNL rather than __THROW on static functions.
18912 2013-09-30  Petr Machata  <pmachata@redhat.com>
18914         * elf/elf.h (R_AARCH64_ABS16): New macro.
18915         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18916         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18917         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18918         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18919         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18920         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18921         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18922         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18923         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18924         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18925         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18926         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18927         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18928         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18929         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18930         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18931         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18932         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18933         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18934         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18935         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18936         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18937         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18938         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18939         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18940         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18941         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18942         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18943         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18944         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18945         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18946         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18947         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18948         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18949         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18950         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18951         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18952         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18953         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18954         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18955         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18956         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18957         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18958         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18959         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18960         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18961         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18962         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18963         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18964         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18965         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18966         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18967         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18968         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18969         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18970         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18971         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18972         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18973         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18974         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18975         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18976         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18977         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18978         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18979         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18980         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18981         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18982         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18983         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18984         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18985         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18986         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18987         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18988         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18989         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18990         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18991         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18992         (R_AARCH64_TLSDESC_LDR): Likewise.
18993         (R_AARCH64_TLSDESC_ADD): Likewise.
18994         (R_AARCH64_TLSDESC_CALL): Likewise.
18996 2013-09-30  Andreas Schwab  <schwab@suse.de>
18998         [BZ #15048]
18999         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19000         the nss database lookup.
19001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19004 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
19006         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19008 2013-09-28  P. J. McDermott  <pj@pehjota.net>
19010         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19011         ${Bash-specific parameter/pattern/string} parameter expansion.
19012         * sysdeps/unix/make-syscalls.sh: Likewise.
19014 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19016         * sysdeps/sh/stackguard-macros.h: New file.
19018 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
19020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19022         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19024         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19025         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19027 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19029         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19030         Fix thread ID register.
19032 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
19034         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19035         [POSIX || UNIX98]: Require rather than permitting all symbols from
19036         <time.h>.
19037         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19038         element of struct sched_param.
19039         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19040         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19041         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19042         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19043         constant.
19045 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
19047         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19048         argument calculation.
19050 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19052         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19053         Expect macro.
19054         [POSIX] (pthread_attr_t): Do not require type.
19055         [POSIX] (pthread_cond_t): Likewise.
19056         [POSIX] (pthread_condattr_t): Likewise.
19057         [POSIX] (pthread_key_t): Likewise.
19058         [POSIX] (pthread_mutex_t): Likewise.
19059         [POSIX] (pthread_mutexattr_t): Likewise.
19060         [POSIX] (pthread_once_t): Likewise.
19061         [POSIX] (pthread_t): Likewise.
19062         [POSIX-based standards] (pthread_atfork): Expect function.
19064 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
19065             Richard Sandiford  <richard@codesourcery.com>
19067         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19068         (swap_endianness_p): New extern variable.
19069         (set_big_endian): New inline function.
19070         (maybe_swap_uint32): Likewise.
19071         (maybe_swap_uint32_array): Likewise.
19072         (maybe_swap_uint32_obstack): Likewise.
19073         * locale/programs/locfile.c: Include <stdbool.h>.
19074         (swap_endianness_p): New variable.
19075         (add_locale_uint32): Call maybe_swap_uint32.
19076         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19077         (write_locale_data): Call maybe_swap_uint32_array.
19078         * locale/programs/ld-collate.c (obstack_int32_grow): Call
19079         maybe_swap_uint32.
19080         (obstack_int32_grow_fast): Likewise.
19081         (output_weightwc): Call maybe_swap_uint32_obstack.
19082         (collate_output): Likewise.
19083         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19084         (OPT_LITTLE_ENDIAN): Likewise.
19085         (options): Add --little-endian and --big-endian options.
19086         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19087         * locale/programs/locarchive.c: Include "locfile.h".
19088         (GET): New macro.
19089         (SET): Likewise.
19090         (INC): Likewise.
19091         (create_archive): Use the new macros to access fields of
19092         structures directly mapped from or written to locale archives.
19093         (oldlocrecentcmp): Likewise.
19094         (enlarge_archive): Likewise.
19095         (insert_name): Likewise.
19096         (add_alias): Likewise.
19097         (add_locale): Likewise.
19098         (delete_locales_from_archive): Likewise.
19099         (show_archive_content): Likewise.
19100         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
19101         locale data.
19103 2013-09-24  Roland McGrath  <roland@hack.frob.com>
19105         * manual/freemanuals.texi: Updated from (newly) canonical copy at
19106         http://www.gnu.org/doc/freemanuals.texi.
19107         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19109 2013-09-24  Will Newton  <will.newton@linaro.org>
19111         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19112         macro.
19114 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
19116         * locale/hashval.h (compute_hashval): Interpret bytes of key as
19117         unsigned char.
19119 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
19121         * manual/threads.texi (POSIX Threads): Fix a typo.
19123 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19125         [BZ #14547]
19126         * string/tst-strcoll-overflow.c: New test case.
19127         * string/Makefile (xtests): Add tst-strcoll-overflow.
19128         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19129         cache if string sizes may cause integer overflow.
19131         [BZ #14547]
19132         * string/strcoll_l.c (coll_seq): New members rule, idx,
19133         save_idx and back_us.
19134         (get_next_seq_nocache): New function.
19135         (do_compare_nocache): New function.
19136         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19137         when malloc fails.
19139 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
19141         [BZ #15754]
19142         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19143         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19144         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19146         [BZ #15754]
19147         * elf/Makefile (tests): Add tst-ptrguard1.
19148         (tests-static): Add tst-ptrguard1-static.
19149         (tst-ptrguard1-ARGS): Define.
19150         (tst-ptrguard1-static-ARGS): Define.
19151         * elf/tst-ptrguard1.c: New file.
19152         * elf/tst-ptrguard1-static.c: New file.
19153         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19154         * sysdeps/i386/stackguard-macros.h: Likewise.
19155         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19156         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19157         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19158         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19159         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19160         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19162 2013-09-23  Hector Marco  <hecmargi@upv.es>
19163             Ismael Ripoll  <iripoll@disca.upv.es>
19164             Carlos O'Donell  <carlos@redhat.com>
19166         [BZ #15754]
19167         * sysdeps/generic/stackguard-macros.h: Define
19168         __pointer_chk_guard_local and POINTER_CHK_GUARD.
19169         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19170         Define __pointer_chk_guard_local.
19171         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19172         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19174 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
19176         [BZ #15859]
19177         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19179 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
19181         * include/string.h (__ffs): Declare as hidden.
19182         * string/ffs.c (__ffs): Define as hidden.
19183         * sysdeps/i386/ffs.c (__ffs): Likewise.
19184         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19185         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19186         * sysdeps/s390/ffs.c (__ffs): Likewise.
19187         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19189 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
19191         * NEWS: Mention malloc probes.
19193         * malloc/arena.c (new_heap): New memory_heap_new probe.
19194         (grow_heap): New memory_heap_more probe.
19195         (shrink_heap): New memory_heap_less probe.
19196         (heap_trim): New memory_heap_free probe.
19197         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19198         (systrim): New memory_sbrk_less probe.
19199         * manual/probes.texi: Document them.
19201         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19202         * manual/probes.texi: Document it.
19204         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19205         (__libc_realloc): Add memory_realloc_retry probe.
19206         (__libc_memalign): Add memory_memalign_retry probe.
19207         (__libc_valloc): Add memory_valloc_retry probe.
19208         (__libc_pvalloc): Add memory_pvalloc_retry probe.
19209         (__libc_calloc): Add memory_calloc_retry probe.
19210         * manual/probes.texi: Document them.
19212         * malloc/arena.c (get_free_list): Add probe
19213         memory_arena_reuse_free_list.
19214         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19215         and memory_arena_reuse.
19216         (arena_get2) [!PER_THREAD]: Likewise.
19217         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19218         memory_arena_reuse_realloc.
19219         * manual/probes.texi: Document them.
19221         * malloc/malloc.c (__libc_free): Add
19222         memory_mallopt_free_dyn_thresholds probe.
19223         (__libc_mallopt): Add multiple memory_mallopt probes.
19224         * manual/probes.texi: Document them.
19226         * malloc/malloc.c: Include stap-probe.h.
19227         (__libc_mallopt): Add memory_mallopt probe.
19228         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19229         * manual/probes.texi: New.
19230         * manual/Makefile (chapters): Add probes.
19231         * manual/threads.texi: Set next node.
19233 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
19235         [BZ #15963, #13985]
19236         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19237         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19238         Add `Chinese' to `nan' entry name.
19240 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19242         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19243         (POLYNOMIAL): Likewise.
19244         (TAYLOR_SINCOS): Likewise.
19245         (TAYLOR_SLOW): Likewise.
19246         (__sin): Use TAYLOR_SINCOS.
19247         (__cos): Likewise.
19248         (slow): Use TAYLOR_SLOW.
19249         (sloww): Likewise.
19250         (bsloww): Likewise.
19251         (csloww): Likewise.
19253 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19255         * stdlib/strtod_l.c: Fix buffer overrun.
19257 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19259         * benchtests/Makefile (bench): Add sincos.
19260         * benchtests/bench-sincos.c: New file.
19262         * math/libm-test.inc (cos_test_data): New test inputs.
19263         (sin_test_data): Likewise.
19265         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19266         macro.
19267         (__sin): Use it.
19268         (__cos): Likewise.
19269         (slow1): Likewise.
19270         (slow2): Likewise.
19271         (sloww1): Likewise.
19272         (sloww2): Likewise.
19273         (bsloww1): Likewise.
19274         (bsloww2): Likewise.
19275         (cslow2): Likewise.
19276         (csloww1): Likewise.
19277         (csloww2): Likewise.
19279         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19280         function.
19281         (__sin): Use it.
19282         (__cos): Likewise.
19284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19285         gotos.
19286         (__cos): Likewise.
19288 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19290         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19291         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19292         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19293         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19294         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19295         * elf/cache.c (print_entry): Handle the new cache flags.
19297 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19298             Aldy Hernandez  <aldyh@redhat.com>
19300         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19301         Change condition to [_SOFT_FLOAT].
19302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19314         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19317         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19318         declaration.
19320 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19322         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19323         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19324         (__longjmp): Use LOAD_GP to load saved GPRs.
19325         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19326         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19327         (__sigsetjmp): Use SAVE_GP to save GPRs.
19329         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19330         Do not append -msoft-float.
19331         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19333 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19335         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19337 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19339         [BZ #15966]
19340         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19341         (_FPU_GETCW): Use initial "__" on variable and field names but not
19342         on macro parameter name.
19343         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19344         parentheses around reference to macro parameter.
19346 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19348         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19349         prototype.
19350         (ctype_startup): Use uint32_t in cast and sizeof for
19351         ctype->charnames.
19353 2013-09-11  Jia Liu  <proljc@gmail.com>
19355         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19356         __daddr_t_defined.
19357         [__FreeBSD__]: Likewise.
19359 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19362         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19363         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19364         (strchr): Remove __strchr_sse42 ifunc selection.
19365         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19366         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19368 2013-09-11  Will Newton  <will.newton@linaro.org>
19370         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19371         parameter to RES. Remove hardcoded 1000 value.
19372         * benchtests/bench-skeleton.c (main): Pass RES parameter
19373         to TIMING_INIT and multiply result by 1000.
19375 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19379 2013-09-11  Andreas Schwab  <schwab@suse.de>
19381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19382         if not defined.
19383         (O_TMPFILE) [__USE_GNU]: Define.
19384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19385         Define.
19387 2013-09-11  Will Newton  <will.newton@linaro.org>
19389         [BZ #15857]
19390         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19391         does not overflow.
19393 2013-09-11  Will Newton  <will.newton@linaro.org>
19395         [BZ #15856]
19396         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19397         does not overflow.
19399 2013-09-11  Will Newton  <will.newton@linaro.org>
19401         [BZ #15855]
19402         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19403         does not overflow.
19405 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19407         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19408         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19409         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19410         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19411         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19413 2013-09-10  Allan McRae  <allan@archlinux.org>
19415         [BZ #15748]
19416         * manual/arith.texi (Parsing of Floats): Clarify
19417         cross-reference.
19419         [BZ #15849]
19420         * manual/install.texi (Running make install): Mention
19421         --enable-pt-chown.
19422         * INSTALL: Regenerated.
19424 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19426         * csu/init-first.c (_init): Remove the !SHARED condition around
19427         FPU control word initialization.
19428         * elf/dl-support.c (_dl_fpu_control): New variable.
19429         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19430         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19431         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19432         * math/test-fpucw-static.c: New file.
19433         * math/test-fpucw-ieee.c: New file.
19434         * math/test-fpucw-ieee-static.c: New file.
19435         * math/Makefile (tests): Add `test-fpucw-ieee' and
19436         `$(tests-static)'.
19437         (tests-static): New variable.
19438         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19439         dependency to...
19440         [($(build-shared),yes)]
19441         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19442         ... this.
19443         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19444         New dependency.
19446 2013-09-09  Allan McRae  <allan@archlinux.org>
19448         [BZ #15939]
19449         * manual/string.texi (Collation Functions): Fix typo in
19450         strcoll example.
19451         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19453         [BZ #15893]
19454         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19456         [BZ #15892]
19457         * libio/memstream.c (open_memstream): Fix memory leak.
19458         * libio/wmemstream.c (open_wmemstream): Likewise.
19460         [BZ #15895]
19461         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19463 2013-09-09  Will Newton  <will.newton@linaro.org>
19465         * malloc/Makefile: Add tst-realloc to tests.
19466         * malloc/tst-realloc.c: New file.
19468 2013-09-09  Allan McRae  <allan@archlinux.org>
19470         [BZ #15844]
19471         * COPYING: Update from GNU website to fix FSF address.
19472         * COPYING.LIB: Likewise.
19474 2013-09-06  David S. Miller  <davem@davemloft.net>
19476         * po/zh_TW.po: Update Chinese (traditional) translation from
19477         translation project.
19479 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19480             Joseph Myers  <joseph@codesourcery.com>
19482         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19483         "localeinfo.h".
19484         (obstack_chunk_alloc): New macro.
19485         (obstack_chunk_free): Likewise.
19486         (record_offset): New function.
19487         (init_locale_data): Likewise.
19488         (align_locale_data): Likewise.
19489         (add_locale_empty): Likewise.
19490         (add_locale_raw_data): Likewise.
19491         (add_locale_raw_obstack): Likewise.
19492         (add_locale_string): Likewise.
19493         (add_locale_wstring): Likewise.
19494         (add_locale_uint32): Likewise.
19495         (add_locale_uint32_array): Likewise.
19496         (add_locale_char): Likewise.
19497         (start_locale_structure): Likewise.
19498         (end_locale_structure): Likewise.
19499         (start_locale_prelude): Likewise.
19500         (end_locale_prelude): Likewise.
19501         (write_locale_data): Take locale_file structure rather than an
19502         iovec.
19503         * locale/programs/locfile.h: Include "obstack.h".
19504         (struct locale_file): Change to store locale file contents instead
19505         of header.
19506         (init_locale_data): New prototype.
19507         (align_locale_data): Likewise.
19508         (add_locale_empty): Likewise.
19509         (add_locale_raw_data): Likewise.
19510         (add_locale_raw_obstack): Likewise.
19511         (add_locale_string): Likewise.
19512         (add_locale_wstring): Likewise.
19513         (add_locale_uint32): Likewise.
19514         (add_locale_uint32_array): Likewise.
19515         (add_locale_char): Likewise.
19516         (start_locale_structure): Likewise.
19517         (end_locale_structure): Likewise.
19518         (start_locale_prelude): Likewise.
19519         (end_locale_prelude): Likewise.
19520         (write_locale_data): Update prototype.
19521         * locale/programs/3level.h (struct TABLE): Remove result field.
19522         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19523         Use new locale_file interface.
19524         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19525         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19526         * locale/programs/ld-address.c (address_output): Use new
19527         locale_file interface.
19528         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19529         NO_ADD_LOCALE.
19530         (collate_finish): Don't call collseq_table_finalize.
19531         (collate_output): Use new locale_file interface.
19532         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19533         in file.
19534         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19535         (TABLE): Move defines earlier in file.
19536         (ELEMENT): Likewise.
19537         (DEFAULT): Likewise.
19538         (wctrans_table_add): Move macro and inline function earlier in
19539         file.
19540         (struct wctype_table): Move type earlier in file.
19541         (add_locale_wctype_table): New static prototype.
19542         (struct locale_ctype_t): Use logical types instead of struct iovec
19543         pointers for members.
19544         (ctype_output): Use new locale_file interface.
19545         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19546         new locale_file interface.
19547         (allocate_arrays): Update for use of new locale_file interface.
19548         * locale/programs/ld-identification.c (identification_output): Use
19549         new locale_file interface.
19550         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19551         * locale/programs/ld-messages.c (messages_output): Likewise.
19552         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19553         * locale/programs/ld-name.c (name_output): Likewise.
19554         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19555         * locale/programs/ld-paper.c (paper_output): Likewise.
19556         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19557         * locale/programs/ld-time.c (time_output): Likewise.
19559 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19561         * benchtests/Makefile: Add memrchr benchmark.
19562         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19563         benchmark as memrchr.
19564         * benchtests/bench-memrchr-ifunc.c: New file.
19565         * benchtests/bench-memrchr.c: New file.
19567 2013-09-06   Will Newton  <will.newton@linaro.org>
19569         * benchtests/Makefile (string-bench): Add memcpy.
19571 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19572             Cong Wang  <amwang@redhat.com>
19574         [BZ #15850]
19575         * sysdeps/unix/sysv/linux/bits/in.h
19576         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19577         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19578         before __USE_KERNEL_IPV6_DEFS uses.
19579         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19580         IPPROTO_BEETPH.
19581         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19582         sockaddr_in6, or ipv6_mreq.
19584 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19586         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19587         memory access for final bytes in some large inputs.
19588         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19590 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19592         * string/test-memrchr.c: New file.
19593         * string/test-memrchr-ifunc.c: New file.
19594         * string/Makefile: Add new memrchr testcase.
19596 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19598         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19599         fanotify_init returns EPERM.
19601 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19603         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19604         errors.
19605         (top level): Treat second token from macro or constant entries for
19606         allowed headers as allowed.
19607         * include/complex.h: Condition internal declarations on
19608         [!_ISOMAC].
19609         * include/fenv.h: Condition include of <stdbool.h> and internal
19610         declarations on [!_ISOMAC].
19612 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19614         [BZ #15923]
19615         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19617 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19619         * configure.in (--enable-versioning): Remove configure option.
19620         (libc_cv_asm_symver_directive): Remove configure test.
19621         (libc_cv_ld_version_script_option): Likewise.
19622         (VERSIONING): Remove variable and AC_SUBST.
19623         (DO_VERSIONING): Remove AC_DEFINE.
19624         * configure: Regenerated.
19625         * config.h.in (DO_VERSIONING): Remove macro.
19626         * Makerules [$(versioning) = yes]: Change conditionals to
19627         [$(build-shared) = yes].
19628         * config.make.in (versioning): Remove variable.
19629         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19630         [$(build-shared) = yes].
19631         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19632         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19633         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19634         [$(build-shared) = yes].
19635         * extra-lib.mk [$(versioning) = yes]: Likewise.
19636         * hurd/Makefile [$(versioning) = yes]: Likewise.
19637         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19638         [SHARED].
19639         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19640         [SHARED].
19641         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19642         [SHARED && !NO_HIDDEN].
19643         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19644         [SHARED].
19645         [SHARED && DO_VERSIONING]: Likewise..
19646         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19647         [$(build-shared) = yes].
19648         * manual/install.texi (--disable-versioning): Remove
19649         documentation.
19650         * INSTALL: Regenerated.
19651         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19652         to [SHARED].
19653         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19654         [$(build-shared) = yes].
19655         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19656         * sysdeps/i386/i686/multiarch/strstr-c.c
19657         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19658         [SHARED && !NO_HIDDEN].
19659         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19660         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19661         * sysdeps/powerpc/powerpc32/dl-machine.c
19662         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19663         * sysdeps/powerpc/powerpc32/sysdep.h
19664         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19665         to [SHARED && PIC && !NO_HIDDEN].
19666         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19667         conditional to [SHARED].
19669 2013-09-04   Will Newton  <will.newton@linaro.org>
19671         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19672         * benchtests/bench-string.h: Include bench-timing.h instead
19673         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19674         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19675         call to HP_TIMING_DIFF_INIT.
19676         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19677         instead of hp-timing.h macros.
19678         * benchtests/bench-memchr.c: Likewise.
19679         * benchtests/bench-memcmp.c: Likewise.
19680         * benchtests/bench-memcpy.c: Likewise.
19681         * benchtests/bench-memmem.c: Likewise.
19682         * benchtests/bench-memmove.c: Likewise.
19683         * benchtests/bench-memset.c: Likewise.
19684         * benchtests/bench-rawmemchr.c: Likewise.
19685         * benchtests/bench-strcasecmp.c: Likewise.
19686         * benchtests/bench-strcasestr.c: Likewise.
19687         * benchtests/bench-strcat.c: Likewise.
19688         * benchtests/bench-strchr.c: Likewise.
19689         * benchtests/bench-strcmp.c: Likewise.
19690         * benchtests/bench-strcpy.c: Likewise.
19691         * benchtests/bench-strcpy_chk.c: Likewise.
19692         * benchtests/bench-strlen.c: Likewise.
19693         * benchtests/bench-strncasecmp.c: Likewise.
19694         * benchtests/bench-strncat.c: Likewise.
19695         * benchtests/bench-strncmp.c: Likewise.
19696         * benchtests/bench-strncpy.c: Likewise.
19697         * benchtests/bench-strnlen.c: Likewise.
19698         * benchtests/bench-strpbrk.c: Likewise.
19699         * benchtests/bench-strrchr.c: Likewise.
19700         * benchtests/bench-strspn.c: Likewise.
19701         * benchtests/bench-strstr.c: Likewise.
19703 2013-09-04  Will Newton  <will.newton@linaro.org>
19705         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19707 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19709         [BZ #15427]
19710         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19711         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19712         * math/libm-test.inc (lgamma_test_data): Add more tests.
19713         * sysdeps/i386/fpu/libm-test-ulps: Update.
19714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19718         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19720         Add ifunc.
19721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19722         Add strcmp-sse2-unaligned
19723         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19725 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19727         * Versions.def (libc): Add GLIBC_2.19.
19729 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19731         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19732         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19734 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19736         [BZ #14155]
19737         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19738         intermediate calculations in recurrence.
19739         (__ieee754_ynf): Likewise.
19740         * math/libm-test.inc (jn_test_data): Do not allow spurious
19741         underflow exception.  Add more tests.
19742         (yn_test_data): Add more tests.
19743         * sysdeps/i386/fpu/libm-test-ulps: Update.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19746 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19750 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19752         * csu/init-first.c: Fix then/than typos.
19753         * locale/programs/ld-collate.c: Likewise.
19754         * locale/programs/linereader.h: Likewise.
19755         * manual/charset.texi: Likewise.
19756         * manual/filesys.texi: Likewise.
19757         * manual/stdio.texi: Likewise.
19758         * manual/string.texi: Likewise.
19759         * stdlib/fmtmsg.c: Likewise.
19760         * sysdeps/i386/stpncpy.S: Likewise.
19761         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19762         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19763         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19764         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19766 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19768         * elf/dl-open.c: Fix typos.
19769         * iconvdata/gbbig5.c: Likewise.
19770         * iconvdata/iso-2022-jp.c: Likewise.
19771         * iconv/gconv_int.h: Likewise.
19772         * iconv/loop.c: Likewise.
19773         * nis/rpcsvc/nis.h: Likewise.
19774         * resolv/ns_name.c: Likewise.
19775         * stdio-common/vfscanf.c: Likewise.
19776         * streams/stropts.h: Likewise.
19777         * sunrpc/rpc_thread.c: Likewise.
19778         * sysdeps/i386/strpbrk.S: Likewise.
19779         * sysdeps/ieee754/k_standard.c: Likewise.
19780         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19781         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19782         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19783         * sysdeps/mach/hurd/profil.c: Likewise.
19784         * sysdeps/s390/dl-procinfo.h: Likewise.
19785         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19786         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19787         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19788         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19789         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19791 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19793         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19796 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19799         aix specific files.
19800         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19801         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19802         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19803         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19804         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19805         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19806         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19807         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19809 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19810             Roland McGrath  <roland@hack.frob.com>
19812         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19813         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19815 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19817         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19818         __executable_start symbol instead of _start.
19820 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19822         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19823         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19824         Move macros to...
19825         * sysdeps/gnu/ldsodefs.h: ... this new file.
19827         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19828         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19829         instead of ELFOSABI_LINUX.
19831         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19832         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19833         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19834         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19835         Likewise.
19836         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19837         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19838         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19839         Likewise.
19840         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19841         (ibm_extended_long_double): Add ieee_nan member.
19842         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19843         (do_test): New function.
19845         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19846         TEST_TRUNC.
19847         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19848         functions, renamed from truncdfsf_test, trunctfsf_test,
19849         trunctfdf_test.
19850         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19851         functions.
19852         (do_test): Run all these.
19854 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19856         * argp/argp-help.c: Fix typos.
19857         * argp/argp-parse.c: Likewise.
19858         * debug/backtracesyms.c: Likewise.
19859         * elf/elf.h: Likewise.
19860         * malloc/malloc.c: Likewise.
19861         * nis/nis_print.c: Likewise.
19862         * resolv/res_comp.c: Likewise.
19863         * stdlib/stdlib.h: Likewise.
19864         * sunrpc/clnt_tcp.c: Likewise.
19865         * sunrpc/clnt_udp.c: Likewise.
19866         * sunrpc/clnt_unix.c: Likewise.
19867         * sysdeps/unix/bsd/ptsname.c: Likewise.
19868         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19869         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19871         Likewise.
19872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19873         Likewise.
19874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19875         Likewise.
19876         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19878 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19880         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19883 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19885         [BZ #15897]
19886         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19887         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19888         ($(objpfx)bug-dl-leaf): New rule.
19889         ($(objpfx)bug-dl-leaf.so): Likewise.
19890         ($(objpfx)bug-dl-leaf.out): Likewise.
19891         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19892         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19893         * dlfcn/bug-dl-leaf.c: New test.
19894         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19895         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19896         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19897         (dlclose): Likewise.
19898         (dlmopen): Likewise.
19900 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19902         * include/netdb.h [!_ISOMAC]:
19903         Don't include <tls.h>.
19904         (h_errno, __libc_h_errno): Move declaration and macros out of
19905         [_LIBC_REENTRANT].
19907         * include/resolv.h [_RESOLV_H_]:
19908         Don't include <tls.h>.
19909         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19910         * resolv/res_libc.c: Don't include <tls.h>.
19911         (_res): Use __attribute__ ((nocommon)) in place of
19912         __attribute__ ((section (".bss"))).
19914         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19915         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19917         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19919         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19920         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19922         * resolv/res_mkquery.c: Include <sys/time.h>.
19924         * inet/ifreq.c: Moved to ...
19925         * sysdeps/unix/ifreq.c: ... here.
19926         * inet/ifreq.c: New file, true stub version.
19928         * socket/sa_len.c: New file.
19929         * socket/Makefile (aux): Add it.
19930         * sysdeps/unix/sysv/linux/Makefile
19931         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19932         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19933         and #include <socket/sa_len.c>.
19934         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19935         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19937         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19938         * bits/socket.h: ... here.
19940         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19941         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19942         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19944 2013-08-27  Andreas Schwab  <schwab@suse.de>
19946         [BZ #15736]
19947         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19948         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19949         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19950         * string/test-strcasecmp.c (test_main): Run tests in several
19951         locales.
19952         * string/test-strncasecmp.c (test_main): Likewise.
19954         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19955         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19956         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19957         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19958         (__strncasecmp_ssse3) [PIC]: Likewise.
19960 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19962         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19964         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19965         instead of explicitly declaring xdecrypt.
19966         * nis/nss_nis/nis-publickey.c: Likewise.
19968 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19970         [BZ #15890]
19971         * nscd/aicache.c: Include res_hconf.h.
19972         (addhstaiX): Initialize res_hconf.
19974 2013-08-26  Andreas Schwab  <schwab@suse.de>
19976         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19977         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19979 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19981         * nscd/aicache.c (addhstaiX): Fix indentation.
19983 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19985         * configure.ac: Quote $build_pt_chown test.
19986         * configure: Regenerated.
19988 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19990         [BZ #15532]
19991         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19992         * math/s_cexpf.c (__cexpf): Likewise.
19993         * math/s_cexpl.c (__cexpl): Likewise.
19994         * math/libm-test.inc (cexp_test_data): Correct expected return
19995         value for NaN + i0.  Add another test.
19997 2013-08-22  David S. Miller  <davem@davemloft.net>
19999         * po/ca.po: Update Catalan translation from translation project.
20000         * po/uk.po: Add Ukrainian translations from translation project.
20002 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
20004         [BZ #15797]
20005         * math/s_fdim.c (__fdim): Check for infinite arguments if result
20006         is infinite, not alongside NaN test.
20007         * math/s_fdimf.c (__fdimf): Likewise.
20008         * math/s_fdiml.c (__fdiml): Likewise.
20009         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
20010         errno is unchanged.
20012 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
20014         * argp/argp-help.c: Fix typos.
20015         * crypt/speeds.c: Likewise.
20016         * csu/check_fds.c: Likewise.
20017         * elf/dl-load.c: Likewise.
20018         * elf/dl-open.c: Likewise.
20019         * elf/reldep3.c: Likewise.
20020         * elf/reldep.c: Likewise.
20021         * elf/sprof.c: Likewise.
20022         * iconv/iconv_charmap.c: Likewise.
20023         * iconv/skeleton.c: Likewise.
20024         * iconv/strtab.c: Likewise.
20025         * io/lockf64.c: Likewise.
20026         * libio/libioP.h: Likewise.
20027         * resolv/gai_notify.c: Likewise.
20028         * resolv/ns_name.c: Likewise.
20029         * resolv/ns_samedomain.c: Likewise.
20030         * resolv/res_send.c: Likewise.
20031         * stdlib/random.c: Likewise.
20032         * sunrpc/rpc/xdr.h: Likewise.
20033         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20035         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20036         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20037         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20038         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20040         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20041         * sysdeps/mach/hurd/check_fds.c: Likewise.
20042         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20043         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20044         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20045         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20046         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20047         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20048         * sysdeps/pthread/aio_notify.c: Likewise.
20049         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20050         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20051         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20052         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20053         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20055 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20057         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20058         version if bit_Slow_SSE4_2 is set.
20059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20060         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20062 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20064         [BZ #15867]
20065         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20066         trampoline stack frame information.
20067         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20068         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20069         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20070         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20071         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20072         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20073         (_libc_vdso_platform_setup): Initialize the signal trampolines.
20074         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20075         sa_flags value.
20076         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20077         interrupting a syscall and set with option SA_SIGINFO.
20079 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20081         [BZ #15531]
20082         * math/s_cproj.c (__cproj): Only return an infinity if one part of
20083         argument is infinite.
20084         * math/s_cprojf.c (__cprojf): Likewise.
20085         * math/s_cprojl.c (__cprojl): Likewise.
20086         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20087         * math/libm-test.inc (cproj_test_data): Add more tests.
20089         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20091         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20092         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20093         size.  Use __ffs to determine corresponding shift.
20095 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
20096             Roland McGrath  <roland@hack.frob.com>
20098         * Makefile (INSTALL): Remove trailing blank lines from output of
20099         makeinfo.
20101 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20103         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20104         Align 32 bit compat elf_greg to 8 bytes.
20106 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
20108         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20110 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20112         * string/strcoll_l.c (coll_seq): New structure.
20113         (get_next_seq_cached): New function.
20114         (get_next_seq): New function.
20115         (do_compare): New function.
20116         (STRCOLL): Use GNU style definition.  Simplify implementation
20117         by using get_next_seq, get_next_seq_cached and do_compare.
20119 2013-08-16  Florian Weimer  <fweimer@redhat.com>
20121         [BZ #14699]
20122         CVE-2013-4237
20123         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20124         member.
20125         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20126         member.
20127         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20128         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20129         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
20130         conditional.
20131         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20132         GETDENTS_64BIT_ALIGNED.
20133         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20134         * manual/filesys.texi (Reading/Closing Directory): Document
20135         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
20136         strongly.
20137         * manual/conf.texi (Limits for Files): Add portability note to
20138         NAME_MAX, PATH_MAX.
20139         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20141 2013-08-13  Andreas Schwab  <schwab@suse.de>
20143         [BZ #15749]
20144         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20145         of fabs.
20146         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20147         LDBL_MAX_EXP >= 16384]: Add tests for it.
20149 2013-08-12  David S. Miller  <davem@davemloft.net>
20151         * version.h (RELEASE): Set to "development".
20152         (VERSION): Set to "2.18.90".
20153         * NEWS: Add 2.19 section.
20155 2013-08-03  David S. Miller  <davem@davemloft.net>
20157         * po/ko.po: Update Korean translation from translation project.
20159 2013-08-01  David S. Miller  <davem@davemloft.net>
20161         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
20162         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20163         Bilka.
20165 2013-07-30  David S. Miller  <davem@davemloft.net>
20167         * po/fr.po: Update French translation from translation project.
20169 2013-07-28  David S. Miller  <davem@davemloft.net>
20171         * po/cs.po: Update Czech translation from translation project.
20173         * po/sv.po: Update Swedish translation from translation project.
20175 2013-07-27  David S. Miller  <davem@davemloft.net>
20177         * po/eo.po: Update Esperanto translation from translation project.
20179         * po/vi.po: Update Vietnamese translation from translation project.
20181         * po/de.po: Update German translation from translation project.
20183 2013-07-26  David S. Miller  <davem@davemloft.net>
20185         * po/bg.po: Update Bulgarian translation from translation project.
20187         * po/nl.po: Update Dutch translation from translation project.
20188         * po/pl.po: Update Polish translation from translation project.
20189         * po/ru.po: Update Russian translation from translation project.
20191 2013-07-24  David S. Miller  <davem@davemloft.net>
20193         * po/libc.pot: Update.
20195 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20197         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20198         variable page size.
20199         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20200         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20201         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20203 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20205         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20207 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20208             Andreas Schwab  <schwab@suse.de>
20209             Roland McGrath  <roland@hack.frob.com>
20210             Joseph Myers  <joseph@codesourcery.com>
20211             Carlos O'Donell  <carlos@redhat.com>
20213         [BZ #15755]
20214         * config.h.in: Define HAVE_PT_CHOWN.
20215         * config.make.in (build-pt-chown): New variable.
20216         * configure.in (--enable-pt_chown): New configure option.
20217         * configure: Regenerate.
20218         * login/Makefile: Include Makeconfig.  Build pt_chown only if
20219         build-pt-chown is enabled.
20220         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20221         pt_chown to fix pty ownership.
20222         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20223         CLOSE_ALL_FDS.
20224         * manual/install.texi (Configuring and compiling): Mention
20225         --enable-pt_chown. Add @findex for grantpt.
20226         * INSTALL: Regenerate.
20228 2013-07-20  David S. Miller  <davem@davemloft.net>
20230         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20231         difference between 32-bit and 64-bit.
20233 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
20235         [BZ #15711]
20236         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20237         Avoid system header dependency with -ffreestanding.
20238         ($(objpfx)bits/syscall%d): Likewise.
20240 2013-07-13  David S. Miller  <davem@davemloft.net>
20242         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20243         underflows from atanl/atan2l due to bug 15319.
20244         (casinh_test_data): Likewise.
20246 2013-07-07  David S. Miller  <davem@davemloft.net>
20248         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20250 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
20252         * sysdeps/i386/fpu/libm-test-ulps: Update.
20253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20257         * configure.in (--enable-lock-elision): Fix message text.
20258         * INSTALL: Regenerate.
20259         * configure: Regenerate.
20261 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20265 2013-07-03  Andreas Jaeger  <aj@suse.de>
20267         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20268         define.
20269         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20270         (ptrace_peeksiginfo_args): Add.
20271         (__ptrace_peeksiginfo_flags): Add.
20272         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20274         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20276 2013-07-03  Allan McRae  <allan@archlinux.org>
20278         * sysdeps/i386/fpu/libm-test-ulps: Update.
20280 2013-07-02  David S. Miller  <davem@davemloft.net>
20282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20284 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20288 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20290         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293 2013-07-02  Andi Kleen <ak@linux.intel.com>
20295         * config.h.in (ENABLE_LOCK_ELISION): Add.
20296         * configure.in (--enable-lock-elision): Add option.
20297         * manual/install.texi: Document --enable lock elision.
20298         * configure: Regenerate
20299         * INSTALL: Regenerate.
20301 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20303         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20304         SSE4.2 strcasecmp for libc.a.
20305         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20307 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20309         [BZ #13304]
20310         * soft-fp/op-common.h (_FP_FMA): New macro.
20311         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20312         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20313         (_FP_MUL_MEAT_1_imm): ... here.
20314         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20315         (_FP_MUL_MEAT_1_wide): ... here.
20316         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20317         (_FP_MUL_MEAT_1_hard): ... here.
20318         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20319         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20320         (_FP_MUL_MEAT_2_wide): ... here.
20321         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20322         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20323         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20324         (_FP_MUL_MEAT_2_gmp): ... here.
20325         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20326         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20327         (_FP_MUL_MEAT_4_wide): ... here.
20328         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20329         (_FP_MUL_MEAT_4_gmp): ... here.
20330         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20331         (_FP_WFRACBITS_DW_S): Likewise.
20332         (_FP_WFRACXBITS_DW_S): Likewise.
20333         (_FP_HIGHBIT_DW_S): Likewise.
20334         (FP_FMA_S): Likewise.
20335         (_FP_FRAC_HIGH_DW_S): Likewise.
20336         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20337         (_FP_WFRACBITS_DW_D): Likewise.
20338         (_FP_WFRACXBITS_DW_D): Likewise.
20339         (_FP_HIGHBIT_DW_D): Likewise.
20340         (FP_FMA_D): Likewise.
20341         (_FP_FRAC_HIGH_DW_D): Likewise.
20342         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20343         (_FP_WFRACBITS_DW_E): Likewise.
20344         (_FP_WFRACXBITS_DW_E): Likewise.
20345         (_FP_HIGHBIT_DW_E): Likewise.
20346         (FP_FMA_E): Likewise.
20347         (_FP_FRAC_HIGH_DW_E): Likewise.
20348         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20349         (_FP_WFRACBITS_DW_Q): Likewise.
20350         (_FP_WFRACXBITS_DW_Q): Likewise.
20351         (_FP_HIGHBIT_DW_Q): Likewise.
20352         (FP_FMA_Q): Likewise.
20353         (_FP_FRAC_HIGH_DW_Q): Likewise.
20354         * soft-fp/fmasf4.c: New file.
20355         * soft-fp/fmadf4.c: Likewise.
20356         * soft-fp/fmatf4.c: Likewise.
20358 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20361         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20362         Silvermont.
20363         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20364         macro.
20365         (index_Slow_SSE4_2): Likewise.
20366         (index_Prefer_PMINUB_for_stringop): Likewise.
20367         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20368         bit_Slow_SSE4_2 is set.
20369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20370         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20372 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20374         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20375         rtld_global._dl_hwcap2.
20376         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20377         POWER8.
20378         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20379         POWER8 feature descriptions defined in _dl_hwcap2.
20380         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20381         string handling for POWER8 feature bits.
20382         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20383         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20384         _dl_powerpc_cap_flags.
20385         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20386         * sysdeps/powerpc/rtld-global-offsets.sym
20387         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20388         _dl_hwcap2 in the rtld_global_ro structure.
20390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20392         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20393         hardware capabilities in support of AT_HWCAP2.
20394         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20395         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20396         GLRO(dl_hwcap2).
20397         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20398         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20399         explicitly the unknown a_type display mechanism is used.
20400         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20401         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20402         struct member.
20403         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20404         to macro prototype for AT_HWCAP2 support.
20405         * sysdeps/i386/dl-procinfo.h: Likewise.
20406         * sysdeps/s390/dl-procinfo.h: Likewise.
20407         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20408         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20409         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20410         return -1 for unknown a_type display fallback.
20411         * sysdeps/sparc/dl-procinfo.h: Likewise.
20412         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20413         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20415 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20417         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20418         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20420 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20422         [BZ #12492]
20423         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20424         mprotect making __stack_prot writable.
20426 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20427             Joseph Myers  <joseph@codesourcery.com>
20429         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20430         as being properly aligned.
20432 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20434         * dlfcn/modstatic5.c: New file.
20435         * dlfcn/tststatic5.c: New file.
20436         * dlfcn/Makefile (tests): Add tststatic5.
20437         (tests-static): Likewise.
20438         (modules-names): Add modstatic5.
20439         (tststatic5-ENV): New variable.
20440         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20442         [BZ #15022]
20443         * elf/dl-support.c (_dl_main_map): New variable.
20444         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20445         (_dl_nns, _dl_load_adds): Set to 1.
20446         (_dl_initial_searchlist): Refer to _dl_main_map.
20447         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20448         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20449         call to _dl_get_origin.
20450         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20451         around call_map.
20452         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20453         * dlfcn/modstatic3.c: New file.
20454         * dlfcn/tststatic3.c: New file.
20455         * dlfcn/tststatic4.c: New file.
20456         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20457         (tests-static): Likewise.
20458         (modules-names): Add modstatic3.
20459         (tststatic3-ENV, tststatic4-ENV): New variables.
20460         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20461         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20463 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20465         * configure.in (CC): Require GCC version 4.4 or later.
20466         * configure: Regenerated.
20467         * manual/install.texi (Tools for Compilation): Update GCC version
20468         requirement.
20469         * INSTALL: Regenerated.
20471 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20473         [BZ #15674]
20474         * string/test-memcmp.c (check2): New.
20475         (main): Call check2.
20477         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20479 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20481         [BZ #15022]
20482         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20483         over to...
20484         (dl_open_worker) [!SHARED]: ... here.
20486 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20488         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20490 2013-06-25  Richard Henderson  <rth@redhat.com>
20492         * locale/programs/locarchive.c: Include <libc-internal.h>
20494 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20496         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20497         trailing whitespace removed.
20499 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20501         [BZ #10283]
20502         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20503         * locale/programs/locarchive.c: Include libc-mmap.h.
20504         (prepare_address_space): Take two new outputs (the mmap base and len).
20505         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20506         values.
20507         (create_archive): Declare new mmap base and len values for
20508         prepare_address_space, and store the result in ah.
20509         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20510         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20511         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20512         Declare new mmap base and len values for
20513         prepare_address_space, and store the result in new_ah.
20514         (open_archive): Declare new mmap base and len values for
20515         prepare_address_space, and store the result in ah.
20516         (close_archive): If ah->mmap_base is not NULL, use that and
20517         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20518         * sysdeps/generic/libc-mmap.h: New file.
20520 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20522         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20523         (ALIGN_UP): Likewise.
20524         (PTR_ALIGN_DOWN): Likewise.
20525         (PTR_ALIGN_UP): Likewise.
20527 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20529         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20530         entry mapped to PPC_PLATFORM_POWER8.
20531         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20532         POWER8.
20533         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20534         (_dl_string_platform): Add case for exporting platform position for
20535         POWER8.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20537         search path to sysdeps/powerpc/powerpc32/power8 directory.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20539         search path to sysdeps/powerpc/powerpc64/power8 directory.
20540         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20541         power7 directories.
20542         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20543         power7 directories.
20545 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20547         * INSTALL: Regenerate.
20549         * nscd/connections.c (nscd_init): Fix comment.
20551 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20553         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20555         [BZ #15667]
20556         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20557         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20559 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20561         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20562         DL_DST_REQ_STATIC.
20563         (DL_DST_REQ_STATIC): Remove macro.
20565 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #7006]
20568         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20569         with a shift of 0 bits.
20571 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20573         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20574         $(tststatic-ENV).
20576 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20578         [BZ #15655]
20579         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20581 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20583         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20584         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20585         accepts -fno-tree-loop-distribute-patterns.
20586         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20587         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20588         recursive call.
20589         * string/memset.c (memset): Likewise.
20590         * string/test-memmove.c (simple_memmove): Disable loop transformation
20591         to library calls.
20592         * string/test-memset.c (simple_memset): Likewise.
20593         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20594         * benchtests/bench-memset.c (simple_memset): Likewise.
20595         * configure: Regenerated.
20597 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20599         * math/test-misc.c (main): Ignore fesetround failure when failures
20600         of subsequent rounding tests would be ignored.
20602         [BZ #15654]
20603         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20604         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20605         * math/fegetenv.c (__fegetenv): Return 0.
20606         * math/fegetexcept.c (fegetexcept): Return 0.
20607         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20608         FE_TONEAREST.
20609         * math/feholdexcpt.c (feholdexcept): Return 0.
20610         * math/fesetenv.c (__fesetenv): Return 0.
20611         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20612         argument FE_TONEAREST.
20613         * math/feupdateenv.c (__feupdateenv): Return 0.
20614         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20616 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20618         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20619         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20620         ($(objpfx)rtld-%.os rules): Use them.
20622 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20624         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20625         fields.
20627 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20629         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20630         length of target pattern, then descending length of dependency pattern.
20631         * configure.in (AWK): Require gawk 3.1.2 or newer.
20632         * manual/install.texi (Tools for Compilation): Say that we do.
20633         * configure: Regenerated.
20635         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20636         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20637         * scripts/sysd-rules.awk: ... this new script.
20638         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20639         than a glob-style pattern.
20641 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20643         * math/test-misc.c (main): Do not treat incorrectly rounded
20644         conversions as failure unless ROUNDING_TESTS passes.
20646 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20648         [BZ #15631]
20649         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20650         restore exception state around main square root computation, then
20651         check for inexactness explicitly.
20653         * math/libm-test.inc (fma_test_data): Add another test.
20655 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20657         * manual/threads.texi (Non-POSIX Extensions): New document
20658         node.  Document pthread_getattr_default_np and
20659         pthread_setattr_default_np.
20661         * Versions.def (libpthread): Add GLIBC_2.18.
20662         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20664         Likewise.
20665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20666         Likewise.
20667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20668         Likewise.
20669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20670         Likewise.
20671         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20672         Likewise.
20673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20674         Likewise.
20675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20676         Likewise.
20677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20678         Likewise.
20679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20680         Likewise.
20682 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20685         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20687 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20688             H.J. Lu  <hjl.tools@gmail.com>
20690         [BZ #15627]
20691         * sysdeps/x86_64/rtld-memset.c: Remove file.
20692         * sysdeps/x86_64/rtld-memset.S: New file.
20694 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20696         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20697         (test_in_one_mode): Take arguments for whether the rounding mode
20698         is supported for each floating-point type.
20699         (do_test): Pass new arguments to test_in_one_mode using
20700         ROUNDING_TESTS.
20702 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20704         * posix/tst-waitid.c (do_test): Distinguish different instances of
20705         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20706         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20707         before entering the kernel for waitpid.
20709 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20711         * NEWS: Fix note on clock function precision.  Text by Roland
20712         McGrath.
20714 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20716         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20717         it into place only when and if the sanity check passes.
20719 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20721         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20722         output for whether conversion result is exact.  Take argument
20723         indicating whether type is IBM long double.
20724         (round_for_all): Change need_exact field to ibm_ld.
20725         * stdlib/tst-strtod-round.c (struct exactness): New type.
20726         (struct test): Change bool ld_ok field to struct exactness exact.
20727         (TEST): Update all definitions for change to field.
20728         (tests): Regenerate array contents.
20729         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20730         field value.  Check for IBM long double here.
20731         (do_test): Update calls to test_in_one_mode.
20733 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20735         [BZ #12515]
20736         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20737         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20739 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20741         [BZ #15605]
20742         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20743         generated by the compiler on loop optimizations.
20744         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20745         general definitions.
20747 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20749         * math/bug-nextafter.c: Include <math-tests.h>.
20750         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20751         the relevant type.
20752         * math/bug-nexttoward.c: Include <math-tests.h>.
20753         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20754         the relevant type.
20755         * math/test-misc.c: Include <math-tests.h>.
20756         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20757         the relevant type.
20759 2013-06-12  Andreas Jaeger  <aj@suse.de>
20761         * po/ia.po: Update Interlingua translation from translation
20762         project.
20764 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20766         * include/fenv.h: Include stdbool.h.
20767         (struct rm_ctx): New structure.
20768         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20769         Define macro.
20770         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20771         (SET_RESTORE_ROUNDF): Likewise.
20772         (SET_RESTORE_ROUNDL): Likewise.
20773         (SET_RESTORE_ROUND_NOEX): Likewise.
20774         (SET_RESTORE_ROUND_NOEXF): Likewise.
20775         (SET_RESTORE_ROUND_NOEXL): Likewise.
20776         (SET_RESTORE_ROUND_53BIT): Likewise.
20777         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20778         (libc_feresetround_noexf_ctx): Likewise.
20779         (libc_feresetround_noexl_ctx): Likewise.
20780         (libc_feholdsetround_53bit_ctx): Likewise.
20781         (libc_feresetround_53bit_ctx): Likewise.
20782         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20783         (libc_feholdexcept_setround_sse_ctx): New function.
20784         (libc_fesetenv_sse_ctx): Likewise.
20785         (libc_feupdateenv_sse_ctx): Likewise.
20786         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20787         (libc_feholdexcept_setround_387_ctx): Likewise.
20788         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20789         (libc_feholdsetround_387_prec_ctx): Likewise.
20790         (libc_feholdsetround_387_ctx): Likewise.
20791         (libc_feholdsetround_387_53bit_ctx): Likewise.
20792         (libc_feholdsetround_sse_ctx): Likewise.
20793         (libc_feresetround_sse_ctx): Likewise.
20794         (libc_feresetround_387_ctx): Likewise.
20795         (libc_feupdateenv_387_ctx): Likewise.
20796         (libc_feholdexcept_setroundf_ctx): Define macro.
20797         (libc_fesetenvf_ctx): Likewise.
20798         (libc_feupdateenvf_ctx): Likewise.
20799         (libc_feholdsetroundf_ctx): Likewise.
20800         (libc_feresetroundf_ctx): Likewise.
20801         (libc_feholdexcept_setround_ctx): Likewise.
20802         (libc_fesetenv_ctx): Likewise.
20803         (libc_feupdateenv_ctx): Likewise.
20804         (libc_feholdsetround_ctx): Likewise.
20805         (libc_feresetround_ctx): Likewise.
20806         (libc_feholdexcept_setroundl_ctx): Likewise.
20807         (libc_feupdateenvl_ctx): Likewise.
20808         (libc_feholdsetroundl_ctx): Likewise.
20809         (libc_feresetroundl_ctx): Likewise.
20810         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20811         (libc_feresetround_53bit_ctx): Likewise.
20813 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20815         * locale/iso-639.def: Convert to UTF-8.
20817 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20819         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20820         (EXCEPTION_TESTS_double): Likewise.
20821         (EXCEPTION_TESTS_long_double): Likewise.
20822         (EXCEPTION_TESTS): Likewise.
20823         * math/libm-test.inc (test_exceptions): Only test exceptions if
20824         EXCEPTION_TESTS (FLOAT).
20826 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828         * benchtests/Makefile (string-bench): Add strcpy_chk and
20829         stpcpy_chk.
20830         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20831         * benchtests/bench-stpcpy_chk.c: New file.
20832         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20833         * benchtests/bench-strcpy_chk.c: New file.
20834         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20835         code.
20836         (do_test): Likewise.
20838 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20840         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20841         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20842         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20843         with tabs where appropriate.
20844         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20845         dl-procinfo.h.
20846         [PPC_PLATFORM_PPC440]: Likewise.
20847         [PPC_PLATFORM_PPC464]: Likewise.
20848         [PPC_PLATFORM_PPC476]: Likewise.
20849         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20850         ppc464, and ppc476 platform strings merging from ports/
20851         dl-procinfo.h.
20853 2013-06-11  Andreas Schwab  <schwab@suse.de>
20855         [BZ #14991]
20856         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20857         (from_ucs4_idx): Regenerate.
20858         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20859         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20860         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20861         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20862         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20863         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20864         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20865         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20866         from FROM_LOOP and TO_LOOP specific macros.
20867         (BODY): Handle combining characters.
20868         * iconvdata/BIG5HKSCS.irreversible: Update.
20869         * iconvdata/BIG5HKSCS.precomposed: New file.
20870         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20871         characters.
20872         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20874 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20876         * include/sys/time.h: Fix indentation and add copyright header.
20878         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20879         (do_test): Likewise.
20880         * string/test-memchr.c (do_one_test): Likewise.
20881         (do_test): Likewise.
20882         * string/test-memcmp.c (do_one_test): Likewise.
20883         (do_test): Likewise.
20884         * string/test-memcpy.c (do_one_test): Likewise.
20885         (do_test): Likewise.
20886         * string/test-memmem.c (do_one_test): Likewise.
20887         (do_test): Likewise.
20888         (do_random_tests): Likewise.
20889         * string/test-memmove.c (do_one_test): Likewise.
20890         (do_test): Likewise.
20891         * string/test-memset.c (do_one_test): Likewise.
20892         (do_test): Likewise.
20893         * string/test-rawmemchr.c (do_one_test): Likewise.
20894         (do_test): Likewise.
20895         * string/test-strcasecmp.c (do_one_test): Likewise.
20896         (do_test): Likewise.
20897         * string/test-strcasestr.c (do_one_test): Likewise.
20898         (do_test): Likewise.
20899         * string/test-strcat.c (do_one_test): Likewise.
20900         (do_test): Likewise.
20901         * string/test-strchr.c (do_one_test): Likewise.
20902         (do_test): Likewise.
20903         * string/test-strcmp.c (do_one_test): Likewise.
20904         (do_test): Likewise.
20905         * string/test-strcpy.c (do_one_test): Likewise.
20906         (do_test): Likewise.
20907         * string/test-string.h: Likewise.
20908         (test_init): Likewise.
20909         * string/test-strlen.c (do_one_test): Likewise.
20910         (do_test): Likewise.
20911         * string/test-strncasecmp.c (do_one_test): Likewise.
20912         (do_test): Likewise.
20913         * string/test-strncat.c (do_one_test): Likewise.
20914         (do_test): Likewise.
20915         * string/test-strncmp.c (do_one_test): Likewise.
20916         (do_test_limit): Likewise.
20917         (do_test): Likewise.
20918         * string/test-strncpy.c (do_one_test): Likewise.
20919         (do_test): Likewise.
20920         * string/test-strnlen.c (do_one_test): Likewise.
20921         (do_test): Likewise.
20922         * string/test-strpbrk.c (do_one_test): Likewise.
20923         (do_test): Likewise.
20924         * string/test-strrchr.c (do_one_test): Likewise.
20925         (do_test): Likewise.
20926         * string/test-strspn.c (do_one_test): Likewise.
20927         (do_test): Likewise.
20928         * string/test-strstr.c (do_one_test): Likewise.
20929         (do_test): Likewise.
20931         * benchtests/Makefile (string-bench): Add string benchmarks.
20932         * benchtests/bench-bcopy-ifunc.c: New file.
20933         * benchtests/bench-bcopy.c: New file.
20934         * benchtests/bench-bzero-ifunc.c: New file.
20935         * benchtests/bench-bzero.c: New file.
20936         * benchtests/bench-memccpy-ifunc.c: New file.
20937         * benchtests/bench-memccpy.c: New file.
20938         * benchtests/bench-memchr-ifunc.c: New file.
20939         * benchtests/bench-memchr.c: New file.
20940         * benchtests/bench-memcmp-ifunc.c: New file.
20941         * benchtests/bench-memcmp.c: New file.
20942         * benchtests/bench-memmem-ifunc.c: New file.
20943         * benchtests/bench-memmem.c: New file.
20944         * benchtests/bench-memmove-ifunc.c: New file.
20945         * benchtests/bench-memmove.c: New file.
20946         * benchtests/bench-mempcpy-ifunc.c: New file.
20947         * benchtests/bench-mempcpy.c: New file.
20948         * benchtests/bench-memset-ifunc.c: New file.
20949         * benchtests/bench-memset.c: New file.
20950         * benchtests/bench-rawmemchr-ifunc.c: New file.
20951         * benchtests/bench-rawmemchr.c: New file.
20952         * benchtests/bench-stpcpy-ifunc.c: New file.
20953         * benchtests/bench-stpcpy.c: New file.
20954         * benchtests/bench-stpncpy-ifunc.c: New file.
20955         * benchtests/bench-stpncpy.c: New file.
20956         * benchtests/bench-strcasecmp-ifunc.c: New file.
20957         * benchtests/bench-strcasecmp.c: New file.
20958         * benchtests/bench-strcasestr-ifunc.c: New file.
20959         * benchtests/bench-strcasestr.c: New file.
20960         * benchtests/bench-strcat-ifunc.c: New file.
20961         * benchtests/bench-strcat.c: New file.
20962         * benchtests/bench-strchr-ifunc.c: New file.
20963         * benchtests/bench-strchr.c: New file.
20964         * benchtests/bench-strchrnul-ifunc.c: New file.
20965         * benchtests/bench-strchrnul.c: New file.
20966         * benchtests/bench-strcmp-ifunc.c: New file.
20967         * benchtests/bench-strcmp.c: New file.
20968         * benchtests/bench-strcpy-ifunc.c: New file.
20969         * benchtests/bench-strcpy.c: New file.
20970         * benchtests/bench-strcspn-ifunc.c: New file.
20971         * benchtests/bench-strcspn.c: New file.
20972         * benchtests/bench-strlen-ifunc.c: New file.
20973         * benchtests/bench-strlen.c: New file.
20974         * benchtests/bench-strncasecmp-ifunc.c: New file.
20975         * benchtests/bench-strncasecmp.c: New file.
20976         * benchtests/bench-strncat-ifunc.c: New file.
20977         * benchtests/bench-strncat.c: New file.
20978         * benchtests/bench-strncmp-ifunc.c: New file.
20979         * benchtests/bench-strncmp.c: New file.
20980         * benchtests/bench-strncpy-ifunc.c: New file.
20981         * benchtests/bench-strncpy.c: New file.
20982         * benchtests/bench-strnlen-ifunc.c: New file.
20983         * benchtests/bench-strnlen.c: New file.
20984         * benchtests/bench-strpbrk-ifunc.c: New file.
20985         * benchtests/bench-strpbrk.c: New file.
20986         * benchtests/bench-strrchr-ifunc.c: New file.
20987         * benchtests/bench-strrchr.c: New file.
20988         * benchtests/bench-strspn-ifunc.c: New file.
20989         * benchtests/bench-strspn.c: New file.
20990         * benchtests/bench-strstr-ifunc.c: New file.
20991         * benchtests/bench-strstr.c: New file.
20993         * benchtests/Makefile: Disable parallel execution of targets.
20994         (string-bench): Add memcpy.
20995         (benchset): New variable to store a list of benchmark sets.
20996         (bench-func): Renamed from bench.
20997         (bench-set): New target.
20998         (bench): Depend on bench-func and bench-set.
20999         * benchtests/README: Add section on benchmark sets.
21000         * benchtests/bench-memcpy-ifunc.c: New file.
21001         * benchtests/bench-memcpy.c: New file.
21002         * benchtests/bench-string.h: New file.
21004 2013-06-11  Andreas Schwab  <schwab@suse.de>
21006         [BZ #15577]
21007         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21008         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21009         values in the triple.
21010         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21011         terminator in the group key.
21013 2013-06-11  Andreas Jaeger  <aj@suse.de>
21015         * po/zh_TW.po: Update Chinese (traditional) translation from
21016         translation project.
21018 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21020         * include/time.h (__clock_gettime): Add libc_hidden_proto.
21021         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21022         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
21023         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21024         (clock_getcpuclockid): Likewise.
21025         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21026         Add weak_alias and libc_hidden_def.
21027         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21028         * rt/clock_gettime.c (clock_gettime): Rename to
21029         __clock_gettime.  Add weak_alias and libc_hidden_def.
21030         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21031         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21032         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
21033         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21034         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21035         Likewise.
21036         * rt/clock_settime.c (clock_settime): Rename to
21037         __clock_settime.  Add weak_alias and libc_hidden_def.
21038         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21040 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
21042         * mach/err_boot.sub: Remove trailing whitespace.
21043         * mach/err_ipc.sub: Likewise.
21044         * mach/err_mach.sub: Likewise.
21046         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21047         (ROUNDING_TESTS_double): Likewise.
21048         (ROUNDING_TESTS_long_double): Likewise.
21049         (ROUNDING_TESTS): Likewise.
21050         * math/libm-test.inc: Include <math-tests.h>.
21051         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21052         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21053         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21054         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21056 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21058         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21059         of assigning.
21061 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
21063         * sysdeps/gnu/errlist.awk: Do not generate space at end of
21064         otherwise empty TRANS lines.
21065         * sysdeps/gnu/errlist.c: Regenerated.
21067         * catgets/gencat.c (error_print): Use (void) in function
21068         definition.
21069         * crypt/crypt_util.c (__init_des): Likewise.
21070         * crypt/speeds.c (Stop): Likewise.
21071         (main): Likewise.
21072         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21073         * inet/ruserpass.c (token): Likewise.
21074         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21075         * intl/localealias.c (extend_alias_table): Likewise.
21076         * intl/plural-exp.c (init_germanic_plural): Likewise.
21077         * libio/fcloseall.c (__fcloseall): Likewise.
21078         * libio/genops.c (_IO_flush_all): Likewise.
21079         (_IO_flush_all_linebuffered): Likewise.
21080         (_IO_cleanup): Likewise.
21081         (_IO_iter_begin): Likewise.
21082         (_IO_iter_end): Likewise.
21083         (_IO_list_lock): Likewise.
21084         (_IO_list_unlock): Likewise.
21085         (_IO_list_resetlock): Likewise.
21086         * libio/getchar.c (getchar): Likewise.
21087         * libio/getchar_u.c (getchar_unlocked): Likewise.
21088         * libio/getwchar.c (getwchar): Likewise.
21089         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21090         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21091         * login/getpt.c (__getpt): Likewise.
21092         * login/tst-utmp.c (main): Likewise.
21093         * malloc/hooks.c (__malloc_check_init): Likewise.
21094         * malloc/malloc.c (__malloc_stats): Likewise.
21095         * malloc/mtrace.c (tr_break): Likewise.
21096         (mtrace): Likewise.
21097         (muntrace): Likewise.
21098         * misc/fstab.c (endfsent): Likewise.
21099         * misc/getclktck.c (__getclktck): Likewise.
21100         * misc/getdtsz.c (__getdtablesize): Likewise.
21101         * misc/gethostid.c (gethostid): Likewise.
21102         * misc/getpagesize.c (__getpagesize): Likewise.
21103         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21104         (__get_nprocs): Likewise.
21105         (__get_phys_pages): Likewise.
21106         (__get_avphys_pages): Likewise.
21107         * misc/getttyent.c (getttyent): Likewise.
21108         (setttyent): Likewise.
21109         (endttyent): Likewise.
21110         * misc/getusershell.c (getusershell): Likewise.
21111         (endusershell): Likewise.
21112         (setusershell): Likewise.
21113         (initshells): Likewise.
21114         * misc/hsearch.c (__hdestroy): Likewise.
21115         * misc/sync.c (sync): Likewise.
21116         * misc/syslog.c (closelog_internal): Likewise.
21117         (closelog): Likewise.
21118         * misc/ttyslot.c (ttyslot): Likewise.
21119         * misc/vhangup.c (vhangup): Likewise.
21120         * posix/fork.c (__fork): Likewise.
21121         * posix/getegid.c (__getegid): Likewise.
21122         * posix/geteuid.c (__geteuid): Likewise.
21123         * posix/getgid.c (__getgid): Likewise.
21124         * posix/getpid.c (__getpid): Likewise.
21125         * posix/getppid.c (__getppid): Likewise.
21126         * posix/getuid.c (__getuid): Likewise.
21127         * posix/pause.c (pause): Likewise.
21128         * posix/setpgrp.c (setpgrp): Likewise.
21129         * posix/setsid.c (__setsid): Likewise.
21130         * posix/test-vfork.c (noop): Likewise.
21131         * resolv/gethnamaddr.c (_endhtent): Likewise.
21132         (_gethtent): Likewise.
21133         (ht_endhostent): Likewise.
21134         (gethostent): Likewise.
21135         (dns_service): Likewise.
21136         * stdlib/drand48.c (drand48): Likewise.
21137         * stdlib/lrand48.c (lrand48): Likewise.
21138         * stdlib/mrand48.c (mrand48): Likewise.
21139         * stdlib/rand.c (rand): Likewise.
21140         * stdlib/random.c (__random): Likewise.
21141         * stdlib/setenv.c (clearenv): Likewise.
21142         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21143         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21144         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21145         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21146         (__get_nprocs): Likewise.
21147         (__get_phys_pages): Likewise.
21148         (__get_avphys_pages): Likewise.
21149         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21150         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21151         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21152         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21153         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21154         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21155         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21156         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21157         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21158         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21159         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21160         * sysdeps/mach/hurd/sync.c (sync): Likewise.
21161         * sysdeps/posix/clock.c (clock): Likewise.
21162         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21163         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21164         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21165         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21166         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21168         (__get_nprocs_conf): Likewise.
21169         (__get_phys_pages): Likewise.
21170         (__get_avphys_pages): Likewise.
21171         * time/clock.c (clock): Likewise.
21172         * time/tzset.c (__tzname_max): Likewise.
21174 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
21176         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21177         (__bswap_32): Do not use "register".
21178         * crypt/crypt.c (_ufc_doit_r): Likewise.
21179         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21180         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21181         * gmon/gmon.c (__monstartup): Likewise.
21182         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21183         * hurd/hurdmalloc.c (more_memory): Likewise.
21184         (malloc): Likewise.
21185         (free): Likewise.
21186         (realloc): Likewise.
21187         (malloc_fork_prepare): Likewise.
21188         (malloc_fork_parent): Likewise.
21189         (malloc_fork_child): Likewise.
21190         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21191         (_svcauth_des): Likewise.
21192         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21193         * inet/inet_net.c (inet_network): Likewise.
21194         * inet/inet_netof.c (inet_netof): Likewise.
21195         * inet/rcmd.c (__validuser2_sa): Likewise.
21196         * io/fts.c (fts_open): Likewise.
21197         (fts_load): Likewise.
21198         (fts_close): Likewise.
21199         (fts_read): Likewise.
21200         (fts_children): Likewise.
21201         (fts_build): Likewise.
21202         (fts_stat): Likewise.
21203         (fts_sort): Likewise.
21204         (fts_alloc): Likewise.
21205         (fts_lfree): Likewise.
21206         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21207         (_IO_file_xsgetn): Likewise.
21208         (_IO_file_xsgetn_mmap): Likewise.
21209         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21210         (_IO_cookie_write): Likewise.
21211         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21212         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21213         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21214         * malloc/obstack.c (_obstack_begin): Likewise.
21215         (_obstack_begin_1): Likewise.
21216         (_obstack_newchunk): Likewise.
21217         (_obstack_allocated_p): Likewise.
21218         (obstack_free): Likewise.
21219         (_obstack_memory_used): Likewise.
21220         * misc/getttyent.c (getttynam): Likewise.
21221         (getttyent): Likewise.
21222         (skip): Likewise.
21223         (value): Likewise.
21224         * misc/getusershell.c (initshells): Likewise.
21225         * misc/syslog.c (__vsyslog_chk): Likewise.
21226         * misc/ttyslot.c (ttyslot): Likewise.
21227         * nis/nis_hash.c (__nis_hash): Likewise.
21228         * posix/fnmatch_loop.c (FCT): Likewise.
21229         * posix/getconf.c (print_all): Likewise.
21230         (main): Likewise.
21231         * posix/getopt.c (exchange): Likewise.
21232         * posix/glob.c (globfree): Likewise.
21233         (prefix_array): Likewise.
21234         (__glob_pattern_type): Likewise.
21235         * resolv/arpa/nameser.h (NS_GET16): Likewise.
21236         (NS_GET32): Likewise.
21237         (NS_PUT16): Likewise.
21238         (NS_PUT32): Likewise.
21239         * resolv/gethnamaddr.c (getanswer): Likewise.
21240         (gethostbyname2): Likewise.
21241         (gethostbyaddr): Likewise.
21242         (_gethtent): Likewise.
21243         (_gethtbyname2): Likewise.
21244         (_gethtbyaddr): Likewise.
21245         * resolv/ns_print.c (dst_s_get_int16): Likewise.
21246         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21247         * resolv/res_init.c (__res_vinit): Likewise.
21248         (net_mask): Likewise.
21249         * resolv/res_mkquery.c (outchar): Likewise.
21250         (PRINT): Likewise.
21251         * stdio-common/printf_fp.c (outchar): Likewise.
21252         (PRINT): Likewise.
21253         * stdio-common/printf_fphex.c (outchar): Likewise.
21254         (PRINT): Likewise.
21255         * stdio-common/printf_size.c (outchar): Likewise.
21256         (PRINT): Likewise.
21257         * stdio-common/test_rdwr.c (main): Likewise.
21258         * stdio-common/tfformat.c (matches): Likewise.
21259         * stdio-common/vfprintf.c (outchar): Likewise.
21260         (printf_unknown): Likewise.
21261         (buffered_vfprintf): Likewise.
21262         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21263         * stdio-common/xbug.c (AppendToBuffer): Likewise.
21264         (ReadFile): Likewise.
21265         * stdlib/qsort.c (SWAP): Likewise.
21266         (_quicksort): Likewise.
21267         * stdlib/setenv.c (__add_to_environ): Likewise.
21268         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21269         * stdlib/strtol_l.c (__strtol_l): Likewise.
21270         * stdlib/tst-strtod.c (main): Likewise.
21271         * stdlib/tst-strtol.c (main): Likewise.
21272         * stdlib/tst-strtoll.c (main): Likewise.
21273         * string/bits/string2.h (__strcmp_cc): Likewise.
21274         (__strcmp_cg): Likewise.
21275         (__strcspn_c1): Likewise.
21276         (__strcspn_c2): Likewise.
21277         (__strcspn_c3): Likewise.
21278         (__strspn_c1): Likewise.
21279         (__strspn_c2): Likewise.
21280         (__strspn_c3): Likewise.
21281         (__strsep_1c): Likewise.
21282         (__strsep_2c): Likewise.
21283         (__strsep_3c): Likewise.
21284         * string/memccpy.c (__memccpy): Likewise.
21285         * string/stpcpy.c (__stpcpy): Likewise.
21286         * string/strcmp.c (strcmp): Likewise.
21287         * string/strrchr.c (strrchr): Likewise.
21288         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21289         Likewise.
21290         * sysdeps/mach/hurd/getcwd.c
21291         (_hurd_canonicalize_directory_name_internal): Likewise.
21292         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21293         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21294         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21295         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21296         Likewise, in both definitions.
21297         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21298         definitions.
21299         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21300         64] (__bswap_64): Likewise.
21301         * time/test_time.c (main): Likewise.
21302         * time/tzfile.c (__tzfile_read): Likewise.
21303         (__tzfile_compute): Likewise.
21304         * time/tzset.c (__tzset_parse_tz): Likewise.
21305         (tzset_internal): Likewise.
21306         (compute_change): Likewise.
21307         * wcsmbs/wcscat.c (__wcscat): Likewise.
21308         * wcsmbs/wcschr.c (wcschr): Likewise.
21309         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21310         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21311         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21312         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21313         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21314         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21315         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21316         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21317         * wcsmbs/wmemset.c (wmemset): Likewise.
21319 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21321         * scripts/config.guess: Update to version 2013-05-16.
21322         * scripts/config.sub: Update to version 2013-04-24.
21323         * scripts/install-sh: Update to version 2011-11-20.07.
21324         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21325         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21327 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21329         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21330         * elf/sln.c: Likewise.
21331         * hurd/hurd/ioctl.h: Likewise.
21332         * hurd/hurdmalloc.c: Likewise.
21333         * hurd/xattr.c: Likewise.
21334         * include/shlib-compat.h: Likewise.
21335         * inet/ruserpass.c: Likewise.
21336         * libio/iofgets_u.c: Likewise.
21337         * libio/iofgetws_u.c: Likewise.
21338         * locale/programs/ld-identification.c: Likewise.
21339         * locale/programs/ld-time.c: Likewise.
21340         * mach/msg-destroy.c: Likewise.
21341         * nss/nss_files/files-netgrp.c: Likewise.
21342         * resolv/res_data.c: Likewise.
21343         * soft-fp/op-1.h: Likewise.
21344         * soft-fp/op-2.h: Likewise.
21345         * soft-fp/op-4.h: Likewise.
21346         * soft-fp/op-common.h: Likewise.
21347         * stdio-common/printf_fphex.c: Likewise.
21348         * stdlib/strtod_l.c: Likewise.
21349         * sunrpc/rpc/clnt.h: Likewise.
21350         * sysdeps/generic/framestate.c: Likewise.
21351         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21352         * sysdeps/i386/bsd-setjmp.S: Likewise.
21353         * sysdeps/i386/__longjmp.S: Likewise.
21354         * sysdeps/i386/setjmp.S: Likewise.
21355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21356         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21357         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21358         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21359         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21360         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21362         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21363         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21364         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21365         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21366         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21367         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21368         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21369         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21371         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21372         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21373         * sysdeps/ieee754/support.c: Likewise.
21374         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21375         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21376         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21377         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21378         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21379         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21380         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21381         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21382         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21383         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21384         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21385         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21386         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21387         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21388         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21389         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21390         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21393 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21395         * posix/transbug.c: Remove executable mode.
21397 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21399         * crypt/speeds.c: Remove trailing whitespace.
21400         * dlfcn/default.c: Likewise.
21401         * elf/ifuncdep2.c: Likewise.
21402         * elf/ifuncmain1.c: Likewise.
21403         * elf/ifuncmain1vis.c: Likewise.
21404         * elf/testobj.h: Likewise.
21405         * elf/tst-stackguard1.c: Likewise.
21406         * gmon/sys/gmon.h: Likewise.
21407         * hurd/hurdmsg.c: Likewise.
21408         * hurd/new-fd.c: Likewise.
21409         * hurd/ports-get.c: Likewise.
21410         * iconvdata/ibm1008_420.c: Likewise.
21411         * inet/tst-getni1.c: Likewise.
21412         * inet/tst-getni2.c: Likewise.
21413         * libio/ioungetc.c: Likewise.
21414         * libio/wfiledoalloc.c: Likewise.
21415         * manual/libm-err-tab.pl: Likewise.
21416         * math/w_dremf.c: Likewise.
21417         * misc/ftruncate.c: Likewise.
21418         * posix/bug-glob2.c: Likewise.
21419         * posix/tst-pcre.c: Likewise.
21420         * posix/wait4.c: Likewise.
21421         * resolv/README: Likewise.
21422         * resolv/res_debug.h: Likewise.
21423         * resolv/tst-inet_ntop.c: Likewise.
21424         * setjmp/bug269-setjmp.c: Likewise.
21425         * soft-fp/extended.h: Likewise.
21426         * soft-fp/op-1.h: Likewise.
21427         * soft-fp/op-2.h: Likewise.
21428         * soft-fp/op-4.h: Likewise.
21429         * soft-fp/op-8.h: Likewise.
21430         * soft-fp/testit.c: Likewise.
21431         * stdio-common/bug16.c: Likewise.
21432         * stdlib/random.c: Likewise.
21433         * sunrpc/rpcsvc/rquota.x: Likewise.
21434         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21435         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21436         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21437         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21438         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21439         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21440         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21441         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21442         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21443         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21444         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21445         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21446         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21447         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21448         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21449         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21450         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21451         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21452         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21453         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21454         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21455         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21456         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21457         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21458         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21460         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21461         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21462         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21463         * sysdeps/ieee754/s_lib_version.c: Likewise.
21464         * sysdeps/mach/hurd/check_fds.c: Likewise.
21465         * sysdeps/mach/hurd/getsockname.c: Likewise.
21466         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21467         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21468         * sysdeps/powerpc/bits/link.h: Likewise.
21469         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21470         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21471         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21472         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21473         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21474         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21475         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21476         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21477         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21478         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21479         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21480         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21481         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21482         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21483         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21484         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21486         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21487         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21488         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21489         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21490         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21492         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21493         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21494         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21495         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21496         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21497         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21498         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21499         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21500         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21501         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21502         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21503         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21504         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21505         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21506         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21507         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21508         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21509         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21510         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21511         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21512         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21513         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21514         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21515         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21516         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21517         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21518         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21519         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21520         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21521         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21522         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21523         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21524         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21525         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21526         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21527         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21528         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21529         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21530         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21531         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21532         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21533         * sysdeps/powerpc/sysdep.h: Likewise.
21534         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21535         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21536         * sysdeps/sh/dl-trampoline.S: Likewise.
21537         * sysdeps/sh/memset.S: Likewise.
21538         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21539         * sysdeps/sh/strlen.S: Likewise.
21540         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21541         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21542         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21543         * sysdeps/sparc/sparc32/rem.S: Likewise.
21544         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21545         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21546         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21547         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21548         * sysdeps/sparc/sparc32/urem.S: Likewise.
21549         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21550         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21551         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21552         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21553         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21554         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21555         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21556         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21557         * sysdeps/unix/bsd/times.c: Likewise.
21558         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21559         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21563         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21564         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21565         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21566         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21567         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21568         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21569         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21570         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21571         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21572         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21573         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21574         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21575         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21576         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21577         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21578         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21579         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21580         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21581         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21582         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21583         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21584         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21585         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21586         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21587         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21588         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21589         * sysdeps/x86_64/strcspn.S: Likewise.
21591 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21593         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21594         generated file.  Regenerate properly from gen-translit.pl.
21595         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21596         locale/C-translit.h.
21598 2013-06-05  Andreas Schwab  <schwab@suse.de>
21600         [BZ #15100]
21601         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21602         week as 6 instead of -1.
21603         * time/tst-strptime.c (day_tests): Add test case.
21605 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21607         * sysdeps/generic/math_private.h
21608         (libc_feholdexcept_setround_53bit): Replace with
21609         libc_feholdsetround_53bit.
21610         (libc_feupdateenv_53bit): Replace with
21611         libc_feresetround_53bit.
21612         (SET_RESTORE_ROUND_53BIT): Adjust.
21614 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21616         * string/test-strchrnul.c: Add copyright header.
21618         * posix/tst-getaddrinfo4.c: Increase test timeout.
21620 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21622         [BZ #15536]
21623         * math/libm-test.inc (MAX_EXP): Remove
21624         (MIN_EXP): Define.
21625         (ulp): Use MIN_EXP - MANT_DIG.
21626         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21628 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21630         * po/be.po: Revert last change.
21631         * po/zh_CN.po: Likewise.
21632         * po/header.pot: Likewise.
21634 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21636         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21637         link-libc-deps to empty as target-specific variable.
21638         * Makerules (link-libc-args): New variable.
21639         (libc-for-link): Likewise.
21640         (link-libc-deps): Likewise.
21641         (lib%.so): Depend on $(link-libc-deps).  Link with
21642         $(link-libc-args).
21643         (build-module): Link with $(link-libc-args).
21644         (build-module-asneeded): Likewise.
21645         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21646         list of objects.
21647         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21648         target-specific variable.
21649         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21650         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21651         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21652         libc.
21653         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21654         libc and ld.so.
21655         ($(objpfx)libpcprofile.so): Likewise.
21656         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21657         libc_nonshared.a.
21658         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21659         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21660         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21661         $(link-libc-deps).
21662         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21663         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21664         * login/Makefile ($(objpfx)libutil.so): Likewise.
21665         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21666         * math/Makefile ($(objpfx)libm.so): Likewise.
21667         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21668         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21669         variable instead of depending directly on libc.
21670         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21671         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21672         $(link-libc-deps).
21673         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21674         libc.
21675         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21676         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21677         ($(objpfx)libanl.so): Likewise.
21678         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21679         ld.so.
21680         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21681         $(link-libc-deps).
21682         * sysdeps/i386/fpu/Makefile: Remove file.
21683         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21684         ($(objpfx)libm.so): Remove dependency on ld.so.
21686 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21688         [BZ # 15553]
21689         * nis/yp_xdr.c (XDRMAXNAME): Define.
21690         (XDRMAXRECORD): Define.
21691         (xdr_domainname): Use XDRMAXNAME.
21692         (xdr_mapname): Likewise.
21693         (xdr_peername): Likewise.
21694         (xdr_keydat): Use XDRMAXRECORD.
21695         (xdr_valdat): Likewise.
21697 2013-05-30  Jeff Law  <law@redhat.com>
21699         [BZ #14256]
21700         * manual/errno.texi (ESTALE): Update to account for more than
21701         just NFS file systems.
21702         * sysdeps/gnu/errlist.c: Regenerated.
21704 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21706         [BZ #15465]
21707         * elf/Makefile (tests): Add tst-null-argv.
21708         (modules-names):  Add tst-null-argv-lib.
21709         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21710         (tst-null-argv-ENV): Set environment for tst-null-argv.
21711         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21712         (RTLD_PROGNAME): New macro.
21713         * elf/tst-null-argv.c: New test case.
21714         * elf/tst-null-argv-lib.c: Library for test case.
21715         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21716         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21717         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21718         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21719         * elf/dl-init.c (call_init): Likewise.
21720         (_dl_init): Likewise.
21721         * elf/dl-load.c (print_search_path): Likewise.
21722         (_dl_map_object): Likewise.
21723         * elf/dl-lookup.c (do_lookup_x): Likewise.
21724         (add_dependency): Likewise.
21725         (_dl_lookup_symbol_x): Likewise.
21726         (_dl_debug_bindings): Likewise.
21727         * elf/dl-open.c (_dl_show_scope): Likewise.
21728         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21729         * elf/dl-version.c (match_symbol): Likewise.
21730         (_dl_check_map_versions): Likewise.
21731         * elf/rtld.c (dl_main): Likewise.
21732         (print_unresolved): Use RTLD_PROGNAME.
21733         (print_missing_version): Likewise.
21734         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21735         (elf_machine_rela): Likewise.
21736         * sysdeps/powerpc/powerpc32/dl-machine.c
21737         (__process_machine_rela): Likewise.
21738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21739         Likewise.
21740         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21741         Likewise.
21742         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21743         Likewise.
21744         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21746         Likewise.
21747         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21748         Likewise.
21749         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21751 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21753         * po/be.po: Add descriptive title.
21754         * po/zh_CN.po: Likewise.
21755         * po/header.pot: Likewise.
21757 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21759         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21760         error message.
21761         (enlarge_archive): Likewise.
21763 2013-05-28  Ben North  <ben@redfrontdoor.org>
21765         * manual/arith.texi (frexp): It is the magnitude of the return
21766         value which lies in [0.5, 1), not the return value itself.
21768 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21772 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21774         * stdio-common/bug26.c (main): Correct fscanf template.
21776         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21777         declare _dl_skip_args.
21779         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21780         Don't declare.
21782         * manual/platform.texi: Add missing @end deftypefun.
21784 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #15529]
21787         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21788         bit of mantissa of 2^16382.
21789         * math/libm-test.inc (hypot_test_data): Add more tests.
21791         * math/libm-test.inc: Add drem and pow10 to list of tested
21792         functions.
21793         (pow10_test): New function.
21794         (drem_test): Likewise.
21795         (drem_test_tonearest): Likewise.
21796         (drem_test_towardzero): Likewise.
21797         (drem_test_downward): Likewise.
21798         (drem_test_upward): Likewise.
21799         (main): Call the new functions.
21801         * math/libm-test.inc (finite_test_data): Remove.
21802         (finite_test): Run tests from isfinite_test_data.
21803         (gamma_test_data): Remove.
21804         (gamma_test): Run tests from lgamma_test_data.
21805         * sysdeps/i386/fpu/libm-test-ulps: Update.
21806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21808 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21810         * manual/platform.texi: Add PowerPC PPR function set documentation.
21811         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21812         implementation.
21814 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21816         * math/libm-test.inc (MAX_EXP): Define.
21817         (ULPDIFF): Define.
21818         (ulp): New function.
21819         (check_float_internal): Use ULPDIFF.
21820         (cpow_test): Disable failing test.
21821         (check_ulp): Test ulp() implemetnation.
21822         (main): Call check_ulp before starting tests.
21824 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21826         * math/gen-libm-test.pl (generate_testfile): Do not handle
21827         START_DATA and END_DATA.
21828         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21829         END_DATA.
21830         (acos_tonearest_test_data): Likewise.
21831         (acos_towardzero_test_data): Likewise.
21832         (acos_downward_test_data): Likewise.
21833         (acos_upward_test_data): Likewise.
21834         (acosh_test_data): Likewise.
21835         (asin_test_data): Likewise.
21836         (asin_tonearest_test_data): Likewise.
21837         (asin_towardzero_test_data): Likewise.
21838         (asin_downward_test_data): Likewise.
21839         (asin_upward_test_data): Likewise.
21840         (asinh_test_data): Likewise.
21841         (atan_test_data): Likewise.
21842         (atanh_test_data): Likewise.
21843         (atan2_test_data): Likewise.
21844         (cabs_test_data): Likewise.
21845         (cacos_test_data): Likewise.
21846         (cacosh_test_data): Likewise.
21847         (carg_test_data): Likewise.
21848         (casin_test_data): Likewise.
21849         (casinh_test_data): Likewise.
21850         (catan_test_data): Likewise.
21851         (catanh_test_data): Likewise.
21852         (cbrt_test_data): Likewise.
21853         (ccos_test_data): Likewise.
21854         (ccosh_test_data): Likewise.
21855         (ceil_test_data): Likewise.
21856         (cexp_test_data): Likewise.
21857         (cimag_test_data): Likewise.
21858         (clog_test_data): Likewise.
21859         (clog10_test_data): Likewise.
21860         (conj_test_data): Likewise.
21861         (copysign_test_data): Likewise.
21862         (cos_test_data): Likewise.
21863         (cos_tonearest_test_data): Likewise.
21864         (cos_towardzero_test_data): Likewise.
21865         (cos_downward_test_data): Likewise.
21866         (cos_upward_test_data): Likewise.
21867         (cosh_test_data): Likewise.
21868         (cosh_tonearest_test_data): Likewise.
21869         (cosh_towardzero_test_data): Likewise.
21870         (cosh_downward_test_data): Likewise.
21871         (cosh_upward_test_data): Likewise.
21872         (cpow_test_data): Likewise.
21873         (cproj_test_data): Likewise.
21874         (creal_test_data): Likewise.
21875         (csin_test_data): Likewise.
21876         (csinh_test_data): Likewise.
21877         (csqrt_test_data): Likewise.
21878         (ctan_test_data): Likewise.
21879         (ctan_tonearest_test_data): Likewise.
21880         (ctan_towardzero_test_data): Likewise.
21881         (ctan_downward_test_data): Likewise.
21882         (ctan_upward_test_data): Likewise.
21883         (ctanh_test_data): Likewise.
21884         (ctanh_tonearest_test_data): Likewise.
21885         (ctanh_towardzero_test_data): Likewise.
21886         (ctanh_downward_test_data): Likewise.
21887         (ctanh_upward_test_data): Likewise.
21888         (erf_test_data): Likewise.
21889         (erfc_test_data): Likewise.
21890         (exp_test_data): Likewise.
21891         (exp_tonearest_test_data): Likewise.
21892         (exp_towardzero_test_data): Likewise.
21893         (exp_downward_test_data): Likewise.
21894         (exp_upward_test_data): Likewise.
21895         (exp10_test_data): Likewise.
21896         (exp2_test_data): Likewise.
21897         (expm1_test_data): Likewise.
21898         (fabs_test_data): Likewise.
21899         (fdim_test_data): Likewise.
21900         (finite_test_data): Likewise.
21901         (floor_test_data): Likewise.
21902         (fma_test_data): Likewise.
21903         (fma_towardzero_test_data): Likewise.
21904         (fma_downward_test_data): Likewise.
21905         (fma_upward_test_data): Likewise.
21906         (fmax_test_data): Likewise.
21907         (fmin_test_data): Likewise.
21908         (fmod_test_data): Likewise.
21909         (fpclassify_test_data): Likewise.
21910         (frexp_test_data): Likewise.
21911         (gamma_test_data): Likewise.
21912         (hypot_test_data): Likewise.
21913         (ilogb_test_data): Likewise.
21914         (isfinite_test_data): Likewise.
21915         (isgreater_test_data): Likewise.
21916         (isgreaterequal_test_data): Likewise.
21917         (isinf_test_data): Likewise.
21918         (isless_test_data): Likewise.
21919         (islessequal_test_data): Likewise.
21920         (islessgreater_test_data): Likewise.
21921         (isnan_test_data): Likewise.
21922         (isnormal_test_data): Likewise.
21923         (issignaling_test_data): Likewise.
21924         (isunordered_test_data): Likewise.
21925         (j0_test_data): Likewise.
21926         (j1_test_data): Likewise.
21927         (jn_test_data): Likewise.
21928         (ldexp_test_data): Likewise.
21929         (lgamma_test_data): Likewise.
21930         (lrint_test_data): Likewise.
21931         (lrint_tonearest_test_data): Likewise.
21932         (lrint_towardzero_test_data): Likewise.
21933         (lrint_downward_test_data): Likewise.
21934         (lrint_upward_test_data): Likewise.
21935         (llrint_test_data): Likewise.
21936         (llrint_tonearest_test_data): Likewise.
21937         (llrint_towardzero_test_data): Likewise.
21938         (llrint_downward_test_data): Likewise.
21939         (llrint_upward_test_data): Likewise.
21940         (log_test_data): Likewise.
21941         (log10_test_data): Likewise.
21942         (log1p_test_data): Likewise.
21943         (log2_test_data): Likewise.
21944         (logb_test_data): Likewise.
21945         (logb_downward_test_data): Likewise.
21946         (lround_test_data): Likewise.
21947         (llround_test_data): Likewise.
21948         (modf_test_data): Likewise.
21949         (nearbyint_test_data): Likewise.
21950         (nextafter_test_data): Likewise.
21951         (nexttoward_test_data): Likewise.
21952         (pow_test_data): Likewise.
21953         (pow_tonearest_test_data): Likewise.
21954         (pow_towardzero_test_data): Likewise.
21955         (pow_downward_test_data): Likewise.
21956         (pow_upward_test_data): Likewise.
21957         (remainder_test_data): Likewise.
21958         (remainder_tonearest_test_data): Likewise.
21959         (remainder_towardzero_test_data): Likewise.
21960         (remainder_downward_test_data): Likewise.
21961         (remainder_upward_test_data): Likewise.
21962         (remquo_test_data): Likewise.
21963         (rint_test_data): Likewise.
21964         (rint_tonearest_test_data): Likewise.
21965         (rint_towardzero_test_data): Likewise.
21966         (rint_downward_test_data): Likewise.
21967         (rint_upward_test_data): Likewise.
21968         (round_test_data): Likewise.
21969         (scalb_test_data): Likewise.
21970         (scalbn_test_data): Likewise.
21971         (scalbln_test_data): Likewise.
21972         (signbit_test_data): Likewise.
21973         (sin_test_data): Likewise.
21974         (sin_tonearest_test_data): Likewise.
21975         (sin_towardzero_test_data): Likewise.
21976         (sin_downward_test_data): Likewise.
21977         (sin_upward_test_data): Likewise.
21978         (sincos_test_data): Likewise.
21979         (sinh_test_data): Likewise.
21980         (sinh_tonearest_test_data): Likewise.
21981         (sinh_towardzero_test_data): Likewise.
21982         (sinh_downward_test_data): Likewise.
21983         (sinh_upward_test_data): Likewise.
21984         (sqrt_test_data): Likewise.
21985         (tan_test_data): Likewise.
21986         (tan_tonearest_test_data): Likewise.
21987         (tan_towardzero_test_data): Likewise.
21988         (tan_downward_test_data): Likewise.
21989         (tan_upward_test_data): Likewise.
21990         (tanh_test_data): Likewise.
21991         (tgamma_test_data): Likewise.
21992         (trunc_test_data): Likewise.
21993         (y0_test_data): Likewise.
21994         (y1_test_data): Likewise.
21995         (yn_test_data): Likewise.
21996         (significand_test_data): Likewise.
21998         * math/gen-libm-test.pl (@functions): Remove variable.
21999         (generate_testfile): Don't handle START and END lines.
22000         * math/libm-test.inc (START): New macro.
22001         (END): Likewise.
22002         (END_COMPLEX): Likewise.
22003         (acos_test): Use END macro without arguments.
22004         (acos_test_tonearest): Likewise.
22005         (acos_test_towardzero): Likewise.
22006         (acos_test_downward): Likewise.
22007         (acos_test_upward): Likewise.
22008         (acosh_test): Likewise.
22009         (asin_test): Likewise.
22010         (asin_test_tonearest): Likewise.
22011         (asin_test_towardzero): Likewise.
22012         (asin_test_downward): Likewise.
22013         (asin_test_upward): Likewise.
22014         (asinh_test): Likewise.
22015         (atan_test): Likewise.
22016         (atanh_test): Likewise.
22017         (atan2_test): Likewise.
22018         (cabs_test): Likewise.
22019         (cacos_test): Use END_COMPLEX macro without arguments.
22020         (cacosh_test): Likewise.
22021         (carg_test): Use END macro without arguments.
22022         (casin_test): Use END_COMPLEX macro without arguments.
22023         (casinh_test): Likewise.
22024         (catan_test): Likewise.
22025         (catanh_test): Likewise.
22026         (cbrt_test): Use END macro without arguments.
22027         (ccos_test): Use END_COMPLEX macro without arguments.
22028         (ccosh_test): Likewise.
22029         (ceil_test): Use END macro without arguments.
22030         (cexp_test): Use END_COMPLEX macro without arguments.
22031         (cimag_test): Use END macro without arguments.
22032         (clog_test): Use END_COMPLEX macro without arguments.
22033         (clog10_test): Likewise.
22034         (conj_test): Likewise.
22035         (copysign_test): Use END macro without arguments.
22036         (cos_test): Likewise.
22037         (cos_test_tonearest): Likewise.
22038         (cos_test_towardzero): Likewise.
22039         (cos_test_downward): Likewise.
22040         (cos_test_upward): Likewise.
22041         (cosh_test): Likewise.
22042         (cosh_test_tonearest): Likewise.
22043         (cosh_test_towardzero): Likewise.
22044         (cosh_test_downward): Likewise.
22045         (cosh_test_upward): Likewise.
22046         (cpow_test): Use END_COMPLEX macro without arguments.
22047         (cproj_test): Likewise.
22048         (creal_test): Use END macro without arguments.
22049         (csin_test): Use END_COMPLEX macro without arguments.
22050         (csinh_test): Likewise.
22051         (csqrt_test): Likewise.
22052         (ctan_test): Likewise.
22053         (ctan_test_tonearest): Likewise.
22054         (ctan_test_towardzero): Likewise.
22055         (ctan_test_downward): Likewise.
22056         (ctan_test_upward): Likewise.
22057         (ctanh_test): Likewise.
22058         (ctanh_test_tonearest): Likewise.
22059         (ctanh_test_towardzero): Likewise.
22060         (ctanh_test_downward): Likewise.
22061         (ctanh_test_upward): Likewise.
22062         (erf_test): Use END macro without arguments.
22063         (erfc_test): Likewise.
22064         (exp_test): Likewise.
22065         (exp_test_tonearest): Likewise.
22066         (exp_test_towardzero): Likewise.
22067         (exp_test_downward): Likewise.
22068         (exp_test_upward): Likewise.
22069         (exp10_test): Likewise.
22070         (exp2_test): Likewise.
22071         (expm1_test): Likewise.
22072         (fabs_test): Likewise.
22073         (fdim_test): Likewise.
22074         (finite_test): Likewise.
22075         (floor_test): Likewise.
22076         (fma_test): Likewise.
22077         (fma_test_towardzero): Likewise.
22078         (fma_test_downward): Likewise.
22079         (fma_test_upward): Likewise.
22080         (fmax_test): Likewise.
22081         (fmin_test): Likewise.
22082         (fmod_test): Likewise.
22083         (fpclassify_test): Likewise.
22084         (frexp_test): Likewise.
22085         (gamma_test): Likewise.
22086         (hypot_test): Likewise.
22087         (ilogb_test): Likewise.
22088         (isfinite_test): Likewise.
22089         (isgreater_test): Likewise.
22090         (isgreaterequal_test): Likewise.
22091         (isinf_test): Likewise.
22092         (isless_test): Likewise.
22093         (islessequal_test): Likewise.
22094         (islessgreater_test): Likewise.
22095         (isnan_test): Likewise.
22096         (isnormal_test): Likewise.
22097         (issignaling_test): Likewise.
22098         (isunordered_test): Likewise.
22099         (j0_test): Likewise.
22100         (j1_test): Likewise.
22101         (jn_test): Likewise.
22102         (ldexp_test): Likewise.
22103         (lgamma_test): Likewise.
22104         (lrint_test): Likewise.
22105         (lrint_test_tonearest): Likewise.
22106         (lrint_test_towardzero): Likewise.
22107         (lrint_test_downward): Likewise.
22108         (lrint_test_upward): Likewise.
22109         (llrint_test): Likewise.
22110         (llrint_test_tonearest): Likewise.
22111         (llrint_test_towardzero): Likewise.
22112         (llrint_test_downward): Likewise.
22113         (llrint_test_upward): Likewise.
22114         (log_test): Likewise.
22115         (log10_test): Likewise.
22116         (log1p_test): Likewise.
22117         (log2_test): Likewise.
22118         (logb_test): Likewise.
22119         (logb_test_downward): Likewise.
22120         (lround_test): Likewise.
22121         (llround_test): Likewise.
22122         (modf_test): Likewise.
22123         (nearbyint_test): Likewise.
22124         (nextafter_test): Likewise.
22125         (nexttoward_test): Likewise.
22126         (pow_test): Likewise.
22127         (pow_test_tonearest): Likewise.
22128         (pow_test_towardzero): Likewise.
22129         (pow_test_downward): Likewise.
22130         (pow_test_upward): Likewise.
22131         (remainder_test): Likewise.
22132         (remainder_test_tonearest): Likewise.
22133         (remainder_test_towardzero): Likewise.
22134         (remainder_test_downward): Likewise.
22135         (remainder_test_upward): Likewise.
22136         (remquo_test): Likewise.
22137         (rint_test): Likewise.
22138         (rint_test_tonearest): Likewise.
22139         (rint_test_towardzero): Likewise.
22140         (rint_test_downward): Likewise.
22141         (rint_test_upward): Likewise.
22142         (round_test): Likewise.
22143         (scalb_test): Likewise.
22144         (scalbn_test): Likewise.
22145         (scalbln_test): Likewise.
22146         (signbit_test): Likewise.
22147         (sin_test): Likewise.
22148         (sin_test_tonearest): Likewise.
22149         (sin_test_towardzero): Likewise.
22150         (sin_test_downward): Likewise.
22151         (sin_test_upward): Likewise.
22152         (sincos_test): Likewise.
22153         (sinh_test): Likewise.
22154         (sinh_test_tonearest): Likewise.
22155         (sinh_test_towardzero): Likewise.
22156         (sinh_test_downward): Likewise.
22157         (sinh_test_upward): Likewise.
22158         (sqrt_test): Likewise.
22159         (tan_test): Likewise.
22160         (tan_test_tonearest): Likewise.
22161         (tan_test_towardzero): Likewise.
22162         (tan_test_downward): Likewise.
22163         (tan_test_upward): Likewise.
22164         (tanh_test): Likewise.
22165         (tgamma_test): Likewise.
22166         (trunc_test): Likewise.
22167         (y0_test): Likewise.
22168         (y1_test): Likewise.
22169         (yn_test): Likewise.
22170         (significand_test): Likewise.
22172 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
22174         [BZ #15381]
22175         * libio/genops.c (_IO_no_init): Initialize wide struct info.
22177 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22179         [BZ #14894]
22180         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22181         __ppc_mdoio and __ppc_mdoom.
22182         * manual/platform.texi: Document new functions __ppc_yield,
22183         __ppc_mdoio and __ppc_mdoom.
22185 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
22187         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22188         (main): Mention "tls" pseudo-hwcap is legacy.
22189         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22191 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22193         * math/gen-libm-test.pl (parse_args): Output only string of
22194         arguments as text for test name, not full call or descriptions of
22195         tests for extra outputs.
22196         (generate_testfile): Do not pass function name to parse_args.
22197         Generate this_func variable from START.
22198         * math/libm-test.inc (struct test_f_f_data): Rename test_name
22199         field to arg_str.
22200         (struct test_ff_f_data): Likewise.
22201         (test_ff_f_data_nexttoward): Likewise.
22202         (struct test_fi_f_data): Likewise.
22203         (struct test_fl_f_data): Likewise.
22204         (struct test_if_f_data): Likewise.
22205         (struct test_fff_f_data): Likewise.
22206         (struct test_c_f_data): Likewise.
22207         (struct test_f_f1_data): Likewise.  Remove field extra_name.
22208         (struct test_fF_f1_data): Likewise.
22209         (struct test_ffI_f1_data): Likewise.
22210         (struct test_c_c_data): Rename test_name field to arg_str.
22211         (struct test_cc_c_data): Likewise.
22212         (struct test_f_i_data): Likewise.
22213         (struct test_ff_i_data): Likewise.
22214         (struct test_f_l_data): Likewise.
22215         (struct test_f_L_data): Likewise.
22216         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
22217         and extra2_name.
22218         (COMMON_TEST_SETUP): New macro.
22219         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22220         (COMMON_TEST_CLEANUP): Likewise.
22221         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22222         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
22223         macros.
22224         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22225         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
22226         macros.
22227         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22228         (RUN_TEST_fff_f): Take argument string.  Call new setup and
22229         cleanup macros.
22230         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22231         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
22232         macros.
22233         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22234         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
22235         macros.
22236         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22237         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
22238         cleanup macros.
22239         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22240         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
22241         cleanup macros.
22242         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22243         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
22244         cleanup macros.
22245         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22246         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
22247         macros.
22248         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22249         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
22250         macros.
22251         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22252         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
22253         macros.
22254         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22255         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
22256         cleanup macros.
22257         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22258         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
22259         cleanup macros.
22260         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22261         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
22262         macros.
22263         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22264         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
22265         cleanup macros.
22266         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22267         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
22268         macros.
22269         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22270         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
22271         macros.
22272         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22273         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
22274         cleanup macros.
22275         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22277 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
22279         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22280         to _sifields.sigfault.
22281         (si_addr_lsb): Define new macro.
22282         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22284         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22286 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22288         [BZ #15441]
22289         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22290         returns -1.
22291         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22292         null return -1.
22293         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22294         loading the domain.
22296 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22298         * math/gen-libm-test.pl (parse_args): Do not include expected
22299         result in test name.
22300         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22302         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22303         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22304         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22307 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22309         * benchtests/Makefile: Sort function entries.
22311         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22312         tanh, asinh, acosh, atanh.
22313         * benchtests/acos-inputs: New file.
22314         * benchtests/acosh-inputs: New file.
22315         * benchtests/asin-inputs: New file.
22316         * benchtests/asinh-inputs: New file.
22317         * benchtests/atanh-inputs: New file.
22318         * benchtests/cosh-inputs: New file.
22319         * benchtests/log-inputs: New file.
22320         * benchtests/sinh-inputs: New file.
22321         * benchtests/tanh-inputs: New file.
22323 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22325         [BZ #15339]
22326         * posix/tst-getaddrinfo4.c: New test.
22327         * posix/Makefile (tests): Add it.
22329 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22331         [BZ #15339]
22332         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22333         when no services were used.
22334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22335         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22337 2013-05-21  Andreas Schwab  <schwab@suse.de>
22339         [BZ #15014]
22340         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22341         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22342         successful.
22343         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22344         redundant variable declarations and reallocation of buffer when
22345         parsing as IPv6 address.  Always set NSS status when called from
22346         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22347         buffer too small.  Correct computation of needed size.
22348         * nss/Makefile (tests): Add test-digits-dots.
22349         * nss/test-digits-dots.c: New test.
22351 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22353         * benchtests/Makefile: Remove instructions for adding
22354         benchmark tests.
22355         * benchtests/README: New file to explain how to execute and
22356         enhance the benchmark tests.
22358 2013-05-21  Andreas Schwab  <schwab@suse.de>
22360         [BZ #15493]
22361         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22362         * setjmp/tst-sigsetjmp.c: New test.
22364 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22366         * sysdeps/x86_64/memset.S (memset): New implementation.
22367         (__bzero): Likewise.
22368         (__memset_tail): New function.
22370 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22372         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22373         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22374         __memcpy_sse2_unaligned ifunc selection.
22375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22376         Add memcpy-sse2-unaligned.S.
22377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22378         Add: __memcpy_sse2_unaligned.
22380 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22382         [BZ #15490]
22383         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22384         math_force_eval before restoring floating-point envrionment.
22385         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22386         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22387         Likewise.
22388         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22389         <math_private.h>.
22390         (__nearbyintl): Use math_force_eval before restoring
22391         floating-point environment.
22392         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22394         * math/gen-libm-test.pl (special_functions): Remove.
22395         (parse_args): Don't handle TEST_extra.  Handle functions with no
22396         return value.
22397         * math/libm-test.inc (struct test_sincos_data): Replace with
22398         struct test_fFF_11_data.
22399         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22400         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22401         (sincos_test_data): Change element type to struct
22402         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22403         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22404         RUN_TEST_LOOP_sincos.
22405         * math/README.libm-test: Don't mention special handling of
22406         individual functions.
22407         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22409         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22410         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22411         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22414         * math/gen-libm-test.pl (get_variable): Remove function.
22415         (parse_args): Don't show pointer parameters to call in test
22416         names.  Use "extra output N" in test names for extra outputs
22417         rather than naming variables.
22419 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22421         [BZ #15488]
22422         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22423         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22424         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22425         double tests.
22426         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22427         disable.
22428         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22429         check_long_double.
22431         * math/gen-libm-test.pl (@tests): Remove variable.
22432         ($count): Likewise.
22433         (new_test): Remove function.
22434         (show_exceptions): New function.
22435         (special_functions): Use show_exceptions instead of new_test.
22436         (parse_args): Likewise.
22437         (generate_testfile): Pass only function name in generated call to
22438         print_max_error or print_complex_max_error.
22439         (get_ulps): Do not handle complex tests specially.
22440         (output_test): Rename to ...
22441         (get_all_ulps_for_test): ... this.  Return a string rather than
22442         printing to a file.  Require ulps to be present.
22443         (output_ulps): Generate arrays rather than #defines.
22444         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22445         (struct ulp_data): New type.
22446         (BUILD_COMPLEX_ULP): Remove macro.
22447         (compare_ulp_data): New function.
22448         (find_ulps): Likewise.
22449         (find_test_ulps): Likewise.
22450         (find_function_ulps): Likewise.
22451         (find_complex_function_ulps): Likewise.
22452         (print_max_error): Determine allowed ulps using
22453         find_function_ulps.
22454         (print_complex_max_error): Determine allowed ulps using
22455         find_complex_function_ulps.
22456         (check_float_internal): Determine max ulps using find_test_ulps.
22457         (check_float): Do not take max_ulp parameter.  Update call to
22458         check_float_internal.
22459         (check_complex): Likewise.
22460         (check_int): Do not take max_ulp parameter.
22461         (check_long): Likewise.
22462         (check_bool): Likewise.
22463         (check_longlong): Likewise.
22464         (struct test_f_f_data): Remove max_ulp field.
22465         (struct test_ff_f_data): Likewise.
22466         (struct test_ff_f_data_nexttoward): Likewise.
22467         (struct test_fi_f_data): Likewise.
22468         (struct test_fl_f_data): Likewise.
22469         (struct test_if_f_data): Likewise.
22470         (struct test_fff_f_data): Likewise.
22471         (struct test_c_f_data): Likewise.
22472         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22473         (struct test_fF_f1_data): Likewise.
22474         (struct test_ffI_f1_data): Likewise.
22475         (struct test_c_c_data): Remove max_ulp field.
22476         (struct test_cc_c_data): Likewise.
22477         (struct test_f_i_data): Likewise.
22478         (struct test_ff_i_data): Likewise.
22479         (struct test_f_l_data): Likewise.
22480         (struct test_f_L_data): Likewise.
22481         (struct test_sincos_data): Likewise.
22482         (RUN_TEST_f_f): Do not handle ulps.
22483         (RUN_TEST_LOOP_f_f): Likewise.
22484         (RUN_TEST_2_f): Likewise.
22485         (RUN_TEST_LOOP_2_f): Likewise.
22486         (RUN_TEST_fff_f): Likewise.
22487         (RUN_TEST_LOOP_fff_f): Likewise.
22488         (RUN_TEST_c_f): Likewise.
22489         (RUN_TEST_LOOP_c_f): Likewise.
22490         (RUN_TEST_f_f1): Likewise.
22491         (RUN_TEST_LOOP_f_f1): Likewise.
22492         (RUN_TEST_fF_f1): Likewise.
22493         (RUN_TEST_LOOP_fF_f1): Likewise.
22494         (RUN_TEST_fI_f1): Likewise.
22495         (RUN_TEST_LOOP_fI_f1): Likewise.
22496         (RUN_TEST_ffI_f1): Likewise.
22497         (RUN_TEST_LOOP_ffI_f1): Likewise.
22498         (RUN_TEST_c_c): Likewise.
22499         (RUN_TEST_LOOP_c_c): Likewise.
22500         (RUN_TEST_cc_c): Likewise.
22501         (RUN_TEST_LOOP_cc_c): Likewise.
22502         (RUN_TEST_f_i): Likewise.
22503         (RUN_TEST_LOOP_f_i): Likewise.
22504         (RUN_TEST_f_i_tg): Likewise.
22505         (RUN_TEST_LOOP_f_i_tg): Likewise.
22506         (RUN_TEST_ff_i_tg): Likewise.
22507         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22508         (RUN_TEST_f_b): Likewise.
22509         (RUN_TEST_LOOP_f_b): Likewise.
22510         (RUN_TEST_f_b_tg): Likewise.
22511         (RUN_TEST_LOOP_f_b_tg): Likewise.
22512         (RUN_TEST_f_l): Likewise.
22513         (RUN_TEST_LOOP_f_l): Likewise.
22514         (RUN_TEST_f_L): Likewise.
22515         (RUN_TEST_LOOP_f_L): Likewise.
22516         (RUN_TEST_sincos): Likewise.
22517         (RUN_TEST_LOOP_sincos): Likewise.
22519 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22521         [BZ #15480]
22522         [BZ #15485]
22523         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22524         main case of finite arguments, set rounding mode to FE_TONEAREST
22525         and discard exceptions.
22526         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22527         exceptions.
22528         (remainder_tonearest_test_data): New variable.
22529         (remainder_test_tonearest): New function.
22530         (remainder_towardzero_test_data): New variable.
22531         (remainder_test_towardzero): New function.
22532         (remainder_downward_test_data): New variable.
22533         (remainder_test_downward): New function.
22534         (remainder_upward_test_data): New variable.
22535         (remainder_test_upward): New function.
22536         (main): Call the new test functions.
22538         * math/libm-test.inc (struct test_f_f1_data): Remove field
22539         extra_init.
22540         (struct test_fF_f1_data): Likewise.
22541         (struct test_ffI_f1_data): Likewise.
22542         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22543         based on value of EXTRA_EXPECTED.
22544         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22545         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22546         EXTRA_VAR based on value of EXTRA_EXPECTED.
22547         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22548         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22549         EXTRA_VAR based on value of EXTRA_EXPECTED.
22550         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22551         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22552         EXTRA_VAR based on value of EXTRA_EXPECTED.
22553         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22554         * math/gen-libm-test.pl (parse_args): Don't output initializers
22555         for extra output values.
22557         * math/libm-test.inc (check_int): Expect result to be exactly
22558         equal to expected value and do not handle ulps.
22559         (check_long): Likewise.
22560         (check_longlong): Likewise.
22562         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22563         exceptions.
22564         (cimag_test_data): Likewise.
22565         (conj_test_data): Likewise.
22566         (copysign_test_data): Likewise.
22567         (cproj_test_data): Likewise.
22568         (creal_test_data): Likewise.
22569         (fabs_test_data): Likewise.
22570         (fdim_test_data): Likewise.
22571         (finite_test_data): Likewise.
22572         (floor_test_data): Likewise.
22573         (fmax_test_data): Likewise.
22574         (fmin_test_data): Likewise.
22575         (fmod_test_data): Likewise.
22576         (fpclassify_test_data): Likewise.
22577         (frexp_test_data): Likewise.
22578         (ilogb_test_data): Likewise.
22579         (isfinite_test_data): Likewise.
22580         (isgreater_test_data): Likewise.
22581         (isgreaterequal_test_data): Likewise.
22582         (isinf_test_data): Likewise.
22583         (isless_test_data): Likewise.
22584         (islessequal_test_data): Likewise.
22585         (islessgreater_test_data): Likewise.
22586         (isnan_test_data): Likewise.
22587         (isnormal_test_data): Likewise.
22588         (issignaling_test_data): Likewise.
22589         (isunordered_test_data): Likewise.
22590         (ldexp_test_data): Likewise.
22591         (lrint_test_data): Likewise.
22592         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22593         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22594         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22595         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22596         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22597         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22598         test input.
22599         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22600         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22601         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22602         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22603         that test input.
22604         (lrint_downward_test_data): Test for "inexact" exceptions.
22605         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22606         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22607         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22608         test input.
22609         (lrint_upward_test_data): Test for "inexact" exceptions.
22610         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22611         test input.
22612         (llrint_test_data): Test for "inexact" exceptions.
22613         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22614         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22615         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22616         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22617         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22618         (llrint_downward_test_data): Test for "inexact" exceptions.
22619         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22620         (llrint_upward_test_data): Test for "inexact" exceptions.
22621         (logb_test_data): Likewise.
22622         (logb_downward_test_data): Likewise.
22623         (nextafter_test_data): Likewise.
22624         (nexttoward_test_data): Likewise.
22625         (remainder_test_data): Likewise.
22626         (remquo_test_data): Likewise.
22627         (scalbn_test_data): Likewise.
22628         (scalbln_test_data): Likewise.
22629         (signbit_test_data): Likewise.
22630         (sqrt_test_data): Likewise.
22631         (significand_test_data): Likewise.
22633 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22635         [BZ #15424]
22636         * benchtests/bench-modf.c (struct args): Mark arg0 as
22637         volatile.
22638         * scripts/bench.pl: Mark members of struct args as volatile.
22640 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22642         [BZ # 15497]
22643         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22644         negative infinity on POWER6 or lower.
22645         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22647 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22649         [BZ #15442]
22650         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22651         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22652         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22653         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22654         (_FP_SETQNAN): New macro.
22655         (_FP_SETQNAN_SEMIRAW): Likewise.
22656         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22657         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22658         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22659         (FP_EXTEND): Use _FP_FRAC_SNANP.
22660         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22661         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22662         into account.
22663         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22664         New macro.
22665         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22666         Likewise.
22668 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22670         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22671         with DIVIDE_BY_ZERO_EXCEPTION.
22672         (gamma_test_data): Likewise.
22673         (lgamma_test_data): Likewise.
22674         (log_test_data): Likewise.
22675         (log10_test_data): Likewise.
22676         (log2_test_data): Likewise.
22677         (tgamma_test_data): Likewise.
22679         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22680         (acos_test_tonearest): Likewise.
22681         (acos_test_towardzero): Likewise.
22682         (acos_test_downward): Likewise.
22683         (acos_test_upward): Likewise.
22684         (acosh_test): Likewise.
22685         (asin_test): Likewise.
22686         (asin_test_tonearest): Likewise.
22687         (asin_test_towardzero): Likewise.
22688         (asin_test_downward): Likewise.
22689         (asin_test_upward): Likewise.
22690         (asinh_test): Likewise.
22691         (atan_test): Likewise.
22692         (atanh_test): Likewise.
22693         (atan2_test): Likewise.
22694         (cabs_test): Likewise.
22695         (cacos_test): Likewise.
22696         (cacosh_test): Likewise.
22697         (casin_test): Likewise.
22698         (casinh_test): Likewise.
22699         (catan_test): Likewise.
22700         (catanh_test): Likewise.
22701         (cbrt_test): Likewise.
22702         (ccos_test): Likewise.
22703         (ccosh_test): Likewise.
22704         (cexp_test): Likewise.
22705         (clog_test): Likewise.
22706         (clog10_test): Likewise.
22707         (cos_test): Likewise.
22708         (cos_test_tonearest): Likewise.
22709         (cos_test_towardzero): Likewise.
22710         (cos_test_downward): Likewise.
22711         (cos_test_upward): Likewise.
22712         (cosh_test): Likewise.
22713         (cosh_test_tonearest): Likewise.
22714         (cosh_test_towardzero): Likewise.
22715         (cosh_test_downward): Likewise.
22716         (cosh_test_upward): Likewise.
22717         (cpow_test): Likewise.
22718         (csin_test): Likewise.
22719         (csinh_test): Likewise.
22720         (csqrt_test): Likewise.
22721         (ctan_test): Likewise.
22722         (ctan_test_tonearest): Likewise.
22723         (ctan_test_towardzero): Likewise.
22724         (ctan_test_downward): Likewise.
22725         (ctan_test_upward): Likewise.
22726         (ctanh_test): Likewise.
22727         (ctanh_test_tonearest): Likewise.
22728         (ctanh_test_towardzero): Likewise.
22729         (ctanh_test_downward): Likewise.
22730         (ctanh_test_upward): Likewise.
22731         (erf_test): Likewise.
22732         (erfc_test): Likewise.
22733         (exp_test): Likewise.
22734         (exp_test_tonearest): Likewise.
22735         (exp_test_towardzero): Likewise.
22736         (exp_test_downward): Likewise.
22737         (exp_test_upward): Likewise.
22738         (exp10_test): Likewise.
22739         (exp2_test): Likewise.
22740         (expm1_test): Likewise.
22741         (fmod_test): Likewise.
22742         (gamma_test): Likewise.
22743         (hypot_test): Likewise.
22744         (j0_test): Likewise.
22745         (j1_test): Likewise.
22746         (jn_test): Likewise.
22747         (lgamma_test): Likewise.
22748         (log_test): Likewise.
22749         (log10_test): Likewise.
22750         (log1p_test): Likewise.
22751         (log2_test): Likewise.
22752         (logb_test_downward): Likewise.
22753         (pow_test): Likewise.
22754         (pow_test_tonearest): Likewise.
22755         (pow_test_towardzero): Likewise.
22756         (pow_test_downward): Likewise.
22757         (pow_test_upward): Likewise.
22758         (remainder_test): Likewise.
22759         (remquo_test): Likewise.
22760         (sin_test): Likewise.
22761         (sin_test_tonearest): Likewise.
22762         (sin_test_towardzero): Likewise.
22763         (sin_test_downward): Likewise.
22764         (sin_test_upward): Likewise.
22765         (sincos_test): Likewise.
22766         (sinh_test): Likewise.
22767         (sinh_test_tonearest): Likewise.
22768         (sinh_test_towardzero): Likewise.
22769         (sinh_test_downward): Likewise.
22770         (sinh_test_upward): Likewise.
22771         (sqrt_test): Likewise.
22772         (tan_test): Likewise.
22773         (tan_test_tonearest): Likewise.
22774         (tan_test_towardzero): Likewise.
22775         (tan_test_downward): Likewise.
22776         (tan_test_upward): Likewise.
22777         (tanh_test): Likewise.
22778         (tgamma_test): Likewise.
22779         (y0_test): Likewise.
22780         (y1_test): Likewise.
22781         (yn_test): Likewise.
22783         * math/gen-libm-test.pl (adjust_arg): Remove function.
22784         (special_function): Remove argument $in_func.  Only handle
22785         generating output for tables of tests, not inside functions.
22786         (parse_args): Likewise.
22787         (generate_testfile): Remove variable $in_func.  Update call to
22788         parse_args.
22789         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22790         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22791         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22792         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22793         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22794         (MAX_VALUE_INIT): Rename macro to max_value.
22795         (MIN_VALUE_INIT): Rename macro to min_value.
22796         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22797         (plus_zero): Remove variable.
22798         (minus_zero): Likewise.
22799         (plus_infty): Likewise.
22800         (minus_infty): Likewise.
22801         (qnan_value): Likewise.
22802         (max_value): Likewise.
22803         (min_value): Likewise.
22804         (min_subnorm_value): Likewise.
22806 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22808         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22809         uint64_t or uint32_t usage.
22810         * crypt/sha256-block.c: Likewise.
22811         * crypt/sha256-crypt.c: Likewise.
22812         * crypt/sha256.c: Likewise.
22813         * crypt/sha512-block.c: Likewise.
22814         * crypt/sha512-crypt.c: Likewise.
22815         * crypt/sha512.c: Likewise.
22816         * debug/backtrace-tst.c: Likewise.
22817         * debug/pcprofiledump.c: Likewise.
22818         * elf/cache.c: Likewise.
22819         * elf/dl-cache.c: Likewise.
22820         * elf/dl-misc.c: Likewise.
22821         * elf/dl-profile.c: Likewise.
22822         * elf/dl-support.c: Likewise.
22823         * elf/ldconfig.c: Likewise.
22824         * elf/sprof.c: Likewise.
22825         * iconv/dummy-repertoire.c: Likewise.
22826         * iconv/iconv_charmap.c: Likewise.
22827         * iconv/skeleton.c: Likewise.
22828         * iconvdata/8bit-generic.c: Likewise.
22829         * iconvdata/cp737.h: Likewise.
22830         * iconvdata/cp775.h: Likewise.
22831         * iconvdata/ibm1008.h: Likewise.
22832         * iconvdata/ibm1025.h: Likewise.
22833         * iconvdata/ibm1046.h: Likewise.
22834         * iconvdata/ibm1097.h: Likewise.
22835         * iconvdata/ibm1112.h: Likewise.
22836         * iconvdata/ibm1122.h: Likewise.
22837         * iconvdata/ibm1123.h: Likewise.
22838         * iconvdata/ibm1124.h: Likewise.
22839         * iconvdata/ibm1129.h: Likewise.
22840         * iconvdata/ibm1130.h: Likewise.
22841         * iconvdata/ibm1132.h: Likewise.
22842         * iconvdata/ibm1133.h: Likewise.
22843         * iconvdata/ibm1137.h: Likewise.
22844         * iconvdata/ibm1140.h: Likewise.
22845         * iconvdata/ibm1141.h: Likewise.
22846         * iconvdata/ibm1142.h: Likewise.
22847         * iconvdata/ibm1143.h: Likewise.
22848         * iconvdata/ibm1144.h: Likewise.
22849         * iconvdata/ibm1145.h: Likewise.
22850         * iconvdata/ibm1146.h: Likewise.
22851         * iconvdata/ibm1147.h: Likewise.
22852         * iconvdata/ibm1148.h: Likewise.
22853         * iconvdata/ibm1149.h: Likewise.
22854         * iconvdata/ibm1153.h: Likewise.
22855         * iconvdata/ibm1154.h: Likewise.
22856         * iconvdata/ibm1155.h: Likewise.
22857         * iconvdata/ibm1156.h: Likewise.
22858         * iconvdata/ibm1157.h: Likewise.
22859         * iconvdata/ibm1158.h: Likewise.
22860         * iconvdata/ibm1160.h: Likewise.
22861         * iconvdata/ibm1161.h: Likewise.
22862         * iconvdata/ibm1162.h: Likewise.
22863         * iconvdata/ibm1163.h: Likewise.
22864         * iconvdata/ibm1164.h: Likewise.
22865         * iconvdata/ibm1166.h: Likewise.
22866         * iconvdata/ibm1167.h: Likewise.
22867         * iconvdata/ibm12712.h: Likewise.
22868         * iconvdata/ibm1390.h: Likewise.
22869         * iconvdata/ibm1399.h: Likewise.
22870         * iconvdata/ibm16804.h: Likewise.
22871         * iconvdata/ibm4517.h: Likewise.
22872         * iconvdata/ibm4899.h: Likewise.
22873         * iconvdata/ibm4909.h: Likewise.
22874         * iconvdata/ibm4971.h: Likewise.
22875         * iconvdata/ibm5347.h: Likewise.
22876         * iconvdata/ibm803.h: Likewise.
22877         * iconvdata/ibm856.h: Likewise.
22878         * iconvdata/ibm901.h: Likewise.
22879         * iconvdata/ibm902.h: Likewise.
22880         * iconvdata/ibm9030.h: Likewise.
22881         * iconvdata/ibm9066.h: Likewise.
22882         * iconvdata/ibm921.h: Likewise.
22883         * iconvdata/ibm922.h: Likewise.
22884         * iconvdata/ibm9448.h: Likewise.
22885         * iconvdata/isiri-3342.h: Likewise.
22886         * iconvdata/jis0201.h: Likewise.
22887         * include/link.h: Likewise.
22888         * include/netdb.h: Likewise.
22889         * inet/check_native.c: Likewise.
22890         * inet/check_pf.c: Likewise.
22891         * inet/getipv4sourcefilter.c: Likewise.
22892         * inet/getnameinfo.c: Likewise.
22893         * inet/getsourcefilter.c: Likewise.
22894         * inet/htonl.c: Likewise.
22895         * inet/setipv4sourcefilter.c: Likewise.
22896         * inet/setsourcefilter.c: Likewise.
22897         * inet/test-inet6_opt.c: Likewise.
22898         * inet/tst-network.c: Likewise.
22899         * locale/C-collate.c: Likewise.
22900         * locale/C-ctype.c: Likewise.
22901         * locale/C-time.c: Likewise.
22902         * locale/C-translit.h: Likewise.
22903         * locale/loadarchive.c: Likewise.
22904         * locale/programs/3level.h: Likewise.
22905         * locale/programs/charmap.c: Likewise.
22906         * locale/programs/charmap.h: Likewise.
22907         * locale/programs/ld-address.c: Likewise.
22908         * locale/programs/ld-collate.c: Likewise.
22909         * locale/programs/ld-ctype.c: Likewise.
22910         * locale/programs/ld-identification.c: Likewise.
22911         * locale/programs/ld-measurement.c: Likewise.
22912         * locale/programs/ld-messages.c: Likewise.
22913         * locale/programs/ld-monetary.c: Likewise.
22914         * locale/programs/ld-name.c: Likewise.
22915         * locale/programs/ld-numeric.c: Likewise.
22916         * locale/programs/ld-paper.c: Likewise.
22917         * locale/programs/ld-telephone.c: Likewise.
22918         * locale/programs/ld-time.c: Likewise.
22919         * locale/programs/linereader.c: Likewise.
22920         * locale/programs/locale.c: Likewise.
22921         * locale/programs/locarchive.c: Likewise.
22922         * locale/programs/locfile.h: Likewise.
22923         * locale/programs/repertoire.c: Likewise.
22924         * locale/programs/simple-hash.c: Likewise.
22925         * locale/programs/simple-hash.h: Likewise.
22926         * malloc/memusage.c: Likewise.
22927         * malloc/memusagestat.c: Likewise.
22928         * nis/nis_defaults.c: Likewise.
22929         * nis/nis_hash.c: Likewise.
22930         * nis/nis_print.c: Likewise.
22931         * nis/nis_xdr.c: Likewise.
22932         * nscd/connections.c: Likewise.
22933         * nscd/hstcache.c: Likewise.
22934         * nscd/nscd_gethst_r.c: Likewise.
22935         * nscd/nscd_getserv_r.c: Likewise.
22936         * nscd/nscd_helper.c: Likewise.
22937         * nscd/servicescache.c: Likewise.
22938         * nss/makedb.c: Likewise.
22939         * nss/nss_db/db-XXX.c: Likewise.
22940         * nss/nss_db/db-initgroups.c: Likewise.
22941         * nss/nss_db/db-netgrp.c: Likewise.
22942         * nss/nss_files/files-network.c: Likewise.
22943         * nss/nss_files/files-parse.c: Likewise.
22944         * posix/bug-regex5.c: Likewise.
22945         * posix/fnmatch_loop.c: Likewise.
22946         * posix/regcomp.c: Likewise.
22947         * posix/regexec.c: Likewise.
22948         * posix/tst-rfc3484-2.c: Likewise.
22949         * posix/tst-rfc3484-3.c: Likewise.
22950         * posix/tst-rfc3484.c: Likewise.
22951         * resolv/nss_dns/dns-canon.c: Likewise.
22952         * resolv/nss_dns/dns-network.c: Likewise.
22953         * resolv/res_init.c: Likewise.
22954         * resolv/res_mkquery.c: Likewise.
22955         * resolv/tst-aton.c: Likewise.
22956         * stdlib/cxa_atexit.c: Likewise.
22957         * stdlib/cxa_finalize.c: Likewise.
22958         * stdlib/gen-fpioconst.c: Likewise.
22959         * stdlib/strtol_l.c: Likewise.
22960         * string/tst-endian.c: Likewise.
22961         * sunrpc/auth_des.c: Likewise.
22962         * sunrpc/clnt_udp.c: Likewise.
22963         * sunrpc/rtime.c: Likewise.
22964         * sunrpc/svcauth_des.c: Likewise.
22965         * sunrpc/xdr.c: Likewise.
22966         * sunrpc/xdr_intXX_t.c: Likewise.
22967         * sunrpc/xdr_rec.c: Likewise.
22968         * sysdeps/generic/ldconfig.h: Likewise.
22969         * sysdeps/generic/ldsodefs.h: Likewise.
22970         * sysdeps/generic/memusage.h: Likewise.
22971         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22972         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22973         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22974         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22975         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22976         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22977         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22978         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22979         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22981         * sysdeps/posix/getaddrinfo.c: Likewise.
22982         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22983         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22984         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22985         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22986         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22987         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22988         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22989         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22990         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22991         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22992         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22993         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22994         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22995         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22996         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22997         * sysdeps/x86_64/dl-tls.h: Likewise.
22998         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22999         * time/alt_digit.c: Likewise.
23000         * time/era.c: Likewise.
23001         * wcsmbs/tst-c16c32-1.c: Likewise.
23003 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23005         * math/libm-test.inc (struct test_sincos_data): New type.
23006         (RUN_TEST_LOOP_sincos): New macro.
23007         (sincos_test_data): New variable.
23008         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23010 2013-05-16  Richard Henderson  <rth@redhat.com>
23012         * math/atest-exp2.c (LIMB64): New macro.
23013         (CONSTSZ): New macro.
23014         (mp_exp1, mp_exp_m1, mp_log2): New variables.
23015         (hexdig): Move ...
23016         (print_mpn_fp): ... to function scope.
23017         (read_mpn_hex): Remove.
23018         (get_log2): Remove.
23019         (exp2_mpn): Use mp_log2.
23020         (main): Use mp_exp1.
23022 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23024         * math/libm-test.inc: Remove comment about not testing "inexact"
23025         exceptions.
23026         (INEXACT_EXCEPTION): New macro.
23027         (NO_INEXACT_EXCEPTION): Likewise.
23028         (INVALID_EXCEPTION_OK): Update value.
23029         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23030         (OVERFLOW_EXCEPTION_OK): Likewise.
23031         (UNDERFLOW_EXCEPTION_OK): Likewise.
23032         (IGNORE_ZERO_INF_SIGN): Likewise.
23033         (ERRNO_UNCHANGED): Likewise.
23034         (ERRNO_EDOM): Likewise.
23035         (ERRNO_ERANGE): Likewise.
23036         (test_exceptions): Handle testing "inexact" exceptions.
23037         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23038         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23039         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23040         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23041         INEXACT_EXCEPTION.
23042         (rint_towardzero_test_data): Likewise.
23043         (rint_downward_test_data): Likewise.
23044         (rint_upward_test_data): Likewise.
23046         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23047         with OVERFLOW_EXCEPTION.
23048         (exp10_test_data): Likewise.
23049         (exp2_test_data): Likewise.
23050         (expm1_test_data): Likewise.
23051         (lgamma_test_data): Likewise.
23052         (pow_test_data): Likewise.
23053         (tgamma_test_data): Likewise.
23054         (yn_test_data): Remove duplicate test of overflow.
23056         * math/libm-test.inc (struct test_cc_c_data): New type.
23057         (RUN_TEST_LOOP_cc_c): New macro.
23058         (cpow_test_data): New variable.
23059         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23061         * math/libm-test.inc (struct test_f_L_data): New type.
23062         (RUN_TEST_LOOP_f_L): New macro.
23063         (llrint_test_data): New variable.
23064         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23065         (llrint_tonearest_test_data): New variable.
23066         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23067         (llrint_towardzero_test_data): New variable.
23068         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23069         (llrint_downward_test_data): New variable.
23070         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23071         (llrint_upward_test_data): New variable.
23072         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23073         (llround_test_data): New variable.
23074         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23076 2013-05-13  Peter Collingbourne  <pcc@google.com>
23078         * math/atest-exp2.c (get_log2): Remove const attribute.
23080 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23082         * math/libm-test.inc (struct test_f_l_data): New type.
23083         (RUN_TEST_LOOP_f_l): New macro.
23084         (lrint_test_data): New variable.
23085         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23086         (lrint_tonearest_test_data): New variable.
23087         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23088         (lrint_towardzero_test_data): New variable.
23089         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23090         (lrint_downward_test_data): New variable.
23091         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23092         (lrint_upward_test_data): New variable.
23093         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23094         (lround_test_data): New variable.
23095         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23097 2013-05-15  Peter Collingbourne  <pcc@google.com>
23099         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23100         (EXTRACT_WORDS64) Use where appropriate.
23101         (INSERT_WORDS64) Likewise.
23103         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23104         constraints with x constraints.
23105         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23107         * malloc/obstack.c (_obstack_compat): Add initializer.
23109 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23111         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23112         si_trapno and add si_addr_lsb to _sifields.sigfault.
23113         (si_trapno): Remove macro.
23114         (si_addr_lsb): Define new macro.
23115         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23117 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
23119         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23120         instead of TEST_f_l.
23121         (llrint_test_tonearest): Likewise.
23122         (llrint_test_towardzero): Likewise.
23123         (llrint_test_downward): Likewise.
23124         (llrint_test_upward): Likewise.
23125         (llround_test): Likewise.
23127         * math/libm-test.inc (struct test_f_i_data): Add comment.
23128         (RUN_TEST_LOOP_f_b): New macro.
23129         (RUN_TEST_LOOP_f_b_tg): Likewise.
23130         (finite_test_data): New variable.
23131         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23132         (isfinite_test_data): New variable.
23133         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23134         (isinf_test_data): New variable.
23135         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23136         (isnan_test_data): New variable.
23137         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23138         (isnormal_test_data): New variable.
23139         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23140         (issignaling_test_data): New variable.
23141         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23142         (signbit_test_data): New variable.
23143         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23145         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23146         with INVALID_EXCEPTION.
23147         (acosh_test_data): Likewise.
23148         (asin_test_data): Likewise.
23149         (atanh_test_data): Likewise.
23150         (fmod_test_data): Likewise.
23151         (log_test_data): Likewise.
23152         (log10_test_data): Likewise.
23153         (log2_test_data): Likewise.
23154         (pow_test_data): Likewise.
23155         (sqrt_test_data): Likewise.
23156         (y0_test_data): Likewise.
23157         (y1_test_data): Likewise.
23158         (yn_test_data): Likewise.
23160         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23161         function contents.
23163         * math/libm-test.inc (struct test_ff_i_data): New type.
23164         (RUN_TEST_LOOP_ff_i_tg): New macro.
23165         (isgreater_test_data): New variable.
23166         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23167         (isgreaterequal_test_data): New variable.
23168         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23169         (isless_test_data): New variable.
23170         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23171         (islessequal_test_data): New variable.
23172         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23173         (islessgreater_test_data): New variable.
23174         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23175         (isunordered_test_data): New variable.
23176         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23178 2013-05-14  David S. Miller  <davem@davemloft.net>
23180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23182 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
23184         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23186         * math/libm-test.inc (struct test_fF_f1_data): Change type of
23187         extra_test to int.
23188         (struct test_f_i_data): Change type of max_ulp to int.
23190         * math/libm-test.inc (test_ffI_f1_data): New type.
23191         (RUN_TEST_LOOP_ffI_f1): New macro.
23192         (remquo_test_data): New variable.
23193         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23195         * setjmp/tst-setjmp-fp.c: New file.
23196         * setjmp/Makefile (tests): Add tst-setjmp-fp.
23197         (link-libm): New variable.
23198         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23200         * math/libm-test.inc (struct test_f_i_data): New type.
23201         (RUN_TEST_LOOP_f_i): New macro.
23202         (RUN_TEST_LOOP_f_i_tg): Likewise.
23203         (fpclassify_test_data): New variable.
23204         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23205         (ilogb_test_data): New variable.
23206         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23208         * math/libm-test.inc (scalbln_test): Correct function name in END
23209         call.
23211         * math/libm-test.inc (struct test_f_f1_data): Add comment.
23212         (RUN_TEST_LOOP_fI_f1): New macro.
23213         (frexp_test_data): New variable.
23214         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23216         * math/libm-test.inc (struct test_fF_f1_data): New type.
23217         (RUN_TEST_LOOP_fF_f1): New macro.
23218         (modf_test_data): New variable.
23219         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23221         * math/libm-test.inc (struct test_f_f1_data): New type.
23222         (RUN_TEST_LOOP_f_f1): New macro.
23223         (gamma_test_data): New variable.
23224         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23225         (lgamma_test_data): New variable.
23226         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23228 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
23230         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23231         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23232         (main): Comment "tls" pseudo-hwcap.
23234 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
23236         * math/libm-test.inc (struct test_fl_f_data): New type.
23237         (RUN_TEST_LOOP_fl_f): New variable.
23238         (scalbln_test_data): New variable.
23239         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23241         * math/libm-test.inc (struct test_fi_f_data): New type.
23242         (RUN_TEST_LOOP_fi_f): New macro.
23243         (ldexp_test_data): New variable.
23244         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23245         (scalbn_test_data): New variable.
23246         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23248         * math/libm-test.inc (struct test_c_f_data): New type.
23249         (RUN_TEST_LOOP_c_f): New macro.
23250         (cabs_test_data): New variable.
23251         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23252         (carg_test_data): New variable.
23253         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23254         (cimag_test_data): New variable.
23255         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23256         (creal_test_data): New variable.
23257         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23259         * math/libm-test.inc (struct test_if_f_data): New type.
23260         (RUN_TEST_LOOP_if_f): New macro.
23261         (jn_test_data): New variable.
23262         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23263         (yn_test_data): New variable.
23264         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23266         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23268 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23270         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23271         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23273 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23275         * benchtests/Makefile (CPPFLAGS-nonlib): Add
23276         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23277         (bench-deps): Add bench-timing.h.
23278         * benchtests-bench-skeleton.c: Include bench-timing.h.
23279         (main): Use TIMING_* macros instead of clock_gettime.
23280         * benchtests/bench-timing.h: New file.
23282         [BZ #14582]
23283         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23284         Renamed from _LIB_VERSION.
23285         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23287 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23289         * math/libm-test.inc (struct test_fff_f_data): New type.
23290         (RUN_TEST_LOOP_fff_f): New macro.
23291         (fma_test_data): New variable.
23292         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23293         (fma_towardzero_test_data): New variable.
23294         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23295         (fma_downward_test_data): New variable.
23296         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23297         (fma_upward_test_data): New variable.
23298         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23300         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23301         (struct test_c_c_data): New type.
23302         (RUN_TEST_LOOP_c_c): New macro.
23303         (cacos_test_data): New variable.
23304         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23305         (cacosh_test_data): New variable.
23306         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23307         (casin_test_data): New variable.
23308         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23309         (casinh_test_data): New variable.
23310         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23311         (catan_test_data): New variable.
23312         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23313         (catanh_test_data): New variable.
23314         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23315         (ccos_test_data): New variable.
23316         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23317         (ccosh_test_data): New variable.
23318         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23319         (cexp_test_data): New variable.
23320         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23321         (clog_test_data): New variable.
23322         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23323         (clog10_test_data): New variable.
23324         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23325         (conj_test_data): New variable.
23326         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23327         (cproj_test_data): New variable.
23328         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23329         (csin_test_data): New variable.
23330         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23331         (csinh_test_data): New variable.
23332         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23333         (csqrt_test_data): New variable.
23334         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23335         (ctan_test_data): New variable.
23336         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23337         (ctan_tonearest_test_data): New variable.
23338         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23339         (ctan_towardzero_test_data): New variable.
23340         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23341         (ctan_downward_test_data): New variable.
23342         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23343         (ctan_upward_test_data): New variable.
23344         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23345         (ctanh_test_data): New variable.
23346         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23347         (ctanh_tonearest_test_data): New variable.
23348         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23349         (ctanh_towardzero_test_data): New variable.
23350         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23351         (ctanh_downward_test_data): New variable.
23352         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23353         (ctanh_upward_test_data): New variable.
23354         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23355         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23356         of BUILD_COMPLEX.
23358         * math/libm-test.inc (struct test_ff_f_data): New type.
23359         (struct test_ff_f_data_nexttoward): Likewise.
23360         (RUN_TEST_LOOP_2_f): New macro.
23361         (RUN_TEST_LOOP_ff_f): Likewise.
23362         (atan2_test_data): New variable.
23363         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23364         (copysign_test_data): New variable.
23365         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23366         (fdim_test_data): New variable.
23367         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23368         (fmax_test_data): New variable.
23369         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23370         (fmin_test_data): New variable.
23371         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23372         (fmod_test_data): New variable.
23373         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23374         (hypot_test_data): New variable.
23375         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23376         (nextafter_test_data): New variable.
23377         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23378         (nexttoward_test_data): New variable.
23379         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23380         (pow_test_data): New variable.
23381         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23382         (pow_tonearest_test_data): New variable.
23383         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23384         (pow_towardzero_test_data): New variable.
23385         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23386         (pow_downward_test_data): New variable.
23387         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23388         (pow_upward_test_data): New variable.
23389         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23390         (remainder_test_data): New variable.
23391         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23392         (scalb_test_data): New variable.
23393         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23394         * sysdeps/i386/fpu/libm-test-ulps: Update.
23396 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23398         * math/libm-test.inc (fma_test): Use max_value instead of local
23399         variable fltmax.
23400         (nextafter_test): Likewise.
23402         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23403         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23404         (acos_downward_test_data): New variable.
23405         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23406         (acos_upward_test_data): New variable.
23407         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23408         (acosh_test_data): New variable.
23409         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23410         (asin_test_data): New variable.
23411         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23412         (asin_tonearest_test_data): New variable.
23413         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23414         (asin_towardzero_test_data): New variable.
23415         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23416         (asin_downward_test_data): New variable.
23417         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23418         (asin_upward_test_data): New variable.
23419         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23420         (asinh_test_data): New variable.
23421         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23422         (atan_test_data): New variable.
23423         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23424         (atanh_test_data): New variable.
23425         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23426         (cbrt_test_data): New variable.
23427         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23428         (ceil_test_data): New variable.
23429         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23430         (cos_test_data): New variable.
23431         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23432         (cos_tonearest_test_data): New variable.
23433         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23434         (cos_towardzero_test_data): New variable.
23435         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23436         (cos_downward_test_data): New variable.
23437         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23438         (cos_upward_test_data): New variable.
23439         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23440         (cosh_test_data): New variable.
23441         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23442         (cosh_tonearest_test_data): New variable.
23443         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23444         (cosh_towardzero_test_data): New variable.
23445         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23446         (cosh_downward_test_data): New variable.
23447         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23448         (cosh_upward_test_data): New variable.
23449         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23450         (erf_test_data): New variable.
23451         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23452         (erfc_test_data): New variable.
23453         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23454         (exp_test_data): New variable.
23455         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23456         (exp_tonearest_test_data): New variable.
23457         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23458         (exp_towardzero_test_data): New variable.
23459         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23460         (exp_downward_test_data): New variable.
23461         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23462         (exp_upward_test_data): New variable.
23463         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23464         (exp10_test_data): New variable.
23465         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23466         (exp2_test_data): New variable.
23467         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23468         (expm1_test_data): New variable.
23469         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23470         (fabs_test_data): New variable.
23471         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23472         (floor_test_data): New variable.
23473         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23474         (j0_test_data): New variable.
23475         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23476         (j1_test_data): New variable.
23477         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23478         (log_test_data): New variable.
23479         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23480         (log10_test_data): New variable.
23481         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23482         (log1p_test_data): New variable.
23483         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23484         (log2_test_data): New variable.
23485         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23486         (logb_test_data): New variable.
23487         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23488         (logb_downward_test_data): New variable.
23489         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23490         (nearbyint_test_data): New variable.
23491         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23492         (rint_test_data): New variable.
23493         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23494         (rint_tonearest_test_data): New variable.
23495         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23496         (rint_towardzero_test_data): New variable.
23497         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23498         (rint_downward_test_data): New variable.
23499         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23500         (rint_upward_test_data): New variable.
23501         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23502         (round_test_data): New variable.
23503         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23504         (sin_test_data): New variable.
23505         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23506         (sin_tonearest_test_data): New variable.
23507         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23508         (sin_towardzero_test_data): New variable.
23509         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23510         (sin_downward_test_data): New variable.
23511         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23512         (sin_upward_test_data): New variable.
23513         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23514         (sinh_test_data): New variable.
23515         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23516         (sinh_tonearest_test_data): New variable.
23517         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23518         (sinh_towardzero_test_data): New variable.
23519         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23520         (sinh_downward_test_data): New variable.
23521         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23522         (sinh_upward_test_data): New variable.
23523         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23524         (sqrt_test_data): New variable.
23525         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23526         (tan_test_data): New variable.
23527         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23528         (tan_tonearest_test_data): New variable.
23529         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23530         (tan_towardzero_test_data): New variable.
23531         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23532         (tan_downward_test_data): New variable.
23533         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23534         (tan_upward_test_data): New variable.
23535         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23536         (tanh_test_data): New variable.
23537         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23538         (tgamma_test_data): New variable.
23539         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23540         (trunc_test_data): New variable.
23541         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23542         (y0_test_data): New variable.
23543         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23544         (y1_test_data): New variable.
23545         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23546         (significand_test_data): New variable.
23547         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23549 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23551         [BZ #12387]
23552         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23554 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23556         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23558 2013-05-10  Andreas Jaeger  <aj@suse.de>
23560         [BZ #15448]
23561         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23562         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23564 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23566         * math/gen-libm-test.pl (adjust_arg): New function.
23567         (special_functions): Handle generating output in both functions
23568         and arrays.
23569         (parse_args): Likewise.
23570         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23571         $in_func argument to parse_args.
23572         * math/libm-test.inc (struct test_f_f_data): New type.
23573         (IF_ROUND_INIT_): New macro.
23574         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23575         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23576         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23577         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23578         (ROUND_RESTORE_): Likewise.
23579         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23580         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23581         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23582         (ROUND_RESTORE_FE_UPWARD): Likewise.
23583         (RUN_TEST_LOOP_f_f): New macro.
23584         (acos_test_data): New variable.
23585         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23586         (acos_tonearest_test_data): New variable.
23587         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23589 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591         * benchtests/bench-skeleton.c (startup): Fix coding style.
23593 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23595         [BZ #6809]
23596         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23597         negative infinity argument.
23598         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23599         negative infinity argument.
23600         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23601         negative infinity argument.
23602         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23603         domain errors.
23605 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23607         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23608         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23609         * iconv/iconv_prog.c (main): Likewise.
23610         * locale/programs/charmap-dir.c (charmap_readdir)
23611         (fopen_uncompressed): Likewise.
23612         * locale/programs/locfile.c (siblings_uncached)
23613         (write_locale_data): Use lstat64 instead of lstat.
23614         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23615         stat.
23617 2013-05-10  Andreas Jaeger  <aj@suse.de>
23619         [BZ #15395]
23620         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23621         localization.
23622         Include <locale.h>.
23624 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23626         * elf/dl-close.c (_dl_close_worker): Add comments.
23628 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23630         [BZ #15359]
23631         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23632         high part of pi/2.
23633         (__ieee754_rem_pio2l): Update comments.
23635         [BZ #15429]
23636         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23637         high part of pi/2.
23638         (__ieee754_rem_pio2l): Update comments.
23640         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23641         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23643         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23644         M_PI_4l.
23646         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23647         (M_PI_34_LOG10El): Likewise.
23648         (M_PI2_LOG10El): Likewise.
23649         (M_PI4_LOG10El): Likewise.
23650         (M_PI_LOG10El): Likewise.
23652 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23656 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23658         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23659         (MINUS_ZERO_INIT): Likewise.
23660         (PLUS_INFTY_INIT): Likewise.
23661         (MINUS_INFTY_INIT): Likewise.
23662         (QNAN_VALUE_INIT): Likewise.
23663         (MAX_VALUE_INIT): Likewise.
23664         (MIN_VALUE_INIT): Likewise.
23665         (MIN_SUBNORM_VALUE_INIT): Likewise.
23666         (plus_zero): Initialize with PLUS_ZERO_INIT.
23667         (minus_zero): Initialize with MINUS_ZERO_INIT.
23668         (plus_infty): Initialize with PLUS_INFTY_INIT.
23669         (minus_infty): Initialize with MINUS_INFTY_INIT.
23670         (qnan_value): Initialize with QNAN_VALUE_INIT.
23671         (max_value): Initialize with MAX_VALUE_INIT.
23672         (min_value): Initialize with MIN_VALUE_INIT.
23673         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23675         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23676         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23677         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23678         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23680         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23681         (RUN_TEST_2_f): Likewise.
23682         (RUN_TEST_ff_f): Likewise.
23683         (RUN_TEST_fi_f): Likewise.
23684         (RUN_TEST_fl_f): Likewise.
23685         (RUN_TEST_fff_f): Likewise.
23686         (RUN_TEST_c_f): Likewise.
23687         (RUN_TEST_f_f1): Likewise.
23688         (RUN_TEST_fF_f1): Likewise.
23689         (RUN_TEST_fI_f1): Likewise.
23690         (RUN_TEST_ffI_f1): Likewise.
23691         (RUN_TEST_c_c): Likewise.
23692         (RUN_TEST_cc_c): Likewise.
23693         (RUN_TEST_f_i): Likewise.
23694         (RUN_TEST_f_i_tg): Likewise.
23695         (RUN_TEST_ff_i_tg): Likewise.
23696         (RUN_TEST_f_b): Likewise.
23697         (RUN_TEST_f_b_tg): Likewise.
23698         (RUN_TEST_f_l): Likewise.
23699         (RUN_TEST_f_L): Likewise.
23700         (RUN_TEST_sincos): Likewise.
23701         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23702         whether to show exceptions.  Do not include ");\n" in return
23703         value.
23704         (special_functions): Output call to RUN_TEST_sincos instead of
23705         check_float calls.  Update calls to new_test.
23706         (parse_args): Output call to single RUN_TEST_* macro instead of
23707         check_* calls and other assignments.  Update calls to new_test.
23709         [BZ #2546]
23710         [BZ #2560]
23711         [BZ #5159]
23712         [BZ #15426]
23713         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23714         input to result for tgamma overflow.
23715         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23716         (gamma_coeff): New variable.
23717         (NCOEFF): New macro.
23718         (gamma_positive): New function.
23719         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23720         underflow here.  Use gamma_positive instead of exp (lgamma) for
23721         other arguments.
23722         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23723         (gamma_coeff): New variable.
23724         (NCOEFF): New macro.
23725         (gammaf_positive): New function.
23726         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23727         underflow here.  Use gamma_positive instead of exp (lgamma) for
23728         other arguments.
23729         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23730         (gamma_coeff): New variable.
23731         (NCOEFF): New macro.
23732         (gammal_positive): New function.
23733         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23734         underflow here.  Use gamma_positive instead of exp (lgamma) for
23735         other arguments.
23736         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23737         (gamma_coeff): New variable.
23738         (NCOEFF): New macro.
23739         (gammal_positive): New function.
23740         (__ieee754_gammal_r): Handle positive infinity, overflow and
23741         underflow here.  Handle NaN the same as positive infinity.  Remove
23742         check x < 0xffffffff for negative integers.  Use gamma_positive
23743         instead of exp (lgamma) for other arguments.
23744         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23745         (gamma_coeff): New variable.
23746         (NCOEFF): New macro.
23747         (gammal_positive): New function.
23748         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23749         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23750         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23751         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23752         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23753         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23754         * sysdeps/generic/math_private.h (__gamma_productf): New
23755         prototype.
23756         (__gamma_product): Likewise.
23757         (__gamma_productl): Likewise.
23758         * math/Makefile (libm-calls): Add gamma_product.
23759         * math/libm-test.inc (tgamma_test): Add more tests.
23760         * sysdeps/i386/fpu/libm-test-ulps: Update.
23761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23765         * benchtests/bench-skeleton.c (main): Preheat CPU.
23767 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23769         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23771 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23773         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23774         and _dl_skip_args_internal.
23776 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23778         * manual/message.texi (Message Translation): Talk about users.
23779         Message to key mapping impacts design.
23781 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23783         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23785         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23787         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23788         * sysdeps/wordsize-64/glob64.c: ... here.
23790         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23791         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23792         New macros.
23794         * debug/getlogin_r_chk.c: Moved to ...
23795         * login/getlogin_r_chk.c: ... here.
23796         * debug/Makefile (routines): Move getlogin_r_chk to ...
23797         * login/Makefile (routines): ... here.
23798         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23799         * login/Versions (libc: GLIBC_2.4): ... here.
23801         * io/poll.c (__poll): Renamed from poll.
23802         Add libc_hidden_def.
23803         (poll): Define as weak alias.
23805         * debug/ptsname_r_chk.c: Moved to ...
23806         * login/ptsname_r_chk.c: ... here.
23807         * debug/Makefile (routines): Move ptsname_r_chk to ...
23808         * login/Makefile (routines): ... here.
23809         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23810         * login/Versions (libc: GLIBC_2.4): ... here.
23812         * posix/getlogin.c: Moved to ...
23813         * login/getlogin.c: ... here.
23814         * posix/getlogin_r.c: Moved to ...
23815         * login/getlogin_r.c: ... here.
23816         * posix/getlogin_r.c: Moved to ...
23817         * login/getlogin_r.c: ... here.
23818         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23819         * login/Makefile (routines): ... here.
23820         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23821         * login/Versions (libc: GLIBC_2.0): ... here.
23823         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23824         (setrlimit): Define as weak alias.
23826         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23827         Call __ names for open, ftruncate, and close.
23828         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23829         (truncate): Define as weak alias.
23831 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23833         * math/gen-libm-test.pl (parse_args): Initialize x before each
23834         test of frexp, modf and remquo.
23836         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23837         test signgam value.
23839 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23841         [BZ #15418]
23842         [BZ #15419]
23843         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23844         internal tests.
23845         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23847 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23849         * elf/dl-writev.h: New file.
23850         * elf/dl-misc.c: Include it.
23851         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23852         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23854 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23856         * math/libm-test.inc (noXFails): Remove variable.
23857         (noXPasses): Likewise.
23858         (BUILD_COMPLEX_INT): Remove macro.
23859         (print_screen): Remove xfail argument.
23860         (print_screen_max_error): Likewise.
23861         (update_stats): Likewise.
23862         (print_max_error): Likewise.  Update calls to other affected
23863         functions.
23864         (print_complex_max_error): Likewise.
23865         (test_single_exception): Update calls to print_screen.
23866         (test_single_errno): Likewise.
23867         (check_float_internal): Remove xfail argument.  Update calls to
23868         other affected functions.
23869         (check_float): Likewise.
23870         (check_complex): Likewise.
23871         (check_int): Likewise.
23872         (check_long): Likewise.
23873         (check_bool): Likewise.
23874         (check_longlong): Likewise.
23875         (main): Don't print noXFails and noXPasses.
23876         * math/gen-libm-test.pl (top level): Don't mention expected
23877         failure handling in comment.
23878         (new_test): Don't handle expected failures.
23879         (parse_args): Don't mention expected failure handling in comment.
23880         (generate_testfile): Don't handle expected failures.
23881         (parse_ulps): Likewise.
23882         (print_ulps_file): Likewise.
23883         (get_failure): Remove function.
23884         (output_test): Don't handle expected failures.
23885         * make/README.libm-test: Don't mention expected failure handling.
23887         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23888         (minus_zero): Likewise.
23889         (plus_infty): Likewise.
23890         (minus_infty): Likewise.
23891         (qnan_value): Likewise.
23892         (max_value): Likewise.
23893         (min_value): Likewise.
23894         (min_subnorm_value): Likewise.
23895         (initialize): Do not initialize those variables dynamically.
23897 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23899         * io/open.c (__open_2): Moved to ...
23900         * io/open_2.c: ... this new file.
23901         * io/open64.c (__open64_2): Moved to ...
23902         * io/open64_2.c: ... this new file.
23903         * io/openat.c (__openat_2): Moved to ...
23904         * io/openat_2.c: ... this new file.
23905         * io/openat64.c (__openat64_2): Moved to ...
23906         * io/openat64_2.c: ... this new file.
23907         * io/Makefile (routines): Add them.
23908         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23909         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23910         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23911         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23912         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23913         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23914         (__openat64): Add hidden_ver.
23915         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23916         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23918         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23919         Separately conditionalize setting of GLRO(dl_sysinfo) so
23920         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23921         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23923 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23925         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23926         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23927         definition.
23928         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23929         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23930         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23931         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23932         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23934 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23936         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23937         test signgam value.
23939         * math/libm-test.inc (hypot_test): Do not use
23940         IGNORE_ZERO_INF_SIGN.
23942 2013-05-03  Andreas Jaeger  <aj@suse.de>
23944         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23945         Linux 3.9.
23946         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23947         (PF_MAX): Adjust for VSOCK change.
23949 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23953 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23955         [BZ #15264]
23956         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23957         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23958         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23960 2013-05-02  David S. Miller  <davem@davemloft.net>
23962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23964 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23966         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23968 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23970         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23972 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23974         [BZ #14952]
23975         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23976         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23977         Use __attribute__ ((__gnu_inline__)).
23978         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23979         Don't use __attribute__ ((__gnu_inline__)).
23981 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #15423]
23984         * math/s_catan.c (__catan): Handle small real or imaginary part of
23985         input specially to avoid spurious underflow.
23986         * math/s_catanf.c (__catanf): Likewise.
23987         * math/s_catanh.c (__catanh): Likewise.
23988         * math/s_catanhf.c (__catanhf): Likewise.
23989         * math/s_catanhl.c (__catanhl): Likewise.
23990         * math/s_catanl.c (__catanl): Likewise.
23991         * math/libm-test.inc (catan_test): Add more tests.
23992         (catanh_test): Likewise.
23993         * sysdeps/i386/fpu/libm-test-ulps: Update.
23994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23996 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24000 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
24002         [BZ #15416]
24003         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24004         accurately for denominator in atan2.
24005         * math/s_catanf.c (__catanf): Likewise.
24006         * math/s_catanh.c (__catanh): Likewise.
24007         * math/s_catanhf.c (__catanhf): Likewise.
24008         * math/s_catanhl.c (__catanhl): Likewise.
24009         * math/s_catanl.c (__catanl): Likewise.
24010         * math/libm-test.inc (catan_test): Add more tests.
24011         (catanh_test): Likewise.
24012         * sysdeps/i386/fpu/libm-test-ulps: Update.
24013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24015 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24017         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24019         * benchtests/Makefile (bench): Remove slow benchmarks.
24020         * benchtests/atan-inputs: Add slow benchmark inputs.
24021         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24022         (BENCH_FUNC): Accept variant offset.
24023         (VARIANT): Define.
24024         * benchtests/bench-skeleton.c (main): Run benchmark for each
24025         variant.
24026         * benchtests/cos-inputs: Add slow benchmark inputs.
24027         * benchtests/exp-inputs: Likewise.
24028         * benchtests/pow-inputs: Likewise.
24029         * benchtests/sin-inputs: Likewise.
24030         * benchtests/slowatan-inputs: Remove.
24031         * benchtests/slowatan.c: Remove.
24032         * benchtests/slowcos-inputs: Remove.
24033         * benchtests/slowcos.c: Remove.
24034         * benchtests/slowexp-inputs: Remove.
24035         * benchtests/slowexp.c: Remove.
24036         * benchtests/slowpow-inputs: Remove.
24037         * benchtests/slowpow.c: Remove.
24038         * benchtests/slowsin-inputs: Remove.
24039         * benchtests/slowsin.c: Remove.
24040         * benchtests/slowtan-inputs: Remove.
24041         * benchtests/slowtan.c: Remove.
24042         * benchtests/tan-inputs: Add slow benchmark inputs.
24043         * scripts/bench.pl: Parse comments and directives.
24045         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
24046         in CPPFLAGS.
24047         ($(objpfx)bench-%.c): Remove *-ITER.
24048         * benchtests/bench-modf.c: Remove definition of ITER.
24049         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24050         (main): Loop for DURATION seconds instead of fixed number of
24051         iterations.
24052         * scripts/bench.pl: Don't expect iterations in parameters.
24054 2013-04-29  Roland McGrath  <roland@hack.frob.com>
24056         * io/fchdir.c (__fchdir): Renamed from fchdir.
24057         (fchdir): Define as weak alias.
24059 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24061         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24062         (ERRNO_EDOM): Likewise.
24063         (ERRNO_ERANGE): Likewise.
24064         (noErrnoTests): New variable.
24065         (init_max_error): Set errno to 0.
24066         (test_single_errno): New function.
24067         (test_errno): Likewise.
24068         (check_float_internal): Call test_errno.  Set errno to 0.
24069         (check_complex): Refer to errno tests in comment.
24070         (check_int): Call test_errno.  Set errno to 0.
24071         (check_long): Likewise.
24072         (check_bool): Likewise.
24073         (check_longlong): Likewise.
24074         (cos_test): Use ERRNO_* flags for errno tests instead of
24075         check_int.
24076         (expm1_test): Likewise.
24077         (fmod_test): Likewise.
24078         (ilogb_test): Likewise.
24079         (lgamma_test): Likewise.
24080         (pow_test): Likewise.
24081         (remainder_test): Likewise.
24082         (sin_test): Likewise.
24083         (tan_test): Likewise.
24084         (yn_test): Likewise.
24085         (initialize): Set errno to 0.
24086         (main): Print number of errno tests.
24087         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24089 2013-04-29  Andreas Jaeger  <aj@suse.de>
24091         [BZ #15084]
24092         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24093         and RES_USEVC.
24095         [BZ #15085]
24096         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24097         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24098         unimplemented.
24100         [BZ #15380]
24101         * stdlib/random.c (__initstate): Return NULL if
24102         __initstate fails.
24104         [BZ #15086]
24105         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24106         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24107         RES_SNGLKUPREOP.
24109 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24113 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
24115         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24116         of individual tests.
24117         (casin_test): Likewise.
24118         (casinh_test): Likewise.
24120 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
24122         [BZ #15409]
24123         * math/s_catan.c (__catan): Handle arguments with large real or
24124         imaginary part separately without squaring.
24125         * math/s_catanf.c (__catanf): Likewise.
24126         * math/s_catanh.c (__catanh): Likewise.
24127         * math/s_catanhf.c (__catanhf): Likewise.
24128         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24129         and redefine.
24130         (__catanhl): Handle arguments with large real or imaginary part
24131         separately without squaring.
24132         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24133         and redefine.
24134         (__catanl): Handle arguments with large real or imaginary part
24135         separately without squaring.
24136         * math/libm-test.inc (catan_test): Add more tests.
24137         (catanh_test): Likewise.
24138         * sysdeps/i386/fpu/libm-test-ulps: Update.
24139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24141 2013-04-27  Andreas Jaeger  <aj@suse.de>
24143         [BZ #15007]
24144         * stdlib/stdlib.h: Update guards for qecvt.
24145         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24146         <stdlib.h>.
24148 2013-04-27  Allan McRae  <allan@archlinux.org>
24150         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
24154         [BZ #15406]
24155         * math/s_catan.c: Include <float.h>.
24156         (__catan): Ensure underflow exception occurs for underflowed
24157         result.
24158         * math/s_catanf.c: Include <float.h>.
24159         (__catanf): Ensure underflow exception occurs for underflowed
24160         result.
24161         * math/s_catanh.c: Include <float.h>.
24162         (__catanh): Ensure underflow exception occurs for underflowed
24163         result.
24164         * math/s_catanhf.c: Include <float.h>.
24165         (__catanhf): Ensure underflow exception occurs for underflowed
24166         result.
24167         * math/s_catanhl.c: Include <float.h>.
24168         (__catanhl): Ensure underflow exception occurs for underflowed
24169         result.
24170         * math/s_catanl.c: Include <float.h>.
24171         (__catanl): Ensure underflow exception occurs for underflowed
24172         result.
24173         * math/libm-test.inc (catan_test): Add more tests.
24174         (catanh_test): Likewise.
24176         [BZ #15405]
24177         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24178         underflowed result.
24179         * math/s_ccoshf.c (__ccoshf): Likewise.
24180         * math/s_ccoshl.c (__ccoshl): Likewise.
24181         * math/s_csin.c (__csin): Likewise.
24182         * math/s_csinf.c (__csinf): Likewise.
24183         * math/s_csinh.c (__csinh): Likewise.
24184         * math/s_csinhf.c (__csinhf): Likewise.
24185         * math/s_csinhl.c (__csinhl): Likewise.
24186         * math/s_csinl.c (__csinl): Likewise.
24187         * math/libm-test.inc (ccos_test): Add more tests.
24188         (ccosh_test): Likewise.
24189         (csin_test): Likewise.
24190         (csinh_test): Likewise.
24192 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24194         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24195         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24196         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24197         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24198         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24199         powerpc/power5+/fpu folders.
24200         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24203 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24207 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
24209         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24210         additions to variable.
24211         [$(config-machine) = x86_64] (modules-names): Likewise.
24212         ($(objpfx)tst-audit3): Remove dependency.
24213         ($(objpfx)tst-audit3.out): Likewise.
24214         ($(objpfx)tst-audit4): Likewise.
24215         ($(objpfx)tst-audit4.out): Likewise.
24216         ($(objpfx)tst-audit5): Likewise.
24217         ($(objpfx)tst-audit5.out): Likewise.
24218         ($(objpfx)tst-audit6): Likewise.
24219         ($(objpfx)tst-audit6.out): Likewise.
24220         ($(objpfx)tst-audit7): Likewise.
24221         ($(objpfx)tst-audit7.out): Likewise.
24222         (tst-audit3-ENV): Remove variable.
24223         (tst-audit4-ENV): Likewise.
24224         (tst-audit5-ENV): Likewise.
24225         (tst-audit6-ENV): Likewise.
24226         (tst-audit7-ENV): Likewise.
24227         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24228         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24229         addition to variable.
24230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24232         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24235         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24236         tst-audit3, tst-audit4 and tst-audit5.
24237         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24238         tst-audit6 and tst-audit7.
24239         [$(subdir) = elf] (modules-names): Add audit modules for those
24240         tests.
24241         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24242         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24243         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24244         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24245         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24246         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24247         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24248         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24249         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24250         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24251         [$(subdir) = elf] (tst-audit3-ENV): New variable.
24252         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24253         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24254         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24255         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24256         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24257         Likewise.
24258         [$(subdir) = elf && $(config-cflags-avx) = yes]
24259         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24260         [$(subdir) = elf && $(config-cflags-avx) = yes]
24261         (CFLAGS-tst-auditmod4a.c): Likewise.
24262         [$(subdir) = elf && $(config-cflags-avx) = yes]
24263         (CFLAGS-tst-auditmod4b.c): Likewise.
24264         [$(subdir) = elf && $(config-cflags-avx) = yes]
24265         (CFLAGS-tst-auditmod6b.c): Likewise.
24266         [$(subdir) = elf && $(config-cflags-avx) = yes]
24267         (CFLAGS-tst-auditmod6c.c): Likewise.
24268         [$(subdir) = elf && $(config-cflags-avx) = yes]
24269         (CFLAGS-tst-auditmod7b.c): Likewise.
24270         * elf/tst-audit3.c: Move to ...
24271         * sysdeps/x86_64/tst-audit3.c: ... here.
24272         * elf/tst-audit4.c: Move to ...
24273         * sysdeps/x86_64/tst-audit4.c: ... here.
24274         * elf/tst-audit5.c: Move to ...
24275         * sysdeps/x86_64/tst-audit5.c: ... here.
24276         * elf/tst-audit6.c: Move to ...
24277         * sysdeps/x86_64/tst-audit6.c: ... here.
24278         * elf/tst-audit7.c: Move to ...
24279         * sysdeps/x86_64/tst-audit7.c: ... here.
24280         * elf/tst-auditmod3a.c: Move to ...
24281         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24282         * elf/tst-auditmod3b.c: Move to ...
24283         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24284         * elf/tst-auditmod4a.c: Move to ...
24285         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24286         * elf/tst-auditmod4b.c: Move to ...
24287         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24288         * elf/tst-auditmod5a.c: Move to ...
24289         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24290         * elf/tst-auditmod5b.c: Move to ...
24291         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24292         * elf/tst-auditmod6a.c: Move to ...
24293         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24294         * elf/tst-auditmod6b.c: Move to ...
24295         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24296         * elf/tst-auditmod6c.c: Move to ...
24297         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24298         * elf/tst-auditmod7a.c: Move to ...
24299         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24300         * elf/tst-auditmod7b.c: Move to ...
24301         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24303 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24305         [BZ #15366]
24306         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24307         define unconditionally.
24308         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24309         define unconditionally.
24310         (INT8_C, INT16_C, etc.): Likewise.
24312 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24314         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24315         __ehdr_start with hidden visibility.
24317         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24319 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24321         * math/libm-test.inc (cos_test): Use accurate hex constants.
24322         (sincost_test): Likewise.
24324 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24326         * math/libm-test.inc (catan_test): Add more tests.
24327         (catanh_test): Likewise.
24329         * math/s_catanf.c (__catanf): Use suffixed floating-point
24330         constants.
24331         * math/s_catanhf.c (__catanhf): Likewise.
24332         * math/s_catanhl.c (__catanhl): Likewise.
24333         * math/s_catanl.c (__catanl): Likewise.
24335         [BZ #15394]
24336         * math/s_catan.c (__catan): Calculate imaginary part of result
24337         with log1p not log unless computing log of number close to 0.
24338         * math/s_catanf.c (__catanf): Likewise.
24339         * math/s_catanl.c (__catanl): Likewise.
24340         * math/s_catanh.c (__catanh): Calculate real part of result with
24341         log1p not log unless computing log of number close to 0.
24342         * math/s_catanhf.c (__catanhf): Likewise.
24343         * math/s_catanhl.c (__catanhl): Likewise.
24344         * math/libm-test.inc (catan_test): Add more tests.
24345         (catanh_test): Likewise.
24346         * sysdeps/i386/fpu/libm-test-ulps: Update.
24347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24349 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24351         * benchtests/Makefile: Mention files in which fast and slow
24352         paths of math functions are implemented.
24354 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24356         * sysdeps/posix/timespec_get.c: New file.
24358 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24360         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24361         POWER.
24362         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24363         for POWER.
24364         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24365         powerpc/power5/fpu folders.
24366         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24367         * benchtests/Makefile: Add modf testcase.
24368         * benchtests/bench-modf.c: New file: Benchmark test for mo
24370 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24372         [BZ #14888]
24373         * time/Makefile (tests): Add tst-strptime-whitespace.
24374         * time/strptime_l.c (get_number): Use ISSPACE.
24375         (__strptime_internal): Likewise.
24376         * time/tst-strptime-whitespace.c: New test case.
24378 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24380         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24381         member.
24382         (_nss_files_init): Set it here.
24384 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24386         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24387         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24388         unsigned.
24390 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24392         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24394 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24396         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24397         size just once.
24399 2013-04-21  David S. Miller  <davem@davemloft.net>
24401         * po/ru.po: Update Russion translation from translation project.
24403 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24405         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24406         and setfsgid.
24408 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24410         * configure.in: Remove i386 configure warning. Remove i386 case.
24411         * configure: Regenerate.
24412         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24413         Add example to error message.
24414         * sysdeps/i386/configure: Regenerate.
24416 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24418         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24419         slowtan.
24420         * benchtests/cos-inputs: New file.
24421         * benchtests/slowcos-inputs: New file.
24422         * benchtests/slowcos.c: New file.
24423         * benchtests/slowtan-inputs: New file.
24424         * benchtests/slowtan.c: New file.
24425         * benchtests/tan-inputs: New file.
24427 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24429         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24430         considered kosher.
24432 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24434         * benchtests/Makefile: Include cppflags-iterator.mk to add
24435         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24437         * Makefile.in (bench-clean): New target.
24438         * benchtests/Makefile (bench-clean): Likewise.
24440 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24442         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24444 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24446         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24448 2013-04-15  Andreas Schwab  <schwab@suse.de>
24450         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24452         * nscd/pwdcache.c (cache_addpw): Likewise.
24453         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24454         more than recsize.
24456 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458         * benchtests/Makefile (bench): Write all output to
24459         bench-out.tmp together.
24461 2013-04-15  Andreas Schwab  <schwab@suse.de>
24463         * nscd/nscd.c (main): Don't fork again after closing files.
24465 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24467         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24469         * benchtests/Rules (bench-deps): Collect dependencies into a
24470         single variable.  Add Makefile to dependencies.
24471         ($(objpfx)bench-%.c): Depend on bench-deps.
24473 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24474             Xavier Roche  <roche+kml2@exalead.com>
24476         [BZ #15361]
24477         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24478         just that it's a file descriptor.
24479         * manual/llio.texi (Synchronizing AIO Operations): Update description
24480         for EBADF error from aio_fsync.
24482 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24484         * Rules (bench): Move target definition...
24485         * benchtests/Makefile: ... here.
24487 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24489         * math/libm-test.inc (cos_test): Fix PI/2 test.
24490         (sincos_test): Likewise.
24491         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24492         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24494 2013-04-11  Andreas Schwab  <schwab@suse.de>
24496         [BZ #13988]
24497         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24498         accept exponent character only when digits were seen.
24499         * stdio-common/Makefile (tests): Add bug26.
24500         * stdio-common/bug26.c: New file.
24502         [BZ #14293]
24503         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24504         non-freeable.
24506 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24508         * Makeconfig (rtld-prefix): Define built linker prefix.
24509         * Rules (run-bench): Use it.
24510         * math/Makefile (run-regen-ulps): Likewise.
24512         * Rules (bench): Remove eval.
24514 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24515             Roland McGrath  <roland@hack.frob.com>
24516             Ondrej Bilka  <neleai@seznam.cz>
24518         [BZ #15346]
24519         * time/getdate.c: Include ctype.h and alloca.h.
24520         (__getdate_r): Trim leading and trailing spaces of input.
24521         * time/tst-getdate.c (tests): Add tests with leading and
24522         trailing spaces.
24524 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24526         [BZ #14280]
24527         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24528         when computing value.
24530 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24532         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24533         Use testrun.sh to run libm tests.
24535         [BZ #15309]
24536         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24538 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24540         [BZ #15264]
24541         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24543 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24545         * Makefile.in (regen-ulps): New target.
24546         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24547         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24548         [ifneq (no,$(PERL)] (regen-ulps): New target.
24549         [ifeq (no,$(PERL)] (regen-ulps): New target.
24550         * math/libm-test.inc (ulps_file_name): Define.
24551         (output_dir): New variable.
24552         (options): Add "output-dir" option.
24553         (parse_opt): Handle 'o' case.
24554         (main): If output_dir is non-NULL use it as a prefix
24555         otherwise use "".
24556         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24558 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24560         [BZ #10060, #10062]
24561         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24562         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24563         fail configure if __sync_val_compare_and_swap is not inlined.
24564         * sysdeps/i386/configure: Regenerate.
24565         * configure.in: Build for i686 when configured for i386.
24566         * configure: Regenerate.
24567         * README: Remove i386 reference.
24569 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24571         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24572         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24574 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24576         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24577         (lmsnanval): New variables.
24578         (F): Add conversion tests.
24579         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24580         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24582         * stdio-common/tstdiomisc.c (F): Properly collect individual
24583         tests' results.
24585         [BZ #14686, #15336]
24586         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24587         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24588         Instead, use input NaN values or generate a qNaN by arithmetic
24589         operation.  Also fix bugs to comply with the standard.
24590         * math/libm-test.inc (remainder_test): Add more tests.
24592         [BZ #15335, #15342]
24593         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24595         input NaN values or generate a qNaN by arithmetic operation.
24597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24598         unreachable code.
24600         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24601         definitions.
24603 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24605         [BZ #14478]
24606         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24607         underflowed result.
24608         * math/s_cexpf.c (__cexpf): Likewise.
24609         * math/s_cexpl.c (__cexpl): Likewise.
24610         * math/libm-test.inc (cexp_test): Add more tests.
24612 2013-04-03  Andreas Schwab  <schwab@suse.de>
24614         [BZ #15330]
24615         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24616         order arrays from heap if bigger than alloca cutoff.
24618 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24620         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24621         (SNAN_TESTS_double): Refer to GCC PR56831.
24622         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24623         GCC PR56828.
24625 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24627         * Rules (bench): Move bench.out after the run is complete.
24629         * Rules (bench): Echo currently running benchmark.
24631         * benchtests/Makefile (bench): Add atan and slowatan.
24632         * benchtests/atan-inputs: New file.
24633         * benchtests/slowatan-inputs: New file.
24634         * benchtests/slowatan.c: New file.
24636         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24637         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24638         its value.
24640         [BZ #15305]
24641         * sysdeps/unix/sysv/linux/kernel-features.h
24642         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24643         __ASSUME_XFS_RESTRICTED_CHOWN.
24644         * sysdeps/unix/sysv/linux/pathconf.c
24645         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24646         Save and restore errno.
24648 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24650         [BZ #15327]
24651         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24652         arguments using __kernel_casinh.
24653         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24654         arguments using __kernel_casinhf.
24655         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24656         arguments using __kernel_casinhl.
24657         * math/libm-test.inc (cacosh_test): Add more tests.
24658         * sysdeps/i386/fpu/libm-test-ulps: Update.
24659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24663         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24666         * bench/Makefile (bench): Add sin and slowsin.
24667         * benchtests/sin-inputs: New file.
24668         * benchtests/slowsin-inputs: New file.
24669         * benchtests/slowsin.c: New file.
24671         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24672         (bench): Add slowexp and slowpow.
24673         (exp-ITER): Increase iterations.
24674         (pow-ITER): Likewise.
24675         * benchtests/exp-inputs: Change input.
24676         * benchtests/pow-inputs: Likewise.
24677         * benchtests/slowexp-inputs: New file.
24678         * benchtests/slowexp.c: New file.
24679         * benchtests/slowpow-inputs: New file.
24680         * benchtests/slowpow.c: New file.
24682 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24684         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24685         instructions.
24686         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24687         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24688         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24689         * benchtests/Makefile: Add rint benchtest.
24690         * benchtests/rint-inputs: Input for rint benchtest.
24692 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24694         * Versions.def (libm): Add GLIBC_2.18.
24695         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24696         hidden libm prototypes.
24697         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24698         * math/Makefile (libm-calls): Add s_issignaling.
24699         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24700         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24701         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24702         declaration.
24703         * math/math.h [__USE_GNU] (issignaling): New macro.
24704         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24705         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24706         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24707         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24708         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24710         * manual/arith.texi (issignaling): New section.
24711         * manual/libm-err-tab.pl (@all_functions): Update comment.
24712         * math/gen-libm-test.pl (parse_args): Apply special handling for
24713         issignaling.
24714         * math/libm-test.inc (print_float, issignaling_test): New
24715         functions.
24716         (check_float_internal): Add issignaling checks.
24717         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24718         default definition.
24719         * sysdeps/powerpc/math-tests.h: New file.
24720         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24721         tests.
24722         * math/test-snan.c (TEST_FUNC): Likewise.
24724 2013-03-30  David S. Miller  <davem@davemloft.net>
24726         * po/de.po: Update from translation team.
24728 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24730         [BZ #10357]
24731         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24732         imaginary part less than 1.0 and real part less than 0.5
24733         specially.
24734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24736         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24737         (cacos_test): Add more tests.
24738         (casin_test): Likewise.
24739         (casinh_test): Likewise.
24740         * sysdeps/i386/fpu/libm-test-ulps: Update.
24741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24745         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24746         ONE with its value.
24748         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24749         (__pow_mp): Replace ONE and MONE with their values.
24750         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24751         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24752         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24753         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24754         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24755         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24757         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24759         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24760         (__pow_mp): Replace ZERO and MZERO with their values.
24761         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24763         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24765         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24766         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24767         (__sqr): Likewise.
24769         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24771         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24773 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24775         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24776         Declare with __attribute__ ((weak)).
24777         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24778         Call __call_tls_dtors only if it's not NULL.
24780 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24782         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24783         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24784         magic __ehdr_start linker symbol if it's defined.
24785         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24786         them up here if it was already done.
24788         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24789         (_dl_aux_init): Use const in cast when setting it.
24790         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24791         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24792         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24794         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24795         Declare them here.
24796         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24797         * csu/libc-tls.c: Nor here.
24798         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24800         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24801         (__libc_message): Never call vsyslog.
24803 2013-03-28  Alan Modra  <amodra@gmail.com>
24805         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24806         Define as empty.
24807         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24808         Likewise.
24810 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24812         [BZ #15214]
24813         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24814         underflow.
24815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24817 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24819         [BZ #15304]
24820         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24821         Don't add gid passed as argument.
24823         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24825 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24827         [BZ #15307]
24828         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24829         imaginary part between 1.0 and 1.5 and real part less than 0.5
24830         specially.
24831         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24832         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24833         * math/libm-test.inc (cacos_test): Add more tests.
24834         (casin_test): Likewise.
24835         (casinh_test): Likewise.
24836         * sysdeps/i386/fpu/libm-test-ulps: Update.
24837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24839 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24841         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24842         constants.
24843         (norm): Likewise.
24844         (denorm): Likewise.
24845         (__dbl_mp): Likewise.
24846         (add_magnitudes): Likewise.
24847         (sub_magnitudes): Likewise.
24848         (__add): Likewise.
24849         (__sub): Likewise.
24850         (__mul): Likewise.
24851         (__sqr): Likewise.
24852         (__inv): Likewise.
24853         (__dvd): Likewise.
24855         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24856         commented code.
24857         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24858         (__dubcos): Likewise.
24859         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24860         (__ieee754_acos): Likewise.
24861         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24862         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24863         (__exp1): Likewise.
24864         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24866         (log1): Likewise.
24867         (my_log2): Likewise.
24868         (checkint): Likewise.
24869         * sysdeps/ieee754/dbl-64/e_remainder.c
24870         (__ieee754_remainder): Likewise.
24871         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24873         (bsloww): Likewise.
24874         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24876         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24877         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24878         MANTISSA_STORE_T to store computations on mantissa.  Use
24879         macros for rounding and division.
24880         (denorm): Likewise.
24881         (__dbl_mp): Likewise.
24882         (add_magnitudes): Likewise.
24883         (sub_magnitudes): Likewise.
24884         (__mul): Likewise.
24885         (__sqr): Likewise.
24886         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24887         powers of two in terms of TWOPOW macro.
24888         (mp_no): Make type of mantissa as MANTISSA_T.
24889         [!RADIXI]: Define RADIXI.
24890         [!TWO52]: Define TWO52.
24891         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24893 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24895         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24896         llroundl symbol when building for PPC32.
24898 2013-03-24  Mark H Weaver  <mhw@netris.org>
24900         * manual/arith.texi (Normalization Functions): Fix prototypes for
24901         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24903 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24905         [BZ #13889]
24906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24907         high value to check if expl overflow.
24908         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24909         to check for underflow and overflow.
24910         * math/libm-test.inc: Add exp test.
24912 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24914         [BZ #11120]
24915         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24916         with NOT_IN_libc.
24918 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24920         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24921         symbol.
24923 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24925         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24926         wrap blocks consisting of several statements.
24928         * sysdeps/generic/math-tests.h: New file.
24929         * sysdeps/i386/fpu/math-tests.h: Likewise.
24930         * math/test-snan.c: Include it.
24931         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24933 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24935         [BZ #15285]
24936         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24937         (__ieee754_j0l): Do not improve calculations using cos of twice
24938         input for inputs above LDBL_MAX / 2.0L.
24939         (__ieee754_y0l): Likewise.
24940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24941         (__ieee754_j1l): Do not improve calculations using cos of twice
24942         input for inputs above LDBL_MAX / 2.0L.
24943         (__ieee754_y1l): Likewise.
24944         * math/libm-test.inc (j0_test): Add another test.
24945         (j1_test): Likewise.
24946         (y0_test): Likewise.
24947         (y1_test): Likewise.
24948         * sysdeps/i386/fpu/libm-test-ulps: Update.
24950 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24952         * Rules ($(objpfx)bench-%.c): Include code from a C source
24953         file.
24955 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24957         [BZ #15287]
24958         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24959         imaginary part 1.0 and real part less than 0.5 specially.
24960         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24961         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24962         * math/libm-test.inc (cacos_test): Add more tests.
24963         (casin_test): Likewise.
24964         (casinh_test): Likewise.
24965         * sysdeps/i386/fpu/libm-test-ulps: Update.
24966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24970         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24971         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24973 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24975         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24976         * config.make.in (config-cflags-sse4): Remove variable.
24977         (config-cflags-avx): Likewise.
24978         (config-cflags-sse2avx): Likewise.
24979         (config-cflags-novzeroupper): Likewise.
24980         (config-asflags-i686): Likewise.
24981         (have-mfma4): Likewise.
24982         (have-as-vis3): Likewise.
24983         (MIG): Likewise.
24984         * configure.in (MIG): Do not AC_SUBST.
24985         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24986         (libc_cv_cc_sse4): Do not AC_SUBST.
24987         (libc_cv_cc_avx): Likewise.
24988         (libc_cv_cc_sse2avx): Likewise.
24989         (libc_cv_cc_novzeroupper): Likewise.
24990         (libc_cv_cc_fma4): Likewise.
24991         (libc_cv_as_i686): Likewise.
24992         (libc_cv_sparc_as_vis3): Likewise.
24993         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24994         LIBC_CONFIG_VAR.
24995         (config-asflags-i686): Likewise.
24996         (config-cflags-avx): Likewise.
24997         (config-cflags-sse2avx): Likewise.
24998         (have-mfma4): Likewise.
24999         (config-cflags-novzeroupper): Likewise.
25000         * sysdeps/mach/configure.in (MIG): Likewise.
25001         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25002         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25003         LIBC_CONFIG_VAR.
25004         (config-cflags-avx): Likewise.
25005         (config-cflags-sse2avx): Likewise.
25006         (have-mfma4): Likewise.
25007         (config-cflags-novzeroupper): Likewise.
25008         * configure: Regenerated.
25009         * sysdeps/i386/configure: Likewise.
25010         * sysdeps/mach/configure: Likewise.
25011         * sysdeps/sparc/configure: Likewise.
25012         * sysdeps/x86_64/configure: Likewise.
25014 2013-03-20  Roland McGrath  <roland@hack.frob.com>
25016         [BZ #14812]
25017         * locale/programs/localedef.c (options): Put N_ translation marker
25018         on argument names, not just descriptions.
25020 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25022         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25024 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
25026         [BZ #14176]
25027         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25029 2013-03-19  Roland McGrath  <roland@hack.frob.com>
25031         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25032         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25033         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25034         [!BEFORE_ABORT] (before_abort): New function.
25035         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25036         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25037         (writev_for_fatal): New function.
25038         (WRITEV_FOR_FATAL): New macro; call that.
25039         (backtrace_and_maps): New function.
25040         (BEFORE_ABORT): New macro; call that.
25041         (struct str_list): Type removed.
25042         (__libc_message, __libc_fatal): Functions removed.
25043         Include <sysdeps/posix/libc_fatal.c> instead.
25045 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
25047         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25048         constants.
25049         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25050         double constants.
25052 2013-03-19  Andreas Schwab  <schwab@suse.de>
25054         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25055         * sysdeps/gnu/configure: Regenerate.
25057         * configure.in: Substitute libc_cv_rtlddir.
25058         * configure: Regenerate.
25059         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25060         * Makeconfig (rtlddir, inst_rtlddir): New variables.
25061         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25062         * elf/Makefile (install-others, CFLAGS-interp.c)
25063         (ldso_install, common-ldd-rewrite): Likewise.
25064         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25065         $(inst_slibdir)/$(rtld-installed-name).
25066         * scripts/rellns-sh: Add -p option.
25067         * Makerules (make-shlib-link): Use rellns-sh to get relative name
25068         for source.
25070 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25072         * manual/nptl.texi: Renamed to ...
25073         * manual/threads.texi: ... this.
25074         * manual/Makefile (chapters): Update.
25076 2013-03-18  Roland McGrath  <roland@hack.frob.com>
25078         [BZ #14812]
25079         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25080         on argument names, not just descriptions.
25081         * malloc/memusagestat.c (options): Likewise.
25082         * nss/getent.c (options): Likewise.
25084 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
25086         [BZ #14812]
25087         * iconv/iconv_prog.c (options): Put N_ translation marker
25088         on argument names, not just descriptions.
25089         * iconv/iconvconfig.c (options): Likewise.
25091 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
25093         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25094         implementation which is faster on all x86_64 architectures.
25095         Tested on AMD, Intel Nehalem, SNB, IVB.
25096         * sysdeps/x86_64/strnlen.S: Likewise.
25098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25099         Remove all multiarch strlen and strnlen versions.
25100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25101         Remove strlen and strnlen related parts.
25103         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25104         Inline strlen part.
25105         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25107         * sysdeps/x86_64/multiarch/strlen.S: Remove.
25108         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25109         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25110         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25111         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25112         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25114 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
25116         * manual/memory.texi (Malloc Tunable Parameters):
25117         Sort parameters alphabetically. Add comments for missing entries.
25119 2013-03-17  David S. Miller  <davem@davemloft.net>
25121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25123 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
25125         [BZ #15283]
25126         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25127         for arguments at most half maximum finite value.
25128         * math/libm-test.inc (j0_test): Add more tests.
25129         (j1_test): Likewise.
25130         (y0_test): Likewise.
25131         (y1_test): Likewise.
25132         * sysdeps/i386/fpu/libm-test-ulps: Update.
25133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25135         [BZ #14155]
25136         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25137         1 / x and functions P and Q for arguments above 0x1p256L.
25138         (__ieee754_y0l): Likewise.
25139         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25140         (__ieee754_y1l): Likewise.
25141         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25142         (j1_test): Likewise.
25143         (y0_test): Likewise.
25144         (y1_test): Likewise.
25146 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
25148         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25149         variable.
25151 2013-03-15  Roland McGrath  <roland@hack.frob.com>
25153         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25154         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25155         zero since it's initialized to EXEC_PAGESIZE.
25157         * sysdeps/unix/sysv/linux/ldsodefs.h
25158         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25159         * sysdeps/generic/ldsodefs.h: ... here.
25161 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
25163         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25165         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25166         math/test-snan.c.
25167         * math/test-snan.c: Renamed from
25168         sysdeps/powerpc/fpu/test-powerpc-snan.c.
25169         * math/Makefile (tests): Add test-snan.
25170         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25171         test-powerpc-snan.
25173         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25174         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
25175         functions.
25176         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
25177         __builtin_nan family of functions.
25178         * math/libm-test.inc (initialize): Initialize qnan_value with
25179         __builtin_nan family of functions.
25180         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25181         Remove variables.
25182         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25183         Remove functions.
25184         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
25185         storage class.  Initialize qNaN_var and sNaN_var with
25186         __builtin_nan and __builtin_nans families of functions,
25187         respectively.
25189         * math/libm-test.inc (acosh_test): Also test with qNaN input.
25190         (sqrt_test): Remove duplicate test with qNaN input.
25191         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25192         (round_test, signbit_test, significand_test): Note missing +/-Inf
25193         as well as qNaN tests.
25195         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25196         qNaN_var.  Fix a few strings, too.
25197         * math/libm-test.inc (nan_value): Rename to qnan_value.
25198         * math/gen-libm-test.pl (%beautify): Adjust to that.
25199         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25200         * math/test-misc.c (main): Likewise.
25201         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25202         to __qnan_bytes, and __qnan_union, respectively.
25203         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25204         Likewise.
25205         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25206         and lqnanval, respectively.
25207         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25208         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25209         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25210         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25212         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25213         * math/test-misc.c (main) [__x86_64__]: Enable test for long
25214         doubles.
25216         * math/test-misc.c (main): Fix copy'n'pastos.
25217         * misc/tst-efgcvt.c (special): Likewise.
25219         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25220         Remove declarations.
25222 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25224         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25225         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25226         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25227         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25229 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25232         macro to return vdso values correctly in IFUNC implementations.
25233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25234         Optimization by using IFUNC.
25236 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25237             Richard Henderson  <rth@redhat.com>
25238             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25240         * Makefile.in (bench): New target.
25241         * NEWS: Mention the benchmark framework.
25242         * Rules (bench): Likewise.
25243         (binaries-bench): Generate binaries for functions to
25244         benchmark.
25245         * benchtests/Makefile: New makefile for benchmark tests.
25246         * benchtests/bench-skeleton.c: New skeleton file for benchmark
25247         programs.
25248         * benchtests/exp-inputs: New input file for EXP function.
25249         * benchtests/pow-inputs: New input file for POW function.
25250         * scripts/bench.pl: New script to generate source files for
25251         benchmark programs.
25253 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25255         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25256         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25257         computations on mantissa.  Use macros for rounding and
25258         division.
25259         (denorm): Likewise.
25260         (__dbl_mp): Likewise.
25261         (add_magnitudes): Likewise.
25262         (sub_magnitudes): Likewise.
25263         (__mul): Likewise.
25264         (__sqr): Likewise.
25265         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25266         powers of two in terms of TWOPOW macro.
25267         (mp_no): Make type of mantissa as MANTISSA_T.
25268         [!RADIXI]: Define RADIXI.
25269         [!TWO52]: Define TWO52.
25270         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25272         * manual/nptl.texi (cindex): Modify threads to pthreads.
25274 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
25276         * sysdeps/x86_64/preconfigure: Regenerated.
25278 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25280         [BZ #14155]
25281         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25282         0x1p28 and above.
25283         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25284         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25285         0x1p28 and above.
25286         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25287         * math/libm-test.inc (j0_test): Do not allow one spurious
25288         underflow exception.
25289         (y1_test): Likewise.
25291 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25293         * manual/Makefile (chapters): Add nptl.
25294         * manual/debug.texi (Debugging Support): Add link to Threads
25295         chapter.
25296         * manual/nptl.texi: New file.
25298         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25300 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25302         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25303         for non-NULL pointer before the memory validity test. Pointed
25304         out by Holger Brunck <holger.brunck@keymile.com>.
25306 2013-03-13  Andreas Schwab  <schwab@suse.de>
25308         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25309         instead of .os.
25311 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25313         * timezone/zic.c: Update from tzcode 2013b.
25315 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25317         * manual/install.texi (Configuring and compiling):
25318         Mention i686 and i586.
25319         * INSTALL: Regenerate.
25321 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25323         * sysdeps/init_array/elf-init.c: New file.
25324         * csu/elf-init.c
25325         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25326         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25328         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25329         __gmon_start__ as global, but as static with a .preinit_array pointer.
25330         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25331         * sysdeps/init_array/crti.S: New file, empty except for comments.
25332         * sysdeps/init_array/crtn.S: Likewise.
25334 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25336         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25337         definining bcopy.
25338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25339         Remove Prefer_SSE_for_memop.
25340         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25341         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25342         HAS_PREFER_SSE_FOR_MEMOP.
25343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25344         memset-x86-64.
25345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25346         Remove bzero, memset ifunc support.
25347         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25348         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25349         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25350         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25352 2013-03-11  Andreas Schwab  <schwab@suse.de>
25354         [BZ #15234]
25355         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25356         by SHLIB_COMPAT.
25357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25358         (GLIBC_2.16): Remove pthread_atfork.
25360 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25362         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25363         (ptestcases.h): Likewise.
25365 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25367         * Makeconfig ($(common-objpfx)config.status): Depend on
25368         sysdeps/*/preconfigure{,.in} too.
25370 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25372         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25373         (__free_hook): Use void * instead of __malloc_ptr_t.
25374         (__malloc_hook): Likewise.
25375         (__realloc_hook): Likewise.
25376         (__memalign_hook): Likewise.
25377         (__after_morecore_hook): Likewise.
25378         * malloc/arena.c (save_malloc_hook): Likewise.
25379         (save_free_hook): Likewise.
25380         * malloc/hooks.c (malloc_hook_ini): Likewise.
25381         (realloc_hook_ini): Likewise.
25382         (memalign_hook_ini): Likewise.
25383         * malloc/malloc.c (malloc_hook_ini): Likewise.
25384         (realloc_hook_ini): Likewise.
25385         (memalign_hook_ini): Likewise.
25386         (__free_hook): Likewise.
25387         (__malloc_hook): Likewise.
25388         (__realloc_hook): Likewise.
25389         (__memalign_hook): Likewise.
25390         (__libc_malloc): Likewise.
25391         (__libc_free): Likewise.
25392         (__libc_realloc): Likewise.
25393         (__libc_memalign): Likewise.
25394         (__libc_valloc): Likewise.
25395         (__libc_pvalloc): Likewise.
25396         (__libc_calloc): Likewise.
25397         (__posix_memalign): Likewise.
25398         * malloc/morecore.c (__sbrk): Likewise.
25399         (__default_morecore): Likewise.
25401         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25403         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25404         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25405         __malloc_ptrdiff_t.
25407         * malloc/malloc.h (__malloc_size_t): Remove macro.
25408         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25409         __malloc_size_t.
25410         (old_memalign_hook): Likewise.
25411         (old_realloc_hook): Likewise.
25412         (struct hdr): Likewise.
25413         (flood): Likewise.
25414         (mallochook): Likewise.
25415         (memalignhook): Likewise.
25416         (reallochook): Likewise.
25417         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25418         (tr_old_realloc_hook): Likewise.
25419         (tr_old_memalign_hook): Likewise.
25420         (tr_mallochook): Likewise.
25421         (tr_reallochook): Likewise.
25422         (tr_memalignhook): Likewise.
25424 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25427         default_ldbl_pack and using as default implementation.
25428         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25429         implementation.
25430         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25431         redundant definition.
25432         (ldbl_insert_mantissa): Likewise.
25433         (ldbl_canonicalize): Likewise.
25434         (ldbl_nearbyint): Likewise.
25435         (ldbl_pack): Rename to ldbl_pack_ppc.
25436         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25437         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25438         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25440 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25443         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25445         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25448         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25449         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25451 2013-03-07  Andreas Jaeger  <aj@suse.de>
25453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25454         bits/mman-linux.h.
25456 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25458         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25459         Include mpa.h and declare __MPEXP.
25460         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25461         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25462         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25463         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25464         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25465         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25466         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25468         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25469         (__slowpow): Use long double EXPL and LOGL functions to
25470         compute POW.
25471         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25472         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25473         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25474         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25475         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25476         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25479         intermediate variable to calculate exponent.
25480         (__sqr): Likewise.
25481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25482         Likewise.
25483         (__sqr): Likewise.
25485         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25486         [!NO__SQR]: Define __sqr.
25487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25488         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25489         sysdeps/ieee754/dbl-64/mpa.c.
25490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25492         [BZ #12723]
25493         * posix/Makefile (tests): Add tst-pathconf.
25494         * posix/tst-pathconf.c: New test case.
25495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25496         _PC_PIPE_BUF.
25497         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25499 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25501         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25503 2013-03-06  Andreas Jaeger  <aj@suse.de>
25505         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25506         definition via __MAP_ANONYMOUS.
25508         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25509         it's not part of Linux headers.
25511         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25512         (MAP_HUGE_MASK): Define.
25514         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25515         Define.
25516         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25517         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25518         Define.
25519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25520         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25521         Define.
25522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25524         Define.
25525         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25527         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25528         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25529         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25530         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25531         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25532         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25534         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25535         Handle f2fs.
25537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25538         Handle f2fs and efivarfs.
25540         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25541         f2fs.
25543         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25544         (EFIVARFS_MAGIC): Add.
25545         (F2FS_LINK_MAX): Add.
25547 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25549         * stdio-common/vfprintf.c: Replace __builtin_expect with
25550         __glibc_unlikely.
25552 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25554         [BZ #13550]
25555         * sysdeps/generic/bp-sym.h: Remove file.
25556         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25557         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25558         <bp-sym.h> and <bp-asm.h>.
25559         (__longjmp): Don't use BP_SYM.
25560         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25561         and <bp-asm.h>.
25562         (memcpy): Don't use BP_SYM.
25563         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25564         <bp-sym.h> and <bp-asm.h>.
25565         (memcpy): Don't use BP_SYM.
25566         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25567         <bp-asm.h>.
25568         (memcpy): Don't use BP_SYM.
25569         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25570         <bp-asm.h>.
25571         (memset): Don't use BP_SYM.
25572         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25573         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25574         (__bzero): Don't use BP_SYM.
25575         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25576         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25577         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25578         <bp-sym.h> and <bp-asm.h>.
25579         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25580         pointers.
25581         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25582         <bp-sym.h> and <bp-asm.h>.
25583         (memcpy): Don't use BP_SYM.
25584         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25585         <bp-sym.h> and <bp-asm.h>.
25586         (memset): Don't use BP_SYM.
25587         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25588         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25589         (__bzero): Don't use BP_SYM.
25590         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25591         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25592         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25593         <bp-sym.h> and <bp-asm.h>.
25594         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25595         pointers.
25596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25597         <bp-sym.h> and <bp-asm.h>.
25598         (memcpy): Don't use BP_SYM.
25599         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25600         <bp-sym.h> and <bp-asm.h>.
25601         (memset): Don't use BP_SYM.
25602         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25603         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25604         (__bzero): Don't use BP_SYM.
25605         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25606         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25608         <bp-sym.h> and <bp-asm.h>.
25609         (__memchr): Don't use BP_SYM.
25610         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25611         <bp-sym.h> and <bp-asm.h>.
25612         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25613         pointers.
25614         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25615         <bp-sym.h> and <bp-asm.h>.
25616         (memcpy): Don't use BP_SYM.
25617         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25618         <bp-sym.h> and <bp-asm.h>.
25619         (__mempcpy): Don't use BP_SYM.
25620         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25621         <bp-sym.h> and <bp-asm.h>.
25622         (__memrchr): Don't use BP_SYM.
25623         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25624         <bp-sym.h> and <bp-asm.h>.
25625         (memset): Don't use BP_SYM.
25626         (__bzero): Likewise.
25627         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25628         <bp-sym.h> and <bp-asm.h>.
25629         (__rawmemchr): Don't use BP_SYM.
25630         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25631         <bp-sym.h> and <bp-asm.h>.
25632         (__STRCMP): Don't use BP_SYM.
25633         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25634         <bp-sym.h> and <bp-asm.h>.
25635         (strchr): Don't use BP_SYM.
25636         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25637         <bp-sym.h> and <bp-asm.h>.
25638         (__strchrnul): Don't use BP_SYM.
25639         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25640         <bp-sym.h> and <bp-asm.h>.
25641         (strlen): Don't use BP_SYM.
25642         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25643         <bp-sym.h> and <bp-asm.h>.
25644         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25645         pointers.
25646         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25647         <bp-sym.h> and <bp-asm.h>.
25648         (__strnlen): Don't use BP_SYM.
25649         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25650         <bp-sym.h> and <bp-asm.h>.
25651         (__GI__setjmp): Don't use BP_SYM.
25652         (_setjmp): Likewise.
25653         (__sigsetjmp): Likewise.
25654         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25655         (L(start_addresses)): Don't use BP_SYM.
25656         (_start): Likewise.
25657         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25658         <bp-asm.h>.
25659         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25660         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25661         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25662         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25663         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25664         <bp-asm.h>.
25665         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25666         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25667         about bounded pointers.
25668         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25669         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25670         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25671         <bp-asm.h>.
25672         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25673         about bounded pointers.  Remove GKM FIXME comments.
25674         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25675         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25676         <bp-asm.h>.
25677         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25678         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25679         Remove GKM FIXME comments.
25680         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25681         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25682         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25683         <bp-asm.h>.
25684         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25685         about bounded pointers.  Remove GKM FIXME comment.
25686         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25687         and <bp-asm.h>.
25688         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25689         pointers.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25691         <bp-sym.h> and <bp-asm.h>.
25692         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25694         <bp-sym.h> and <bp-asm.h>.
25695         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25696         comment.
25698 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25700         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25701         call free(NULL).
25703 2013-03-05  David S. Miller  <davem@davemloft.net>
25705         * po/es.po: Update from translation team.
25707 2013-03-05  Andreas Jaeger  <aj@suse.de>
25709         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25710         <bits/mman-linux.h>.
25711         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25712         is fine.
25713         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25714         <bits/mman-linux.h> to end of file.
25715         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25716         is fine.
25717         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25718         <bits/mman-linux.h> to end of file.
25719         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25720         is fine.
25721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25722         <bits/mman-linux.h> to end of file.
25724         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25725         (MCL_CURRENT, MCL_FUTURE): Define here.
25727 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25729         [BZ #15232]
25730         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25731         attribute_hidden.
25732         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25734 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25736         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25737         fourth parameter needed for rt_sigprocmask syscall.
25738         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25739         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25740         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25741         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25742         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25743         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25745 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25747         [BZ #13550]
25748         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25749         comment about bounded pointers.
25750         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25751         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25753 2013-03-04  Andreas Jaeger  <aj@suse.de>
25755         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25756         common definitions.
25758         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25759         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25760         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25761         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25762         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25763         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25765 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25767         [BZ #15055]
25768         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25769         __ieee754_sqrl instead of __sqrl.
25771 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25773         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25774         * sysdeps/powerpc/fpu_control.h: ... here.
25775         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25776         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25777         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25778         * sysdeps/powerpc/bits/mathinline.h: ... here.
25780 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25782         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25783         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25784         to just [NEED_DL_SYSINFO_DSO].
25785         * elf/dl-support.c: Likewise.
25786         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25787         * elf/rtld.c (dl_main): Likewise.
25788         * elf/setup-vdso.h (setup_vdso): Likewise.
25789         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25790         * sysdeps/unix/sysv/linux/dl-sysdep.c
25791         (_dl_discover_osversion): Likewise.
25793 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25795         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25796         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25798 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25800         * NEWS: Mention libm performance improvements and non-x86 PI
25801         futex support.
25803         * csu/libc-start.c (__pthread_initialize_minimal): Change
25804         function arguments.
25805         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25807 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25809         [BZ #13550]
25810         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25811         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25812         <bp-sym.h> and <bp-asm.h>.
25813         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25814         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25815         and <bp-asm.h>.
25816         (memcpy): Don't use BP_SYM.
25817         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25818         <bp-asm.h>.
25819         (__mpn_add_n): Don't use BP_SYM.
25820         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25821         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25822         and <bp-asm.h>.
25823         (__mpn_addmul_1): Don't use BP_SYM.
25824         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25825         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25826         <bp-sym.h>.
25827         (_setjmp): Don't use BP_SYM.
25828         (__novmx_setjmp): Likewise.
25829         (__GI__setjmp): Likewise.
25830         (__vmx_setjmp): Likewise.
25831         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25832         <bp-sym.h>.
25833         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25834         (__bzero): Don't use BP_SYM.
25835         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25836         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25837         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25838         <bp-sym.h> and <bp-asm.h>.
25839         (memcpy): Don't use BP_SYM.
25840         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25841         <bp-sym.h> and <bp-asm.h>.
25842         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25843         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25844         <bp-sym.h> and <bp-asm.h>.
25845         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25846         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25847         <bp-asm.h>.
25848         (__mpn_lshift): Don't use BP_SYM.
25849         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25850         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25851         <bp-asm.h>.
25852         (memset): Don't use BP_SYM.
25853         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25854         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25855         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25856         <bp-asm.h>.
25857         (__mpn_mul_1): Don't use BP_SYM.
25858         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25859         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25860         <bp-sym.h> and <bp-asm.h>.
25861         (memcmp): Don't use BP_SYM.
25862         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25863         <bp-sym.h> and <bp-asm.h>.
25864         (memcpy): Don't use BP_SYM.
25865         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25866         <bp-sym.h> and <bp-asm.h>.
25867         (memset): Don't use BP_SYM.
25868         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25869         <bp-sym.h> and <bp-asm.h>.
25870         (strncmp): Don't use BP_SYM.
25871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25872         <bp-sym.h> and <bp-asm.h>.
25873         (memcpy): Don't use BP_SYM.
25874         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25875         <bp-sym.h> and <bp-asm.h>.
25876         (memset): Don't use BP_SYM.
25877         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25878         <bp-sym.h> and <bp-asm.h>.
25879         (__memchr): Don't use BP_SYM.
25880         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25881         <bp-sym.h> and <bp-asm.h>.
25882         (memcmp): Don't use BP_SYM.
25883         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25884         <bp-sym.h> and <bp-asm.h>.
25885         (memcpy): Don't use BP_SYM.
25886         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25887         <bp-sym.h> and <bp-asm.h>.
25888         (__mempcpy): Don't use BP_SYM.
25889         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25890         <bp-sym.h> and <bp-asm.h>.
25891         (__memrchr): Don't use BP_SYM.
25892         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25893         <bp-sym.h> and <bp-asm.h>.
25894         (memset): Don't use BP_SYM.
25895         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25896         <bp-sym.h> and <bp-asm.h>.
25897         (__rawmemchr): Don't use BP_SYM.
25898         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25899         <bp-sym.h> and <bp-asm.h>.
25900         (__STRCMP): Don't use BP_SYM.
25901         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25902         <bp-sym.h> and <bp-asm.h>.
25903         (strchr): Don't use BP_SYM.
25904         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25905         <bp-sym.h> and <bp-asm.h>.
25906         (__strchrnul): Don't use BP_SYM.
25907         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25908         <bp-sym.h> and <bp-asm.h>.
25909         (strlen): Don't use BP_SYM.
25910         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25911         <bp-sym.h> and <bp-asm.h>.
25912         (strncmp): Don't use BP_SYM.
25913         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25914         <bp-sym.h> and <bp-asm.h>.
25915         (__strnlen): Don't use BP_SYM.
25916         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25917         <bp-asm.h>.
25918         (__mpn_rshift): Don't use BP_SYM.
25919         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25920         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25921         <bp-sym.h> and <bp-asm.h>.
25922         (__sigsetjmp): Don't use BP_SYM.
25923         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25924         (L(start_addresses)): Don't use BP_SYM.
25925         (_start): Likewise.
25926         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25927         <bp-asm.h>.
25928         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25929         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25930         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25931         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25932         <bp-asm.h>.
25933         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25934         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25935         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25936         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25937         <bp-asm.h>.
25938         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25939         comments.
25940         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25941         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25942         <bp-asm.h>.
25943         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25944         FIXME comments.
25945         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25946         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25947         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25948         <bp-asm.h>.
25949         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25950         comment.
25951         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25952         and <bp-asm.h>.
25953         (strncmp): Don't use BP_SYM,
25954         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25955         <bp-asm.h>.
25956         (__mpn_sub_n): Don't use BP_SYM.
25957         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25958         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25959         and <bp-asm.h>.
25960         (__mpn_submul_1): Don't use BP_SYM.
25961         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25963         <bp-sym.h> and <bp-asm.h>.
25964         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25966         <bp-sym.h> and <bp-asm.h>.
25967         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25968         comment.
25970 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25973         Use ZK to minimize writes to Z.
25974         (sub_magnitudes): Simplify code a bit.
25975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25976         Use ZK to minimize writes to Z.
25977         (sub_magnitudes): Simplify code a bit.
25979 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25981         * csu/gmon-start.c: Add special exception to license text.
25983 2013-02-27  Richard Henderson  <rth@redhat.com>
25985         * scripts/config.guess: Update from config.git.
25986         * scripts/config.sub: Likewise.
25988 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25990         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25992         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25994         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25996         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25998         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26000 2013-02-26  Roland McGrath  <roland@hack.frob.com>
26002         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26003         [$(build-shared = yes].
26005 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26007         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26008         (__mul): Reduce iterations for calculating mantissa.
26010         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26011         MPTWO.
26012         (__mpranred): Likewise.
26014         [BZ #15160]
26015         * malloc/memusagestat.c (main): Draw graphs for heap and stack
26016         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26018 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
26020         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26021         Define __attribute__.
26023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26025         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26026         unused.
26027         * posix/regex_internal.h (__attribute): Remove.
26028         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26029         (re_string_context_at): Likewise.
26030         (bitset_not): Use __attribute__ and mark function as possibly
26031         unused.
26032         (bitset_merge): Likewise.
26033         (bitset_mask): Likewise.
26034         (re_string_char_size_at): Likewise.
26035         (re_string_wchar_at): Likewise.
26036         (re_string_elem_size_at): Likewise.
26038 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26040         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26041         code.
26042         (cc32): Likewise.
26044         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26045         (__acr): Likewise.
26046         (__cpy): Likewise.
26047         (norm): Likewise.
26048         (denorm): Likewise.
26049         (__dbl_mp): Likewise.
26050         (add_magnitudes): Likewise.
26051         (sub_magnitudes): Likewise.
26052         (__mul): Likewise.
26053         (__inv): Likewise.
26055         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26056         style.
26058         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26059         style.
26061         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26062         code.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26065         up changes with default code.
26066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26067         Likewise.
26069 2013-02-24  Allan McRae  <allan@archlinux.org>
26071         * manual/socket.texi (The Internet Namespace): Order menu items
26072         to match that in the file.
26074         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26075         node listing of the info page menu.
26077 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
26079         [BZ #13550]
26080         * sysdeps/i386/bp-asm.h: Remove file.
26081         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26082         (PARMS): Do not use macros from bp-asm.h.
26083         (S1): Likewise.
26084         (S2): Likewise.
26085         (SIZE): Likewise.
26086         (__mpn_add_n): Do not use BP_SYM
26087         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26088         "bp-asm.h".
26089         (PARMS): Do not use macros from bp-asm.h.
26090         (S1): Likewise.
26091         (SIZE): Likewise.
26092         (__mpn_addmul_1): Do not use BP_SYM
26093         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26094         "bp-asm.h".
26095         (PARMS): Do not use macros from bp-asm.h.
26096         (SIGMSK): Likewise.
26097         (_setjmp): Likewise.  Do not use BP_SYM.
26098         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26099         "bp-asm.h".
26100         (PARMS): Do not use macros from bp-asm.h.
26101         (SIGMSK): Likewise.
26102         (setjmp): Likewise.  Do not use BP_SYM.
26103         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26104         "bp-asm.h".
26105         (PARMS): Do not use macros from bp-asm.h.
26106         (__frexp): Do not use BP_SYM.
26107         (frexp): Likewise.
26108         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26109         "bp-asm.h".
26110         (PARMS): Do not use macros from bp-asm.h.
26111         (__frexpf): Do not use BP_SYM.
26112         (frexpf): Likewise.
26113         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26114         "bp-asm.h".
26115         (PARMS): Do not use macros from bp-asm.h.
26116         (__frexpl): Do not use BP_SYM.
26117         (frexpl): Likewise.
26118         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26119         "bp-asm.h".
26120         (PARMS): Do not use macros from bp-asm.h.
26121         (__remquo): Do not use BP_SYM.
26122         (remquo): Likewise.
26123         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26124         "bp-asm.h".
26125         (PARMS): Do not use macros from bp-asm.h.
26126         (__remquof): Do not use BP_SYM.
26127         (remquof): Likewise.
26128         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26129         "bp-asm.h".
26130         (PARMS): Do not use macros from bp-asm.h.
26131         (__remquol): Do not use BP_SYM.
26132         (remquol): Likewise.
26133         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26134         "bp-asm.h".
26135         (PARMS): Do not use macros from bp-asm.h.
26136         (DEST): Likewise.
26137         (SRC): Likewise.
26138         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
26139         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26140         "bp-asm.h".
26141         (PARMS): Do not use macros from bp-asm.h.
26142         (strlen): Do not use BP_SYM.
26143         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26144         "bp-asm.h".
26145         (PARMS): Do not use macros from bp-asm.h.
26146         (S1): Likewise.
26147         (S2): Likewise.
26148         (SIZE): Likewise.
26149         (__mpn_add_n): Do not use BP_SYM.
26150         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26151         "bp-asm.h".
26152         (PARMS): Do not use macros from bp-asm.h.
26153         (S1): Likewise.
26154         (SIZE): Likewise.
26155         (__mpn_addmul_1): Do not use BP_SYM.
26156         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26157         weak_alias.
26158         (bzero): Likewise.
26159         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26160         "bp-asm.h".
26161         (PARMS): Do not use macros from bp-asm.h.
26162         (S): Likewise.
26163         (SIZE): Likewise.
26164         (__mpn_lshift): Do not use BP_SYM.
26165         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26166         "bp-asm.h".
26167         (PARMS): Do not use macros from bp-asm.h.
26168         (DEST): Likewise.
26169         (SRC): Likewise.
26170         (LEN): Likewise.
26171         (memcpy): Likewise.  Do not use BP_SYM.
26172         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26173         libc_hidden_def and weak_alias.
26174         (mempcpy): Do not use BP_SYM in weak_alias.
26175         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26176         "bp-asm.h".
26177         (PARMS): Do not use macros from bp-asm.h.
26178         (DEST): Likewise.
26179         (LEN): Likewise.
26180         [!BZERO_P] (CHR): Likewise.
26181         (memset): Likewise.  Do not use BP_SYM.
26182         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26183         "bp-asm.h".
26184         (PARMS): Do not use macros from bp-asm.h.
26185         (S1): Likewise.
26186         (SIZE): Likewise.
26187         (__mpn_mul_1): Do not use BP_SYM.
26188         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26189         "bp-asm.h".
26190         (PARMS): Do not use macros from bp-asm.h.
26191         (S): Likewise.
26192         (SIZE): Likewise.
26193         (__mpn_rshift): Do not use BP_SYM.
26194         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26195         "bp-asm.h".
26196         (PARMS): Do not use macros from bp-asm.h.
26197         (STR): Likewise.
26198         (CHR): Likewise.
26199         (strchr): Likewise.  Do not use BP_SYM.
26200         (index): Do not use BP_SYM in weak_alias.
26201         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26202         "bp-asm.h".
26203         (PARMS): Do not use macros from bp-asm.h.
26204         (DEST): Likewise.
26205         (SRC): Likewise.
26206         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
26207         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26208         "bp-asm.h".
26209         (PARMS): Do not use macros from bp-asm.h.
26210         (strlen): Do not use BP_SYM.
26211         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26212         "bp-asm.h".
26213         (PARMS): Do not use macros from bp-asm.h.
26214         (S1): Likewise.
26215         (S2): Likewise.
26216         (SIZE): Likewise.
26217         (__mpn_sub_n): Do not use BP_SYM.
26218         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26219         "bp-asm.h".
26220         (PARMS): Do not use macros from bp-asm.h.
26221         (S1): Likewise.
26222         (SIZE): Likewise.
26223         (__mpn_submul_1): Do not use BP_SYM.
26224         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26225         "bp-asm.h".
26226         (PARMS): Do not use macros from bp-asm.h.
26227         (S1): Likewise.
26228         (S2): Likewise.
26229         (SIZE): Likewise.
26230         (__mpn_add_n): Do not use BP_SYM.
26231         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26232         weak_alias.
26233         (bzero): Likewise.
26234         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26235         "bp-asm.h".
26236         (PARMS): Do not use macros from bp-asm.h.
26237         (BLK2): Likewise.
26238         (LEN): Likewise.
26239         (memcmp): Do not use BP_SYM.
26240         (bcmp): Do not use BP_SYM in weak_alias.
26241         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26242         "bp-asm.h".
26243         (PARMS): Do not use macros from bp-asm.h.
26244         (DEST): Likewise.
26245         (SRC): Likewise.
26246         (LEN): Likewise.
26247         (memcpy): Likewise.  Do not use BP_SYM.
26248         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26249         "bp-asm.h".
26250         (PARMS): Do not use macros from bp-asm.h.
26251         (DEST): Likewise.
26252         (SRC): Likewise.
26253         (LEN): Likewise.
26254         (memmove): Likewise.  Do not use BP_SYM.
26255         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26256         "bp-asm.h".
26257         (PARMS): Do not use macros from bp-asm.h.
26258         (DEST): Likewise.
26259         (SRC): Likewise.
26260         (LEN): Likewise.
26261         (__mempcpy): Likewise.  Do not use BP_SYM.
26262         (mempcpy): Do not use BP_SYM in weak_alias.
26263         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26264         "bp-asm.h".
26265         (PARMS): Do not use macros from bp-asm.h.
26266         (DEST): Likewise.
26267         (LEN): Likewise.
26268         [!BZERO_P] (CHR): Likewise.
26269         (memset): Likewise.  Do not use BP_SYM.
26270         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26271         "bp-asm.h".
26272         (PARMS): Do not use macros from bp-asm.h.
26273         (STR2): Likewise.
26274         (strcmp): Do not use BP_SYM.
26275         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26276         "bp-asm.h".
26277         (PARMS): Do not use macros from bp-asm.h.
26278         (STR): Likewise.
26279         (DELIM): Likewise.
26280         [USE_AS_STRTOK_R] (SAVE): Likewise.
26281         (FUNCTION): Likewise.  Do not use BP_SYM.
26282         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26283         aliases.
26284         (strtok_r): Likewise.
26285         (__GI___strtok_r): Likewise.
26286         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26287         (PARMS): Do not use macros from bp-asm.h.
26288         (S): Likewise.
26289         (SIZE): Likewise.
26290         (__mpn_lshift): Do not use BP_SYM.
26291         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26292         (PARMS): Do not use macros from bp-asm.h.
26293         (STR): Likewise.
26294         (CHR): Likewise.
26295         (__memchr): Do not use BP_SYM.
26296         (memchr): Do not use BP_SYM in weak_alias.
26297         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26298         (PARMS): Do not use macros from bp-asm.h.
26299         (BLK2): Likewise.
26300         (LEN): Likewise.
26301         (memcmp): Do not use BP_SYM.
26302         (bcmp): Do not use BP_SYM in weak_alias.
26303         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26304         (PARMS): Do not use macros from bp-asm.h.
26305         (S1): Likewise.
26306         (SIZE): Likewise.
26307         (__mpn_mul_1): Do not use BP_SYM.
26308         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26309         "bp-asm.h".
26310         (PARMS): Do not use macros from bp-asm.h.
26311         (STR): Likewise.
26312         (CHR): Likewise.
26313         (__rawmemchr): Do not use BP_SYM.
26314         (rawmemchr): Do not use BP_SYM in weak_alias.
26315         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26316         (PARMS): Do not use macros from bp-asm.h.
26317         (S): Likewise.
26318         (SIZE): Likewise.
26319         (__mpn_rshift): Do not use BP_SYM.
26320         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26321         (PARMS): Do not use macros from bp-asm.h.
26322         (SIGMSK): Likewise.
26323         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26324         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26325         (_start): Do not use BP_SYM.
26326         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26327         (PARMS): Do not use macros from bp-asm.h.
26328         (DEST): Likewise.
26329         (SRC): Likewise.
26330         (__stpcpy): Likewise.  Do not use BP_SYM.
26331         (stpcpy): Do not use BP_SYM in weak_alias.
26332         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26333         "bp-asm.h".
26334         (PARMS): Do not use macros from bp-asm.h.
26335         (DEST): Likewise.
26336         (SRC): Likewise.
26337         (LEN): Likewise.
26338         (__stpncpy): Likewise.  Do not use BP_SYM.
26339         (stpncpy): Do not use BP_SYM in weak_alias.
26340         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26341         (PARMS): Do not use macros from bp-asm.h.
26342         (STR): Likewise.
26343         (CHR): Likewise.
26344         (strchr): Likewise.  Do not use BP_SYM.
26345         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26346         "bp-asm.h".
26347         (PARMS): Do not use macros from bp-asm.h.
26348         (STR): Likewise.
26349         (CHR): Likewise.
26350         (__strchrnul): Likewise.  Do not use BP_SYM.
26351         (strchrnul): Do not use BP_SYM in weak_alias.
26352         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26353         "bp-asm.h".
26354         (PARMS): Do not use macros from bp-asm.h.
26355         (STOP): Likewise.
26356         (strcspn): Do not use BP_SYM.
26357         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26358         "bp-asm.h".
26359         (PARMS): Do not use macros from bp-asm.h.
26360         (STR): Likewise.
26361         (STOP): Likewise.
26362         (strpbrk): Likewise.  Do not use BP_SYM.
26363         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26364         "bp-asm.h".
26365         (PARMS): Do not use macros from bp-asm.h.
26366         (STR): Likewise.
26367         (CHR): Likewise.
26368         (strrchr): Likewise.  Do not use BP_SYM.
26369         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26370         (PARMS): Do not use macros from bp-asm.h.
26371         (SKIP): Likewise.
26372         (strspn): Do not use BP_SYM.
26373         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26374         (PARMS): Do not use macros from bp-asm.h.
26375         (STR): Likewise.
26376         (DELIM): Likewise.
26377         (SAVE): Likewise.
26378         (FUNCTION): Likewise.  Do not use BP_SYM.
26379         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26380         aliases.
26381         (strtok_r): Likewise.
26382         (__GI___strtok_r): Likewise.
26383         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26384         (PARMS): Do not use macros from bp-asm.h.
26385         (S1): Likewise.
26386         (S2): Likewise.
26387         (SIZE): Likewise.
26388         (__mpn_sub_n): Do not use BP_SYM.
26389         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26390         "bp-asm.h".
26391         (PARMS): Do not use macros from bp-asm.h.
26392         (S1): Likewise.
26393         (SIZE): Likewise.
26394         (__mpn_submul_1): Do not use BP_SYM.
26395         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26396         <bp-sym.h>.
26397         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26398         and <bp-asm.h>.
26399         (PARMS): Do not use macros from bp-asm.h.
26400         (FLAGS): Likewise.
26401         (PTID): Likewise.
26402         (TLS): Likewise.
26403         (CTID): Likewise.
26404         (__clone): Do not use BP_SYM.
26405         (clone): Do not use BP_SYM in weak_alias.
26406         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26407         and <bp-asm.h>.
26408         (PARMS): Do not use macros from bp-asm.h.
26409         (LEN): Likewise.
26410         (__mmap64): Do not use BP_SYM.
26411         (mmap64): Do not use BP_SYM in weak_alias.
26412         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26413         <bp-sym.h> and <bp-asm.h>.
26414         (PARMS): Do not use macros from bp-asm.h.
26415         (__posix_fadvise64_l64): Do not use BP_SYM.
26416         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26417         (PARMS): Do not use macros from bp-asm.h.
26418         (NSOPS): Likewise.
26419         (semtimedop): Do not use BP_SYM.
26420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26421         and <bp-asm.h>.
26423 2013-02-21  Allan McRae  <allan@archlinux.org>
26425         * manual/message.texi (Charset conversion in gettext):
26426         Move @end statement to beginning of line.
26428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26431         static.
26432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26433         Likewise.
26435         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26436         (denorm): Likewise.
26437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26440 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26442         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26443         tail-call to the resolved function if pltexit isn't needed.
26445 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26448         or Y being zero as being unlikely.
26449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26450         Likewise.
26452 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26454         * manual/nss.texi (System Databases and Name Service Switch):
26455         Remove frobnicate @pxref.
26457 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26459         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26460         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26462 2013-02-20  Petr Machata  <pmachata@redhat.com>
26464         * elf/elf.h (R_ARM_TARGET1): New macro.
26465         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26466         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26467         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26468         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26469         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26470         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26471         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26472         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26473         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26474         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26475         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26476         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26477         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26478         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26479         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26480         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26481         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26482         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26483         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26484         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26485         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26486         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26487         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26488         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26489         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26490         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26491         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26492         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26493         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26494         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26495         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26496         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26497         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26498         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26499         (R_ARM_THM_GOT_BREL12): Likewise.
26500         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26501         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26502         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26503         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26504         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26505         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26506         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26507         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26508         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26510 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26512         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26513         __attribute_used__ to __attribute__ ((unused)).
26515 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26517         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26518         powerpc mpa.c.
26519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26520         comment formatting.
26521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26523 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26525         [BZ #13550]
26526         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26527         Remove macro.
26528         (ENTER): Remove both macro definitions.
26529         (LEAVE): Likewise.
26530         (CHECK_BOUNDS_LOW): Likewise.
26531         (CHECK_BOUNDS_HIGH): Likewise.
26532         (CHECK_BOUNDS_BOTH): Likewise.
26533         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26534         (RETURN_BOUNDED_POINTER): Likewise.
26535         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26536         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26537         (POP_ERRNO_LOCATION_RETURN): Likewise.
26538         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26539         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26540         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26541         macros.
26542         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26543         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26544         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26545         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26546         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26547         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26548         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26549         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26550         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26551         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26552         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26553         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26554         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26555         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26556         removed macros.
26557         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26558         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26559         macros.
26560         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26561         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26562         * sysdeps/i386/i586/memset.S (memset): Likewise.
26563         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26564         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26565         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26566         macros.
26567         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26568         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26569         Change uses of L(2) to L(out).
26570         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26571         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26572         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26573         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26574         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26575         removed macros.
26576         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26577         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26578         macros.
26579         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26580         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26581         (RETURN): Do not use macro LEAVE.
26582         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26583         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26584         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26585         * sysdeps/i386/i686/memset.S (memset): Likewise.
26586         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26587         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26588         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26589         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26590         Likewise.
26591         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26592         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26593         L(1_2) and L(1_3) into L(1).
26594         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26595         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26596         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26597         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26598         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26599         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26600         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26601         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26602         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26603         macros.
26604         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26605         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26606         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26607         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26608         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26609         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26610         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26611         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26612         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26613         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26614         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26615         * sysdeps/i386/strspn.S (strspn): Likewise.
26616         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26617         conditional code.
26618         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26619         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26620         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26621         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26622         L(1_3) into L(1_1).
26623         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26624         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26625         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26626         macros.
26627         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26629 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26631         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26632         macro.
26634 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26636         * math/atest-exp.c (exp_mpn): Remove ROUND.
26637         * math/atest-exp2.c (exp_mpn): Likewise.
26638         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26640         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26641         * stdlib/tst-tls-atexit-lib.c: Likewise.
26642         * stdlib/tst-tls-atexit.c: Likewise.
26644 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26646         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26647         and __attribute_alloc_size__.
26649 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26651         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26652         __attribute_alloc_size__.
26653         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26654         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26656 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26658         * include/programs/xmalloc.h: New file.
26659         * catgets/gencat.c: Include it.
26660         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26661         * elf/pldd.c: Likewise.
26662         * iconv/iconv_charmap.c: Likewise.
26663         * iconv/iconvconfig.c: Likewise.
26664         * iconv/strtab.c: Likewise.
26665         * locale/programs/locale.c: Likewise.
26666         * locale/programs/localedef.h: Likewise.
26667         * locale/programs/simple-hash.c: Likewise.
26668         * nscd/nscd.h: Likewise.
26669         * nss/makedb.c: Likewise.
26670         * sysdeps/generic/ldconfig.h: Likewise.
26672 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26674         * Versions.def: Add GLIBC_2.18.
26675         * include/link.h (struct link_map): New member l_tls_dtor_count.
26676         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26677         (__call_tls_dtors): Likewise.
26678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26679         __cxa_thread_atexit_impl.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26681         Likewise.
26682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26683         Likewise.
26684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26685         Likewise.
26686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26690         Likewise.
26691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26692         Likewise.
26693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26695         Likewise.
26696         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26697         (tests): Add test case tst-tls-atexit.
26698         (modules-names): Add shared library for tst-tls-atexit.
26699         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26700         (GLIBC_PRIVATE): Add __call_tls_dtors.
26701         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26702         for libstdc++.
26703         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26704         * stdlib/tst-tls-atexit.c: New test case.
26705         * stdlib/tst-tls-atexit-lib.c: New test case.
26707         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26709         * elf/Versions (ld): Add _dl_find_dso_for_object.
26710         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26711         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26712         (dl_open_worker): Use _dl_find_dso_for_object.
26713         * elf/dl-sym.c (do_sym): Likewise.
26714         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26716 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26718         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26719         Syntactic changes only.
26720         (_dl_runtime_profile): Do a tail-call to the resolved function.
26722 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26724         [BZ #13550]
26725         * sysdeps/x86_64/bp-asm.h: Remove file.
26726         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26727         <bp-sym.h> and <bp-asm.h>.
26728         (__clone): Do not use BP_SYM.
26729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26730         <bp-sym.h> and <bp-asm.h>.
26731         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26732         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26733         "bp-asm.h".
26734         (_setjmp): Do not use BP_SYM.
26735         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26736         "bp-asm.h".
26737         (setjmp): Do not use BP_SYM.
26738         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26739         libc_hidden_def.
26740         (mempcpy): Do not use BP_SYM in weak_alias.
26741         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26742         "bp-asm.h".
26743         (strchr): Do not use BP_SYM.
26744         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26745         "bp-asm.h".
26746         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26747         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26748         (_start): Do not use BP_SYM.
26749         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26750         "bp-asm.h".
26751         (strcat): Do not use BP_SYM.
26752         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26753         "bp-asm.h".
26754         (STRCMP): Do not use BP_SYM.
26755         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26756         "bp-asm.h".
26757         (STRCPY): Do not use BP_SYM.
26758         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26759         "bp-asm.h".
26760         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26761         "bp-asm.h".
26762         (FUNCTION): Do not use BP_SYM.
26763         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26764         weak_alias.
26765         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26767 2013-02-17  Andreas Jaeger  <aj@suse.de>
26769         * time/Versions: Sort entries.
26770         * string/Versions: Likewise.
26771         * resolv/Versions: Likewise.
26772         * posix/Versions: Likewise.
26773         * iconv/Versions: Likewise.
26774         * elf/Versions: Likewise.
26775         * wcsmbs/Versions: Likewise.
26777 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26779         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26780         loop termination condition.
26782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26783         variable to calculate EZ.
26784         (__sqr): Likewise.
26786         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26787         the lower precision input.
26789 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26791         [BZ #13550]
26792         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26793         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26794         (run-via-rtld-prefix): Do not handle %-bp tests.
26795         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26796         (all-object-suffixes): Remove .ob.
26797         (bppfx): Remove variable.
26798         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26799         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26800         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26801         [$(build-bounded) = yes] (libtype.ob): Likewise.
26802         * Makerules (elide-routines.ob): Remove variable.
26803         (do-tests-clean): Do not handle *-bp.out.
26804         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26805         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26806         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26807         (tests): Do not include $(tests-bp.out).
26808         (xtests): Do not include $(xtests-bp.out).
26809         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26810         [$(build-bounded) = yes] ($(addprefix
26811         $(objpfx),$(binaries-bounded))): Remove rule.
26812         ($(objpfx)%-bp.out): Remove rule.
26813         * config.make.in (build-bounded): Remove variable.
26814         * crypt/Makefile [$(build-bounded) = yes]
26815         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26816         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26817         append to variable.
26818         [$(build-bounded) = yes] (install-lib): Likewise.
26819         [$(build-bounded) = yes] (generated): Likewise.
26820         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26821         Remove rule.
26822         * intl/Makefile [$(build-bounded) = yes]
26823         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26824         * math/Makefile [$(build-bounded) = yes]
26825         ($(tests:%=$(objpfx)%-bp): Likewise.
26826         * misc/Makefile [$(build-bounded) = yes]
26827         ($(objpfx)tst-tsearch-bp): Likewise.
26828         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26829         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26830         Remove dependency.
26831         * string/Makefile (o-objects.ob): Remove variable.
26832         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26833         (CFLAGS-.ob): Remove variable.
26834         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26835         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26836         both definitions of variable.
26837         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26838         (ASFLAGS-.ob): Remove variable.
26840 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26842         [BZ #13550]
26843         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26844         Remove __BOUNDED_POINTERS__ from condition.
26845         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26846         * string/bits/string2.h [!__NO_STRING_INLINES &&
26847         !__BOUNDED_POINTERS__]: Likewise.
26848         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26849         Likewise.
26850         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26851         Remove conditional code.
26852         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26853         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26854         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26855         condition.
26857         [BZ #13550]
26858         * csu/libc-start.c: Do not include <bp-sym.h>.
26859         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26860         * elf/dl-open.c: Do not include <bp-sym.h>.
26861         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26862         * math/fegetenv.c: Do not include <bp-sym.h>.
26863         (fegetenv): Do not use BP_SYM in versioned symbols.
26864         * nptl/sysdeps/pthread/bits/libc-lockP.h
26865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26866         <bp-sym.h>.
26867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26868         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26870         (__pthread_mutex_destroy): Likewise.
26871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26872         (__pthread_mutex_lock): Likewise.
26873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26874         (__pthread_mutex_trylock): Likewise.
26875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26876         (__pthread_mutex_unlock): Likewise.
26877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26878         (__pthread_mutexattr_init): Likewise.
26879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26880         (__pthread_mutexattr_destroy): Likewise.
26881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26882         (__pthread_mutexattr_settype): Likewise.
26883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26884         (__pthread_rwlock_init): Likewise.
26885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26886         (__pthread_rwlock_destroy): Likewise.
26887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26888         (__pthread_rwlock_rdlock): Likewise.
26889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26890         (__pthread_rwlock_tryrdlock): Likewise.
26891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26892         (__pthread_rwlock_wrlock): Likewise.
26893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26894         (__pthread_rwlock_trywrlock): Likewise.
26895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26896         (__pthread_rwlock_unlock): Likewise.
26897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26898         (__pthread_key_create): Likewise.
26899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26900         (__pthread_setspecific): Likewise.
26901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26902         (__pthread_getspecific): Likewise.
26903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26904         Likewise.
26905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26906         (_pthread_cleanup_push_defer): Likewise.
26907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26908         (_pthread_cleanup_pop_restore): Likewise.
26909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26910         (pthread_setcancelstate): Likewise.
26911         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26912         <bp-sym.h>.
26913         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26914         (memchr): Do not use BP_SYM in weak_alias.
26915         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26916         (fegetenv): Do not use BP_SYM in versioned symbols.
26917         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26918         (fesetenv): Do not use BP_SYM in versioned symbols.
26919         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26920         (feupdateenv): Do not use BP_SYM in versioned symbols.
26921         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26922         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26923         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26924         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26925         (open64): Do not use BP_SYM in weak_alias.
26926         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26927         (fegetenv): Do not use BP_SYM in versioned symbols.
26928         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26929         (fesetenv): Do not use BP_SYM in versioned symbols.
26930         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26931         (feupdateenv): Do not use BP_SYM in versioned symbols.
26932         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26933         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26934         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26935         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26936         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26937         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26938         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26939         <bp-sym.h>.
26940         (__libc_start_main): Do not use BP_SYM.
26942 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26945         redundant return line.
26946         (norm): Likewise.
26947         (denorm): Likewise.
26948         (dbl_mp): Likewise.
26949         (sub_magnitudes): Likewise.
26950         (__add): Likewise.
26951         (__sub): Likewise.
26952         (__mul): Likewise.
26953         (__inv): Likewise.
26954         (__dvd): Likewise.
26955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26956         (norm): Likewise.
26957         (denorm): Likewise.
26958         (dbl_mp): Likewise.
26959         (sub_magnitudes): Likewise.
26960         (__add): Likewise.
26961         (__sub): Likewise.
26962         (__mul): Likewise.
26963         (__inv): Likewise.
26964         (__dvd): Likewise.
26966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26967         instead of __mul.
26968         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26969         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26970         (cc32): Likewise.
26972         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26973         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26975         of __mul for squares.
26976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26977         function
26978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26979         Likewise.
26980         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26981         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26983 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26985         [BZ #13550]
26986         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26987         code.
26988         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26989         prototype or function definition.  Rename ubp_* variables and
26990         parameters.  Remove argv definitions conditional on
26991         [__BOUNDED_POINTERS__].
26992         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26993         * elf/dl-runtime.c (_dl_fixup): Likewise.
26994         * include/set-hooks.h (RUN_HOOK): Likewise.
26995         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26996         definition.
26997         * string/strcpy.c (strcpy): Do not use __unbounded.
26998         * sysdeps/generic/frame.h (struct layout): Likewise.
26999         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27000         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27001         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27002         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27003         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27004         (__backtrace): Likewise.
27005         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27006         use __ptrvalue.
27007         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27008         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27009         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27010         Likewise.
27011         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27012         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27013         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27014         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27015         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27016         Do not use __unbounded.
27017         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27018         Rename __unboundedrlimits parameter to rlimits in prototype.
27019         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27020         Do not use __unbounded.
27021         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27022         not use __ptrvalue.
27023         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27024         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27025         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27026         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27027         __ptrvalue or __unbounded.
27028         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27029         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27030         use __unbounded.
27031         (__new_msgctl): Do not use __ptrvalue.
27032         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27033         __unbounded.
27034         (__libc_msgrcv): Do not use __ptrvalue.
27035         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27036         startup_info): Do not use __unbounded.
27037         (__libc_start_main): Likewise.  Rename ubp_* variables and
27038         parameters.  Remove argv definitions conditional on
27039         [__BOUNDED_POINTERS__].
27040         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27041         __ptrvalue.
27042         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27043         use __unbounded.
27044         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27045         or __ptrvalue.
27046         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27047         use __unbounded.
27048         (__new_shmctl): Do not use __ptrvalue.
27049         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27050         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27051         Likewise.
27052         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27053         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27054         (__libc_sigaction): Likewise.
27055         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27056         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27057         Likewise.
27058         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27060 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
27062         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27064         * string/mempcpy.c: Implement by calling memcpy.
27066 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27071         evaluation.
27073         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27074         values in the mantissa.
27076         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27077         minimize writes to Z.
27078         (sub_magnitudes): Simplify code a bit.
27080 2013-02-12  Roland McGrath  <roland@hack.frob.com>
27082         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27083         from the message.  The linker prefixes all warnings with that already.
27085 2013-02-12  Andreas Schwab  <schwab@suse.de>
27087         [BZ #15078]
27088         * posix/regexec.c (extend_buffers): Add parameter min_len.
27089         (check_matching): Pass minimum needed length.
27090         (clean_state_log_if_needed): Likewise.
27091         (get_subexp): Likewise.
27092         * posix/Makefile (tests): Add bug-regex34.
27093         (bug-regex34-ENV): Define.
27094         * posix/bug-regex34.c: New file.
27096         [BZ #11561]
27097         * posix/regcomp.c (parse_bracket_exp): When looking up collating
27098         elements compare against the byte sequence of it, not its name.
27099         * posix/Makefile (tests): Add bug-regex35.
27100         (bug-regex35-ENV): Define.
27101         * posix/bug-regex35.c: New file.
27103 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27105         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
27106         comment.
27107         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27108         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27109         (CHECK_EOL): Add undef.
27111 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
27113         * bits/stdlib-bsearch.h: New file.
27114         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27115         * stdlib/stdlib.h: Likewise.
27117 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27119         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27120         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27121         declaration.
27122         * manual/search.texi (Array Search Function): Add missing const in
27123         lfind prototype.
27124         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27125         declaration to use rlim_t.
27126         (Basic Scheduling Functions): Remove erroneous const from
27127         sched_getparam prototype.  Remove erroneous * from
27128         sched_get_priority_max and sched_get_priority_min prototypes.
27129         (Resource Usage): Fix summary @comment on vtimes to refer to
27130         sys/vtimes.h rather than vtimes.h.
27131         Add missing *s in vtimes prototype.
27132         (Limits on Resources): Fix ulimit prototype to return long int.
27133         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27134         prototypes to use long int rather than double.
27135         (BSD Random): Fix initstate and setstate to use char *, not void *.
27136         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27137         prototype to make second argument 'struct aiocb64 *const[]'.
27138         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27139         (Status of AIO Operations): Remove erroneous const in aio_return and
27140         aio_return64 prototypes.
27141         (Synchronizing I/O): Fix sync prototype to return void.
27142         * manual/startup.texi (Suboptions): Remove an erroneous const in
27143         getsubopt prototype.
27144         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27145         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27146         use size_t rather than int.
27147         (Scanning All Users): Likewise for getpwent_r.
27148         (Setting Groups): Add missing const to setgroups prototype.
27149         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27150         * manual/socket.texi (Host Names): Fix gethostbyaddr and
27151         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27152         'const void *' rather than 'const char *'.
27153         (Host Address Functions): Likewise for inet_ntop.
27154         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27155         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27156         ssize_t for return value.
27157         (Sending Data): Likewise for send, sendto, sendmsg.
27158         (Socket Option Functions): Add a missing const in setsockopt prototype.
27159         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27160         use wchar_t for the argument.
27161         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27162         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27163         take no arguments.
27164         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27165         double/float/long double for second argument.
27166         Fix return types of significand, significandf, significandl.
27167         * manual/filesys.texi (Setting Permissions): Use mode_t for second
27168         argument in fchmod prototype.
27169         (File Owner): Use uid_t and gid_t in fchown prototype.
27170         (File Times): Add const to utimes, futimes, and lutimes prototypes.
27171         (Making Special Files): Use mode_t and dev_t in mknod prototype.
27172         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27173         use 'const struct dirent **' as argument types to CMP function pointer
27174         argument.
27175         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27176         (File Times): Fix summary magic @comment for struct utimbuf and utime
27177         to refer to utime.h, not time.h.
27178         * manual/string.texi (Argz Functions): Add missing const in
27179         argz_extract and argz_next prototypes.
27180         (Finding Tokens in a String): Likewise for basename.
27181         (String/Array Comparison): Fix typo in wcscasecmp prototype.
27182         (Copying and Concatenation): Fix typo in wmemmove prototype.
27183         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27184         (Signal Stack): Remove erroneous const in sigstack prototype.
27185         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27186         prototype.
27187         (Simple Calendar Time): Likewise for stime.
27188         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27189         prototype.
27190         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27191         say sys/sysctl.h instead.
27192         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27193         and vsyslog prototypes.
27195 2013-02-11  Tom de Vries  <tom@codesourcery.com>
27197         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27198         Remove.
27200 2013-02-11  Roland McGrath  <roland@hack.frob.com>
27202         * misc/sys/mman.h: Fix typo in mremap comment.
27204 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27206         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27207         the '\0' terminator.
27209 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27211         [BZ #13550]
27212         * debug/segfault.c: Don't include <bp-checks.h>.
27213         * sysdeps/generic/bp-checks.h: Remove file.
27214         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27215         (__GETDENTS): Don't use CHECK_N.
27216         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27217         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27218         (__getgroups): Don't use CHECK_N.
27219         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27220         (setgroups): Don't use CHECK_N.
27221         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27222         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27223         (__libc_msgrcv): Don't use CHECK_N.
27224         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27225         (__libc_msgsnd): Don't use CHECK_N.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27227         <bp-checks.h>.
27228         (__libc_pread): Don't use CHECK_N.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27230         include <bp-checks.h>.
27231         (__libc_pread64): Don't use CHECK_N.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27233         include <bp-checks.h>.
27234         (__libc_pwrite): Don't use CHECK_N.
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27236         include <bp-checks.h>.
27237         (__libc_pwrite64): Don't use CHECK_N.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27239         <bp-checks.h>.
27240         (__libc_pread): Don't use CHECK_N.
27241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27242         include <bp-checks.h>.
27243         (__libc_pread64): Don't use CHECK_N.
27244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27245         include <bp-checks.h>.
27246         (__libc_pwrite): Don't use CHECK_N.
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27248         include <bp-checks.h>.
27249         (__libc_pwrite64): Don't use CHECK_N.
27250         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27251         (do_pread): Don't use CHECK_N.
27252         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27253         (do_pread64): Don't use CHECK_N.
27254         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27255         (do_pwrite): Don't use CHECK_N.
27256         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27257         (do_pwrite64): Don't use CHECK_N.
27258         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27259         (__libc_readv): Don't use CHECK_N.
27260         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27261         (semop): Don't use CHECK_N.
27262         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27263         <bp-checks.h>.
27264         (semtimedop): Don't use CHECK_N.
27265         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27266         (__libc_pread): Don't use CHECK_N.
27267         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27268         <bp-checks.h>.
27269         (__libc_pread64): Don't use CHECK_N.
27270         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27271         <bp-checks.h>.
27272         (__libc_pwrite): Don't use CHECK_N.
27273         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27274         <bp-checks.h>.
27275         (__libc_pwrite64): Don't use CHECK_N.
27276         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27277         <bp-checks.h>.
27278         (__libc_msgrcv): Don't use CHECK_N.
27279         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27280         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27281         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27282         (__libc_writev): Don't use CHECK_N.
27284 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27286         * string/strcpy.c: Removed unused variable.
27288         * Makeconfig (+sysdep-includes): Define with := rather than =.
27289         Use an existing include/ subdir of each sysdeps dir before it.
27291 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27293         * nscd/connection.c (register_traced_file): Comment function.
27294         [HAVE_INOTIFY] (union __inev): Define.
27295         [HAVE_INOTIFY] (inotify_check_files): New function.
27296         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27297         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27298         clear_db_cache.
27299         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27301 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27303         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27304         loaded if not already and that a failure is permanent.
27306 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27308         [BZ #15006]
27309         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27310         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27312 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #13550]
27315         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27316         (CHECK_1_NULL_OK): Likewise.
27317         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27318         (__fxstat): Do not use CHECK_1.
27319         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27320         <bp-checks.h>.
27321         (___fxstat64): Do not use CHECK_1.
27322         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27323         <bp-checks.h>.
27324         (__fxstatat): Do not use CHECK_1.
27325         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27326         <bp-checks.h>.
27327         (__fxstatat64): Do not use CHECK_1.
27328         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27329         <bp-checks.h>.
27330         (__fxstat): Do not use CHECK_1.
27331         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27332         <bp-checks.h>.
27333         (__fxstatat): Do not use CHECK_1.
27334         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27335         <bp-checks.h>.
27336         (__getresgid): Do not use CHECK_1.
27337         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27338         <bp-checks.h>.
27339         (__getresuid): Do not use CHECK_1.
27340         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27341         <bp-checks.h>.
27342         (__lxstat): Do not use CHECK_1.
27343         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27344         <bp-checks.h>.
27345         (__old_msgctl): Do not use CHECK_1.
27346         (__new_msgctl): Likewise.
27347         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27348         <bp-checks.h>.
27349         (__new_setrlimit): Do not use CHECK_1.
27350         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27351         <bp-checks.h>.
27352         (__old_shmctl): Do not use CHECK_1.
27353         (__new_shmctl): Likewise.
27354         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27355         <bp-checks.h>.
27356         (__xstat): Do not use CHECK_1.
27357         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27358         (__lxstat): Do not use CHECK_1.
27359         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27360         <bp-checks.h>.
27361         (___lxstat64): Do not use CHECK_1.
27362         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27363         (__old_msgctl): Do not use CHECK_1.
27364         (__new_msgctl): Likewise.
27365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27366         <bp-checks.h>.
27367         (__gettimeofday): Do not use CHECK_1.
27368         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27369         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27370         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27371         <bp-checks.h>.
27372         (__gettimeofday): Do not use CHECK_1.
27373         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27374         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27375         (__new_shmctl): Do not use CHECK_1.
27376         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27377         <bp-checks.h>.
27378         (do_sigtimedwait): Do not use CHECK_1.
27379         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27380         <bp-checks.h>.
27381         (do_sigwaitinfo): Do not use CHECK_1.
27382         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27383         <bp-checks.h>.
27384         (msgctl): Do not use CHECK_1.
27385         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27386         <bp-checks.h>.
27387         (shmctl): Do not use CHECK_1.
27388         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27389         (ustat): Do not use CHECK_1.
27390         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27391         <bp-checks.h>.
27392         (__fxstat): Do not use CHECK_1.
27393         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27394         <bp-checks.h>.
27395         (__fxstatat): Do not use CHECK_1.
27396         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27397         <bp-checks.h>.
27398         (__lxstat): Do not use CHECK_1.
27399         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27400         <bp-checks.h>.
27401         (__xstat): Do not use CHECK_1.
27402         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27403         (__xstat): Do not use CHECK_1.
27404         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27405         (___xstat64): Do not use CHECK_1.
27407         [BZ #13550]
27408         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27409         definitions.
27410         (CHECK_BOUNDS_HIGH): Likewise.
27411         * string/strcpy.c: Do not include <bp-checks.h>.
27412         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27414 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27416         * nscd/nscd-client.h (__nscd_drop_map_ref):
27417         Add __attribute__ ((unused)).
27418         * nis/nss-nisplus.h (niserr2nss): Likewise.
27420         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27421         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27423         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27424         Remove inline keyword.
27425         * include/rounding-mode.h (round_away): Likewise.
27426         * libio/wfileops.c (adjust_wide_data): Likewise.
27427         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27428         (__m128i_strloadu_tolower): Likewise.
27429         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27430         (__m128i_strloadu_tolower): Likewise.
27431         * time/mktime.c (ydhms_diff): Likewise.
27432         * locale/elem-hash.h (elem_hash): Likewise.
27433         * locale/setlocale.c (setdata): Likewise.
27434         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27435         (re_string_wchar_at): Likewise.
27436         (bitset_not, bitset_merge, bitset_mask): Likewise.
27437         [!(__GNUC__ > 3)] (inline): Remove macro.
27438         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27439         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27440         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27441         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27442         * string/memcmp.c (memcmp_bytes): Likewise.
27443         * locale/programs/locarchive.c (compute_hashval): Likewise.
27444         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27445         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27446         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27447         * nss/getent.c (print_rpc, print_protocols): Likewise.
27448         (print_passwd, print_group, print_aliases): Likewise.
27449         * nis/nss-nisplus.h (niserr2nss): Likewise.
27450         * nscd/connections.c (restart_p): Likewise.
27451         Change return type to bool.
27453 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27455         * Makeconfig (all-Depend-files): Add existing
27456         $(sorted-subdirs:=/Depend) files.
27457         (all-subdirs): Remove nss.
27458         * sysdeps/unix/inet/Subdirs: Add it here instead.
27459         * hesiod/Depend: New file.
27461         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27462         instead of calling alloca.
27464         * io/lseek.c (__lseek): Rename to __libc_lseek.
27465         Define __lseek as an alias.
27467         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27469 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27471         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27472         else clause and remove check for non-standard endianness.
27474 2013-02-04  David S. Miller  <davem@davemloft.net>
27476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27478 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27480         [BZ #13550]
27481         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27482         (__ubp_memchr): Remove prototype.
27483         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27484         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27485         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27486         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27487         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27488         Remove alias.
27489         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27490         (__ubp_memchr): Likewise.
27491         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27492         (__ubp_memchr): Likewise.
27493         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27494         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27495         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27496         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27497         CHECK_STRING.
27498         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27499         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27500         (__getcwd): Do not use CHECK_STRING.
27501         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27502         <bp-checks.h>.
27503         (__real_chown): Do not use CHECK_STRING.
27504         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27505         <bp-checks.h>.
27506         (fchownat): Do not use CHECK_STRING.
27507         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27508         CHECK_STRING.
27509         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27510         <bp-checks.h>.
27511         (__lchown): Do not use CHECK_STRING.
27512         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27513         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27514         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27515         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27517         include <bp-checks.h>.
27518         (truncate64): Do not use CHECK_STRING.
27519         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27520         <bp-checks.h>.
27521         (__real_chown): Do not use CHECK_STRING.
27522         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27523         <bp-checks.h>.
27524         (__lchown): Do not use CHECK_STRING.
27525         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27526         <bp-checks.h>.
27527         (__chown): Do not use CHECK_STRING.
27528         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27529         <bp-checks.h>.
27530         (truncate64): Do not use CHECK_STRING.
27531         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27532         Likewise.
27533         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27534         (__xmknod): Do not use CHECK_STRING.
27535         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27536         <bp-checks.h>.
27537         (__xmknodat): Do not use CHECK_STRING.
27538         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27539         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27541 2013-02-04  Andreas Schwab  <schwab@suse.de>
27543         [BZ #14142]
27544         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27545         * include/netdb.h: Likewise for h_errno.
27546         * elf/tst-stackguard1.c: Include <tls.h>.
27548 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27550         * elf/link.h (struct link_map): Extend the l_addr comment.
27551         * include/link.h (struct link_map): Likewise.
27553 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27555         [BZ #13550]
27556         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27557         (BOUNDED_1): Remove macro.
27558         * debug/backtrace.c: Don't include <bp-checks.h>.
27559         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27560         (__backtrace): Likewise.
27561         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27562         <bp-checks.h>.
27563         (__backtrace): Don't use BOUNDED_1.
27564         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27565         <bp-checks.h>.
27566         (__backtrace): Don't use BOUNDED_1.
27567         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27568         (__backtrace): Don't use BOUNDED_1.
27569         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27570         (shmat): Don't use BOUNDED_N.
27572 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27574         [BZ #13550]
27575         * sysdeps/generic/bp-start.h: Remove file.
27576         * csu/libc-start.c: Don't include <bp-start.h>.
27577         (LIBC_START_MAIN): Set up __environ directly instead of using
27578         INIT_ARGV_and_ENVIRON.
27579         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27580         <bp-start.h>.
27582         [BZ #13550]
27583         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27584         definitions.
27585         (CHECK_FCNTL): Likewise.
27586         (CHECK_N_PAGES): Likewise.
27588         [BZ #13550]
27589         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27590         definitions.
27591         (CHECK_SIGSET_NULL_OK): Likewise.
27592         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27593         <bp-checks.h>.
27594         (sigpending): Don't use CHECK_SIGSET.
27595         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27596         <bp-checks.h>.
27597         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27598         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27599         <bp-checks.h>.
27600         (do_sigsuspend): Don't use CHECK_SIGSET.
27601         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27602         use CHECK_SIGSET.
27603         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27604         (do_sigwait): Don't use CHECK_SIGSET.
27605         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27606         use CHECK_SIGSET.
27607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27608         include <bp-checks.h>.
27609         (sigpending): Don't use CHECK_SIGSET.
27610         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27611         include <bp-checks.h>.
27612         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27613         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27614         <bp-checks.h>.
27615         (sigpending): Don't use CHECK_SIGSET.
27616         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27617         <bp-checks.h>.
27618         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27620         [BZ #13550]
27621         * sysdeps/generic/bp-semctl.h: Remove file.
27622         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27623         <bp-checks.h> and <bp-semctl.h>.
27624         (__old_semctl): Don't use CHECK_SEMCTL.
27625         (__new_semctl): Likewise.
27626         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27627         and <bp-semctl.h>.
27628         (__old_semctl): Don't use CHECK_SEMCTL.
27629         (__new_semctl): Likewise.
27630         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27631         <bp-checks.h> and <bp-semctl.h>.
27632         (__old_semctl): Don't use CHECK_SEMCTL.
27633         (__new_semctl): Likewise.
27634         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27635         <bp-checks.h> and <bp-semctl.h>.
27636         (semctl): Don't use CHECK_SEMCTL.
27638         [BZ #13550]
27639         * Makerules (elide-bp-thunks): Remove variable.
27640         (elide-routines.oS): Don't use $(elide-bp-thunks).
27641         (elide-routines.os): Likewise.
27642         (elide-routines.o): Likewise.
27643         (elide-routines.op): Likewise.
27644         (elide-routines.og): Likewise.
27645         (objects): Don't use $(bp-thunks).
27646         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27647         include.
27648         (common-generated): Do not add s-proto-bp.d.
27649         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27650         (int): Likewise.
27651         (typ): Likewise.
27652         Do not generate makefile rules for bounded-pointer thunks.
27653         * sysdeps/generic/bp-thunks.h: Remove file.
27654         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27655         * sysdeps/unix/s-proto-bp.S: Likewise.
27657         [BZ #15062]
27658         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27659         parts of result separately when argument is not close to line from
27660         -i to i and one part of argument is small.
27661         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27662         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27663         * math/libm-test.inc (cacos_test): Add more tests.
27664         (casin_test): Likewise.
27665         (casinh_test): Likewise.
27666         * sysdeps/i386/fpu/libm-test-ulps: Update.
27667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27669 2013-01-31  David S. Miller  <davem@davemloft.net>
27671         * po/de.po: Update from translation team.
27673 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27675         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27677 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27679         * configure.in (_AC_PROG_CC_C89): New definition.
27680         * configure: Regenerate.
27682         * configure.in (AC_PROG_CPP): New definition.
27683         * configure: Regenerate.
27685 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27687         * debug/tst-backtrace.h: New file.
27688         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27689         (ret): Remove variable.
27690         (x): Likewise.
27691         (FAIL): Remove macro.
27692         (NO_INLINE): Likewise.
27693         (fn1): Use match function instead of strstr.
27694         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27695         (ret): Remove variable.
27696         (x): Likewise.
27697         (FAIL): Remove macro.
27698         (NO_INLINE): Likewise.
27699         (fn): Use match function instead of strstr.
27700         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27701         (ret): Remove variable.
27702         (x): Likewise.
27703         (FAIL): Remove macro.
27704         (NO_INLINE): Likewise.
27705         (handle_signal): Use match function instead of strstr.
27706         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27707         (ret): Remove variable.
27708         (x): Likewise.
27709         (FAIL): Remove macro.
27710         (NO_INLINE): Likewise.
27711         (handle_signal): Use match function instead of strstr.
27713 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27715         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27717 2013-01-23  David S. Miller  <davem@davemloft.net>
27719         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27720         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27721         argument of CAS if possible.
27722         * sysdeps/sparc/sparc64/bits/atomic.h
27723         (__arch_compare_and_exchange_val_32_acq): Likewise.
27724         (__arch_compare_and_exchange_val_64_acq): Likewise.
27726 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27728         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27729         * sysdeps/posix/ulimit.c: ... this.
27730         Include <limits.h>.
27731         * sysdeps/unix/bsd/ulimit.c: Remove file.
27733 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27735         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27736         (LDFLAGS-tst-array5): Likewise.
27738 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27740         [BZ #15036]
27741         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27742         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27743         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27744         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27746 2013-01-21  David S. Miller  <davem@davemloft.net>
27748         * sysdeps/sparc/backtrace.c: New file.
27749         * sysdeps/sparc/sparc32/backtrace.h: New file.
27750         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27751         * sysdeps/sparc/sparc64/backtrace.h: New file.
27752         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27753         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27754         -funwind-tables.
27756 2013-01-21  Andreas Schwab  <schwab@suse.de>
27758         [BZ #15020]
27759         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27760         closed its stdout.
27762 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27765         "mpa2.h".
27766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27768 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27769             Mark Mitchell  <mark@codesourcery.com>
27770             Tom de Vries  <tom@codesourcery.com>
27771             Paul Pluzhnikov  <ppluzhnikov@google.com>
27773         * debug/tst-backtrace2.c: New file.
27774         * debug/tst-backtrace3.c: Likewise.
27775         * debug/tst-backtrace4.c: Likewise.
27776         * debug/tst-backtrace5.c: Likewise.
27777         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27778         (CFLAGS-tst-backtrace3.c): Likewise.
27779         (CFLAGS-tst-backtrace4.c): Likewise.
27780         (CFLAGS-tst-backtrace5.c): Likewise.
27781         (LDFLAGS-tst-backtrace2): Likewise.
27782         (LDFLAGS-tst-backtrace3): Likewise.
27783         (LDFLAGS-tst-backtrace4): Likewise.
27784         (LDFLAGS-tst-backtrace5): Likewise.
27785         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27786         tst-backtrace4 and tst-backtrace5.
27788 2013-01-18  Anton Blanchard  <anton@samba.org>
27789             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27791         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27792         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27793         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27794         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27796         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27797         "+r" and remove output regs list as redundant.  Add explicit inline
27798         asm to specify register of return val to work around compiler codegen
27799         bug.  Remove (int) cast on return value.  Add return type parameter to
27800         use in macro so that this macro does not truncate return value for
27801         64-bit values.
27802         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27803         pass to INTERNAL_VSYSCALL_NCS.
27804         (INLINE_VSYSCALL): Add 'long int' as return type to
27805         INTERNAL_VSYSCALL_NCS macro invocation.
27806         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27807         INTERNAL_VSYSCALL_NCS macro invocation.
27808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27810 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27812         [BZ #14496]
27813         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27814         Fix application of SIMD FP exception mask.
27816         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27817         mp_no from a power of two.
27818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27819         __mpexp_twomm1.  Use __pow_mp.
27821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27822         multiplication.
27824 2013-01-17  David S. Miller  <davem@davemloft.net>
27826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27828 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27830         [BZ #15023]
27831         * include/complex.h: Condition contents on [!_COMPLEX_H].
27832         (__kernel_casinhf): New prototype.
27833         (__kernel_casinh): Likewise.
27834         (__kernel_casinhl): Likewise.
27835         * math/Makefile (libm_calls): Add k_casinh.
27836         * math/k_casinh.c: New file.
27837         * math/k_casinhf.c: Likewise.
27838         * math/k_casinhl.c: Likewise.
27839         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27840         finite nonzero arguments.
27841         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27842         finite nonzero arguments.
27843         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27844         finite nonzero arguments.
27845         * math/s_casinh.c: Do not include <float.h>.
27846         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27847         * math/s_casinhf.c: Do not include <float.h>.
27848         (__casinhf): Move code for finite nonzero arguments to
27849         k_casinhf.c.
27850         * math/s_casinhl.c: Do not include <float.h>.
27851         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27852         redefine.
27853         (__casinhl): Move code for finite nonzero arguments to
27854         k_casinhl.c.
27855         * math/libm-test.inc (cacos_test): Add more tests.
27856         * sysdeps/i386/fpu/libm-test-ulps: Update.
27857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27859 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27861         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27862         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27863         [!HAVE_MREMAP]: Remove [defined linux] case.
27864         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27866 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27868         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27870 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27872         * elf/elf.h (R_386_SIZE32): New relocation.
27873         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27874         R_386_SIZE32.
27875         (elf_machine_rela): Likewise.
27876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27877         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27879 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27881         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27882         (FP_FAST_FMA): Do not define.
27883         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27884         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27885         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27886         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27887         !_SOFT_FLOAT]: Likewise.
27888         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27889         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27890         value.
27891         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27892         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27893         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27894         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27895         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27896         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27897         file.
27899 2013-01-16  Andreas Schwab  <schwab@suse.de>
27901         [BZ #14327]
27902         * include/stdlib.h (__mktemp): Add declaration.
27903         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27904         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27906 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27908         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27909         definitions.
27910         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27911         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27912         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27913         definitions here.
27914         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27915         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27916         definitions.
27917         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27918         and ONE.
27919         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27920         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27921         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27922         definitions.
27923         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27924         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27925         definitions.
27926         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27928         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27930 2013-01-15  David S. Miller  <davem@davemloft.net>
27932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27933         trunc{,f} to libm-sysdep_routes.
27934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27936         file.
27937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27939         file.
27940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27941         file.
27942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27944         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27945         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27946         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27947         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27948         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27949         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27952         nearbyint{,f} to libm-sysdep_routes.
27953         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27955         New file.
27956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27957         file.
27958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27959         New file.
27960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27961         file.
27962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27964         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27965         file.
27966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27967         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27968         file.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27970         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27971         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27973         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27974         libc_feholdexcept and libc_fesetenv.
27976 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27978         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27980 2013-01-14  David S. Miller  <davem@davemloft.net>
27982         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27983         (SPARC_ASM_VIS2_IFUNC): Likewise.
27984         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27986         use of 'siam' instruction.
27987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27988         Likewise.
27989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27990         Likewise.
27991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27992         Likewise.
27993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27998         file.
27999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28000         file.
28001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28002         file.
28003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28004         file.
28005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28010         new VIS2 routines.
28011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28014         Likewise.
28015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28020         routines to libm-sysdep_routines.
28021         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28024         fdim/fdimf to libm-sysdep_routines.
28025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28026         file.
28027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28029         file.
28030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28033         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28034         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28035         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28036         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28038 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28040         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28041         to optimize copies.
28043         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28048         local variable MPTWO.
28049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28050         Likewise.
28052 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28054         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28055         GLOB_NOESCAPE.
28057 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28059         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28061 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
28063         * manual/pattern.texi (glob_t): Document gl_flags.
28064         (glob64_t): Likewise.
28066 2013-01-11  David S. Miller  <davem@davemloft.net>
28068         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28069         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28070         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
28071         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28072         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28073         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28074         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28075         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28076         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28077         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28078         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28079         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28080         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28082         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28083         sparc V9 rather than using V8 code.
28084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28087         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28088         Move to...
28089         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28090         Here.
28092 2013-01-11  Roland McGrath  <roland@hack.frob.com>
28094         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28095         not in the main loop.
28096         * configure: Regenerated.
28098 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
28100         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28101         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28102         to just #else.
28103         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
28104         [!__GLIBC_HAVE_LONG_LONG] case.
28105         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28106         condition to just #else.
28107         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28108         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28109         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28110         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28111         unconditional.
28112         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28113         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28114         #elif condition to just #else.
28115         * sysdeps/unix/sysv/linux/sys/sysmacros.h
28116         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28117         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28118         #elif condition to just #else.
28120 2013-01-11  Steve Ellcey  <sellcey@mips.com>
28122         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28123         (EF_MIPS_ARCH_64): Fix value.
28124         (EF_MIPS_ARCH_32R2): New.
28125         (EF_MIPS_ARCH_64R2): New.
28127 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
28129         * Makeconfig (+link-pie-before-libc): New.
28130         (+link-pie-after-libc): Likewise.
28131         (+link-pie-tests): Likewise.
28132         (+link-pie): Rewritten.
28133         (link-before-libc): Remove $(config-LDFLAGS).
28134         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28135         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28136         (config-LDFLAGS): Renamed to ...
28137         (rtld-LDFLAGS): This.
28138         (rtld-tests-LDFLAGS): New macro.
28139         (link-libc-rpath-link): Likewise.
28140         (link-libc-tests-rpath-link): Likewise.
28141         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28142         (link-libc): Prepand $(link-libc-rpath-link).
28143         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28144         (test-program-prefix): New macro.
28145         (test-via-rtld-prefix): Likewise.
28146         (test-program-cmd): Likewise.
28147         (host-test-program-cmd): Likewise.
28148         * Makefile ($(common-objpfx)testrun.sh): Replace
28149         $(run-program-prefix) with $(test-program-prefix).
28150         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28151         $(rtld-LDFLAGS).
28152         ($(common-objpfx)shlib.lds): Likewise.
28153         (build-module-helper): Likewise.
28154         ($(common-objpfx)format.lds): Likewise.
28155         * Rules (binaries-pie-tests): New.
28156         (binaries-pie-notests): Likewise.
28157         (binaries-pie): Rewritten.
28158         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28159         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28160         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28161         (make-test-out): Replace $(host-built-program-cmd) with
28162         $(host-test-program-cmd).
28163         * config.make.in (build-hardcoded-path-in-tests): New variable.
28164         * configure.in (--enable-hardcoded-path-in-tests): New configure
28165         option.
28166         (hardcoded_path_in_tests): New AC_SUBST.
28167         * configure: Regenerated.
28168         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28169         $(built-program-cmd) with $(test-program-cmd).
28170         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28171         (test_program_cmd): This.
28172         * elf/Makefile ($(objpfx)order.out): Run test with
28173         $(test-program-prefix).
28174         ($(objpfx)order2.out): Likewise.
28175         ($(objpfx)tst-initorder.out): Likewise.
28176         ($(objpfx)tst-initorder2.out): Likewise.
28177         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28178         $(test-program-cmd).
28179         ($(objpfx)tst-array1-static.out): Likewise.
28180         ($(objpfx)tst-array2.out): Likewise.
28181         ($(objpfx)tst-array3.out): Likewise.
28182         ($(objpfx)tst-array4.out): Likewise.
28183         ($(objpfx)tst-array5.out): Likewise.
28184         ($(objpfx)tst-array5-static.out): Likewise.
28185         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28186         $(test-program-cmd).
28187         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28188         $(run-program-prefix) with $(test-program-prefix).
28189         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28190         (test_program_prefix): This.
28191         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28192         $(run-program-prefix) with $(test-program-prefix).
28193         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28194         (test_program_prefix): This.
28195         * iconvdata/tst-tables.sh: Likewise.
28196         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28197         $(run-program-prefix) with $(test-program-prefix).
28198         ($(objpfx)tst-translit.out): Likewise.
28199         ($(objpfx)tst-gettext2.out): Likewise.
28200         ($(objpfx)tst-gettext4.out): Likewise.
28201         ($(objpfx)tst-gettext6.out): Likewise.
28202         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28203         (test_program_prefix): This.
28204         * intl/tst-gettext2.sh: Likewise.
28205         * intl/tst-gettext4.sh  Likewise.
28206         * intl/tst-gettext6.sh: Likewise.
28207         * intl/tst-translit.sh: Likewise.
28208         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28209         with $(test-program-cmd).
28210         * libio/Makefile ($(objpfx)test-freopen.out): Replace
28211         $(run-program-prefix) with $(test-program-prefix).
28212         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28213         (test_program_prefix): This.
28214         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28215         $(run-program-prefix) with $(test-program-prefix).
28216         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28217         (test_program_prefix): This.
28218         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28219         * posix/Makefile ($(objpfx)globtest.out): Replace
28220         $(run-via-rtld-prefix) and $(test-wrapper) with
28221         $(test-program-prefix) and $(test-via-rtld-prefix).
28222         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28223         $(test-program-prefix).
28224         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28225         $(host-test-program-cmd).
28226         (tst-spawn-ARGS): Likewise.
28227         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28228         $(test-program-prefix).
28229         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28230         (test_via_rtld_prefix): This.
28231         (test_wrapper): Renamed to ...
28232         (test_program_prefix): This.
28233         (run_program_prefix): Replaced by test_program_prefix.
28234         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28235         (test_program_prefix): This.
28236         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28237         with $(host-test-program-cmd).
28238         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28239         $(run-program-prefix) with $(test-program-prefix).
28240         ($(objpfx)tst-printf.out): Likewise.
28241         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28242         $(test-program-cmd).
28243         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28244         (test_program_prefix): This.
28245         * stdio-common/tst-unbputc.sh: Likewise.
28246         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28247         $(run-program-prefix) with $(test-program-prefix).
28248         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28249         (test_program_prefix): This.
28250         * string/Makefile ($(objpfx)tst-svc.out):  Replace
28251         $(built-program-cmd) with $(test-program-cmd).
28253 2013-01-11  Andreas Jaeger  <aj@suse.de>
28255         [BZ #15003]
28256         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28257         value. Sync with Linux 3.7.
28259 2013-01-10  David S. Miller  <davem@davemloft.net>
28261         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28262         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28263         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28265 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28267         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28268         never set.
28269         * configure: Regenerated.
28271 2013-01-10  David S. Miller  <davem@davemloft.net>
28273         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28274         sparc V9 rather than using V8 code.
28275         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28276         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28278 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28280         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28281         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28282         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28283         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28284         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28285         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28286         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28287         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28288         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28289         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28290         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28291         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28292         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28293         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28294         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28295         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28296         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28297         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28298         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28299         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28300         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28301         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28302         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28303         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28304         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28305         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28306         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28308 2013-01-10  David S. Miller  <davem@davemloft.net>
28310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28312 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28314         * posix/Makefile (tests-static): New variable.
28315         (tests): Add $(tests-static).
28316         (tst-exec-static-ARGS): New variable.
28317         (tst-spawn-static-ARGS): Likewise.
28318         * posix/tst-exec-static.c: New file.
28319         * posix/tst-spawn-static.c: Likewise.
28320         * posix/tst-exec.c: Support run directly.
28321         * posix/tst-spawn.c: Likewise.
28323 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28325         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28326         long.
28327         * math/bits/mathcalls.h (llrint): Likewise.
28328         (llround): Likewise.
28329         * stdlib/stdlib.h (struct drand48_data): Likewise.
28330         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28331         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28332         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28333         Likewise.
28334         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28335         Likewise.
28336         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28337         (elf_greg_t): Likewise.
28338         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28339         (__jmp_buf): Likewise.
28340         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28341         definitions.
28342         (llrint): Likewise, for all definitions.
28343         (llrintl): Likewise.
28345         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28346         Remove [__GNUC__] condition.
28347         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28348         condition to just [__USE_ISOC99].
28349         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28351 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28353         [BZ #14200]
28354         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28355         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28356         defined.
28357         (_POSIX_V6_ILP32_OFF32): Likewise.
28358         (_XBS5_ILP32_OFF32): Likewise.
28359         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28360         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28362 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28364         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28367         doubles __mpexp_twomm1.  Adjust usage.
28368         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28369         Remove.
28371 2013-01-10  Andreas Schwab  <schwab@suse.de>
28373         [BZ #14964]
28374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28375         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28377 2013-01-09  David S. Miller  <davem@davemloft.net>
28379         [BZ #15003]
28380         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28381         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28382         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28383         (TCP_FASTOPEN): Define.
28384         (tcp_repair_opt): New structure.
28385         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28386         enum values.
28387         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28388         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28389         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28390         (tcp_cookie_transactions): New structure.
28392 2013-01-09  Anton Blanchard  <anton@samba.org>
28394         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28395         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28396         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28397         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28399 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28401         * include/features.h (__USE_ANSI): Remove.
28403 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28405         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28407         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28409 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28411         * sysdeps/s390/fpu/libm-test-ulps: Update.
28413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28415         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28416         (__acr): Likewise.
28417         (__cpy): Likewise.
28418         (norm): Likewise.
28419         (denorm): Likewise.
28420         (__mp_dbl): Likewise.
28421         (__dbl_mp): Likewise.
28422         (add_magnitudes): Likewise.
28423         (sub_magnitudes): Likewise.
28424         (__add): Likewise.
28425         (__sub): Likewise.
28426         (__mul): Likewise.
28427         (__inv): Likewise.
28428         (__dvd): Likewise.
28429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28430         (__acr): Likewise.
28431         (__cpy): Likewise.
28432         (norm): Likewise.
28433         (denorm): Likewise.
28434         (__mp_dbl): Likewise.
28435         (__dbl_mp): Likewise.
28436         (add_magnitudes): Likewise.
28437         (sub_magnitudes): Likewise.
28438         (__add): Likewise.
28439         (__sub): Likewise.
28440         (__mul): Likewise.
28441         (__inv): Likewise.
28442         (__dvd): Likewise.
28443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28444         (__acr): Likewise.
28445         (__cpy): Likewise.
28446         (norm): Likewise.
28447         (denorm): Likewise.
28448         (__mp_dbl): Likewise.
28449         (__dbl_mp): Likewise.
28450         (add_magnitudes): Likewise.
28451         (sub_magnitudes): Likewise.
28452         (__add): Likewise.
28453         (__sub): Likewise.
28454         (__mul): Likewise.
28455         (__inv): Likewise.
28456         (__dvd): Likewise.
28458 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28460         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28461         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28462         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28463         2 && __USE_EXTERN_INLINES]: Likewise.
28465 2013-01-08  Andreas Jaeger  <aj@suse.de>
28467         [BZ# 14985]
28468         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28469         Remove.
28470         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28471         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28473 2013-01-07  Anton Blanchard  <anton@samba.org>
28475         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28476         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28477         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28478         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28479         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28480         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28481         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28482         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28484         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28486         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28487         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28488         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28489         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28490         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28491         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28492         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28493         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28494         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28495         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28496         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28497         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28498         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28499         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28500         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28501         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28502         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28503         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28504         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28505         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28507         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28508         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28509         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28510         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28513         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28515         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28516         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28517         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28519 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28521         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28522         (__MALLOC_PMT): Likewise.
28523         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28524         [__GNUC__], only on [_LIBC].
28525         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28526         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28527         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28528         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28529         forward declaration.
28530         (realloc_hook_ini): Likewise.
28531         (memalign_hook_ini): Likewise.
28532         (__libc_memalign): Do not use __MALLOC_PMT in variable
28533         declaration.
28534         (__libc_valloc): Likewise.
28535         (__libc_pvalloc): Likewise.
28536         (__libc_calloc): Likewise.
28537         (__posix_memalign): Likewise.
28539         [BZ #14996]
28540         * math/s_casinh.c: Include <float.h>.
28541         (__casinh): Do not do computation with squaring and square root
28542         for large arguments.
28543         * math/s_casinhf.c: Include <float.h>.
28544         (__casinhf): Do not do computation with squaring and square root
28545         for large arguments.
28546         * math/s_casinhl.c: Include <float.h>.
28547         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28548         (__casinhl): Do not do computation with squaring and square root
28549         for large arguments.
28550         * math/libm-test.inc (casin_test): Add more tests.
28551         (casinh_test): Likewise.
28552         * sysdeps/i386/fpu/libm-test-ulps: Update.
28553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28555 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28557         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28558         (__x86_64_raw_data_cache_size): Likewise.
28559         (__x86_64_data_cache_size_half): Likewise.
28560         (__x86_64_raw_data_cache_size_half): Likewise.
28561         (__x86_64_shared_cache_size): Likewise.
28562         (__x86_64_raw_shared_cache_size): Likewise.
28563         (__x86_64_shared_cache_size_half): Likewise.
28564         (__x86_64_raw_shared_cache_size_half): Likewise.
28565         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28566         to ...
28567         (__x86_data_cache_size): This.
28568         (__x86_64_raw_data_cache_size): Renamed to ...
28569         (__x86_raw_data_cache_size): This.
28570         (__x86_64_data_cache_size_half): Renamed to ...
28571         (__x86_data_cache_size_half): This.
28572         (__x86_64_raw_data_cache_size_half): Renamed to ...
28573         (__x86_raw_data_cache_size_half): This.
28574         (__x86_64_shared_cache_size): Renamed to ...
28575         (__x86_shared_cache_size): This.
28576         (__x86_64_raw_shared_cache_size): Renamed to ...
28577         (__x86_raw_shared_cache_size): This.
28578         (__x86_64_shared_cache_size_half): Renamed to ...
28579         (__x86_shared_cache_size_half): This.
28580         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28581         (__x86_raw_shared_cache_size_half): This.
28582         * sysdeps/x86_64/memcpy.S: Updated.
28583         * sysdeps/x86_64/memset.S: Likewise.
28584         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28585         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28586         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28588 2013-01-04  David S. Miller  <davem@davemloft.net>
28590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28592 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28594         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28595         1 to avoid redefinition warning.
28596         (__USE_GNU): Don't define.
28597         (init_signaling_nan): Protoize.
28599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28601 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28603         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28605         (__cpymn): Likewise.
28606         (norm): Remove commented code.
28607         (denorm): Likewise.
28608         (__mp_dbl): Likewise.
28609         (__inv): Likewise.
28610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28611         (__cpymn): Likewise.
28612         (norm): Remove commented code.
28613         (denorm): Likewise.
28614         (__mp_dbl): Likewise.
28615         (__inv): Likewise.
28617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28618         mp_no value for 1.0 and 2.0.
28619         (norm): Use RADIXI instead of radixi.d.
28620         (denorm): Likewise.
28621         (__mul): Use 0.0 instead of zero.d.
28622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28623         mp_no value for 1.0 and 2.0.
28624         (norm): Use RADIXI instead of radixi.d.
28625         (denorm): Likewise.
28626         (__mul): Use 0.0 instead of zero.d.
28628 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28630         [BZ #14994]
28631         * math/s_casinh.c (__casinh): Reduce finite argument to first
28632         quadrant then set signs of results at the end.
28633         * math/s_casinhf.c (__casinhf): Likewise.
28634         * math/s_casinhl.c (__casinhl): Likewise.
28635         * math/libm-test.inc (casin_test): Add more tests.
28636         (casinh_test): Likewise.
28637         * sysdeps/i386/fpu/libm-test-ulps: Update.
28638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28640 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28642         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28644         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28646         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28647         declarations.
28648         (denorm): Likewise.
28649         (__mp_dbl): Likewise.
28650         (__inv): Likewise.
28652         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28653         and adjust the header comment.
28655         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28656         variable name from declaration.
28658 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28661         Initialize COMMON_CPUID_INDEX_7 element.
28662         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28663         (CPUID_RTM): Likewise.
28664         (HAS_RTM): Likewise.
28665         (COMMON_CPUID_INDEX_7): New enum.
28667 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28669         [BZ #14981]
28670         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28671         size is zero, record memory as freed.
28673 2013-01-03  Andreas Jaeger  <aj@suse.de>
28675         * po/ia.po: Add new Interlingua translation.
28677 2012-01-03  Allan McRae  <allan@archlinux.org>
28679         * locale/programs/localedef.c: Fix description of '--posix' flag.
28681 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28683         * NEWS: Update dates in second copyright notice.
28684         * README: Update copyright dates in example.
28685         * manual/libc.texinfo: Update copyright dates.
28686         * scripts/test-installation.pl: Update copyright date in --version
28687         output.
28689         * hurd/ctty-input.c: Fix copyright notice formatting.
28690         * hurd/ctty-output.c: Likewise.
28691         * hurd/dtable.c: Likewise.
28692         * hurd/hurd-raise.c: Likewise.
28693         * hurd/hurdprio.c: Likewise.
28694         * hurd/msgportdemux.c: Likewise.
28695         * misc/sys/file.h: Likewise.
28696         * misc/sys/ioctl.h: Likewise.
28697         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28698         * sysdeps/mach/hurd/chdir.c: Likewise.
28699         * sysdeps/mach/hurd/fchdir.c: Likewise.
28700         * sysdeps/mach/hurd/rename.c: Likewise.
28701         * sysdeps/mach/hurd/rmdir.c: Likewise.
28702         * sysdeps/mach/hurd/seekdir.c: Likewise.
28703         * sysdeps/mach/hurd/setsid.c: Likewise.
28704         * sysdeps/posix/wait3.c: Likewise.
28706         * All files with FSF copyright notices: Update copyright dates
28707         using scripts/update-copyrights.
28708         * intl/plural.c: Regenerated.
28709         * locale/programs/charmap-kw.h: Likewise.
28710         * locale/programs/locfile-kw.h: Likewise.
28712 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28714         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28715         four values.
28717         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28718         calculation loop and add branch prediction.
28720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28721         check access beyond bounds of m1np.
28723         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28724         MPTWO.
28725         (__inv): Remove local variable MPTWO to use the global
28726         constant.
28727         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28729         variable MPTWO.
28730         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28731         MP3HALFS static const.
28733 2013-01-01  David S. Miller  <davem@davemloft.net>
28735         * po/ca.po: Update from translation team.
28737 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28739         * scripts/update-copyrights: New file.
28740         * Makeconfig: Reformat copyright notice.
28741         * ctype/ctype.h: Likewise.
28742         * debug/swprintf_chk.c: Likewise.
28743         * elf/dl-cache.c: Likewise.
28744         * elf/dl-debug.c: Likewise.
28745         * elf/dl-object.c: Likewise.
28746         * grp/initgroups.c: Likewise.
28747         * hurd/Makefile: Likewise.
28748         * hurd/hurd/signal.h: Likewise.
28749         * hurd/hurdfault.c: Likewise.
28750         * hurd/hurdioctl.c: Likewise.
28751         * hurd/hurdlookup.c: Likewise.
28752         * hurd/intr-msg.c: Likewise.
28753         * iconv/gconv_open.c: Likewise.
28754         * libio/swprintf.c: Likewise.
28755         * locale/lc-ctype.c: Likewise.
28756         * locale/nl_langinfo.c: Likewise.
28757         * mach/Machrules: Likewise.
28758         * mach/Makefile: Likewise.
28759         * malloc/obstack.h: Likewise.
28760         * manual/Makefile: Likewise.
28761         * manual/tsort.awk: Likewise.
28762         * misc/bits/stab.def: Likewise.
28763         * nis/nis_print_group_entry.c: Likewise.
28764         * nis/nis_table.c: Likewise.
28765         * nis/nss_compat/compat-pwd.c: Likewise.
28766         * nis/nss_compat/compat-spwd.c: Likewise.
28767         * po/Makefile: Likewise.
28768         * posix/fnmatch.c: Likewise.
28769         * posix/regex.h: Likewise.
28770         * resolv/Makefile: Likewise.
28771         * resolv/nss_dns/dns-network.c: Likewise.
28772         * resolv/res_hconf.c: Likewise.
28773         * scripts/gen-sorted.awk: Likewise.
28774         * soft-fp/soft-fp.h: Likewise.
28775         * stdio-common/printf.h: Likewise.
28776         * stdlib/monetary.h: Likewise.
28777         * stdlib/random.c: Likewise.
28778         * stdlib/random_r.c: Likewise.
28779         * sysdeps/generic/Makefile: Likewise.
28780         * sysdeps/gnu/Makefile: Likewise.
28781         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28782         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28783         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28785         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28787         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28788         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28789         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28791         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28792         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28793         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28794         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28795         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28796         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28797         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28798         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28799         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28801         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28802         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28803         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28804         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28805         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28806         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28807         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28808         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28809         * sysdeps/mach/hurd/errnos.awk: Likewise.
28810         * sysdeps/mach/hurd/fork.c: Likewise.
28811         * sysdeps/mach/hurd/getcwd.c: Likewise.
28812         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28813         * sysdeps/mach/hurd/mmap.c: Likewise.
28814         * sysdeps/mach/hurd/utimes.c: Likewise.
28815         * sysdeps/mach/hurd/xmknod.c: Likewise.
28816         * sysdeps/posix/profil.c: Likewise.
28817         * sysdeps/posix/readdir_r.c: Likewise.
28818         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28819         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28820         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28821         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28823         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28824         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28825         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28827         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28828         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28829         * sysdeps/pthread/lio_listio.c: Likewise.
28830         * sysdeps/sparc/dl-procinfo.h: Likewise.
28831         * sysdeps/unix/i386/sysdep.S: Likewise.
28832         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28833         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28834         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28835         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28837         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28838         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28839         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28840         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28841         * sysdeps/wordsize-32/divdi3.c: Likewise.
28842         * time/sys/time.h: Likewise.
28843         * wcsmbs/Makefile: Likewise.
28845 2013-01-01  David S. Miller  <davem@davemloft.net>
28847         * po/fr.po: Update from translation team.
28849         * catgets/gencat.c: Update copyright year.
28850         * csu/version.c: Likewise.
28851         * debug/catchsegv.sh: Likewise.
28852         * debug/pcprofiledump.c: Likewise.
28853         * debug/xtrace.sh: Likewise.
28854         * elf/ldconfig.c: Likewise.
28855         * elf/ldd.bash.in: Likewise.
28856         * elf/pldd.c: Likewise.
28857         * elf/sotruss.ksh: Likewise.
28858         * elf/sprof.c: Likewise.
28859         * iconv/iconv_prog.c: Likewise.
28860         * iconv/iconvconfig.c: Likewise.
28861         * locale/programs/locale.c: Likewise.
28862         * locale/programs/localedef.c: Likewise.
28863         * login/programs/pt_chown.c: Likewise.
28864         * malloc/memusage.sh: Likewise.
28865         * malloc/memusagestat.c: Likewise.
28866         * malloc/mtrace.pl: Likewise.
28867         * nscd/nscd.c: Likewise.
28868         * nss/getent.c: Likewise.
28869         * nss/makedb.c: Likewise.
28870         * posix/getconf.c: Likewise.
28872 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28874         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28875         numbers.
28877 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28879         * math/bits/mathcalls.h (modf): Use __nonnull.
28881 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28884         (split): Use macro CN instead of the bare value.
28885         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28886         could be used.
28887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28888         instead of the bare value.
28889         (power1): Likewise.
28891 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28893         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28894         __ATAN_TWOM.
28895         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28897         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28898         their values.
28899         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28901         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28902         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28904 2012-12-28  Andreas Jaeger  <aj@suse.de>
28906         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28907         values are from Linux 3.7.
28909         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28910         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28912 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28914         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28915         TRUE case.
28917         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28918         (norm): Likewise.
28919         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28920         variables with preprocessor constants.
28921         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28922         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28923         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28925 2012-12-27  Bruno Haible  <bruno@clisp.org>
28927         [BZ #14317]
28928         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28929         only if needed.
28931 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28934         and use variable directly.
28935         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28937         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28938         MPONE.
28939         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28940         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28941         variable MPONE.
28942         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28944         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28945         include directive.  Remove local variable MPONE.
28946         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28947         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28948         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28950 2012-12-25  David S. Miller  <davem@davemloft.net>
28952         * version.h (RELEASE): Set to "development".
28953         (VERSION): Set to "2.17.90".
28954         * NEWS: Add 2.18 section.
28956 2012-12-21  David S. Miller  <davem@davemloft.net>
28958         * po/hr.po: Update from translation team.
28960 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28962         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28964 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28966         * NEWS:  Mention new memcpy for MIPS.
28968 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28970         * manual/contrib.texi (Contributors): Spelling correction.
28972 2012-12-15  David S. Miller  <davem@davemloft.net>
28974         * po/ru.po: Update from translation team.
28976 2012-12-13  David S. Miller  <davem@davemloft.net>
28978         * NEWS: Mention IFUNC testsuite enhancements.
28980         * po/pl.po: Update from translation team.
28981         * po/bg.po: Likewise.
28983         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28984         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28986 2012-12-11  David S. Miller  <davem@davemloft.net>
28988         * po/sv.po: Update from translation team.
28990         * po/vi.po: Update from translation team.
28992         * po/cs.po: Update from translation team.
28994         * po/de.po: Update from translation team.
28995         * po/eo.po: Likewise.
28996         * po/nl.po: Likewise.
28998 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29000         [BZ #14246]
29001         * manual/argp.texi (Argp Helper Functions): Move node to follow
29002         Argp Parsing State.
29004         [BZ #14872]
29005         * manual/conf.texi (Limits on File System Capacity): Mention if
29006         terminating null is included in the max size.
29008 2012-12-10  Andreas Jaeger  <aj@suse.de>
29010         * po/cs.po: Update from translation team.
29012 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29014         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29015         void pointer and cast to uintptr_t.
29016         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29017         path.
29018         * sysdeps/s390/s390-64/memcpy.S: Likewise.
29019         * sysdeps/s390/s390-64/memset.S: Likewise.
29021 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
29023         [BZ #14833]
29024         * menual/message.texi (Message Translation): Fix typos.
29025         (Helper programs for gettext): Likewise.
29027 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
29029         [BZ #14898]
29030         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29031         Change to -1.
29033 2012-12-07  David S. Miller  <davem@davemloft.net>
29035         * po/libc.pot: Update.
29037 2012-12-07  Richard Henderson  <rth@redhat.com>
29039         [BZ #10114]
29040         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29041         normal/normal case to before the switch.
29042         (_FP_DIV): Likewise.
29044 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
29045             Mike Frysinger  <vapier@gentoo.org>
29047         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29048         check for __NR_fadvise64_64.
29050 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
29052         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29053         0, not just to plain "0" as a statement.
29054         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29055         with cw.
29057 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
29059         * NEWS: Use sourceware.org in Bugzilla URL.
29061 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29064         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29066         * stdio-common/tst-put-error.c (do_test): Add newline to the
29067         padded test to ensure flush.
29069 2012-12-05  Jeff Law  <law@redhat.com>
29071         * sunrpc/etc.rpc (fedfs_admin): Add entry.
29073 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
29075         * README: Don't refer to ports add-on as distributed separately.
29076         Mention AArch64 in list of systems supported in the ports add-on.
29078         * LICENSES: Add more non-FSF copyright and license notices.
29080         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29081         ((unused)).
29083         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29085         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29086         10000 as width of padded output.
29088 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29092         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29093         variable LX with __attribute__ ((unused)).
29094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29095         Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29098         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29099         with __attribute__ ((unused)).
29101 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
29103         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29105 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
29107         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29108         (CFLAGS-nldbl-acos.c): New variable.
29109         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29110         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29111         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29112         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29113         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29114         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29115         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29116         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29117         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29118         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29119         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29120         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29121         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29122         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29123         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29124         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29125         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29126         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29127         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29128         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29129         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29130         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29131         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29132         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29133         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29134         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29135         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29136         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29137         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29138         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29139         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29140         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29141         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29142         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29143         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29144         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29145         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29146         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29147         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29148         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29149         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29150         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29151         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29152         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29153         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29154         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29155         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29156         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29157         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29158         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29159         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29160         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29161         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29162         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29163         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29164         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29165         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29166         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29167         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29168         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29169         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29170         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29171         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29172         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29173         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29174         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29175         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29176         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29177         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29178         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29179         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29180         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29181         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29182         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29183         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29184         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29185         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29186         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29187         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29188         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29189         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29190         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29191         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29192         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29193         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29194         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29195         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29196         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29197         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29198         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29199         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29200         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29201         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29202         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29203         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29204         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29205         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29208         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29210         [BZ #14914]
29211         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29212         whole low double instead of just low 47 bits when splitting values
29213         into two parts.
29215 2012-12-03  Allan McRae  <allan@archlinux.org>
29217         * manual/stdio.texi (Predefined Printf Handlers): Remove
29218         @hsep and @vsep usage.
29220 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
29222         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29223         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29225 2012-12-03  Jeff Law  <law@redhat.com>
29227         * time/sys/time.h (settimeofday): Do not mark TV argument
29228         as __nonnull.
29230 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
29232         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29233         when currently writing and seek to current position when not.
29234         * libio/Makefile (tests): Remove bug-fclose1.
29235         * libio/bug-fclose1.c: Delete.
29237 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
29239         * manual/arith.texi (feenableexcept): Fix typo.
29240         (fedisableexcept): Likewise.
29242 2012-11-30  Roland McGrath  <roland@hack.frob.com>
29244         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29245         second, differently-typed declaration, rather than a cast.
29247 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29249         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29250         * include/rpc/svc.h: ... here.
29252 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
29254         [BZ #13013]
29255         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29256         depending n and resplen2 to catch cases where answer
29257         equals answerp2.
29259 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
29261         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29262         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29264 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
29266         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29268 2012-11-29  Roland McGrath  <roland@hack.frob.com>
29270         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29272 2012-11-28  Jeff Law  <law@redhat.com>
29274         [BZ #13761]
29275         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29276         dataset_temporary.  Track alloca usage into alloca_used.
29277         If dataset is large allocate and release it via malloc/free.
29279 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29281         [BZ #14197]
29282         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29284 2012-11-28  David S. Miller  <davem@davemloft.net>
29286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29288 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29290         [BZ #14803]
29291         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29292         of pi/2 rounded to nearest to 64 bits.
29293         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29294         nearest to 64 bits.
29295         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29296         bits.
29298 2012-11-28  Jeff Law <law@redhat.com>
29299             Martin Osvald <mosvald@redhat.com>
29301         [BZ #14889]
29302         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29303         * sunrpc/svc.c: Include time.h.
29304         (__svc_accept_failed): New function.
29305         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29306         any reason other than EINTR, call __svc_accept_failed.
29307         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29308         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29310 2012-11-28  Andreas Schwab  <schwab@suse.de>
29312         * scripts/abilist.awk: Also handle indirect functions in .opd
29313         section.
29315 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29317         [BZ #13881]
29318         * sysdeps/x86/fpu/powl_helper.c: New file.
29319         * sysdeps/x86/fpu/Makefile: Likewise.
29320         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29321         (p3): New object.
29322         (__ieee754_powl): Use __powl_helper for finite arguments except
29323         integer exponents below 8.
29324         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29325         (p3): New object.
29326         (__ieee754_powl): Use __powl_helper for finite arguments except
29327         integer exponents below 8.
29328         * math/libm-test.inc (pow_test): Add more tests and enable some
29329         previously disabled tests.
29330         * sysdeps/i386/fpu/libm-test-ulps: Update.
29331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29333 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29334             Carlos O'Donell  <carlos_odonell@mentor.com>
29336         * nss/makedb.c (is_prime): Assert that input is odd and greater
29337         than 4.  Note that fact in a comment too.
29338         (next_prime): Add 4 to input.
29340 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29342         [BZ #11741]
29343         * libio/Makefile (tests): Add test case tst-fwrite-error.
29344         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29345         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29346         * libio/tst-fwrite-error.c: New test case.
29348 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29350         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29351         before casting to void *.
29352         * include/libc-internal.h (__pointer_type): New macro.
29353         (__integer_if_pointer_type_sub): Likewise.
29354         (__integer_if_pointer_type): Likewise.
29355         (cast_to_integer): Likewise.
29356         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29357         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29358         before casting to atomic64_t.
29359         (atomic_exchange_acq): Likewise.
29360         (__arch_exchange_and_add_body): Likewise.
29361         (__arch_add_body): Likewise.
29362         (atomic_add_negative): Likewise.
29363         (atomic_add_zero): Likewise.
29365 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29367         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29368         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29369         (add_fdes): Likewise.
29370         (linear_search_fdes): Likewise.
29371         (binary_search_unencoded_fdes): Likewise.
29373 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29375         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29377 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29379         * configure.in: Autodetect C++ header directories.
29380         * configure: Regenerated.
29382 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29384         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29386 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29390 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29392         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29393         LDBL_MANT_DIG == 106]: Disable some tests.
29394         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29395         Likewise.
29396         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29397         Likewise.
29399         [BZ #14871]
29400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29401         input for small inputs.  Return +/- pi/2 for large inputs.
29402         * math/libm-test.inc (atan_test): Add more tests.
29404         * sysdeps/generic/unwind-dw2-fde-glibc.c
29405         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29406         __attribute__ ((unused)).
29408         [BZ #14645]
29409         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29410         x * y if x and y are nonzero and z is zero.
29412         [BZ #14811]
29413         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29414         nonzero exponents with absolute value below 0x1p-117 to +/-
29415         0x1p-117.
29417         [BZ #14869]
29418         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29419         up arguments below 2**-450, not just those below 2**-500.
29420         * math/libm-test.inc (hypot_test): Add another test.
29422         [BZ #14868]
29423         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29424         Return a+b for ratio over 2**120, not 2**60.
29425         * math/libm-test.inc (hypot_test): Add another test.
29427         * math/libm-test.inc (clog_test): Use
29428         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29429         (clog10_test): Likewise.
29431         [BZ #6778]
29432         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29434 2012-11-22  Andreas Schwab  <schwab@suse.de>
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29440         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29441         printf output with newline.
29443 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29445         [BZ #14865]
29446         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29447         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29448         -z nodlopen, -z initfirst and -z execstack support.
29449         * configure: Regenerated.
29451         * elf/elf.h (DF_1_NODIRECT): New macro.
29452         (DF_1_IGNMULDEF): Likewise.
29453         (DF_1_NOKSYMS): Likewise.
29454         (DF_1_NOHDR): Likewise.
29455         (DF_1_EDITED): Likewise.
29456         (DF_1_NORELOC): Likewise.
29457         (DF_1_SYMINTPOSE): Likewise.
29458         (DF_1_GLOBAUDIT): Likewise.
29459         (DF_1_SINGLETON): Likewise.
29460         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29461         DT_1_SUPPORTED_MASK bits.
29462         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29464 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29466         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29468 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29470         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29471         macro.
29473         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29474         (sendmmsg): Move declarations...
29475         * socket/sys/socket.h: ... here.
29476         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29477         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29478         include it from...
29479         * socket/recvmmsg.c: ... this new file.
29480         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29481         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29482         definition of __sendmmsg hidden.
29483         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29484         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29485         Move ENOSYS stub into and include it from...
29486         * socket/sendmmsg.c: ... this new file.
29487         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29488         (sysdep_routines): Move recvmmsg and sendmmsg...
29489         * socket/Makefile (routines): ... here.
29490         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29491         (GLIBC_PRIVATE): Add __sendmmsg.
29492         * include/sys/socket.h (__sendmmsg): Add declarations.
29493         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29494         sendmmsg.
29496 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29498         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29499         variable I1 with __attribute__ ((unused)).
29500         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29502 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29504         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29505         DUMMY variables with __attribute__ ((unused)).
29507         * bits/byteswap.h: Include <bits/types.h>.
29508         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29510 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29512         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29513         string_t.  Do not manually set errno.
29514         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29515         length with __strnlen.  Make sure to both set errno and return it on
29516         failure.
29518 2012-11-19  David S. Miller  <davem@davemloft.net>
29520         With help from Joseph Myers.
29521         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29522         very large arguments properly.
29523         * math/libm-test.inc (atan_test): New tests.
29524         (atan2_test): New tests.
29525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29528 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29530         [BZ #14856]
29531         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29532         Define to 3.
29534         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29535         [POSIX] (EADDRNOTAVAIL): Likewise.
29536         [POSIX] (EAFNOSUPPORT): Likewise.
29537         [POSIX] (EALREADY): Likewise.
29538         [POSIX] (ECONNABORTED): Likewise.
29539         [POSIX] (ECONNREFUSED): Likewise.
29540         [POSIX] (ECONNRESET): Likewise.
29541         [POSIX] (EDESTADDRREQ): Likewise.
29542         [POSIX] (EDQUOT): Likewise.
29543         [POSIX] (EHOSTUNREACH): Likewise.
29544         [POSIX] (EIDRM): Likewise.
29545         [POSIX] (EISCONN): Likewise.
29546         [POSIX] (ELOOP): Likewise.
29547         [POSIX] (EMULTIHOP): Likewise.
29548         [POSIX] (ENETDOWN): Likewise.
29549         [POSIX] (ENETUNREACH): Likewise.
29550         [POSIX] (ENOBUFS): Likewise.
29551         [POSIX] (ENODATA): Likewise.
29552         [POSIX] (ENOLINK): Likewise.
29553         [POSIX] (ENOMSG): Likewise.
29554         [POSIX] (ENOPROTOOPT): Likewise.
29555         [POSIX] (ENOSR): Likewise.
29556         [POSIX] (ENOSTR): Likewise.
29557         [POSIX] (ENOTCONN): Likewise.
29558         [POSIX] (ENOTSOCK): Likewise.
29559         [POSIX] (EOPNOTSUPP): Likewise.
29560         [POSIX] (EOVERFLOW): Likewise.
29561         [POSIX] (EPROTO): Likewise.
29562         [POSIX] (EPROTONOSUPPORT): Likewise.
29563         [POSIX] (EPROTOTYPE): Likewise.
29564         [POSIX] (ESTALE): Likewise.
29565         [POSIX] (ETIME): Likewise.
29566         [POSIX] (ETXTBSY): Likewise.
29567         [POSIX] (EWOULDBLOCK): Likewise.
29568         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29569         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29570         [POSIX] (SEEK_CUR): Likewise.
29571         [POSIX] (SEEK_END): Likewise.
29572         [POSIX || UNIX98] (mode_t): Do not require.
29573         [POSIX] (off_t): Likewise.
29574         [POSIX] (pid_t): Likewise.
29575         [POSIX] (sys/stat.h): Do not allow header.
29576         [POSIX] (unistd.h): Likewise.
29577         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29578         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29579         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29580         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29581         require.
29582         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29583         sigevent): Specify elements.
29584         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29585         entry.
29586         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29587         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29589         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29590         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29591         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29592         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29593         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29594         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29595         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29596         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29597         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29598         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29599         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29600         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29601         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29603         Likewise.
29604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29605         Likewise.
29606         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29607         Likewise.
29608         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29609         Likewise.
29610         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29611         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29612         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29613         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29614         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29615         Specify lower bound on value.
29616         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29617         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29618         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29619         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29620         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29621         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29622         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29623         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29624         value.
29625         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29626         as optional.
29627         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29628         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29629         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29630         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29631         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29632         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29633         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29634         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29635         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29636         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29637         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29638         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29639         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29640         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29641         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29642         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29643         entry.
29644         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29645         optional.
29646         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29647         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29648         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29649         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29650         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29651         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29652         Likewise.
29653         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29654         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29655         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29656         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29657         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29658         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29660         as optional.
29661         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29662         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29663         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29664         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29665         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29666         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29667         specify as optional.
29668         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29669         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29670         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29671         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29672         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29673         [XPG3] (NL_LANGMAX): Likewise.
29674         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29675         [POSIX || XPG3] (NL_NMAX): Likewise.
29676         [POSIX || XPG3] (NL_SETMAX): Likewise.
29677         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29678         [XPG3] (NZERO): Likewise.
29679         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29680         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29681         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29682         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29683         (REG_ERANGE): Expect.
29684         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29685         optional-constant.
29686         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29687         Use (void) in prototype.
29688         [POSIX] (*_t): Allow.
29689         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29690         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29691         (WRDE_BADVAL): Expect.
29693         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29694         expect.
29695         [XPG3 || XPG4] (O_RSYNC): Likewise.
29696         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29697         Likewise.
29698         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29699         [XPG3 || XPG4] (sigqueue): Likewise.
29700         [XPG3 || XPG4] (sigtimedwait): Likewise.
29701         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29702         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29703         [XPG3 || XPG4] (vsnprintf): Likewise.
29704         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29705         Likewise.
29706         [XPG3 || XPG4] (blksize_t): Likewise.
29707         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29708         Likewise.
29709         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29710         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29711         [XPG3 || XPG4] (struct itimerspec): Likewise.
29712         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29713         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29714         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29715         [XPG3 || XPG4] (clockid_t): Likewise.
29716         [XPG3 || XPG4] (timer_t): Likewise.
29717         [XPG3 || XPG4] (clock_getres): Likewise.
29718         [XPG3 || XPG4] (clock_gettime): Likewise.
29719         [XPG3 || XPG4] (clock_settime): Likewise.
29720         [XPG3 || XPG4] (nanosleep): Likewise.
29721         [XPG3 || XPG4] (timer_create): Likewise.
29722         [XPG3 || XPG4] (timer_delete): Likewise.
29723         [XPG3 || XPG4] (timer_gettime): Likewise.
29724         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29725         [XPG3 || XPG4] (timer_settime): Likewise.
29726         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29727         [XPG3 || XPG4] (getlogin_r): Likewise.
29728         [XPG3 || XPG4] (pread): Likewise.
29729         [XPG3 || XPG4] (pthread_atfork): Likewise.
29730         [XPG3 || XPG4] (pwrite): Likewise.
29732         [BZ #14835]
29733         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29734         <bits/siginfo.h>.
29736 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29738         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29739         finalizing MALLSTREAM.
29741         * sysdeps/mach/hurd/syncfs.c: New file.
29743 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29745         [BZ #14719]
29746         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29747         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29748         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29749         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29750         (_nss_dns_gethostbyname4_r): Likewise.
29751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29752         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29754 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29756         [BZ #13763]
29757         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29759 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29761         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29762         * elf/cache.c (print_entry): Print ",AArch64" for
29763         FLAG_AARCH64_LIB64
29765         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29766         * elf/cache.c (print_entry): Print ",hard-float" for
29767         FLAG_ARM_LIBHF.
29769 2012-11-18  David S. Miller  <davem@davemloft.net>
29771         With help from Joseph Myers.
29772         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29773         cutoff to 2**-13.
29774         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29775         cutoff to 2**-25.
29776         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29777         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29778         small.
29779         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29780         * math/libm-test.inc (y0_test): New tests.
29781         (y1_test): New tests.
29782         * sysdeps/i386/fpu/libm-test-ulps: Update.
29783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29786 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29788         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29789         64-bit targets.
29790         * configure: Regenerated.
29792 2012-11-17  David S. Miller  <davem@davemloft.net>
29794         [BZ #14811]
29795         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29796         nonzero exponents with absolute value below 0x1p-128 to +/-
29797         0x1p-128.
29799 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29801         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29803         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29805         * posix/getconf-speclist.c: New file.
29806         * posix/posix-envs.def: Likewise.
29807         * posix/confstr.c (START_ENV_GROUP): New macro.
29808         (END_ENV_GROUP): Likewise.
29809         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29810         (KNOWN_PRESENT_ENV_STRING): Likewise.
29811         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29812         (UNKNOWN_ENVIRONMENT): Likewise.
29813         (confstr): Include posix-envs.def instead of handling
29814         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29815         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29816         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29817         (END_ENV_GROUP): Likewise.
29818         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29819         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29820         (UNKNOWN_ENVIRONMENT): Likewise.
29821         (__sysconf): Include posix-envs.def instead of handling associated
29822         cases directly here.
29823         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29824         preprocessing getconf-speclist.c rather than running getconf or
29825         generating empty file.
29827 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29829         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29831 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29833         [BZ #14672]
29834         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29836 2012-11-16  David S. Miller  <davem@davemloft.net>
29838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29839         smaller than LDBL_EPSILON/2.0L, just return xm1.
29841 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29843         * elf/tst-array1.c (init): Set constructor priority to 1000.
29844         (fini): Set destructor priority to 1000.
29845         * elf/tst-array2dep.c: Likewise.
29847 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849         [BZ #11741]
29850         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29851         (_IO_new_file_xsputn): Also return EOF if none of the input
29852         data was written when overflow failed.
29853         * libio/iopadn.c (_IO_padn): Likewise.
29854         * libio/iowpadn.c (_IO_wpadn): Likewise.
29855         * stdio-common/tst-put-error.c: Add copyright notice.
29856         (do_test): Add case for printing padded string.
29857         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29858         _IO_padn returned error.
29859         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29860         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29861         return EOF.
29863 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29865         * libio/libioP.h: Add comment note that the references to C++
29866         bits are now obsolete.
29868 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29870         * math/libm-test.inc (check_complex): Use asprintf.
29872 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29874         * debug/pcprofiledump.c (print_version): Update copyright year.
29875         * malloc/memusagestat.c (print_version): Likewise.
29877 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29879         [BZ #14831]
29880         * elf/Makefile (tests): Add tst-audit8.
29881         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29882         ($(objpfx)tst-audit8.out): New target.
29883         (tst-audit8-ENV): New variable.
29884         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29885         audit if l_reloc_result is NULL.
29886         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29887         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29888         * elf/tst-audit8.c: New file.
29890 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29892         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29893         * misc/Makefile (CFLAGS-select.c): Define.
29894         * posix/Makefile (CFLAGS-pause.c): Define.
29896 2012-11-13  David S. Miller  <davem@davemloft.net>
29898         * crypt/Makefile: Move test targets after toplevel Rules
29899         inclusion.  Grab any necessary sysdep routines when linking.
29900         * crypt/md5.c (md5_process_block): Remove define, we will always
29901         name it __md5_process_block.
29902         (md5_finish_ctx): Update md5_process_block call.
29903         (md5_stream): Likewise.
29904         (md5_process_bytes): Likewise.
29905         (md5_process_block): Rename to __md5_process_block and move to ...
29906         * crypt/md5-block.c: ... here.
29907         * crypt/sha256.c (sha256_process_block): Move to ...
29908         * crypt/sha256-block.c: ... here.
29909         * crypt/sha512.c (sha512_process_block): Move to ...
29910         * crypt/sha512-block.c: ... here.
29911         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29912         path.
29913         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29914         * sysdeps/sparc/sparc64/multiarch/Makefile
29915         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29916         crypt subdir.
29917         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29918         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29919         multiarch changes.
29920         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29921         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29922         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29923         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29924         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29925         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29926         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29927         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29928         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29929         file.
29930         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29932         file.
29933         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29935 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29937         * timezone/tzselect.ksh: Update from tzcode git revision
29938         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29939         * timezone/zdump.c: Likewise.
29940         * timezone/zic.c: Likewise.
29941         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29942         in TZVERSION setting, not $(PKGVERSION).
29943         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29944         REPORT_BUGS_TO settings.
29946         [BZ #14838]
29947         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29948         macro.
29950 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29952         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29953         detection to immediately after _FP_ROUND().
29954         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29955         bits are 0.
29957 2012-11-11  David S. Miller  <davem@davemloft.net>
29959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29960         inttypes.h
29961         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29962         __close rather than their public counterparts.
29964 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29966         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29967         file.
29968         [UNIX98] (sem_timedwait): Do not expect.
29969         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29970         [XPG4 || UNIX98] (sockatmark): Do not expect.
29971         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29972         (clock_getcpuclockid): Do not expect.
29973         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29974         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29975         Do not expect.
29976         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29977         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29978         [UNIX98] (vwscanf): Likewise.
29979         [UNIX98] (vswscanf): Likewise.
29981 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29983         * timezone/version.h: Remove file.
29984         * timezone/README: Do not refer to version.h.
29985         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29986         $(objpfx)version.h.
29987         ($(objpfx)zdump.o): Likewise.
29988         ($(objpfx)version.h): New target.
29990         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29991         2012i.
29992         * timezone/README: Don't mention modification to tzselect.ksh.
29993         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29994         work on unmodified tzselect.ksh.  Substitute version numbers in
29995         tzselect.ksh.
29997         * Makefile (format-me): Remove.
29998         (INSTALL): Adjust indentation.  Use commands directly instead of
29999         using $(format-me).
30001         * aclocal.m4 (ACX_PKGVERSION): New macro.
30002         (ACX_BUGURL): Likewise.
30003         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30004         (PKGVERSION): New AC_DEFINE_UNQUOTED.
30005         (REPORT_BUGS_TO): Likewise.
30006         * configure: Regenerated.
30007         * config.h.in (PKGVERSION): New macro.
30008         (REPORT_BUGS_TO): Likewise.
30009         * config.make.in (PKGVERSION): New variable.
30010         (PKGVERSION_TEXI): Likewise.
30011         (REPORT_BUGS_TO): Likewise.
30012         (REPORT_BUGS_TEXI): Likewise.
30013         * Makefile (format-me): Use -I$(common-objpfx)manual.
30014         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30015         ($(common-objpfx)manual/%): New target.
30016         (manual/%): Remove target.
30017         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30018         (print_version): Use PKGVERSION.
30019         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30020         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30021         and REPORT_BUGS_TO.
30022         ($(objpfx)xtrace): Likewise.
30023         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30024         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30025         (print_version): Use PKGVERSION.
30026         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30027         (do_version): Use PKGVERSION.
30028         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30029         REPORT_BUGS_TO.
30030         (common-ldd-rewrite): Likewise.
30031         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30032         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30033         (print_version): Use PKGVERSION.
30034         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30035         * elf/pldd.c (argp_program_bug_address): Remove variable.
30036         (more_help): New function.
30037         (argp): Use more_help.
30038         (print_version): Use PKGVERSION.
30039         * elf/sln.c (main): Use PKGVERSION.
30040         (usage): Use REPORT_BUGS_TO.
30041         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30042         (top level): Use PKGVERSION.
30043         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30044         (print_version): Use PKGVERSION.
30045         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30046         (print_version): Use PKGVERSION.
30047         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30048         (print_version): Use PKGVERSION.
30049         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30050         (print_version): Use PKGVERSION.
30051         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30052         (print_version): Use PKGVERSION.
30053         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30054         (print_version): Use PKGVERSION.
30055         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30056         and BUGURL.
30057         ($(objpfx)memusage): Likewise.
30058         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30059         (do_version): Use PKGVERSION.
30060         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30061         (print_version): Use PKGVERSION.
30062         * malloc/mtrace.pl ($PACKAGE): Remove variable.
30063         ($PKGVERSION): New variable.
30064         ($REPORT_BUGS_TO): Likewise.
30065         (usage): Use $REPORT_BUGS_TO.
30066         (top level): Use $PKGVERSION.
30067         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30068         ($(objpfx)pkgvers.texi): New rule.
30069         ($(objpfx)stamp-pkgvers): Likewise.
30070         * manual/install.texi: Include pkgvers.texi.
30071         (--with-pkgversion): Document new configure option.
30072         (--with-bugurl): Likewise.
30073         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30074         than necessarily for this particular distribution.  Use
30075         REPORT_BUGS_TO for where to report bugs.
30076         * INSTALL: Regenerated.
30077         * manual/libc.texinfo: Include pkgvers.texi.
30078         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30079         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30080         (print_version): Use PKGVERSION.
30081         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30082         (print_version): Use PKGVERSION.
30083         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30084         (print_version): Use PKGVERSION.
30085         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30086         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30087         macro.
30088         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30089         (print_version): Use PKGVERSION.
30090         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30091         (print_version): Use PKGVERSION.
30092         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30093         and PKGVERSION.
30095         * timezone/checktab.awk: Update from tzcode 2012i.
30096         * timezone/ialloc.c: Likewise.
30097         * timezone/private.h: Likewise.
30098         * timezone/scheck.c: Likewise.
30099         * timezone/tzfile.h: Likewise.
30100         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30101         (TZVERSION): Hardcode tzcode version number.
30102         * timezone/zdump.c: Update from tzcode 2012i.
30103         * timezone/zic.c: Likewise.
30104         * timezone/version.h: New file.
30105         * timezone/README: Describe version.h.  Update upstream location.
30107         [BZ #14824]
30108         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30109         (mktemp): Enable declaration.
30110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30114         Likewise.
30115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30116         Likewise.
30117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30118         Likewise.
30119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30120         Likewise.
30121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30122         Likewise.
30123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30124         Likewise.
30126         [BZ #14821]
30127         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30128         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
30129         for copies of such integer values.
30130         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30131         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30133 2012-11-09  Andreas Jaeger  <aj@suse.de>
30135         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30136         definitions and declarations that are provided by
30137         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30139 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30141         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30142         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30143         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30144         definition.
30146 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30148         * elf/elf.h: Update comment before AArch64 relocations.
30150 2012-11-07  David S. Miller  <davem@davemloft.net>
30152         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30153         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30154         (__start_context): Declare.
30155         (__makecontext_ret): Delete.
30156         (__makecontext): Hook up __start_context instead of
30157         __makecontext_ret.
30158         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30159         (sysdep_routines): Add __start_context when in stdlib.
30161 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30163         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30164         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30165         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
30166         hardcoded "nm".
30167         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
30168         (READELF): New variable.  Use it instead of hardcoded "readelf".
30170 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30172         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30173         * sysdeps/x86/Makefile: Here.
30174         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30175         * sysdeps/x86/tst-xmmymm.sh: This.
30177 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30179         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30180         expectations.
30181         [UNIX98] (pthread_barrier_t): Do not expect.
30182         [UNIX98] (pthread_barrierattr_t): Likewise.
30183         [UNIX98] (pthread_spinlock_t): Likewise.
30184         [UNIX98] (pthread_barrier_destroy): Likewise.
30185         [UNIX98] (pthread_barrier_init): Likewise.
30186         [UNIX98] (pthread_barrier_wait): Likewise.
30187         [UNIX98] (pthread_barrierattr_destroy): Likewise.
30188         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30189         [UNIX98] (pthread_barrierattr_init): Likewise.
30190         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30191         [UNIX98] (pthread_getcpuclockid): Likewise.
30192         [UNIX98] (pthread_mutex_timedlock): Likewise.
30193         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30194         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30195         [UNIX98] (pthread_sigmask): Likewise.
30196         [UNIX98] (pthread_spin_destroy): Likewise.
30197         [UNIX98] (pthread_spin_init): Likewise.
30198         [UNIX98] (pthread_spin_lock): Likewise.
30199         [UNIX98] (pthread_spin_trylock): Likewise.
30200         [UNIX98] (pthread_spin_unlock): Likewise.
30201         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30202         Do not expect.
30203         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30204         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30205         [XPG3 || XPG4] (pthread_cond_t): Likewise.
30206         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30207         [XPG3 || XPG4] (pthread_key_t): Likewise.
30208         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30209         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30210         [XPG3 || XPG4] (pthread_once_t): Likewise.
30211         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30212         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30213         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30214         [XPG3 || XPG4] (pthread_t): Likewise.
30216         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30217         not expect.
30218         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30220         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30221         Change function return type to int.
30223         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30224         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30225         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30226         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30227         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30228         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30229         [!POSIX] (posix_madvise): Likewise.
30230         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30231         && !UNIX98].
30232         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30233         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30234         (mode_t): Likewise.
30235         (posix_mem_offset): Likewise.
30236         (posix_typed_mem_get_info): Likewise.
30237         (posix_typed_mem_open): Likewise.
30239         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30240         Change condition to [XOPEN2K8].
30242         * conform/conformtest.pl: Preprocess allow-header data with -x c
30243         instead of from stdin.
30244         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30245         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30246         [C99-based standards] (cerfc): Likewise.
30247         [C99-based standards] (cexp2): Likewise.
30248         [C99-based standards] (cexpm1): Likewise.
30249         [C99-based standards] (clog10): Likewise.
30250         [C99-based standards] (clog1p): Likewise.
30251         [C99-based standards] (clog2): Likewise.
30252         [C99-based standards] (clgamma): Likewise.
30253         [C99-based standards] (ctgamma): Likewise.
30254         [C99-based standards] (cerff): Likewise.
30255         [C99-based standards] (cerfcf): Likewise.
30256         [C99-based standards] (cexp2f): Likewise.
30257         [C99-based standards] (cexpm1f): Likewise.
30258         [C99-based standards] (clog10f): Likewise.
30259         [C99-based standards] (clog1pf): Likewise.
30260         [C99-based standards] (clog2f): Likewise.
30261         [C99-based standards] (clgammaf): Likewise.
30262         [C99-based standards] (ctgammaf): Likewise.
30263         [C99-based standards] (cerfl): Likewise.
30264         [C99-based standards] (cerfcl): Likewise.
30265         [C99-based standards] (cexp2l): Likewise.
30266         [C99-based standards] (cexpm1l): Likewise.
30267         [C99-based standards] (clog10l): Likewise.
30268         [C99-based standards] (clog1pl): Likewise.
30269         [C99-based standards] (clog2l): Likewise.
30270         [C99-based standards] (clgammal): Likewise.
30271         [C99-based standards] (ctgammal): Likewise.
30272         * conform/data/inttypes.h-data [C99-based standards]: Include
30273         stdint.h-data.  Remove all expectations for stdint.h contents.
30274         [C99-based standards] (PRI*): Do not allow.
30275         [C99-based standards] (SCN*): Likewise.
30276         [C99-based standards] (*_t): Likewise.
30277         [C99-based-standards] (PRId8): Expect macro.
30278         [C99-based-standards] (PRIi8): Likewise.
30279         [C99-based-standards] (PRIo8): Likewise.
30280         [C99-based-standards] (PRIu8): Likewise.
30281         [C99-based-standards] (PRIx8): Likewise.
30282         [C99-based-standards] (PRIX8): Likewise.
30283         [C99-based-standards] (SCNd8): Likewise.
30284         [C99-based-standards] (SCNi8): Likewise.
30285         [C99-based-standards] (SCNo8): Likewise.
30286         [C99-based-standards] (SCNu8): Likewise.
30287         [C99-based-standards] (SCNx8): Likewise.
30288         [C99-based-standards] (PRIdLEAST8): Likewise.
30289         [C99-based-standards] (PRIiLEAST8): Likewise.
30290         [C99-based-standards] (PRIoLEAST8): Likewise.
30291         [C99-based-standards] (PRIuLEAST8): Likewise.
30292         [C99-based-standards] (PRIxLEAST8): Likewise.
30293         [C99-based-standards] (PRIXLEAST8): Likewise.
30294         [C99-based-standards] (SCNdLEAST8): Likewise.
30295         [C99-based-standards] (SCNiLEAST8): Likewise.
30296         [C99-based-standards] (SCNoLEAST8): Likewise.
30297         [C99-based-standards] (SCNuLEAST8): Likewise.
30298         [C99-based-standards] (SCNxLEAST8): Likewise.
30299         [C99-based-standards] (PRIdFAST8): Likewise.
30300         [C99-based-standards] (PRIiFAST8): Likewise.
30301         [C99-based-standards] (PRIoFAST8): Likewise.
30302         [C99-based-standards] (PRIuFAST8): Likewise.
30303         [C99-based-standards] (PRIxFAST8): Likewise.
30304         [C99-based-standards] (PRIXFAST8): Likewise.
30305         [C99-based-standards] (SCNdFAST8): Likewise.
30306         [C99-based-standards] (SCNiFAST8): Likewise.
30307         [C99-based-standards] (SCNoFAST8): Likewise.
30308         [C99-based-standards] (SCNuFAST8): Likewise.
30309         [C99-based-standards] (SCNxFAST8): Likewise.
30310         [C99-based-standards] (PRId16): Likewise.
30311         [C99-based-standards] (PRIi16): Likewise.
30312         [C99-based-standards] (PRIo16): Likewise.
30313         [C99-based-standards] (PRIu16): Likewise.
30314         [C99-based-standards] (PRIx16): Likewise.
30315         [C99-based-standards] (PRIX16): Likewise.
30316         [C99-based-standards] (SCNd16): Likewise.
30317         [C99-based-standards] (SCNi16): Likewise.
30318         [C99-based-standards] (SCNo16): Likewise.
30319         [C99-based-standards] (SCNu16): Likewise.
30320         [C99-based-standards] (SCNx16): Likewise.
30321         [C99-based-standards] (PRIdLEAST16): Likewise.
30322         [C99-based-standards] (PRIiLEAST16): Likewise.
30323         [C99-based-standards] (PRIoLEAST16): Likewise.
30324         [C99-based-standards] (PRIuLEAST16): Likewise.
30325         [C99-based-standards] (PRIxLEAST16): Likewise.
30326         [C99-based-standards] (PRIXLEAST16): Likewise.
30327         [C99-based-standards] (SCNdLEAST16): Likewise.
30328         [C99-based-standards] (SCNiLEAST16): Likewise.
30329         [C99-based-standards] (SCNoLEAST16): Likewise.
30330         [C99-based-standards] (SCNuLEAST16): Likewise.
30331         [C99-based-standards] (SCNxLEAST16): Likewise.
30332         [C99-based-standards] (PRIdFAST16): Likewise.
30333         [C99-based-standards] (PRIiFAST16): Likewise.
30334         [C99-based-standards] (PRIoFAST16): Likewise.
30335         [C99-based-standards] (PRIuFAST16): Likewise.
30336         [C99-based-standards] (PRIxFAST16): Likewise.
30337         [C99-based-standards] (PRIXFAST16): Likewise.
30338         [C99-based-standards] (SCNdFAST16): Likewise.
30339         [C99-based-standards] (SCNiFAST16): Likewise.
30340         [C99-based-standards] (SCNoFAST16): Likewise.
30341         [C99-based-standards] (SCNuFAST16): Likewise.
30342         [C99-based-standards] (SCNxFAST16): Likewise.
30343         [C99-based-standards] (PRId32): Likewise.
30344         [C99-based-standards] (PRIi32): Likewise.
30345         [C99-based-standards] (PRIo32): Likewise.
30346         [C99-based-standards] (PRIu32): Likewise.
30347         [C99-based-standards] (PRIx32): Likewise.
30348         [C99-based-standards] (PRIX32): Likewise.
30349         [C99-based-standards] (SCNd32): Likewise.
30350         [C99-based-standards] (SCNi32): Likewise.
30351         [C99-based-standards] (SCNo32): Likewise.
30352         [C99-based-standards] (SCNu32): Likewise.
30353         [C99-based-standards] (SCNx32): Likewise.
30354         [C99-based-standards] (PRIdLEAST32): Likewise.
30355         [C99-based-standards] (PRIiLEAST32): Likewise.
30356         [C99-based-standards] (PRIoLEAST32): Likewise.
30357         [C99-based-standards] (PRIuLEAST32): Likewise.
30358         [C99-based-standards] (PRIxLEAST32): Likewise.
30359         [C99-based-standards] (PRIXLEAST32): Likewise.
30360         [C99-based-standards] (SCNdLEAST32): Likewise.
30361         [C99-based-standards] (SCNiLEAST32): Likewise.
30362         [C99-based-standards] (SCNoLEAST32): Likewise.
30363         [C99-based-standards] (SCNuLEAST32): Likewise.
30364         [C99-based-standards] (SCNxLEAST32): Likewise.
30365         [C99-based-standards] (PRIdFAST32): Likewise.
30366         [C99-based-standards] (PRIiFAST32): Likewise.
30367         [C99-based-standards] (PRIoFAST32): Likewise.
30368         [C99-based-standards] (PRIuFAST32): Likewise.
30369         [C99-based-standards] (PRIxFAST32): Likewise.
30370         [C99-based-standards] (PRIXFAST32): Likewise.
30371         [C99-based-standards] (SCNdFAST32): Likewise.
30372         [C99-based-standards] (SCNiFAST32): Likewise.
30373         [C99-based-standards] (SCNoFAST32): Likewise.
30374         [C99-based-standards] (SCNuFAST32): Likewise.
30375         [C99-based-standards] (SCNxFAST32): Likewise.
30376         [C99-based-standards] (PRId64): Likewise.
30377         [C99-based-standards] (PRIi64): Likewise.
30378         [C99-based-standards] (PRIo64): Likewise.
30379         [C99-based-standards] (PRIu64): Likewise.
30380         [C99-based-standards] (PRIx64): Likewise.
30381         [C99-based-standards] (PRIX64): Likewise.
30382         [C99-based-standards] (SCNd64): Likewise.
30383         [C99-based-standards] (SCNi64): Likewise.
30384         [C99-based-standards] (SCNo64): Likewise.
30385         [C99-based-standards] (SCNu64): Likewise.
30386         [C99-based-standards] (SCNx64): Likewise.
30387         [C99-based-standards] (PRIdLEAST64): Likewise.
30388         [C99-based-standards] (PRIiLEAST64): Likewise.
30389         [C99-based-standards] (PRIoLEAST64): Likewise.
30390         [C99-based-standards] (PRIuLEAST64): Likewise.
30391         [C99-based-standards] (PRIxLEAST64): Likewise.
30392         [C99-based-standards] (PRIXLEAST64): Likewise.
30393         [C99-based-standards] (SCNdLEAST64): Likewise.
30394         [C99-based-standards] (SCNiLEAST64): Likewise.
30395         [C99-based-standards] (SCNoLEAST64): Likewise.
30396         [C99-based-standards] (SCNuLEAST64): Likewise.
30397         [C99-based-standards] (SCNxLEAST64): Likewise.
30398         [C99-based-standards] (PRIdFAST64): Likewise.
30399         [C99-based-standards] (PRIiFAST64): Likewise.
30400         [C99-based-standards] (PRIoFAST64): Likewise.
30401         [C99-based-standards] (PRIuFAST64): Likewise.
30402         [C99-based-standards] (PRIxFAST64): Likewise.
30403         [C99-based-standards] (PRIXFAST64): Likewise.
30404         [C99-based-standards] (SCNdFAST64): Likewise.
30405         [C99-based-standards] (SCNiFAST64): Likewise.
30406         [C99-based-standards] (SCNoFAST64): Likewise.
30407         [C99-based-standards] (SCNuFAST64): Likewise.
30408         [C99-based-standards] (SCNxFAST64): Likewise.
30409         [C99-based-standards] (PRIdMAX): Likewise.
30410         [C99-based-standards] (PRIiMAX): Likewise.
30411         [C99-based-standards] (PRIoMAX): Likewise.
30412         [C99-based-standards] (PRIuMAX): Likewise.
30413         [C99-based-standards] (PRIxMAX): Likewise.
30414         [C99-based-standards] (PRIXMAX): Likewise.
30415         [C99-based-standards] (SCNdMAX): Likewise.
30416         [C99-based-standards] (SCNiMAX): Likewise.
30417         [C99-based-standards] (SCNoMAX): Likewise.
30418         [C99-based-standards] (SCNuMAX): Likewise.
30419         [C99-based-standards] (SCNxMAX): Likewise.
30420         [C99-based-standards] (PRIdPTR): Likewise.
30421         [C99-based-standards] (PRIiPTR): Likewise.
30422         [C99-based-standards] (PRIoPTR): Likewise.
30423         [C99-based-standards] (PRIuPTR): Likewise.
30424         [C99-based-standards] (PRIxPTR): Likewise.
30425         [C99-based-standards] (PRIXPTR): Likewise.
30426         [C99-based-standards] (SCNdPTR): Likewise.
30427         [C99-based-standards] (SCNiPTR): Likewise.
30428         [C99-based-standards] (SCNoPTR): Likewise.
30429         [C99-based-standards] (SCNuPTR): Likewise.
30430         [C99-based-standards] (SCNxPTR): Likewise.
30431         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30432         allow.
30433         * conform/data/stdint.h-data: Update comments to clarify
30434         requirements.
30435         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30436         type.
30437         [C99-based standards] (INT8_MAX): Likewise.
30438         [C99-based standards] (INT16_MIN): Likewise.
30439         [C99-based standards] (INT16_MAX): Likewise.
30440         [C99-based standards] (INT32_MIN): Likewise.
30441         [C99-based standards] (INT32_MAX): Likewise.
30442         [C99-based standards] (INT64_MIN): Likewise.
30443         [C99-based standards] (INT64_MAX): Likewise.
30444         [C99-based standards] (UINT8_MAX): Likewise.
30445         [C99-based standards] (UINT16_MAX): Likewise.
30446         [C99-based standards] (UINT32_MAX): Likewise.
30447         [C99-based standards] (UINT64_MAX): Likewise.
30448         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30449         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30450         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30451         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30452         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30453         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30454         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30455         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30456         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30457         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30458         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30459         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30460         [C99-based standards] (INT_FAST8_MIN): Likewise.
30461         [C99-based standards] (INT_FAST8_MAX): Likewise.
30462         [C99-based standards] (INT_FAST16_MIN): Likewise.
30463         [C99-based standards] (INT_FAST16_MAX): Likewise.
30464         [C99-based standards] (INT_FAST32_MIN): Likewise.
30465         [C99-based standards] (INT_FAST32_MAX): Likewise.
30466         [C99-based standards] (INT_FAST64_MIN): Likewise.
30467         [C99-based standards] (INT_FAST64_MAX): Likewise.
30468         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30469         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30470         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30471         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30472         [C99-based standards] (INTPTR_MIN): Likewise.
30473         [C99-based standards] (INTPTR_MAX): Likewise.
30474         [C99-based standards] (UINTPTR_MAX): Likewise.
30475         [C99-based standards] (INTMAX_MIN): Likewise.
30476         [C99-based standards] (INTMAX_MAX): Likewise.
30477         [C99-based standards] (UINTMAX_MAX): Likewise.
30478         [C99-based standards] (PTRDIFF_MIN): Likewise.
30479         [C99-based standards] (PTRDIFF_MAX): Likewise.
30480         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30481         [C99-based standards] (SIZE_MAX): Likewise.
30482         [C99-based standards] (WCHAR_MAX): Likewise.
30483         [C99-based standards] (WINT_MAX): Likewise.
30484         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30485         constraint on value.
30486         [C99-based standards] (WCHAR_MIN): Likewise.
30487         [C99-based standards] (WINT_MIN): Likewise.
30488         [C99-based standards] (*_t): Allow.
30489         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30490         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30491         Include math.h-data and complex.h-data.  Remove all expectations
30492         of math.h and complex.h contents.
30493         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30494         at end of line.
30495         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30496         (struct tm): Expect tag.
30497         [C99-based-standards] (wcstof): Expect function.
30498         [C99-based-standards] (wcstold): Likewise.
30499         [C99-based-standards] (wcstoll): Likewise.
30500         [C99-based-standards] (wcstoull): Likewise.
30501         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30502         macro-int-constant.  Specify type.
30503         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30504         constraint on value.
30505         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30506         Specify type.
30507         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30508         Specify value.
30509         [ISO C standards]: Do not allow headers.
30510         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30511         wcs[abcdefghijklmnopqrstuvwxyz]*.
30512         [ISO C standards] (*_t): Do not allow.
30513         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30514         Expect function.
30515         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30516         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30517         Specify type.
30518         [ISO C standards]: Do not allow headers.
30519         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30520         is[abcdefghijklmnopqrstuvwxyz]*.
30521         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30522         to[abcdefghijklmnopqrstuvwxyz]*.
30523         [ISO C standards] (*_t): Do not allow.
30524         * conform/data/stdalign.h-data: New file.
30525         * conform/data/stdbool.h-data: Likewise.
30526         * conform/data/stdnoreturn.h-data: Likewise.
30528 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30530         [BZ #14815]
30531         * manual/filesys.texi (Directory Entries): Typo fix.
30532         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30534 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30536         * elf/elf.h (EM_AARCH64): New macro.
30537         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30538         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30539         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30540         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30541         (R_AARCH64_TLSDESC): Likewise.
30542         (NT_ARM_TLS): Likewise.
30543         (NT_ARM_HW_BREAK): Likewise.
30544         (NT_ARM_HW_WATCH): Likewise.
30546 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30548         [BZ #14811]
30549         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30550         (__ieee754_powl): Saturate nonzero exponents with absolute value
30551         below 0x1p-79 to +/- 0x1p-79.
30552         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30553         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30554         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30555         nonzero exponents with absolute value below 0x1p-32 to +/-
30556         0x1p-32.
30557         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30558         (__ieee754_powl): Saturate nonzero exponents with absolute value
30559         below 0x1p-79 to +/- 0x1p-79.
30560         * math/libm-test.inc (pow_test): Add more tests.
30562 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30564         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30565         _dl_s390_cap_flags with kernel. Increase string length.
30566         (_dl_s390_platforms): Add z196 and zEC12.
30568 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30570         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30571         Change XOPEN21K to XOPEN2K.
30573 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30575         * string/memmove.c: Use memcpy when possible.
30577 2012-11-06  Andreas Jaeger  <aj@suse.de>
30579         * po/eo.po: Update from translation team.
30581 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30583         [BZ #14793]
30584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30585         exponent and small x and y exponents, scale x or y up.  Increase
30586         by 2 the exponent used in scaling up.
30587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30589         * math/libm-test.inc (fma_test): Add more tests.
30590         (fma_test_towardzero): Likewise.
30591         (fma_test_downward): Likewise.
30592         (fma_test_upward): Likewise.
30594 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30596         [BZ #14805]
30597         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30598         fenv_t *.
30600         [BZ #14801]
30601         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30602         namespace for names of struct fields.
30603         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30604         fenv_t fields.
30605         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30606         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30608 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30610         [BZ #3665]
30611         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30613 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30615         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30616         PTR_DEMANGLE.
30618         [BZ #5246]
30619         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30620         PTR_DEMANGLE.
30622 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30624         [BZ #14797]
30625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30626         definitely overflow as x * y not x * y + z.
30627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30628         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30629         * math/libm-test.inc (fma_test): Add more tests.
30630         (fma_test_towardzero): Likewise.
30631         (fma_test_downward): Likewise.
30632         (fma_test_upward): Likewise.
30634 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30636         [BZ #157]
30638         * include/stub-tag.h: Remove file.
30639         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30640         '#include' of it.
30641         * manual/maint.texi (Porting): Don't reference it.
30642         * Makerules ($(objpfx)stubs): Likewise.
30643         * dirent/closedir.c: Don't include <stub-tag.h>.
30644         * dirent/dirfd.c: Likewise.
30645         * dirent/fdopendir.c: Likewise.
30646         * dirent/getdents.c: Likewise.
30647         * dirent/getdents64.c: Likewise.
30648         * dirent/opendir.c: Likewise.
30649         * dirent/readdir.c: Likewise.
30650         * dirent/readdir64.c: Likewise.
30651         * dirent/readdir64_r.c: Likewise.
30652         * dirent/readdir_r.c: Likewise.
30653         * dirent/rewinddir.c: Likewise.
30654         * dirent/seekdir.c: Likewise.
30655         * dirent/telldir.c: Likewise.
30656         * gmon/profil.c: Likewise.
30657         * grp/setgroups.c: Likewise.
30658         * inet/if_index.c: Likewise.
30659         * io/access.c: Likewise.
30660         * io/chdir.c: Likewise.
30661         * io/chmod.c: Likewise.
30662         * io/chown.c: Likewise.
30663         * io/close.c: Likewise.
30664         * io/dup.c: Likewise.
30665         * io/dup2.c: Likewise.
30666         * io/dup3.c: Likewise.
30667         * io/euidaccess.c: Likewise.
30668         * io/faccessat.c: Likewise.
30669         * io/fchdir.c: Likewise.
30670         * io/fchmod.c: Likewise.
30671         * io/fchmodat.c: Likewise.
30672         * io/fchown.c: Likewise.
30673         * io/fchownat.c: Likewise.
30674         * io/fcntl.c: Likewise.
30675         * io/flock.c: Likewise.
30676         * io/fstatfs.c: Likewise.
30677         * io/fstatfs64.c: Likewise.
30678         * io/fstatvfs.c: Likewise.
30679         * io/fstatvfs64.c: Likewise.
30680         * io/futimens.c: Likewise.
30681         * io/fxstat.c: Likewise.
30682         * io/fxstat64.c: Likewise.
30683         * io/fxstatat.c: Likewise.
30684         * io/fxstatat64.c: Likewise.
30685         * io/getcwd.c: Likewise.
30686         * io/isatty.c: Likewise.
30687         * io/lchmod.c: Likewise.
30688         * io/lchown.c: Likewise.
30689         * io/link.c: Likewise.
30690         * io/linkat.c: Likewise.
30691         * io/lseek.c: Likewise.
30692         * io/lseek64.c: Likewise.
30693         * io/lxstat64.c: Likewise.
30694         * io/mkdir.c: Likewise.
30695         * io/mkdirat.c: Likewise.
30696         * io/mkfifo.c: Likewise.
30697         * io/mkfifoat.c: Likewise.
30698         * io/open.c: Likewise.
30699         * io/open64.c: Likewise.
30700         * io/openat.c: Likewise.
30701         * io/openat64.c: Likewise.
30702         * io/pipe.c: Likewise.
30703         * io/pipe2.c: Likewise.
30704         * io/poll.c: Likewise.
30705         * io/posix_fadvise.c: Likewise.
30706         * io/posix_fadvise64.c: Likewise.
30707         * io/posix_fallocate.c: Likewise.
30708         * io/posix_fallocate64.c: Likewise.
30709         * io/read.c: Likewise.
30710         * io/readlink.c: Likewise.
30711         * io/readlinkat.c: Likewise.
30712         * io/rmdir.c: Likewise.
30713         * io/sendfile.c: Likewise.
30714         * io/sendfile64.c: Likewise.
30715         * io/statfs.c: Likewise.
30716         * io/statfs64.c: Likewise.
30717         * io/statvfs.c: Likewise.
30718         * io/statvfs64.c: Likewise.
30719         * io/symlink.c: Likewise.
30720         * io/symlinkat.c: Likewise.
30721         * io/ttyname.c: Likewise.
30722         * io/ttyname_r.c: Likewise.
30723         * io/umask.c: Likewise.
30724         * io/unlink.c: Likewise.
30725         * io/unlinkat.c: Likewise.
30726         * io/utime.c: Likewise.
30727         * io/utimensat.c: Likewise.
30728         * io/write.c: Likewise.
30729         * io/xmknod.c: Likewise.
30730         * io/xmknodat.c: Likewise.
30731         * io/xstat.c: Likewise.
30732         * io/xstat64.c: Likewise.
30733         * login/getpt.c: Likewise.
30734         * login/grantpt.c: Likewise.
30735         * login/unlockpt.c: Likewise.
30736         * math/e_acoshl.c: Likewise.
30737         * math/e_acosl.c: Likewise.
30738         * math/e_asinl.c: Likewise.
30739         * math/e_atan2l.c: Likewise.
30740         * math/e_atanhl.c: Likewise.
30741         * math/e_coshl.c: Likewise.
30742         * math/e_expl.c: Likewise.
30743         * math/e_fmodl.c: Likewise.
30744         * math/e_gammal_r.c: Likewise.
30745         * math/e_hypotl.c: Likewise.
30746         * math/e_j0l.c: Likewise.
30747         * math/e_j1l.c: Likewise.
30748         * math/e_jnl.c: Likewise.
30749         * math/e_lgammal_r.c: Likewise.
30750         * math/e_log10l.c: Likewise.
30751         * math/e_log2l.c: Likewise.
30752         * math/e_logl.c: Likewise.
30753         * math/e_powl.c: Likewise.
30754         * math/e_rem_pio2l.c: Likewise.
30755         * math/e_sinhl.c: Likewise.
30756         * math/e_sqrtl.c: Likewise.
30757         * math/fclrexcpt.c: Likewise.
30758         * math/fedisblxcpt.c: Likewise.
30759         * math/feenablxcpt.c: Likewise.
30760         * math/fegetenv.c: Likewise.
30761         * math/fegetexcept.c: Likewise.
30762         * math/fegetround.c: Likewise.
30763         * math/feholdexcpt.c: Likewise.
30764         * math/fesetenv.c: Likewise.
30765         * math/fesetround.c: Likewise.
30766         * math/feupdateenv.c: Likewise.
30767         * math/fgetexcptflg.c: Likewise.
30768         * math/fraiseexcpt.c: Likewise.
30769         * math/fsetexcptflg.c: Likewise.
30770         * math/ftestexcept.c: Likewise.
30771         * math/k_cosl.c: Likewise.
30772         * math/k_rem_pio2l.c: Likewise.
30773         * math/k_sinl.c: Likewise.
30774         * math/k_tanl.c: Likewise.
30775         * math/s_asinhl.c: Likewise.
30776         * math/s_atanl.c: Likewise.
30777         * math/s_cbrtl.c: Likewise.
30778         * math/s_erfl.c: Likewise.
30779         * math/s_expm1l.c: Likewise.
30780         * math/s_log1pl.c: Likewise.
30781         * math/s_tanhl.c: Likewise.
30782         * misc/acct.c: Likewise.
30783         * misc/brk.c: Likewise.
30784         * misc/chflags.c: Likewise.
30785         * misc/chroot.c: Likewise.
30786         * misc/fchflags.c: Likewise.
30787         * misc/fgetxattr.c: Likewise.
30788         * misc/flistxattr.c: Likewise.
30789         * misc/fremovexattr.c: Likewise.
30790         * misc/fsetxattr.c: Likewise.
30791         * misc/fsync.c: Likewise.
30792         * misc/ftruncate.c: Likewise.
30793         * misc/futimes.c: Likewise.
30794         * misc/futimesat.c: Likewise.
30795         * misc/getdomain.c: Likewise.
30796         * misc/getdtsz.c: Likewise.
30797         * misc/gethostid.c: Likewise.
30798         * misc/gethostname.c: Likewise.
30799         * misc/getloadavg.c: Likewise.
30800         * misc/getpagesize.c: Likewise.
30801         * misc/getsysstats.c: Likewise.
30802         * misc/getxattr.c: Likewise.
30803         * misc/gtty.c: Likewise.
30804         * misc/ioctl.c: Likewise.
30805         * misc/lgetxattr.c: Likewise.
30806         * misc/listxattr.c: Likewise.
30807         * misc/llistxattr.c: Likewise.
30808         * misc/lremovexattr.c: Likewise.
30809         * misc/lsetxattr.c: Likewise.
30810         * misc/lutimes.c: Likewise.
30811         * misc/madvise.c: Likewise.
30812         * misc/mincore.c: Likewise.
30813         * misc/mlock.c: Likewise.
30814         * misc/mlockall.c: Likewise.
30815         * misc/mmap.c: Likewise.
30816         * misc/mprotect.c: Likewise.
30817         * misc/msync.c: Likewise.
30818         * misc/munlock.c: Likewise.
30819         * misc/munlockall.c: Likewise.
30820         * misc/munmap.c: Likewise.
30821         * misc/preadv.c: Likewise.
30822         * misc/preadv64.c: Likewise.
30823         * misc/ptrace.c: Likewise.
30824         * misc/pwritev.c: Likewise.
30825         * misc/pwritev64.c: Likewise.
30826         * misc/readv.c: Likewise.
30827         * misc/reboot.c: Likewise.
30828         * misc/remap_file_pages.c: Likewise.
30829         * misc/removexattr.c: Likewise.
30830         * misc/revoke.c: Likewise.
30831         * misc/select.c: Likewise.
30832         * misc/setdomain.c: Likewise.
30833         * misc/setegid.c: Likewise.
30834         * misc/seteuid.c: Likewise.
30835         * misc/sethostid.c: Likewise.
30836         * misc/sethostname.c: Likewise.
30837         * misc/setregid.c: Likewise.
30838         * misc/setreuid.c: Likewise.
30839         * misc/setxattr.c: Likewise.
30840         * misc/sstk.c: Likewise.
30841         * misc/stty.c: Likewise.
30842         * misc/swapoff.c: Likewise.
30843         * misc/swapon.c: Likewise.
30844         * misc/sync.c: Likewise.
30845         * misc/syncfs.c: Likewise.
30846         * misc/syscall.c: Likewise.
30847         * misc/truncate.c: Likewise.
30848         * misc/ualarm.c: Likewise.
30849         * misc/usleep.c: Likewise.
30850         * misc/ustat.c: Likewise.
30851         * misc/utimes.c: Likewise.
30852         * misc/vhangup.c: Likewise.
30853         * misc/writev.c: Likewise.
30854         * posix/_exit.c: Likewise.
30855         * posix/alarm.c: Likewise.
30856         * posix/execve.c: Likewise.
30857         * posix/fexecve.c: Likewise.
30858         * posix/fork.c: Likewise.
30859         * posix/fpathconf.c: Likewise.
30860         * posix/getaddrinfo.c: Likewise.
30861         * posix/getegid.c: Likewise.
30862         * posix/geteuid.c: Likewise.
30863         * posix/getgid.c: Likewise.
30864         * posix/getgroups.c: Likewise.
30865         * posix/getlogin.c: Likewise.
30866         * posix/getlogin_r.c: Likewise.
30867         * posix/getpgid.c: Likewise.
30868         * posix/getpid.c: Likewise.
30869         * posix/getppid.c: Likewise.
30870         * posix/getresgid.c: Likewise.
30871         * posix/getresuid.c: Likewise.
30872         * posix/getsid.c: Likewise.
30873         * posix/getuid.c: Likewise.
30874         * posix/glob64.c: Likewise.
30875         * posix/nanosleep.c: Likewise.
30876         * posix/pathconf.c: Likewise.
30877         * posix/pause.c: Likewise.
30878         * posix/posix_madvise.c: Likewise.
30879         * posix/pread.c: Likewise.
30880         * posix/pread64.c: Likewise.
30881         * posix/pwrite.c: Likewise.
30882         * posix/pwrite64.c: Likewise.
30883         * posix/sched_getaffinity.c: Likewise.
30884         * posix/sched_getp.c: Likewise.
30885         * posix/sched_gets.c: Likewise.
30886         * posix/sched_primax.c: Likewise.
30887         * posix/sched_primin.c: Likewise.
30888         * posix/sched_rr_gi.c: Likewise.
30889         * posix/sched_setaffinity.c: Likewise.
30890         * posix/sched_setp.c: Likewise.
30891         * posix/sched_sets.c: Likewise.
30892         * posix/sched_yield.c: Likewise.
30893         * posix/setgid.c: Likewise.
30894         * posix/setlogin.c: Likewise.
30895         * posix/setpgid.c: Likewise.
30896         * posix/setresgid.c: Likewise.
30897         * posix/setresuid.c: Likewise.
30898         * posix/setsid.c: Likewise.
30899         * posix/setuid.c: Likewise.
30900         * posix/sleep.c: Likewise.
30901         * posix/spawni.c: Likewise.
30902         * posix/sysconf.c: Likewise.
30903         * posix/times.c: Likewise.
30904         * posix/wait.c: Likewise.
30905         * posix/wait3.c: Likewise.
30906         * posix/wait4.c: Likewise.
30907         * posix/waitpid.c: Likewise.
30908         * resolv/gai_sigqueue.c: Likewise.
30909         * resource/getpriority.c: Likewise.
30910         * resource/getrlimit.c: Likewise.
30911         * resource/getrusage.c: Likewise.
30912         * resource/nice.c: Likewise.
30913         * resource/setpriority.c: Likewise.
30914         * resource/setrlimit.c: Likewise.
30915         * resource/ulimit.c: Likewise.
30916         * rt/aio_cancel.c: Likewise.
30917         * rt/aio_fsync.c: Likewise.
30918         * rt/aio_read.c: Likewise.
30919         * rt/aio_sigqueue.c: Likewise.
30920         * rt/aio_suspend.c: Likewise.
30921         * rt/aio_write.c: Likewise.
30922         * rt/clock_getres.c: Likewise.
30923         * rt/clock_gettime.c: Likewise.
30924         * rt/clock_nanosleep.c: Likewise.
30925         * rt/clock_settime.c: Likewise.
30926         * rt/lio_listio.c: Likewise.
30927         * rt/mq_close.c: Likewise.
30928         * rt/mq_getattr.c: Likewise.
30929         * rt/mq_notify.c: Likewise.
30930         * rt/mq_open.c: Likewise.
30931         * rt/mq_receive.c: Likewise.
30932         * rt/mq_send.c: Likewise.
30933         * rt/mq_setattr.c: Likewise.
30934         * rt/mq_timedreceive.c: Likewise.
30935         * rt/mq_timedsend.c: Likewise.
30936         * rt/mq_unlink.c: Likewise.
30937         * rt/shm_open.c: Likewise.
30938         * rt/shm_unlink.c: Likewise.
30939         * rt/timer_create.c: Likewise.
30940         * rt/timer_delete.c: Likewise.
30941         * rt/timer_getoverr.c: Likewise.
30942         * rt/timer_gettime.c: Likewise.
30943         * rt/timer_settime.c: Likewise.
30944         * setjmp/__longjmp.c: Likewise.
30945         * setjmp/setjmp.c: Likewise.
30946         * signal/kill.c: Likewise.
30947         * signal/killpg.c: Likewise.
30948         * signal/raise.c: Likewise.
30949         * signal/sigaction.c: Likewise.
30950         * signal/sigaltstack.c: Likewise.
30951         * signal/sigblock.c: Likewise.
30952         * signal/sigignore.c: Likewise.
30953         * signal/sigintr.c: Likewise.
30954         * signal/signal.c: Likewise.
30955         * signal/sigpause.c: Likewise.
30956         * signal/sigpending.c: Likewise.
30957         * signal/sigqueue.c: Likewise.
30958         * signal/sigreturn.c: Likewise.
30959         * signal/sigset.c: Likewise.
30960         * signal/sigsetmask.c: Likewise.
30961         * signal/sigstack.c: Likewise.
30962         * signal/sigsuspend.c: Likewise.
30963         * signal/sigtimedwait.c: Likewise.
30964         * signal/sigvec.c: Likewise.
30965         * signal/sigwait.c: Likewise.
30966         * signal/sigwaitinfo.c: Likewise.
30967         * signal/sysv_signal.c: Likewise.
30968         * socket/accept.c: Likewise.
30969         * socket/accept4.c: Likewise.
30970         * socket/bind.c: Likewise.
30971         * socket/connect.c: Likewise.
30972         * socket/getpeername.c: Likewise.
30973         * socket/getsockname.c: Likewise.
30974         * socket/getsockopt.c: Likewise.
30975         * socket/isfdtype.c: Likewise.
30976         * socket/listen.c: Likewise.
30977         * socket/recv.c: Likewise.
30978         * socket/recvfrom.c: Likewise.
30979         * socket/recvmsg.c: Likewise.
30980         * socket/send.c: Likewise.
30981         * socket/sendmsg.c: Likewise.
30982         * socket/sendto.c: Likewise.
30983         * socket/setsockopt.c: Likewise.
30984         * socket/shutdown.c: Likewise.
30985         * socket/sockatmark.c: Likewise.
30986         * socket/socket.c: Likewise.
30987         * socket/socketpair.c: Likewise.
30988         * stdio-common/ctermid.c: Likewise.
30989         * stdio-common/cuserid.c: Likewise.
30990         * stdio-common/remove.c: Likewise.
30991         * stdio-common/rename.c: Likewise.
30992         * stdio-common/renameat.c: Likewise.
30993         * stdio-common/tempname.c: Likewise.
30994         * stdlib/getcontext.c: Likewise.
30995         * stdlib/makecontext.c: Likewise.
30996         * stdlib/setcontext.c: Likewise.
30997         * stdlib/swapcontext.c: Likewise.
30998         * stdlib/system.c: Likewise.
30999         * streams/fattach.c: Likewise.
31000         * streams/fdetach.c: Likewise.
31001         * streams/getmsg.c: Likewise.
31002         * streams/getpmsg.c: Likewise.
31003         * streams/putmsg.c: Likewise.
31004         * streams/putpmsg.c: Likewise.
31005         * sysdeps/unix/bsd/getpt.c: Likewise.
31006         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31007         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31008         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31010         Likewise.
31011         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31012         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31013         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31014         * sysvipc/msgctl.c: Likewise.
31015         * sysvipc/msgget.c: Likewise.
31016         * sysvipc/msgrcv.c: Likewise.
31017         * sysvipc/msgsnd.c: Likewise.
31018         * sysvipc/semctl.c: Likewise.
31019         * sysvipc/semget.c: Likewise.
31020         * sysvipc/semop.c: Likewise.
31021         * sysvipc/semtimedop.c: Likewise.
31022         * sysvipc/shmat.c: Likewise.
31023         * sysvipc/shmctl.c: Likewise.
31024         * sysvipc/shmdt.c: Likewise.
31025         * sysvipc/shmget.c: Likewise.
31026         * termios/tcdrain.c: Likewise.
31027         * termios/tcflow.c: Likewise.
31028         * termios/tcflush.c: Likewise.
31029         * termios/tcgetattr.c: Likewise.
31030         * termios/tcgetpgrp.c: Likewise.
31031         * termios/tcsendbrk.c: Likewise.
31032         * termios/tcsetattr.c: Likewise.
31033         * termios/tcsetpgrp.c: Likewise.
31034         * time/adjtime.c: Likewise.
31035         * time/clock.c: Likewise.
31036         * time/getitimer.c: Likewise.
31037         * time/gettimeofday.c: Likewise.
31038         * time/setitimer.c: Likewise.
31039         * time/settimeofday.c: Likewise.
31040         * time/stime.c: Likewise.
31041         * time/time.c: Likewise.
31043 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
31045         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31046         /usr/old/bin.
31048         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31049         instead of spaces.
31050         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31052 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
31054         [BZ #14796]
31055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31056         FE_TONEAREST before applying Dekker multiplication and Knuth
31057         addition.  Clear inexact exceptions and check for exact zero
31058         results afterwards.
31059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31060         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31062         * math/libm-test.inc (fma_test): Add more tests.
31063         (fma_test_towardzero): Likewise.
31064         (fma_test_downward): Likewise.
31065         (fma_test_upward): Likewise.
31066         * sysdeps/generic/math_private.h (default_libc_fesetround): New
31067         function.
31068         (libc_fesetround): New macro.
31069         (libc_fesetroundf): Likewise.
31070         (libc_fesetroundl): Likewise.
31071         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31072         function.
31073         (libc_fesetround_387): Likewise.
31074         (libc_fesetroundf): New macro.
31075         (libc_fesetround): Likewise.
31076         (libc_fesetroundl): Likewise.
31077         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31078         function.
31079         (libc_fesetroundf): New macro.
31080         (libc_fesetround): Likewise.
31081         (libc_fesetroundl): Likewise.
31082         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31083         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31084         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31085         libm_hidden_ver.
31086         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31087         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31088         libm_hidden_def.
31089         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31090         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31091         libm_hidden_ver.
31092         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31093         libm_hidden_def.
31095         [BZ #3439]
31096         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31097         integer constant usable in #if and use that to give value to enum
31098         constant.
31099         (FE_DIVBYZERO): Likewise.
31100         (FE_UNDERFLOW): Likewise.
31101         (FE_OVERFLOW): Likewise.
31102         (FE_INVALID): Likewise.
31103         (FE_INVALID_SNAN): Likewise.
31104         (FE_INVALID_ISI): Likewise.
31105         (FE_INVALID_IDI): Likewise.
31106         (FE_INVALID_ZDZ): Likewise.
31107         (FE_INVALID_IMZ): Likewise.
31108         (FE_INVALID_COMPARE): Likewise.
31109         (FE_INVALID_SOFTWARE): Likewise.
31110         (FE_INVALID_SQRT): Likewise.
31111         (FE_INVALID_INTEGER_CONVERSION): Likewise.
31112         (FE_TONEAREST): Likewise.
31113         (FE_TOWARDZERO): Likewise.
31114         (FE_UPWARD): Likewise.
31115         (FE_DOWNWARD): Likewise.
31116         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31117         (FE_DIVBYZERO): Likewise.
31118         (FE_OVERFLOW): Likewise.
31119         (FE_UNDERFLOW): Likewise.
31120         (FE_INEXACT): Likewise.
31121         (FE_TONEAREST): Likewise.
31122         (FE_DOWNWARD): Likewise.
31123         (FE_UPWARD): Likewise.
31124         (FE_TOWARDZERO): Likewise.
31125         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31126         (FE_UNDERFLOW): Likewise.
31127         (FE_OVERFLOW): Likewise.
31128         (FE_DIVBYZERO): Likewise.
31129         (FE_INVALID): Likewise.
31130         (FE_TONEAREST): Likewise.
31131         (FE_TOWARDZERO): Likewise.
31132         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31133         (FE_OVERFLOW): Likewise.
31134         (FE_UNDERFLOW): Likewise.
31135         (FE_DIVBYZERO): Likewise.
31136         (FE_INEXACT): Likewise.
31137         (FE_TONEAREST): Likewise.
31138         (FE_TOWARDZERO): Likewise.
31139         (FE_UPWARD): Likewise.
31140         (FE_DOWNWARD): Likewise.
31141         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31142         (FE_DIVBYZERO): Likewise.
31143         (FE_OVERFLOW): Likewise.
31144         (FE_UNDERFLOW): Likewise.
31145         (FE_INEXACT): Likewise.
31146         (FE_TONEAREST): Likewise.
31147         (FE_DOWNWARD): Likewise.
31148         (FE_UPWARD): Likewise.
31149         (FE_TOWARDZERO): Likewise.
31151 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
31153         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31155 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
31157         * scripts/cross-test-ssh.sh (command): Use newlines to separate
31158         commands.  Quote $PWD.
31159         (blacklist_exports): Don't use remove_newlines.  Replace "declare
31160         -x" by "export".
31161         (remove_newlines): Remove.
31163 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
31165         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31166         * stdlib/stdlib.h (atof): Moved to ...
31167         * include/bits/stdlib-float.h: Here.  New file.
31168         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31169         * stdlib/bits/stdlib-float.h: New file.
31170         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31171         -mno-sse -mno-mmx.
31172         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31173         <xmmintrin.h>.
31175 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31177         * conform/conformtest.pl (@headers): Add fenv.h.
31178         * conform/data/fenv.h-data: New file.
31179         * include/fenv.h [_ISOMAC]: Disable all contents of file except
31180         include of <math/fenv.h>.
31182         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31183         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31184         && !UNIX98].  Enables tests for XOPEN2K8.
31185         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31186         POSIX2008]: Likewise.
31188         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31189         (struct rusage): Do not expect type or its members.
31191         [BZ #3439]
31192         * math/math.h (FP_NAN): Define macro to integer constant usable in
31193         #if and use that to give value to enum constant.
31194         (FP_INFINITE): Likewise.
31195         (FP_ZERO): Likewise.
31196         (FP_SUBNORMAL): Likewise.
31197         (FP_NORMAL): Likewise.
31199 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
31201         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31202         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31203         arguments.
31205 2012-11-02  Roland McGrath  <roland@hack.frob.com>
31207         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31208         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31209         autoconf-time if not.
31210         * configure.in: Remove AC_PREREQ.
31212 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31214         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31215         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31216         of the internal implementation.
31218 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
31220         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31221         except include of <misc/sys/syslog.h>.
31223 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31226         function returns with a NULL context exit with zero.
31228 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31230         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31232 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
31234         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31235         (run_program_cmd): This.
31236         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31237         (tst_langinfo): New variable.  Use it.
31239 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
31241         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31242         floating point opcodes.
31244 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31246         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31247         variable.
31249         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31251         * sysdeps/mach/hurd/powerpc: Remove directory.
31252         * sysdeps/mach/powerpc: Likewise.
31254 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31256         * scripts/check-local-headers.sh: Ignore c++ headers.
31258 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31260         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31261         __libc_cleanup_region_start argument.
31263 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
31265         [BZ #14784]
31266         [BZ #14785]
31267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31268         x * y using scaling, not as x * y + z.
31269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31271         * math/libm-test.inc (fma_test): Add more tests.
31272         (fma_test_towardzero): Likewise.
31273         (fma_test_downward): Likewise.
31274         (fma_test_upward): Likewise.
31276 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
31278         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31280 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31282         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31283         New variable.
31285 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31287         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31289 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31292         Fix sort order.
31293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31294         Likewise.
31296 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31299         Fix the order of the list for glibc 2.17.
31300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31301         Likewise.
31303 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31307 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31309         [BZ #14610]
31310         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31311         for low part of x being zero before using __atanl (y).
31312         * math/libm-test.inc (atan2_test): Add another test.
31314         * manual/install.texi (Configuring and compiling): Document
31315         general use of test-wrapper and test-wrapper-env.
31316         * INSTALL: Regenerated.
31318         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31319         (__fma): Do not extract and scale down low bits on after-rounding
31320         systems when result rounded to normal precision would have normal
31321         exponent.
31322         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31323         (__fmal): Do not extract and scale down low bits on after-rounding
31324         systems when result rounded to normal precision would have normal
31325         exponent.
31326         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31327         (__fmal): Do not extract and scale down low bits on after-rounding
31328         systems when result rounded to normal precision would have normal
31329         exponent.
31330         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31331         macro.
31332         (fma_test): Add more tests.
31333         (fma_test_towardzero): Likewise.
31334         (fma_test_downward): Likewise.
31335         (fma_test_upward): Likewise.
31337 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31339         * sysdeps/i386/tininess.h: Renamed to ...
31340         * sysdeps/x86/tininess.h: This.
31341         * sysdeps/x86_64/tininess.h: Removed.
31343 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31345         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31346         input.  Use $(build-program-cmd).
31347         ($(objpfx)tst-array1-static.out): Likewise.
31348         ($(objpfx)tst-array2.out): Likewise.
31349         ($(objpfx)tst-array3.out): Likewise.
31350         ($(objpfx)tst-array4.out): Likewise.
31351         ($(objpfx)tst-array5.out): Likewise.
31352         ($(objpfx)tst-array5-static.out): Likewise.
31354 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31356         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31357         if defined.
31359         * nss/nsswitch.h (nss_interface_function): Provide new
31360         macro for use with NSS functions.
31361         * grp/initgroups.c: Use new macro.
31362         * nss/getXXbyYY.c: Likewise.
31363         * nss/getXXbyYY_r.c: Likewise.
31364         * nss/getXXent.c: Likewise.
31365         * nss/getXXent_r.c: Likewise.
31366         * sysdeps/posix/getaddrinfo.c: Likewise.
31368 2012-10-30  Andreas Jaeger  <aj@suse.de>
31370         * po/ru.po: Update Russion translation from translation project.
31372 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31374         [BZ #14152]
31375         [BZ #14783]
31376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31377         result and shift together with sticky bit instead of replicating
31378         round-to-nearest rounding.
31379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31381         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31382         missing underflow exceptions.
31383         (fma_test_towardzero): Add more tests.
31384         (fma_test_downward): Likewise.
31385         (fma_test_upward): Likewise.
31387         [BZ #14047]
31388         * sysdeps/generic/tininess.h: New file.
31389         * sysdeps/i386/tininess.h: Likewise.
31390         * sysdeps/sh/tininess.h: Likewise.
31391         * sysdeps/x86_64/tininess.h: Likewise.
31392         * stdlib/tst-strtod-underflow.c: Likewise.
31393         * stdlib/tst-tininess.c: Likewise.
31394         * stdlib/strtod_l.c: Include <tininess.h>.
31395         (round_and_return): Do not set errno for exact underflow cases.
31396         Force an underflow exception when setting errno for underflow.
31397         Determine underflow based on rounding to normal precision if
31398         TININESS_AFTER_ROUNDING.
31399         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31400         ERANGE for exact underflow cases.
31401         * stdlib/Makefile (tests): Add tst-tininess and
31402         tst-strtod-underflow.
31403         ($(objpfx)tst-tininess): Use $(link-libm).
31404         ($(objpfx)tst-strtod-underflow): Likewise.
31406 2012-10-30  Andreas Jaeger  <aj@suse.de>
31408         [BZ#14767]
31409         * elf/Makefile (tests): Remove conditional for have-initfini-array
31410         since this is now always required and the variable does not exist
31411         anymore.
31412         (tests-static): Likewise.
31413         (modules-names): Likewise.
31415         * po/eo.po: Add Esperanto translation from translation project.
31417         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31418         merged with constructor/destructor.
31419         (init_array): Likewise.
31420         * elf/tst-array2dep.c (fini_array): Likewise.
31421         (init_array): Likewise.
31423 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31425         * manual/message.texi: Delete @cartouche tags.
31427 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31429         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31430         EOPNOTSUPP.
31431         * sysdeps/mach/hurd/fsync.c: Likewise.
31433         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31434         [_POSIX_REALTIME_SIGNALS]: Change condition to
31435         [_POSIX_REALTIME_SIGNALS > 0].
31437 2012-10-27  Andreas Jaeger  <aj@suse.de>
31439         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31440         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31442         [__WORDSIZE != 64]: Likewise.
31444 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31446         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31447         *  iconvdata/tst-tables.sh: Likewise.
31449 2012-10-25  David S. Miller  <davem@davemloft.net>
31451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31452         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31453         of strtoull.
31455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31456         ifunc-impl-list.c
31457         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31458         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31459         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31460         file.
31462 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31464         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31465         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31466         __getdirentries.
31468 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31469             Jim Blandy  <jimb@codesourcery.com>
31471         * scripts/cross-test-ssh.sh: New file.
31472         * manual/install.texi (Configuring and compiling): Document use of
31473         cross-test-ssh.sh.
31474         * INSTALL: Regenerated.
31476 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31478         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31479         EOPNOTSUPP.
31481 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31483         * Makeconfig (run-program-prefix): Fix comment.
31485 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31486             Jim Blandy  <jimb@codesourcery.com>
31488         * Makeconfig (test-wrapper): New variable,
31489         (test-wrapper-env): Likewise.
31490         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31491         (run-built-tests): Define to yes.
31492         (run-program-prefix): Use $(test-wrapper).
31493         (built-program-cmd): Likewise.
31494         * Rules (make-test-out): Use $(test-wrapper-env) and
31495         $(host-built-program-cmd).
31496         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31497         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31498         tst-pathopt.sh.
31499         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31500         $(test-wrapper-env) to tst-rtld-load-self.sh.
31501         ($(objpfx)order2.out): Use $(test-wrapper).
31502         ($(objpfx)tst-initorder.out): Likewise.
31503         ($(objpfx)tst-initorder2.out): Likewise.
31504         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31505         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31506         (test_wrapper_env): New variable.  Use it to run ld.so.
31507         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31508         Use it to run ld.so.
31509         (test_wrapper_env): Likewise.
31510         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31511         $(test-wrapper) to run-iconv-test.sh.
31512         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31513         (ICONV): Use $test_wrapper.
31514         * posix/Makefile ($(objpfx)globtest.out): Pass
31515         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31516         globtest.sh, not $(run-program-prefix).
31517         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31518         (test_wrapper): Likewise.
31519         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31520         set together with run_via_rtld_prefix.
31521         (run_program_prefix): Define in terms of test_wrapper and
31522         run_via_rtld_prefix.
31524 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31526         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31527         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31528         Targets removed.
31530         [BZ #14743]
31531         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31532         Declare __clock_getres, __clock_gettime, __clock_settime,
31533         __clock_nanosleep, and __clock_getcpuclockid.
31534         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31535         Remove librt_hidden_def (clock_gettime).
31536         * sysdeps/unix/clock_gettime.c: Likewise.
31537         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31539         * rt/clock_getres.c: Define __clock_getres as an alias.
31540         * sysdeps/posix/clock_getres.c: Likewise.
31541         * rt/clock_settime.c: Define __clock_settime as an alias.
31542         * sysdeps/unix/clock_settime.c: Likewise.
31543         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31544         * sysdeps/unix/clock_nanosleep.c: Likewise.
31545         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31546         * rt/clock-compat.c: New file.
31547         * rt/Makefile (librt-routines): Add clock-compat and move
31548         $(clock-routines) to ...
31549         (routines): ... here, new variable.
31550         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31551         Don't add get_clockfreq here.
31552         * rt/Versions (libc: GLIBC_2.17): New version set.
31553         Add clock_* symbols here.
31554         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31556         (GLIBC_2.17): Add clock_* symbols.
31557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31561         Likewise.
31562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31563         Likewise.
31564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31568         * NEWS: Mention the move.
31570         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31571         Use __open, __read, __close rather than their public counterparts.
31572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31573         (__get_clockfreq_via_cpuinfo): Likewise.
31574         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31575         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31577         * config.h.in (HAVE_IFUNC): New #undef.
31578         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31579         was successful.
31580         * configure: Regenerated.
31582 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31584         * configure.in: Move READELF check to start of file.
31585         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31586         libc_cv_asm_gnu_indirect_function in the process.
31587         * configure: Regenerated.
31589 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31591         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31592         send the output to /dev/null.
31593         (libc_cv_cc_with_libunwind): Likewise.
31594         (libc_cv_as_noexecstack): Likewise.
31595         * configure: Regenerate.
31597 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31599         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31601         * posix/globtest.sh (TMPDIR): Do not set.
31602         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31603         (testout): Likewise.
31605 2012-10-24  Andreas Jaeger  <aj@suse.de>
31607         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31608         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31609         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31610         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31611         posix_fadvise64, posix_fallocate64.
31613         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31614         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31615         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31616         Likewise.
31617         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31618         Likewise.
31619         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31622         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31623         <bits/fcntl-linux.h>.
31624         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31626         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31627         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31628         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31629         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31630         [__WORDSIZE != 64]: Likewise.
31632 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31634         * Makeconfig (run-built-tests): New variable.
31635         * Rules [$(cross-compiling) = yes]: Change condition to
31636         [$(run-built-tests) = no].
31637         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31638         to [$(run-built-tests) = yes].
31639         * elf/Makefile [$(cross-compiling) = no]: Likewise
31640         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31641         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31642         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31643         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31644         * io/Makefile [$(cross-compiling) = no]: Likewise.
31645         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31646         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31647         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31648         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31649         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31650         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31651         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31652         * string/Makefile [$(cross-compiling) = no]: Likewise.
31654         * posix/Makefile ($(objpfx)globtest.out): Pass
31655         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31656         $(rtld-installed-name).
31657         * posix/globtest.sh (elf_objpfx): Remove variable.
31658         (rtld_installed_name): Likewise.
31659         (library_path): Likewise.
31660         (run_program_prefix): New variable.  Use for running globtest
31661         binary.
31663 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31664             Joseph Myers  <joseph@codesourcery.com>
31666         * Makeconfig (host-built-program-cmd): New variable.
31667         * elf/Makefile (tst-stackguard1-ARGS): Use
31668         $(host-built-program-cmd).
31669         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31670         (tst-spawn-ARGS): Likewise.
31671         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31673 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31674             Jim Blandy  <jimb@codesourcery.com>
31676         * Makeconfig (run-via-rtld-prefix): New variable.
31677         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31678         (built-program-cmd): Likewise.
31680 2012-10-22  Andreas Jaeger  <aj@suse.de>
31682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31683         __O_RSYNC if it exists, otherwise to O_SYNC.
31685 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31686             Joseph Myers  <joseph@codesourcery.com>
31688         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31689         /dev/null.
31690         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31691         from /dev/null
31692         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31693         /dev/null.
31695 2012-10-22  Andreas Jaeger  <aj@suse.de>
31697         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31698         Define always.
31699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31702         bits/fcntl-linux.h.
31704         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31705         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31707         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31708         to __O_LARGEFILE.
31709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31710         to __O_LARGEFILE.
31712 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31713             Joseph Myers  <joseph@codesourcery.com>
31715         * config.make.in (NM): New variable.
31717 2012-10-21  Andreas Jaeger  <aj@suse.de>
31719         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31720         definitions and declarations that are provided by
31721         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31723 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31725         [BZ #14683]
31726         * elf/Makefile (tests-static): Add tst-leaks1-static.
31727         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31728         ($(objpfx)tst-leaks1-static): New rule.
31729         ($(objpfx)tst-leaks1-static-mem): Likewise.
31730         (tst-leaks1-static-ENV): New macro.
31731         * elf/dl-open.c (dl_open_worker): Check the main application
31732         only if SHARED is defined.
31733         * elf/tst-leaks1-static.c: New file.
31735 2012-10-20  Andreas Jaeger  <aj@suse.de>
31737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31738         generic values for Linux.
31739         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31740         and declarations that are provided by <bits/fcntl-linux.h> and
31741         include <bits/fcntl-linux.h>.
31742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31745 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31747         * io/fcntl.h: Move include of <bits/types.h> to the top and
31748         include it unconditionally.
31750 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31752         * wcsmbs/Makefile (tests-ifunc): New variable.
31753         (tests): Add $(tests-ifunc).
31754         * wcsmbs/test-wcschr-ifunc.c: New file.
31755         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31756         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31757         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31758         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31759         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31761         * string/Makefile (tests-ifunc): New variable.
31762         (tests): Add $(tests-ifunc).
31763         * string/test-memccpy.c (TEST_NAME): New macro.
31764         * string/test-memchr.c (TEST_NAME): Likewise.
31765         * string/test-memcmp.c (TEST_NAME): Likewise.
31766         * string/test-memcpy.c (TEST_NAME): Likewise.
31767         * string/test-memmem.c (TEST_NAME): Likewise.
31768         * string/test-memmove.c (TEST_NAME): Likewise.
31769         * string/test-memset.c (TEST_NAME): Likewise.
31770         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31771         * string/test-stpcpy.c (TEST_NAME): Likewise.
31772         * string/test-stpncpy.c (TEST_NAME): Likewise.
31773         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31774         * string/test-strcasestr.c (TEST_NAME): Likewise.
31775         * string/test-strcat.c (TEST_NAME): Likewise.
31776         * string/test-strchr.c (TEST_NAME): Likewise.
31777         * string/test-strcmp.c(TEST_NAME): Likewise.
31778         * string/test-strcpy.c (TEST_NAME): Likewise.
31779         * string/test-strcspn.c (TEST_NAME): Likewise.
31780         * string/test-strlen.c (TEST_NAME): Likewise.
31781         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31782         * string/test-strncmp.c (TEST_NAME): Likewise.
31783         * string/test-strncpy.c (TEST_NAME): Likewise.
31784         * string/test-strnlen.c (TEST_NAME): Likewise.
31785         * string/test-strpbrk.c (TEST_NAME): Likewise.
31786         * string/test-strrchr.c (TEST_NAME): Likewise.
31787         * string/test-strspn.c (TEST_NAME): Likewise.
31788         * string/test-strstr.c (TEST_NAME): Likewise.
31789         * string/test-bcopy-ifunc.c: New file.
31790         * string/test-bzero-ifunc.c: Likewise.
31791         * string/test-memccpy-ifunc.c: Likewise.
31792         * string/test-memchr-ifunc.c: Likewise.
31793         * string/test-memcmp-ifunc.c: Likewise.
31794         * string/test-memcpy-ifunc.c: Likewise.
31795         * string/test-memmem-ifunc.c: Likewise.
31796         * string/test-memmove-ifunc.c: Likewise.
31797         * string/test-mempcpy-ifunc.c: Likewise.
31798         * string/test-memset-ifunc.c: Likewise.
31799         * string/test-rawmemchr-ifunc.c: Likewise.
31800         * string/test-stpcpy-ifunc.c: Likewise.
31801         * string/test-stpncpy-ifunc.c: Likewise.
31802         * string/test-strcasecmp-ifunc.c: Likewise.
31803         * string/test-strcasestr-ifunc.c: Likewise.
31804         * string/test-strcat-ifunc.c: Likewise.
31805         * string/test-strchr-ifunc.c: Likewise.
31806         * string/test-strchrnul-ifunc.c: Likewise.
31807         * string/test-strcmp-ifunc.c: Likewise.
31808         * string/test-strcpy-ifunc.c: Likewise.
31809         * string/test-strcspn-ifunc.c: Likewise.
31810         * string/test-strlen-ifunc.c: Likewise.
31811         * string/test-strncasecmp-ifunc.c: Likewise.
31812         * string/test-strncat-ifunc.c: Likewise.
31813         * string/test-strncmp-ifunc.c: Likewise.
31814         * string/test-strncpy-ifunc.c: Likewise.
31815         * string/test-strnlen-ifunc.c: Likewise.
31816         * string/test-strpbrk-ifunc.c: Likewise.
31817         * string/test-strrchr-ifunc.c: Likewise.
31818         * string/test-strspn-ifunc.c: Likewise.
31819         * string/test-strstr-ifunc.c: Likewise.
31821         * debug/Makefile (tests-ifunc): New variable.
31822         (tests): Add $(tests-ifunc).
31823         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31824         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31825         * debug/test-stpcpy_chk-ifunc.c: New file.
31826         * debug/test-strcpy_chk-ifunc.c: Likewise.
31828 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31830         [BZ #13601]
31831         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31832         header is not read in.
31834 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31836         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31837         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31838         directly.  Pass built executable to script as
31839         $(built-program-cmd).
31840         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31841         $testprogram without using LD_LIBRARY_PATH and $ldso.
31843         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31844         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31845         $(rtld-installed-name).
31846         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31847         (rtld_installed_name): Likewise.
31848         (library_path): Likewise.
31849         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31850         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31851         $(run-program-prefix) to tst-tables.sh.
31852         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31853         it to run tst-table-from and tst-table-to.
31854         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31855         Pass it to tst-table.sh.
31856         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31857         $(run-program-prefix) to tst-gettext.sh.
31858         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31859         tst-translit.sh.
31860         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31861         tst-gettext2.sh.
31862         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31863         to run tst-gettext.
31864         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31865         to run tst-gettext2.
31866         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31867         to run tst-translit.
31868         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31869         $(run-program-prefix) to tst-mtrace.sh.
31870         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31871         to run tst-mtrace.
31872         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31873         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31874         $(rtld-installed-name).
31875         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31876         (rtld_installed_name): Likewise.
31877         (run_program_prefix): New variable.  Use it to run wordexp-test.
31879         * Makeconfig (ARCH): Remove all definitions.
31880         (machine): Likewise.
31881         [ARCH]: Remove conditional code.
31882         [!objdir]: Give error.
31883         [!objdir] (objpfx): Remove.
31884         [!objdir] (common-objpfx): Likewise.
31885         [!objdir] (common-objdir): Likewise.
31886         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31887         AC_CONFIG_FILES call.
31888         * configure: Regenerated.
31890         [BZ #13888]
31891         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31892         or TMPDIR.
31893         (testout): Likewise.
31895         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31896         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31897         $(rtld-installed-name).
31898         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31899         (rtld_installed_name): Likwise.
31900         (runit): Remove function.
31901         (run_getconf): New variable,  Use it for running getconf binary.
31903 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31905         [BZ #14716]
31906         * string/test-memmem.c (check_result): New function.
31907         (do_one_test): Use it.
31908         (check1): New function.
31909         (test_main): Use it.
31911 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31913         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31915 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31917         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31918         (_G_LSEEK64): Likewise.
31919         (_G_MMAP64): Likewise.
31920         (_G_FSTAT64): Likewise.
31921         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31922         (_G_LSEEK64): Likewise.
31923         (_G_MMAP64): Likewise.
31924         (_G_FSTAT64): Likewise.
31925         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31926         unconditional.  Call __mmap64 directly.
31927         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31928         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31929         __lseek64 directly.
31930         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31931         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31932         __mmap64 directly.
31933         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31934         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31935         __lseek64 directly.
31936         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31937         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31938         __lseek64 directly.
31939         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31940         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31941         __lseek64 directly.
31942         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31943         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31944         __fxstat64 directly.
31945         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31946         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31947         unconditional.
31948         (freopen64) [!_G_OPEN64]: Remove conditional code.
31949         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31950         unconditional.
31951         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31952         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31953         unconditional.
31954         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31955         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31956         unconditional.
31957         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31958         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31959         unconditional.
31960         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31961         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31962         unconditional.
31963         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31964         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31965         unconditional.
31966         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31967         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31968         unconditional.
31969         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31971 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31973         [BZ #12140]
31974         * manual/memory.texi (Malloc Tunable Parameters): Add note
31975         about free list pointers overwriting some perturb bytes.
31976         Wording suggested by Roland McGrath.
31978 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31980         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31981         (lgamma_test): Likewise.
31982         (tgamma_test): Likewise.
31984 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31986         [BZ #14700]
31987         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31988         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31990 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31992         * NEWS: Mention BZ #14716.
31993         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31994         when removing AVAILABLE1_USES_J macro.
31996 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31998         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31999         (__bswap_64): __uint64_t for unsigned 64-bit int.
32001 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
32003         * include/string.h (memmem): Declare libc hidden alias.
32004         * string/memmem.c (memmem): Define libc hidden alias.
32005         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32006         __read, __close instead of open, read, close.
32008 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
32010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32011         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32012         global and hidden.
32013         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32014         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32015         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32016         Likewise.
32017         (__rawmemchr_sse2): Likewise.
32018         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32019         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32020         (__strchr_sse2): Likewise.
32021         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32022         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32023         (__strcasecmp_sse2): Likewise.
32024         (__strncasecmp_sse2): Likewise.
32025         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32026         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32027         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32028         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32029         (__strrchr_sse2): Likewise.
32030         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32031         ifunc-impl-list.c.
32032         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32033         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32034         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32035         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32036         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32037         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32038         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32039         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32040         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32041         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32042         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32043         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32044         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32045         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32046         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32047         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32048         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32049         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32050         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32051         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32052         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32053         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32054         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32055         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32056         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32057         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32058         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32059         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32060         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32061         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32063         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32064         global and hidden.
32065         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32066         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32067         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32068         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32069         Likewise.
32070         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32071         Likewise.
32072         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32073         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32074         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32075         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32076         ifunc-impl-list.c.
32077         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32078         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32079         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32080         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32081         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32082         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32083         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32084         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32085         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32086         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32087         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32088         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32089         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32090         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32091         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32092         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32093         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32094         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32096         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32097         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32098         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32099         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32100         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32101         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32102         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32103         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32104         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32105         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32106         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32107         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32108         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32109         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32110         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32111         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32112         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32113         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32114         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32115         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32116         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32117         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32119         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32120         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32121         * include/ifunc-impl-list.h: New file.
32122         * misc/ifunc-impl-list.c: Likewise.
32123         * misc/Makefile (routines): Add ifunc-impl-list.
32124         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32125         * string/test-string.h: Include <ifunc-impl-list.h>.
32126         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32127         TEST_NAME]: New variables.
32128         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32129         are defined.
32130         (test_init): Call __libc_ifunc_impl_list to initialize
32131         func_list if TEST_IFUNC and TEST_NAME are defined.
32133         * string/Makefile (strop-tests): Add bcopy and bzero.
32134         * string/test-bcopy.c: New file.
32135         * string/test-bzero.c: Likewise.
32136         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32137         defined.
32138         * string/test-memset.c: Support bzero test if TEST_BZERO is
32139         defined.
32140         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32141         __libc_memmove.
32142         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32143         __libc_memset.
32144         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32145         of memset.
32147 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
32149         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32150         * configure: Regenerated.
32152         * Makeconfig (+link-static-before-libc): Don't include
32153         $(link-static-libc).
32155         * libio/libio.h (_IO_pos_t): Remove.
32157 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32159         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
32160         McGrath.
32162 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32164         * crypt/crypt-entry.c: Include fips-private.h.
32165         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32166         * crypt/md5c-test.c (main): Tolerate disabled MD5.
32167         * sysdeps/unix/sysv/linux/fips-private.h: New file.
32168         * sysdeps/generic/fips-private.h: New file, dummy fallback.
32170 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
32172         * crypt/crypt-private.h: Include stdbool.h.
32173         (_ufc_setup_salt_r): Return bool.
32174         * crypt/crypt-entry.c: Include errno.h.
32175         (__crypt_r): Return NULL with EINVAL for bad salt.
32176         * crypt/crypt_util.c (bad_for_salt): New.
32177         (_ufc_setup_salt_r): Check that salt is long enough and within
32178         the specified alphabet.
32179         * crypt/badsalttest.c: New file.
32180         * crypt/Makefile (tests): Add it.
32181         ($(objpfx)badsalttest): New.
32183 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
32185         * NEWS: Add entry for BZ #14602.
32187 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32189         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32190         type-generic.
32191         * math/libm-test.inc: Update comment listing what functions and
32192         macros are tested.
32193         (isgreater_test): New function.
32194         (isgreaterequal_test): Likewise.
32195         (isless_test): Likewise.
32196         (islessequal_test): Likewise.
32197         (islessgreater_test): Likewise.
32198         (isunordered_test): Likewise.
32199         (main): Call the new functions.
32201 2012-10-09  Roland McGrath  <roland@hack.frob.com>
32203         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32204         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32205         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32206         * sysdeps/i386/configure: Regenerated.
32207         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32208         * sysdeps/mach/configure: Regenerated.
32209         * sysdeps/mach/hurd/configure: Regenerated.
32210         * sysdeps/powerpc/configure: Regenerated.
32211         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32212         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32213         * sysdeps/s390/s390-32/configure: Regenerated.
32214         * sysdeps/s390/s390-64/configure: Regenerated.
32215         * sysdeps/sh/configure: Regenerated.
32216         * sysdeps/sparc/configure: Regenerated.
32217         * sysdeps/unix/sysv/linux/configure: Regenerated.
32218         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32219         * sysdeps/x86_64/configure: Regenerated.
32221         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32222         defined.  Don't check if MAP is NULL.
32224 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
32226         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32227         (_G_stat64): Likewise.
32228         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32229         (_G_stat64): Likewise.
32230         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32231         instead of struct _G_stat64.
32232         * libio/fileops.c (mmap_remap_check): Likewise.
32233         (decide_maybe_mmap): Likewise.
32234         (_IO_new_file_seekoff): Likewise.
32235         (_IO_file_stat): Likewise.
32236         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32237         _G_off64_t.
32238         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32239         instead of struct _G_stat64.
32240         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32242 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
32244         [BZ #14602]
32245         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32246         Replace with ...
32247         (CHECK_EOL): New macro.
32248         (two_way_short_needle): Check beginning of haystack for EOL.  Use
32249         CHECK_EOL.
32250         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32251         Replace with CHECK_EOL.
32252         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32253         Replace with CHECK_EOL.
32255 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
32257         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32258         type-generic.
32259         * math/libm-test.inc: Update comment listing what functions and
32260         macros are tested.
32261         (finite_test): New function.
32262         (isinf_test): Likewise.
32263         (isnan_test): Likewise.
32264         (fpclassify_test): Test subnormal input.
32265         (isfinite_test): Likewise.
32266         (isnormal_test): Likewise.
32267         (main): Call the new functions.
32269 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
32271         [BZ #14660]
32272         * Makerules (%.dynsym): Force C locale when running
32273         $(OBJDUMP) --dynamic-syms.
32275 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
32277         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32278         <stdint.h>.
32280 2012-10-06  David S. Miller  <davem@davemloft.net>
32282         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32283         upper 32-bits of the length value in %o2 since we use branch-on-register
32284         tests which consider the entire 64-bit register.
32286 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32288         * string/test-strstr.c (check2): Add a test for page boundary.
32290 2012-10-05  David S. Miller  <davem@davemloft.net>
32292         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32293         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32294         file.
32295         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32296         sysdep_routines.
32297         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32298         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32299         and bzero when HWCAP_SPARC_CRYPTO is present.
32301 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32303         [BZ #14602]
32304         * string/test-strstr.c (check2): New function.
32305         (test_main): Call check2.
32307         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32308         and bug-strchr1.
32309         * string/bug-strcasestr1.c (do_test): Moved to ...
32310         * string/test-strcasestr.c (check1): Here.  New function.
32311         (do_one_test): Break out result checking code into ...
32312         (check_result): This.  New function.
32313         (do_one_test): Call check_result.
32314         (test_main): Call check1.
32315         * string/bug-strchr1.c (do_test): Moved to ...
32316         * string/test-strchr.c (check1): Here.  New function.
32317         (do_one_test): Break out result checking code into ...
32318         (check_result): This.  New function.
32319         (do_one_test): Call check_result.
32320         (test_main): Call check1.
32321         * string/bug-strstr1.c (main): Moved to ...
32322         * string/test-strstr.c (check1): Here.  New function.
32323         (do_one_test): Break out result checking code into ...
32324         (check_result): This.  New function.
32325         (do_one_test): Call check_result.
32326         (test_main): Call check1.
32327         * string/bug-strcasestr1.c: Removed.
32328         * string/bug-strchr1.c: Likewise.
32329         * string/bug-strstr1.c: Likewise.
32331         * elf/Makefile (dl-routines): Add hwcaps.
32332         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32333         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32334         (_dl_important_hwcaps): Moved to ...
32335         * elf/dl-hwcaps.c: Here.  New file.
32336         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32338         [BZ #14557]
32339         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32340         if IS_IN_rtld isn't defined.
32342         * elf/dl-support.c (_dl_sysinfo_map): New.
32343         Include "get-dynamic-info.h" and "setup-vdso.h".
32344         (_dl_non_dynamic_init): Call setup_vdso.
32345         * elf/dynamic-link.h: Don't include <assert.h>.
32346         (elf_get_dynamic_info): Moved to ...
32347         * elf/get-dynamic-info.h: Here.  New file.
32348         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32349         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32350         * elf/setup-vdso.h: Here.  New file.
32351         * elf/rtld.c: Include "setup-vdso.h".
32352         (dl_main): Call setup_vdso.
32354 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32356         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32357         creal in comment listing functions tested.  List finite, isinf,
32358         isnan, isless, islessequal, isgreater, isgreaterequal,
32359         islessgreater, isunordered, lgamma_r and pow10 as functions and
32360         macros not tested.  Mention which functions not tested are aliases
32361         for other functions.  Fix typo.  Note that signs of NaNs are not
32362         tested.
32364         * scripts/config.guess: Update from config.git.
32365         * scripts/config.sub: Likewise.
32367 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32369         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32370         * misc/madvise.c (madvise): Renamed to __madvise.
32371         Make madvise a weak alias.
32372         * include/sys/mman.h: Declare __madvise.
32373         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32374         * sysdeps/unix/syscalls.list
32375         (madvise): Make __madvise the strong name, and madvise a weak alias.
32376         * sysdeps/unix/sysv/linux/syscalls.list
32377         (madvise, mmap): Remove redundant entries.
32378         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32379         * malloc/malloc.c (mtrim): Likewise.
32380         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32382 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32384         * sysdeps/mach/hurd/dl-cache.c: File removed.
32385         * config.h.in (USE_LDCONFIG): New #undef.
32386         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32387         * configure: Regenerated.
32388         * elf/Makefile (dl-routines): Add dl-cache only under
32389         [$(use-ldconfig) = yes].
32390         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32391         cache on [USE_LDCONFIG].
32392         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32393         [USE_LDCONFIG].
32394         * elf/rtld.c (dl_main): Likewise.
32396 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32398         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32399         _SC_LEVEL4_CACHE_LINESIZE.
32401 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32403         * sysdeps/unix/bsd/confstr.h: File removed.
32405 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32407         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32408         sys/sdt-config.h.
32410 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32412         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32413         Make 'mapoff' field ElfW(Off) rather than off_t.
32415 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32417         * nscd/Makefile: Remove nscd-cflags and all its users.
32418         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32419         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32421         [BZ #10631]
32422         * malloc.c (malloc_printerr): Clarify error message.
32424 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32426         [BZ #14648]
32427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32428         Set bit_FMA_Usable if FMA is supported.
32429         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32430         macro.
32431         (bit_FMA4_Usable): Updated.
32432         (index_FMA_Usable): New macro.
32433         (CPUID_FMA): Likewise
32434         (HAS_FMA): Defined with bit_FMA_Usable.
32436 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32438         * bits/types.h (__swblk_t): Type removed.
32439         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32440         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32442         (__SWBLK_T_TYPE): Likewise.
32443         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32444         (__SWBLK_T_TYPE): Likewise.
32445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32446         (__SWBLK_T_TYPE): Likewise.
32447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32448         (__SWBLK_T_TYPE): Likewise.
32450 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32451             Honza Horak <hhorak@redhat.com>
32453         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32454         (xdr_mapname): Use YPMAXMAP as maxsize.
32455         (xdr_peername): Use YPMAXPEER as maxsize.
32456         (xdr_keydat): Use YPAXRECORD as maxsize.
32457         (xdr_valdat): Use YPMAXRECORD as maxsize.
32459 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32461         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32463         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32464         * csu/init-first.c: ... here.
32465         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32466         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32467         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32468         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32469         * sysdeps/i386/init-first.c: File removed.
32470         * sysdeps/sh/init-first.c: File removed.
32472 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32474         [BZ #14645]
32475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32476         if x * y might underflow to zero and z is zero.
32477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32479         * math/libm-test.inc (min_subnorm_value): New variable.
32480         (fma_test): Add more tests.
32481         (fma_test_towardzero): Likewise.
32482         (fma_test_downward): Likewise
32483         (fma_test_upward): Likewise.
32484         (initialize): Set min_subnorm_value.
32486 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32488         [BZ #14638]
32489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32490         0 + 0.
32491         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32492         mode for addition resulting in exact zero.
32493         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32495         exact 0 + 0.
32496         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32498         * math/libm-test.inc (fma_test): Add more tests.
32499         (fma_test_towardzero): New function.
32500         (fma_test_downward): Likewise.
32501         (fma_test_upward): Likewise.
32502         (main): Call the new functions.
32504 2012-09-28  David S. Miller  <davem@davemloft.net>
32506         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32508 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32510         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32511         instead of SIGALRM.
32513         * sysdeps/gnu/_G_config.h: Moved to ...
32514         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32515         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32516         * sysdeps/generic/_G_config.h: ... here.
32518         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32520         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32522         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32523         Conditionalize target on [libnss_test1.so-version].
32525         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32527         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32528         (elfobjdir): Move out of conditionals.
32530         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32531         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32532         (__nss_lookup_function): Conditionalize label remove_from_tree on
32533         [!DO_STATIC_NSS || SHARED], matching its only use.
32535 2012-09-28  David S. Miller  <davem@davemloft.net>
32537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32538         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32539         file.
32540         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32541         sysdep_routines.
32542         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32543         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32544         when HWCAP_SPARC_CRYPTO is present.
32546 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32548         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32550 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32552         [BZ #6530]
32553         * stdio-common/vfprintf.c (process_string_arg): Revert
32554         2000-07-22 change.
32556 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32558         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32559         for testcase.
32560         * stdio-common/tst-sprintf.c: Include <locale.h>
32561         (main): Test sprintf's handling of incomplete multibyte
32562         characters.
32564 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32566         * elf/dl-runtime.c (VERSYMIDX): Removed.
32567         * elf/dl-version.c (VERSYMIDX): Likewise.
32568         * elf/do-rel.h (VERSYMIDX): Likewise.
32569         (VALIDX): Likewise.
32570         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32571         * elf/rtld.c (VALIDX): Likewise.
32572         (ADDRIDX): Likewise.
32573         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32574         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32575         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32576         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32577         (VALIDX): Likewise.
32578         (ADDRIDX): Likewise.
32580 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32582         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32584 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32586         [BZ #11438]
32587         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32588         to global scope.
32589         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32590         addresses are in the same scope as 192.0.2/24.
32591         * posix/gai.conf: Document new scope table defaults.
32593 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32595         [BZ #5298]
32596         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32597         for ftell.  Compute offsets from write pointers instead.
32598         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32600 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32602         [BZ #14543]
32603         * libio/Makefile (tests): New test case tst-fseek.
32604         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32605         combination works in wide mode.
32606         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32607         state when the external buffer state changes.
32609 2012-09-27  David S. Miller  <davem@davemloft.net>
32611         [BZ #14376]
32612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32613         pass reloc->r_addend in as the 'high' argument to
32614         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32618 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32620         * rt/tst-aio2.c: Include <pthread.h>.
32621         * rt/tst-aio3.c: Likewise.
32623 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32625         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32627 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32629         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32630         contents on [SHARED].
32632 2012-09-26  Marek Polacek  <polacek@redhat.com>
32634         [BZ #14530]
32635         [BZ #13741]
32636         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32637         for C++ and GCC <4.3 as well as for non GCC compilers.
32639 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32643 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32645         * Makefile.in (all, install): Declare with .PHONY.
32646         Reported by Michael Hope <michael.hope@linaro.org>.
32648 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32650         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32651         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32652         system header.
32653         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32654         Likewise.
32655         (sydep_routines): Add the new and the internal functions.
32656         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32657         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32659         (GLIBC_2.17): Add the new function.
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32661         (GLIBC_2.17): Likewise.
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32663         (GLIBC_2.17): Likewise.
32664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32665         (GLIBC_2.17): Likewise.
32666         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32668 2012-09-25  Alan Modra  <amodra@gmail.com>
32670         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32671         Add release barrier before setting once_control to say
32672         initialisation is done.  Add hints on lwarx.  Use macro in
32673         place of isync.
32674         (clear_once_control): Add release barrier.
32676 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #13629]
32679         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32680         specially.
32681         * math/s_clog10.c (__clog10): Likewise.
32682         * math/s_clog10f.c (__clog10f): Likewise.
32683         * math/s_clog10l.c (__clog10l): Likewise.
32684         * math/s_clogf.c (__clogf): Likewise.
32685         * math/s_clogl.c (__clogl): Likewise.
32686         * math/Makefile (libm-calls): Add x2y2m1.
32687         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32688         (__x2y2m1): Likewise.
32689         (__x2y2m1l): Likewise.
32690         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32691         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32692         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32693         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32694         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32695         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32696         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32697         * sysdeps/i386/fpu/libm-test-ulps: Update.
32698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32700         [BZ #14621]
32701         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32702         int as type of variable DEPTH.
32703         (glob): Use size_t instead of int as type of variables NEWCOUNT
32704         and OLD_PATHC.
32706 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32708         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32709         Add s_sincosf-sse2.
32710         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32711         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32712         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32713         macros for using routine as __sincosf_ia32.
32714         Use macro for function declaration and weak_alias.
32715         * sysdeps/i386/fpu/libm-test-ulps: Update.
32717         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32720         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32721         subnormal argument.
32722         * math/s_cexpf.c (__cexpf): Likewise.
32723         * math/s_csinf.c (__csinf): Likewise.
32724         * math/s_csinhf.c (__csinhf): Likewise.
32725         * math/s_ctanf.c (__ctanf): Likewise.
32726         * math/s_ctanhf.c (__ctanhf): Likewise.
32727         * math/s_ccosh.c (__ccoshf): Likewise.
32728         * math/s_cexp.c (__cexpl): Likewise.
32729         * math/s_csin.c (__csin): Likewise.
32730         * math/s_csinh.c (__csinh): Likewise.
32731         * math/s_ctan.c (__ctan): Likewise.
32732         * math/s_ctanh.c (ctanh): Likewise.
32733         * math/s_ccoshl.c (__ccoshl): Likewise.
32734         * math/s_cexpl.c (__cexpl): Likewise.
32735         * math/s_csinl.c (__csinl): Likewise.
32736         * math/s_csinhl.c (__csinhl): Likewise.
32737         * math/s_ctanl.c (__ctanl): Likewise.
32738         * math/s_ctanhl.c (__ctanhl): Likewise.
32740 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32742         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32743         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32744         (_IO_off_t): Define to __off_t, not _G_off_t.
32745         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32746         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32747         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32748         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32749         type of __dummy and __dummy2 fields.
32750         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32751         (_G_ssize_t): Likewise.
32752         (_G_off_t): Likewise.
32753         (_G_pid_t): Likewise.
32754         (_G_uid_t): Likewise.
32755         (_G_wchar_t): Likewise.
32756         (_G_wint_t): Likewise.
32757         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32758         (_G_ssize_t): Likewise.
32759         (_G_off_t): Likewise.
32760         (_G_pid_t): Likewise.
32761         (_G_uid_t): Likewise.
32762         (_G_wchar_t): Likewise.
32763         (_G_wint_t): Likewise.
32764         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32765         (_G_ssize_t): Likewise.
32766         (_G_off_t): Likewise.
32767         (_G_pid_t): Likewise.
32768         (_G_uid_t): Likewise.
32769         (_G_wchar_t): Likewise.
32770         (_G_wint_t): Likewise.
32772 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32774         * malloc/arena.c: Include malloc-sysdep.h.
32775         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32776         is sufficient to shrink the heap or an unmap is needed.
32777         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32778         new function check_may_shrink_heap.
32779         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32780         new function check_may_shrink_heap.
32782 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32784         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32785         comments.
32787 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32789         * catgets/test-gencat.sh: Add "set -e".
32790         * elf/tst-pathopt.sh: Likewise.
32791         * grp/tst_fgetgrent.sh: Likewise.
32792         * iconvdata/run-iconv-test.sh: Likewise.
32793         * intl/tst-gettext.sh: Likewise.
32794         * intl/tst-gettext2.sh: Likewise.
32795         * intl/tst-gettext4.sh: Likewise.
32796         * intl/tst-gettext6.sh: Likewise.
32797         * intl/tst-translit.sh: Likewise.
32798         * io/ftwtest-sh: Likewise.
32799         * libio/test-freopen.sh: Likewise.
32800         * malloc/tst-mtrace.sh: Likewise.
32801         * posix/globtest.sh: Likewise.
32802         * posix/tst-getconf.sh: Likewise.
32803         * posix/wordexp-tst.sh: Likewise.
32804         * stdio-common/tst-printf.sh: Likewise.
32805         * stdio-common/tst-unbputc.sh: Likewise.
32806         * stdlib/tst-fmtmsg.sh: Likewise.
32807         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32808         * catgets/Makefile: Do not specify -e option when running
32809         testsuite shell scripts.
32810         * elf/Makefile: Likewise.
32811         * grp/Makefile: Likewise.
32812         * iconvdata/Makefile: Likewise.
32813         * intl/Makefile: Likewise.
32814         * io/Makefile: Likewise.
32815         * libio/Makefile: Likewise.
32816         * malloc/Makefile: Likewise.
32817         * posix/Makefile: Likewise.
32818         * stdio-common/Makefile: Likewise.
32819         * stdlib/Makefile: Likewise.
32820         * sysdeps/x86_64/Makefile: Likewise.
32822         * io/ftwtest-sh: Add copyright header.
32823         * posix/globtest.sh: Likewise.
32824         * posix/tst-getconf.sh: Likewise.
32825         * posix/wordexp-tst.sh: Likewise.
32826         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32828 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32830         [BZ #13679]
32831         * Makeconfig (+link): Defined as $(+link-static) if
32832         $(build-shared) isn't yes.
32833         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32834         isn't yes.
32835         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32837         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32839         [BZ #14562]
32840         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32841         new chunk size with MALLOC_ALIGN_MASK.
32843 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32845         [BZ #5044]
32846         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32847         <rounding-mode.h>.
32848         (__printf_fphex): Determine rounding using get_rounding_mode and
32849         round_away.
32850         * stdio-common/tst-printf-round.c (struct hex_test): New
32851         structure.
32852         (hex_tests): New variable.
32853         (test_hex_in_one_mode): New function.
32854         (do_test): Also run tests for hex float output.
32856 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32858         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32859         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32860         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32861         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32862         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32863         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32864         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32865         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32867 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32869         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32870         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32871         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32872         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32874 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32876         [BZ #14579]
32877         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32878         mode only.
32879         * elf/tst-rtld-load-self.sh: New test.
32880         * elf/Makefile: Run it.
32882 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32884         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32885         (tst-writev-ENV): Remove.
32886         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32888 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32890         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32892 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32894         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32895         unconditional.
32896         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32897         Likewise.
32898         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32899         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32900         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32901         Likewise.
32903 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32905         [BZ #14587]
32906         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32907         * config.make.in (have-cpp-asm-debuginfo): Removed.
32908         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32909         * configure: Regenerated.
32911 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32913         [BZ #5044]
32914         * stdio-common/printf_fp.c: Include <stdbool.h> and
32915         <rounding-mode.h>.
32916         (___printf_fp): Determine rounding using get_rounding_mode and
32917         round_away.
32918         * stdio-common/tst-printf-round.c: New file.
32919         * stdio-common/Makefile (tests): Add tst-printf-round.
32920         (link-libm): New variable.
32921         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32923 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32925         [BZ #14576]
32926         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32927         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32928         Likewise.
32929         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32930         Likewise.
32932 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32934         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32935         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32936         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32937         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32939 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32941         [BZ #14518]
32942         * include/rounding-mode.h: New file.
32943         * sysdeps/generic/get-rounding-mode.h: Likewise.
32944         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32945         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32946         (MAX_VALUE): New macro.
32947         (MIN_VALUE): Likewise.
32948         (overflow_value): New function.
32949         (underflow_value): Likewise.
32950         (round_and_return): Use overflow_value and underflow_value to
32951         determine return values in overflow and underflow cases.  Use
32952         round_away to determine rounding depending on rounding mode.
32953         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32954         determine return values in overflow and underflow cases.
32955         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32956         (struct test_results): New structure.
32957         (struct test): Use struct test_results to store expected results
32958         for all rounding modes.
32959         (TEST): Include expected results for all rounding modes.
32960         (test_in_one_mode): New function.
32961         (do_test): Use test_in_one_mode to compute and check results.
32962         Check results for all rounding modes.
32963         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32964         $(link-libm).
32966 2012-12-09  Allan McRae  <allan@archlinux.org>
32968         * sysdeps/i386/fpu/libm-test-ulps: Update
32970 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32972         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32973         (_G_int32_t): Likewise.
32974         (_G_uint16_t): Likewise.
32975         (_G_uint32_t): Likewise.
32976         (_G_HAVE_BOOL): Likewise.
32977         (_G_HAVE_ATEXIT): Likewise.
32978         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32979         (_G_HAVE_IO_FILE_OPEN): Likewise.
32980         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32981         (_G_int32_t): Likewise.
32982         (_G_uint16_t): Likewise.
32983         (_G_uint32_t): Likewise.
32984         (_G_HAVE_BOOL): Likewise.
32985         (_G_HAVE_ATEXIT): Likewise.
32986         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32987         (_G_HAVE_IO_FILE_OPEN): Likewise.
32988         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32989         (_G_int32_t): Likewise.
32990         (_G_uint16_t): Likewise.
32991         (_G_uint32_t): Likewise.
32992         (_G_HAVE_BOOL): Likewise.
32993         (_G_HAVE_ATEXIT): Likewise.
32994         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32995         (_G_HAVE_IO_FILE_OPEN): Likewise.
32997 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32999         * csu/libc-tls.c: Update copyright years.
33001 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
33003         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33004         [!_G_USING_THUNKS]: Remove conditional code.
33005         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33006         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33008         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33009         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33010         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33011         (_G_VTABLE_LABEL_PREFIX): Likewise.
33012         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33013         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33014         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33015         (_G_VTABLE_LABEL_PREFIX): Likewise.
33016         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33017         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33018         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33019         (_G_VTABLE_LABEL_PREFIX): Likewise.
33020         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33022 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
33024         * libio/Makefile: Include ../Makeconfig before tests.
33025         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33026         only if $(build-shared) is yes.
33028         * iconv/gconv_db.c: Update copyright years.
33030 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33032         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33033         unwind info if defined PIC. Fix special cases description.
33034         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33036         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33037         DP_HI_MASK entry.
33038         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33040 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
33042         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33044         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33045         is NULL.
33047         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33048         (LDLIBS-tst-chk4): This.
33049         (LDFLAGS-tst-chk5): Renamed to ...
33050         (LDLIBS-tst-chk5): This.
33051         (LDFLAGS-tst-chk6): Renamed to ...
33052         (LDLIBS-tst-chk6): This.
33053         (LDFLAGS-tst-lfschk4): Renamed to ...
33054         (LDLIBS-tst-lfschk4): This.
33055         (LDFLAGS-tst-lfschk5): Renamed to ...
33056         (LDLIBS-tst-lfschk5): This.
33057         (LDFLAGS-tst-lfschk6): Renamed to ...
33058         (LDLIBS-tst-lfschk6): This.
33060         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33061         on $(common-objpfx)soversions.mk.
33063 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
33065         [BZ #10014]
33066         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33067         example host name.
33069 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * malloc/arena.c (arena_get_retry): New function that gets
33072         another arena for the caller to try its request on.
33073         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33074         current arena cannot fulfill the request.
33075         (__libc_memalign): Likewise.
33076         (__libc_memalign): Likewise.
33077         (__libc_pvalloc): Likewise.
33078         (__libc_calloc): Likewise.
33080 2012-09-05  John Tobey  <john.tobey@gmail.com>
33082         [BZ #13542]
33083         * manual/arith.texi (Operations on Complex): Fix description
33084         of carg branch cut.
33086 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33088         [BZ #10014]
33089         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33090         host name.
33092         [BZ #10038]
33093         * manual/memory.texi (Memory): Make order of menu items match
33094         order of sections.
33096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33098         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33099         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
33100         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33104         * csu/libc-tls.c (static_dtv): Renamed to ...
33105         (_dl_static_dtv): This.  Make it global.
33106         (_dl_initial_dtv): Removed.
33107         (__libc_setup_tls): Updated.
33108         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33109         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33110         DL_INITIAL_DTV.
33112 2012-09-06  Petr Machata  <pmachata@redhat.com>
33114         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33115         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33116         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33117         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33119 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33121         [BZ #14545]
33122         * csu/libc-tls.c (_dl_initial_dtv): New variable.
33123         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33124         freeing dtv[-1].
33126 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
33128         [BZ #14544]
33129         * Makeconfig (link-static-before-libc): Replace $(+prector)
33130         with $(+prectorT).
33131         (link-static-after-libc): Replace $(+postctor) with
33132         $(+postctorT).
33133         (link-bounded): Replace $(+prector)/$(+postctor) with
33134         $(+prectorT)/$(+postctorT).
33135         (+prectorT): New macro.
33136         (+postctorT): Likewise.
33138 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
33140         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33141         (round_str): Handle values above the maximum for IBM long double
33142         as inexact.
33143         * stdlib/tst-strtod-round.c (tests): Regenerated.
33145 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33147         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33148         assembler flag.
33149         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33150         zarch_nohighgprs around the zarch optimized routines.
33151         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33152         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33154         for zarch.
33156 2012-09-05  David S. Miller  <davem@davemloft.net>
33158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33160         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33161         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33162         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33163         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33164         entries.
33166 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33168         * malloc/arena.c: Fold copyright years.
33169         * malloc/mcheck.c, malloc/memusage.c: Likewise.
33171 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33173         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33177         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
33179 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33181         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33182         change internal state upon failure.
33184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
33186         * malloc/mcheck.c (mcheck_check_all): Fix typo.
33187         * malloc/memusage.c (mmap): Likewise.
33188         (mmap64, mremap): Likewise.  Adjust name in comment.
33190 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33192         * libio/fileops.c: Fix typos in comments.
33193         * libio/oldfileops.c: Likewise.
33194         * libio/wfileops.c: Likewise.
33196 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33198         [BZ #1349]
33199         * malloc/Makefile (tests): Add tst-malloc-usable test case.
33200         (tst-malloc-usable-ENV): Set environment for test case.
33201         * malloc/hooks.c (malloc_check_get_size): New function to get
33202         requested size.
33203         * malloc/malloc.c (musable): Use malloc_check_get_size.
33204         * malloc/tst-malloc-usable.c: New test case.
33206 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33208         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33210 2012-09-05  Allan McRae  <allan@archlinux.org>
33212         [BZ #13966]
33213         * configure.in (CXX_SYSINCLUDES): Use compiler output to
33214         determine header location.
33215         * configure: Regenerated.
33217 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33219         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33220         float format.
33221         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33222         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33223         format.
33224         (test): Regenerate.
33226 2012-09-04  David S. Miller  <davem@davemloft.net>
33228         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33229         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33230         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33232 2012-09-04  Florian Weimer  <fweimer@redhat.com>
33234         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33235         failures.
33237         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33239 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
33241         [BZ #9914]
33242         * libio/iogetdelim.c: Include <limits.h>.
33243         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33244         + len + 1 would overflow.
33246 2012-09-03  Andreas Jaeger  <aj@suse.de>
33248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33251 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33253         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33254         Add s_sinf-sse2, s_conf-sse2.
33256         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33257         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33258         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33259         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33261         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33262         for using routine as __sinf_ia32.
33263         Use macro for function declaration and weak_alias.
33264         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33265         for using routine as __cosf_ia32.
33266         Use macro for function declaration and weak_alias.
33268         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33269         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33271         * sysdeps/x86_64/fpu/s_sinf.S: New file.
33272         * sysdeps/x86_64/fpu/s_cosf.S: New file.
33273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33275         * math/libm-test.inc (cos_test): Add more test cases.
33276         (sin_test): Likewise.
33277         (sincos_test): Likewise.
33279 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33281         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33282         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33283         hidden.
33284         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33286 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33288         [BZ #14538]
33289         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33290         first element of the GOT.
33291         (elf_machine_load_address): Return the difference between
33292         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33294 2012-09-01  Allan McRae  <allan@archlinux.org>
33296         [BZ #13412]
33297         * configure.in (AWK): Require gawk version 3.0 or later.
33298         * configure: Regenerated.
33300 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33302         * sysdeps/unix/sysv/linux/kernel-features.h
33303         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33304         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33305         [__NR_clock_getres]: Make code unconditional.
33306         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33307         (clock_getcpuclockid): Remove code left unreachable by removal of
33308         conditionals.
33309         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33310         code unconditional.
33311         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33312         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33313         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33314         Make code unconditional.
33315         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33316         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33317         * sysdeps/unix/sysv/linux/clock_settime.c
33318         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33319         conditional code.
33320         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33321         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33323 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33325         [BZ #14476]
33326         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33327         scripts/test-installation.pl.
33329         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33330         and $ld_so_version if it is set.
33332 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33334         [BZ #14516]
33335         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33336         failure if reading from procfs failed.
33337         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33339 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33341         * sysdeps/unix/sysv/linux/kernel-features.h
33342         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33343         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33344         Remove conditional code.
33345         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33346         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33347         Remove conditional code.
33348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33349         * sysdeps/unix/sysv/linux/i386/fxstat.c
33350         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33352         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33353         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33355         * sysdeps/unix/sysv/linux/i386/lxstat.c
33356         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33358         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33359         Remove conditional code.
33360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33361         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33362         Remove conditional code.
33363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33364         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33365         <kernel-features.h>.
33366         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33367         Remove.
33368         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33369         Remove conditional code.
33370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33371         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33372         Remove conditional.
33374 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33376         [BZ #5400]
33377         * NEWS: Add fixed bug number.
33379 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33381         [BZ #14519]
33382         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33383         underflowing exponent in case of negative sign.
33384         * stdlib/tst-strtod-round-data: Add more tests.
33385         * stdlib/tst-strtod-round.c (tests): Regenerated.
33387         [BZ #3479]
33388         * stdlib/strtod_l.c (NDIG): Remove.
33389         (HEXNDIG): Likewise.
33390         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33391         smallest representable value.
33392         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33393         lie within an exact representation of 1/2 ulp of the result.
33394         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33395         unconditionally.
33396         (TENS_P9_IDX): Define unconditionally.
33397         (TENS_P9_SIZE): Likewise.
33398         (TENS_P10_IDX): Likewise.
33399         (TENS_P10_SIZE): Likewise.
33400         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33401         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33402         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33403         entries for 10^2^13 and 10^2^14.
33404         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33405         (TENS_P13_IDX): Define.
33406         (TENS_P13_SIZE): Likewise.
33407         (TENS_P14_IDX): Likewise.
33408         (TENS_P14_SIZE): Likewise.
33409         (_fpioconst_pow10): Change array size to
33410         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33411         unconditional.
33412         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33413         1024]: Add entries for 10^2^13 and 10^2^14.
33414         [LAST_POW10 > _LAST_POW10]: Remove #error.
33415         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33416         (_fpioconst_pow10): Change array size to
33417         FPIOCONST_POW10_ARRAY_SIZE.
33418         * stdlib/gen-fpioconst.c: New file.
33419         * stdlib/gen-tst-strtod-round.c: Likewise.
33420         * stdlib/tst-strtod-round-data: Likewise.
33421         * stdlib/tst-strtod-round.c: Likewise.
33422         * stdlib/Makefile (tests): Add tst-strtod-round.
33424         [BZ #14459]
33425         * stdlib/strtod_l.c: Include <stdint.h>.
33426         (NDEBUG): Do not define.
33427         (round_and_return): Change EXPONENT parameter to type intmax_t.
33428         Rearrange calculations to avoid internal overflow possibilities.
33429         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33430         Rearrange calculations to avoid internal overflow possibilities.
33431         Assert that number fits inside MPNSIZE limbs.
33432         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33433         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33434         calculations and add assertions to avoid internal overflow
33435         possibilities.  Add casts to avoid signed/unsigned operations.
33436         * stdlib/tst-strtod-overflow.c: New file.
33437         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33439 2012-08-25  Marek Polacek  <polacek@redhat.com>
33441         * time/time.h: Fix some typos in comments.
33443 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33445         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33446         * posix/tst-rfc3484-2.c: Likewise.
33447         * posix/tst-rfc3484-3.c: Likewise.
33449 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33451         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33452         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33454 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33456         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33457         #include of fxstatat64.c.
33459 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33461         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33462         * shadow/getspent_r.c: Likewise.
33463         * shadow/getspnam.c: Likewise.
33464         * shadow/getspnam_r.c: Likewise.
33465         * gshadow/getsgent.c: Likewise.
33466         * gshadow/getsgent_r.c: Likewise.
33467         * gshadow/getsgnam.c: Likewise.
33468         * gshadow/getsgnam_r.c: Likewise.
33469         * inet/getnetbyad.c: Likewise.
33470         * inet/getnetbyad_r.c: Likewise.
33471         * inet/getnetbynm.c: Likewise.
33472         * inet/getnetbynm_r.c: Likewise.
33473         * inet/getnetent.c: Likewise.
33474         * inet/getnetent_r.c: Likewise.
33475         * inet/getproto.c: Likewise.
33476         * inet/getproto_r.c: Likewise.
33477         * inet/getprtent.c: Likewise.
33478         * inet/getprtent_r.c: Likewise.
33479         * inet/getprtname.c: Likewise.
33480         * inet/getprtname_r.c: Likewise.
33481         * inet/getrpcbyname.c: Likewise.
33482         * inet/getrpcbyname_r.c: Likewise.
33483         * inet/getrpcbynumber.c: Likewise.
33484         * inet/getrpcbynumber_r.c: Likewise.
33485         * inet/getrpcent.c: Likewise.
33486         * inet/getrpcent_r.c: Likewise.
33487         * inet/getaliasent.c: Likewise.
33488         * inet/getaliasent_r.c: Likewise.
33489         * inet/getaliasname.c: Likewise.
33490         * inet/getaliasname_r.c: Likewise.
33491         * nscd/getgrgid_r.c: Likewise.
33492         * nscd/getgrnam_r.c: Likewise.
33493         * nscd/gethstbyad_r.c: Likewise.
33494         * nscd/gethstbynm3_r.c: Likewise.
33495         * nscd/getpwnam_r.c: Likewise.
33496         * nscd/getpwuid_r.c: Likewise.
33497         * nscd/getsrvbynm_r.c: Likewise.
33498         * nscd/getsrvbypt_r.c: Likewise.
33499         * nscd/gai.c: Likewise.
33501         * configure.in (build_nscd): New substituted variable, set
33502         by --disable-build-nscd and defaults to $use_nscd.
33503         * configure: Regenerated.
33504         * config.make.in (build-nscd): New substituted variable.
33505         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33506         Change conditional to require [$(build-nscd) = yes] as well.
33507         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33509         [BZ# 13696]
33510         * configure.in (use_nscd): New substituted variable, set by
33511         --disable-nscd.  If enabled, define USE_NSCD.
33512         * configure: Regenerated.
33513         * config.h.in: Add USE_NSCD.
33514         * config.make.in (use-nscd): New substituted variable.
33515         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33516         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33517         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33518         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33519         (CFLAGS-getgrnam_r.c): Likewise.
33520         (CFLAGS-initgroups.c): Likewise.
33521         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33522         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33523         Variables removed.
33524         * inet/getnetgrent_r.c
33525         (nscd_setnetgrent): New function, broken out of ...
33526         (setnetgrent): ... here.  Call it.
33527         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33528         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33529         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33530         * nscd/Makefile (routines, aux): Move definitions after include of
33531         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33532         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33533         Conditionalize on [USE_NSCD].
33534         (is_nscd, nscd_init_cb): Likewise.
33535         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33536         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33537         * nss/nss_db/db-init.c: Likewise.
33538         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33539         [USE_NSCD].
33540         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33541         (make_request): Use it.
33542         (cache_valid_p): New function.
33543         (__check_pf): Use it.
33544         * NEWS: Add item for --disable-nscd.
33546 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33548         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33549         to support sed >= 4.2.1-20-ga9bf076.
33550         * configure: Regenerated.
33552 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33554         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33555         Conditionalize whole body on [IREL].
33557 2012-08-22  Jeff Law <law@redhat.com>
33559         [BZ #14505]
33560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33561         if the family is PF_UNSPEC.
33563 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33565         * Makerules (lib-version): Rename from V.
33566         (install-lib-nosubdir): Change V to lib-version.
33568 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33570         [BZ #14252]
33571         * powerpc32/power6/wcschr.c: New file.
33572         * powerpc32/power6/wcscpy.c: New file.
33573         * powerpc32/power6/wcsrchr.c: New file.
33574         * powerpc64/power6/wcschr.c: New file.
33575         * powerpc64/power6/wcscpy.c: New file.
33576         * powerpc64/power6/wcsrchr.c: New file.
33578 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33580         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33581         (two_way_short_needle): Use it.
33582         * string/strstr.c (AVAILABLE1_USES_J): Define.
33583         * string/strcasestr.c: Likewise.
33585         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33586         array references.
33587         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33589         [BZ #11607]
33590         * NEWS: Add an entry.
33591         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33592         define their defaults.
33593         (two_way_short_needle): Detect end-of-string on-the-fly.
33594         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33595         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33596         * string/bug-strcasestr1.c: New test.
33597         * string/Makefile: Run it.
33599 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33601         [BZ #11607]
33602         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33603         the first character.
33605 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33607         * csu/elf-init.c (__libc_csu_irel): Function removed.
33608         * csu/libc-start.c (apply_irel): New function.
33609         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33611 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33613         * sysdeps/unix/sysv/linux/kernel-features.h
33614         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33615         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33616         <kernel-features.h>.
33617         [__NR_fadvise64_64]: Make code unconditional.
33618         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33619         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33620         !__NR_fadvise64_64)]: Likewise.
33621         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33622         !__NR_fadvise64_64))]: Likewise.
33623         [__NR_fadvise64]: Make code unconditional.
33624         [!__NR_fadvise64]: Remove conditional code.
33625         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33626         <kernel-features.h>.
33627         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33628         unconditional.
33629         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33630         conditional code.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33632         not include <kernel-features.h>.
33633         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33634         unconditional.
33635         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33636         conditional code.
33637         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33638         include <kernel-features.h>.
33639         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33640         unconditional.
33641         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33642         conditional code.
33644 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33647         slight instruction rearrangements per scrollpipe analysis.
33648         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33650 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33652         * manual/syslog.texi (syslog; vsyslog, closelog):
33653         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33654         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33656         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33657         DSOCAPS to match condition on defining it.
33659 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33661         * sysdeps/unix/sysv/linux/kernel-features.h
33662         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33664         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33665         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33667         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33668         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33670         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33671         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33673         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33674         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33676         * sysdeps/unix/sysv/linux/kernel-features.h
33677         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33678         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33679         unconditional.
33680         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33681         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33682         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33683         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33684         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33685         Make code unconditional.
33686         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33687         (__mmap64) [!__NR_mmap2]: Likewise.
33688         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33689         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33690         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33691         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33692         [__NR_mmap2]: Make code unconditional.
33693         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33694         (__mmap64) [!__NR_mmap2]: Likewise.
33696 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33698         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33700 2012-08-18  Andreas Jaeger  <aj@suse.de>
33702         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33704 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33706         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33707         * include/unistd.h (__have_sock_cloexec): Likewise.
33708         (__have_pipe2): Likewise.
33709         (__have_dup3): Likewise.
33711 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33713         [BZ #9685]
33714         * include/unistd.h (__have_pipe2): Change define into an extern int.
33715         (__have_dup3): Likewise.
33716         * socket/have_sock_cloexec.c: Include fcntl.h.
33717         (__have_pipe2): New variable.
33718         (__have_dup3): Likewise.
33720 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33722         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33724 2012-08-17  Marek Polacek  <polacek@redhat.com>
33726         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33727         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33729 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33731         * configure.in: Add AC_SUBST for sysheaders.
33732         * configure: Regenerated.
33733         * config.make.in (sysheaders): New substituted variable.
33735         * sysdeps/unix/mkfifo.c: Moved ...
33736         * sysdeps/posix/mkfifo.c: ... here.
33737         * sysdeps/unix/mkfifoat.c: Moved ...
33738         * sysdeps/posix/mkfifoat.c: ... here.
33740         * sysdeps/unix/utime.c: Moved ...
33741         * sysdeps/posix/utime.c: ... here.
33743         * sysdeps/unix/time.c: Moved ...
33744         * sysdeps/posix/time.c: ... here.
33745         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33746         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33748         * sysdeps/unix/nice.c: Moved ...
33749         * sysdeps/posix/nice.c: ... here.
33751         * sysdeps/unix/alarm.c: Moved ...
33752         * sysdeps/posix/alarm.c: ... here.
33754         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33756 2012-08-17  Jeff Law <law@redhat.com>
33758         * intl/Makefile (codeset_mo): New variable.
33759         ($(codeset_mo)): New target.
33760         (tst-codeset.out): Depend on that.  Remove explicit rule.
33761         (tst-gettext3.out, tst-gettext5.out): Likewise.
33762         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33763         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33764         * intl/tst-codeset.sh: Remove.
33765         * intl/tst-gettext3.sh: Likewise.
33766         * intl/tst-gettext5.sh: Likewise.
33768 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33770         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33771         * sysdeps/unix/syscalls.list: ... here.
33773         * sysdeps/posix/getaddrinfo.c
33774         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33775         (gaiconf_init, gaiconf_reload): Use them.
33776         [!_STATBUF_ST_NSEC]
33777         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33778         Define using time_t rather than struct timespec.
33780         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33781         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33782         Macros removed.
33783         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33784         [!NO_THREADS].
33785         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33786         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33787         Likewise.
33789         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33790         __libc_cleanup_push argument.
33792         * bits/param.h: New file.
33793         * misc/sys/param.h: New file.
33794         * include/sys/param.h: New file.
33795         * misc/Makefile (headers): Add bits/param.h.
33796         * sysdeps/generic/sys/param.h: File removed.
33797         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33798         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33799         * sysdeps/mach/hurd/bits/param.h: New file.
33800         * sysdeps/mach/hurd/sys/param.h: File removed.
33802         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33803         last change.
33805         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33806         [_IO_MTSAFE_IO].
33807         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33808         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33809         New macros.
33811         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33812         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33813         rather than -D_IO_MTSAFE_IO conditionally.
33814         * stdio-common/Makefile (CPPFLAGS): Likewise.
33815         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33816         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33817         Use $(libio-mtsafe).
33818         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33819         of -D_IO_MTSAFE_IO.
33820         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33821         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33822         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33823         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33824         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33825         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33826         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33827         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33828         (CFLAGS-fread_u_chk.c): Likewise.
33829         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33830         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33831         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33832         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33833         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33834         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33835         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33836         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33837         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33839         * libio/Makefile: Test [$(libc-reentrant) = yes]
33840         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33842         * Makeconfig
33843         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33844         * sysdeps/pthread/configure: File removed.
33845         * sysdeps/pthread/Makeconfig: New file.
33846         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33847         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33849 2012-08-16  Gary Benson  <gbenson@redhat.com>
33851         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33852         unmapping the first object in a namespace.
33854 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33856         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33857         (__internal_setnetgrent): ... this.  Add internal_function to
33858         definition.  Add libc_hidden_def.
33859         (setnetgrent): Update caller.
33860         (internal_endnetgrent): Renamed to ...
33861         (__internal_endnetgrent): ... this.  Add internal_function to
33862         definition.  Add libc_hidden_def.
33863         (endnetgrent): Update caller.
33864         (internal_getnetgrent_r): Renamed to ...
33865         (__internal_getnetgrent_r): ... this.  Add internal_function to
33866         definition.  Add libc_hidden_def.
33867         (__getnetgrent_r): Update caller.
33868         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33870 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33872         * stdlib/longlong.h: Update from GCC.
33874 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33876         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33877         on _QL, which is set by umul_ppmm but never used.
33878         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33879         variables, which are set by GMP macros but never used.
33880         * stdio-common/_itowa.c (_itowa): Likewise.
33881         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33882         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33884 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33886         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33887         struct La_sh_regs is not constant.
33888         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33889         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33890         and struct La_sparc64_regs are not constant.
33892 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33894         * sysdeps/unix/sysv/linux/kernel-features.h
33895         (__ASSUME_POSIX_TIMERS): Remove.
33896         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33897         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33898         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33899         Make code unconditional.
33900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33901         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33902         Make code unconditional.
33903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33904         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33905         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33907         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33908         Make code unconditional.
33909         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33910         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33911         (__libc_missing_posix_timers): Remove.
33913 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33915         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33916         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33918         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33920         * elf/dl-sym.c: Include <stdlib.h>.
33922         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33923         constants, which avoids warnings in 32-bit builds.
33925         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33926         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33928         * misc/lseek.c: File moved to ...
33929         * io/lseek.c: ... here.
33931         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33933         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33934         shifting LEN more than 31 bits at once.
33936 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33938         [BZ #14195]
33939         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33940         segmentation fault for a case of two empty input strings.
33941         * string/test-strncasecmp.c (check1): Renamed to...
33942         (bz12205): ...this.
33943         (bz14195): Add new testcase for two empty input strings and N > 0.
33944         (test_main): Call new testcase, adapt for renamed function.
33946 2012-08-15  Andreas Jaeger  <aj@suse.de>
33948         [BZ #14090]
33949         * crypt/md5test2.c: New test, based on test supplied by Serge
33950         Belyshev <belyshev@depni.sinp.msu.ru>.
33951         * crypt/Makefile (xtests): Add md5test-giant..
33952         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33954 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33956         [BZ #14090]
33957         * crypt/md5.c (md5_process_block): Don't assume the buffer
33958         length is less than 2**32.
33959         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33960         length is less than 2**64.
33962 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33964         * string/str-two-way.h: Include <sys/param.h>.
33965         (MAX): Macro removed.
33967         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33968         Move #define and #undef of memmove to just before and after
33969         including <string.h>.
33971         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33972         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33973         and after including <string.h>.  Move declarations of
33974         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33975         to before #include "string/memmove.c".
33977         * include/dirent.h: Declare __getdirentries.
33979         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33980         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33982 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33984         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33985         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33986         * sysdeps/i386/configure: Regenerated.
33987         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33988         STABS_CURRENT_FILE, and STABS_FUN.
33989         (END): Remove call to STABS_FUN_END.
33990         (STABS_CURRENT_FILE1): Delete.
33991         (STABS_CURRENT_FILE): Likewise.
33992         (STABS_FUN): Likewise.
33993         (STABS_FUN_END): Likewise.
33994         (STABS_FUN2): Likewise.
33995         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33996         * sysdeps/x86_64/configure: Regenerated.
33998 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34000         * elf/dl-open.c: Include <atomic.h>.
34001         * elf/dl-lookup.c: Likewise.
34003 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
34005         * sysdeps/unix/sysv/linux/kernel-features.h
34006         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34007         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34008         unconditionally.
34009         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34010         unconditionally.
34011         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34012         condition on __ASSUME_CLONE_THREAD_FLAGS.
34014 2012-08-14  Andreas Jaeger  <aj@suse.de>
34016         * sysdeps/i386/fpu/libm-test-ulps: Update.
34018 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
34020         * include/atomic.h (atomic_exchange_and_add): Split into ...
34021         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34022         New atomic macros.
34024 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
34026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34028 2012-08-13  Jeff Law <law@redhat.com>
34030         * manual/stdio.texi (snprintf): Clarify handling of the trailing
34031         null byte in the output string.
34033 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
34035         * sysdeps/unix/sysv/linux/kernel-features.h
34036         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34037         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34038         (__ASSUME_ARG_MAX_STACK_BASED): Define.
34039         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34040         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34041         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
34042         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34044 2012-08-09  Jeff Law <law@redhat.com>
34046         [BZ #13939]
34047         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34048         When avoid_arena is set, don't retry in the that arena.  Pick the
34049         next one, whatever it might be.
34050         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34051         (arena_lock): Pass in new parameter to arena_get2.
34052         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34053         arena_get2.
34054         (__libc_malloc): Unify retrying after main arena failure with
34055         __libc_memalign version.
34056         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34058 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
34060         [BZ #14166]
34061         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34062         to __redirect_strstr.
34063         (__strstr_sse42): Use typeof __redirect_strstr.
34064         (__strstr_ia32): Likewise.
34065         (__libc_strstr): New prototype.
34066         (strstr): Renamed to ...
34067         (__libc_strstr): This.
34068         (strstr): New strong alias of __libc_strstr.
34069         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34070         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34071         __redirect_time.
34072         Include <time.h>.
34073         (__libc_time): New prototype.
34074         (time_ifunc): Replace time with __libc_time.
34075         (time): New strong alias and hidden definition of __libc_time.
34076         (__GI_time): Remove strong alias.
34077         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34078         Include <stddef.h>.
34079         (memmove): Redefined to __redirect_memmove.
34080         (__memmove_sse2): Use typeof __redirect_memmove.
34081         (__memmove_ssse3): Likewise.
34082         (__memmove_ssse3_back): Likewise.
34083         (__libc_memmove): New prototype.
34084         (memmove): Renamed to ...
34085         (__libc_memmove): This.
34086         (memmove): New strong alias of __libc_memmove.
34088 2012-08-08  Mark Salter  <msalter@redhat.com>
34090         * elf/elf.h
34091         (R_MN10300_TLS_GD): Define.
34092         (R_MN10300_TLS_LD): Likewise.
34093         (R_MN10300_TLS_LDO): Likewise.
34094         (R_MN10300_TLS_GOTIE): Likewise.
34095         (R_MN10300_TLS_IE): Likewise.
34096         (R_MN10300_TLS_LE): Likewise.
34097         (R_MN10300_TLS_DTPMOD): Likewise.
34098         (R_MN10300_TLS_DTPOFF): Likewise.
34099         (R_MN10300_TLS_TPOFF): Likewise.
34100         (R_MN10300_SYM_DIFF): Likewise.
34101         (R_MN10300_ALIGN): Likewise.
34102         (R_MN10300_NUM): Update.
34104 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
34106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34107         Remove.
34109 2012-08-08  Roland McGrath  <roland@hack.frob.com>
34111         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34113         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34114         sysdeps/unix -> sysdeps/posix move.
34115         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34117 2012-08-07      Allan McRae     <allan@archlinux.org>
34119         [BZ #14303]
34120         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34121         (SUNOS_CPP): Likewise.
34122         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34123         not found.
34124         (open_input): Call CPP using execvp.
34126 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34128         * sysdeps/unix/sysv/linux/kernel-features.h
34129         (__ASSUME_PROT_GROWSUPDOWN): Remove.
34130         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34131         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34132         (__ASSUME_WAITID_SYSCALL): Likewise.
34133         * sysdeps/unix/sysv/linux/dl-execstack.c
34134         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34135         code unconditional.
34136         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34137         conditional code.
34138         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34139         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34140         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34141         code.
34142         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34143         unconditional.
34144         [__ASSUME_WAITID_SYSCALL]: Likewise.
34145         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34147 2012-08-07  Roland McGrath  <roland@hack.frob.com>
34149         * sysdeps/unix/closedir.c: Renamed to ...
34150         * sysdeps/posix/closedir.c: ... here.
34151         * sysdeps/unix/dirfd.c: Renamed to ...
34152         * sysdeps/posix/dirfd.c: ... here.
34153         * sysdeps/unix/dirstream.h: Renamed to ...
34154         * sysdeps/posix/dirstream.h: ... here.
34155         * sysdeps/unix/fdopendir.c: Renamed to ...
34156         * sysdeps/posix/fdopendir.c: ... here.
34157         * sysdeps/unix/opendir.c: Renamed to ...
34158         * sysdeps/posix/opendir.c: ... here.
34159         * sysdeps/unix/readdir.c: Renamed to ...
34160         * sysdeps/posix/readdir.c: ... here.
34161         * sysdeps/unix/readdir_r.c: Renamed to ...
34162         * sysdeps/posix/readdir_r.c: ... here.
34163         * sysdeps/unix/rewinddir.c: Renamed to ...
34164         * sysdeps/posix/rewinddir.c: ... here.
34165         * sysdeps/unix/seekdir.c: Renamed to ...
34166         * sysdeps/posix/seekdir.c: ... here.
34167         * sysdeps/unix/telldir.c: Renamed to ...
34168         * sysdeps/posix/telldir.c: ... here.
34169         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34170         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34171         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34172         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34174         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34175         * bits/fcntl.h: ... here.
34177         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34178         not 0.
34179         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34180         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34181         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34182         (struct flock): Move l_start, l_len to the beginning.
34183         Use __pid_t for l_pid.
34184         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34185         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34186         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34187         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34188         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34189         [__USE_LARGEFILE64] (struct flock64): New type.
34190         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34192         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34193         * bits/dirent.h: ... here.
34195         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34196         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34198 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
34200         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34201         Change from 2.6.0 to 2.6.16.
34202         * sysdeps/unix/sysv/linux/configure: Regenerated.
34203         * sysdeps/unix/sysv/linux/kernel-features.h
34204         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34205         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34206         version.
34207         (__ASSUME_UTIMES): Likewise.
34208         (__ASSUME_CLONE_STOPPED): Remove.
34209         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34210         architectures, not kernel version.
34211         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34212         (__ASSUME_NO_CLONE_DETACHED): Likewise.
34213         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34214         (__ASSUME_WAITID_SYSCALL): Likewise.
34215         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34216         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34217         * README: State 2.6.16 as minimum Linux kernel version.  Do not
34218         refer to older versions.
34220 2012-08-06  Roland McGrath  <roland@hack.frob.com>
34222         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34223         Define alphasort64 as an alias.
34224         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34225         Define versionsort64 as an alias.
34226         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34227         Define scandir64 as an alias.
34228         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34229         Define scandirat64 as an alias.
34230         * dirent/alphasort64.c (alphasort64):
34231         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34232         * dirent/versionsort64.c: Likewise.
34233         * dirent/scandir64.c: Likewise.
34234         * dirent/scandirat64.c: Likewise.
34235         * sysdeps/wordsize-64/alphasort.c: File removed.
34236         * sysdeps/wordsize-64/alphasort64.c: File removed.
34237         * sysdeps/wordsize-64/scandir.c: File removed.
34238         * sysdeps/wordsize-64/scandir64.c: File removed.
34239         * sysdeps/wordsize-64/scandirat.c: File removed.
34240         * sysdeps/wordsize-64/scandirat64.c: File removed.
34241         * sysdeps/wordsize-64/versionsort.c: File removed.
34242         * sysdeps/wordsize-64/versionsort64.c: File removed.
34243         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34245         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34247         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34248         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34249         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34250         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34252         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34254         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34255         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34256         [defined __arch64__ || defined __sparcv9]
34257         (__INO_T_MATCHES_INO64_T): New macro.
34258         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34259         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34260         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34261         * sysdeps/unix/sysv/linux/bits/dirent.h
34262         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34263         (_DIRENT_MATCHES_DIRENT64): New macro.
34265         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34266         Define lockf64 as an alias.
34267         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34268         Define fseeko64 as an alias.
34269         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34270         Define ftello64 as an alias.
34271         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34272         Define _IO_fgetpos64 and fgetpos64 as aliases.
34273         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34274         Define _IO_fsetpos64 and fsetpos64 as aliases.
34275         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34276         Conditionalize body on this.
34277         * libio/fseeko64.c: Likewise.
34278         * libio/ftello64.c: Likewise.
34279         * libio/iofgetpos64.c: Likewise.
34280         * libio/iofsetpos64.c: Likewise.
34281         * sysdeps/wordsize-64/lockf.c: File removed.
34282         * sysdeps/wordsize-64/lockf64.c: File removed.
34283         * sysdeps/wordsize-64/fseeko.c: File removed.
34284         * sysdeps/wordsize-64/fseeko64.c: File removed.
34285         * sysdeps/wordsize-64/ftello.c: File removed.
34286         * sysdeps/wordsize-64/ftello64.c: File removed.
34287         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34288         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34289         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34290         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34291         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34292         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34293         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34294         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34295         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34296         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34298         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34302         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34303         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34304         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34305         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34306         [defined __arch64__ || defined __sparcv9]
34307         (__OFF_T_MATCHES_OFF64_T): New macro.
34308         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34309         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34311         (__OFF_T_MATCHES_OFF64_T): New macro.
34313 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34315         * stdlib/secure-getenv.c (__secure_getenv): Replace
34316         GLIBC_2_16 with GLIBC_2_17.
34318 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34320         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34321         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34323 2012-08-03  David S. Miller  <davem@davemloft.net>
34325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34327 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34329         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34330         Remove.
34331         (__ASSUME_CORRECT_SI_PID): Likewise.
34332         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34333         (__ASSUME_TMPFS_NAME): Likewise.
34334         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34335         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34336         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34337         (HAVE_AUX_SECURE): Make definition unconditional.
34338         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34339         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34341 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34343         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34344         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34345         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34346         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34347         __eloop_threshold instead of SYMLOOP_MAX.
34349         * sysdeps/generic/eloop-threshold.h: New file.
34350         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34351         of MAXSYMLINKS.
34352         * elf/chroot_canon.c (chroot_canon): Likewise.
34354 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34356         [BZ #13717]
34357         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34358         Change to 2.6.0 everywhere.
34359         * sysdeps/unix/sysv/linux/configure: Regenerated.
34360         * sysdeps/unix/sysv/linux/kernel-features.h
34361         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34362         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34363         kernel versions.
34364         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34365         (__ASSUME_FUTEX_REQUEUE): Remove.
34366         (__ASSUME_STATFS64): Define unconditionally.
34367         (__ASSUME_AT_SECURE): Likewise.
34368         (__ASSUME_CORRECT_SI_PID): Likewise.
34369         (__ASSUME_TGKILL): Define without depending on kernel version for
34370         i386.
34371         (__ASSUME_UTIMES): Likewise.
34372         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34373         kernel version.
34374         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34375         (__ASSUME_TMPFS_NAME): Likewise.
34376         * README: Update reference to Linux kernel versions.
34378 2012-08-02  Marek Polacek  <polacek@redhat.com>
34380         [BZ# 14150]
34381         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34382         libc_cv_asm_type_prefix with %.
34383         * configure: Regenerated.
34384         * include/libc-symbols.h: Remove comment about
34385         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34386         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34387         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34388         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34389         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34390         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34391         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34392         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34393         * elf/tst-unique2mod1.c: Likewise.
34394         * elf/tst-unique1mod2.c: Likewise.
34395         * elf/tst-unique1mod1.c: Likewise.
34396         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34397         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34398         Replace ASM_TYPE_DIRECTIVE with .type.
34399         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34400         * sysdeps/i386/sysdep.h: Likewise.
34401         * sysdeps/x86_64/sysdep.h: Likewise.
34402         * sysdeps/sh/sysdep.h: Likewise.
34403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34404         Do not define ASM_TYPE_DIRECTIVE.
34405         * sysdeps/powerpc/sysdep.h: Likewise.
34406         * sysdeps/powerpc/powerpc32/sysdep.h:
34407         Replace ASM_TYPE_DIRECTIVE with .type.
34408         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34409         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34410         * sysdeps/i386/fpu/e_powf.S: Likewise.
34411         * sysdeps/i386/fpu/e_expl.S: Likewise.
34412         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34413         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34414         * sysdeps/i386/fpu/e_pow.S: Likewise.
34415         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34416         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34417         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34418         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34419         * sysdeps/i386/fpu/e_log2.S: Likewise.
34420         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34421         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34422         * sysdeps/i386/fpu/e_powl.S: Likewise.
34423         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34424         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34425         * sysdeps/i386/fpu/e_logl.S: Likewise.
34426         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34427         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34428         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34429         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34430         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34431         * sysdeps/i386/fpu/e_log.S: Likewise.
34432         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34433         * sysdeps/i386/fpu/e_logf.S: Likewise.
34434         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34435         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34436         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34437         * sysdeps/i386/fpu/e_log10.S: Likewise.
34438         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34439         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34440         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34441         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34442         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34443         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34444         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34445         * sysdeps/i386/i686/strtok.S: Likewise.
34446         * sysdeps/i386/i386-mcount.S: Likewise.
34447         * sysdeps/i386/strtok.S: Likewise.
34448         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34449         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34450         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34451         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34452         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34453         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34454         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34455         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34456         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34457         * sysdeps/x86_64/_mcount.S: Likewise.
34458         * sysdeps/x86_64/strtok.S: Likewise.
34459         * sysdeps/sh/_mcount.S: Likewise.
34461 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34463         * libio/iofopen.c: Include <fcntl.h>.
34464         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34465         (_IO_fopen64, fopen64): Define as aliases.
34466         * libio/iofopen64.c: Include <fcntl.h>.
34467         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34468         Conditionalize body on this.
34469         * sysdeps/wordsize-64/iofopen.c: File removed.
34470         * sysdeps/wordsize-64/iofopen64.c: File removed.
34472 2012-08-01  Marek Polacek  <polacek@redhat.com>
34474         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34475         Use dlfcn directly instead of a variable.
34476         (binfmt-subdir): Do not define.
34477         (dlfcn): Likewise.
34479 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34482         Remove all definitions.
34483         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34484         <kernel-features.h>.
34485         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34486         (miss_F_GETOWN_EX): Remove all definitions.
34487         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34488         macro definition.
34489         [!__ASSUME_FCNTL64]: Remove conditional code.
34490         [__ASSUME_FCNTL64]: Make code unconditional.
34491         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34492         <kernel-features.h>.
34493         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34494         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34495         (lockf64) [__NR_fcntl64]: Make code unconditional.
34496         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34498         * sysdeps/unix/sysv/linux/kernel-features.h
34499         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34500         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34501         Make code unconditional.
34502         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34503         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34505         [__NR_vfork]: Make code unconditional.
34506         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34507         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34509         [__NR_vfork]: Make code unconditional.
34510         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34511         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34513 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34515         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34516         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34518         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34519         Define mkstemp64 as an alias.
34520         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34521         Define mkstemps64 as an alias.
34522         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34523         Define mkostemp64 as an alias.
34524         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34525         Define mkostemps64 as an alias.
34526         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34527         Conditionalize body on this.
34528         * misc/mkostemp64.c: Likewise.
34529         * misc/mkostemps64.c: Likewise.
34530         * misc/mkstemps64.c: Likewise.
34531         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34532         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34533         * sysdeps/wordsize-64/mkostemp.c: File removed.
34534         * sysdeps/wordsize-64/mkstemp.c: File removed.
34535         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34536         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34537         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34538         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34540         [BZ #14138]
34541         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34542         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34543         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34544         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34546         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34547         compat_symbol macros from <shlib-compat.h> rather than the underlying
34548         default_symbol_version and symbol_version macros, so that DEFAULT
34549         lines in shlib-versions are respected.
34550         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34552 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34554         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34555         Declare with warn_unused_result.
34556         (setgid, setregid, setegid, setresgid): Likewise.
34557         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34558         Likewise.
34559         * WUR-REPORT: Remove set*id functions.
34561 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34563         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34565 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34567         [BZ #10191]
34568         * include/sys/socket.h (__libc_accept, __libc_accept4):
34569         Add attribute_hidden.
34570         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34572         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34573         use of PTR_MANGLE.
34574         * inet/getnetgrent_r.c (setup): Likewise.
34576         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34578 2012-07-31  David S. Miller  <davem@davemloft.net>
34580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34582 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34584         [BZ #13629]
34585         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34586         value between 1.0 and 2.0 and smaller part has absolute value less
34587         than 1.0.
34588         * math/s_clog10.c (__clog10): Likewise.
34589         * math/s_clog10f.c (__clog10f): Likewise.
34590         * math/s_clog10l.c (__clog10l): Likewise.
34591         * math/s_clogf.c (__clogf): Likewise.
34592         * math/s_clogl.c (__clogl): Likewise.
34593         * math/libm-test.inc (clog_test): Add more tests.
34594         (clog10_test): Likewise.
34595         * sysdeps/i386/fpu/libm-test-ulps: Update.
34596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34598 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34600         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34601         Exit with zero in case no suitable GID is found, and write a
34602         message to standard error.
34604 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34606         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34607         rather than to 1.
34608         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34609         (MAXPATHLEN): Removed.
34610         (NOGROUP, NODEV): New macros.
34611         (setbit, clrbit, isset, isclr): New macros.
34612         (howmany, roundup, powerof2): New macros.
34613         (DEV_BSIZE): New macro.
34615         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34616         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34618         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34619         definition on [!__NO_LONG_DOUBLE_MATH].
34621         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34622         PTR_MANGLE and PTR_DEMANGLE.
34624         * socket/accept4.c (accept4): Rename to __libc_accept4.
34625         Define accept4 as a weak alias.
34627         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34628         on [_DIRENT_HAVE_D_TYPE].
34629         * io/ftw.c (ftw_dir): Likewise.
34631         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34633         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34635         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34636         Use the BSD numbers rather than the arbitrary ones we had.
34637         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34638         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34639         (SIGXCPU, SIGXFSZ): New macros.
34640         (_NSIG): Now 32.
34642         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34643         initializer on [_LIBC_REENTRANT].
34645         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34646         definitions inside [_POSIX_MAPPED_FILES].
34648         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34650         * dirent/opendir.c: Include <fcntl.h>.
34652         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34653         (__libc_getspecific): Likewise.
34654         (__libc_key_create): Likewise.
34656         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34657         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34658         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34659         (tmpfile64): Define as alias.
34660         * sysdeps/wordsize-64/tmpfile.c: File removed.
34661         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34662         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34663         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34665         * stdio-common/vfscanf.c: Include <stdbool.h>.
34666         * nss/makedb.c: Likewise.
34667         * stdio-common/_i18n_number.h: Likewise.
34668         * argp/argp-help.c: Likewise.
34669         * posix/wordexp.c: Likewise.
34670         * sysdeps/posix/spawni.c: Likewise.
34671         * nss/nss_files/files-initgroups.c: Likewise.
34672         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34673         * nss/nss_files/files-initgroups.c: Likewise.
34674         * nss/nss_db/db-netgrp.c: Likewise.
34675         * nss/nss_db/db-initgroups.c: Likewise.
34676         * io/fchmodat.c: Include <sys/stat.h>.
34678         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34679         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34681         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34682         [HAVE_MMAP].
34684         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34685         Add multiple inclusion protection.
34687 2012-07-27  David S. Miller  <davem@davemloft.net>
34689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34691 2012-07-27  Gary Benson  <gbenson@redhat.com>
34693         [BZ #14298]
34694         * elf/rtld.c: Include <stap-probe.h>.
34695         (dl_main): Added static probes "init_start" and "init_complete".
34696         * elf/dl-load.c: Include <stap-probe.h>.
34697         (lose): Take new parameter "nsid".
34698         Added static probe "map_failed".
34699         (_dl_map_object_from_fd): Pass namespace id to lose.
34700         Added static probe "map_start".
34701         (open_verify): Pass namespace id to lose.
34702         * elf/dl-open.c: Include <stap-probe.h>.
34703         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34704         and "reloc_complete".
34705         * elf/dl-close.c: Include <stap-probe.h>.
34706         (_dl_close_worker): Added static probes "unmap_start" and
34707         "unmap_complete".
34708         * elf/rtld-debugger-interface.txt: New file documenting the above.
34710 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34712         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34713         rather than a string variable.
34714         * sunrpc/rpc_main.c (h_output): Likewise.
34715         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34717 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34719         * inet/check_native.c: New file.
34721 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34723         [BZ #13629]
34724         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34725         if larger part has absolute value 1.0.
34726         * math/s_clog10.c (__clog10): Likewise.
34727         * math/s_clog10f.c (__clog10f): Likewise.
34728         * math/s_clog10l.c (__clog10l): Likewise.
34729         * math/s_clogf.c (__clogf): Likewise.
34730         * math/s_clogl.c (__clogl): Likewise.
34731         * math/libm-test.inc (clog_test): Add more tests.
34732         (clog10_test): Likewise.
34733         * sysdeps/i386/fpu/libm-test-ulps: Update.
34734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34736         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34737         (pltexit): Likewise.
34738         (La_regs): Likewise.
34739         (La_retval): Likewise.
34740         (int_retval): Likewise.
34741         Update #error for removed macros to refer only to definitions in
34742         tst-audit.h.
34743         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34744         macro.
34745         (pltexit): Likewise.
34746         (La_regs): Likewise.
34747         (La_retval): Likewise.
34748         (int_retval): Likewise.
34749         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34750         macro.
34751         (pltexit): Likewise.
34752         (La_regs): Likewise.
34753         (La_retval): Likewise.
34754         (int_retval): Likewise.
34755         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34756         macro.
34757         (pltexit): Likewise.
34758         (La_regs): Likewise.
34759         (La_retval): Likewise.
34760         (int_retval): Likewise.
34761         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34762         macro.
34763         (pltexit): Likewise.
34764         (La_regs): Likewise.
34765         (La_retval): Likewise.
34766         (int_retval): Likewise.
34767         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34768         macro.
34769         (pltexit): Likewise.
34770         (La_regs): Likewise.
34771         (La_retval): Likewise.
34772         (int_retval): Likewise.
34773         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34774         macro.
34775         (pltexit): Likewise.
34776         (La_regs): Likewise.
34777         (La_retval): Likewise.
34778         (int_retval): Likewise.
34779         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34780         macro definitions in tst-audit.h.
34781         * sysdeps/i386/tst-audit.h: New file.
34782         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34783         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34784         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34785         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34786         * sysdeps/sh/tst-audit.h: Likewise.
34787         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34788         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34789         * sysdeps/x86_64/tst-audit.h: Likewise.
34791 2012-07-26  Andreas Jaeger  <aj@suse.de>
34793         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34794         ptrace.
34796         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34797         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34798         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34799         PTRACE_O_MASK.
34800         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34801         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34802         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34804         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34805         value.
34807         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34808         _sigsys.
34809         (si_call_addr, si_syscall, si_arch): Define new macro.
34810         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34811         _sigsys.
34812         (si_call_addr, si_syscall, si_arch): Define new marcro.
34813         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34814         _sigsys.
34815         (si_call_addr, si_syscall, si_arch): Define new macro.
34816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34817         _sigsys.
34818         (si_call_addr, si_syscall, si_arch): Define new macro.
34820 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34822         [BZ #13717]
34823         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34824         Change to 2.4.21 where previously 2.4.1.
34825         * sysdeps/unix/sysv/linux/configure: Regenerated.
34826         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34827         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34828         Linux kernel version.
34829         (__ASSUME_STD_AUXV): Remove.
34830         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34831         kernel version.
34832         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34833         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34834         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34835         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34836         (__ASSUME_NETLINK_SUPPORT): Likewise.
34837         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34838         (__no_netlink_support): Remove conditional definition.
34839         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34840         Remove.
34841         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34842         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34843         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34844         (if_nameindex_ioctl): Remove.
34845         (if_nameindex_netlink): Do not handle __no_netlink_support.
34846         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34847         code.
34848         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34849         Remove conditional code.
34850         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34851         code.
34852         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34853         unconditional.
34854         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34855         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34856         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34857         Remove.
34858         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34859         [!__ASSUME_STD_AUXV]: Remove conditional code.
34860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34861         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34862         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34864         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34865         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34866         code.
34867         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34869         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34870         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34871         conditional code.
34872         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34874         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34875         code.
34876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34877         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34878         conditional code.
34879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34880         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34881         code unconditional.
34882         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34883         conditional code.
34884         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34885         unconditional.
34886         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34887         conditional code.
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34889         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34890         unconditional.
34891         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34892         conditional code.
34893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34894         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34895         code unconditional.
34896         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34897         conditional code.
34898         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34899         unconditional.
34900         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34901         conditional code.
34902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34903         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34904         code unconditional.
34905         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34906         conditional code.
34907         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34908         unconditional.
34909         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34910         conditional code.
34912 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34914         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34915         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34916         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34917         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34918         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34919         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34920         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34921         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34922         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34923         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34924         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34925         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34926         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34927         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34928         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34929         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34930         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34931         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34932         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34934         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34935         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34936         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34938 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34940         * Versions.def: Add GLIBC_2.17.
34941         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34942         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34943         Introduce __libc_secure_getenv.
34944         * stdlib/Versions (2.17): Add secure_getenv
34945         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34946         * stdlib/secure-getenv.c: Rename __secure_getenv to
34947         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34948         symbol __secure_getenv for GLIBC_2.0.
34949         * stdlib/tst-secure-getenv.c: New.
34950         * stdlib/Makefile (tests): Add testcase.
34951         * manual/startup.texi (Environment Access): Document
34952         secure_getenv.
34953         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34954         __libc_secure_getenv.
34955         * inet/ruserpass.c (ruserpass): Likewise.
34956         * malloc/mtrace.c (mtrace): Likewise.
34957         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34958         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34959         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34960         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34961         HAVE_SECURE_GETENV.
34962         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34963         __secure_getenv to __libc_secure_getenv.
34964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34966         Likewise.
34967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34968         Likewise.
34969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34977 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34979         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34980         (struct La_i86_retval): Likewise.
34981         (struct La_x86_64_regs): Likewise.
34982         (struct La_x86_64_retval): Likewise.
34983         (struct La_x32_regs): Likewise.
34984         (struct La_x32_retval): Likewise.
34985         (struct La_ppc32_regs): Likewise.
34986         (struct La_ppc32_retval): Likewise.
34987         (struct La_ppc64_regs): Likewise.
34988         (struct La_ppc64_retval): Likewise.
34989         (struct La_sh_regs): Likewise.
34990         (struct La_sh_retval): Likewise.
34991         (struct La_s390_32_regs): Likewise.
34992         (struct La_s390_32_retval): Likewise.
34993         (struct La_s390_64_regs): Likewise.
34994         (struct La_s390_64_retval): Likewise.
34995         (struct La_sparc32_regs): Likewise.
34996         (struct La_sparc32_retval): Likewise.
34997         (struct La_sparc64_regs): Likewise.
34998         (struct La_sparc64_retval): Likewise.
34999         (struct audit_ifaces): Remove architecture-specific pltenter and
35000         pltexit members.
35001         * sysdeps/i386/ldsodefs.h: New file.
35002         * sysdeps/powerpc/ldsodefs.h: Likewise.
35003         * sysdeps/s390/ldsodefs.h: Likewise.
35004         * sysdeps/sh/ldsodefs.h: Likewise.
35005         * sysdeps/sparc/ldsodefs.h: Likewise.
35006         * sysdeps/x86_64/ldsodefs.h: Likewise.
35008 2012-07-25  Marek Polacek  <polacek@redhat.com>
35010         [BZ #6808]
35011         * math/libm-test.inc (yn_test): Add another test.
35012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35013         to ERANGE when the result is +-Inf.
35014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35015         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35017         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35019 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
35021         * conform/data/time.h-data (NULL): Use macro-constant.  Require
35022         equal to 0.
35023         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
35024         clock_t.
35025         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
35027 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
35029         * configure.in <sysdeps resolving>: Correct printing
35030         Implies_before.
35031         * configure: Regenerate.
35033 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
35035         * math/w_ilogb.c: Include <limits.h>.
35036         * math/w_ilogbl.c: Likewise.
35038 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35040         * manual/lang.texi (__va_copy): Document primarily as ISO C99
35041         va_copy.  Document allowing for unavailable va_copy only as
35042         pre-C99 compatibility.
35043         * manual/string.texi (Copying and Concatenation): Use va_copy
35044         instead of __va_copy in concat example.
35046 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
35048         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35049         (__sendto): Use create_address_port.  Initialize APORT and deallocate
35050         it if not null.
35052         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35053         with O_NOLINK passed to __file_name_lookup.
35055         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35056         with O_NOLINK passed to __file_name_lookup.
35058         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35059         negative N or less than NGIDS.
35061         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35062         type to string_t.  Set ERANGE as errno and return it if NAME is not big
35063         enough.  Use memcpy instead of strncpy.
35065 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
35067         * elf/Makefile (check-data): Remove.
35068         (localplt.data): New vpath directive.
35069         ($(objpfx)check-localplt.out): Use localplt.data from vpath
35070         instead of $(check-data).
35071         * scripts/data/localplt-generic.data: Move to ...
35072         * sysdeps/generic/localplt.data: ... here.
35073         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35074         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35075         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35077         ... here.
35078         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35080         ... here.
35081         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35083         ... here.
35084         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35086         ... here.
35087         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35089         ... here.
35090         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35092         ... here.
35094 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35096         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35097         PPC32 and PPC64 files.
35098         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35099         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35101 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35103         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35104         __makecontext_ret to ...
35105         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35106         ... here and call exit if uc_link is NULL.  New file.
35107         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35108         __makecontext_ret.S.
35109         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35110         __makecontext_ret to ...
35111         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35112         ... here and call exit if uc_link is NULL.  New file.
35113         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35114         __makecontext_ret.S.
35116 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35118         * elf/elf.h (R_390_IRELATIVE): New definition.
35119         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35120         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
35121         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35123         (elf_machine_lazy_rel): Likewise.
35124         * sysdeps/s390/dl-irel.h: New file.
35125         * sysdeps/s390/s390-64/memcpy.S: New asm code.
35126         * sysdeps/s390/s390-64/memset.S: New asm code.
35127         * sysdeps/s390/s390-64/memcmp.S: New asm code.
35128         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35129         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35130         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35131         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35132         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35133         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35134         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35135         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35136         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35137         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35138         * sysdeps/s390/s390-32/memcpy.S: New asm code.
35139         * sysdeps/s390/s390-32/memset.S: New asm code.
35140         * sysdeps/s390/s390-32/memcmp.S: New asm code.
35142 2012-07-17  Marek Polacek  <polacek@redhat.com>
35144         [BZ #14349]
35145         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35146         * sysdeps/s390/s390-64/configure.in: Likewise.
35147         * sysdeps/sparc/configure.in: Likewise.
35148         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35149         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35150         * sysdeps/i386/configure.in: Likewise.
35151         * sysdeps/x86_64/configure.in: Likewise.
35152         * sysdeps/sh/configure.in: Likewise.
35153         * sysdeps/s390/s390-32/configure: Regenerated.
35154         * sysdeps/s390/s390-64/configure: Likewise.
35155         * sysdeps/x86_64/configure: Likewise.
35156         * sysdeps/sh/configure: Likewise.
35157         * sysdeps/powerpc/powerpc64/configure: Likewise.
35158         * sysdeps/powerpc/powerpc32/configure: Likewise.
35159         * sysdeps/sparc/configure: Likwise.
35160         * sysdeps/i386/configure: Likewise.
35162         * elf/dl-open.c: Comment fixes.
35164 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
35166         * Makefile [CXX] (check-data): Remove.
35167         [CXX] (c++-types.data): New vpath directive.
35168         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35169         vpath.  Do not allow for C++ type data being missing.
35170         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35171         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35172         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35173         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35174         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35175         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35176         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35178         ... here.
35179         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35181         ... here.
35182         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35184         ... here.
35185         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35187         ... here.
35188         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35190         ... here.
35191         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35193         ... here.
35194         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35196         ... here.
35197         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35200         * elf/tls-macros.h (TLS_LE): Move architecture-specific
35201         definitions to architecture-specific files.
35202         (TLS_IE): Likewise.
35203         (TLS_LD): Likewise.
35204         (TLS_GD): Likewise.
35205         * sysdeps/i386/tls-macros.h: New file.
35206         * sysdeps/powerpc/tls-macros.h: Likewise.
35207         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35208         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35209         * sysdeps/sh/tls-macros.h: Likewise.
35210         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35211         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35212         * sysdeps/x86_64/tls-macros.h: Likewise.
35214 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35216         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35217         zero value for regular exit case.
35219         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35220         (__start_context): Preserve zero value for regular exit case.
35222 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
35223             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35225         * manual/setjmp.texi (setcontext): Clarify normal process
35226         termination when uc_link is the null pointer.
35227         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35228         exit call.
35230 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
35232         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35233         preprocessor.  Test for each exception mask separately.
35235 2012-07-16  Andreas Jaeger  <aj@suse.de>
35237         * po/ru.po: Update from translation team.
35239 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
35241         * conform/data/string.h-data (NULL): Use macro-constant.  Require
35242         equal to 0.
35243         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35244         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35245         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35246         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35247         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35249 2012-07-13  Andreas Jaeger  <aj@suse.de>
35251         * po/fr.po: Update from translation team.
35253 2012-07-12  Marek Polacek  <polacek@redhat.com>
35255         [BZ #14173]
35256         * math/libm-test.inc (yn_test): Add test for BZ #14173.
35257         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35258         loop condition.
35260 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
35262         [BZ #13717]
35263         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35264         Change to 2.4.1 where previously 2.4.0.
35265         * sysdeps/unix/sysv/linux/configure: Regenerated.
35266         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35267         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35268         version.
35269         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35270         (__ASSUME_AT_CLKTCK): Remove.
35271         (__ASSUME_AT_PAGESIZE): Likewise.
35272         (__ASSUME_AT_XID): Likewise.
35273         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35274         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35275         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35276         unconditionally.
35277         (HAVE_AUX_PAGESIZE): Likewise.
35278         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35279         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35280         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35282 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35284         [BZ #14307]
35285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35286         the temporary buffer used to invoke __gethostbyname2_r,
35287         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35288         host_data / struct gaih_addrtuple.
35289         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35290         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35291         header file nss/nsswitch.h.
35292         * nss/nsswitch.h (global scope): Add definition of implementation
35293         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35294         resolv/nss_dns/dns-host.c).
35296 2012-07-11  Andreas Jaeger  <aj@suse.de>
35298         * po/fr.po: Update from translation team.
35300         * po/sv.po: Update from translation team
35301         * po/fr.po: Another update from translation team.
35303 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35305         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35306         for subnormals or multiply small sinh result by itself.
35307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35310 2012-07-11  David S. Miller  <davem@davemloft.net>
35312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35314 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35316         [BZ #14347]
35317         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35318         (INTERNAL_MARK): Shift it here.
35320 2012-07-10  Marek Polacek  <polacek@redhat.com>
35322         [BZ #14151]
35323         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35324         libc_cv_asm_global_directive with .globl.
35325         * configure: Regenerated.
35326         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35327         with .globl.
35328         * sysdeps/i386/configure: Regenerated.
35329         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35330         with .globl.
35331         * sysdeps/x86_64/configure: Regenerated.
35332         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35333         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35334         * elf/tst-unique2mod2.c: Likewise.
35335         * elf/tst-unique2mod1.c: Likewise.
35336         * elf/tst-unique1mod2.c: Likewise.
35337         * elf/tst-unique1mod1.c: Likewise.
35338         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35339         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35340         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35341         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35342         * sysdeps/mach/sysdep.h: Likewise.
35343         * sysdeps/i386/sysdep.h: Likewise.
35344         * sysdeps/i386/i386-mcount.S: Likewise.
35345         * sysdeps/x86_64/_mcount.S: Likewise.
35346         * sysdeps/x86_64/sysdep.h: Likewise.
35347         * sysdeps/sh/_mcount.S: Likewise.
35348         * sysdeps/sh/sysdep.h: Likewise.
35349         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35350         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35351         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35352         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35353         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35354         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35355         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35356         * locale/localeinfo.h: Likewise.
35357         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35358         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35360 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35362         [BZ #14336]
35363         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35364         system".
35365         * manual/message.texi (The Uniforum approach): Likewise.
35366         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35367         (glibc iconv Implementation): Likewise.
35369 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35371         [BZ #14337]
35372         * math/s_clog.c (__clog): Avoid scaling a value down where that
35373         could result in underflow.
35374         * math/s_clog10.c (__clog10): Likewise.
35375         * math/s_clog10f.c (__clog10f): Likewise.
35376         * math/s_clog10l.c (__clog10l): Likewise.
35377         * math/s_clogf.c (__clogf): Likewise.
35378         * math/s_clogl.c (__clogl): Likewise.
35379         * math/libm-test.inc (clog_test): Add more tests.
35380         (clog10_test): Likewise.
35381         * sysdeps/i386/fpu/libm-test-ulps: Update.
35382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35384 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35386         [BZ #14283]
35387         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35388         by 7 not 8 to examine high bit of fractional part.
35390         [BZ #14042]
35391         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35392         for call to __mcount_internal.
35393         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35394         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35395         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35397 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35399         [BZ #14154]
35400         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35401         approximation for values within 0x1p-13f of an odd multiple of
35402         pi/4.
35403         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35404         exception.  Add more tests.
35405         * sysdeps/i386/fpu/libm-test-ulps: Update.
35407         [BZ #6778]
35408         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35409         inputs and return -1 for them.  Do not check for +Inf in case not
35410         reachable for +Inf.
35411         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35412         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35413         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35414         and return -1 for them.  Do not check for +Inf in case not
35415         reachable for +Inf.
35416         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35417         define.
35418         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35419         and return -1 for them.  Do not check for +Inf in case not
35420         reachable for +Inf.
35421         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35422         spurious underflow.
35423         * sysdeps/i386/fpu/libm-test-ulps: Update.
35424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35426 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35428         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35430 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35432         [BZ #14157]
35433         [BZ #14331]
35434         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35435         could result in spurious underflow.  Scale down values above
35436         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35437         * math/s_csqrtf.c (__csqrtf): Likewise.
35438         * math/s_csqrtl.c (__csqrtl): Likewise.
35439         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35440         spurious underflow.
35441         * sysdeps/i386/fpu/libm-test-ulps: Update.
35442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35444 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35446         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35447         xopen-msg.sed.
35448         * catgets/xopen-msg.awk: New file.
35449         * catgets/xopen-msg.sed: Removed.
35451         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35452         po2text.sed.
35453         * intl/po2test.awk: New file.
35454         * intl/po2test.sed: Removed.
35456 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35458         [BZ #14328]
35459         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35460         or multiply small sinh result by itself.
35461         * math/s_ctanf.c (__ctanf): Likewise.
35462         * math/s_ctanh.c (__ctanh): Likewise.
35463         * math/s_ctanhf.c (__ctanhf): Likewise.
35464         * math/s_ctanhl.c (__ctanhl): Likewise.
35465         * math/s_ctanl.c (__ctanl): Likewise.
35466         * math/libm-test.inc (ctan_test_tonearest): New function.
35467         (ctan_test_towardzero): Likewise.
35468         (ctan_test_downward): Likewise.
35469         (ctan_test_upward): Likewise.
35470         (ctanh_test_tonearest): Likewise.
35471         (ctanh_test_towardzero): Likewise.
35472         (ctanh_test_downward): Likewise.
35473         (ctanh_test_upward): Likewise.
35474         (main): Call these new functions.
35475         * sysdeps/i386/fpu/libm-test-ulps: Update.
35476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35478 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35480         * .gitignore: Delete /ports entry.
35482 2012-07-03  Andreas Jaeger  <aj@suse.de>
35484         * po/bg.po: Update from translation team.
35485         * po/cs.po: Likewise.
35486         * po/de.po: Likewise.
35487         * po/hr.po: Likewise.
35488         * po/nl.pl: Likewise.
35489         * po/pl.po: Likewise.
35490         * po/vi.po: Likewise.
35492 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35494         * Makeconfig [!+link] (+link-before-libc): New variable.
35495         [!+link] (+link-after-libc): Likewise.
35496         [!+link] (+link-tests): Likewise.
35497         [!+link] (+link): Define in terms of $(+link-before-libc) and
35498         $(+link-after-libc).
35499         [!+link-static] (+link-static-before-libc): New variable.
35500         [!+link-static] (+link-static-after-libc): Likewise.
35501         [!+link-static] (+link-static-tests): Likewise.
35502         [!+link-static] (+link-static): Define in terms of
35503         $(+link-static-before-libc) and $(+link-static-after-libc).
35504         [build-shared] (link-libc-before-gnulib): New variable.
35505         [build-shared] (link-libc-tests): Likewise.
35506         [build-shared] (link-libc): Define in terms of
35507         $(link-libc-before-gnulib).
35508         [!build-shared] (link-libc-tests): New variable.
35509         (link-libc-static-tests): New variable.
35510         [!gnulib] (gnulib-arch): New variable.
35511         [!gnulib] (gnulib-tests): Likewise.
35512         [!gnulib] (static-gnulib-arch): Likewise.
35513         [!gnulib] (static-gnulib-tests): Likewise.
35514         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35515         Define with "=" instead of ":=".
35516         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35517         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35518         * Rules (binaries-all-notests): New variable.
35519         (binaries-all-tests): Likewise.
35520         (binaries-static-notests): Likewise.
35521         (binaries-static-tests): Likewise.
35522         (binaries-all): Define using $(binaries-all-notests) and
35523         $(binaries-all-tests).
35524         (binaries-static): Define using $(binaries-static-notests) and
35525         $(binaries-static-tests).
35526         (binaries-shared-tests): New variable.
35527         (binaries-shared-notests): Likewise.
35528         (binaries-shared): Remove variable.
35529         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35530         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35531         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35532         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35533         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35534         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35535         * elf/Makefile (sln-modules): New variable.
35536         (extra-objs): Add $(sln-modules:=.o).
35537         (ldconfig-modules): Add static-stubs.
35538         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35539         * elf/static-stubs.c: New file.
35541         [BZ #14283]
35542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35543         by 7 not 8 to examine high bit of fractional part.  Use volatile
35544         variables when splitting into final array of floats if
35545         __FLT_EVAL_METHOD__ != 0.
35546         * math/libm-test.inc (cos_test): Add another test.
35547         (sin_test): Likewise.
35548         * sysdeps/i386/fpu/libm-test-ulps: Update.
35550         [BZ #14273]
35551         * math/libm-test.inc (cosh_test): Add more tests.
35553         * version.h (RELEASE): Set to "development".
35554         (VERSION): Set to "2.16.90".
35556 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35558         * NEWS: Update copyright. Remove last-updated date.
35559         Mention math library bug fixes and timezone data changes.
35560         * README: Mention GNU/Hurd, x32, and HPPA support status.
35562 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35564         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35566 2012-06-27  Andreas Jaeger  <aj@suse.de>
35568         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35570 2012-06-25  Andreas Jaeger  <aj@suse.de>
35572         * sysdeps/s390/fpu/libm-test-ulps: Update.
35574 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35575             Thomas Schwinge  <thomas@codesourcery.com>
35577         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35578         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35580         fanotify_mark.
35582 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35584         * sysdeps/mach/start.c: Remove file.
35585         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35586         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35587         * sysdeps/sh/init-first.c: Likewise.
35589         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35590         registers for frame unwinding purposes, add CFI directives.
35591         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35593         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35594         Likewise.
35596         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35597         __fortify_fail returning.
35598         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35600         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35601         sysdeps/sh/____longjmp_chk.S.
35602         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35603         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35604         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35605         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35607         * sysdeps/sh/abort-instr.h: New file.
35608         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35609         process in case exit returns.
35611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35612         initialize the GOT register before use.
35614         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35615         calculation of ARGC > 4.
35617         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35618         meaningful names to some local labels.
35620 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35621             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35623         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35624         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35625         (__arch_compare_and_exchange_val_16_acq): Likewise.
35626         (__arch_compare_and_exchange_val_32_acq): Likewise.
35627         (atomic_exchange_and_add): Fix gUSA sequence.
35628         (atomic_add): Likewise.
35629         (atomic_add_negative): Likewise.
35630         (atomic_add_zero): Likewise.
35631         (atomic_bit_test_set): Likewise.
35633 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35635         [BZ #13579]
35636         * include/link.h (struct link_map): Add l_free_initfini.
35637         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35638         l_initfini.
35639         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35640         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35641         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35642         set.
35644 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35646         * configure.in: Use AC_LANG_SOURCE.
35647         * configure: Regenerate.
35649 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35651         * configure.in (libc_cv_localstatedir): New substituted variable.
35652         * configure: Regenerated.
35653         * config.make.in (localstatedir): New variable, substituted from
35654         libc_cv_localstatedir.
35655         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35656         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35657         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35658         * sysdeps/gnu/configure: Regenerated.
35660 2012-06-21  Jeff Law  <law@redhat.com>
35662         [BZ #14277]
35663         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35664         free.  Simplify list management for _LIBC case.
35666 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35668         [BZ #14273]
35669         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35670         Clear sign bit of 64-bit integer value before comparing against
35671         overflow value.
35673         * sysdeps/mach/configure: Regenerated.
35675 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35677         [BZ #14278]
35678         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35680 2012-06-21  Jeff Law  <law@redhat.com>
35682         [BZ #13882]
35683         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35684         uint16_t for elements in the "seen" array to avoid char overflows.
35685         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35686         * elf/dl-open.c (dl_open_worker): Likewise.
35688 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35690         * scripts/list-sources.sh: Scan PORTS for translations.
35691         * po/libc.pot: Regenerated.
35693 2012-06-21  Andreas Jaeger  <aj@suse.de>
35695         [BZ #12194]
35696         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35697         warning.
35698         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35699         * bits/byteswap-16.h (__bswap_16): Likewise.
35700         * bits/byteswap.h (__bswap_constant_16): Likewise.
35702 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35704         [BZ #14117]
35705         * sysdeps/i386/fpu_control.h: Removed.
35706         * sysdeps/x86_64/fpu_control.h: Moved to ...
35707         * sysdeps/x86/fpu_control.h: Here.
35709         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35710         (_FPU_SETCW): Likewise.
35712 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35714         [BZ #14117]
35715         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35716         * sysdeps/x86/fpu/bits/mathinline.h: This.
35717         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35719         [BZ #14050]
35720         [BZ #14117]
35721         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35722         functions if __x86_64__ is defined.
35724 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35726         * string/endian.h: Add !__ASSEMBLER__ condition for including
35727         conversion interfaces.
35729 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35731         [BZ #14241]
35732         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35733         of ABS(x) in calculating zero to negative powers other than odd
35734         integers.
35735         * math/libm-test.inc (pow_test): Add more tests.
35737 2012-06-15  Andreas Jaeger  <aj@suse.de>
35739         * manual/contrib.texi (Contributors): Update entry of Liubov
35740         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35741         Machado Filho.
35743 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35745         * string/string.h: Add __wur to GNU version of strerror_r.
35747 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35749         [BZ #14229]
35750         * string/Makefile (tests): Add tst-strtok_r.
35751         * string/tst-strtok_r.c: New file.
35752         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35753         RAX_LP/RDX_LP on SAVE_PTR.
35755 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35757         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35759 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35761         * libm_test.inc (csqrt_test): Allow more spurious underflow
35762         exceptions.
35763         (j0_test): Likewise.
35764         (j1_test): Likewise.
35765         (y0_test): Likewise.
35766         (y1_test): Likewise.
35768 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35770         * po/Makefile (libc.pot): Use UTF-8 charset.
35772 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35774         [BZ #14210]
35775         Suppress sign-conversion warning from FD_SET.
35776         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35777         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35778         not unsigned long int.
35779         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35781 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35783         [BZ #14050]
35784         [BZ #14117]
35785         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35786         __extern_always_inline instead of __extern_inline.
35787         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35788         (__signbit): Likewise.
35789         (__signbitl): Support C++ namespace.
35790         (lrintf): New inline function.
35791         (lrint): Likewise.
35792         (llrintf): Likewise.
35793         (llrint): Likewise.
35794         (fmaxf): Likewise.
35795         (fmax): Likewise.
35796         (fminf): Likewise.
35797         (fmin): Likewise.
35798         (rint): Likewise.
35799         (rintf): Likewise.
35800         (ceil): Likewise.
35801         (ceilf): Likewise.
35802         (floor): Likewise.
35803         (floorf): Likewise.
35804         (nearbyint): Likewise.
35805         (nearbyintf): Likewise.
35807 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35809         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35810         non-default versions.
35812 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35814         [BZ #14218]
35815         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35817 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35819         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35820         (FE_UPWARD, FE_DOWNWARD): Don't define.
35821         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35822         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35825         reading it.
35826         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35827         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35829 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35831         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35833         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35834         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35836 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35838         [BZ #14117]
35839         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35840         * sysdeps/i386/fpu/Implies: New file.
35841         * sysdeps/x86_64/fpu/Implies: Likewise.
35842         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35843         * sysdeps/x86/fpu/bits/fenv.h: This.
35845         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35846         __SSE_MATH__.
35848 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35850         [BZ #14134]
35851         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35852         character 0xffff that matches the last element of the
35853         conversion table.
35855 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35857         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35858         fmodl commit.
35860 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35863         values higher than 25.6283.
35865 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35867         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35868         subnormal exponent extraction and add some __builtin_expect.
35869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35870         Fix for subnormal mantissa calculation.
35872 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35874         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35875         cpu2 is -1 and errno is not ENOSYS.
35877 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35879         [BZ #14117]
35880         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35881         * sysdeps/x86/bits/string.h: This.
35882         * sysdeps/x86_64/bits/string.h: Removed.
35884         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35885         if not compiling for x86-64, but compiling for >= i486.
35887         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35888         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35890         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35891         New macro from Linux kernel 3.4.0.
35892         (FP_XSTATE_MAGIC2): Likewise.
35893         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35894         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35895         (struct _fpx_sw_bytes): New struct.
35896         (struct _xsave_hdr): Likewise.
35897         (struct _ymmh_state): Likewise.
35898         (struct _xstate): Likewise.
35900         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35901         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35902         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35903         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35904         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35905         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35907         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35908         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35909         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35910         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35911         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35912         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35914 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35916         [BZ #13743]
35917         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35918         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35919         (sysdep_headers): Include sys/platform/ppc.h.
35920         * sysdeps/powerpc/test-gettimebase.c: Test for
35921         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35922         * manual/Makefile (appendices): Include platform.texi.
35923         * manual/contrib.texi (Contributors): Update @node pointers.
35924         * manual/maint.texi (Maintenance): Likewise.
35925         (Platform): New node.
35926         * manual/platform.texi: New file.  Document the new features.
35928 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35929             Jakub Jelinek  <jakub@redhat.com>
35931         [BZ #14188]
35932         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35933         where __builtin_expect is unavailable.
35935 2012-06-03  David S. Miller  <davem@davemloft.net>
35937         * stdlib/longlong.h: Updated from GCC.
35939 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35941         [BZ #14042]
35942         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35943         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35944         __mcount_internal.
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35946         (GLIBC_2.16): Likewise.
35948 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35950         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35952 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35955         (default-abi): New variable.
35956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35957         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35958         variable.
35959         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35960         Likewise.
35961         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35962         Likewise.
35963         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35964         Likewise.
35966         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35967         definition.  Document in comment.
35969 2012-06-01  David S. Miller  <davem@davemloft.net>
35971         * stdlib/longlong.h: Updated from GCC.
35973 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35975         [BZ #14117]
35976         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35977         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35978         sys/debugreg.h sys/io.h here.
35979         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35980         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35981         sys/io.h.
35982         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35983         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35984         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35985         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35986         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35987         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35989         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35990         Define only if __x86_64__ is defined.
35992 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35994         [BZ #14048]
35995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35996         Use int64_t for variable i.
35997         * math/libm-test.inc (fmod_test): Add more tests.
35999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36000         z computation is not scheduled after fetestexcept.
36001         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36002         Use math_force_eval instead of asm to ensure calculation scheduled
36003         before exception test.
36004         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36005         Ensure a1 + u.d computation is not scheduled after fetestexcept.
36007 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
36009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36010         computation is not scheduled after fetestexcept.
36012 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36014         [BZ #14117]
36015         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36016         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36018 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36020         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36023 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36025         [BZ #14117]
36026         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36027         <bits/wordsize.h>.
36028         (__WCHAR_MIN): Support __WORDSIZE == 64.
36029         (__WCHAR_MAX): Likewise.
36031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36032         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36034         [BZ #14183]
36035         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36036         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36038         [BZ #14117]
36039         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36042         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36043         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36045         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36046         Defined to 1 if __x86_64__ isn't defined.
36047         (_STAT_VER_LINUX_OLD): New.
36048         (st_atime): Remove duplicate.
36049         (st_mtime): Likewise.
36050         (st_ctime): Likewise.
36052 2012-05-31  David S. Miller  <davem@davemloft.net>
36054         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36055         entries.
36057 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
36059         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36060         gen-libm-test.pl.
36062         [BZ #14132]
36063         * elf/dl-reloc.c: Include <_itoa.h>.
36064         (_dl_reloc_bad_type): Remove use of INTUSE.
36065         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36066         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36067         * stdio-common/psiginfo.c (psiginfo): Likewise.
36068         * stdio-common/psignal.c (psignal): Likewise.
36069         * string/strsignal.c (strsignal): Likewise.
36070         * include/signal.h (_sys_siglist): Declare hidden proto.
36071         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
36072         INTVARDEF with libc_hidden_data_def.
36073         * stdio-common/itoa-udigits.c: Likewise.
36074         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36075         (_itoa_lower_digits_internal): Remove declaration.
36076         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36077         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36078         (_sys_sigabbrev_internal): Remove aliases.
36079         (_sys_siglist): Define hidden alias.
36081 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
36083         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36084         bits/sysctl.h.
36086 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
36088         [BZ #14117]
36089         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36090         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36092         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36093         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36094         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36095         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36096         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36097         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36099         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36100         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36101         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36103         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36104         with __addr.
36105         (insw): Likewise.
36106         (insl): Likewise.
36107         (outsb): Likewise.
36108         (outsw): Likewise.
36109         (outsl): Likewise.
36111         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36113         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36115         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36116         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36117         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36118         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36119         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36120         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36122         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36123         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36125         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36126         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36128         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36130         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36132         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36133         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36134         to ...
36135         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36137         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36138         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36139         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36141         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36142         for x86-64.
36143         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36145 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
36147         * math/math.h (M_El): Use two more decimal places.
36148         (M_LOG2El): Likewise.
36149         (M_LOG10El): Likewise.
36150         (M_LN2l): Likewise.
36151         (M_LN10l): Likewise.
36152         (M_PIl): Likewise.
36153         (M_PI_2l): Likewise.
36154         (M_PI_4l): Likewise.
36155         (M_1_PIl): Likewise.
36156         (M_2_PIl): Likewise.
36157         (M_2_SQRTPIl): Likewise.
36158         (M_SQRT2l): Likewise.
36159         (M_SQRT1_2l): Likewise.
36161 2012-05-31  David S. Miller  <davem@davemloft.net>
36163         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36164         values between float registers.
36165         * sysdeps/sparc/sparc64/memset.S: Likewise.
36166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36168 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
36170         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36171         -D_FORTIFY_SOURCE=1.
36172         (CPPFLAGS-tst-longjmp_chk.c): Define.
36173         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36174         (CPPFLAGS-tst-longjmp_chk2.c): Define.
36175         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36176         CFLAGS-tst-wchar-h.c.
36178 2012-05-31  Marek Polacek  <polacek@redhat.com>
36180         [BZ #14132]
36181         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36182         __endmntent_internal): Remove declaration.
36183         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36184         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36185         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36187 2012-05-30  David S. Miller  <davem@davemloft.net>
36189         * sysdeps/sparc/sparc32/soft-fp/q_util.c
36190         (___Q_simulate_exceptions): Use real FP ops rather than writing
36191         into the %fsr.
36192         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36193         Likewise.
36195 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36197         [BZ #14117]
36198         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36199         * sysdeps/x86/bits/xtitypes.h: This.
36201         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36202         * sysdeps/x86/bits/wordsize.h: This.
36204         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36205         * sysdeps/x86/bits/huge_vall.h: This.
36207         * sysdeps/i386/bits/select.h: Removed.
36208         * sysdeps/x86_64/bits/select.h: Renamed to ...
36209         * sysdeps/x86/bits/select.h: This.
36211         * sysdeps/i386/bits/setjmp.h: Removed.
36212         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36213         * sysdeps/x86/bits/setjmp.h: This.
36215         * sysdeps/i386/bits/mathdef.h: Removed.
36216         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36217         * sysdeps/x86/bits/mathdef.h: This.
36219 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
36221         [BZ #14132]
36222         * include/sys/socket.h (__connect_internal)
36223         (__libc_sa_len_internal): Remove declaration.
36224         (__connect, __libc_sa_len): Declare hidden_proto.
36225         (SA_LEN): Remove use of INTUSE.
36226         * socket/connect.c: Add libc_hidden_def.
36227         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36228         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36229         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36230         alias.
36231         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36232         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36233         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36234         of adding _internal alias.
36236 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36238         [BZ #14117]
36239         * sysdeps/i386/bits/link.h: Removed.
36240         * sysdeps/i386/bits/linkmap.h: Likewise.
36241         * sysdeps/x86_64/bits/link.h: Renamed to ...
36242         * sysdeps/x86/bits/link.h: This.
36243         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36244         * sysdeps/x86/bits/linkmap.h: This.
36246         * sysdeps/i386/bits/endian.h: Removed.
36247         * sysdeps/x86_64/bits/endian.h: Renamed to ...
36248         * sysdeps/x86/bits/endian.h: This.
36250         * sysdeps/i386/bits/byteswap.h: Removed.
36251         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36252         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36253         * sysdeps/x86/bits/byteswap.h: This.
36254         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36255         * sysdeps/x86/bits/byteswap-16.h: This.
36256         * sysdeps/i386/Implies: Add x86.
36257         * sysdeps/x86_64/Implies: Likewise.
36259 2012-05-30  David S. Miller  <davem@davemloft.net>
36261         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36262         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36263         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36264         (FP_TRAPPING_EXCEPTIONS): Define.
36265         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36266         (FP_TRAPPING_EXCEPTIONS): Define.
36267         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36268         subnormals only when inexact has been signalled or underflow
36269         exceptions are enabled.
36270         (_FP_PACK_CANONICAL): Likewise.
36272 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36274         [BZ #14183]
36275         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36276         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36278 2012-05-30  Richard Henderson  <rth@twiddle.net>
36280         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36281         with #ifndef NOT_IN_libc.
36283         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36284         marked to avoid plt entry.
36286 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36288         [BZ #14112]
36289         * Makeconfig (default-abi): New macro.
36290         (abi-includes): Likewise.
36291         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36292         $(abi-$(default-abi)-lib-soname) for soname if defined.
36293         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36294         abi-variants.
36295         * Makefile (installed-stubs): Likewise.
36296         * include/stubs-biarch.h: Removed.
36297         * scripts/lib-names.awk: Only handle one library at a time.
36298         * scripts/soversions.awk: Remove WORDSIZE support.
36299         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36300         entries.
36301         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36302         Removed.
36303         (syscall-list-default-condition): Likewise.
36304         (syscall-list-default-condition): Likewise.
36305         (syscall-list-includes): Likewise.
36306         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36307         syscall-list-* with abi-*.  Handle undefined abi-variants.
36308         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36309         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36310         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36311         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36312         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36313         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36314         Removed.
36315         (syscall-list-32-options): Likewise.
36316         (syscall-list-32-condition): Likewise.
36317         (syscall-list-64-options): Likewise.
36318         (syscall-list-64-condition): Likewise.
36319         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36320         macro.
36321         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36322         Renamed to ...
36323         (abi-*): This.
36324         (abi-64-ld-soname): New macro.
36325         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36326         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36327         Renamed to ...
36328         (abi-*): This.
36329         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36330         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36332 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36334         * sysdeps/unix/sysv/linux/kernel-features.h
36335         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36336         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36337         include <kernel-features.h>.
36338         [!__NR_ftruncate64]: Remove conditional code.
36339         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36340         [__NR_ftruncate64]: Make code unconditional.
36341         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36342         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36343         include <kernel-features.h>.
36344         [!__NR_ftruncate64]: Remove conditional code.
36345         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36346         [__NR_ftruncate64]: Make code unconditional.
36347         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36349         include <kernel-features.h>.
36350         [!__NR_ftruncate64]: Remove conditional code.
36351         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36352         [__NR_ftruncate64]: Make code unconditional.
36353         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36355         include <kernel-features.h>.
36356         [!__NR_ftruncate64]: Remove conditional code.
36357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36358         [__NR_ftruncate64]: Make code unconditional.
36359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36361         * configure.in (libc_cv_fpie): Weaken to a compile test using
36362         LIBC_TRY_CC_OPTION.
36363         * configure: Regenerated.
36365 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36371         Refreshed.
36372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36378         Refreshed.
36380 2012-05-27  David S. Miller  <davem@davemloft.net>
36382         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36383         (___Q_zero): New.
36384         (__Q_simulate_exceptions): Return void.  Change to simulate
36385         exceptions by writing into the %fsr.
36386         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36387         (__Qp_handle_exceptions): Likewise.
36388         (numbers): Delete.
36389         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36390         __Qp_handle_exceptions.
36391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36392         __Qp_handle_exceptions.
36393         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36394         as unused and give dummy FP_RND_NEAREST initializer.
36395         (FP_INHIBIT_RESULTS): Define.
36396         (___Q_simulate_exceptions): Update declaration.
36397         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36398         formatting.
36399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36400         as unused and give dummy FP_RND_NEAREST initializer.
36401         (__Qp_handle_exceptions): Update declaration.
36402         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36403         formatting.
36405 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36407         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36408         the temporary FPU control word.
36409         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36410         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36411         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36412         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36413         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36414         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36415         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36416         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36417         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36418         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36419         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36421 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36423         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36424         fields.
36426 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36428         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36429         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36430         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36431         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36432         Likewise.
36433         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36434         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36435         Likewise.
36437 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36439         * po/h.po: Update from translation team.
36441 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36443         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36446         handling of denormals.
36447         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36448         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36449         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36450         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36454         Likewise.
36456 2012-05-26  Marek Polacek  <polacek@redhat.com>
36458         [BZ #14152]
36459         * math/libm-test.inc (fma_test): Don't always expect underflow
36460         exception.
36462 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36464         [BZ #12416]
36465         * elf/tst-execstack.c: Include stackinfo.h.
36466         (do_test): Adjust test case to ensure that pthread_getattr_np
36467         behaviour remains the same after marking stack executable.
36469 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36471         * sysdeps/unix/sysv/linux/kernel-features.h
36472         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36473         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36474         kernel-features.h.
36475         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36476         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36477         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36478         kernel-features.h.
36479         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36480         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36482 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36484         * configure.in: Define the default includes to being none.
36485         * configure: Regenerated.
36487 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36489         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36490         * sysdeps/x86_64/setjmp.S: Likewise.
36491         * sysdeps/i386/bsd-setjmp.S: Likewise.
36492         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36493         * sysdeps/i386/setjmp.S: Likewise.
36494         * sysdeps/i386/__longjmp.S: Likewise.
36495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36496         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36498         * include/stap-probe.h: New file.
36499         * configure.in: Handle --enable-systemtap.
36500         * configure: Regenerated.
36501         * config.h.in (USE_STAP_PROBE): New #undef.
36502         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36503         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36504         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36506 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36508         [BZ #13717]
36509         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36510         to 2.4.0 where earlier.
36511         * sysdeps/unix/sysv/linux/configure: Regenerated.
36512         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36513         <kernel-features.h>.
36514         [__ASSUME_32BITUIDS]: Make code unconditional.
36515         [!__ASSUME_32BITUIDS]: Remove conditional code.
36516         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36517         <kernel-features.h>.
36518         [__ASSUME_32BITUIDS]: Make code unconditional.
36519         [!__ASSUME_32BITUIDS]: Remove conditional code.
36520         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36521         [__ASSUME_32BITUIDS]: Make code unconditional.
36522         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36523         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36524         <kernel-features.h>.
36525         [__ASSUME_32BITUIDS]: Make code unconditional.
36526         [!__ASSUME_32BITUIDS]: Remove conditional code.
36527         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36528         <kernel-features.h>.
36529         [__ASSUME_32BITUIDS]: Make code unconditional.
36530         [!__ASSUME_32BITUIDS]: Remove conditional code.
36531         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36532         <kernel-features.h>.
36533         [__ASSUME_32BITUIDS]: Make code unconditional.
36534         [!__ASSUME_32BITUIDS]: Remove conditional code.
36535         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36536         <kernel-features.h>.
36537         [__ASSUME_32BITUIDS]: Make code unconditional.
36538         [!__ASSUME_32BITUIDS]: Remove conditional code.
36539         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36540         <kernel-features.h>.
36541         [__ASSUME_32BITUIDS]: Make code unconditional.
36542         [!__ASSUME_32BITUIDS]: Remove conditional code.
36543         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36544         <kernel-features.h>.
36545         [__ASSUME_32BITUIDS]: Make code unconditional.
36546         [!__ASSUME_32BITUIDS]: Remove conditional code.
36547         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36548         <kernel-features.h>.
36549         [__ASSUME_32BITUIDS]: Make code unconditional.
36550         [!__ASSUME_32BITUIDS]: Remove conditional code.
36551         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36552         <kernel-features.h>.
36553         [__ASSUME_32BITUIDS]: Make code unconditional.
36554         [!__ASSUME_32BITUIDS]: Remove conditional code.
36555         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36556         <kernel-features.h>.
36557         [__ASSUME_32BITUIDS]: Make code unconditional.
36558         [!__ASSUME_32BITUIDS]: Remove conditional code.
36559         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36560         <kernel-features.h>.
36561         [__ASSUME_32BITUIDS]: Make code unconditional.
36562         [!__ASSUME_32BITUIDS]: Remove conditional code.
36563         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36564         <kernel-features.h>.
36565         [__NR_setresgid] (__setresgid): Do not declare.
36566         [__ASSUME_32BITUIDS]: Make code unconditional.
36567         [!__ASSUME_32BITUIDS]: Remove conditional code.
36568         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36569         <kernel-features.h>.
36570         [__NR_setresuid] (__setresuid): Do not declare.
36571         [__ASSUME_32BITUIDS]: Make code unconditional.
36572         [!__ASSUME_32BITUIDS]: Remove conditional code.
36573         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36574         <kernel-features.h>.
36575         [__ASSUME_32BITUIDS]: Make code unconditional.
36576         [!__ASSUME_32BITUIDS]: Remove conditional code.
36577         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36578         <kernel-features.h>.
36579         [__ASSUME_32BITUIDS]: Make code unconditional.
36580         [!__ASSUME_32BITUIDS]: Remove conditional code.
36581         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36582         <kernel-features.h>.
36583         [__ASSUME_32BITUIDS]: Make code unconditional.
36584         [!__ASSUME_32BITUIDS]: Remove conditional code.
36585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36586         <kernel-features.h>.
36587         [__ASSUME_32BITUIDS]: Make code unconditional.
36588         [!__ASSUME_32BITUIDS]: Remove conditional code.
36589         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36590         <kernel-features.h>.
36591         [__ASSUME_32BITUIDS]: Make code unconditional.
36592         [!__ASSUME_32BITUIDS]: Remove conditional code.
36593         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36594         <kernel-features.h>.
36595         [__ASSUME_32BITUIDS]: Make code unconditional.
36596         [!__ASSUME_32BITUIDS]: Remove conditional code.
36597         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36598         <kernel-features.h>.
36599         [__ASSUME_32BITUIDS]: Make code unconditional.
36600         [!__ASSUME_32BITUIDS]: Remove conditional code.
36601         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36602         <kernel-features.h>.
36603         [__ASSUME_32BITUIDS]: Make code unconditional.
36604         [!__ASSUME_32BITUIDS]: Remove conditional code.
36605         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36606         <kernel-features.h>.
36607         [__ASSUME_32BITUIDS]: Make code unconditional.
36608         [!__ASSUME_32BITUIDS]: Remove conditional code.
36609         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
36614         (__ASSUME_SETRESUID_SYSCALL): Remove.
36615         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36616         (__ASSUME_32BITUIDS): Likewise.
36617         (__ASSUME_LDT_WORKS): Likewise.
36618         (__ASSUME_O_DIRECTORY): Likewise.
36619         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36620         architecture but not kernel version.
36621         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36622         (__ASSUME_MMAP2_SYSCALL): Likewise.
36623         (__ASSUME_STAT64_SYSCALL): Likewise.
36624         (__ASSUME_IPC64): Likewise.
36625         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36626         <kernel-features.h>.
36627         [__ASSUME_32BITUIDS]: Make code unconditional.
36628         [!__ASSUME_32BITUIDS]: Remove conditional code.
36629         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36630         <kernel-features.h>.
36631         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36632         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36633         132096]: Remove conditional code.
36634         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36635         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36636         <kernel-features.h>.
36637         [__ASSUME_32BITUIDS]: Make code unconditional.
36638         [!__ASSUME_32BITUIDS]: Remove conditional code.
36639         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36640         <kernel-features.h>.
36641         [__ASSUME_32BITUIDS]: Make code unconditional.
36642         [!__ASSUME_32BITUIDS]: Remove conditional code.
36643         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36644         <kernel-features.h>.
36645         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36646         unconditional.
36647         (__setresgid): Do not declare.
36648         [__ASSUME_32BITUIDS]: Make code unconditional.
36649         [!__ASSUME_32BITUIDS]: Remove conditional code.
36650         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36651         <kernel-features.h>.
36652         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36653         unconditional.
36654         (__setresuid): Do not declare.
36655         [__ASSUME_32BITUIDS]: Make code unconditional.
36656         [!__ASSUME_32BITUIDS]: Remove conditional code.
36657         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36658         <kernel-features.h>.
36659         [__ASSUME_32BITUIDS]: Make code unconditional.
36660         [!__ASSUME_32BITUIDS]: Remove conditional code.
36661         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36662         <kernel-features.h>.
36663         [__ASSUME_32BITUIDS]: Make code unconditional.
36664         [!__ASSUME_32BITUIDS]: Remove conditional code.
36666 2012-05-25  Richard Henderson  <rth@twiddle.net>
36668         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36669         dl_hwcap to ifunc resolver.
36670         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36671         elf_ifunc_invoke.
36672         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36673         dl_hwcap to ifunc resolver.
36674         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36676 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36678         [BZ #14153]
36679         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36680         for |x| <= 2**-26, not 2**-57.
36681         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36682         exception.
36684 2012-05-24  Jeff Law  <law@redhat.com>
36686         * stdio-common/Makefile (tests): Add bug25.
36687         * stdio-common/bug25.c: New test.
36689 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36691         [BZ #13576]
36692         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36693         multiple of MALLOC_ALIGNMENT in size.
36694         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36696 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36698         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36699         Require >= 256.
36700         (FILENAME_MAX): Use macro-int-constant.
36701         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36702         (_IOFBF): Use macro-int-constant.
36703         (_IOLBF): Likewise.
36704         (_IONBF): Likewise.
36705         (SEEK_CUR): Likewise.
36706         (SEEK_END): Likewise.
36707         (SEEK_SET): Likewise.
36708         (TMP_MAX): Likewise.
36709         (EOF): Use macro-int-constant.  Require < 0.
36710         (NULL): Use macro-constant.  Require == 0.
36711         (stdin): Require type to be FILE *.
36712         (stdout): Likewise.
36713         (stderr): Likewise.
36714         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36715         macro-int-constant.
36716         (EXIT_SUCCESS): Likewise.
36717         (NULL): Use macro-constant.  Require == 0.
36718         (RAND_MAX): Use macro-int-constant.
36719         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36720         [C99-based standards] (strtof): Require function.
36721         [C99-based standards] (strtold): Likewise.
36722         [C99-based standards] (strtoll): Likewise.
36723         [C99-based standards] (strtoull): Likewise.
36724         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36725         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36726         [ISO || ISO99 || ISO11] (math.h): Likewise.
36727         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36728         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36731 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36733         [BZ #14132]
36734         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36735         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36736         * intl/dgettext.c (DCGETTEXT): Likewise.
36737         * intl/gettext.c (DCGETTEXT): Likewise.
36738         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36739         * posix/regex_internal.h (gettext): Likewise.
36740         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36741         Remove declaration.
36742         * include/argz.h (__argz_count_internal)
36743         (__argz_stringify_internal): Remove declaration.
36744         (__argz_count, __argz_stringify): Declare hidden proto.
36745         * intl/dcgettext.c: Remove use of INTDEF.
36746         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36747         * string/argz-stringify.c: Likewise.
36748         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36749         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36750         Declare hidden proto.
36751         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36752         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36753         Declare hidden proto.
36754         * include/stdio.h (__asprintf_internal): Don't declare.
36755         (__asprintf): Don't define as macro.  Declare hidden proto.
36756         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36757         (__fsetlocking): Declare hidden proto.
36758         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36759         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36760         hidden proto.
36761         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36762         (_IO_setlinebuf): Remove use of INTUSE.
36763         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36764         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36765         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36766         Remove declaration.
36767         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36768         (_IO_do_flush): Remove use of INTUSE.
36769         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36770         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36771         (_IO_adjust_column, _IO_least_wmarker)
36772         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36773         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36774         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36775         (_IO_default_doallocate, _IO_wdefault_doallocate)
36776         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36777         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36778         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36779         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36780         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36781         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36782         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36783         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36784         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36785         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36786         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36787         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36788         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36789         proto.
36790         (_IO_flush_all_internal, _IO_adjust_column_internal)
36791         (_IO_default_uflow_internal, _IO_default_finish_internal)
36792         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36793         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36794         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36795         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36796         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36797         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36798         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36799         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36800         (_IO_file_close_internal, _IO_file_close_it_internal)
36801         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36802         (_IO_file_init_internal, _IO_file_attach_internal)
36803         (_IO_file_fopen_internal, _IO_file_read_internal)
36804         (_IO_file_sync_internal, _IO_file_seek_internal)
36805         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36806         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36807         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36808         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36809         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36810         (_IO_list_all_internal, _IO_link_in_internal)
36811         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36812         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36813         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36814         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36815         (_IO_do_write_internal, _IO_padn_internal)
36816         (_IO_getline_info_internal, _IO_getline_internal)
36817         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36818         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36819         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36820         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36821         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36822         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36823         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36824         with libc_hidden_ver, remove use of INTUSE.
36825         * libio/genops.c: Likewise.
36826         * libio/freopen.c: Likewise.
36827         * libio/freopen64.c: Likewise.
36828         * libio/iofclose.c: Likewise.
36829         * libio/iofdopen.c: Likewise.
36830         * libio/iofflush.c: Likewise.
36831         * libio/iofflush_u.c: Likewise.
36832         * libio/iofgets.c: Likewise.
36833         * libio/iofgets_u.c: Likewise.
36834         * libio/iofopen.c: Likewise.
36835         * libio/iofopncook.c: Likewise.
36836         * libio/iofread.c: Likewise.
36837         * libio/iofread_u.c: Likewise.
36838         * libio/ioftell.c: Likewise.
36839         * libio/iofwrite.c: Likewise.
36840         * libio/iogetline.c: Likewise.
36841         * libio/iogets.c: Likewise.
36842         * libio/iogetwline.c: Likewise.
36843         * libio/iopadn.c: Likewise.
36844         * libio/iopopen.c: Likewise.
36845         * libio/ioseekoff.c: Likewise.
36846         * libio/ioseekpos.c: Likewise.
36847         * libio/iosetbuffer.c: Likewise.
36848         * libio/iosetvbuf.c: Likewise.
36849         * libio/ioungetc.c: Likewise.
36850         * libio/ioungetwc.c: Likewise.
36851         * libio/iovdprintf.c: Likewise.
36852         * libio/iovsprintf.c: Likewise.
36853         * libio/iovsscanf.c: Likewise.
36854         * libio/memstream.c: Likewise.
36855         * libio/obprintf.c: Likewise.
36856         * libio/oldfileops.c: Likewise.
36857         * libio/oldiofclose.c: Likewise.
36858         * libio/oldiofdopen.c: Likewise.
36859         * libio/oldiofopen.c: Likewise.
36860         * libio/oldiopopen.c: Likewise.
36861         * libio/oldstdfiles.c: Likewise.
36862         * libio/putc.c: Likewise.
36863         * libio/setbuf.c: Likewise.
36864         * libio/setlinebuf.c: Likewise.
36865         * libio/stdfiles.c: Likewise.
36866         * libio/strops.c: Likewise.
36867         * libio/vasprintf.c: Likewise.
36868         * libio/vscanf.c: Likewise.
36869         * libio/vsnprintf.c: Likewise.
36870         * libio/vswprintf.c: Likewise.
36871         * libio/wfiledoalloc.c: Likewise.
36872         * libio/wfileops.c: Likewise.
36873         * libio/wgenops.c: Likewise.
36874         * libio/wmemstream.c: Likewise.
36875         * libio/wstrops.c: Likewise.
36876         * libio/__fpurge.c: Likewise.
36877         * libio/__fsetlocking.c: Likewise.
36878         * assert/assert.c: Likewise.
36879         * debug/fgets_chk.c: Likewise.
36880         * debug/fgets_u_chk.c: Likewise.
36881         * debug/fread_chk.c: Likewise.
36882         * debug/fread_u_chk.c: Likewise.
36883         * debug/gets_chk.c: Likewise.
36884         * debug/obprintf_chk.c: Likewise.
36885         * debug/vasprintf_chk.c: Likewise.
36886         * debug/vdprintf_chk.c: Likewise.
36887         * debug/vsnprintf_chk.c: Likewise.
36888         * debug/vsprintf_chk.c: Likewise.
36889         * malloc/mtrace.c: Likewise.
36890         * misc/error.c: Likewise.
36891         * misc/syslog.c: Likewise.
36892         * stdio-common/asprintf.c: Likewise.
36893         * stdio-common/fxprintf.c: Likewise.
36894         * stdio-common/getw.c: Likewise.
36895         * stdio-common/isoc99_fscanf.c: Likewise.
36896         * stdio-common/isoc99_scanf.c: Likewise.
36897         * stdio-common/isoc99_vfscanf.c: Likewise.
36898         * stdio-common/isoc99_vscanf.c: Likewise.
36899         * stdio-common/isoc99_vsscanf.c: Likewise.
36900         * stdio-common/printf-prs.c: Likewise.
36901         * stdio-common/printf_fp.c: Likewise.
36902         * stdio-common/printf_fphex.c: Likewise.
36903         * stdio-common/printf_size.c: Likewise.
36904         * stdio-common/putw.c: Likewise.
36905         * stdio-common/scanf.c: Likewise.
36906         * stdio-common/sprintf.c: Likewise.
36907         * stdio-common/tmpfile.c: Likewise.
36908         * stdio-common/vfprintf.c: Likewise.
36909         * stdio-common/vfscanf.c: Likewise.
36910         * stdlib/strfmon_l.c: Likewise.
36911         * sunrpc/openchild.c: Likewise.
36912         * sunrpc/xdr_stdio.c: Likewise.
36913         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36914         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36916 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36918         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36920         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36921         in the third column, to generate for the shared library an IFUNC
36922         that uses _dl_vdso_vsym.
36923         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36924         * Makeconfig (object-suffixes-noshared): New variable.
36926         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36927         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36928         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36929         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36931         [BZ #14132]
36932         * include/sys/time.h (__gettimeofday): Remove macro.
36933         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36934         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36935         Remove INTDEF.
36936         (__gettimeofday): Add libc_hidden_def.
36937         (gettimeofday): Add libc_hidden_weak.
36938         * sysdeps/mach/gettimeofday.c: Likewise.
36939         * sysdeps/posix/gettimeofday.c: Likewise.
36940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36941         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36943         (__gettimeofday_internal): Remove strong_alias.
36944         (__gettimeofday): Add libc_hidden_def.
36945         (gettimeofday): Add libc_hidden_weak.
36946         * sysdeps/unix/syscalls.list (gettimeofday):
36947         Remove __gettimeofday_internal alias.
36949 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36950             H.J. Lu  <hongjiu.lu@intel.com>
36952         [BZ #12495]
36953         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36954         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36955         (largebin_index_32_big): New.
36956         (largebin_index): Use it for 16-byte alignment.
36957         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36958         correction with front_misalign.
36960 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36964         Likewise.
36965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36966         Likewise.
36967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36968         Likewise.
36969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36970         Likewise.
36971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36972         Likewise.
36973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36974         Likewise.
36975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36976         Likewise.
36977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36978         Likewise.
36979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36980         Likewise.
36981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36982         Likewise.
36983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36984         Likewise.
36985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36986         Likewise.
36988         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36989         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36991 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36993         [BZ #10846]
36994         [BZ #14036]
36995         * math/libm-test.inc (exp_test): Add test from bug 14036.
36996         (pow_test): Add test from bug 10846.
36998         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36999         and other flags.
37000         (special_function): Do not include flags in test name.
37001         (parse_args): Likewise.
37002         * sysdeps/i386/fpu/libm-test-ulps: Update.
37003         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37005         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37008         * math/gen-libm-test.pl (%beautify): Add entries for underflow
37009         exceptions.
37010         * math/libm-test.inc ("Philosophy"): Update comment about
37011         exception testing.
37012         (UNDERFLOW_EXCEPTION): New macro.
37013         (UNDERFLOW_EXCEPTION_OK): Likewise.
37014         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37015         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37016         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37017         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37018         (INVALID_EXCEPTION_OK): Update value.
37019         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37020         (OVERFLOW_EXCEPTION_OK): Likewise.
37021         (IGNORE_ZERO_INF_SIGN): Likewise.
37022         (test_exceptions): Handle underflow exceptions.
37023         (acos_test): Update for underflow exception expectations.
37024         (cexp_test): Likewise.
37025         (clog_test): Likewise.
37026         (clog10_test): Likewise.
37027         (csqrt_test): Likewise.
37028         (ctan_test): Likewise.
37029         (ctanh_test): Likewise.
37030         (exp_test): Likewise.
37031         (exp10_test): Likewise.
37032         (exp2_test): Likewise.
37033         (expm1_test): Likewise.
37034         (fma_test): Likewise.
37035         (j0_test): Likewise.
37036         (jn_test): Likewise.
37037         (nexttoward_test): Likewise.
37038         (pow_test): Likewise.
37039         (scalbn_test): Likewise.
37040         (scalbln_test): Likewise.
37041         (tan_test): Likewise.
37042         (y1_test): Likewise.
37043         * sysdeps/i386/fpu/libm-test-ulps: Update.
37044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37046 2012-05-23  David S. Miller  <davem@davemloft.net>
37048         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37049         (__libc_sigaction): Remove unused local variables.
37051 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37053         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37055 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
37057         mktime: avoid signed integer overflow
37058         * time/mktime.c (__mktime_internal): Do not mishandle the case
37059         where diff == INT_MIN.
37061         mktime: simplify computation of average
37062         * time/mktime.c (ranged_convert): Use new time_t_avg function
37063         instead of rolling our own (probably-slower) code.
37065         mktime: do not assume signed right shift propagates sign bit
37066         * time/mktime.c (isdst_differ): New static function.
37067         (__mktime_internal): No need to normalize tm_isdst now.
37068         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37069         tm_isdst values.
37071         mktime: merge another wrapv change from gnulib
37072         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37073         from some compilers.
37075         mktime: remove incorrect attempt at unusual arithmetics
37076         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37077         The code didn't really work on such machines anyway.
37078         (TYPE_MINIMUM): Assume two's complement.
37079         (twos_complement_arithmetic): Verify that long_int and time_t
37080         are two's complement (or unsigned, in the latter case).
37082         mktime: check signed shifts on long_int and time_t, too
37083         * time/mktime.c (SHR): Check that shifts work as desired
37084         on the types long_int and time_t too, as SHR is used on
37085         such types.
37087         mktime: do not assume 'long' is wide enough
37088         * time/mktime.c (verify): Move decl up.
37089         (long_int): New type.
37090         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37091         to remove assumption in the code that 'long' is wide enough to
37092         store year values.  This assumption is not true on x32 and on
37093         some non-glibc platforms.
37095         mktime: merge wrapv change from gnulib
37096         * time/mktime.c (WRAPV): New macro.
37097         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37098         (guess_time_tm, __mktime_internal): Do not assume that signed
37099         integer overflow wraps around; modern compilers generate code
37100         where this assumption is no longer valid.
37102 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37104         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37105         Replace "jmp L(pseudo_end)" with "ret".
37106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37107         Likewise.
37109 2012-05-23  Andreas Jaeger  <aj@suse.de>
37111         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37112         * sysdeps/unix/sysv/linux/poll.c: Remove file.
37114 2012-05-23  Andreas Jaeger  <aj@suse.de>
37115             Maximilian Attems  <max@stro.at>
37117         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37118         New macros.
37120 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
37122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37123         code so that pseudo_end is just ret and the stack pointer is
37124         correct also for static library in error case.
37126 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
37128         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37129         move to syscalls.list.
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37135         * manual/install.texi (Running make install): Do not mention Linux
37136         kernel version for which pt_chown is not needed.
37137         (Linux): Do not mention problems with nscd with 2.0 kernels.
37138         * INSTALL: Regenerated.
37140 2012-05-23  Andreas Jaeger  <aj@suse.de>
37142         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37143         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37144         macro.
37145         * sysdeps/unix/sysv/linux/s390/bits/mman.h
37146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37147         * sysdeps/unix/sysv/linux/sh/bits/mman.h
37148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37149         * sysdeps/unix/sysv/linux/i386/bits/mman.h
37150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37151         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37153         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37154         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37155         * sysdeps/unix/sysv/linux/bits/in.h
37156         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37158 2012-05-22  Roland McGrath  <roland@hack.frob.com>
37160         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37161         (PREPARE_VERSION): Just use assert instead, it will be elided
37162         under [NDEBUG] anyway.
37164 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37166         * sysdeps/unix/sysv/linux/Makefile: Include
37167         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37168         (sysdep_routines): Remove sysctl.
37169         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37170         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37171         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37172         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37173         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37175 2012-05-22  Andreas Jaeger  <aj@suse.de>
37177         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37178         that pseudo_end is just ret and the stack pointer is correct also
37179         for static library in error case.
37181 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37183         [BZ #14122]
37184         * nss/nsswitch.c (defconfig_entries): New variable.
37185         (__nss_database_lookup): Don't leak defconfig entries.
37186         (nss_parse_service_list): Don't leak on error paths.
37187         (free_database_entries): New function.
37188         (free_defconfig): New function.
37189         (free_mem): Move common code to free_database_entries.
37191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37193         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37194         Add arch_prctl.
37195         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37197         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37198         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37200         New macro.
37201         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37202         (INTERNAL_SYSCALL_TYPES): Likewise.
37203         (LOAD_ARGS_TYPES_[1-6]): Likewise.
37204         (LOAD_REGS_TYPES_[1-6]): Likewise.
37205         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37206         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37208 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37210         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37211         copysignl for GLIBC_2_0.
37212         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37213         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37215         logbl for GLIBC_2_0.
37216         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37217         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37219 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37221         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37222         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37224         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37225         Use "neg %eax".
37227         * time/mktime.c: Update copyright years.
37229 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37231         mktime: merge comment-quoting-style change from gnulib
37232         * time/mktime.c: Quote 'like this' in comments.
37233         The GNU coding standards suggest that we no longer quote `like this',
37234         as "`" and "'" are typically rendered asymmetrically nowadays.
37235         The typical gnulib style is to quote 'like this' when quoting
37236         code, and "like this" when quoting English.
37238         * time/mktime.c (compile-command): Add "-I.".
37240         mktime: merge mktime-internal.h change from gnulib
37241         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37243         mktime: merge time_r change from gnulib
37244         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37246         mktime: merge DEBUG change from gnulib
37247         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37248         case system <time.h> has a #define.
37250         mktime: merge <sys/types.h> change from gnulib
37251         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37252         since <time.t> is now guaranteed to define time_t.
37254         mktime: merge HAVE_CONFIG_H change from gnulib
37255         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37257 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37260         Use "neg %eax".
37262         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37263         __rlim_t cast.
37264         (struct rusage): Use anonymous union to pad each field to
37265         __syscall_slong_t.
37267 2012-05-21  David S. Miller  <davem@davemloft.net>
37269         * Makefules (o-iterator): Remove .s cases.
37270         (compile-command.s): Delete.
37271         (COMPILE.s): Delete.
37272         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37274 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
37276         * configure.in (libc_cv_predef_stack_protector): Only consider
37277         "foobar" and "__stack_chk_fail" lines in libc_undefs.
37278         * configure: Regenerated.
37280 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37283         New macro.  Use R*LP on int and pointer.
37284         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37285         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37286         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37287         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37289         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37290         [__WORDSIZE_TIME64_COMPAT32] instead of
37291         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37292         (struct utmp): Likewise.
37293         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37294         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37295         Renamed to ...
37296         (__WORDSIZE_TIME64_COMPAT32): This.
37297         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37298         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37299         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37300         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37301         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37302         (__WORDSIZE_TIME64_COMPAT32): New macro.
37304 2012-05-21  Andreas Jaeger  <aj@suse.de>
37306         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37307         only if [SHARED]. Add prototype for __wcschr_ia32.
37309 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37311         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37312         of %rbp unmolested in the jmp_buf while mangling the low bits.
37313         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37314         unmolested high bits of %rbp while demangling the low bits.
37315         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37317 2012-05-21  Andreas Jaeger  <aj@suse.de>
37319         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37320         * sunrpc/svc_simple.c: Use it for registerrpc.
37321         * sunrpc/xcrypt.c: Use it for passwd2des.
37323         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37325 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37327         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37328         Don't define if [__SYSCALL_WORDSIZE != 32].
37329         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37330         New macro.
37332 2012-05-21  Bruno Haible  <bruno@clisp.org>
37333             Andreas Jaeger  <aj@suse.de>
37335         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37336         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37337         inptr and inend for must_buffer_ch.
37338         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37339         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37340         * stdio-common/Makefile (tests): Remove bug15.
37341         (bug15-ENV): Remove macro.
37342         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37343         anymore.
37345 2012-05-19  Andreas Jaeger  <aj@suse.de>
37346             Roland McGrath  <roland@hack.frob.com>
37348         * manual/contrib.texi: Completely rewritten. It contains now an
37349         alphabetical list of contributors and their contributions.
37351 2012-05-21  Richard Henderson  <rth@twiddle.net>
37353         * misc/getauxval.c (__getauxval): Use unsigned long int.
37354         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37355         (getauxval): Use unsigned long int.
37357 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37359         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37361 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37363         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37364         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37365         __alignof__ (long double).
37367 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37371 2012-05-20  Richard Henderson  <rth@twiddle.net>
37373         * misc/getauxval.c: New file.
37374         * misc/sys/auxv.h: New file.
37375         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37376         (routines): Add getauxval.
37377         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37378         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37379         * elf/dl-sysdep.c (_dl_auxv): Remove.
37380         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37381         * elf/dl-support.c (_dl_auxv): New variable.
37382         (_dl_aux_init): Initialize it.
37383         * manual/startup.texi (Auxiliary Vector): New node.
37384         * sysdeps/generic/bits/hwcap.h: New file.
37385         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37386         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37387         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37388         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37389         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37390         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37392         Update.
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37402 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37406 2012-05-19  David S. Miller  <davem@davemloft.net>
37408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37410 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37412         [BZ #14123]
37413         * math/s_ccosh.c: Include <float.h>
37414         (__ccosh): Avoid internal overflow calculating sinh and cosh
37415         values before multiplying by sin and cos values.
37416         * math/s_ccoshf.c: Likewise.
37417         * math/s_ccoshl.c: Likewise.
37418         * math/s_csin.c: Likewise.
37419         * math/s_csinf.c: Likewise.
37420         * math/s_csinl.c: Likewise.
37421         * math/s_csinh.c: Likewise.
37422         * math/s_csinhf.c: Likewise.
37423         * math/s_csinhl.c: Likewise.
37424         * math/libm-test.inc (ccos_test): Add more tests.
37425         (ccosh_test): Likewise.
37426         (csin_test): Likewise.
37427         (csinh_test): Likewise.
37428         * sysdeps/i386/fpu/libm-test-ulps: Update.
37429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37431 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37433         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37434         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37436         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37438 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37440         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37441         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37442         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37443         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37444         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37445         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37446         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37447         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37448         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37449         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37450         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37451         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37452         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37453         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37454         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37455         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37456         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37457         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37458         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37459         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37460         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37461         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37462         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37463         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37464         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37465         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37466         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37467         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37468         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37469         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37470         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37472 2012-05-18  Andreas Jaeger  <aj@suse.de>
37474         * csu/.gitignore: Delete.
37476 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37478         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37479         (timex): Use __syscall_slong_t.
37481 2012-05-18  Andreas Jaeger  <aj@suse.de>
37482             Carlos O'Donell  <carlos_odonell@mentor.com>
37484         * manual/install.texi (Configuring and compiling): Update
37485         description about files modified in the source directory.
37486         * INSTALL: Regenerated.
37488 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37490         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37491         value.  Use "or" to set return value to -1.
37492         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37493         negate return value.
37495 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37497         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37498         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37499         failure if the compiler has Graphite support disabled.
37500         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37501         Likewise.
37502         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37503         (CFLAGS-memmove.c): Likewise.
37504         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37505         Likewise.
37507 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37509         * sysdeps/x86_64/x32/_itoa.h: New file.
37511         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37512         getdents system call only if kernel and user dirents have the
37513         same d_ino and d_off.
37515         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37516         LLONG_MAX != LONG_MAX.
37517         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37518         (_fitoa_word): Likewise.
37520         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37521         years.
37522         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37523         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37526         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37527         include <bits/wordsize.h>.  Check __x86_64__ instead of
37528         __WORDSIZE.
37529         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37530         if __x86_64__ is defined.  Use anonymous union on fpstate.
37532         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37533         anonymous union.
37535 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37537         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37538         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37539         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37540         Refer to _rtld_local_ro instead of _rtld_global_ro.
37541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37542         Likewise.
37543         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37544         Likewise.
37545         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37546         Likewise.
37547         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37548         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37549         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37551         * sysdeps/powerpc/powerpc32/dl-machine.c
37552         (__elf_machine_runtime_setup) [PROF]: Don't reference
37553         _dl_prof_resolve.
37555 2012-05-18  Andreas Jaeger  <aj@suse.de>
37557         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37558         function only available for GCCs before 3.4 since GCC 3.4
37559         introduced a builtin.
37560         (lrint): Likewise.
37561         (llrintf): Likewise.
37562         (llrint): Likewise.
37563         (fmaxf): Likewise.
37564         (fmax): Likewise.
37565         (fminf): Likewise.
37566         (fmin): Likewise.
37567         (rint): Likewise.
37568         (rintf): Likewise.
37569         (nearbyint): Likewise.
37570         (nearbyintf): Likewise.
37571         (ceil): Likewise.
37572         (ceilf): Likewise.
37573         (floor): Likewise.
37574         (floorf): Likewise.
37576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37578         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37579         on both fields and cast pointer to __syscall_ulong_t.
37581         * bits/types.h (__fsword_t): New type.
37582         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37583         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37585         (__FSWORD_T_TYPE): Likewise.
37586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37587         (__FSWORD_T_TYPE): Likewise.
37588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37589         (__FSWORD_T_TYPE): Likewise.
37590         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37591         (__FSWORD_T_TYPE): Likewise.
37592         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37593         __SWORD_TYPE with __fsword_t.
37594         (statfs64): Likewise.
37596 2012-05-17  David S. Miller  <davem@davemloft.net>
37598         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37600 2012-05-17  Andreas Jaeger  <aj@suse.de>
37602         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37603         warning.
37605 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37607         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37609 2012-05-17  Andreas Jaeger  <aj@suse.de>
37611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37612         when it is used.
37614 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37616         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37618 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37620         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37621         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37623 2012-05-17  Andreas Jaeger  <aj@suse.de>
37624             Carlos O'Donell  <carlos_odonell@mentor.com>
37626         [BZ #14059]
37627         * sysdeps/x86_64/multiarch/init-arch.h
37628         (bit_YMM_Usable): Rename to...
37629         (bit_AVX_Usable): ... this.
37630         (bit_FMA4_Usable): New macro.
37631         (bit_XMM_state): New macro.
37632         (bit_YMM_state): New macro.
37633         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37634         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37635         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37636         (CPUID_OSXSAVE): New macro.
37637         (CPUID_AVX): New macro.
37638         (CPUID_FMA4): New macro.
37639         (index_YMM_Usable): Rename to...
37640         (index_AVX_Usable): ... this.
37641         (HAS_AVX): Use HAS_ARCH_FEATURE.
37642         (HAS_FMA4): Likewise.
37643         (HAS_YMM_USABLE): Remove.
37644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37645         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37646         are present.
37647         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37648         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37649         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37650         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37651         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37653 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37655         * math/libm-test.c: Support platforms without multiple rounding modes.
37656         * math/bug-nextafter.c: Support platforms without FP exceptions.
37657         * math/bug-nexttoward.c: Likewise.
37658         * math/test-fenv.c: Likewise.
37659         * math/test-misc.c: Likewise.
37660         * stdlib/bug-getcontext.c: Likewise.
37662 2012-05-17  Andreas Jaeger  <aj@suse.de>
37664         * manual/examples/search.c (critter_cmp): Change signature to
37665         avoid warnings.
37666         * manual/string.texi (Collation Functions): Likewise.
37668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37670         * bits/types.h: Fold copyright years.
37671         * bits/typesizes.h: Likewise.
37672         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37675         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37676         * time/time.h: Likewise.
37678 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37680         [BZ #208]
37681         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37682         in instead of returning them.  Return void.
37683         (__libc_mallinfo): Accumulate over all arenas.
37684         (__malloc_stats): Adjust for change in int_mallinfo interface.
37686 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37688         [BZ #10375]
37689         * configure.in (NM): Add AC_CHECK_TOOL for it.
37690         (libc_extra_cflags): New substituted variable.
37691         Check for -fstack-protector being used implicitly.
37692         * configure: Regenerated.
37693         * config.make.in (config-extra-cflags): New variable,
37694         gets @libc_extra_cflags@.
37695         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37697         [BZ #10375]
37698         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37699         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37700         * configure: Regenerated.
37701         * config.make.in (CPPUNDEFS): New substituted variable.
37702         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37703         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37704         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37708         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37709         (mq_attr): Use __syscall_slong_t.
37711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37713         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37714         Check __x86_64__ instead of __WORDSIZE.
37715         (_STAT_VER_LINUX): Likewise.
37716         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37717         __syscall_ulong_t and __syscall_slong_t.
37718         (stat64): Likewise.
37720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37722         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37726         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37728 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37730         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37731         __syscall_ulong_t.
37733         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37734         include <bits/wordsize.h>.  Check __x86_64__ instead of
37735         __WORDSIZE.
37736         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37737         defined.
37738         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37741         include <bits/wordsize.h>.  Check __x86_64__ instead of
37742         __WORDSIZE.
37743         (user_regs_struct): Use "__extension__ unsigned long long"
37744         instead of "unsigned long" if __x86_64__ is defined.
37745         (user): Likewise.  Pad after pointer field if __ILP32__ is
37746         defined.
37748 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37750         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37751         versions 5 to 9.
37752         * configure: Regenerated.
37753         * manual/install.texi (texinfo): Increase version requirement to
37754         4.5 or later.
37755         * INSTALL: Regenerated.
37757         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37761         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37763         * sysdeps/x86_64/x32/ffs.c: New file.
37765         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37766         __syscall_ulong_t.
37767         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37768         defined.  Use __syscall_ulong_t.
37769         (shminfo): Use __syscall_ulong_t.
37770         (shm_info): Likewise.
37772         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37773         __syscall_ulong_t.
37775         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37776         <bits/wordsize.h>.
37777         (msgqnum_t): Use __syscall_ulong_t.
37778         (msglen_t): Likewise.
37779         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37780         __syscall_ulong_t.
37782         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37783         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37785         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37787         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37788         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37790         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37791         __syscall_slong_t.
37793         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37794         include <bits/wordsize.h>.  Check __x86_64__ instead of
37795         __WORDSIZE.
37797         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37798         "unsigned long long int" if __x86_64__ is defined.
37799         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37801         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37802         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37803         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37805         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37806         <stdint.h>.
37807         (GET_PC): Cast to uintptr_t first.
37808         (GET_FRAME): Likewise.
37809         (GET_STACK): Likewise.
37811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37812         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37813         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37814         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37815         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37816         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37817         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37818         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37819         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37821         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37823         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37825         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37827         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37829         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37831         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37833         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37835         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37837         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37839         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37841 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37843         * Makerules (+depfiles): Also collect depfiles from .oS in
37844         $(extra-objs).
37845         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37846         .oS, $(libnldbl-routines)).
37848         * Makerules (native-compile-mkdep-flags): Define.
37849         * sunrpc/Makefile (extra-objs): Add $(addprefix
37850         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37851         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37852         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37853         calling $(make-target-directory).
37855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37857         * bits/types.h (__snseconds_t): Removed.
37858         * time/time.h (struct timespec): Replace __snseconds_t with
37859         __syscall_slong_t.
37860         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37861         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37862         Likewise.
37863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37864         (__SNSECONDS_T_TYPE): Likewise.
37865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37866         (__SNSECONDS_T_TYPE): Likewise.
37867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37868         (__SNSECONDS_T_TYPE): Likewise.
37870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37872         * sysdeps/mach/hurd/bits/typesizes.h
37873         (__SYSCALL_SLONG_TYPE): New macro.
37874         (__SYSCALL_ULONG_TYPE): Likewise.
37876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37878         * bits/types.h (__syscall_slong_t): New type.
37879         (__syscall_ulong_t): Likewise.
37881         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37882         (__SYSCALL_ULONG_TYPE): Likewise.
37883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37884         (__SYSCALL_SLONG_TYPE): Likewise.
37885         (__SYSCALL_ULONG_TYPE): Likewise.
37886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37887         (__SYSCALL_SLONG_TYPE): Likewise.
37888         (__SYSCALL_ULONG_TYPE): Likewise.
37889         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37890         (__SYSCALL_SLONG_TYPE): Likewise.
37891         (__SYSCALL_ULONG_TYPE): Likewise.
37893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37895         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37896         Add sigaltstack-offsets.sym.
37897         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37898         <sigaltstack-offsets.h>.
37899         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37900         longjmp_msg pointer.
37901         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37902         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37903         signal stack.
37904         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37906 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37908         * elf/stackguard-macros.h: Remove file.
37909         * sysdeps/generic/stackguard-macros.h: New file.
37910         * sysdeps/i386/stackguard-macros.h: Likewise.
37911         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37912         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37913         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37914         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37915         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37916         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37917         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37918         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37919         <elf/stackguard-macros.h>.
37921         [BZ #14109]
37922         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37923         __aligned__ in attribute.
37924         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37925         (gregset_t): Likewise.
37927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37929         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37930         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37931         * sysdeps/x86_64/x32/Implies-after: New file.
37933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37935         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37936         and access return value for _dl_profile_fixup.  Use R10_LP to
37937         load frame size.
37939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37941         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37945         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37946         * sysdeps/x86_64/x32/sysdep.h: New file.
37948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37950         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37951         * sysdeps/x86_64/setjmp.S: Likewise.
37953 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37956         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37957         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37958         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37959         remove unused global constant.
37961 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37963         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37964         include of <not-cancel.h>.
37966 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37968         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37970 2012-05-15  Jeff Law  <law@redhat.com>
37971             Andreas Jaeger  <aj@suse.de>
37973         [BZ #13594]
37974         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37975         out from...
37976         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37977         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37978         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37979         code changing __hst_map_handle.map.
37981 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37983         * configure.in (sysnames): Look for Implies-before and Implies-after
37984         files.
37985         * configure: Regenerated.
37987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37989         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37990         8-byte data alignment with LP_SIZE alignment.
37992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37994         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37995         into R10_LP.
37997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37999         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38003         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38004         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38005         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38006         Likewise.
38007         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38011         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38012         (stackinfo_sub_sp): Likewise.
38014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38016         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38017         RAX_LP.
38019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38022         into R*_LP.
38024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38027         sizes into R*_LP.
38029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38031         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38035         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38036         into R11_LP and load __x86_64_shared_cache_size_half into
38037         R8_LP.
38039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38041         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38042         R8_LP.
38044 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38047         logb for POWER7.
38048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38049         logbf for POWER7.
38050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38051         logbl for POWER7.
38052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38053         powerpc32/power7/fpu/s_logb.c via #include.
38054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38055         powerpc32/power7/fpu/s_logbf.c via #include.
38056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38057         powerpc32/power7/fpu/s_logbl.c via #include.
38059 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38061         * README.libm: Remove file.
38063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38065         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38066         count for x32.  Use R*_LP and omit operand-size suffix.
38068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38070         * shlib-versions: Move x86_64-.*-linux.* entries to ...
38071         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
38072         * sysdeps/x86_64/x32/shlib-versions: New file.
38074 2012-05-14  Roland McGrath  <roland@hack.frob.com>
38076         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38077         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38078         Use _dl_fatal_printf instead.
38080 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38082         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38083         set if not set by the user.  Do not allow for being unset.
38084         * sysdeps/unix/sysv/linux/configure: Regenerated.
38086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38088         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38089         the `q' suffix from lea and replace .quad with ASM_ADDR.
38091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38094         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
38095         instead of $17.
38096         (PTR_DEMANGLE): Likewise.
38098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38100         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38101         (LP_OP): Likewise.
38102         (ASM_ADDR): Likewise.
38103         (RAX_LP): Likewise.
38104         (RBP_LP): Likewise.
38105         (RBX_LP): Likewise.
38106         (RCX_LP): Likewise.
38107         (RDI_LP): Likewise.
38108         (RSI_LP): Likewise.
38109         (RSP_LP): Likewise.
38110         (R8_LP): Likewise.
38111         (R9_LP): Likewise.
38112         (R10_LP): Likewise.
38113         (R10_LP): Likewise.
38114         (R11_LP): Likewise.
38115         (R12_LP): Likewise.
38116         (R13_LP): Likewise.
38117         (R14_LP): Likewise.
38118         (R15_LP): Likewise.
38120 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38122         * sysdeps/x86_64/x32/dl-machine.h: New file.
38124 2012-05-14  Andreas Jaeger  <aj@suse.de>
38126         * manual/Makefile (subdir): Remove export of subdir.
38127         (all): Remove target.
38128         (.PHONY): Remove all from list.
38129         (mkinstalldirs): Remove.
38130         (.PHONY): Remove installdirs from list.
38131         ($(inst_infodir)/libc.info): Use make-target-directory.
38132         (installdirs): Remove.
38133         (subdir_%): Remove.
38134         (glibc-targets): Remove.
38135         (lib): Remove.
38136         (stubs): Remove.
38137         ($(objpfx)stubs ../po/manual.pot): Remove.
38138         ($(objpfx)stamp%): Remove.
38139         (make-target-directory): Remove.
38140         (subdir_install): Remove.
38141         (routines): Remove.
38142         (aux): Remove.
38143         (sources): Remove.
38144         (objects): Remove.
38145         (headers): Remove.
38147         [BZ #13750]
38148         * manual/.gitignore: Remove, it's not needed anymore.
38149         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38150         all files in it.
38151         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38152         directory.
38153         (texis): Renamed to $(objpfx)texis.
38154         (texis-path): New, contains path to generated files.
38155         (chapters.%): Use texis-path for complete path, add extra argument
38156         libc-texinfo.sh.
38157         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38158         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38159         (summary,texi, stamp-summary): Use complete path of
38160         files. Generate files in build dir.
38161         (dir-add.texi): Build in build dir.
38162         (libm-err.texi,stamp-libm-err): Likewise.
38163         (version.texi, stamp-version): Likewise.
38164         (.%c.texi): Likewise.
38165         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38166         (mostlyclean): Remove target.
38167         (realclean): Remove target.
38168         (generated): Add new variable with contents from mostlyclean and
38169         realclean, remove entries duplicated in common-mostlyclean, add
38170         stamp-libm-err and stamp-version.
38171         (generated-dirs): Add libc directory.
38172         ($(inst_infodir)/libc.info): Install files from build dir.
38174         * manual/install.texi (Configuring and compiling): Adjust since
38175         the info files are not part of the tar ball anymore.
38177 2012-05-14  Andreas Jaeger  <aj@suse.de>
38179         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38180         variable.
38182 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
38184         [BZ #13717]
38185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38186         to 2.2.0 where earlier.
38187         * sysdeps/unix/sysv/linux/configure: Regenerated.
38188         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38189         Remove conditional code.
38190         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38191         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38192         Remove conditional code.
38193         [!__NR_lchown]: Likewise.
38194         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38195         [__NR_lchown]: Likewise.
38196         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38197         comment referencing __ASSUME_LCHOWN_SYSCALL.
38198         * sysdeps/unix/sysv/linux/i386/sigaction.c
38199         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38200         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38201         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38202         Remove conditional code.
38203         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38204         (__protocol_available): Remove #if 0 code.
38205         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38206         conditional code.
38207         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38208         * sysdeps/unix/sysv/linux/kernel-features.h
38209         (__ASSUME_GETCWD_SYSCALL): Don't define.
38210         (__ASSUME_REALTIME_SIGNALS): Likewise.
38211         (__ASSUME_PREAD_SYSCALL): Likewise.
38212         (__ASSUME_PWRITE_SYSCALL): Likewise.
38213         (__ASSUME_POLL_SYSCALL): Likewise.
38214         (__ASSUME_LCHOWN_SYSCALL): Likewise.
38215         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38216         non-SPARC.
38217         (__ASSUME_SIOCGIFNAME): Don't define.
38218         (__ASSUME_MSG_NOSIGNAL): Likewise.
38219         (__ASSUME_SENDFILE): Define unconditionally.
38220         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38221         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38222         conditional code.
38223         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38224         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38225         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38226         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38227         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38228         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38229         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38231         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38234         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38243         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38246         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38252         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38254         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38255         Remove conditional code.
38256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38257         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38258         Remove conditional code.
38259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38260         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38261         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38262         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38263         Remove conditional code.
38264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38265         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38266         Remove conditional code.
38267         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38268         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38269         Remove conditional code.
38270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38271         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38272         Remove conditional code.
38273         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38274         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38275         Remove conditional code.
38276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38277         * sysdeps/unix/sysv/linux/sh/pwrite64.c
38278         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38279         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38280         * sysdeps/unix/sysv/linux/sigaction.c
38281         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38282         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38283         * sysdeps/unix/sysv/linux/sigpending.c
38284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38286         * sysdeps/unix/sysv/linux/sigprocmask.c
38287         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38288         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38289         * sysdeps/unix/sysv/linux/sigsuspend.c
38290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38292         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38293         (__libc_missing_rt_sigs): Remove.
38294         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38295         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38296         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38297         Remove conditional code.
38298         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38299         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38300         return 1.
38301         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38302         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38303         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38304         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38306 2012-05-14  Andreas Jaeger  <aj@suse.de>
38308         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38309         it's not used in glibc.
38310         (__coshm1): Likewise.
38311         (__acosh1p): Likewise.
38312         (__sgn): Likewise.
38314         * manual/string.texi (Copying and Concatenation): Add missing
38315         variable in concat example.
38316         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38320         [BZ #14103]
38321         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38322         __builtin_clzl with __builtin_clzll.
38324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38326         [BZ #14104]
38327         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38328         libc_freeres_ptr.
38330 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38332         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38333         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38334         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38335         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38337 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38339         * NEWS: Update ia64 info.
38341 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38343         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38344         used as bcopy.
38346 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38348         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38349         * sysdeps/unix/syscalls.list (dup3): Likewise.
38350         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38351         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38353 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38355         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38356         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38358 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38360         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38361         thread pointer.
38362         (TLS_IE): Use mov/add instead of movq/addq to load thread
38363         pointer.
38364         (TLS_GD_PREFIX): New.
38365         (TLS_GD): Use it.
38367 2012-05-11  David S. Miller  <davem@davemloft.net>
38369         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38370         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38371         (_FPU_SETCW): Likewise.
38373 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38375         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38376         is 32-byte aligned.
38378 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38380         [BZ #11837]
38381         * iconvdata/gb18030.c: Update tables.
38382         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38383         characters specially.
38384         (BODY for TO_LOOP): Add encoding of missing ranges.
38386 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38388         [BZ #13673]
38389         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38390         * sysdeps/mach/hurd/dup3.c: Likewise.
38391         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38392         * sysdeps/powerpc/memmove.c:: Likewise.
38394 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38396         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38397         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38399 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38401         * elf/elf.h (R_X86_64_RELATIVE64): New.
38402         (R_X86_64_NUM): Updated.
38403         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38404         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38405         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38406         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38407         tst-quad1pie tst-quad2pie
38408         (modules-names): Add tst-quadmod1 tst-quadmod2.
38409         ($(objpfx)tst-quad1): New dependency.
38410         ($(objpfx)tst-quad2): Likewise.
38411         ($(objpfx)tst-quad1pie): Likewise.
38412         ($(objpfx)tst-quad2pie): Likewise.
38413         * sysdeps/x86_64/tst-quad1.c: New file.
38414         * sysdeps/x86_64/tst-quad1pie.c: New file.
38415         * sysdeps/x86_64/tst-quad2.c: Likewise.
38416         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38417         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38418         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38419         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38420         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38424         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38425         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38426         * streams/stropts.h (t_scalar_t): Define type.
38428         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38429         (_PATH_PRESERVE): Set to "/var/lib".
38430         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38432         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38433         instead of int.
38435         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38436         if __dir_mkfile succeeded.
38438         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38439         checking for _hurd_dtablesize.  Unlock it right after having
38440         finished _hurd_dtable allocation.
38442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38444         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38445         * sysdeps/mach/hurd/configure: Regenerated.
38446         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38447         special-casing to...
38448         * sysdeps/gnu/configure.in: ... this new file.
38449         * sysdeps/unix/sysv/linux/configure: Regenerated.
38450         * sysdeps/gnu/configure: New generated file.
38452         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38453         for Linux: use nsec instead of usec, as well as:
38454         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38455         members of type struct timespec.
38456         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38457         New macros.
38458         (struct stat64): Likewise.
38459         (_STATBUF_ST_NSEC): New macro.
38460         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38462         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38463         __strtoul_internal rather than strtoul.
38465 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38467         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38468         and reject them.
38470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38472         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38473         which preserves existing values.
38474         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38478         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38479         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38480         greater than FD_SETSIZE.
38482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38484         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38485         allocated, call __vm_protect to finish enabling the existing space, and
38486         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38487         allocate the remainder.
38489 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38491         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38492         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38496         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38497         sysdeps/mach/hurd/readlink.c.
38499         * posix/tst-sysconf.c (posix_options): Only use
38500         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38501         _POSIX_SYNCHRONIZED_IO when they are defined
38502         * sysdeps/mach/hurd/bits/posix_opt.h:
38503         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38504         (_XOPEN_REALTIME): Undefine macro.
38505         (_XOPEN_REALTIME_THREADS): Undefine macro.
38506         (_XOPEN_SHM): Undefine macro.
38507         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38508         macro to -1.
38509         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38510         macro to -1.
38511         (_POSIX_ASYNC_IO): Undefine macro.
38512         (_POSIX_PRIORITIZED_IO): Undefine macro.
38513         (_POSIX_SPIN_LOCKS): Define macro to -1.
38515         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38516         SA_NODEFER, SA_RESETHAND.
38517         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38518         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38519         F_DUPFD_CLOEXEC.
38521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38523         * elf/Makefile (pldd-modules): Define unconditionally.
38525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38527         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38531         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38532         Return ENOENT when name is empty.
38533         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38537         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38539         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38543         Fix mlock in all cases except non-readable pages.
38544         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38545         instead of VM_PROT_ALL as parameter to __vm_wire function.
38547         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38548         (__mkdir): When path is `/', just fail with EEXIST.
38549         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38553         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38554         <sys/uio.h> (for writev).
38555         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38556         and <sys/param.h> (for MIN).
38558 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38560         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38561         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38562         if interrupted.
38564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38566         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38567         Depend on against $(link-rpcuserlibs).
38569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38571         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38572         (__libc_stack_end): Do not use attribute_relro.
38573         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38574         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38575         to libthread-provided value.
38576         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38577         attribute_relro.
38579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38581         [BZ #3748]
38582         * bits/libc-lock.h (__libc_once_get): New macro.
38583         * sysdeps/mach/bits/libc-lock.h: Likewise.
38584         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38586         instead of using implementation details.
38588         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38589         * libio/freopen.c: Likewise.
38590         * libio/freopen64.c: Likewise.
38591         * misc/syslog.c: Likewise.
38592         * nscd/connections.c: Likewise.
38593         * nscd/netgroupcache.c: Likewise.
38594         * sysdeps/posix/getcwd.c: Likewise.
38596 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38598         * math/w_ilogbf.c: Add #include <limits.h>.
38600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38602         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38603         path instead of returning without unlocking.
38605         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38606         immediate-write ioctls.
38607         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38611         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38612         __builtin_frame_address instead of making assumptions about the
38613         location of the return address relative to DATA.  Force early load of
38614         the return address.
38615         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38616         __builtin_frame_address.
38618         dup3 for GNU Hurd.
38619         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38620         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38621         implement dup3 and do some further code clean-ups.
38622         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38627         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38629         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38630         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38631         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38632         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38633         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38634         d->port.lock.
38636         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38637         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38638         when handler == SIG_ERR, not when handler != SIG_ERR.
38640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38642         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38643         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38644         definitions.
38646         accept4 for GNU Hurd.
38647         * include/sys/socket.h (__libc_accept4): New prototype.
38648         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38649         to implement __libc_accept4.
38650         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38651         __libc_accept4.
38652         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38654         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38655         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38656         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38657         signal-defines.sym.
38659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38661         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38665         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38666         assertion on O_CLOEXEC flag.
38667         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38668         * hurd/intern-fd.c: Likewise.
38669         * hurd/port2fd.c: Likewise.
38671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38673         [BZ #3906]
38674         * bits/in.h (IPV6_PKTINFO): Define new macro.
38675         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38677 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38679         [BZ #13954]
38680         [BZ #13955]
38681         [BZ #13956]
38682         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38683         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38684         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38685         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38687         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38688         * math/libm-test.inc (logb_test) : Additional logb tests.
38690 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38691             Andreas Jaeger  <aj@suse.de>
38693         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38694         * configure: Regenerated.
38695         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38696         * config.make.in (link-obsolete-rpc): New substituted variable.
38697         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38698         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38699         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38700         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38701         so that libc.a contains the symbols.
38702         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38703         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38704         * sunrpc/auth_none.c: Likewise.
38705         * sunrpc/auth_unix.c: Likewise.
38706         * sunrpc/authdes_prot.c: Likewise.
38707         * sunrpc/authuxprot.c: Likewise.
38708         * sunrpc/clnt_gen.c: Likewise.
38709         * sunrpc/clnt_perr.c: Likewise.
38710         * sunrpc/clnt_raw.c: Likewise.
38711         * sunrpc/clnt_simp.c: Likewise.
38712         * sunrpc/clnt_tcp.c: Likewise.
38713         * sunrpc/clnt_udp.c: Likewise.
38714         * sunrpc/clnt_unix.c: Likewise.
38715         * sunrpc/des_crypt.c: Likewise.
38716         * sunrpc/des_soft.c: Likewise.
38717         * sunrpc/get_myaddr.c: Likewise.
38718         * sunrpc/key_call.c: Likewise.
38719         * sunrpc/key_prot.c: Likewise.
38720         * sunrpc/netname.c: Likewise.
38721         * sunrpc/pm_getmaps.c: Likewise.
38722         * sunrpc/pm_getport.c: Likewise.
38723         * sunrpc/pmap_clnt.c: Likewise.
38724         * sunrpc/pmap_prot.c: Likewise.
38725         * sunrpc/pmap_prot2.c: Likewise.
38726         * sunrpc/pmap_rmt.c: Likewise.
38727         * sunrpc/publickey.c: Likewise.
38728         * sunrpc/rpc_cmsg.c: Likewise.
38729         * sunrpc/rpc_common.c: Likewise.
38730         * sunrpc/rpc_dtable.c: Likewise.
38731         * sunrpc/rpc_prot.c: Likewise.
38732         * sunrpc/rpc_thread.c: Likewise.
38733         * sunrpc/rtime.c: Likewise.
38734         * sunrpc/svc.c: Likewise.
38735         * sunrpc/svc_auth.c: Likewise.
38736         * sunrpc/svc_raw.c: Likewise.
38737         * sunrpc/svc_run.c: Likewise.
38738         * sunrpc/svc_tcp.c: Likewise.
38739         * sunrpc/svc_udp.c: Likewise.
38740         * sunrpc/svc_unix.c: Likewise.
38741         * sunrpc/svcauth_des.c: Likewise.
38742         * sunrpc/xcrypt.c: Likewise.
38743         * sunrpc/xdr.c: Likewise.
38744         * sunrpc/xdr_array.c: Likewise.
38745         * sunrpc/xdr_float.c: Likewise.
38746         * sunrpc/xdr_intXX_t.c: Likewise.
38747         * sunrpc/xdr_mem.c: Likewise.
38748         * sunrpc/xdr_rec.c: Likewise.
38749         * sunrpc/xdr_ref.c: Likewise.
38750         * sunrpc/xdr_sizeof.c: Likewise.
38751         * sunrpc/xdr_stdio.c: Likewise.
38753 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38756         change.  Update copyright years.
38758 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38760         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38762 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38763             Joseph Myers  <joseph@codesourcery.com>
38764             Paul Pluzhnikov  <ppluzhnikov@google.com>
38766         [BZ #14012]
38767         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38768         requiring rpcgen.
38769         [cross-compiling] (extra-libs): Likewise.
38770         [cross-compiling] (extra-libs-others): Likewise.
38771         [cross-compiling] (librpcsvc-routines): Likewise.
38772         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38773         [cross-compiling] (omit-deps): Likewise.
38774         (sunrpc-CPPFLAGS): New variable.
38775         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38776         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38777         (cross-rpcgen-objs): New variable.
38778         (extra-objs): Append $(cross-rpcgen-objs).
38779         ($(cross-rpcgen-objs)): New rule.
38780         ($(objpfx)cross-rpcgen): Likewise.
38781         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38782         comment.
38783         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38784         ($(objpfx)x%.stmp): Likewise.
38785         * sunrpc/proto.h [IS_IN_build] (_): Define.
38786         [IS_IN_build] (_libc_intl_domainname): Likewise.
38788 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38791         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38792         and R_X86_64_TPOFF64.
38794 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38796         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38797         sysdeps/unix/sysv/syscalls.list.
38798         (stime): Likewise.
38799         (utime): Likewise.
38800         * sysdeps/unix/sysv/syscalls.list: Remove file.
38802 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38804         [BZ #3440]
38805         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38806         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38807         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38808         (__LC_IDENTIFICATION): Make these macros useful in #if
38809         expressions, as required by C99.
38811 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38813         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38814         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38815         after this.
38817 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38819         * stdlib/longlong.h: Updated from GCC.
38821 2012-05-09  Andreas Jaeger  <aj@suse.de>
38823         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38824         default is first entry.
38825         (run_mode): Set type.
38826         (main): Remove informal message about syslog.
38827         (options): Fix typo.
38829         [BZ #14053]
38830         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38831         to asm.
38832         (lrint): Likewise.
38833         (llrintf): Likewise.
38834         (llrint): Likewise.
38835         (rint): Likewise.
38836         (rintf): Likewise.
38837         (nearbyint): Likewise.
38838         (nearbyintf): Likewise.
38840 2012-05-09  Andreas Jaeger  <aj@suse.de>
38841             Pedro Alves  <palves@redhat.com>
38843         * nscd/nscd.c (run_mode): Use enum.
38844         (main): Cleanup coding style issue.
38846 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38847             Andreas Jaeger  <aj@suse.de>
38849         * nscd/nscd.c (go_background): Replaced with...
38850         (run_mode): ... this.
38851         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38852         (options): Add -F --foreground.
38853         (main): Implement it.
38854         (parse_opt): Parse it.
38856 2012-05-09  Andreas Jaeger  <aj@suse.de>
38858         [BZ #14083]
38859         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38860         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38861         -Wconversion warning.
38862         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38863         Likewise.
38865 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38867         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38868         == 0.
38869         (LC_ALL): Use macro-int-constant.
38870         (LC_COLLATE): Likewise.
38871         (LC_CTYPE): Likewise.
38872         (LC_MESSAGES): Likewise.
38873         (LC_MONETARY): Likewise.
38874         (LC_NUMERIC): Likewise.
38875         (LC_TIME): Likewise.
38876         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38877         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38878         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38879         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38880         Specify type.
38881         [C99-based standards] (float_t): Expect type.
38882         [C99-based standards] (double_t): Expect type.
38883         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38884         type.
38885         [C99-based standards] (HUGE_VALL): Likewise.
38886         [C99-based standards] (INFINITY): Likewise.
38887         [C99-based standards] (NAN): Likewise.
38888         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38889         [C99-based standards] (FP_NAN): Likewise.
38890         [C99-based standards] (FP_NORMAL): Likewise.
38891         [C99-based standards] (FP_SUBNORMAL): Likewise.
38892         [C99-based standards] (FP_ZERO): Likewise.
38893         [C99-based standards] (FP_FAST_FMA): Use
38894         optional-macro-int-constant.  Specify type.  Require == 1.
38895         [C99-based standards] (FP_FAST_FMAF): Likewise.
38896         [C99-based standards] (FP_FAST_FMAL): Likewise.
38897         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38898         [C99-based standards] (FP_ILOGBNAN): Likewise.
38899         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38900         Specify type.
38901         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38902         [C99-based standards] (math_errhandling): Specify type.
38903         [ISO99 || ISO11] (signgam): Do not allow.
38904         [non-C99-based standards] (copysignf): Do not allow.
38905         [non-C99-based standards] (exp2f): Likewise.
38906         [non-C99-based standards] (log2f): Likewise.
38907         [non-C99-based standards] (modff): Allow.
38908         [non-C99-based standards] (erff): Do not allow.
38909         [non-C99-based standards] (erfcf): Likewise.
38910         [non-C99-based standards] (gammaf): Likewise.
38911         [non-C99-based standards] (hypotf): Likewise.
38912         [non-C99-based standards] (j0f): Likewise.
38913         [non-C99-based standards] (j1f): Likewise.
38914         [non-C99-based standards] (jnf): Likewise.
38915         [non-C99-based standards] (lgammaf): Likewise.
38916         [non-C99-based standards] (tgammaf): Likewise.
38917         [non-C99-based standards] (y0f): Likewise.
38918         [non-C99-based standards] (y1f): Likewise.
38919         [non-C99-based standards] (ynf): Likewise.
38920         [non-C99-based standards] (isnanf): Likewise.
38921         [non-C99-based standards] (acoshf): Likewise.
38922         [non-C99-based standards] (asinhf): Likewise.
38923         [non-C99-based standards] (atanhf): Likewise.
38924         [non-C99-based standards] (cbrtf): Likewise.
38925         [non-C99-based standards] (expm1f): Likewise.
38926         [non-C99-based standards] (ilogbf): Likewise.
38927         [non-C99-based standards] (log1pf): Likewise.
38928         [non-C99-based standards] (logbf): Likewise.
38929         [non-C99-based standards] (nextafterf): Likewise.
38930         [non-C99-based standards] (remainderf): Likewise.
38931         [non-C99-based standards] (rintf): Likewise.
38932         [non-C99-based standards] (scalbf): Likewise.
38933         [non-C99-based standards] (copysignl): Likewise.
38934         [non-C99-based standards] (exp2l): Likewise.
38935         [non-C99-based standards] (log2l): Likewise.
38936         [non-C99-based standards] (modfl): Allow.
38937         [non-C99-based standards] (erfl): Do not allow.
38938         [non-C99-based standards] (erfcl): Likewise.
38939         [non-C99-based standards] (gammal): Likewise.
38940         [non-C99-based standards] (hypotl): Likewise.
38941         [non-C99-based standards] (j0l): Likewise.
38942         [non-C99-based standards] (j1l): Likewise.
38943         [non-C99-based standards] (jnl): Likewise.
38944         [non-C99-based standards] (lgammal): Likewise.
38945         [non-C99-based standards] (tgammal): Likewise.
38946         [non-C99-based standards] (y0l): Likewise.
38947         [non-C99-based standards] (y1l): Likewise.
38948         [non-C99-based standards] (ynl): Likewise.
38949         [non-C99-based standards] (isnanl): Likewise.
38950         [non-C99-based standards] (acoshl): Likewise.
38951         [non-C99-based standards] (asinhl): Likewise.
38952         [non-C99-based standards] (atanhl): Likewise.
38953         [non-C99-based standards] (cbrtl): Likewise.
38954         [non-C99-based standards] (expm1l): Likewise.
38955         [non-C99-based standards] (ilogbl): Likewise.
38956         [non-C99-based standards] (log1pl): Likewise.
38957         [non-C99-based standards] (logbl): Likewise.
38958         [non-C99-based standards] (nextafterl): Likewise.
38959         [non-C99-based standards] (remainderl): Likewise.
38960         [non-C99-based standards] (rintl): Likewise.
38961         [non-C99-based standards] (scalbl): Likewise.
38962         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38963         [non-C99-based standards] (FP_*): Do not allow.
38964         [C99-based standards] (FP_*): Change to
38965         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38966         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38967         allow.
38968         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38969         (SIG_ERR): Likewise.
38970         [X/Open-based standards] (SIG_HOLD): Likewise.
38971         (SIG_IGN): Likewise.
38972         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38973         positive value.
38974         (SIGFPE): Likewise.
38975         (SIGILL): Likewise.
38976         (SIGINT): Likewise.
38977         (SIGSEGV): Likewise.
38978         (SIGTER): Likewise.
38979         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38980         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38981         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38982         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38983         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38984         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38985         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38986         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38987         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38988         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38989         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38990         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38991         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38992         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38993         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38994         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38995         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38996         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38997         [X/Open-based standards] (SIGTRAP): Likewise.
38998         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38999         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39000         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39001         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39002         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39003         allow.
39005 2012-05-08  Ian Wienand  <ianw@vmware.com>
39007         [BZ #14080]
39008         * time/tzset.c (__tzset_parse_tz): Update default rules for
39009         daylight time changes in the Energy Policy Act of 2005.
39011 2012-05-09  Andreas Jaeger  <aj@suse.de>
39013         [BZ #13983]
39014         * elf/ldconfig.c (parse_conf): Change string to make clear that
39015         ldconfig only issued a warning if ld.so.conf does not exist.
39017 2012-05-08  David S. Miller  <davem@davemloft.net>
39019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39020         movxtod instead of popping the value on the stack.
39022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39024 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
39026         * config.h.in: Add HAVE_ARM_PCS_VFP.
39028 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
39030         [BZ #13979]
39031         * include/features.h: Warn if user requests __FORTIFY_SOURCE
39032         checking but the checks are disabled for any reason.
39034 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
39036         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39037         and ELF64_R_TYPE with ELFW(R_TYPE).
39039 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
39041         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39042         (ulimit): Likewise.
39044         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39045         (settimeofday): Likewise.
39047 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
39049         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
39050         a struct th_u2 inside the union, and move tu_block/tu_code into
39051         a new th_u3 union of tu_block/tu_code inside of that.  Move
39052         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
39053         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
39054         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39055         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39056         (th_stuff): Change to th_u1.tu_stuff.
39057         (th_data): Define.
39058         (th_msg): Change to th_u1.th_u2.tu_data.
39060 2012-05-07  David S. Miller  <davem@davemloft.net>
39062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39064         [BZ #14074]
39065         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39066         (SETUP_PIC_REG): Use it.
39067         (SETUP_PIC_REG_LEAF): Use it.
39069 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
39071         [BZ #13885]
39072         [BZ #13923]
39073         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39074         USE_AS_EXPM1L.
39075         (EXPL_FINITE): Likewise.
39076         (FLDLOG): Likewise.
39077         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39078         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39079         e_expl.S.
39080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39081         USE_AS_EXPM1L.
39082         (EXPL_FINITE): Likewise.
39083         (FLDLOG): Likewise.
39084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39085         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39086         e_expl.S.
39087         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
39088         test of -max_value argument for long double.
39089         * sysdeps/i386/fpu/libm-test-ulps: Update.
39090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39092 2012-05-06  David S. Miller  <davem@davemloft.net>
39094         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39095         quad soft-float symbols whose references which are compiler
39096         generated.
39097         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39099 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
39101         [BZ #13884]
39102         [BZ #13914]
39103         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39104         USE_AS_EXP10L.
39105         (EXPL_FINITE): Likewise.
39106         (FLDLOG): Likewise.
39107         (c0): Likewise.
39108         (c1): Likewise.
39109         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39110         Adjust comments for base varying.
39111         (__expl_finite): Change alias to EXPL_FINITE.
39112         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39113         e_expl.S.
39114         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39115         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39116         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39117         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39119         USE_AS_EXP10L.
39120         (EXPL_FINITE): Likewise.
39121         (FLDLOG): Likewise.
39122         (c0): Likewise.
39123         (c1): Likewise.
39124         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
39125         Adjust comments for base varying.
39126         (__expl_finite): Change alias to EXPL_FINITE.
39127         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
39128         tests for bugs.
39129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39131         [BZ #14064]
39132         * math/libm-test.inc (check_float_internal): Correct ulp
39133         calculation for subnormal expected results.
39135 2012-05-06  Andreas Jaeger  <aj@suse.de>
39137         * Makeconfig (+math-flags): New, set to -frounding-math.
39138         (+cflags): Add +math-flags so that all of glibc gets compiled with
39139         it.
39141         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39143 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
39145         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39146         Disable one test.
39148         [BZ #13787]
39149         [BZ #13922]
39150         [BZ #14036]
39151         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39152         (__ieee754_expl): Allow for and saturate large arguments.
39153         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39154         (u_threshold): Likewise.
39155         (__exp): Call __ieee754_exp before checking for overflow and
39156         underflow.
39157         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39158         (u_threshold): Likewise.
39159         (__expf): Call __ieee754_expf before checking for overflow and
39160         underflow.
39161         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39162         (u_threshold): Likewise.
39163         (__expl): Call __ieee754_expl before checking for overflow and
39164         underflow.
39165         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39166         (__ieee754_expl): Allow for and saturate large arguments.
39167         * math/libm-test.inc (exp_test): Add another test.  Do not allow
39168         missing overflow exception on overflow.
39169         (expm1_test): Do not allow missing overflow exception on overflow.
39171         * sysdeps/i386/fpu/e_expl.c: Move to ...
39172         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
39173         rather than using inline asm.
39174         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39175         * sysdeps/x86_64/fpu/e_expl.S: Copy from
39176         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39178         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39179         (nice): Likewise.
39180         (poll): Likewise.
39181         (signal): Likewise.
39182         (time): Likewise.
39183         (times): Likewise.
39185 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39187         * sysdeps/unix/syscalls.list (adjtime): Add entry from
39188         sysdeps/unix/common/syscalls.list.
39189         (fchmod): Likewise.
39190         (fchown): Likewise.
39191         (ftruncate): Likewise.
39192         (getrusage): Likewise.
39193         (gettimeofday): Likewise.
39194         (setpgid): Likewise.
39195         (setregid): Likewise.
39196         (setreuid): Likewise.
39197         (sigaction): Likewise.
39198         (truncate): Likewise.
39199         (vhangup): Likewise.
39200         * sysdeps/unix/common/syscalls.list: Remove file.
39201         * sysdeps/unix/bsd/Implies: Don't include unix/common.
39202         * sysdeps/unix/sysv/linux/Implies: Likewise.
39204 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
39206         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39208         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39209         Moved to ...
39210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39211         Here.
39212         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39213         to ...
39214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39215         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39216         to ...
39217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39218         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39219         to ...
39220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39221         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39222         to ...
39223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39224         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39225         to ...
39226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39227         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39228         to ...
39229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39230         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39231         to ...
39232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39233         Here.
39234         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39235         to ...
39236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39237         Here.
39238         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39239         to ...
39240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39241         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39242         Moved to ...
39243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39244         Here.
39245         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39246         to ...
39247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39249 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39251         * sysdeps/unix/common/bits/dirent.h: Remove file.
39252         * sysdeps/unix/common/bits/fcntl.h: Likewise.
39254         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39255         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39256         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39257         * sysdeps/unix/bsd/isatty.c: Likewise.
39258         * sysdeps/unix/bsd/tcdrain.c: Likewise.
39259         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39260         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39262 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39264         [BZ #13563]
39265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39266         long double comparison inaccuracies.
39267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39270 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
39272         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39275 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
39277         [BZ #14049]
39278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39279         nonzero digits before rounding a hex value.
39280         * stdlib/tst-strtod.c (tests): Add another test.
39282 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39284         * sysdeps/s390/fpu/libm-test-ulps: Update.
39286 2012-05-03  Andreas Jaeger  <aj@suse.de>
39288         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39289         does not get optimized out.
39290         (malloc_opt_barrier): New.
39292 2012-05-03  Andreas Jaeger  <aj@suse.de>
39293             Roland McGrath  <roland@hack.frob.com>
39295         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39296         intermediate file deletion.
39297         (generated): Add .symlist files.
39299 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39301         [BZ #13775]
39302         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39303         Redirect under this condition.
39304         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39305         [__USE_GNU] (__dprintf_chk): Not under this condition.
39306         [__USE_GNU] (__vdprintf_chk): Likewise.
39307         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39308         under this condition.
39309         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39310         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39311         [__USE_XOPEN2K8] (vdprintf): Likewise.
39312         [__USE_GNU] (__dprintf_chk): Not under this condition.
39313         [__USE_GNU] (__vdprintf_chk): Likewise.
39314         [__USE_GNU] (dprintf): Likewise.
39315         [__USE_GNU] (vdprintf): Likewise.
39317 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39319         * elf/Makefile (common-generated): Set this instead of generated for
39320         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39321         $(all-built-dso)-derived lists.
39323 2012-05-03  Andreas Jaeger  <aj@suse.de>
39325         * sysdeps/i386/fpu/libm-test-ulps: Update.
39327         * FAQ: Removed.
39328         * FAQ.in: Likewise.
39329         * scripts/gen-FAQ.pl: Likewise.
39330         * manual/install.texi (Installation): Point to online location of
39331         FAQ.
39332         * Makefile (files-for-dist): Remove FAQ.
39333         (FAQ): Remove.
39335 2012-05-02  Allan McRae  <allan@archlinux.org>
39337         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39338         (LDFLAGS-reldepmod5.so): Likewise.
39339         (LDFLAGS-reldep6mod1.so): Likewise.
39340         (LDFLAGS-reldep6mod4.so): Likewise.
39341         (LDFLAGS-reldep8mod3.so): Likewise.
39342         (LDFLAGS-unload4mod1.so): Likewise.
39343         (LDFLAGS-unload4mod2.so): Likewise.
39344         (LDFLAGS-tst-initorder): Likewise.
39345         (LDFLAGS-tst-initordera2.so): Likewise.
39346         (LDFLAGS-tst-initordera3.so): Likewise.
39347         (LDFLAGS-tst-initordera4.so): Likewise.
39348         (LDFLAGS-tst-initorderb2.so): Likewise.
39349         (LDFLAGS-noload): Likewise.
39350         (LDFLAGS-next): Likewise.
39351         (LDFLAGS-order2mod1.so): Likewise.
39352         (LDFLAGS-order2mod2.so): Likewise.
39353         (LDFLAGS-tst-initorder2): Likewise.
39354         (LDFLAGS-tst-initorder2a.so): Likewise.
39355         (LDFLAGS-tst-initorder2b.so): Likewise.
39356         (LDFLAGS-tst-initorder2c.so): Likewise.
39357         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39359 2012-05-02  David S. Miller  <davem@davemloft.net>
39361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39363 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39365         [BZ #14055]
39366         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39368 2012-05-02  Andreas Jaeger  <aj@suse.de>
39370         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39371         since we manipulate rounding mode.
39372         (CPPFLAGS-test-idouble.c): Likewise.
39373         (CPPFLAGS-test-ifloat.c): Likewise.
39374         (CFLAGS-test-ldouble.c): Likewise.
39375         (CFLAGS-test-double.c): Likewise.
39376         (CFLAGS-test-float.c): Likewise.
39377         (CFLAGS-test-misc.c): Likewise.
39378         (CFLAGS-test-test-fenv.c): Likewise.
39380 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39382         [BZ #2550]
39383         [BZ #2570]
39384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39385         comparisons to determine direction to adjust input.
39387 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39389         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39390         output to the target.
39392         * scripts/localplt.awk: New file.
39393         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39394         (check-localplt-CFLAGS): Variable removed.
39395         ($(all-built-dso:=.jmprel)): New static pattern rule.
39396         (generated): Add those targets.
39397         (localplt-built-dso): New variable.
39398         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39400         * elf/check-localplt.c: File removed.
39402         * scripts/check-execstack.awk: New file.
39403         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39404         (check-execstack-CFLAGS): Variable removed.
39405         ($(objpfx)check-execstack.h): Target removed.
39406         ($(objpfx)execstack-default): New target.
39407         (generated): Add that instead of check-execstack.h.
39408         ($(all-built-dso:=.phdr)): New static pattern rule.
39409         (generated): Add those targets.
39410         * elf/check-execstack.c: File removed.
39412         * scripts/check-textrel.awk: New file.
39413         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39414         (check-textrel-CFLAGS): Variable removed.
39415         (all-built-dso): Use := to define.o
39416         ($(all-built-dso:=.dyn)): New static pattern rule.
39417         (generated): Add those targets.
39418         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39419         * config.make.in (READELF): New substituted variable.
39420         * elf/check-textrel.c: File removed.
39422 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39424         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39425         allow.
39426         * conform/data/ctype.h-data [C99-based standards] (isblank):
39427         Expect function.
39428         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39429         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39431         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39432         Specify type.  Require positive value.
39433         (EILSEQ): Likewise.
39434         (ERANGE): Likewise.
39435         [ISO || POSIX] (EILSEQ): Do not expect.
39436         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39437         Specify type.  Require positive value.
39438         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39439         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39440         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39441         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39442         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39443         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39444         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39445         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39446         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39447         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39448         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39449         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39450         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39451         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39452         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39453         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39454         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39455         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39456         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39457         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39458         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39459         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39460         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39461         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39462         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39463         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39464         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39465         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39466         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39467         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39468         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39469         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39470         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39471         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39472         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39473         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39474         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39475         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39476         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39477         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39478         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39479         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39480         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39481         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39482         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39483         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39484         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39485         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39486         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39487         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39488         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39489         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39490         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39491         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39492         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39493         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39494         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39495         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39496         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39497         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39498         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39499         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39500         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39501         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39502         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39503         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39504         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39505         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39506         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39507         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39508         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39509         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39510         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39511         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39512         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39513         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39514         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39515         Require >= 2.
39516         (FLT_ROUNDS): Expect as macro, not constant.
39517         (FLT_MANT_DIG): Use macro-int-constant.
39518         (DBL_MANT_DIG): Likewise.
39519         (LDBL_MANT_DIG): Likewise.
39520         (FLT_DIG): Likewise.
39521         (DBL_DIG): Likewise.
39522         (LDBL_DIG): Likewise.
39523         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39524         (DBL_MIN_EXP): Likewise.
39525         (LDBL_MIN_EXP): Likewise.
39526         (FLT_MAX_EXP): Use macro-int-constant.
39527         (DBL_MAX_EXP): Likewise.
39528         (LDBL_MAX_EXP): Likewise.
39529         (FLT_MAX_10_EXP): Likewise.
39530         (DBL_MAX_10_EXP): Likewise.
39531         (LDBL_MAX_10_EXP): Likewise.
39532         (FLT_MAX): Use macro-constant.
39533         (DBL_MAX): Likewise.
39534         (LDBL_MAX): Likewise.
39535         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39536         (DBL_EPSILON): Likewise.
39537         (LDBL_EPSILON): Likewise.
39538         (FLT_MIN): Likewise.
39539         (DBL_MIN): Likewise.
39540         (LDBL_MIN): Likewise.
39541         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39542         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39543         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39544         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39545         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39546         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39547         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39548         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39549         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39550         [ISO11] (FLT_TRUE_MIN): Likewise.
39551         [ISO11] (LDBL_TRUE_MIN): Likewise.
39552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39553         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39554         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39555         (SCHAR_MAX): Likewise.
39556         (UCHAR_MAX): Likewise.
39557         (CHAR_MIN): Likewise.
39558         (CHAR_MAX): Likewise.
39559         (MB_LEN_MAX): Use macro-int-constant.
39560         (SHRT_MIN): Use macro-int-constant.  Specify type.
39561         (SHRT_MAX): Likewise.
39562         (USHRT_MAX): Likewise.
39563         (INT_MAX): Likewise.
39564         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39565         bound negative.
39566         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39567         bound with "U".
39568         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39569         bound with "L".
39570         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39571         bound negative.  Suffix upper bound with "L".
39572         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39573         bound with "UL".
39574         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39575         Specify type.
39576         [C99-based standards] (LLONG_MAX): Likewise.
39577         [C99-based standards] (ULLONG_MAX): Likewise.
39578         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39579         == 0.
39580         [ISO11] (max_align_t): Require type.
39581         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39583         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39584         from $CFLAGS, without defining away __attribute__ calls.
39585         (checknamespace): Use $CFLAGS_namespace.
39587         * conform/conformtest.pl (@keywords): Only include C99 keywords
39588         for standards based on C99 or C11.
39590         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39591         Disable tests.
39592         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39593         UNIX98]: Likewise.
39595         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39596         usability of symbols in #if.
39598         * conform/conformtest.pl: If macro or constant types start
39599         "promoted:", expect the symbol to be of the following type
39600         promoted by the integer promotions.
39602         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39603         in one place.  Also handle "macro-constant".
39605         * conform/conformtest.pl: Only accept expected macro values with
39606         "==".  Parse all "macro" lines in one place.
39607         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39609         * conform/conformtest.pl: Handle braced types on "constant" lines
39610         instead of handling "typed-constant".
39611         * conform/data/signal.h-data: Use "constant" instead of
39612         "typed-constant".
39614         * conform/conformtest.pl: Handle "optional-" at start of lines in
39615         one place rather than duplicating several cases.  Handle each
39616         format of "macro" line with initial "optional-".
39618         * conform/conformtest.pl: Only accept expected constant or
39619         optional-constant values with "==".  Parse all "constant" lines in
39620         one place.  Parse all "optional-constant" lines in one place.
39621         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39622         * conform/data/fmtmsg.h-data: Likewise.
39623         * conform/data/netinet/in.h-data: Likewise.
39624         * conform/data/tar.h-data: Likewise.
39625         * conform/data/limits.h-data: Use "==" form on "constant" and
39626         "optional-constant" lines.
39628         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39629         Use -std=c99 for XOPEN2K.
39630         (@knownproblems): Remove.
39631         (newtoken): Don't check %isknown.
39633         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39634         Do not expect macro.
39635         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39636         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39637         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39638         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39639         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39640         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39641         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39642         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39643         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39644         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39645         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39646         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39647         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39648         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39649         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39650         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39651         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39652         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39653         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39654         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39655         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39657         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39658         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39659         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39660         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39661         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39662         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39663         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39664         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39665         [XPG3] (acosh): Likewise.
39666         [XPG3] (asinh): Likewise.
39667         [XPG3] (atanh): Likewise.
39668         [XPG3] (cbrt): Likewise.
39669         [XPG3] (expm1): Likewise.
39670         [XPG3] (ilogb): Likewise.
39671         [XPG3] (log1p): Likewise.
39672         [XPG3] (logb): Likewise.
39673         [XPG3] (nextafter): Likewise.
39674         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39675         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39676         [XPG3] (remainder): Likewise.
39677         [XPG3] (rint): Likewise.
39678         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39679         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39680         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39681         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39682         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39683         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39684         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39685         [UNIX98 || XOPEN2K] (scalb): Expect.
39686         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39687         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39688         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39689         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39690         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39691         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39692         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39693         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39694         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39695         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39696         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39697         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39698         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39699         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39700         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39701         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39702         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39703         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39704         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39705         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39706         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39707         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39708         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39709         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39710         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39711         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39712         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39713         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39714         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39715         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39716         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39717         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39718         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39719         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39720         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39721         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39722         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39723         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39724         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39725         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39726         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39727         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39728         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39729         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39730         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39731         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39732         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39733         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39734         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39735         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39736         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39737         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39738         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39739         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39740         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39741         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39742         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39743         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39744         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39745         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39746         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39747         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39748         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39749         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39750         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39751         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39752         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39753         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39754         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39755         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39756         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39757         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39758         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39759         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39760         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39761         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39762         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39763         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39764         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39765         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39766         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39767         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39768         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39769         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39770         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39771         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39772         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39773         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39774         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39775         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39776         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39777         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39778         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39779         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39780         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39781         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39782         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39783         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39784         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39785         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39786         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39787         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39788         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39789         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39790         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39791         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39792         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39793         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39794         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39795         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39796         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39797         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39798         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39799         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39800         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39801         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39802         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39803         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39804         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39805         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39806         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39807         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39808         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39809         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39810         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39811         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39812         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39813         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39814         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39815         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39816         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39817         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39818         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39819         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39820         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39821         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39822         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39824         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39825         _XOPEN_SOURCE_EXTENDED for XPG4.
39827         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39829         * Makeconfig (localtime): Remove variable.
39830         (inst_localtime-file): Likewise.
39832 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39835         Update.
39836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39837         Update.
39838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39839         Update.
39840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39841         Update.
39842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39843         Update.
39844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39845         Update.
39846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39847         Update.
39848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39849         Update.
39850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39851         Update.
39853 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39855         [BZ #2550]
39856         [BZ #2570]
39857         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39858         comparisons to determine direction to adjust input.
39859         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39860         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39861         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39862         Likewise.
39863         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39864         Likewise.
39865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39866         Likewise.
39867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39869         Likewise.
39870         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39871         Likewise.
39872         * math/libm-test.inc (nexttoward_test): Add more tests.
39874 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39876         [BZ #14040]
39877         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39878         in version GLIBC_2.1, not GLIBC_2.0.
39879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39880         Likewise.
39882 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39884         [BZ #13942]
39885         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39886         (1 - x) * (1 + x).
39887         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39888         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39889         * math/libm-test.inc (acos_test): Add more tests.
39890         (asin_test): Likewise.
39891         * sysdeps/i386/fpu/libm-test-ulps: Update.
39892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39894         [BZ #14034]
39895         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39896         of square root.
39897         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39898         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39899         * math/libm-test.inc (acos_test_tonearest): New function.
39900         (acos_test_towardzero): Likewise.
39901         (acos_test_downward): Likewise.
39902         (acos_test_upward): Likewise.
39903         (asin_test_tonearest): Likewise.
39904         (asin_test_towardzero): Likewise.
39905         (asin_test_downward): Likewise.
39906         (asin_test_upward): Likewise.
39907         (main): Call the new functions.
39908         * sysdeps/i386/fpu/libm-test-ulps: Update.
39909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39911         [BZ #13884]
39912         [BZ #13924]
39913         * math/e_exp10.c: Include <float.h>.
39914         (__ieee754_exp10): Handle underflow here rather than multiplying
39915         large negative argument by M_LN10.
39916         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39917         of __ieee754_expf.
39918         * math/e_exp10l.c: Include <float.h>.
39919         (__ieee754_exp10l): Handle underflow here rather than multiplying
39920         large negative argument by M_LN10l.
39921         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39922         spurious overflow exception on underflow.
39924 2012-04-29  Marek Polacek  <polacek@redhat.com>
39926         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39927         (__fortify_function): New macro.
39928         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39929         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39930         __extern_always_inline.
39931         * libio/bits/stdio2.h: Likewise.
39932         * libio/bits/stdio.h: Likewise.
39933         * string/string.h: Likewise.
39934         * string/bits/string3.h: Likewise.
39935         * include/stdio.h: Likewise.
39936         * stdlib/bits/stdlib.h: Likewise.
39937         * stdlib/stdlib.h: Likewise.
39938         * rt/bits/mqueue2.h: Likewise.
39939         * rt/mqueue.h: Likewise.
39940         * posix/bits/unistd.h: Likewise.
39941         * posix/unistd.h: Likewise.
39942         * io/bits/poll2.h: Likewise.
39943         * io/bits/fcntl2.h: Likewise.
39944         * io/fcntl.h: Likewise.
39945         * io/sys/poll.h: Likewise.
39946         * misc/bits/syslog.h: Likewise.
39947         * misc/bits/syslog-ldbl.h: Likewise.
39948         * misc/sys/syslog.h: Likewise.
39949         * socket/bits/socket2.h: Likewise.
39950         * socket/sys/socket.h: Likewise.
39951         * debug/tst-chk1.c: Likewise.
39952         * wcsmbs/bits/wchar2.h: Likewise.
39953         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39954         * wcsmbs/wchar.h: Likewise.
39956 2012-04-29  Andreas Jaeger  <aj@suse.de>
39958         * Makerules (tests): Remove enable-check-abi protection.
39959         (check-abi-warn): Remove.
39960         (check-abi-%): Remove check-abi-warn usage.
39962         * configure.in: Remove check-abi configure option.
39963         * configure: Regenerated.
39964         * config.make.in (enable-check-abi): Remove.
39966 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39968         [BZ #14033]
39969         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39970         double functions to double *_finite functions.
39972         [BZ #13941]
39973         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39974         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39975         LDBL_MIN_EXP.
39976         * stdio-common/Makefile (tests): Add tst-sprintf3.
39977         * stdio-common/tst-sprintf3.c: New file.
39979         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39980         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39982 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39984         * conform/conformtest.pl: Remove duplicate typed-constant
39985         handling.
39987 2012-04-28  David S. Miller  <davem@davemloft.net>
39989         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39990         (check-abi-%): Remove AWK script prerequisite and explicit
39991         abilist directory.
39992         (check-abi): Rewrite to just diff the symlist with the abilist.
39993         (config-tls, config-abi-config): Delete, no longer used.
39994         (update-abi-%): Remove AWK script and explicit abilist directory.
39995         (update-abi): Rewrite to simply compare and conditionally copy the
39996         symlist and the sysdep abilist file.  Remove update-abi-config
39997         checks.
39998         * abilist/ld.abilist: Remove.
39999         * abilist/libBrokenLocale.abilist: Remove.
40000         * abilist/libanl.abilist: Remove.
40001         * abilist/libcrypt.abilist: Remove.
40002         * abilist/libdl.abilist: Remove.
40003         * abilist/librt.abilist: Remove.
40004         * abilist/libthread_db.abilist: Remove.
40005         * abilist/libutil.abilist: Remove.
40006         * scripts/extract-abilist.awk: Remove.
40007         * scripts/merge-abilist.awk: Remove.
40008         * sysdeps/generic/libcidn.abilist: New file.
40009         * sysdeps/generic/libnss_compat.abilist: New file.
40010         * sysdeps/generic/libnss_db.abilist: New file.
40011         * sysdeps/generic/libnss_dns.abilist: New file.
40012         * sysdeps/generic/libnss_files.abilist: New file.
40013         * sysdeps/generic/libnss_hesiod.abilist: New file.
40014         * sysdeps/generic/libnss_nis.abilist: New file.
40015         * sysdeps/generic/libnss_nisplus.abilist: New file.
40016         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40017         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40018         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40019         file.
40020         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40021         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40022         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40023         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40024         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40025         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40026         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40027         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40028         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40029         file.
40030         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40031         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40032         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40033         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40034         file.
40035         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40036         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40037         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40038         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40039         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40040         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40041         file.
40042         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40043         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40044         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40045         file.
40046         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40048         New file.
40049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40050         New file.
40051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40052         New file.
40053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40054         New file.
40055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40056         New file.
40057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40058         New file.
40059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40060         New file.
40061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40062         New file.
40063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40064         New file.
40065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40066         New file.
40067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40068         New file.
40069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40070         New file.
40071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40072         New file.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40074         file.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40076         New file.
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40078         New file.
40079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40080         file.
40081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40082         New file.
40083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40084         New file.
40085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40086         file.
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40088         New file.
40089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40090         New file.
40091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40092         New file.
40093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40094         New file.
40095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40096         New file.
40097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40098         New file.
40099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40101         file.
40102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40103         New file.
40104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40105         file.
40106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40107         file.
40108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40109         file.
40110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40111         file.
40112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40113         file.
40114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40115         New file.
40116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40117         file.
40118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40119         file.
40120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40121         New file.
40122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40123         file.
40124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40126         file.
40127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40128         New file.
40129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40130         file.
40131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40132         file.
40133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40134         file.
40135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40136         file.
40137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40138         file.
40139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40140         New file.
40141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40142         file.
40143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40144         file.
40145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40146         New file.
40147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40148         file.
40149         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40150         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40151         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40152         file.
40153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40154         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40155         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40156         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40157         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40158         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40159         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40160         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40161         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40162         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40165         file.
40166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40167         New file.
40168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40169         file.
40170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40171         file.
40172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40173         file.
40174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40175         file.
40176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40177         file.
40178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40179         New file.
40180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40181         New file.
40182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40183         file.
40184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40185         New file.
40186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40187         file.
40188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40190         file.
40191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40192         New file.
40193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40194         file.
40195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40196         file.
40197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40198         file.
40199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40200         file.
40201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40202         file.
40203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40204         New file.
40205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40206         New file.
40207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40208         file.
40209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40210         New file.
40211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40212         file.
40214 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40216         * conform/conformtest.pl: Fix typo in handling typed-constant from
40217         allow-header.
40219 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40221         * README: Cut down references to pre-2.6 Linux kernels and
40222         Linuxthreads.  Update lists of configurations in libc and ports
40223         and sort alphabetically.  Say "or newer" with Linux kernel version
40224         requirements.
40226         * config.h.in [IS_IN_build]: Allow compiling without optimization.
40228 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40230         [BZ #887]
40231         * math/libm-test.inc (logb_test_downward): New test to expose
40232         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40233         rounding mode.
40235 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
40237         [BZ #14027]
40238         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40239         to be done.
40240         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40241         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40243 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
40245         * sysdeps/unix/i386/brk.S: Remove file.
40246         * sysdeps/unix/i386/dl-brk.S: Likewise.
40247         * sysdeps/unix/i386/pipe.S: Likewise.
40248         * sysdeps/unix/i386/sigreturn.S: Likewise.
40249         * sysdeps/unix/i386/syscall.S: Likewise.
40250         * sysdeps/unix/i386/vfork.S: Likewise.
40251         * sysdeps/unix/i386/wait.S: Likewise.
40253         * sysdeps/unix/common/tcsendbrk.c: Move to ...
40254         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40256         * configure.in (arm*-none*): Do not allow without
40257         --enable-hacker-mode.
40258         (netbsd*): Remove case setting base_os.
40259         (386bsd*): Likewise.
40260         (freebsd*): Likewise.
40261         (bsdi*): Likewise.
40262         (osf*): Likewise.
40263         (sunos*): Likewise.
40264         (ultrix*): Likewise.
40265         (newsos*): Likewise.
40266         (dynix*): Likewise.
40267         (*bsd*): Likewise.
40268         (sysv*): Likewise.
40269         (isc*): Likewise.
40270         (esix*): Likewise.
40271         (sco*): Likewise.
40272         (minix*): Likewise.
40273         (irix4*): Likewise.
40274         (irix6*): Likewise.
40275         (solaris[2-9]*): Likewise.
40276         (none): Likewise.
40277         * configure: Regenerated.
40279 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40281         [BZ #11521]
40282         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40283         overflow or cancellation in calculating denominator.
40284         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40285         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40286         down expression to avoid unexpected rounding in newer GCCs.
40287         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40289 2012-04-26  David S. Miller  <davem@davemloft.net>
40291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40292         long-double compat symbols.
40293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40307 2012-04-25  David S. Miller  <davem@davemloft.net>
40309         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40310         HWCAP_* values only after the memory barriers have been defined.
40311         (atomic_full_barrier): Define.
40312         (atomic_read_barrier): Define.
40313         (atomic_write_barrier): Define.
40315 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40317         * shlib-versions: Add libgcc_s version information.
40318         * sysdeps/generic/libgcc_s.h: Remove.
40319         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40320         libgcc_s.h.
40321         * sysdeps/gnu/unwind-resume.c: Likewise.
40322         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40324 2012-04-25  David S. Miller  <davem@davemloft.net>
40326         * sysdeps/unix/sparc/brk.S: Delete.
40327         * sysdeps/unix/sparc/dl-brk.S: Delete.
40328         * sysdeps/unix/sparc/pipe.S: Delete.
40329         * sysdeps/unix/sparc/sysdep.S: Delete.
40330         * sysdeps/unix/sparc/sysdep.h: Delete.
40331         * sysdeps/unix/sparc/vfork.S: Delete.
40332         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40333         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40334         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40335         (ret_ERRVAL, r0, r1, MOVE): Define.
40336         (JUMPTARGET): Remove.
40337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40338         sysdeps/unix/sparc/sysdep.h
40339         (ENTRY, END): Remove.
40340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40342 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40344         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40345         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40346         -DIS_IN_build.
40348         * timezone/README: Update upstream location and email address for
40349         tzcode and tzdata.
40350         * timezone/zdump.c: Update from tzcode 2012b.
40351         * timezone/zic.c: Likewise.
40353         * configure.in (libc_cv_as_needed): Remove test.
40354         * configure: Regenerated.
40355         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40356         conditional definition.
40357         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40358         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40359         * config.make.in (have-as-needed): Remove variable.
40361 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40362             Paul Pluzhnikov  <ppluzhnikov@google.com>
40364         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40365         strings correctly.
40367 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40369         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40370         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40371         * sysdeps/sh/strlen.S: Likewise.
40373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40375         * sysdeps/unix/fork.S: Remove file.
40376         * sysdeps/unix/i386/fork.S: Likewise.
40377         * sysdeps/unix/sparc/fork.S: Likewise.
40379         * sysdeps/unix/system.c: Remove file.
40380         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40382         * sysdeps/unix/getegid.S: Remove file.
40383         * sysdeps/unix/geteuid.S: Likewise.
40385 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40387         * scripts/check-localplt.awk: New file.
40388         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40389         of diff.
40390         * scripts/data/localplt-generic.data: Add a comment.
40392         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40393         NODE when __dir_mkfile failed.
40394         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40395         Reported by Ludovic Courtès <ludo@gnu.org>.
40397 2012-04-24  Andreas Jaeger  <aj@suse.de>
40399         * Makerules (common-clean): Also remove gen-as-const-headers
40400         files.
40402 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40404         * Makerules (native-compile): Do not change working directory for
40405         build.  Use $(OUTPUT_OPTION) in command.
40406         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40408 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40410         [BZ #13886]
40411         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40412         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40413         * math/libm-test.inc (floor_test): Add more tests.
40414         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40416 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40418         * sysdeps/unix/getdents.c: Remove file.
40419         * sysdeps/unix/sysv/getdents.c: Likewise.
40420         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40422         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40423         sysdeps/unix/mman/syscalls.list.
40424         (mmap): Likewise.
40425         (mprotect): Likewise.
40426         (msync): Likewise.
40427         (munmap): Likewise.
40428         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40429         * sysdeps/unix/mman/syscalls.list: Remove.
40430         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40432         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40433         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40434         * configure: Regenerated.
40435         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40436         $(libgcc_s_suffix).
40437         * config.make.in (libgcc_s_suffix): Remove variable.
40439 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40441         * sysdeps/unix/sysv/gethostname.c: Move to ...
40442         * sysdeps/posix/gethostname.c: ... here.
40444         * sysdeps/unix/execve.S: Remove file.
40446         * sysdeps/unix/_exit.S: Remove file.
40448 2012-04-23  Andreas Jaeger  <aj@suse.de>
40450         [BZ #13739]
40451         * manual/Makefile: Remove make dist support, there's no
40452         need for a stand-alone documentation tar ball.
40453         (TEXI2DVI): Define always, it's not in Makeconfig.
40454         (dist): Removed.
40455         (tar-it): Removed.
40456         (edition): Removed.
40457         (glibc-doc-$(edition).tar): Removed
40458         (%.Z): Removed.
40459         (%.gz): Removed.
40460         (%.uu): Removed.
40461         (ETAGS): Remove, it's in Makeconfig.
40462         (move-if-change): Remove, it's in Makeconfig.
40464 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40466         [BZ #13970]
40467         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40468         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40469         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40470         (strtod_l, strtof_l, strtold_l): Remove __wur.
40471         It is not necessarily an error to ignore strtol's return value.
40472         One can reliably look at the stored endptr to decide whether
40473         the number had valid syntax.
40475 2012-04-21  Andreas Jaeger  <aj@suse.de>
40477         [BZ #13739]
40478         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40480 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40482         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40483         * sysdeps/unix/sysv/Versions: Remove file.
40485 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40487         [BZ #13927]
40488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40490 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40492         [BZ #7064]
40493         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40494         version from __vm86.
40496 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40498         * sysdeps/unix/common/lxstat.c: Remove file.
40499         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40501         * sysdeps/unix/sysv/Makefile: Remove file.
40503         * sysdeps/unix/sysv/direct.h: Remove file.
40505         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40506         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40507         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40508         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40509         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40510         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40511         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40513         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40515         * sysdeps/unix/xmknod.c: Remove file.
40516         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40518         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40520         * sysdeps/unix/sysv/i386/time.S: Remove file.
40522         * sysdeps/unix/fxstat.c: Remove file.
40523         * sysdeps/unix/xstat.c: Likewise.
40524         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40526         * sysdeps/unix/sysv/sigaction.c: Remove file.
40528         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40529         (sysdep_headers): Remove variable.
40530         [termio.h not in sysdep_headers] (generated): Likewise.
40531         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40532         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40533         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40534         * sysdeps/unix/sysv/tcflow.c: Likewise.
40535         * sysdeps/unix/sysv/tcflush.c: Likewise.
40536         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40537         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40538         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40539         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40540         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40542         * sysdeps/unix/siglist.c: Remove file.
40544         * sysdeps/unix/getppid.S: Remove file.
40546         * sysdeps/unix/mkdir.c: Remove file.
40547         * sysdeps/unix/rmdir.c: Likewise.
40549 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40551         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40552         ERR_MAX value.
40553         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40554         errlist-compat value.
40556 2012-04-18  David S. Miller  <davem@davemloft.net>
40558         * sysdeps/generic/memcopy.h (reg_char): Delete.
40559         * debug/strcat_chk.c: Use char, not reg_char.
40560         * debug/strcpy_chk.c: Likewise.
40561         * debug/strncat_chk.c: Likewise.
40562         * debug/strncpy_chk.c: Likewise.
40563         * string/memchr.c: Likewise.
40564         * string/memrchr.c: Likewise.
40565         * string/rawmemchr.c: Likewise.
40566         * string/strcat.c: Likewise.
40567         * string/strchr.c: Likewise.
40568         * string/strchrnul.c: Likewise.
40569         * string/strcmp.c: Likewise.
40570         * string/strcpy.c: Likewise.
40571         * string/strncat.c: Likewise.
40572         * string/strncmp.c: Likewise.
40573         * string/strncpy.c: Likewise.
40575 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40577         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40578         __builtin_memcopy is called when src and dest ranges are known to not
40579         overlap.
40581 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40583         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40584         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40585         fwd_align_merge macro call.
40586         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40587         bwd_align_merge macro call.
40588         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40590 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40592         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40593         bwd_align_merge macros.
40594         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40595         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40596         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40598 2012-04-18  David S. Miller  <davem@davemloft.net>
40600         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40602 2012-04-18  Andreas Jaeger  <aj@suse.de>
40604         [BZ# 6794]
40605         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40606         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40607         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40609         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40610         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40611         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40613         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40614         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40615         Adjust for changed ldbl-128 files.
40617         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40618         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40619         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40621 2012-04-17  David S. Miller  <davem@davemloft.net>
40623         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40625 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40627         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40628         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40629         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40630         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40631         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40632         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40634 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40636         [BZ #6794]
40637         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40638         * math/libm-test.inc: Add ilogb errno and exception tests.
40639         * math/w_ilogb.c: New file: ilogb wrapper.
40640         * math/w_ilogbf.c: New file: ilogbf wrapper.
40641         * math/w_ilogbl.c: New file: ilogbl wrapper.
40642         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40643         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40644         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40645         exception being thrown with 0.0 as argument.
40646         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40647         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40648         exception being thrown with 0.0 as argument.
40649         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40650         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40651         exception being thrown with 0.0 as argument.
40652         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40653         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40654         exception being thrown with 0.0 as argument.
40655         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40656         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40657         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40658         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40659         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40660         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40661         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40662         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40663         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40665 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40667         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40668         with altivec.
40670 2012-04-16  Marek Polacek  <polacek@redhat.com>
40672         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40674 2012-04-16  Marek Polacek  <polacek@redhat.com>
40676         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40677         operands of fdivp instruction.
40679 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40681         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40682         * elf/tst-auditmod3b.c: Likewise.
40683         * elf/tst-auditmod4b.c: Likewise.
40684         * elf/tst-auditmod5b.c: Likewise.
40685         * elf/tst-auditmod6b.c: Likewise.
40686         * elf/tst-auditmod6c.c: Likewise.
40687         * elf/tst-auditmod7b.c: Likewise.
40688         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40689         * sysdeps/x86_64/preconfigure.in: Likewise.
40690         * sysdeps/x86_64/preconfigure: Regenerated.
40692 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40694         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40695         __ILP32__.
40697 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40700         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40702 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40704         [BZ #13973]
40705         * locale/iso-639.def: Fix gl language name. Spotted by
40706         Yaron Shahrabani.
40708 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40710         [BZ #2074]
40711         * libio/libio.h (__io_write_fn): Update comment.
40713 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40715         [BZ #2074]
40716         * stdio.texi (Hook Functions): The user provided writer function
40717         is not allowed to return -1.
40719 2012-04-11  David S. Miller  <davem@davemloft.net>
40721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40723 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40725         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40726         Add a leading slash to rtkaio.
40728 2012-04-11  Jim Meyering  <meyering@redhat.com>
40730         [BZ #11959]
40731         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40732         It is not necessarily an error to ignore fwrite's return
40733         value.  One can reliably use ferror to test for errors after
40734         the fact.
40736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40738         * bits/types.h (__snseconds_t): New type.
40739         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40741         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40743         (__SNSECONDS_T_TYPE): Likewise.
40744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40745         (__SNSECONDS_T_TYPE): Likewise.
40746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40747         (__SNSECONDS_T_TYPE): Likewise.
40749 2012-04-10  Andreas Jaeger  <aj@suse.de>
40751         [BZ #2636]
40752         * manual/time.texi (Processor Time): Return type of times is
40753         elapsed real time since an arbitrary point in the past.
40754         (CPU Time): Move CLK_TCK from here...
40755         (Processor Time): ...to here.  Correct description.
40756         * manual/conf.texi (Constants for Sysconf): Correct description of
40757         _SC_CLK_TCK.
40759 2012-04-10  David S. Miller  <davem@davemloft.net>
40761         [BZ #13967]
40762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40763         where the is a gap between DT_REL(A) and DT_JMPREL.
40765 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40767         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40768         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40769         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40771 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40773         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40774         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40775         (dl_main): Handle --inhibit-cache.
40776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40777         _dl_inhibit_cache.
40778         * elf/dl-load.c (_dl_map_object): Use it.
40779         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40781 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40783         [BZ #13872]
40784         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40785         (__ieee754_powl): Saturate large exponents rather than testing for
40786         overflow of y*log2(x).
40787         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40788         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40789         exceptions.
40791         [BZ #11521]
40792         * math/s_ctan.c: Include <float.h>.
40793         (__ctan): Avoid internal overflow or cancellation in calculating
40794         denominator.
40795         * math/s_ctanf.c: Likewise.
40796         * math/s_ctanl.c: Likewise.
40797         * math/s_ctanh.c: Likewise.
40798         * math/s_ctanhf.c: Likewise.
40799         * math/s_ctanhl.c: Likewise.
40800         * math/libm-test.inc (ctan_test): Add more tests.
40801         (ctanh_test): Likewise.
40802         * sysdeps/i386/fpu/libm-test-ulps: Update.
40803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805 2012-04-09  Andreas Jaeger  <aj@suse.de>
40807         [BZ #6894]
40808         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40809         is an optional BSD extension.
40811         [BZ #10254]
40812         * manual/stdio.texi (Opening Streams): Document additional fopen
40813         parameters.
40815 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40817         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40818         %eax without telling the compiler.
40820 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40822         [BZ # 13963]
40823         * manual/install.texi: Use sourceware.org.
40825 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40827         [BZ #13873]
40828         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40829         (__ieee754_pow): Generate overflow and underflow using huge*huge
40830         and tiny*tiny rather than just returning constant infinity or zero
40831         for large exponents.
40832         * math/libm-test.inc (pow_test): Require overflow exceptions for
40833         applicable cases of large exponents.
40835         [BZ #706]
40836         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40837         (__ieee754_pow): Use iterative multiplication algorithm only for
40838         integer exponents with absolute value below 1024.  Check for odd
40839         integer exponents when using algorithm for real exponents.
40840         * math/libm-test.inc (pow_test): Add more tests.
40841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40843 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40845         [BZ #13705]
40846         * math/libm-test.inc (exp_test): Do not allow overflow exception
40847         on underflow test.
40849 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40851         [BZ #13705]
40852         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40853         instead of __kernel_standard_f.
40855 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40857         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40858         * sysdeps/x86_64/memset_chk.S: Likewise.
40860 2012-04-08  Andreas Jaeger  <aj@suse.de>
40862         [BZ #10153]
40863         * manual/startup.texi (Environment Access): Describe return value
40864         for putenv and setenv.
40866         [BZ #6895]
40867         * manual/filesys.texi (Directory Entries): Add description for
40868         DT_LNK.
40870         [BZ #6890]
40871         * manual/filesys.texi (Directory Entries): Clarify that it's file
40872         system not operating system in the description of DT_UNKNOWN.
40874         [BZ #6578]
40875         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40877 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40879         [BZ #6649]
40880         * manual/llio.texi (Opening and Closing Files): Add cross
40881         reference to explain mode argument.
40883 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40885         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40886         * sysdeps/x86_64/memset_chk.S: Likewise.
40888 2012-04-07  David S. Miller  <davem@davemloft.net>
40890         * elf/elf.h (R_SPARC_WDISP10): Define.
40891         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40892         R_SPARC_SIZE32.
40893         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40894         R_SPARC_SIZE64 and R_SPARC_H34.
40896 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40898         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40899         conditions and remove no longer applicable assertion.
40901 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40903         * bits/byteswap.h: Include <features.h>.
40904         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40905         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40907 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40909         * bits/byteswap.h (__bswap_16): Removed.
40910         Include <bits/byteswap-16.h> to get __bswap_16.
40911         * sysdeps/i386/bits/byteswap.h: Likewise.
40912         * sysdeps/s390/bits/byteswap.h: Likewise.
40913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40914         * bits/byteswap-16.h: New file.
40915         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40916         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40917         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40918         * string/Makefile (headers): Add bits/byteswap-16.h.
40920 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40922         [BZ #13895]
40923         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40924         extra indirection.
40925         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40926         * nss/tst-nss-static.c: New.
40928 2012-04-06  Robert Millan  <rmh@gnu.org>
40930         [BZ #6486]
40931         * manual/llio.texi (File Position Primitive): lseek
40932         refers to WHENCE when it really means OFFSET.
40934 2012-04-06  Andreas Jaeger  <aj@suse.de>
40936         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40937         strncmp declarations.
40939         * abilist/libc.abilist: Add __poll and __ppoll.
40941 2012-04-05  David S. Miller  <davem@davemloft.net>
40943         * scripts/check-local-headers.sh: Accept a host triplet in the
40944         path matched by the exclude regexp.
40946         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40947         definition.
40948         * sysdeps/powerpc/powerpc32/dl-machine.h
40949         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40950         * sysdeps/s390/s390-32/dl-machine.h
40951         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40952         * sysdeps/sparc/sparc32/dl-machine.h
40953         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40954         * sysdeps/sparc/sparc64/dl-machine.h
40955         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40957         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40958         lazy binding.
40959         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40960         undefined symbol errors.
40962         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40963         DT_NEEDED entries.
40965 2012-04-05  Michael Matz  <matz@suse.de>
40967         [BZ #13592]
40968         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40970 2012-04-05  Andreas Jaeger  <aj@suse.de>
40972         [BZ #13908]
40973         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40974         comment.
40976 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40979         which ROUND is no valid rounding mode.
40981 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40983         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40984         read again.
40985         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40987 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40989         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40990         an exception using FPU order intentionally.
40992 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40994         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40995         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40996         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40997         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40999 2012-04-05  Simon Josefsson  <simon@josefsson.org>
41001         [BZ #12340]
41002         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41003         EINVAL when BUFLEN is too smal.
41005 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41007         [BZ #13553]
41008         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41009         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41011 2012-04-03  Andreas Jaeger  <aj@suse.de>
41013         [BZ #13938]
41014         * manual/setjmp.texi (System V contexts): Fix sentence.
41016         [BZ #13926]
41017         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41018         New macro for this case.
41019         [!__GNUC__] (__bswap_64): New inline function for this case.
41020         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41021         * bits/byteswap.h: Likewise.
41022         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41023         ull, guard with __GLIBC_HAVE_LONG_LONG.
41025         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41026         __GLIBC_HAVE_LONG_LONG.
41028         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41029         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41031 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41033         [BZ #13691]
41034         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41035         inptr and inend, rather than using last_ch.
41037 2012-04-02  David S. Miller  <davem@davemloft.net>
41039         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41040         * stdio-common/printf-parse.h (read_int): Change return type to
41041         'int', return -1 on INT_MAX overflow.
41042         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41043         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
41044         overflows INT_MAX.  Check for overflow of in-format-string precision
41045         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
41046         SIZE_MAX not INT_MAX for integer overflow test.
41047         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41048         skip the construct in the format string but do not record anything.
41049         * stdio-common/bug22.c: Adjust to test both width/prevision
41050         INT_MAX overflow as well as total length INT_MAX overflow.  Check
41051         explicitly for proper errno values.
41053 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41055         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41056         CHAR_MAX.
41057         * string/test-strcmp.c [! WIDE]: Likewise.
41058         * time/tst-mktime2.c: Likewise for INT_MAX.
41059         * string/test-string.h: #include <sys/param.h> for MIN.
41061         * csu/init-first.c (__libc_init_first): Call __ctype_init.
41062         * sysdeps/i386/init-first.c (init): Likewise.
41063         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41064         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41065         * sysdeps/sh/init-first.c (init): Likewise.
41067 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
41069         * po/ru.po: Update from translation team.
41070         * po/vi.po: Likewise.
41072 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41074         * resolv/nss_dns/dns-host.c: Merge copyright years.
41076 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41078         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41079         Optimize memcpy with prefetch if
41080         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
41081         src, dst pointers have unequal 16 byte alignments.
41083 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41085         [BZ #13928]
41086         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41087         from a CNAME entry and return the minimum ttl for the query.
41088         (gaih_getanswer_slice): Likewise.
41090 2012-03-30  Jeff Law  <law@redhat.com>
41092         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41093         due to long keys.
41094         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41095         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41097         * resolv/nss_dns/dns-host.c: Update copyright year.
41099 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
41101         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41102         requests to save a system call.  Fix check that all bytes are sent.
41104         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41105         comments for sendmmsg.
41107 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41109         [BZ #13691]
41110         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41111         with only 1 character between 0x0041 and 0x01b0.
41112         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41113         * wcsmbs/tst-mbsnrtowcs.c: New file.
41115 2012-03-29  David S. Miller  <davem@davemloft.net>
41117         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41118         small copies by hand.
41120 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41122         [BZ #13761]
41123         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41124         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41125         group memberships.
41127 2012-03-28  David S. Miller  <davem@davemloft.net>
41129         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41130         that branches into memcpy.
41131         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41134         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41136         bits.
41137         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41138         implementation too.
41139         * sysdeps/sparc/mempcpy.S: New file.
41141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41142         the IFUNC routine in the libc case.
41143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41145         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41146         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41147         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41148         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41149         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41150         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41151         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41152         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41154         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41155         loop to 256 bytes instead of 64 bytes and fix test signedness.
41157         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41158         * sysdeps/sparc/sparc32/Makefile: rather than here...
41159         * sysdeps/sparc/sparc64/Makefile: and here.
41161 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
41163         * malloc/mallocbug.c: Avoid warnings about unused variables.
41165 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41167         [BZ #13760]
41168         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41169         in the right place. Discard and retry query if response is
41170         larger than input buffer size.
41172 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
41174         [BZ #369]
41175         [BZ #2678]
41176         [BZ #3866]
41177         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41178         x for large integer exponent.
41179         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41180         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
41181         sign of result as needed afterwards.
41182         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41183         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41184         result for underflowing pow the same as for overflow.
41185         (__kernel_standard_l): Handle powl overflow and underflow here
41186         rather than calling __kernel_standard.
41187         * math/libm-test.inc (pow_test): Add more tests.
41189         [BZ #3868]
41190         [BZ #13879]
41191         [BZ #13910]
41192         [BZ #13911]
41193         [BZ #13912]
41194         [BZ #13913]
41195         [BZ #13915]
41196         [BZ #13916]
41197         [BZ #13917]
41198         [BZ #13918]
41199         [BZ #13919]
41200         [BZ #13920]
41201         [BZ #13921]
41202         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41203         * sysdeps/ieee754/k_standard.c: Include <float.h>.
41204         (__kernel_standard_l): New function.
41205         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41206         __kernel_standard.
41207         * math/w_acosl.c (__acosl): Likewise.
41208         * math/w_asinl.c (__asinl): Likewise.
41209         * math/w_atan2l.c (__atan2l): Likewise.
41210         * math/w_atanhl.c (__atanhl): Likewise.
41211         * math/w_coshl.c (__coshl): Likewise.
41212         * math/w_exp10l.c (__exp10l): Likewise.
41213         * math/w_exp2l.c (__exp2l): Likewise.
41214         * math/w_fmodl.c (__fmodl): Likewise.
41215         * math/w_hypotl.c (__hypotl): Likewise.
41216         * math/w_j0l.c (__j0l, __y0l): Likewise.
41217         * math/w_j1l.c (__j1l, __y1l): Likewise.
41218         * math/w_jnl.c (__jnl, __ynl): Likewise.
41219         * math/w_lgammal.c (__lgammal): Likewise.
41220         * math/w_log10l.c (__log10l): Likewise.
41221         * math/w_log2l.c (__log2l): Likewise.
41222         * math/w_logl.c (__logl): Likewise.
41223         * math/w_powl.c (__powl): Likewise.
41224         * math/w_remainderl.c (__remainderl): Likewise.
41225         * math/w_scalbl.c (sysv_scalbl): Likewise.
41226         * math/w_sinhl.c (__sinhl): Likewise.
41227         * math/w_sqrtl.c (__sqrtl): Likewise.
41228         * math/w_tgammal.c (__tgammal): Likewise.
41229         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41230         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41231         * math/libm-test.inc (acos_test): Add more tests.
41232         (acosh_test): Likewise.
41233         (asin_test): Likewise.
41234         (atanh_test): Likewise.
41235         (exp_test): Likewise.
41236         (exp10_test): Likewise.
41237         (exp2_test): Likewise.
41238         (expm1_test): Likewise.
41239         (lgamma_test): Likewise.
41240         (log_test): Likewise.
41241         (log10_test): Likewise.
41242         (log1p_test): Likewise.
41243         (log2_test): Likewise.
41244         (pow_test): Do not allow some spurious overflow exceptions.
41245         (sqrt_test): Add more tests.
41246         (tgamma_test): Likewise.
41247         (y0_test): Likewise.
41248         (y1_test): Likewise.
41249         (yn_test): Likewise.
41251 2012-03-27  Anton Blanchard  <anton@samba.org>
41253         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41254         MAP_HUGETLB.
41255         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41256         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41257         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41259 2012-03-27  David S. Miller  <davem@davemloft.net>
41261         * conform/Makefile: Run run-conformtest.sh using $(BASH).
41263         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41264         have-as-vis3 check.
41266 2012-03-27  Andreas Jaeger  <aj@suse.de>
41268         * sysdeps/x86_64/elf/configure.in: Moved to ...
41269         * sysdeps/x86_64/configure.in: ... here.
41270         * sysdeps/x86_64/elf/start.S: Moved to ...
41271         * sysdeps/x86_64/start.S: ... here.
41272         * sysdeps/x86_64/elf/configure: Delete.
41274         * sysdeps/x86_64/configure.in: Merge contents from
41275         sysdeps/i386/configure.in (without i686 check).
41277         * sysdeps/i386/elf/Versions: Merge into ...
41278         * sysdeps/i386/Versions: ... this.
41279         * sysdeps/i386/elf/Versions: Delete file.
41280         * sysdeps/i386/elf/start.S: Moved to ...
41281         * sysdeps/i386/start.S: ...here.
41282         * sysdeps/i386/elf/configure.in: Merge into...
41283         * sysdeps/i386/configure.in: ...here.
41284         * sysdeps/i386/elf/configure.in: Delete file.
41285         * sysdeps/i386/elf/configure: Delete file.
41287         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41288         * debug/backtracesyms.c: ... here.
41289         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41290         * debug/backtracesymsfd.c: ... here.
41291         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41292         * sysdeps/generic/ifunc-sel.h: ... here.
41294         * sysdeps/unix/i386/start.c: Delete file.
41295         * sysdeps/unix/sparc/start.c: Delete file.
41296         * sysdeps/unix/start.c: Delete file.
41298         * sysdeps/sh/elf/configure.in: Moved to ...
41299         * sysdeps/sh/configure.in: ... here.
41300         * sysdeps/sh/elf/start.S: Moved to ...
41301         * sysdeps/sh/start.S: ... here.
41302         * sysdeps/sh/elf/configure: Delete file.
41304         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41305         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41306         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41307         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41308         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41309         * sysdeps/powerpc/powerpc64/start.S: here.
41310         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41311         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41312         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41313         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41314         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41316         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41317         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41318         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41319         * sysdeps/powerpc/powerpc32/start.S: ... here.
41320         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41321         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41322         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41324         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41325         * sysdeps/powerpc/ifunc-sel.h: ... here.
41326         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41327         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41329         * sysdeps/sparc/elf/configure.in: Moved to ...
41330         * sysdeps/sparc/configure.in: ... here.
41331         * sysdeps/sparc/elf/configure: Delete file.
41332         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41333         * sysdeps/sparc/sparc32/start.S: ... here.
41334         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41335         * sysdeps/sparc/sparc64/start.S: ... here.
41336         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41337         * sysdeps/sparc/sparc32/Makefile: ... this.
41338         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41339         * sysdeps/sparc/sparc64/Makefile: ... this.
41341         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41342         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41343         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41344         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41345         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41346         * sysdeps/s390/s390-32/setjmp.S: ... here.
41347         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41348         * sysdeps/s390/s390-32/configure.in: ... here.
41349         * sysdeps/s390/s390-32/elf/configure: Delete file.
41350         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41351         * sysdeps/s390/s390-32/start.S: ... here.
41353         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41354         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41355         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41356         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41357         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41358         * sysdeps/s390/s390-64/setjmp.S: ... here.
41359         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41360         * sysdeps/s390/s390-64/configure.in: ... here
41361         * sysdeps/s390/s390-64/elf/configure: Delete file.
41362         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41363         * sysdeps/s390/s390-64/start.S: ... here.
41364         * sysdeps/s390/s390-64/elf/configure: Delete.
41366         * configure.in: Remove support for elf directories in sysdeps.
41368         * configure: Regenerated.
41369         * sysdeps/i386/configure: Regenerated.
41370         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41371         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41372         * sysdeps/s390/s390-32/configure: Regenerated.
41373         * sysdeps/s390/s390-64/configure: Regenerated.
41374         * sysdeps/sh/configure: Regenerated.
41375         * sysdeps/sparc/configure: Regenerated.
41376         * sysdeps/x86_64/configure: Regenerated.
41378 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41383         denormal result into account.
41385 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41387         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41388         Reported by Allan McRae <allan@archlinux.org>.
41390 2012-03-23  Jeff Law  <law@redhat.com>
41392         * nss/getnssent.c (__nss_getent): Fix typo.
41394 2012-03-23  David S. Miller  <davem@davemloft.net>
41396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41398 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41400         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41401         to pad to uint64_t for each field.
41402         (dl_tls_index): Replace unsigned long with uint64_t.
41404 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41405         Paul Pluzhnikov  <ppluzhnikov@google.com>
41407         [BZ #6528]
41408         * grp/Makefile (otherlibs): Don't set it.
41409         * inet/Makefile (otherlibs): Likewise.
41410         * login/Makefile (otherlibs): Likewise.
41411         * nscd/Makefile (otherlibs): Likewise.
41412         * posix/Makefile (otherlibs): Likewise.
41413         * pwd/Makefile (otherlibs): Likewise.
41414         * rt/Makefile (otherlibs): Likewise.
41415         * sunrpc/Makefile (otherlibs): Likewise.
41416         * nss/Makefile (otherlibs): Likewise.
41417         Add libnss_files to routines and static-only-routines.
41418         ($(objpfx)getent): Remove rule.
41419         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41420         static-only-routines.
41422 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41424         [BZ #13892]
41425         * math/s_cexp.c: Include <float.h>.
41426         (__cexp): Handle exp result overflowing not necessarily
41427         overflowing both real and imaginary parts of result.
41428         * math/s_cexpf.c: Likewise.
41429         * math/s_cexpl.c: Likewise.
41430         * math/libm-test.inc (cexp_test): Add more tests.
41431         * sysdeps/i386/fpu/libm-test-ulps: Update.
41432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41434 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41436         * include/link.h (ELFW): New macro.
41437         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41438         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41440 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41442         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41443         with uint64_t.
41445 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41447         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41448         declaration.
41449         (struct La_x32_retval): Likewise.
41451 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41453         * sysdeps/x86_64/preconfigure.in: New file.
41454         * sysdeps/x86_64/preconfigure: New generated file.
41456 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41458         [BZ #13824]
41459         * math/e_exp2l.c: Include <float.h>.
41460         (__ieee754_exp2l): Handle overflow and underflow cases
41461         separately.  Only pass fractional part of argument to
41462         __ieee754_expl.
41463         * math/libm-test.inc (exp2_test): Add more tests.
41465         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41466         negating x to take absolute value.
41467         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41468         Likewise.
41469         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41471         Likewise.
41472         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41473         computing low part if x was negated.
41474         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41476 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41478         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41479         la_x32_gnu_pltexit.
41480         (pltexit): Cast int_retval to ptrdiff_t.
41481         * elf/tst-auditmod3b.c: Likewise.
41482         * elf/tst-auditmod4b.c: Likewise.
41483         * elf/tst-auditmod5b.c: Likewise.
41484         * elf/tst-auditmod6b.c: Likewise.
41485         * elf/tst-auditmod6c.c: Likewise.
41486         * elf/tst-auditmod7b.c: Likewise.
41488         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41489         and x32_gnu_pltexit.
41491         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41492         __ELF_NATIVE_CLASS.
41493         (La_x32_regs): New macro.
41494         (La_x32_retval): Likewise.
41495         (la_x32_gnu_pltenter): New function prototype.
41496         (la_x32_gnu_pltexit): Likewise.
41498 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41501         exponent.
41503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41505         * configure.in (libc_cv_cc_nofma): Check for option to disable
41506         generation of FMA instructions.
41507         * configure: Regenerate.
41508         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41509         * sysdeps/ieee754/dbl-64/Makefile: New file.
41510         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41511         Remove brandred-fma4.
41512         (CFLAGS-brandred-fma4.c): Remove.
41513         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41514         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41515         define.
41516         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41517         define.
41519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41521         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41522         LLONG_MAX != LONG_MAX.
41523         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41524         (_fitoa_word): Likewise.
41525         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41526         LLONG_MAX != LONG_MAX.
41527         * stdio-common/_itowa.h: Include <_itoa.h>.
41528         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41529         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41530         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41531         only if not defined.
41532         (_ITOA_WORD_TYPE): Likewise.
41533         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41534         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41536 2012-03-21  David S. Miller  <davem@davemloft.net>
41538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41540 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41542         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41543         of x86_64 when setting libc_cv_slibdir, libdir and
41544         libc_cv_localedir.
41545         * sysdeps/unix/sysv/linux/configure: Regenerated.
41547 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41549         * manual/lang.texi (Old Varargs): Remove section.
41550         (How Variadic): Update menu.
41551         (va_start): Do not mention varargs.h.
41553 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41554             Joseph Myers  <joseph@codesourcery.com>
41556         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41557         link test.
41558         * configure: Regenerated.
41560 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41562         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41563         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41564         conformtest.pl
41566 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41568         * NOTES: Remove.
41569         * Makefile (files-for-dist): Remove NOTES.
41570         (NOTES): Remove rule.
41571         * README: Don't refer to NOTES.
41572         * manual/creature.texi: Don't include macros.texi.
41573         * manual/intro.texi (creature.texi): Remove comment referring to
41574         NOTES.
41576         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41577         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41578         * configure: Regenerated.
41579         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41580         LIBC_TRY_CC_OPTION.
41581         (libc_cv_as_i686): Likewise.
41582         (libc_cv_cc_avx): Likewise.
41583         (libc_cv_cc_sse2avx): Likewise.
41584         (libc_cv_cc_fma4): Likewise.
41585         (libc_cv_cc_novzeroupper): Likewise.
41586         * sysdeps/i386/configure: Regenerated.
41588         [BZ #13883]
41589         * sysdeps/i386/fpu/s_cexp.S: Remove.
41590         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41592         * math/libm-test.inc (cexp_test): Add more tests.
41593         * sysdeps/i386/fpu/libm-test-ulps: Update.
41594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41596 2012-03-21  Allan McRae  <allan@archlinux.org>
41598         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41600 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41602         [BZ #13871]
41603         * math/w_exp2.c: Do not include <float.h>.
41604         (o_threshold, u_threshold): Remove.
41605         (__exp2): Calculate result before checking finiteness and calling
41606         __kernel_standard.
41607         * math/w_exp2f.c: Likewise.
41608         * math/w_exp2l.c: Likewise.
41609         * math/libm-test.inc (exp2_test): Require overflow exception for
41610         1e6 input.
41612         [BZ #3866]
41613         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41614         range of signed 64-bit integers before using fistpll.  Remove
41615         checks for whether integers fit in mantissa bits.
41616         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41617         the range of signed 32-bit integers before using fistpl.  Remove
41618         checks for whether integers fit in mantissa bits.
41619         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41620         (__ieee754_powl): Test for y outside the range of signed 64-bit
41621         integers before using fistpll.  Reduce 64-bit values to 63-bit
41622         ones as needed.
41623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41624         divide-by-zero is raised for zero to large negative powers.
41625         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41626         (__ieee754_powl): Test for y outside the range of signed 64-bit
41627         integers before using fistpll.  Reduce 64-bit values to 63-bit
41628         ones as needed.
41629         * math/libm-test.inc (pow_test): Add more tests.
41631 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41633         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41634         <stdio-common/_itoa.h>.
41635         * debug/segfault.c: Likewise.
41636         * elf/dl-cache.c: Likewise.
41637         * elf/dl-minimal.c: Likewise.
41638         * elf/dl-misc.c: Likewise.
41639         * elf/dl-sysdep.c: Likewise.
41640         * elf/dl-version.c: Likewise.
41641         * elf/rtld.c: Likewise.
41642         * hurd/hurdsock.c: Likewise.
41643         * hurd/lookup-retry.c: Likewise.
41644         * malloc/malloc.c: Likewise.
41645         * malloc/mtrace.c: Likewise.
41646         * nscd/nscd_getgr_r.c: Likewise.
41647         * nscd/nscd_getpw_r.c: Likewise.
41648         * nscd/nscd_getserv_r.c: Likewise.
41649         * posix/getopt_init.c: Likewise.
41650         * posix/wordexp.c: Likewise.
41651         * stdio-common/_itoa.c: Likewise.
41652         * stdio-common/printf_fphex.c: Likewise.
41653         * stdio-common/vfprintf.c: Likewise.
41654         * string/_strerror.c: Likewise.
41655         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41656         * sysdeps/i386/i686/hp-timing.h: Likewise.
41657         * sysdeps/mach/_strerror.c: Likewise.
41658         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41659         * sysdeps/mach/hurd/sethostid.c: Likewise.
41660         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41661         * sysdeps/mach/xpg-strerror.c: Likewise.
41662         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41664         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41665         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41666         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41667         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41668         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41669         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41670         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41671         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41672         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41673         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41674         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41675         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41676         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41677         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41678         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41679         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41680         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41681         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41682         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41684         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41686         * stdio-common/_itoa.h: Moved to ...
41687         * sysdeps/generic/_itoa.h: Here.
41689         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41691         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41692         instead of "_itoa.h" and "_itowa.h".
41693         * stdio-common/vfprintf.: Likewise.
41695 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41697         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41698         <bits/wordsize.h>.
41699         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41700         (__signbit): Likwise.
41701         (llrintf): Likwise.
41702         (llrint): Likwise.
41704 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41706         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41707         __WORDSIZE != 64.
41709 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41711         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41712         OVERFLOW_EXCEPTION_OK.
41713         * math/libm-test.inc ("Philosophy"): Update comment about
41714         exception testing.
41715         (OVERFLOW_EXCEPTION): Define.
41716         (OVERFLOW_EXCEPTION_OK): Likewise.
41717         (INVALID_EXCEPTION_OK): Renumber.
41718         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41719         (IGNORE_ZERO_INF_SIGN): Likewise.
41720         (test_exceptions): Handle FE_OVERFLOW.
41721         (exp10_test): Expect overflow exceptions.
41722         (exp2_test): Likewise.
41723         (expm1_test): Likewise.
41724         (nextafter_test): Likewise.
41725         (pow_test): Likewise.
41726         (scalbn_test): Likewise.
41727         (scalbln_test): Likewise.
41729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41731         * sysdeps/x86_64/bits/atomic.h
41732         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41733         64bit integer.
41734         (atomic_exchange_acq): Likewise.
41735         (__arch_exchange_and_add_body): Likewise.
41736         (__arch_add_body): Likewise.
41737         (atomic_add_negative): Likewise.
41738         (atomic_add_zero): Likewise.
41740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41742         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41743         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41747         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41748         Check __x86_64__ instead of __WORDSIZE.
41750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41752         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41754 2012-03-19  David S. Miller  <davem@davemloft.net>
41756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41758         * sysdeps/sparc/fpu/fenv_private.h: New file.
41759         * sysdeps/sparc/fpu/math_private.h: Use it.
41760         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41761         Remove.
41762         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41763         (libc_feholdexcept_setroundl): Remove.
41764         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41765         Remove.
41766         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41767         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41769 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41771         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41772         int64_t instead of long int.
41773         (INSERT_WORDS64): Likwise.
41775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41777         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41778         _Unwind_GetCFA return to _Unwind_Ptr first.
41780 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41782         [BZ #13629]
41783         * math/s_clog.c: Include <float.h>.
41784         (__clog): Scale large or subnormal inputs.
41785         * math/s_clogf.c: Likewise.
41786         * math/s_clogl.c: Likewise.
41787         * math/s_clog10.c: Include <float.h>.
41788         (M_LOG10_2): Define.
41789         (__clog10): Scale large or subnormal inputs.
41790         * math/s_clog10f.c: Likewise.
41791         * math/s_clog10l.c: Likewise.
41792         * math/libm-test.inc (clog_test): Add more tests.
41793         (clog10_test): Likewise.
41794         * sysdeps/i386/fpu/libm-test-ulps: Update.
41795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41797         [BZ #11451]
41798         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41799         x and y.
41800         * math/libm-test.inc (atan2_test): Add another test.
41802         * Makerules (common-objdir-compile): Remove.
41803         * sysdeps/unix/Makefile (config-generated): Do not add
41804         $(unix-generated) to variable.
41805         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41806         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41807         Remove rule.
41808         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41809         Likewise.
41810         [generic bits/local_lim.h] (before-compile): Do not append to
41811         variable.
41812         [generic bits/local_lim.h] (common-generated): Likewise.
41813         [generic sys/param.h] (before-compile): Do not append to variable.
41814         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41815         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41816         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41817         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41818         include.
41819         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41820         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41821         [generic sys/param.h] ($(addprefix
41822         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41823         [generic sys/param.h] (common-generated): Do not append to
41824         variable.
41825         [generic sys/param.h] (sysdep_headers): Likewise.
41826         [generic bits/errno.h] (before-compile): Do not append to
41827         variable.
41828         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41829         rule.
41830         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41831         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41832         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41833         [generic bits/errno.h] (common-generated): Do not append to
41834         variable.
41835         [generic bits/ioctls.h] (before-compile): Do not append to
41836         variable.
41837         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41838         rule.
41839         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41840         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41841         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41842         rule.
41843         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41844         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41845         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41846         [generic bits/ioctls.h] (common-generated): Do not append to
41847         variable.
41848         [generic sys/syscall.h] (syscall.h): Remove variable.
41849         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41850         rule.
41851         [generic sys/syscall.h] (before-compile): Do not append to
41852         variable.
41853         [generic sys/syscall.h] (common-generated): Likewise.
41854         * sysdeps/unix/errnos-tmpl.c: Remove file.
41855         * sysdeps/unix/errnos.awk: Likewise.
41856         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41857         * sysdeps/unix/ioctls.awk: Likewise.
41858         * sysdeps/unix/mk-local_lim.c: Likewise.
41859         * sysdeps/unix/snarf-ioctls: Likewise.
41861 2012-03-19  Richard Henderson  <rth@twiddle.net>
41863         * sysdeps/i386/fpu/fenv_private.h: New file.
41864         * sysdeps/i386/fpu/math_private.h: Use it.
41865         (math_opt_barrier, math_force_eval): Remove.
41866         (libc_feholdexcept_setround_53bit): Remove.
41867         (libc_feupdateenv_53bit): Remove.
41868         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41869         (math_opt_barrier, math_force_eval): Remove.
41870         (libc_feholdexcept): Remove.
41871         (libc_feholdexcept_setround): Remove.
41872         (libc_fetestexcept, libc_fesetenv): Remove.
41873         (libc_feupdateenv_test): Remove.
41874         (libc_feupdateenv, libc_feholdsetround): Remove.
41875         (libc_feresetround): Remove.
41877         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41878         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41880         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41881         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41882         (libc_feupdateenv_testl): New.
41883         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41884         (libc_feupdateenv_testf): New.
41885         (libc_feupdateenv): Use libc_feupdateenv_test.
41886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41887         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41889         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41890         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41891         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41892         (libc_feresetround_noex): New.
41893         (libc_feresetround_noexf): New.
41894         (libc_feresetround_noexl): New.
41895         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41896         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41897         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41898         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41899         SET_RESTORE_ROUND.
41900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41902         (__cos): Likewise.
41903         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41905         SET_RESTORE_ROUND_NOEX.
41906         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41907         SET_RESTORE_ROUND_NOEXF.
41908         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41909         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41910         (libc_feholdsetroundf): New.
41911         (libc_feresetround, libc_feresetroundf): New.
41913         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41914         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41915         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41917         * sysdeps/generic/math_private.h: Include <fenv.h>.
41918         (default_libc_feholdexcept): New.
41919         (default_libc_feholdexcept_setround): New.
41920         (default_libc_fesetenv, default_libc_feupdateenv): New.
41921         (libc_feholdexcept): Only define if undefined.
41922         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41923         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41924         (libc_feholdexcept_setroundl): Likewise.
41925         (libc_feholdexcept_setround_53bit): Likewise.
41926         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41927         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41928         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41929         (libc_feupdateenv_53bit): Likewise.
41930         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41931         (libc_feholdexcept): Convert from macro to inline function.
41932         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41933         (libc_fesetenv, libc_feupdateenv): Likewise.
41935         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41936         not previously defined.
41937         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41938         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41939         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41940         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41941         * sysdeps/ieee754/flt-32/math_private.h: New file.
41942         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41943         math_private.h below SET_FLOAT_WORD.
41944         (__isnan, __isinf_ns, __finite): Remove.
41945         (__isnanf, __isinf_nsf, __finitef): Remove.
41947 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41951 2012-03-17  David S. Miller  <davem@davemloft.net>
41953         [BZ #6471]
41954         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41955         for 2.16.
41957 2012-03-16  David S. Miller  <davem@davemloft.net>
41959         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41960         warnings.
41962         [BZ #6471]
41963         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41964         properly.
41965         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41966         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41967         sysdep_routines when subdir is sysvipc.
41968         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41969         __getshmlba helper.
41971         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41975         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41976         [__LP64__].
41978 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41980         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41981         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41982         (__lround): Renamed to ...
41983         (__llround): This.  Replace long int with long long int.
41984         Define lround functions as aliases of llround functions.
41985         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41987 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41989         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41990         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41991         adresses to uintptr_t.  Replace "long int" and "unsigned long
41992         int" with "greg_t" on va_arg.
41994 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41996         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41997         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41999         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42000         Move e_machine check before EI_CLASS check.  Handle x32
42001         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42002         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42003         SKIP_EM_IA_64 and include
42004         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42006         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42007         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42008         (add_system_dir): New macro.
42010         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42011         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42013 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42015         [BZ #2551]
42016         [BZ #2552]
42017         [BZ #2553]
42018         [BZ #2554]
42019         [BZ #2562]
42020         [BZ #2563]
42021         [BZ #2565]
42022         [BZ #2566]
42023         [BZ #2576]
42024         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42025         (y0): Likewise.
42026         * math/w_j0f.c (j0f): Likewise.
42027         (y0f): Likewise.
42028         * math/w_j0l.c (__j0l): Likewise.
42029         (__y0l): Likewise.
42030         * math/w_j1.c (j1): Likewise.
42031         (y1): Likewise.
42032         * math/w_j1f.c (j1f): Likewise.
42033         (y1f): Likewise.
42034         * math/w_j1l.c (__j1l): Likewise.
42035         (__y1l): Likewise.
42036         * math/w_jn.c (jn): Likewise.
42037         (yn): Likewise.
42038         * math/w_jnf.c (jnf): Likewise.
42039         (ynf): Likewise.
42040         * math/w_jnl.c (__jnl): Likewise.
42041         (__ynl): Likewise.
42042         * math/libm-test.inc (j0_test): Add more tests.
42043         (j1_test): Likewise.
42044         (jn_test): Likewise.  Add trailing semicolon to existing test.
42045         (y0_test): Likewise.
42046         (y1_test): Likewise.
42047         * sysdeps/i386/fpu/libm-test-ulps: Update.
42048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42050         [BZ #13851]
42051         [BZ #13854]
42052         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42053         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42054         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42056         (__tanl): Set errno for infinite argument.
42057         * sysdeps/i386/fpu/mptan.c: Remove.
42058         * sysdeps/i386/fpu/s_tan.S: Likewise.
42059         * sysdeps/i386/fpu/s_tanl.S: Likewise.
42060         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42061         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42062         * math/libm-test.inc (tan_test): Add more tests and enable more
42063         tests for double and long double.
42064         * sysdeps/i386/fpu/libm-test-ulps: Update.
42065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42067 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
42069         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42070         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42072 2012-03-16  Roland McGrath  <roland@hack.frob.com>
42074         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42075         * configure.in: Use it for both main tree and add-ons.
42076         * configure: Regenerated.
42078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42080         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42082 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
42084         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42085         in comment.
42087         [BZ #13851]
42088         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42089         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42090         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42091         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42093         infinite argument.
42094         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42095         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42096         != 0 for prec == 2.
42097         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42098         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42099         * sysdeps/i386/fpu/s_cosl.S: Likewise.
42100         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42101         * sysdeps/i386/fpu/s_sinl.S: Likewise.
42102         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42103         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42104         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42105         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42106         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42107         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42108         * math/libm-test.inc (cos_test): Add more tests and enable more
42109         tests for long double.
42110         (sin_test): Likewise.
42111         (sincos_test): Likewise.
42112         * sysdeps/i386/fpu/libm-test-ulps: Update.
42113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42115 2012-03-16  David S. Miller  <davem@davemloft.net>
42117         * sysdeps/sparc/fpu/math_private.h: New file.
42119 2012-03-15  David S. Miller  <davem@davemloft.net>
42121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42122         file.
42123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42125         file.
42126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42132         sysdep routines.
42133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42135         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42136         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42138         * sysdeps/sparc/sparc-ifunc.h: New file.
42139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42140         sparc-ifunc.h
42141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42143         Likewise.
42144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42145         Likewise.
42146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42150         Likewise.
42151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42156         Likewise.
42157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42158         Likewise.
42159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42166         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42178         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42180         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42184 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42186         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42187         scaling.
42188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42190 2012-03-15  Andreas Jaeger  <aj@suse.de>
42192         [BZ #13852]
42193         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42194         ieee754/flt-32 implementation for sin, cos and sincos.
42195         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42196         * sysdeps/i386/fpu/s_cosf.S: Likewise.
42197         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42198         * sysdeps/i386/fpu/s_sinf.S: Likewise.
42199         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42200         ieee754/flt-32 implementation for tan.
42202         * math/libm-test.inc (cos_test): Enable some large input tests for
42203         float as well
42204         (sin_test): Likewise.
42205         (sincos_test): Likewise.
42206         (tan_test): Add tests for large input.
42208         * sysdeps/i386/fpu/libm-test-ulps: Update.
42210 2012-03-15  Andreas Jaeger  <aj@suse.de>
42212         [BZ #13658]
42213         * math/libm-test.inc (cos_test): Add more test cases.
42214         (sin_test): Likewise.
42215         (sincos_test): Likewise.
42217 2012-03-15  Andreas Jaeger  <aj@suse.de>
42219         [BZ #13837]
42220         * math/libm-test.inc (cos_test): Add a test case for large input
42221         value.
42222         (sin_test): Likewise.
42223         (sincos_test): Likewise.
42225 2012-03-15  Andreas Jaeger  <aj@suse.de>
42226             Joseph Myers  <joseph@codesourcery.com>
42228         [BZ #13658]
42229         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42230         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42231         * sysdeps/i386/fpu/branred.c: Likewise.
42232         * sysdeps/i386/fpu/dosincos.c: Likewise.
42233         * sysdeps/i386/fpu/mpa.c: Likewise.
42234         * sysdeps/i386/fpu/s_cos.S: Likewise.
42235         * sysdeps/i386/fpu/s_sin.S: Likewise.
42236         * sysdeps/i386/fpu/s_sincos.S: Likewise.
42237         * sysdeps/i386/fpu/sincos32.c: Likewise.
42239         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42240         Define.
42241         (libc_feupdateenv_53bit): Define.
42242         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42243         Define.
42244         (libc_feupdateenv_53bit): Define.
42246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42247         53 bit (without extend i386 double precision).
42249         * math/libm-test.inc (sincos_test): Add tests for large input.
42250         (sin): Likewise.
42251         (cos): Likewise.
42253         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42255 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
42257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42259 2012-03-15  David S. Miller  <davem@davemloft.net>
42261         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42262         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42263         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42264         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42277         file.
42278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42280         file.
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42283         file.
42284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42286         file.
42287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42288         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42289         fmin/fmax sysdep routines.
42290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42292 2012-03-14  David S. Miller  <davem@davemloft.net>
42294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42317         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42321         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42322         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42323         routines.
42324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42325         file.
42326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42328         file.
42329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42331         file.
42332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42334         file.
42335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42337         file.
42338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42340         file.
42341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42342         file.
42343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42344         file.
42345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42346         file.
42347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42348         New file.
42349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42350         file.
42351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42352         file.
42353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42355         file.
42356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42358         file.
42359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42361         file.
42362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42364         VIS3 routines.
42366         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42367         New file.
42369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42371         * sysdeps/sparc/configure.in: New file.
42372         * sysdeps/sparc/configure: Generate.
42373         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42374         * configure: Regenerate.
42375         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42376         * config.make.in (have-as-vis3): New.
42377         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42378         available use -Av9d instead of -Av9a.
42379         * sysdeps/sparc/sparc64/Makefile: Likewise.
42380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42382         New file.
42383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42384         file.
42385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42386         New file.
42387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42388         file.
42389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42395         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42396         fzeros/fnegs to load 0x80000000 into a float register instead of
42397         using the stack.
42398         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42400 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42403         bits/syscall.h.
42404         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42405         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42406         ($(inst_includedir)/bits/syscall.h): Remove rule.
42407         ($(objpfx)bits/syscall.d): Include instead of
42408         $(objpfx)syscall-list.d.
42409         (generated): Change syscall-list.h and syscall-list.d to
42410         bits/syscall.h and bits/syscall.d.
42412 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42414         [BZ #13846]
42415         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42417 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42419         [BZ #13841]
42420         * math/s_csqrt.c: Include <float.h>.
42421         (__csqrt): Scale large or subnormal inputs.
42422         * math/s_csqrtf.c: Likewise.
42423         * math/s_csqrtl.c: Likewise.
42424         * math/libm-test.inc (csqrt_test): Add more tests.
42425         * sysdeps/i386/fpu/libm-test-ulps: Update.
42426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42428         [BZ #13840]
42429         * math/libm-test.inc (hypot_test): Add more tests.
42431 2012-03-13  David S. Miller  <davem@davemloft.net>
42433         [BZ #13840]
42434         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42435         double-precision for the calculation instead of scaling.
42437 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42439         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42440         manipulate bits before adding and subtracting TWO52[sx].
42441         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42443         Likewise.
42444         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42446 2012-03-13  David S. Miller  <davem@davemloft.net>
42448         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42449         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42451         rtld-global-offsets.h
42452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42454         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42455         large parameters.
42457         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42459         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42460         'err' in the ifdef scope in which it is actually used.
42462         * nss/nss_db/db-init.c: Include string.h
42464 2012-03-12  David S. Miller  <davem@davemloft.net>
42466         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42467         masking out of the most significant byte of random value used.
42468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42469         Fix coding style in previous change.
42471         * sysdeps/unix/sysv/linux/kernel-features.h
42472         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42473         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42474         expression.
42475         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42476         later.
42478 2012-03-11  David S. Miller  <davem@davemloft.net>
42480         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42481         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42482         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42483         for 'resultvar' otherwise things get truncated on 64-bit.
42485         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42486         Fix masking out of the most significant byte of random value used.
42488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42490 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42494 2012-03-09  David S. Miller  <davem@davemloft.net>
42496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42497         variables with appropriate CPP guards.
42498         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42499         from the frame pointer, not the stack pointer.  Correct layout
42500         comments.  Fix test on resulting framesize and the management of
42501         the outregs buffer for pltexit.  Preserve floating point return
42502         values across _dl_call_pltexit call.
42503         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42504         framesize and the management of the outregs buffer for pltexit.
42505         Preserve floating point return values across _dl_call_pltexit
42506         call.
42507         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42508         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42509         (la_sparc64_gnu_pltexit): New functions.
42510         (print_exit): Fix format string for return register value.
42512 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42514         * sunrpc/Makefile (others): Add rpcgen.
42515         ($(objpfx)rpcgen): Remove special build rule and dependency on
42516         libc.
42517         * sunrpc/rpcgen.c: New file.
42519 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42521         [BZ #13673]
42522         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42523         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42524         * sysdeps/i386/crti.S: Likewise.
42525         * sysdeps/i386/crtn.S: Likewise.
42526         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42527         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42528         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42529         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42530         * sysdeps/sh/crti.S: Likewise.
42531         * sysdeps/sh/crtn.S: Likewise.
42532         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42534         [BZ #13673]
42535         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42536         with URL.
42537         * locale/programs/locfile-kw.gperf: Likewise.
42538         * locale/programs/charmap-kw.h: Regenerated.
42539         * locale/programs/locfile-kw.h: Likewise.
42541         [BZ #13673]
42542         * intl/plural.y: Replace FSF snail mail address with URL.
42543         * intl/plural.c: Regenerated.
42545 2012-03-09  Richard Henderson  <rth@twiddle.net>
42547         * include/math_private.h: Remove file.
42548         * math/math_private.h: Move file ...
42549         * sysdeps/generic/math_private.h: ... here.
42551         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42552         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42553         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42555         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42556         and <math_private.h>.
42557         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42558         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42559         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42560         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42561         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42572         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42575         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42578         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42579         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42583         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42584         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42589         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42591         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42594         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42609         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42611         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42612         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42613         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42614         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42615         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42620         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42621         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42624         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42625         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42630         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42634         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42636         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42637         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42638         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42639         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42643         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42644         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42645         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42646         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42647         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42648         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42649         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42650         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42651         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42652         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42654         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42655         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42657         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42658         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42659         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42660         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42661         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42662         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42663         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42664         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42665         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42667         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42668         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42669         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42670         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42671         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42672         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42673         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42674         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42675         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42676         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42677         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42678         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42679         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42680         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42681         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42682         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42683         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42684         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42685         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42686         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42687         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42688         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42689         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42690         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42691         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42692         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42693         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42694         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42695         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42696         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42697         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42698         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42699         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42700         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42701         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42702         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42703         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42704         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42705         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42706         * sysdeps/ieee754/k_standard.c: Likewise.
42707         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42750         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42759         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42762         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42771         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42773         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42779         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42780         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42783         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42784         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42786         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42787         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42788         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42789         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42790         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42791         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42792         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42793         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42794         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42795         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42797         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42798         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42799         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42800         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42801         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42802         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42803         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42804         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42805         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42806         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42808         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42809         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42811         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42812         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42816         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42820         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42821         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42822         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42823         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42824         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42825         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42826         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42827         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42828         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42829         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42830         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42831         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42832         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42833         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42834         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42835         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42836         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42837         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42838         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42839         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42840         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42841         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42842         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42843         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42844         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42845         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42846         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42847         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42848         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42849         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42850         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42851         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42852         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42853         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42854         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42855         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42856         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42857         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42858         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42859         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42860         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42861         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42862         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42863         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42864         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42865         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42866         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42867         * sysdeps/ieee754/s_lib_version.c: Likewise.
42868         * sysdeps/ieee754/s_matherr.c: Likewise.
42869         * sysdeps/ieee754/s_signgam.c: Likewise.
42870         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42871         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42872         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42873         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42874         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42875         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42876         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42877         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42878         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42879         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42880         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42881         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42882         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42883         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42884         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42885         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42886         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42887         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42888         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42890         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42892 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42894         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42895         * sunrpc/rpc_main.c: Likewise.
42896         * sunrpc/rpc_svcout.c: Likewise.
42898 2012-03-09  David S. Miller  <davem@davemloft.net>
42900         * include/math_private.h: New file.
42902 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42904         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42905         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42906         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42907         from <bits/socket_type.h>.
42908         (enum __socket_type): Don't define here.
42909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42911         bits/socket_type.h.
42913         [BZ #13566]
42914         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42915         checking __USE_GNU.
42917         * Makerules ($(inst_includedir)/%.h): New rule.
42918         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42919         (install-others): Remove variable setting.
42920         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42922 2012-03-08  Richard Henderson  <rth@twiddle.net>
42924         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42925         from macro to inline function; merge with the
42926         !__LIBC_INTERNAL_MATH_INLINES version.
42927         (__ieee754_sqrtf): Likewise.
42929         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42930         to inline function.
42931         (__rintf, __floor, __floorf): Likewise.
42933         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42934         macro to inline function.
42935         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42938         not <math/math_private.h>.
42940 2012-03-08  David S. Miller  <davem@davemloft.net>
42942         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42943         copyright year.
42944         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42946 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42948         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42949         normalization.
42950         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42951         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42953 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42955         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42956         be defined individually, they must be defined as a block.  Define
42957         S for printing a string instead of hidint the different by using a
42958         macro for adding the 'l'.
42959         * stdio-common/tst-fphex-wide.c: Adjust.
42961 2012-03-07  Marek Polacek  <polacek@redhat.com>
42963         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42965 2012-03-08  Marek Polacek  <polacek@redhat.com>
42967         [BZ #13806]
42968         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42969         * stdio-common/tst-fphex.c: Define a few macros to make the
42970         test reusable.  Use them.
42971         * stdio-common/tst-fphex-wide.c: New file.
42973 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42975         [BZ #6911]
42976         * manual/macros.texi (gnusystems): New macro.
42977         (nongnusystems): Likewise.
42978         (gnulinuxhurdsystems): Likewise.
42979         (gnuhurdsystems): Likewise..
42980         (gnulinuxsystems): Likewise.
42981         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42982         variants of the GNU system, not "GNU system".
42983         * manual/conf.texi: Likewise.
42984         * manual/errno.texi: Likewise.  Update example of errno macro
42985         expansion.
42986         * manual/filesys.texi: Likewise.
42987         (getumask): Document as specific to GNU/Hurd.
42988         * manual/install.texi: Likewise.  Reword some references to
42989         GNU/Linux.
42990         * manual/intro.texi: Likewise.
42991         * manual/io.texi: Likewise.
42992         (File Name Portability): Detail which constraints are inapplicable
42993         to all GNU systems and which are only inapplicable to GNU/Hurd.
42994         * manual/job.texi: Likewise.
42995         * manual/llio.texi: Likewise.
42996         (O_NOCTTY): Document as present on GNU/Linux.
42997         * manual/maint.texi: Likewise.
42998         * manual/memory.texi: Likewise.
42999         * manual/pattern.texi: Likewise.
43000         * manual/pipe.texi: Likewise.
43001         * manual/process.texi: Likewise.
43002         * manual/resource.texi: Likewise.
43003         (RUSAGE_CHILDREN): Remove statement about specifying a particular
43004         child on GNU/Hurd.
43005         * manual/setjmp.texi: Likewise.
43006         * manual/signal.texi: Likewise.
43007         * manual/startup.texi: Likewise.
43008         * manual/stdio.texi: Likewise.
43009         * manual/terminal.texi: Likewise.
43010         (ONLCR): Document as POSIX.
43011         (OXTABS): Document availability on GNU/Linux as XTABS.
43012         (ONOEOT): Document availability separately from other bits.
43013         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43014         * manual/time.texi: Likewise.
43015         * manual/users.texi: Likewise.
43016         * INSTALL: Regenerated.
43017         * sysdeps/gnu/errlist.c: Regenerated.
43019         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43020         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43021         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
43022         puts.
43023         * configure: Regenerated.
43025 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
43027         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43028         default includes instead of AC_HEADER_CHECK.
43029         * sysdeps/i386/configure: Regenerated.
43031         [BZ #10716]
43032         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43033         * math/s_cacoshf.c (__cacoshf): Likewise.
43034         * math/s_cacoshl.c (__cacoshl): Likewise.
43035         * math/s_casinh.c (__casinh): Set signs of result from argument.
43036         * math/s_casinhf.c (__casinhf): Likewise.
43037         * math/s_casinhl.c (__casinhl): Likewise.
43038         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43039         (casinh_test): Add more tests.
43040         * sysdeps/i386/fpu/libm-test-ulps: Update.
43041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43043 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
43045         * po/zh_TW.po: Update from translation team.
43047         * login/Makefile (distribute): Remove variable.
43048         * catgets/Makefile: Likewise.
43049         * mach/Makefile: Likewise.
43050         * malloc/Makefile: Likewise.
43051         * misc/Makefile: Likewise.
43052         * iconv/Makefile: Likewise.
43053         * nscd/Makefile: Likewise.
43054         * hurd/Makefile: Likewise.
43055         * manual/Makefile: Likewise.
43056         * locale/Makefile: Likewise.
43057         * intl/Makefile: Likewise.
43058         * conform/Makefile: Likewise.
43059         * nss/Makefile: Likewise.
43060         * time/Makefile: Likewise.
43061         * soft-fp/Makefile: Likewise.
43062         * dirent/Makefile: Likewise.
43063         * gmon/Makefile: Likewise.
43064         * po/Makefile: Likewise.
43065         * rt/Makefile: Likewise.
43066         * socket/Makefile: Likewise.
43067         * math/Makefile: Likewise.
43068         * signal/Makefile: Likewise.
43069         * debug/Makefile: Likewise.
43070         * elf/Makefile: Likewise.
43071         * timezone/Makefile: Likewise.
43072         * stdlib/Makefile: Likewise.
43073         * iconvdata/Makefile: Likewise.
43074         * sunrpc/Makefile: Likewise.
43075         * io/Makefile: Likewise.
43076         * argp/Makefile: Likewise.
43077         * inet/Makefile: Likewise.
43078         * hesiod/Makefile: Likewise.
43079         * grp/Makefile: Likewise.
43080         * csu/Makefile: Likewise.
43081         * wctype/Makefile: Likewise.
43082         * crypt/Makefile: Likewise.
43083         * libio/Makefile: Likewise.
43084         * string/Makefile: Likewise.
43085         * nis/Makefile: Likewise.
43086         * resolv/Makefile: Likewise.
43087         * stdio-common/Makefile: Likewise.
43088         * wcsmbs/Makefile: Likewise.
43089         * dlfcn/Makefile: Likewise.
43090         * posix/Makefile: Likewise.
43092         [BZ #6959]
43093         * timezone/Makefile: Don't install timezone files, just the programs
43094         and scripts.
43096 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
43098         * nss/databases.def: Add missing gshadow entry.
43100         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
43102 2012-03-06  Marek Polacek  <polacek@redhat.com>
43104         [BZ #13726]
43105         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43106         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43107         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43108         * stdio-common/tst-long-dbl-fphex.c: New file.
43110 2012-03-06  David S. Miller  <davem@davemloft.net>
43112         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43113         (set_obp_int): New function.
43114         (get_obp_int): New function.
43115         (__get_clockfreq_via_dev_openprom): Likewise.
43116         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43117         Avoid unused variable warnings on 'val' and use builtin_expect.
43118         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43119         __builtin_expect.
43120         (INLINE_CLONE_SYSCALL): Likewise.
43122 2012-03-05  David S. Miller  <davem@davemloft.net>
43124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43126 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
43128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43130         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43131         only for |x| >= 40.
43132         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43134 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
43136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43137         Replace gettimeofday with __vdso_gettimeofday.
43139         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43140         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43141         __vdso_clock_gettime and __vdso_getcpu.
43143         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43144         time with __vdso_time.
43146 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43148         * manual/lang.texi (size_t): Note types to which size_t may be
43149         equivalent with the GNU C Library, but do not describe when
43150         differences between them are significant.
43152 2012-03-05  Andreas Jaeger  <aj@suse.de>
43154         * sysdeps/i386/fpu/libm-test-ulps: Update.
43156 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
43158         [BZ #3976]
43159         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43160         (__ieee754_pow): Save and restore rounding mode and use
43161         round-to-nearest for main computations.
43162         * math/libm-test.inc (pow_test_tonearest): New function.
43163         (pow_test_towardzero): Likewise.
43164         (pow_test_downward): Likewise.
43165         (pow_test_upward): Likewise.
43166         (main): Call the new functions.
43167         * sysdeps/i386/fpu/libm-test-ulps: Update.
43168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43170         [BZ #3976]
43171         * math/libm-test.inc (cosh_test_tonearest): New function.
43172         (cosh_test_towardzero): Likewise.
43173         (cosh_test_downward): Likewise.
43174         (cosh_test_upward): Likewise.
43175         (sinh_test_tonearest): Likewise.
43176         (sinh_test_towardzero): Likewise.
43177         (sinh_test_downward): Likewise.
43178         (sinh_test_upward): Likewise.
43179         (main): Call the new functions.
43180         * sysdeps/i386/fpu/libm-test-ulps: Update.
43181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43183 2012-03-05  Tom de Vries  <tom@codesourcery.com>
43185         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43186         default stack guard is set in last bytes.
43187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43189 2012-03-05  Kees Cook  <keescook@chromium.org>
43191         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43193         [BZ #13656]
43194         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43195         possibly allocate from heap instead of stack.
43196         * stdio-common/bug-vfprintf-nargs.c: New file.
43197         * stdio-common/Makefile (tests): Add nargs overflow test.
43199 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
43201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43203 2012-03-03  Marek Polacek  <polacek@redhat.com>
43205         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43206         * math/math_private.h: Likewise.
43207         * stdlib/tst-strtod.c: Likewise.
43208         * sysdeps/i386/i486/bits/atomic.h: Likewise.
43209         * sysdeps/x86_64/bits/atomic.h: Likewise.
43211 2012-03-02  David S. Miller  <davem@davemloft.net>
43213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43217         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43218         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43219         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43220         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43222 2012-03-02  Roland McGrath  <roland@hack.frob.com>
43224         [BZ #13792]
43225         * manual/examples/README: New file, says the example source files
43226         can be used under GPL>=2.
43227         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43228         line containing just "*/".
43229         * manual/examples/add.c: Add copyright header (GPL>=2).
43230         * manual/examples/argp-ex1.c: Likewise.
43231         * manual/examples/argp-ex2.c: Likewise.
43232         * manual/examples/argp-ex3.c: Likewise.
43233         * manual/examples/argp-ex4.c: Likewise.
43234         * manual/examples/atexit.c: Likewise.
43235         * manual/examples/db.c: Likewise.
43236         * manual/examples/dir.c: Likewise.
43237         * manual/examples/dir2.c: Likewise.
43238         * manual/examples/execinfo.c: Likewise.
43239         * manual/examples/filecli.c: Likewise.
43240         * manual/examples/filesrv.c: Likewise.
43241         * manual/examples/fmtmsgexpl.c: Likewise.
43242         * manual/examples/genpass.c: Likewise.
43243         * manual/examples/inetcli.c: Likewise.
43244         * manual/examples/inetsrv.c: Likewise.
43245         * manual/examples/isockad.c: Likewise.
43246         * manual/examples/longopt.c: Likewise.
43247         * manual/examples/memopen.c: Likewise.
43248         * manual/examples/memstrm.c: Likewise.
43249         * manual/examples/mkfsock.c: Likewise.
43250         * manual/examples/mkisock.c: Likewise.
43251         * manual/examples/mygetpass.c: Likewise.
43252         * manual/examples/pipe.c: Likewise.
43253         * manual/examples/popen.c: Likewise.
43254         * manual/examples/rprintf.c: Likewise.
43255         * manual/examples/search.c: Likewise.
43256         * manual/examples/select.c: Likewise.
43257         * manual/examples/setjmp.c: Likewise.
43258         * manual/examples/sigh1.c: Likewise.
43259         * manual/examples/sigusr.c: Likewise.
43260         * manual/examples/stpcpy.c: Likewise.
43261         * manual/examples/strdupa.c: Likewise.
43262         * manual/examples/strftim.c: Likewise.
43263         * manual/examples/strncat.c: Likewise.
43264         * manual/examples/subopt.c: Likewise.
43265         * manual/examples/swapcontext.c: Likewise.
43266         * manual/examples/termios.c: Likewise.
43267         * manual/examples/testopt.c: Likewise.
43268         * manual/examples/testpass.c: Likewise.
43269         * manual/examples/timeval_subtract.c: Likewise.
43271         [BZ #13792]
43272         * manual/time.texi (Elapsed Time): Move timeval_subtract example
43273         function to ...
43274         * manual/timeval_subtract.c.texi: ... here, new file.
43276 2012-03-02  David S. Miller  <davem@davemloft.net>
43278         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43280 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43282         [BZ #3976]
43283         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43284         (__sin): Save and restore rounding mode and use round-to-nearest
43285         for all computations.
43286         (__cos): Save and restore rounding mode and use round-to-nearest
43287         for all computations.
43288         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43289         <fenv.h>.
43290         (tan): Save and restore rounding mode and use round-to-nearest for
43291         all computations.
43292         * math/libm-test.inc (cos_test_tonearest): New function.
43293         (cos_test_towardzero): Likewise.
43294         (cos_test_downward): Likewise.
43295         (cos_test_upward): Likewise.
43296         (sin_test_tonearest): Likewise.
43297         (sin_test_towardzero): Likewise.
43298         (sin_test_downward): Likewise.
43299         (sin_test_upward): Likewise.
43300         (tan_test_tonearest): Likewise.
43301         (tan_test_towardzero): Likewise.
43302         (tan_test_downward): Likewise.
43303         (tan_test_upward): Likewise.
43304         (main): Call the new functions.
43305         * sysdeps/i386/fpu/libm-test-ulps: Update.
43306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43308         [BZ #10135]
43309         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43310         small n, then large n, before computing and testing k+n.
43311         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43313         Likewise.
43314         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43315         Likewise.
43316         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43317         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43318         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43319         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43320         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43321         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43322         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43323         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43324         * math/libm-test.inc (scalbn_test): Add more tests.
43325         (scalbln_test): Likewise.
43327         * manual/filesys.texi (mode_t): Describe constraints on size and
43328         signedness, not exact equivalence to a particular type.
43329         (ino_t): Likewise.
43330         (ino64_t): Likewise.
43331         (dev_t): Likewise.
43332         (nlink_t): Likewise.
43333         (blkcnt_t): Likewise.
43334         (blkcnt64_t): Likewise.
43335         * manual/llio.texi (off_t): Likewise.
43337         [BZ #3976]
43338         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43339         (__ieee754_exp): Save and restore rounding mode and use
43340         round-to-nearest for all computations.
43341         * math/libm-test.inc (exp_test_tonearest): New function.
43342         (exp_test_towardzero): Likewise.
43343         (exp_test_downward): Likewise.
43344         (exp_test_upward): Likewise.
43345         (main): Call the new functions.
43346         * sysdeps/i386/fpu/libm-test-ulps: Update.
43347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43349 2012-03-01  Chris Demetriou  <cgd@google.com>
43351         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43352         have predictable order.
43354 2012-03-01  David S. Miller  <davem@davemloft.net>
43356         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43358         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43359         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43360         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43361         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43363         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43364         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43365         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43367         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43368         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43369         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43370         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43371         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43375         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43376         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43377         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43379         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43380         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43381         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43382         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43383         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43385         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43386         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43387         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43388         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43389         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43390         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43392         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43393         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43394         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43395         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43396         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43397         * sysdeps/sparc/elf/configure: Regenerated.
43399 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43401         * configure.in (AS, LD): Require binutils 2.20 or later.
43402         * configure: Regenerated.
43403         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43404         as required minimum version.
43405         * INSTALL: Regenerated.
43407         [BZ #2541]
43408         [BZ #4108]
43409         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43410         before squaring exponent.
43411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43412         bottom long double and 27 bits of top long double before squaring
43413         exponent.
43414         * math/libm-test.inc (erfc_test): Add more tests.
43415         * sysdeps/i386/fpu/libm-test-ulps: Update.
43416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43419 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43421         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43422         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43423         containing bit-fields.
43424         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43425         * soft-fp/single.h (_FP_UNION_S): Likewise.
43426         * soft-fp/double.h (_FP_UNION_D): Likewise.
43428 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43430         [BZ #13786]
43431         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43432         not include ../strcmp.S.
43433         [USE_AS_STRNCASECMP_L]: Likewise.
43434         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43435         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43436         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43437         (__strncasecmp_l_ia32): Define as alias to
43438         __strncasecmp_l_nonascii.
43440         [BZ #5794]
43441         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43442         * sysdeps/i386/fpu/libm-test-ulps: Update.
43443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43445         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43448 2012-02-29  Jeff Law  <law@redhat.com>
43450         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43451         out of bounds read.
43453 2012-02-29  Marek Polacek  <polacek@redhat.com>
43455         [BZ #13706]
43456         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43457         * elf/Makefile: Add rules to run tst-unused-dep.out.
43459 2012-02-28  David S. Miller  <davem@davemloft.net>
43461         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43462         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43463         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43464         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43465         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43466         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43468 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43470         * math/libm-test.inc (llround_test): Move one test from
43471         lround_test.  Use TEST_f_L in moved test.
43472         (lround_test): Move misplaced test to llround_test.  Add testcase
43473         from bug 2561.
43475 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43477         * sysdeps/x86_64/fpu/e_expf.S: New file.
43478         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43480 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43482         [BZ #13637]
43483         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43484         of remain_len that may cause incomplete multi-byte character and
43485         false match.
43486         * posix/bug-regex33.c: New file.
43487         * posix/Makefile (tests): Add bug-regex33.
43489 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43491         * manual/macros.texi: New file.
43492         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43493         * manual/libc.texinfo: Include macros.texi.
43494         * manual/creatute.texi: Likewise.
43495         * manual/install.texi: Likewise.
43496         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43497         @glibcadj{} in references to the GNU C Library.
43498         * manual/charset.texi: Likewise.
43499         * manual/conf.texi: Likewise.
43500         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43501         when not using those macros.
43502         * manual/creature.texi: Likewise.
43503         * manual/crypt.texi: Likewise.
43504         * manual/errno.texi: Likewise.
43505         * manual/filesys.texi: Likewise.
43506         * manual/header.texi: Likewise.
43507         * manual/install.texi: Likewise.
43508         * manual/intro.texi: Likewise.
43509         * manual/io.texi: Likewise.
43510         * manual/job.texi: Likewise.
43511         * manual/lang.texi: Likewise.
43512         * manual/libc.texiinfo: Likewise.
43513         * manual/llio.texi: Likewise.
43514         * manual/locale.texi: Likewise.
43515         * manual/maint.texi: Likewise.
43516         * manual/math.texi: Likewise.
43517         * manual/memory.texi: Likewise.
43518         * manual/message.texi: Likewise.
43519         * manual/nss.texi: Likewise.
43520         * manual/pattern.texi: Likewise.
43521         * manual/process.texi: Likewise.
43522         * manual/resource.texi: Likewise.
43523         * manual/search.texi: Likewise.
43524         * manual/setjmp.texi: Likewise.
43525         * manual/signal.texi: Likewise.
43526         * manual/socket.texi: Likewise.
43527         * manual/startup.texi: Likewise.
43528         * manual/stdio.texi: Likewise.
43529         * manual/string.texi: Likewise.
43530         * manual/sysinfo.texi: Likewise.
43531         * manual/syslog.texi: Likewise.
43532         * manual/terminal.texi: Likewise.
43533         * manual/time.texi: Likewise.
43534         * manual/users.texi: Likewise.
43535         * INSTALL: Regenerated.
43536         * NOTES: Regenerated.
43537         * sysdeps/gnu/errlist.c: Regenerated.
43539 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43541         * include/dirent.h: Include <dirstream.h> before
43542         <dirent/dirent.h>.
43544 2012-02-28  David S. Miller  <davem@davemloft.net>
43546         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43547         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43548         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43549         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43551 2012-02-27  David S. Miller  <davem@davemloft.net>
43553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43555         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43556         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43559         frame pointer instead of stack pointer relative arg slot.
43560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43561         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43562         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43564 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43566         [BZ #3992]
43567         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43569 2012-02-27  David S. Miller  <davem@davemloft.net>
43571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43575         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43576         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43577         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43578         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43580 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43582         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43583         later.  Allow versions 5-9.
43584         * configure: Regenerated.
43585         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43586         required minimum version and 4.6 as recommended version.  Do not
43587         mention bugs in GCC 2.7 and 2.8.
43588         * INSTALL: Regenerated.
43590 2012-02-27  David S. Miller  <davem@davemloft.net>
43592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43596         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43597         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43598         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43599         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43601         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43602         manipulate bits before adding and subtracting TWO112[sx].
43603         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43605 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43607         [BZ #13775]
43608         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43609         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43610         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43611         being in POSIX, because they are in 1003.1-2008.
43613         * rt/tst-aio.c: Include <fcntl.h>.
43614         * rt/tst-aio7.c: Likewise.
43615         * rt/tst-aio64.c: Likewise.
43617         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43619 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43621         * manual/install.texi (--with-headers): Describe headers as
43622         interface headers, not private headers.
43623         (Specific advice for GNU/Linux systems): Describe use of headers
43624         from "make headers_install", not private headers from older
43625         kernels.
43626         * INSTALL: Regenerated.
43627         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43628         Change to 2.6.19.
43629         * sysdeps/unix/sysv/linux/configure: Regenerated.
43631         * manual/llio.texi (fclean): Remove documentation.
43633         * manual/Makefile (libc-texi-generated): New variable.  Include
43634         version.texi.
43635         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43636         $(libc-texi-generated), not duplicated list of files.
43637         (version.texi, stamp-version): New rules.
43638         (realclean): Remove $(libc-texi-generated), not individual files
43639         from that list.  Do not remove dir-add.texinfo.
43640         * manual/libc.texinfo: Comment out uses of edition numbers and
43641         references to printed manual.  Remove last-updated dates.
43642         (EDITION): Comment out.
43643         (ISBN): Likewise.
43644         (VERSION, UPDATED): Remove.
43645         (version.texi): Include.
43647 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43649         * sysdeps/posix/spawni.c: Include <signal.h>.
43650         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43651         * sysdeps/pthread/aio_fsync.c: Likewise.
43653 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43655         * conform/Makefile (tests): Run only when not cross-compiling and
43656         when fast-check is not defined.
43658         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43659         * conform/data/limits.h-data: Fixes for POSIX2008.
43660         * conform/run-conformtest.sh: Run all tests.
43661         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43662         headers.
43663         * include/bits/dlfcn.h: Likewise.
43664         * include/langinfo.h: Likewise.
43665         * include/monetary.h: Likewise.
43666         * include/sys/poll.h: Likewise.
43668         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43669         for __USE_GNU.
43670         * posix/spawn.h: Define __need_sigset_t.
43671         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43672         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43673         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43674         to get sigevent_t only.
43675         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43676         only for __USE_GNU.
43677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43678         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43679         process_vm_writev only for __USE_GNU.
43680         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43682         * conform/Makefile: For now ignore errors from run-conformtest.
43683         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43684         POSIX to avoid namespace pollution.  Don't prepend headers.
43685         * conform/data/aio.h-data: Fixes for POSIX testing.
43686         * conform/data/fcntl.h-data: Likewise.
43687         * conform/data/glob.h-data: Likewise.
43688         * conform/data/grp.h-data: Likewise.
43689         * conform/data/pthread.h-data: Likewise.
43690         * conform/data/pwd.h-data: Likewise.
43691         * conform/data/signal.h-data: Likewise.
43692         * conform/data/spawn.h-data: Likewise.
43693         * conform/data/stdio.h-data: Likewise.
43694         * conform/data/stdlib.h-data: Likewise.
43695         * conform/data/stropts.h-data: Likewise.
43696         * conform/data/sys/mman.h-data: Likewise.
43697         * conform/data/sys/stat.h-data: Likewise.
43698         * conform/data/sys/types.h-data: Likewise.
43699         * conform/data/sys/wait.h-data: Likewise.
43700         * conform/data/time.h-data: Likewise.
43701         * conform/data/unistd.h-data: Likewise.
43702         * conform/data/utime.h-data: Likewise.
43704         * io/sys/stat.h: fchmod was always in POSIX.
43705         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43706         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43707         * rt/aio.h: Define __need_timespec before including <time.h>.
43708         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43709         struct.  Add forward declaration of pthread_attr_t and use it in
43710         sigevent.
43711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43712         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43713         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43714         always remove CLK_TCK definition.
43716 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43718         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43720 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43722         * conform/run-conformtest.sh: New file.
43723         * conform/Makefile: Run run-conformtest for tests.
43724         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43725         support.
43727         * conform/data/uchar.h-data: New file.
43728         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43729         * conform/data/arpa/inet.h-data: Likewise.
43730         * conform/data/assert.h-data: Likewise.
43731         * conform/data/complex.h-data: Likewise.
43732         * conform/data/cpio.h-data: Likewise.
43733         * conform/data/ctype.h-data: Likewise.
43734         * conform/data/dirent.h-data: Likewise.
43735         * conform/data/dlfcn.h-data: Likewise.
43736         * conform/data/errno.h-data: Likewise.
43737         * conform/data/fcntl.h-data: Likewise.
43738         * conform/data/float.h-data: Likewise.
43739         * conform/data/fmtmsg.h-data: Likewise.
43740         * conform/data/fnmatch.h-data: Likewise.
43741         * conform/data/ftw.h-data: Likewise.
43742         * conform/data/glob.h-data: Likewise.
43743         * conform/data/grp.h-data: Likewise.
43744         * conform/data/iconv.h-data: Likewise.
43745         * conform/data/inttypes.h-data: Likewise.
43746         * conform/data/langinfo.h-data: Likewise.
43747         * conform/data/libgen.h-data: Likewise.
43748         * conform/data/limits.h-data: Likewise.
43749         * conform/data/locale.h-data: Likewise.
43750         * conform/data/math.h-data: Likewise.
43751         * conform/data/monetary.h-data: Likewise.
43752         * conform/data/mqueue.h-data: Likewise.
43753         * conform/data/ndbm.h-data: Likewise.
43754         * conform/data/net/if.h-data: Likewise.
43755         * conform/data/netdb.h-data: Likewise.
43756         * conform/data/netinet/in.h-data: Likewise.
43757         * conform/data/nl_types.h-data: Likewise.
43758         * conform/data/poll.h-data: Likewise.
43759         * conform/data/pthread.h-data: Likewise.
43760         * conform/data/pwd.h-data: Likewise.
43761         * conform/data/regex.h-data: Likewise.
43762         * conform/data/sched.h-data: Likewise.
43763         * conform/data/search.h-data: Likewise.
43764         * conform/data/semaphore.h-data: Likewise.
43765         * conform/data/setjmp.h-data: Likewise.
43766         * conform/data/signal.h-data: Likewise.
43767         * conform/data/spawn.h-data: Likewise.
43768         * conform/data/stdarg.h-data: Likewise.
43769         * conform/data/stdio.h-data: Likewise.
43770         * conform/data/stdlib.h-data: Likewise.
43771         * conform/data/string.h-data: Likewise.
43772         * conform/data/strings.h-data: Likewise.
43773         * conform/data/stropts.h-data: Likewise.
43774         * conform/data/sys/ipc.h-data: Likewise.
43775         * conform/data/sys/mman.h-data: Likewise.
43776         * conform/data/sys/msg.h-data: Likewise.
43777         * conform/data/sys/resource.h-data: Likewise.
43778         * conform/data/sys/select.h-data: Likewise.
43779         * conform/data/sys/sem.h-data: Likewise.
43780         * conform/data/sys/shm.h-data: Likewise.
43781         * conform/data/sys/socket.h-data: Likewise.
43782         * conform/data/sys/stat.h-data: Likewise.
43783         * conform/data/sys/statvfs.h-data: Likewise.
43784         * conform/data/sys/time.h-data: Likewise.
43785         * conform/data/sys/timeb.h-data: Likewise.
43786         * conform/data/sys/times.h-data: Likewise.
43787         * conform/data/sys/types.h-data: Likewise.
43788         * conform/data/sys/uio.h-data: Likewise.
43789         * conform/data/sys/un.h-data: Likewise.
43790         * conform/data/sys/utsname.h-data: Likewise.
43791         * conform/data/sys/wait.h-data: Likewise.
43792         * conform/data/syslog.h-data: Likewise.
43793         * conform/data/tar.h-data: Likewise.
43794         * conform/data/termios.h-data: Likewise.
43795         * conform/data/utime.h-data: Likewise.
43796         * conform/data/utmpx.h-data: Likewise.
43797         * conform/data/varargs.h-data: Likewise.
43798         * conform/data/wchar.h-data: Likewise.
43799         * conform/data/wctype.h-data: Likewise.
43800         * conform/data/wordexp.h-data: Likewise.
43802         * include/stropts.h: New file.
43803         * include/uchar.h: New file.
43804         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43805         * include/assert.h: Likewise.
43806         * include/ctype.h: Likewise.
43807         * include/dirent.h: Likewise.
43808         * include/dlfcn.h: Likewise.
43809         * include/fcntl.h: Likewise.
43810         * include/fnmatch.h: Likewise.
43811         * include/glob.h: Likewise.
43812         * include/grp.h: Likewise.
43813         * include/libio.h: Likewise.
43814         * include/locale.h: Likewise.
43815         * include/math.h: Likewise.
43816         * include/net/if.h: Likewise.
43817         * include/netdb.h: Likewise.
43818         * include/netinet/in.h: Likewise.
43819         * include/pthread.h: Likewise.
43820         * include/pwd.h: Likewise.
43821         * include/regex.h: Likewise.
43822         * include/sched.h: Likewise.
43823         * include/search.h: Likewise.
43824         * include/setjmp.h: Likewise.
43825         * include/signal.h: Likewise.
43826         * include/stdio.h: Likewise.
43827         * include/stdlib.h: Likewise.
43828         * include/string.h: Likewise.
43829         * include/sys/cdefs.h: Likewise.
43830         * include/sys/mman.h: Likewise.
43831         * include/sys/msg.h: Likewise.
43832         * include/sys/resource.h: Likewise.
43833         * include/sys/select.h: Likewise.
43834         * include/sys/socket.h: Likewise.
43835         * include/sys/stat.h: Likewise.
43836         * include/sys/statvfs.h: Likewise.
43837         * include/sys/time.h: Likewise.
43838         * include/sys/times.h: Likewise.
43839         * include/sys/uio.h: Likewise.
43840         * include/sys/utsname.h: Likewise.
43841         * include/sys/wait.h: Likewise.
43842         * include/termios.h: Likewise.
43843         * include/time.h: Likewise.
43844         * include/ulimit.h: Likewise.
43845         * include/unistd.h: Likewise.
43846         * include/utime.h: Likewise.
43847         * include/wchar.h: Likewise.
43848         * include/wctype.h: Likewise.
43849         * include/wordexp.h: Likewise.
43851         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43853         * time/time.h: TIME_UTC must be a macro.
43854         Make timespec_get available for ISO C11 only as well.
43856 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43858         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43859         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43861 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43863         * configure.in: Use -o not -a in test for unsupported multi-arch.
43865 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43867         * manual/texinfo.tex: Update to version 2012-01-19.16.
43869 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43871         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43873 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43875         [BZ #13738]
43876         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43877         * manual/fdl-1.3.texi: New file.
43878         * manual/fdl-1.1.texi: File removed.
43880         [BZ #13738]
43881         * manual/libc.texinfo (FDL_VERSION): New @set.
43882         Use it for mention of FDL in cover text.
43883         (Documentation License): Use it in @include file name.
43885 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43886             Roland McGrath  <roland@hack.frob.com>
43888         [BZ #5461]
43889         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43890         (not LONG_LONG_MAX and LONG_LONG_MIN.
43891         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43892         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43893         name.
43894         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43896 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43898         [BZ #2547]
43899         [BZ #11365]
43900         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43901         manipulate bits before adding and subtracting TWO23[sx].
43902         * math/libm-test.inc (nearbyint_test): Add more tests.
43904 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43906         [BZ #2548]
43907         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43908         bits before adding and subtracting TWO23[sx].
43909         * math/libm-test.inc (rint_test): Add more tests.
43910         (rint_test_tonearest): Likewise.
43911         (rint_test_towardzero): Likewise.
43912         (rint_test_downward): Likewise.
43913         (rint_test_upward: Likewise.
43915 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43917         [BZ #10110]
43918         * include/stdc-predef.h: New file.  Extracted from features.h.
43919         * include/features.h: Include stdc-predef.h.
43920         * Makefile (headers): Add stdc-predef.h.
43921         * CONFORMANCE (Compiler limitations): Update.
43923 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43925         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43927 2012-02-21  David S. Miller  <davem@davemloft.net>
43929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43930         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43932 2012-02-20  David S. Miller  <davem@davemloft.net>
43934         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43935         using a normal save/restore sequence, rather than allocating a
43936         dummy stack frame just to store a frame pointer and restore.
43937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43939 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43941         * manual/install.texi: Fix stray word in line-wrapped comment.
43943 2012-02-20  David S. Miller  <davem@davemloft.net>
43945         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43946         both binutils and gcc support GOTDATA.
43948         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43949         "rd %pc" in the PIC register setup sequences.
43951         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43952         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43953         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43954         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43955         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43956         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43957         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43958         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43960         (SYSCALL_ERROR_HANDLER): Likewise.
43961         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43962         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43964         (SYSCALL_ERROR_HANDLER): Likewise.
43966         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43967         (HAVE_GCC_GOTDATA): New.
43968         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43969         relocation support in both binutils and gcc.
43970         * sysdeps/sparc/elf/configure: Regenerate.
43972         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43973         * sysdeps/sparc/sparc32/elf/configure: Delete.
43974         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43975         * sysdeps/sparc/sparc64/elf/configure: Delete.
43976         * sysdeps/sparc/elf/configure.in: New file.
43977         * sysdeps/sparc/elf/configure: Generate.
43979         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43980         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43981         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43982         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43983         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43985 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43987         * manual/install.texi: Do not mention specific glibc version
43988         numbers.
43989         * manual/libc.texinfo (VERSION, UPDATED): Update.
43990         (@copying): Use @copyright{} and range of years.
43992 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43994         [BZ #13695]
43995         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43996         [crti.S not in sysdirs] (generated): Do not append.
43997         [crti.S not in sysdirs] (omit-deps): Likewise.
43998         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43999         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44000         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44001         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44002         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44003         Likewise.
44004         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44005         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44006         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44007         * csu/defs.awk: Remove file.
44008         * sysdeps/generic/initfini.c: Likewise.
44009         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44010         variable.
44011         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44012         Likewise.
44014 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44016         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44017         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44018         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44019         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44020         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44021         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44022         <bits/epoll.h>.
44023         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44024         (__EPOLL_PACKED): Define to empty if not defined by
44025         <bits/epoll.h>.
44026         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44028         bits/epoll.h.
44030 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44032         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44033         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44034         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44035         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44036         <bits/timerfd.h>.
44037         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44039         bits/timerfd.h.
44041 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
44043         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44044         in C locale.
44045         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44047         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44050 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
44052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44053         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44055 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
44057         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44058         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44059         defined.
44060         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44061         Likewise.
44062         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44063         entry for 2.16.
44065 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
44067         * math/w_acos.c: Use non-signaling floating-point comparisons.
44068         * math/w_acosf.c: Likewise.
44069         * math/w_acosh.c: Likewise.
44070         * math/w_acoshf.c: Likewise.
44071         * math/w_acoshl.c: Likewise.
44072         * math/w_acosl.c: Likewise.
44073         * math/w_asin.c: Likewise.
44074         * math/w_asinf.c: Likewise.
44075         * math/w_asinl.c: Likewise.
44076         * math/w_atanh.c: Likewise.
44077         * math/w_atanhf.c: Likewise.
44078         * math/w_atanhl.c: Likewise.
44079         * math/w_exp2.c: Likewise.
44080         * math/w_exp2f.c: Likewise.
44081         * math/w_exp2l.c: Likewise.
44082         * math/w_j0.c: Likewise.
44083         * math/w_j0f.c: Likewise.
44084         * math/w_j0l.c: Likewise.
44085         * math/w_j1.c: Likewise.
44086         * math/w_j1f.c: Likewise.
44087         * math/w_j1l.c: Likewise.
44088         * math/w_jn.c: Likewise.
44089         * math/w_jnf.c: Likewise.
44090         * math/w_log.c: Likewise.
44091         * math/w_log10.c: Likewise.
44092         * math/w_log10f.c: Likewise.
44093         * math/w_log10l.c: Likewise.
44094         * math/w_log2.c: Likewise.
44095         * math/w_log2f.c: Likewise.
44096         * math/w_log2l.c: Likewise.
44097         * math/w_logf.c: Likewise.
44098         * math/w_logl.c: Likewise.
44099         * math/w_sqrt.c: Likewise.
44100         * math/w_sqrtf.c: Likewise.
44101         * math/w_sqrtl.c: Likewise.
44102         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44103         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44104         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44105         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44106         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44108 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44110         [BZ #9739]
44111         * manual/string.texi (strnlen): Use correct parameter name in
44112         equivalent expression.
44114 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44116         [BZ #11174]
44117         * manual/users.texi (seteuid): Consistently use neweuid for
44118         argument name.
44120 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
44122         [BZ #13704]
44123         * manual/nss.texi (Services in the NSS configuration): Correct
44124         list of services in example configuration file.
44126 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
44128         [BZ #11322]
44129         * manual/arith.texi: Remove statements about negative zero
44130         behaving identically to zero.
44132 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44134         [BZ #5993]
44135         * manual/install.texi: Do not document upgrading from libc5.
44137 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
44139         [BZ #4596]
44140         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44142 2012-02-18  David S. Miller  <davem@davemloft.net>
44144         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44145         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44146         %o7 across the call.
44147         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44148         instead.
44149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44150         SETUP_PIC_REG_LEAF.
44151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44152         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44153         * sysdeps/sparc/crtn.S: Likewise.
44155 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
44157         * aout/Makefile: Remove.
44159 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
44161         [BZ #13058]
44162         * manual/examples/argp-ex1.c (main): Format definition in GNU
44163         style.
44164         * manual/examples/argp-ex2.c (main): Likewise.
44165         * manual/examples/argp-ex3.c (main): Likewise.
44166         * manual/examples/argp-ex4.c (main): Likewise.
44167         * manual/examples/longopt.c (main): Use new-style prototype
44168         definition.
44169         * manual/examples/strncat.c (main): Specify return type and use
44170         (void) for arguments.
44171         * manual/examples/subopt.c (main): Use char **argv argument.
44173 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44175         [BZ #5077]
44176         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44177         rounding modes.
44179 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
44181         [BZ #6907]
44182         * manual/string.texi (strchr): Change when strchrnul is
44183         recommended.
44185 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
44187         [BZ #174]
44188         * manual/locale.texi (setlocale): Document LOCPATH.
44190 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44192         [BZ #10210]
44193         * manual/process.texi (execle): Move @dots{} before last argument.
44195 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
44197         [BZ #12047]
44198         * manual/charset.texi (Generic Charset Conversion): Fix typo
44199         (LC_TYPE -> LC_CTYPE).
44201 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
44203         [BZ #5805]
44204         * manual/arith.texi (scalbn): Use @var{} on parameter names.
44205         (scalbnf): Likewise.
44206         (scalbnl): Likewise.
44207         (scalbln): Likewise.
44208         (scalblnf): Likewise.
44209         (scalblnl): Likewise.
44210         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44211         (vwarnx): Likewise.
44212         (verr): Likewise.
44213         (verrx): Likewise.
44214         * manual/filesys.texi (telldir): Use braces around return type.
44215         * manual/llio.texi (mmap): Add space after comma.
44216         (mmap64): Likewise.
44217         * manual/math.texi (jn): Use @var{} on parameter names.
44218         (jnf): Likewise.
44219         (jnl): Likewise.
44220         (yn): Likewise.
44221         (ynf): Likewise.
44222         (ynl): Likewise.
44223         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44224         line.
44225         * manual/resource.texi (ulimit): Use @dots{} instead of literal
44226         "...".
44227         (sched_get_priority_min): Remove semicolon on @deftypefun line.
44228         (sched_get_priority_max): Likewise.
44229         * manual/signal.texi (sigvec): Add space after comma.
44230         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44231         names.
44232         (if_indextoname): Likewise.
44233         (if_freenameindex): Likewise.
44234         (sendto): Use ',' instead of '.' in prototype.
44235         * manual/startup.texi (syscall): Use @dots{} instead of literal
44236         "...".
44237         * manual/stdio.texi (__fpending): Separate initial words of
44238         paragraph from @deftypefun line.
44239         * manual/syslog.texi (syslog): Use @dots{} instead of literal
44240         "...".
44241         (vsyslog): Use @var{} on parameter names.
44242         * manual/terminal.texi (stty): Use @var{} on parameter names.
44243         * manual/users.texi (getutmp): Use @var{} on parameter names.
44244         (getutmpx): Likewise.
44246 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44248         [BZ #6884]
44249         * manual/stdio.texi (fopen): Fix typos in description of
44250         ",ccs=STRING".
44252 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
44254         [BZ #4026]
44255         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44256         get clock_id definition.
44258 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
44260         [BZ #4822]
44261         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44262         (madvise): Cast every argument to void on its own.
44264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44266         [BZ #9902]
44267         * manual/startup.texi (Exit Status): Fix typo.
44269 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
44271         [BZ #10140]
44272         * manual/examples/argp-ex1.c: Include <stdlib.h>.
44273         * manual/examples/argp-ex2.c: Likewise.
44274         * manual/examples/argp-ex3.c: Likewise.
44276 2012-02-16  Richard Henderson  <rth@redhat.com>
44278         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44279         * sysdeps/s390/s390-32/initfini.c: Remove.
44280         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44281         * sysdeps/s390/s390-64/initfini.c: Remove.
44283 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44285         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44286         compiler output for sysdeps/generic/initfini.c.
44287         * sysdeps/sh/elf/initfini.c: Remove file.
44289 2012-02-16  David S. Miller  <davem@davemloft.net>
44291         [BZ #11494]
44292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44294         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44295         * sysdeps/sparc/crti.S: New file.
44296         * sysdeps/sparc/crtn.S: New file.
44297         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44298         * sysdeps/sparc/sparc64/Makefile: Likewise.
44300 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44302         [BZ #3335]
44303         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44305 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44307         [BZ #4822]
44308         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44310         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44311         (write, read, close): Likewise.
44312         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44314 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44316         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44317         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44318         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44319         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44320         <bits/signalfd.h>.
44321         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44323         bits/signalfd.h.
44325 2012-02-14  Marek Polacek  <polacek@redhat.com>
44327         * sysdeps/x86_64/crti.S: New file.
44328         * sysdeps/x86_64/crtn.S: New file.
44329         * sysdeps/x86_64/elf/initfini.c: Remove file.
44331 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44333         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44334         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44335         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44336         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44337         <bits/inotify.h>.
44338         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44340         bits/inotify.h.
44342 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44344         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44345         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44346         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44347         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44348         <bits/eventfd.h>.
44349         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44351         bits/eventfd.h.
44353 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44355         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44356         __feraiseexcept instead of feraiseexcept.
44358         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44359         nanosleep invocations.
44360         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44361         strings, and add error checking for a nanosleep invocations.
44363 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44365         Replace FSF snail mail address with URLs, as per GNU coding standards.
44366         Most of the snail mail addresses were wrong anyway, and omitting
44367         them makes the source code easier to maintain.  Almost all of the
44368         changes are to license notices and to locale LC_IDENTIFICATION
44369         addresses, except for this one:
44370         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44371         not its snail mail address.
44373 2012-02-09  Richard Henderson  <rth@twiddle.net>
44375         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44376         of kernel-features.h.
44378         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44380 2012-02-08  Marek Polacek  <polacek@redhat.com>
44382         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44383         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44384         * sysdeps/gnu/_G_config.h: Likewise.
44385         * sysdeps/generic/_G_config.h: Likewise.
44387 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44389         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44390         tests.
44391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44393         * sysdeps/powerpc/powerpc32/crti.S: New file.
44394         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44395         * sysdeps/powerpc/powerpc64/crti.S: New file.
44396         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44398         * Makeconfig (have-initfini): Don't set.
44399         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44400         * configure.in (nopic_initfini): Don't substitute.
44401         * config.h.in (HAVE_INITFINI): Don't #undef.
44402         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44403         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44405 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44407         Support crti.S and crtn.S provided directly by architectures.
44408         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44409         [crti.S in sysdirs] (omit-deps): Likewise.
44410         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44411         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44412         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44413         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44414         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44415         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44416         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44417         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44418         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44419         compiler output for sysdeps/generic/initfini.c.
44420         * sysdeps/i386/elf/Makefile: Remove file.
44421         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44423 2012-02-07  Marek Polacek  <polacek@redhat.com>
44425         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44426         * sysdeps/gnu/_G_config.h: Likewise.
44427         * sysdeps/mach/hurd/_G_config.h: Likewise.
44429 2012-02-07  Marek Polacek  <polacek@redhat.com>
44431         * math/Makefile (tests): Add tst-CMPLX2.
44432         * math/tst-CMPLX2.c: New file.
44434 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44436         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44438         * math/libm-test.inc (jn_test): Add missing L suffix.
44440 2012-02-06  Marek Polacek  <polacek@redhat.com>
44442         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44443         * sysdeps/i386/fpu/e_powf.S: Likewise.
44444         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44445         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44446         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44447         * sysdeps/i386/fpu/e_pow.S: Likewise.
44448         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44449         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44450         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44451         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44452         * sysdeps/i386/fpu/e_log2.S: Likewise.
44453         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44454         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44455         * sysdeps/i386/fpu/e_powl.S: Likewise.
44456         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44457         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44458         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44459         * sysdeps/i386/fpu/e_logl.S: Likewise.
44460         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44461         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44462         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44463         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44464         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44465         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44466         * sysdeps/i386/fpu/e_log.S: Likewise.
44467         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44468         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44469         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44470         * sysdeps/i386/fpu/e_logf.S: Likewise.
44471         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44472         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44473         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44474         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44475         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44476         * sysdeps/i386/fpu/e_log10.S: Likewise.
44477         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44478         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44479         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44480         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44481         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44482         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44483         * sysdeps/i386/asm-syntax.h: Likewise.
44484         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44485         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44486         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44487         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44488         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44489         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44490         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44491         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44492         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44493         * sysdeps/powerpc/sysdep.h: Likewise.
44494         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44495         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44497 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44499         [BZ #411]
44500         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44502 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44504         * sysdeps/i386/sysdep.h: Include <features.h>.
44505         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44506         version.
44508 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44510         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44511         Define.
44512         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44513         LOAD_PIC_REG_STR.
44515 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44517         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44518         (SETUP_PIC_REG): Use GET_PC_THUNK.
44519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44520         macro.
44522 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44524         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44525         for non-PIC compilation.
44526         (SETUP_PIC_REG): Add .p2align directive.
44527         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44528         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44529         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44530         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44531         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44532         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44533         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44534         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44535         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44536         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44537         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44538         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44539         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44540         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44541         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44542         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44543         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44544         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44545         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44546         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44547         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44548         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44549         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44550         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44551         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44552         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44553         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44554         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44555         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44556         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44557         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44558         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44559         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44560         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44561         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44562         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44563         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44564         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44565         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44566         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44567         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44569 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44571         * math/tst-CMPLX.c: Include <stdio.h>.
44573 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44575         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44576         float.
44577         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44578         * sysdeps/sparc/bits/mathdef.h: Likewise.
44580 2012-01-31  Marek Polacek  <polacek@redhat.com>
44582         * libio/libio.h: Don't define _PARAMS.
44583         * locale/programs/config.h: Don't define PARAMS.
44584         * stdlib/strtol_l.c: Likewise.
44585         (__strtol_l): Remove PARAMS from the prototype.
44587 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44589         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44590         names.  Just use the correct names.  Remove unnecessary wrapper
44591         functions.
44592         * malloc/arena.c: Likewise.
44593         * malloc/hooks.c: Likewise.
44595         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44596         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44597         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44599 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44601         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44602         into tail calls.
44603         (update_get_addr): New function.
44604         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44605         GET_ADDR_MODULE parameter.
44607 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44609         * crypt/cert.c: Remove __STDC__ conditionals.
44610         * crypt/crypt-entry.c: Likewise.
44611         * crypt/crypt_util.c: Likewise.
44612         * libio/filedoalloc.c: Likewise.
44613         * libio/fileops.c: Likewise.
44614         * libio/genops.c: Likewise.
44615         * libio/iofclose.c: Likewise.
44616         * libio/iofdopen.c: Likewise.
44617         * libio/iofopen.c: Likewise.
44618         * libio/iofopen64.c: Likewise.
44619         * libio/iogetdelim.c: Likewise.
44620         * libio/iopopen.c: Likewise.
44621         * libio/obprintf.c: Likewise.
44622         * libio/oldfileops.c: Likewise.
44623         * libio/oldiofclose.c: Likewise.
44624         * libio/oldiofdopen.c: Likewise.
44625         * libio/oldiofopen.c: Likewise.
44626         * libio/oldiopopen.c: Likewise.
44627         * libio/wfiledoalloc.c: Likewise.
44628         * libio/wgenops.c: Likewise.
44629         * locale/programs/xmalloc.c: Likewise.
44630         * misc/syslog.c: Likewise.
44631         * stdio-common/xbug.c: Likewise.
44632         * string/memchr.c: Likewise.
44633         * string/memcmp.c: Likewise.
44634         * string/memrchr.c: Likewise.
44635         * string/rawmemchr.c: Likewise.
44636         * sysdeps/posix/getcwd.c: Likewise.
44637         * time/strftime_l.c: Likewise.
44639 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44641         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44642         * config.make.in (config-cflags-sse2avx): Define.
44643         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44644         Fix typo.
44646 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44648         * scripts/config.guess: Update from upstream config git repository.
44649         * scripts/config.sub: Likewise.
44651 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44653         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44654         (EM_NUM): Update.
44655         (R_TILEPRO_*, R_TILEGX_*): New macros.
44657         * scripts/firstversions.awk: Fix bug in version range handling.
44659         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44661         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44663         * include/sys/epoll.h: New file.
44664         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44665         libc_hidden_def.
44667 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44669         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44670         Avoid unnecessary __WORDSIZE == 64 test.
44671         (fmaxf): Use VEX format if possible.
44672         (fmax): Likewise.
44673         (fminf): Likewise.
44674         (fmin): Likewise.
44676         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44677         * math/math_private.h: Remove libc_fegetround* and
44678         libc_fesetround*.
44679         * sysdeps/i386/configure.in: Check for -msse2avx.
44680         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44681         also if SSE2AVX is defined.
44682         Remove libc_fegetround* and libc_fesetround*.
44683         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44684         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44685         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44686         of HAS_YMM_USABLE.
44687         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44688         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44689         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44690         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44691         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44693         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44695 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44697         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44698         size is not set.
44699         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44701 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44703         [BZ #13618]
44704         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44705         relocation.
44706         * Makeconfig (libm): Define.
44707         * elf/Makefile: Add rules to build and run tst-relsort1.
44708         * elf/tst-relsort1.c: New file.
44709         * elf/tst-relsort1mod1.c: New file.
44710         * elf/tst-relsort1mod2.c: New file.
44712 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44714         * math/s_ldexp.c: Remove __STDC__ conditionals.
44715         * math/s_ldexpf.c: Likewise.
44716         * math/s_ldexpl.c: Likewise.
44717         * math/s_nextafter.c: Likewise.
44718         * math/s_nexttowardf.c: Likewise.
44719         * math/s_significand.c: Likewise.
44720         * math/s_significandf.c: Likewise.
44721         * math/s_significandl.c: Likewise.
44722         * math/w_jnl.c: Likewise.
44723         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44724         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44725         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44726         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44727         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44728         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44730         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44731         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44732         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44733         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44734         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44735         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44736         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44737         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44738         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44739         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44740         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44741         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44742         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44743         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44744         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44745         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44747         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44748         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44749         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44750         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44751         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44752         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44753         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44754         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44755         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44756         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44757         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44758         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44759         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44760         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44761         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44762         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44763         * sysdeps/ieee754/k_standard.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44773         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44775         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44776         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44777         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44778         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44779         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44781         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44782         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44783         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44784         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44788         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44795         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44796         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44798         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44799         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44801         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44802         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44803         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44804         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44808         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44809         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44817         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44818         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44819         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44823         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44825         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44827         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44828         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44829         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44830         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44831         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44832         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44833         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44834         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44835         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44836         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44837         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44838         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44839         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44842         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44843         * sysdeps/ieee754/s_matherr.c: Likewise.
44844         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44845         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44847         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44849 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44851         * crypt/md5.h: Remove __STDC__ conditionals.
44852         * libio/libioP.h: Likewise.
44853         * locale/programs/config.h: Likewise.
44854         * sysdeps/generic/sysdep.h: Likewise.
44855         * sysdeps/i386/asm-syntax.h: Likewise.
44856         * sysdeps/s390/asm-syntax.h: Likewise.
44857         * sysdeps/unix/sysdep.h: Likewise.
44858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44861 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44863         * libio/libio.h: Remove __STDC__ conditionals.
44864         * malloc/obstack.h: Likewise.
44865         * math/complex.h: Likewise.
44866         * math/math.h: Likewise.
44867         * sysdeps/generic/_G_config.h: Likewise.
44868         * sysdeps/gnu/_G_config.h: Likewise.
44869         * sysdeps/mach/hurd/_G_config.h: Likewise.
44870         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44871         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44872         * sysdeps/sparc/bits/mathdef.h: Likewise.
44874 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44876         [BZ #13583]
44877         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44878         Clean up HAS_* macros.
44879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44880         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44881         possible.
44882         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44883         HAS_AVX.
44884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44885         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44886         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44887         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44888         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44890 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44892         * elf/tst-unique3.cc (gets): Remove declaration.
44893         * elf/tst-unique3lib.cc (gets): Likewise.
44894         * elf/tst-unique3lib2.cc (gets): Likewise.
44895         * elf/tst-unique4.cc (gets): Likewise.
44897 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44899         * include/stdio.h: Add C++ protection.  Add gets declarations and
44900         definitions.
44901         * debug/tst-chk1.c: Don't declare gets here.
44902         * stdio-common/tst-gets.c: Likewise.
44904 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44906         * posix/glob: Remove directory.
44908 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44910         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44912 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44914         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44915         of the non-standard EPFNOSUPPORT.
44917 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44919         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44920         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44921         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44923 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44925         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44927 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44929         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44930         transient errors.
44931         * nscd/grpcache.c (cache_addgr): Likewise.
44932         * nscd/hstcache.c (cache_addhst): Likewise.
44933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44934         * nscd/pwdcache.c (cache_addpw): Likewise.
44935         * nscd/servicescache.c (cache_addserv): Likewise.
44937 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44939         * malloc/malloc.c: Various cleanups.
44940         * malloc/hooks.c: Likewise.
44942         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44943         * stdlib/bug-fmtmsg1.c: New file.
44945         * stdlib/fmtmsg.c (init): Add missing unlock.
44946         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44948 2012-01-12  Marek Polacek  <polacek@redhat.com>
44950         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44951         and _GNU_SOURCE.
44953 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44955         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44956         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44957         macro to ensure uniqueness of label name.
44958         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44959         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44961 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44963         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44965         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44966         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44967         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44970 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44972         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44974         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44975         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44976         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44978         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44980         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44981         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44982         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44985         * math/bits/math-finite.h: Add ldexp support.
44987 2012-01-10  Marek Polacek  <polacek@redhat.com>
44989         * locale/programs/localedef.h (show_archive_content): Add noreturn
44990         attribute.
44992 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44994         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44996 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44998         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45000         * io/Makefile (headers): Add bits/poll2.h.
45002 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
45004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45005         typo #include statement.
45007 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45009         * include/sys/cdefs.h: Define __attribute_alloc_size.
45010         * catgets/gencat.c: Add alloc_size attribute and apply consistently
45011         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45012         * elf/pldd.c: Likewise.
45013         * iconv/iconv_charmap.c: Likewise.
45014         * iconv/iconvconfig.c: Likewise.
45015         * iconv/strtab.c: Likewise.
45016         * locale/programs/locale.c: Likewise.
45017         * locale/programs/localedef.h: Likewise.
45018         * locale/programs/simple-hash.c: Likewise.
45019         * nscd/nscd.h: Likewise.
45020         * nss/makedb.c: Likewise.
45021         * sysdeps/generic/ldconfig.h: Likewise.
45022         * locale/programs/localedef.c: Remove xmalloc prototype.
45023         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45025 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45027         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45028         appropriate.
45030 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45032         * math/Makefile (tests): Add tst-CMPLX.
45033         * math/tst-CMPLX.c: New file.
45035         * math/complex.h (CMPLXL): Fix typo.
45037         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45038         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45039         GLIBC_2.16.
45040         * debug/tst-chk1.c: Add poll and ppoll tests.
45041         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45042         * include/sys/poll.h: Add hidden proto for ppoll.
45043         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45044         * sysdeps/mach/hurd/ppoll.c: Likewise.
45045         * io/ppoll.c: Likewise.
45046         * debug/poll_chk.c: New file.
45047         * debug/ppoll_chk.c: New file.
45048         * include/bits/poll2.h: New file.
45049         * io/bits/poll2.h: New file.
45051         [BZ #1350]
45052         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45054         * configure.in: static is always set to yes.  Remove.
45055         * config.make.in: Don't set build-static.
45056         * Makeconfig: Remove use of build-static.
45057         * dlfcn/Makefile: Likewise.
45058         * elf/Makefile: Likewise.
45059         * math/Makefile: Likewise.
45060         * misc/Makefile: Likewise.
45061         * nptl/Makefile: Likewise.
45062         * sysdeps/mach/hurd/Makefile: Likewise.
45064         * configure.in: PWD_P is not used anymore.
45065         * config.make.in: Remove PWD_P entry.
45067         * configure.in: Remove last remnants of RANLIB.
45068         No need to check for signed size_t anymore.
45069         Don't set libc_commonpagesize and libc_relro_required here for Alpha
45070         and IA-64.
45071         Remove __builtin_expect test because we require at least gcc 3.4.
45072         * aclocal.m4: Likewise.
45074         * wcsmbs/mbrtoc16.c: Implement using towc function.
45075         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45076         * wcsmbs/wcsmbsload.c: Likewise.
45077         * iconv/gconv_simple.c: Likewise.
45078         * iconv/gconv_int.h: Likewise.
45079         * iconv/gconv_builtin.h: Likewise.
45080         * iconv/iconv_prog.c: Remove CHAR16 handling.
45082         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45084         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45086         * configure.in: Remove --with-elf and --enable-bounded options.
45087         Dont set base_machine for ia64.  More non-ELF conditions removed.
45088         Remove testing and setting of leading underscore information.
45089         * config.make.in (build-bounded): Set to no.
45090         * config.h.in: Remove NO_UNDERSCORES entry.
45091         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
45092         them.
45093         * csu/start.c: Remove !NO_UNDERSCORE code.
45094         * locale/localeinfo.h: Likewise.
45095         * sysdeps/generic/machine-gmon.h: Likewise.
45096         * sysdeps/generic/sysdep.h: Likewise.
45097         * sysdeps/i386/sysdep.h: Likewise.
45098         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45099         * sysdeps/mach/sysdep.h: Likewise.
45100         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45101         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45102         * sysdeps/sh/sysdep.h: Likewise.
45103         * sysdeps/sparc/sparc32/alloca.S: Likewise.
45104         * sysdeps/unix/i386/sysdep.S: Likewise.
45105         * sysdeps/unix/sparc/start.c: Likewise.
45106         * sysdeps/unix/sparc/sysdep.S: Likewise.
45107         * sysdeps/unix/sparc/sysdep.h: Likewise.
45108         * sysdeps/unix/start.c: Likewise.
45109         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45110         * sysdeps/x86_64/sysdep.h: Likewise.
45112 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
45114         [BZ #13553]
45115         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45116         for non-gcc.
45117         * argp/argp-fmtstream.h: Use const instead __const.
45118         * argp/argp.h: Likewise.
45119         * assert/assert.h: Likewise.
45120         * bits/fenv.h: Likewise.
45121         * bits/sched.h: Likewise.
45122         * bits/sigset.h: Likewise.
45123         * bits/sigthread.h: Likewise.
45124         * catgets/nl_types.h: Likewise.
45125         * conform/data/pthread.h-data: Likewise.
45126         * crypt/crypt-private.h: Likewise.
45127         * crypt/crypt.h: Likewise.
45128         * crypt/crypt_util.c: Likewise.
45129         * ctype/ctype.h: Likewise.
45130         * debug/execinfo.h: Likewise.
45131         * debug/mbsnrtowcs_chk.c: Likewise.
45132         * debug/mbsrtowcs_chk.c: Likewise.
45133         * debug/wcsnrtombs_chk.c: Likewise.
45134         * debug/wcsrtombs_chk.c: Likewise.
45135         * debug/wcstombs_chk.c: Likewise.
45136         * dirent/dirent.h: Likewise.
45137         * dlfcn/dlfcn.h: Likewise.
45138         * elf/neededtest4.c: Likewise.
45139         * grp/grp.h: Likewise.
45140         * gshadow/gshadow.h: Likewise.
45141         * iconv/gconv.h: Likewise.
45142         * iconv/gconv_int.h: Likewise.
45143         * iconv/gconv_simple.c: Likewise.
45144         * iconv/iconv.h: Likewise.
45145         * iconv/loop.c: Likewise.
45146         * iconv/skeleton.c: Likewise.
45147         * include/aio.h: Likewise.
45148         * include/aliases.h: Likewise.
45149         * include/argz.h: Likewise.
45150         * include/arpa/inet.h: Likewise.
45151         * include/assert.h: Likewise.
45152         * include/dirent.h: Likewise.
45153         * include/dlfcn.h: Likewise.
45154         * include/execinfo.h: Likewise.
45155         * include/fcntl.h: Likewise.
45156         * include/fenv.h: Likewise.
45157         * include/glob.h: Likewise.
45158         * include/grp.h: Likewise.
45159         * include/libintl.h: Likewise.
45160         * include/mntent.h: Likewise.
45161         * include/netdb.h: Likewise.
45162         * include/pwd.h: Likewise.
45163         * include/rpc/netdb.h: Likewise.
45164         * include/sched.h: Likewise.
45165         * include/search.h: Likewise.
45166         * include/shadow.h: Likewise.
45167         * include/signal.h: Likewise.
45168         * include/stdio.h: Likewise.
45169         * include/stdlib.h: Likewise.
45170         * include/string.h: Likewise.
45171         * include/sys/socket.h: Likewise.
45172         * include/sys/stat.h: Likewise.
45173         * include/sys/statfs.h: Likewise.
45174         * include/sys/statvfs.h: Likewise.
45175         * include/sys/syslog.h: Likewise.
45176         * include/sys/time.h: Likewise.
45177         * include/sys/uio.h: Likewise.
45178         * include/time.h: Likewise.
45179         * include/unistd.h: Likewise.
45180         * include/utmp.h: Likewise.
45181         * include/wchar.h: Likewise.
45182         * include/wctype.h: Likewise.
45183         * inet/aliases.h: Likewise.
45184         * inet/arpa/inet.h: Likewise.
45185         * inet/netinet/ether.h: Likewise.
45186         * inet/netinet/in.h: Likewise.
45187         * intl/libintl.h: Likewise.
45188         * io/bits/fcntl2.h: Likewise.
45189         * io/fcntl.h: Likewise.
45190         * io/ftw.h: Likewise.
45191         * io/sys/poll.h: Likewise.
45192         * io/sys/stat.h: Likewise.
45193         * io/sys/statfs.h: Likewise.
45194         * io/sys/statvfs.h: Likewise.
45195         * io/utime.h: Likewise.
45196         * libio/bits/stdio.h: Likewise.
45197         * libio/bits/stdio2.h: Likewise.
45198         * libio/libio.h: Likewise.
45199         * libio/libioP.h: Likewise.
45200         * libio/stdio.h: Likewise.
45201         * locale/lc-ctype.c: Likewise.
45202         * locale/locale.h: Likewise.
45203         * login/utmp.h: Likewise.
45204         * malloc/arena.c: Likewise.
45205         * malloc/malloc.c: Likewise.
45206         * malloc/malloc.h: Likewise.
45207         * malloc/mcheck.c: Likewise.
45208         * malloc/mtrace.c: Likewise.
45209         * math/bits/mathcalls.h: Likewise.
45210         * math/fenv.h: Likewise.
45211         * math/math_private.h: Likewise.
45212         * misc/bits/error.h: Likewise.
45213         * misc/bits/syslog.h: Likewise.
45214         * misc/err.h: Likewise.
45215         * misc/error.h: Likewise.
45216         * misc/fstab.h: Likewise.
45217         * misc/mntent.h: Likewise.
45218         * misc/regexp.h: Likewise.
45219         * misc/search.h: Likewise.
45220         * misc/sgtty.h: Likewise.
45221         * misc/sys/mman.h: Likewise.
45222         * misc/sys/syslog.h: Likewise.
45223         * misc/sys/uio.h: Likewise.
45224         * misc/sys/xattr.h: Likewise.
45225         * misc/ttyent.h: Likewise.
45226         * nis/rpcsvc/ypclnt.h: Likewise.
45227         * nss/nss.h: Likewise.
45228         * posix/bits/unistd.h: Likewise.
45229         * posix/fnmatch.h: Likewise.
45230         * posix/glob.h: Likewise.
45231         * posix/sched.h: Likewise.
45232         * posix/spawn.h: Likewise.
45233         * posix/sys/wait.h: Likewise.
45234         * posix/unistd.h: Likewise.
45235         * posix/wordexp.h: Likewise.
45236         * pwd/pwd.h: Likewise.
45237         * resolv/netdb.h: Likewise.
45238         * resource/sys/resource.h: Likewise.
45239         * rt/aio.h: Likewise.
45240         * rt/bits/mqueue2.h: Likewise.
45241         * rt/mqueue.h: Likewise.
45242         * shadow/shadow.h: Likewise.
45243         * signal/signal.h: Likewise.
45244         * socket/send.c: Likewise.
45245         * socket/sendto.c: Likewise.
45246         * socket/sys/socket.h: Likewise.
45247         * stdio-common/printf.h: Likewise.
45248         * stdlib/bits/stdlib.h: Likewise.
45249         * stdlib/fmtmsg.h: Likewise.
45250         * stdlib/monetary.h: Likewise.
45251         * stdlib/stdlib.h: Likewise.
45252         * stdlib/ucontext.h: Likewise.
45253         * streams/stropts.h: Likewise.
45254         * string/argz.h: Likewise.
45255         * string/bits/string2.h: Likewise.
45256         * string/string.h: Likewise.
45257         * string/strings.h: Likewise.
45258         * sunrpc/rpc/auth.h: Likewise.
45259         * sunrpc/rpc/auth_des.h: Likewise.
45260         * sunrpc/rpc/clnt.h: Likewise.
45261         * sunrpc/rpc/netdb.h: Likewise.
45262         * sunrpc/rpc/pmap_clnt.h: Likewise.
45263         * sunrpc/rpc/xdr.h: Likewise.
45264         * sysdeps/generic/inttypes.h: Likewise.
45265         * sysdeps/generic/net/if.h: Likewise.
45266         * sysdeps/generic/sys/swap.h: Likewise.
45267         * sysdeps/gnu/net/if.h: Likewise.
45268         * sysdeps/gnu/utmpx.h: Likewise.
45269         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45270         * sysdeps/i386/i486/bits/string.h: Likewise.
45271         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45272         * sysdeps/s390/bits/string.h: Likewise.
45273         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45274         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45275         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45276         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45277         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45278         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45279         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45280         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45281         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45282         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45283         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45284         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45285         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45286         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45287         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45288         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45289         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45290         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45291         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45292         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45293         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45294         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45295         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45296         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45297         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45298         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45299         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45300         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45301         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45302         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45303         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45304         * sysvipc/sys/ipc.h: Likewise.
45305         * sysvipc/sys/msg.h: Likewise.
45306         * sysvipc/sys/sem.h: Likewise.
45307         * sysvipc/sys/shm.h: Likewise.
45308         * termios/termios.h: Likewise.
45309         * time/sys/time.h: Likewise.
45310         * time/time.h: Likewise.
45311         * wcsmbs/bits/wchar2.h: Likewise.
45312         * wcsmbs/uchar.h: Likewise.
45313         * wcsmbs/wchar.h: Likewise.
45314         * wctype/wctype.h: Likewise.
45316         [BZ #13551]
45317         * Makeconfig: Remove all but ELF support including AIX support.
45318         * Makerules: Likewise.
45319         * config.h.in: Likewise.
45320         * config.make.in: Likewise.
45321         * configure: Likewise.
45322         * configure.in: Likewise.
45323         * csu/Makefile: Likewise.
45324         * csu/version.c: Likewise.
45325         * debug/Makefile: Likewise.
45326         * dlfcn/Makefile: Likewise.
45327         * elf/Makefile: Likewise.
45328         * extra-lib.mk: Likewise.
45329         * iconv/Makefile: Likewise.
45330         * include/libc-symbols.h: Likewise.
45331         * include/shlib-compat.h: Likewise.
45332         * resolv/Makefile: Likewise.
45333         * resolv/res_libc.c: Likewise.
45334         * rt/Makefile: Likewise.
45335         * sysdeps/i386/asm-syntax.h: Likewise.
45336         * sysdeps/i386/sysdep.h: Likewise.
45337         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45338         * sysdeps/mach/sysdep.h: Likewise.
45339         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45340         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45341         * sysdeps/s390/asm-syntax.h: Likewise.
45342         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45344         * sysdeps/sh/sysdep.h: Likewise.
45345         * sysdeps/unix/sparc/sysdep.h: Likewise.
45346         * sysdeps/wordsize-32/divdi3.c: Likewise.
45347         * sysdeps/x86_64/sysdep.h: Likewise.
45349         * argp/Versions: Remove _argp_unlock_xxx.
45351         [BZ #13559]
45352         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45353         * abilist/libBrokenLocale.abilist: Likewise.
45354         * abilist/libanl.abilist: Likewise.
45355         * abilist/libc.abilist: Likewise.
45356         * abilist/libcrypt.abilist: Likewise.
45357         * abilist/libdl.abilist: Likewise.
45358         * abilist/libm.abilist: Likewise.
45359         * abilist/libnsl.abilist: Likewise.
45360         * abilist/libpthread.abilist: Likewise.
45361         * abilist/libresolv.abilist: Likewise.
45362         * abilist/librt.abilist: Likewise.
45363         * abilist/libthread_db.abilist: Likewise.
45364         * abilist/libutil.abilist: Likewise.
45365         * abilist/libnss_db.abilist: New file.
45367         * scripts/abilist.awk: Add support for indirect functions.
45369         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45371         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45373         * shlib-versions: Remove entries for ports architectures.
45375         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45376         files in ports.
45377         * elf/stackguard-macros.h: Remove support for IA-64.
45378         * elf/tst-auditmod1.c: Likewise.
45379         * sysdeps/generic/ldsodefs.h: Likewise.
45381         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45382         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45383         configure files.
45385         [BZ #13552]
45386         * configure.in: Remove --enable-omitfp support.
45387         * FAQ.in: Adjust.
45388         * config.make.in: Likewise.
45389         * Makeconfig: Likewise.
45390         * manual/install.texi: Likewise.
45392         In case anyone cares, the IA-64 architecture could move to ports.
45393         * sysdeps/ia64/*: Removed.
45394         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45395         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45397         [BZ #13555]
45398         * configure.in: Remove entries for unsupported architectures.
45400         [BZ #13533]
45401         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45402         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45403         routines.
45404         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45405         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45406         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45407         fall back to using wcrtomb.
45408         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45409         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45410         renaming.
45411         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45412         * wcsmbs/tst-c16c32-1.c: New file.
45414         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45415         local variable.
45417         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45419         * elf/tst-unique3.cc: Add explicit declaration of gets.
45420         * elf/tst-unique3lib.cc: Likewise.
45421         * elf/tst-unique3lib2.cc: Likewise.
45422         * elf/tst-unique4.cc: Likewise.
45424         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45426 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45428         [BZ #13566]
45429         * assert/assert.h (static_assert): Don't define for C++.
45430         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45431         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45433 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45435         * iconv/loop.c (single loop): Fix assertion in storing of
45436         remaining bytes.
45438         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45440 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45442         * posix/getconf.c: Update copyright year.
45443         * nss/getent.c: Likewise.
45444         * nss/makedb.c: Likewise.
45445         * iconv/iconvconfig.c: Likewise.
45446         * iconv/iconv_prog.c: Likewise.
45447         * elf/ldconfig.c: Likewise.
45448         * elf/pldd.c: Likewise.
45449         * elf/sotruss.ksh: Likewise.
45450         * catgets/gencat.c: Likewise.
45451         * csu/version.c: Likewise.
45452         * elf/ldd.bash.in: Likewise.
45453         * elf/sprof.c (print_version): Likewise.
45454         * locale/programs/locale.c: Likewise.
45455         * locale/programs/localedef.c: Likewise.
45456         * login/programs/pt_chown.c: Likewise.
45457         * nscd/nscd.c (print_version): Likewise.
45458         * debug/xtrace.sh: Likewise.
45459         * malloc/memusage.sh: Likewise.
45460         * malloc/mtrace.pl: Likewise.
45461         * debug/catchsegv.sh: Likewise.
45463 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45465         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45466         pure attribute.
45468 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45470         [BZ #13533]
45471         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45472         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45473         transformations.
45474         * iconv/gconv_int.h: Likewise.
45475         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45476         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45477         from libc for GLIBC_2.16.
45478         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45479         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45480         * wcsmbs/uchar.h: Really define mbstate_t.
45481         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45482         * wcsmbs/c16rtomb.c: New file.
45483         * wcsmbs/mbrtoc16.c: New file.
45484         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45485         for C/POSIX locale.
45486         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45487         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45489         * wcsmbs/wchar.h: Add missing __restrict.
45491 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45493         [BZ #13532]
45494         * time/Makefile (routines): Add timespec_get.
45495         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45496         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45497         timespec for ISO C11.
45498         * time/timespec_get.c: New file.
45499         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45500         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45502         [BZ #13531]
45503         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45504         * stdlib/stdlib.h: Declare aligned_alloc.
45505         * Versions.def: Add GLIBC_2.16 for libc.
45506         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45508         [BZ 13527]
45509         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45510         ISO C11.
45512         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45513         code.
45515         [BZ #13528]
45516         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45518         [BZ #13529]
45519         * assert/assert.h (static_assert): Define.
45521         * version.h: Update for 2.16 development version.
45523         [BZ #13526]
45524         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45525         _ISOC11_SOURCE.
45527         * version.h (RELEASE): Bump for 2.15 release.
45528         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45530         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45531         Patch by Marek Polacek <mpolacek@redhat.com>.
45533         * bits/byteswap.h: Protect long long constants with __extension__.
45534         * sysdeps/i386/bits/byteswap.h: Likewise.
45535         * sysdeps/ia64/bits/byteswap.h: Likewise.
45536         * sysdeps/s390/bits/byteswap.h: Likewise.
45537         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45539 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45541         [BZ #13540]
45542         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45543         destination buffer.
45544         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45546 2011-12-23  Marek Polacek  <polacek@redhat.com>
45548         * elf/dl-addr.c (determine_info): Add inline keyword.
45549         * elf/tst-auditmod4b.c (check_avx): Likewise.
45550         * elf/tst-auditmod6b.c (check_avx): Likewise.
45551         * elf/tst-auditmod6c.c (check_avx): Likewise.
45552         * elf/tst-auditmod7b.c (check_avx): Likewise.
45554 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45556         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45557         !__SSE_MATH__.
45559 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45561         [BZ #13540]
45562         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45563         processing for last bytes.
45565 2011-08-06  Bruno Haible  <bruno@clisp.org>
45567         [BZ #13061]
45568         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45569         U+0385, not to U+1FEE.
45571         [BZ #13062]
45572         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45573         entry for U+00A5 U+0301.
45575 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45577         [BZ #13166]
45578         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45579         buffer for the output is too small.
45581         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45582         optimization.
45584         [BZ #13185]
45585         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45586         SSE flags if possible.
45588 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45590         [BZ #13540]
45591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45592         processing for last bytes.
45594 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45597         (syscall-list-default-options, syscall-list-default-condition)
45598         (syscall-list-includes): Define.
45599         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45600         list of ABIs and options and #if conditions for each ABI.  Do not
45601         handle common syscalls between ABIs specially.
45602         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45603         Remove.
45604         (syscall-list-variants, syscall-list-32bit-options)
45605         (syscall-list-32bit-condition, syscall-list-64bit-options)
45606         (syscall-list-64bit-condition): Define.
45607         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45608         (syscall-list-variants, syscall-list-32bit-options)
45609         (syscall-list-32bit-condition, syscall-list-64bit-options)
45610         (syscall-list-64bit-condition): Define.
45611         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45612         Remove.
45613         (syscall-list-variants, syscall-list-32bit-options)
45614         (syscall-list-32bit-condition, syscall-list-64bit-options)
45615         (syscall-list-64bit-condition): Define.
45616         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45617         Remove.
45618         (syscall-list-variants, syscall-list-32bit-options)
45619         (syscall-list-32bit-condition, syscall-list-64bit-options)
45620         (syscall-list-64bit-condition): Define.
45622 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45624         * locale/iso-639.def: Add brx entry.
45626         [BZ #13328]
45627         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45628         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45630         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45631         __feraiseexcept_renamed.
45633 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45635         [BZ #13538]
45636         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45637         EPOLLET with unsigned values.
45638         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45639         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45641         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45642         to large cancellation.
45643         * math/s_cacoshf.c: Likewise.
45644         * math/s_cacoshl.c: Likewise.
45646 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45648         [BZ #13305]
45649         [BZ #12786]
45650         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45651         * math/s_cacoshf.c: Likewise.
45652         * math/s_cacoshl.c: Likewise.
45654 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45656         [BZ #13439]
45657         * iconv/gconv.h: Define __GCONV_SWAP.
45658         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45659         * iconvdata/utf-16.c: Likewise.
45660         * iconvdata/utf-32.c: Likewise.
45662 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45664         [BZ #13524]
45665         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45666         numerator after shifting it by one limb.
45668 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45670         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45671         under [__USE_EXTERN_INLINES].
45673 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45675         [BZ #13446]
45676         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45678 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45680         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45681         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45682         optimized code.
45683         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45684         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45685         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45686         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45687         for strncasecmp/strncasecmp_l compilation.
45688         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45689         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45691 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45693         [BZ #13484]
45694         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45695         of __asm__.
45697 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45699         [BZ #13506]
45700         * time/tzfile.c (__tzfile_read): Check values from file header.
45702 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45704         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45705         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45706         * powerpc/powerpc32/dl-start.S: Likewise.
45707         * powerpc/powerpc32/elf/start.S: Likewise.
45708         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45709         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45710         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45711         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45712         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45713         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45714         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45715         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45716         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45717         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45718         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45719         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45720         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45721         * powerpc/powerpc32/memset.S: Likewise.
45722         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45723         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45724         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45725         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45726         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45727         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45728         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45729         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45730         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45731         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45732         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45733         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45734         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45736 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45738         * math/libm-test.inc: Added more nearbyint tests.
45739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45740         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45744 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45746         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45747         FD_CLOEXEC.
45749 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45751         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45752         Add wcscpy-ssse3 wcscpy-c.
45753         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45754         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45755         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45756         * sysdeps/x86_64/wcschr.S: New file.
45757         * sysdeps/x86_64/wcsrchr.S: New file.
45758         * string/test-strcmp.c: Remove checking of wcscmp function for
45759         wrong alignments.
45760         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45761         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45762         wcsrchr-sse2 wcsrchr-c.
45763         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45764         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45765         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45766         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45767         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45768         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45769         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45770         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45771         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45772         * wcsmbc/wcschr.c (WCSCHR): New macro.
45774 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45776         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45777         * wcsmbs/test-wcsrchr.c: New file.
45778         * string/test-strrchr.c: Add wcsrchr support.
45779         (WIDE): New macro.
45780         * wcsmbs/test-wcscpy.c: New file.
45781         * string/test-strcpy.c: Add wcscpy support.
45782         (WIDE): New macro.
45784 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45786         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45787         the inner loop.
45789 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45791         [BZ #13472]
45792         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45794 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45796         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45797         Minor optimizations.
45799         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45800         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45801         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45803 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45805         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45806         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45807         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45808         for gcc to avoid warnings.
45809         * inet/Makefile (tests): Add tst-checks.
45810         * inet/tst-checks.c: New file.
45812         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45813         warning.
45815         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45816         __wmemcmp_sse2.
45818         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45819         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45821         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45823 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45825         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45826         problem.
45828         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45830 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45832         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45833         conditional on GCC version.
45834         (__arch_compare_and_exchange_val_8_acq)
45835         (__arch_compare_and_exchange_val_16_acq)
45836         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45837         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45838         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45840 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45842         * sysdeps/sh/backtrace.c: New file.
45844 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45846         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45847         parenthesis.
45849 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45851         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45852         falling back to utime.
45854 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45856         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45857         expectations for float.
45859 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45861         * locale/weight.h (findidx): Add parameter len.
45862         * locale/weightwc.h (findidx): Likewise.
45863         * posix/fnmatch_loop.c (FCT): Adjust caller.
45864         * posix/regcomp.c (build_equiv_class): Likewise.
45865         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45866         * posix/regexec.c (check_node_accept_bytes): Likewise.
45867         * string/strcoll_l.c (STRCOLL): Likewise.
45868         * string/strxfrm_l.c (STRXFRM): Likewise.
45870 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45872         * Makefile.in: Remove CVSOPT handling.
45873         * configure.in: Remove use of AC_REVISION.
45874         * iconvdata/Makefile (distribute): No need to filter out CVS.
45875         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45876         handling.
45878 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45881         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45882         [USE_AS_STRNCASECMP_L]: Likewise.
45883         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45884         NO_TLS_DIRECT_SEG_REFS.
45885         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45886         Fix argument offsets for non-PIC.
45887         [USE_AS_STRNCASECMP_L]: Likewise.
45888         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45889         NO_TLS_DIRECT_SEG_REFS.
45891 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45893         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45894         O_CLOEXEC.
45895         * locale/loadlocale.c (_nl_load_locale): Likewise.
45897 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45899         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45900         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45901         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45902         (SYSCALL_GETTIME): Set errno on error.
45904         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45905         count references to noai6ai_cached.
45907 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45909         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45911         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45912         FD_CLOEXEC for /proc/self/maps.
45914         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45915         FD_CLOEXEC for /proc/meminfo.
45917         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45918         gai.conf.
45920         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45921         FD_CLOEXEC for given file.
45923         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45925         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45926         FD_CLOEXEC for /etc/hosts.
45927         (_gethtent): Likewise.
45929         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45931         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45932         cancellation and set FD_CLOEXEC for /etc/netgroup.
45934         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45935         reading /etc/publickey.
45937         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45938         allow cancellation when reading /etc/group.
45940         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45941         cancellation.
45942         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45944         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45945         when using data file.
45947         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45949         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45950         (write_nis_obj): Use "c" and "e" in fopen.
45952         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45954         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45956         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45958         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45960         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45961         locale.alias.
45963         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45965         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45967         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45969         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45970         file parsing and set FD_CLOEXEC.
45972 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45974         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45976 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45978         * malloc/arena.c (arena_get2): Don't call reused_arena when
45979         _int_new_arena failed.
45981 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45983         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45984         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45985         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45986         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45987         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45988         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45989         to compile strcasecmp and strncasecmp.
45990         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45991         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45995 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45997         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45998         locale-defines.sym to gen-as-const-headers.
45999         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46000         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46002         to compile strcasecmp and strncasecmp.
46003         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46004         strcasecmp_l and strncasecmp_l.
46005         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46006         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46007         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46008         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46009         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46010         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46011         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46012         * sysdeps/i386/i686/multiarch/strncase.S: New file.
46013         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46014         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46015         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46017 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
46019         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46020         result of SYSDEP_GETTIME_CPU to retval.
46021         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46022         parameter list to macro.  Remove trailing semicolon.  Adjust users.
46024         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46025         variable.
46027         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46028         mantissa words.
46029         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46031         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46032         from unused variable.
46034         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46035         DWARF definitions.
46036         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46037         for assembling.
46039         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46040         over namespaces.
46042         * sunrpc/rpc_prot.c (rejected): Fix case value.
46044         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46045         unsigned long long int to avoid warnings in shift.
46047         * posix/regex_internal.c (re_string_reconstruct): Actually use result
46048         of use of trans.
46049         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46050         variable tmp.
46052         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46053         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46054         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46056         * nis/nis_table.c (nis_list): Use variable of correct type for
46057         result of __follow_path call.
46059 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46061         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46062         of math functions ceil, trunc, floor, round, and sqrt, when
46063         avaliable on the platform.
46064         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46065         name clash.
46066         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46067         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46068         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46070 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
46072         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46073         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46075 2011-11-11  Roland McGrath  <roland@hack.frob.com>
46077         * include/unistd.h: Fix __readlink return type.
46078         Reported by Chris Metcalf <cmetcalf@tilera.com>.
46080 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
46082         * stdlib/ucontext.h: Undo last change for makecontext.
46084 2011-11-11  Andreas Schwab  <schwab@redhat.com>
46086         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46088         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46089         * setjmp/setjmp.h: Mark functions as non-leaf.
46090         * setjmp/bits/setjmp2.h: Likewise.
46091         * stdlib/ucontext.h: Likewise.
46093 2011-11-10  Andreas Schwab  <schwab@redhat.com>
46095         * malloc/arena.c (_int_new_arena): Don't increment narenas.
46096         (reused_arena): Don't check arena limit.
46097         (arena_get2): Atomically check arena limit.
46099 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
46101         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46102         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46105         instructions.
46107 2011-11-07  Andreas Schwab  <schwab@redhat.com>
46109         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46110         handler when locking.
46112         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46113         Fix size of allocated buffer.
46115 2011-11-04  Andreas Schwab  <schwab@redhat.com>
46117         [BZ #10103]
46118         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46119         declarations for long double functions.
46120         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46122         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46124 2011-11-03  Andreas Schwab  <schwab@redhat.com>
46126         * nscd/nscd.c (main): Don't start AVC thread until credentials are
46127         installed.
46129         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46130         is disabled.
46132 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46134         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46136 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
46138         * include/alloca.h (stackinfo_alloca_round): Define.
46139         (extend_alloca): Use it.
46140         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46141         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46142         here.
46144         * scripts/check-local-headers.sh: Ignore libaudit.h.
46146         * nscd/Makefile (extra-objs): Make recursively expanded.
46148 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
46150         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46153         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46154         * posix/tst-rfc3484-2.c: Likewise.
46155         * posix/tst-rfc3484-3.c: Likewise.
46157         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46158         process_vm_writev.
46159         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46160         process_vm_writev.
46161         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46162         process_vm_writev from libc using GLIBC_2.15 version.
46164         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46166 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
46168         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46169         stack usage.
46171 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
46173         [BZ #13367]
46174         * nss/getent.c (initgroups_keys): Show error message in case no group
46175         names are given.
46177         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46178         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46179         __bump_nl_timestamp.
46180         * nscd/connections (nscd_init): When host database is served open
46181         netlink socket and request notification about configuration changes.
46182         (main_loop_poll): Track netlink file descriptor and bump timestamp
46183         in case data becomes available.
46184         (main_loop_epoll): Likewise.
46185         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46186         (database_pers_head): Add extra_data fileds.
46187         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46188         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46189         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46190         Adjust caller.
46191         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46192         in6ai data, call __free_in6ai.
46193         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46194         Add -DHAVE_NETLINK.
46195         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
46196         interface information.  Reuse previous data if netlink timestamp
46197         is not changed.
46198         (__bump_nl_timestamp): New function.
46199         (__free_in6ai): New function.
46201 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
46203         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46204         close_not_cancel_no_status here.
46205         (__check_pf): Reorganize code a bit to not call close twice if OOM.
46207 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46209         [BZ #13276]
46210         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46211         return value.
46213         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46214         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46215         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46217 2011-07-03  Andreas Jaeger  <aj@suse.de>
46219         [BZ #10709]
46220         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46221         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46222         * math/libm-test.inc (sin_test): Add test case.
46224 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
46226         [BZ #13337]
46227         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46228         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46230         * elf/chroot_canon.c (chroot_canon): Cleanups.
46232         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46234         [BZ #13335]
46235         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46236         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46238         * string/test-strchr.c: Make usable for strchrnul testing.
46239         * string/test-strchrnul.c: New file.
46240         * string/Makefile (strop-tests): Add strchrnul.
46242         * po/it.po: Update from translation team.
46243         * po/es.po: Likewise.
46245 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
46247         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46248         the three constants needed as parameters.  Drop the others.
46249         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46250         __m128i_strloadu_tolower.
46251         Create and initialize variable zero and use it in all the places
46252         where _mm_setzero_si128 was used.
46254         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46255         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46256         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46257         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46258         anymore.
46259         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46260         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46261         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46262         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46263         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46264         __mpranred, __mptan.
46265         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46266         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46267         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46268         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46269         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46270         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46271         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46272         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46273         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46275 2011-10-28  Andreas Schwab  <schwab@redhat.com>
46277         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46278         redefine if SHARED.
46279         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46282         wide char related routines to wcsmbs subdir.
46284 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46286         [BZ #13344]
46287         * misc/sys/cdefs.h (__THROWNL): Define.
46288         * posix/unistd.h: Use __THREADNL instead of __THREAD
46289         for memory synchronization functions.
46291 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46293         [BZ #13349]
46294         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46295         doesn't exist.
46296         * manual/stdio.texi (Obstack Streams): Node removed.
46298 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46300         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46301         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46302         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46304         * math/math_private.h (math_force_eval): Allow non-addressable
46305         arguments.
46306         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46308 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46310         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46311         file is not needed.
46313         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46314         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46315         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46316         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46317         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46318         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46319         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46320         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46321         Add AVX variants.
46322         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46323         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46324         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46325         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46326         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46327         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46328         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46329         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46330         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46331         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46332         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46333         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46334         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46335         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46336         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46337         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46338         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46339         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46340         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46342         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46343         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46345         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46346         place.  Use VEX encoding when compiling for AVX.
46348 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46350         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46351         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46353         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46355 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46357         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46358         useless if() expression.
46359         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46360         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46361         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46362         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46363         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46364         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46365         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46366         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46367         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46368         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46369         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46370         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46371         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46372         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46373         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46376         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46377         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46379         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46381 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46383         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46384         condition.
46385         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46387 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46389         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46390         .text section.  Avoid duplicate constants.
46391         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46393         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46394         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46395         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46396         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46397         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46398         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46399         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46400         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46401         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46402         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46403         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46405         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46406         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46408         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46411         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46412         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46413         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46414         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46415         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46416         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46417         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46418         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46419         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46420         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46421         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46422         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46423         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46424         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46425         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46426         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46427         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46428         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46429         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46430         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46431         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46432         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46433         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46434         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46435         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46437 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46439         * sysdeps/x86_64/dla.h: Move to ...
46440         * sysdeps/x86_64/fpu/dla.h: ...here.
46441         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46442         situations.  Use __builtin_fma only for gcc 4.6 and up.
46444         * config.make.in: Add have-mfma4 entry.
46445         * configure.in: Substitute libc_cv_cc_fma4.
46446         * math/Makefile (dbl-only-routines): Add sincostab.
46447         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46448         Use __sincostab not sincos.
46449         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46450         name is a macro.
46451         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46453         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46455         using __copysign.
46456         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46457         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46458         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46459         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46460         and __inv.
46461         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46462         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46463         __copysign.
46464         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46465         define aliases when function name is a macro.
46466         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46467         sysdeps/ieee754/dbl-64/sincos.tbl.
46468         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46469         fma4-enabled routines.
46470         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46471         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46472         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46473         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46475         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46476         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46477         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46478         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46479         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46480         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46481         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46482         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46483         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46484         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46485         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46486         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46487         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46488         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46489         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46490         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46491         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46492         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46493         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46494         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46495         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46496         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46497         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46498         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46499         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46501         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46502         rename.
46503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46509         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46512 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46514         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46516 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46518         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46520         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46521         prediction.
46522         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46524         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46525         Remove unused variable magic_bits.
46526         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46528         * string/strnlen.c: Define and use STRNLEN macro.
46529         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46530         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46531         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46532         * wcsmbs/wcslen.c: Define and use WCSLEN.
46533         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46534         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46535         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46536         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46537         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46538         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46539         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46541 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46544         strnlen-sse2-no-bsf.
46545         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46546         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46547         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46548         Add strnlen support.
46549         (USE_AS_STRNLEN): New macro.
46550         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46551         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46552         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46553         * sysdeps/x86_64/wcslen.S: New file.
46555 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46557         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46558         XMM-moves are used for copying on small sizes.
46560 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46562         * wcsmbs/Makefile (strop-tests): Add wcschr.
46563         * wcsmbs/test-wcschr.c: New file.
46564         * string/test-strchr.c: Update.
46565         Add wcschr support.
46566         (WIDE): New macro.
46568 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46570         * wcsmbs/Makefile (strop-tests): Add wcslen.
46571         * wcsmbs/test-wcslen.c: New file.
46572         * string/test-strlen.c: Update.
46573         Add wcslen support.
46574         (WIDE): New macro.
46576 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46578         * po/it.po: Update from translation team.
46580 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46582         * sysdeps/x86_64/wcscmp.S: Update.
46583         Fix wrong comparison semantics.
46584         wcscmp shall use signed comparison not unsigned.
46585         Don't use substraction to avoid overflow bug.
46586         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46587         * wcsmbc/wcscmp.c: Likewise.
46588         * string/test-strcmp.c: Likewise.
46589         Add new tests to check cases with negative values.
46591 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46593         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46594         * sysdeps/x86_64/dla.h: ...here.  New file.
46595         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46602         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46605 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46608         __ynl_finite aliases.
46610 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46614         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46615         define DLA_FMA.
46616         [DLA_FMA] (EMULV): Use DLA_FMA.
46617         [DLA_FMA] (MUL12): Use EMULV.
46618         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46619         that are not needed.
46620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46624         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46625         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46626         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46628 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46630         * math/s_nan.c: Undef __nan.
46631         * math/s_nanf.c: Undef __nanf.
46632         * math/s_nanl.c: Undef __nanl.
46633         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46634         "math_private.h".
46636 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46638         * math/s_catan.c: Add branch predictions.
46639         * math/s_catanf.c: Likewise.
46640         * math/s_catanh.c: Likewise.
46641         * math/s_catanhf.c: Likewise.
46642         * math/s_catanhl.c: Likewise.
46643         * math/s_catanl.c: Likewise.
46644         * math/s_cexp.c: Likewise.
46645         * math/s_cexpf.c: Likewise.
46646         * math/s_cexpl.c: Likewise.
46647         * math/s_clog.c: Likewise.
46648         * math/s_clog10.c: Likewise.
46649         * math/s_clog10f.c: Likewise.
46650         * math/s_clog10l.c: Likewise.
46651         * math/s_clogf.c: Likewise.
46652         * math/s_clogl.c: Likewise.
46653         * math/s_csqrt.c: Likewise.
46654         * math/s_csqrtf.c: Likewise.
46655         * math/s_csqrtl.c: Likewise.
46656         * math/s_ctanf.c: Likewise.
46657         * math/s_ctanh.c: Likewise.
46658         * math/s_ctanhf.c: Likewise.
46659         * math/s_ctanhl.c: Likewise.
46660         * math/s_ctanl.c: Likewise.
46662         * math/math_private.h: Define __nan, __nanf, __nanl.
46663         * math/s_cacosh.c: Include <math_private.h>.
46664         * math/s_cacoshl.c: Likewise.
46665         * math/s_casinh.c: Likewise.
46666         * math/s_casinhf.c: Likewise.
46667         * math/s_casinhl.c: Likewise.
46668         * math/s_ccos.c: Rely entire on ccosh.
46669         * math/s_ccosf.c: Rely entire on ccoshf.
46670         * math/s_ccosl.c: Rely entirely on ccoshl.
46671         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46672         Remove tests for FE_INVALID.
46673         * math/s_ccoshf.c: Likewise.
46674         * math/s_ccoshl.c: Likewise.
46675         * math/s_csin.c: Likewise.
46676         * math/s_csinf.c: Likewise.
46677         * math/s_csinh.c Likewise.
46678         * math/s_csinhf.c: Likewise.
46679         * math/s_csinhl.c: Likewise.
46680         * math/s_csinl.c: Likewise.
46681         * math/s_ctan.c: Likewise.
46682         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46683         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46684         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46686 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46689         compilation problems.
46691         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46692         __builtin_expect.
46694 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46696         * sysdeps/i386/configure.in: Test for -mfma4 option.
46697         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46698         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46699         COMMON_CPUID_INDEX_80000001.
46700         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46701         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46702         use it if FMA3 is not supported.
46703         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46705         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46706         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46708 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46710         [BZ #12892]
46711         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46712         it would create a cycle with a link time dependency.
46714 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46716         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46717         instruction.
46718         * string/Makefile (strop-tests): Add rawmemchr.
46719         * string/test-rawmemchr.c: New file.
46721         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46722         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46723         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46724         when compiling str{,n}casecmp and when AVX is available.  Hook up
46725         new optimized code in initializers.
46727 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46729         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46730         __feraiseexcept instead of feraiseexcept.
46732 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46734         * math/math_private.h: Define defaults for libc_fetestexcept and
46735         libc_feupdateenv.
46736         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46737         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46738         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46739         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46740         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46741         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46742         libc_fetestexcept and libc_feupdateenv.
46744         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46745         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46746         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46747         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46748         libc_feholdexcept_setround.
46750         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46751         Add s_nearbyint-c and s_nearbyintf-c.
46752         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46753         nearbyintf inlines.
46754         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46755         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46756         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46757         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46759         * math/math_private.h: Define defaults for libc_fegetround,
46760         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46761         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46762         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46763         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46764         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46765         standard functions.
46766         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46767         Remove comments and hacks for old compiler versions.
46768         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46769         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46770         libc_feholdexceptl.
46772 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46774         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46775         (__feraiseexcept_renamed): Add __NTH.
46776         (feraiseexcept): Add __NTH.  Rename local variables to fix
46777         namespace violations.
46779 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46781         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46783         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46785         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46786         recently added interfaces.
46787         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46789         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46790         about macro parameter expansion.
46792         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46793         __NO_MATH_INLINES is defined.  Cleanups.
46795         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46796         and __floorf is target has SSE4.1.
46797         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46798         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46799         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46800         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46802         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46803         name.
46804         (floorf): Likewise.
46806         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46808 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46810         * misc/sys/cdefs.h: Fix last change.
46812         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46813         database lookup.
46815 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46817         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46819         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46820         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46821         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46822         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46823         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46824         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46825         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46826         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46827         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46828         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46829         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46830         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46831         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46832         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46833         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46834         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46835         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46836         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46837         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46838         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46839         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46840         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46842         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46843         ceil, ceilf, floor, floorf.
46845         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46846         Perform IRELATIVE relocations last.
46848         * elf/do-rel.h: Add another parameter nrelative, replacing the
46849         local variable with the same name.  Change name of the function
46850         to end in Rel or Rela (uppercase).
46851         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46852         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46853         elf_dynamic_do_##reloc function.
46855 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46857         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46858         is sufficient, at least on modern CPUs.
46860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46862         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46863         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46865         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46866         __expl_finite.
46867         * math/bits/math-finite.h: Add entries for exp.
46868         * math/e_expl.c: Add __*_finite alias.
46869         * sysdeps/i386/fpu/e_exp.S: Likewise.
46870         * sysdeps/i386/fpu/e_expf.S: Likewise.
46871         * sysdeps/i386/fpu/e_expl.c: Likewise.
46872         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46873         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46874         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46875         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46877         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46878         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46880         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46881         is sufficient, at least on modern CPUs.
46883         * ctype/ctype-info.c (__ctype_init): Define.
46884         * include/ctype.h (__ctype_init): Declare.
46885         (__ctype_b_loc): The variable is always initialized.
46886         (__ctype_toupper_loc): Likewise.
46887         (__ctype_tolower_loc): Likewise.
46888         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46889         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46891 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46893         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46895         * configure.in: Also look in $cxxmachine/include for C++ system
46896         headers.
46898 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46900         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46901         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46902         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46903         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46904         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46905         (USE_AS_WMEMCMP): New macro.
46906         Fixing indents.
46907         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46908         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46909         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46910         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46912         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46913         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46914         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46915         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46916         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46917         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46918         (USE_AS_WMEMCMP): New macro.
46919         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46920         * sysdeps/string/test-memcmp.c: Update.
46921         Fix simple_wmemcmp.
46922         Add new tests.
46923         * wcsmbs/wmemcmp.c: Update.
46924         (WMEMCMP): New macro.
46925         Fix overflow bug.
46927 2011-10-12  Andreas Jaeger  <aj@suse.de>
46929         [BZ #13268]
46930         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46932 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46934         * libio/iofwide.c (do_length): Avoid warning.
46936         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46938 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46940         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46942         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46943         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46944         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46945         * sysdeps/i386/i686/fpu/e_log.S: New file.
46946         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46947         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46949         * ctype/ctype.h: Add support for inlined isXXX functions when
46950         compiling C++ code.
46952 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46954         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46956         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46958 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46960         [BZ #13291]
46961         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46963 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46965         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46966         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46967         feraiseexcept.
46969         * sysdeps/x86_64/memrchr.S: Check for zero size.
46971         * string/stratcliff.c: Add memrchr tests.
46973 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46976         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46977         rawmemchr-sse2 rawmemchr-sse2-bsf.
46978         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46979         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46980         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46981         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46982         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46983         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46984         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46985         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46986         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46987         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46988         * string/memrchr.c (MEMRCHR): New macro.
46990 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46992         Add integration with gcc's -ffinite-math-only and optimize wrapper
46993         functions in libm.
46994         * Versions.def: Define GLIBC_2.15 version for libm.
46995         * math/Makefile (headers): Add bits/math-finite.h.
46996         * math/bits/math-finite.h: New file.
46997         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46998         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46999         * math/e_acoshl.c: Add __*_finite alias.
47000         * math/e_acosl.c: Likewise.
47001         * math/e_asinl.c: Likewise.
47002         * math/e_atan2l.c: Likewise.
47003         * math/e_atanhl.c: Likewise.
47004         * math/e_coshl.c: Likewise.
47005         * math/e_exp10.c: Likewise.
47006         * math/e_exp10f.c: Likewise.
47007         * math/e_exp10l.c: Likewise.
47008         * math/e_exp2l.c: Likewise.
47009         * math/e_fmodl.c: Likewise.
47010         * math/e_gammal_r.c: Likewise.
47011         * math/e_hypotl.c: Likewise.
47012         * math/e_j0l.c: Likewise.
47013         * math/e_j1l.c: Likewise.
47014         * math/e_jnl.c: Likewise.
47015         * math/e_lgammal_r.c: Likewise.
47016         * math/e_log10l.c: Likewise.
47017         * math/e_log2l.c: Likewise.
47018         * math/e_logl.c: Likewise.
47019         * math/e_powl.c: Likewise.
47020         * math/e_sinhl.c: Likewise.
47021         * math/e_sqrtl.c: Likewise.
47022         * math/e_scalb.c: Completely rewritten and optimized.
47023         * math/e_scalbf.c: Likewise.
47024         * math/e_scalbl.c: Likewise.
47025         * math/w_acos.c: Likewise.
47026         * math/w_acosf.c: Likewise.
47027         * math/w_acosl.c: Likewise.
47028         * math/w_acosh.c: Likewise.
47029         * math/w_acoshf.c: Likewise.
47030         * math/w_acoshl.c: Likewise.
47031         * math/w_asin.c: Likewise.
47032         * math/w_asinf.c: Likewise.
47033         * math/w_asinl.c: Likewise.
47034         * math/w_atan2.c: Likewise.
47035         * math/w_atan2f.c: Likewise.
47036         * math/w_atan2l.c: Likewise.
47037         * math/w_atanh.c: Likewise.
47038         * math/w_atanhf.c: Likewise.
47039         * math/w_atanhl.c: Likewise.
47040         * math/w_exp10.c: Likewise.
47041         * math/w_exp10f.c: Likewise.
47042         * math/w_exp10l.c: Likewise.
47043         * math/w_fmod.c: Likewise.
47044         * math/w_fmodf.c: Likewise.
47045         * math/w_fmodl.c: Likewise.
47046         * math/w_j0.c: Likewise.
47047         * math/w_j0f.c: Likewise.
47048         * math/w_j0l.c: Likewise.
47049         * math/w_j1.c: Likewise.
47050         * math/w_j1f.c: Likewise.
47051         * math/w_j1l.c: Likewise.
47052         * math/w_jn.c: Likewise.
47053         * math/w_jnf.c: Likewise.
47054         * math/w_log.c: Likewise.
47055         * math/w_logf.c: Likewise.
47056         * math/w_logl.c: Likewise.
47057         * math/w_log10.c: Likewise.
47058         * math/w_log10f.c: Likewise.
47059         * math/w_log10l.c: Likewise.
47060         * math/w_log2.c: Likewise.
47061         * math/w_log2f.c: Likewise.
47062         * math/w_log2l.c: Likewise.
47063         * math/w_pow.c: Likewise.
47064         * math/w_powf.c: Likewise.
47065         * math/w_powl.c: Likewise.
47066         * math/w_remainder.c: Likewise.
47067         * math/w_remainderf.c: Likewise.
47068         * math/w_remainderl.c: Likewise.
47069         * math/w_scalb.c: Likewise.
47070         * math/w_scalbf.c: Likewise.
47071         * math/w_scalbl.c: Likewise.
47072         * math/w_sqrt.c: Likewise.
47073         * math/w_sqrtf.c: Likewise.
47074         * math/w_sqrtl.c: Likewise.
47075         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47076         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
47077         used.
47078         * math/math_private.h: Declare __kernel_standard_f.
47079         * math/w_cosh.c: Remove cruft and optimize a bit.
47080         * math/w_coshf.c: Likewise.
47081         * math/w_coshl.c: Likewise.
47082         * math/w_exp2.c: Likewise.
47083         * math/w_exp2f.c: Likewise.
47084         * math/w_exp2l.c: Likewise.
47085         * math/w_hypot.c: Likewise.
47086         * math/w_hypotf.c: Likewise.
47087         * math/w_hypotl.c: Likewise.
47088         * math/w_lgamma.c: Likewise.
47089         * math/w_lgamma_r.c: Likewise.
47090         * math/w_lgammaf.c: Likewise.
47091         * math/w_lgammaf_r.c: Likewise.
47092         * math/w_lgammal.c: Likewise.
47093         * math/w_lgammal_r.c: Likewise.
47094         * math/w_sinh.c: Likewise.
47095         * math/w_sinhf.c: Likewise.
47096         * math/w_sinhl.c: Likewise.
47097         * math/w_tgamma.c: Likewise.
47098         * math/w_tgammaf.c: Likewise.
47099         * math/w_tgammal.c: Likewise.
47100         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47101         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47102         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47103         Minor optimizations.  Pretty printing.  Remove cruft.
47104         * sysdeps/i386/fpu/e_acosf.S: Likewise.
47105         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47106         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47107         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47108         * sysdeps/i386/fpu/e_acosl.c: Likewise.
47109         * sysdeps/i386/fpu/e_asin.S: Likewise.
47110         * sysdeps/i386/fpu/e_asinf.S: Likewise.
47111         * sysdeps/i386/fpu/e_atan2.S: Likewise.
47112         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47113         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47114         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47115         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47116         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47117         * sysdeps/i386/fpu/e_exp10.S: Likewise.
47118         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47119         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47120         * sysdeps/i386/fpu/e_exp2.S: Likewise.
47121         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47122         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47123         * sysdeps/i386/fpu/e_fmod.S: Likewise.
47124         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47125         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47126         * sysdeps/i386/fpu/e_hypot.S: Likewise.
47127         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47128         * sysdeps/i386/fpu/e_log.S: Likewise.
47129         * sysdeps/i386/fpu/e_log10.S: Likewise.
47130         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47131         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47132         * sysdeps/i386/fpu/e_log2.S: Likewise.
47133         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47134         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47135         * sysdeps/i386/fpu/e_logf.S: Likewise.
47136         * sysdeps/i386/fpu/e_logl.S: Likewise.
47137         * sysdeps/i386/fpu/e_pow.S: Likewise.
47138         * sysdeps/i386/fpu/e_powf.S: Likewise.
47139         * sysdeps/i386/fpu/e_powl.S: Likewise.
47140         * sysdeps/i386/fpu/e_remainder.S: Likewise.
47141         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47142         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47143         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47144         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47145         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47146         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47147         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47148         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47149         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47150         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47152         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47153         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47154         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47155         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47156         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47157         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47158         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47159         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47160         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47162         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47163         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47164         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47165         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47166         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47167         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47168         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47169         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47170         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47171         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47172         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47173         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47174         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47175         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47176         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47177         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47178         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47179         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47180         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47181         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47182         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47183         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47184         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47185         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47186         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47187         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47188         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47189         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47190         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47198         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47199         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47201         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47202         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47204         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47228         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47229         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47232         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47234         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47235         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47236         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47237         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47240         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47241         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47242         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47243         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47244         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47245         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47246         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47247         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47248         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47249         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47250         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47251         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47252         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47253         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47254         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47255         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47256         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47257         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47258         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47259         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
47260         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47261         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47262         (__isnanf): Likewise.
47263         (__isinf_ns): Likewise.
47264         (__isinf_nsf): Likewise.
47265         (__finite): Likewise.
47266         (__finitef): Likewise.
47267         (__ieee754_sqrt): Define as macro.
47268         (__ieee754_sqrtf): Define as macro.
47269         (__ieee754_sqrtl): Define as macro.
47270         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47271         inlined copy.
47272         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47273         __FINITE_MATH_ONLY__ consistent.
47274         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47276 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
47278         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47279         of rawmemchr.
47281         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47283 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47285         * po/ja.po: Update from translation team.
47287 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47289         * locale/programs/locarchive.c (prepare_address_space): New function.
47290         (create_archive, enlarge_archive, open_archive): Use it.
47292         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47293         inside [SHARED], where it is used.
47295         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47297         * nss/getent.c (netgroup_keys): Remove unused variable.
47298         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47300 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47302         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47303         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47304         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47305         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47306         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47307         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47308         * math/Makefile (libm-calls): Add s_isinf_ns.
47309         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47310         * math/multc3.c: Likewise.
47311         * math/s_casin.c: Likewise.
47312         * math/s_casinf.c: Likewise.
47313         * math/s_casinl.c: Likewise.
47314         * math/s_ccos.c: Likewise.
47315         * math/s_ccosf.c: Likewise.
47316         * math/s_ccosl.c: Likewise.
47317         * math/s_ctan.c: Likewise.
47318         * math/s_ctanf.c: Likewise.
47319         * math/s_ctanh.c: Likewise.
47320         * math/s_ctanhf.c: Likewise.
47321         * math/s_ctanhl.c: Likewise.
47322         * math/s_ctanl.c: Likewise.
47323         * math/w_fmod.c: Likewise.
47324         * math/w_fmodf.c: Likewise.
47325         * math/w_fmodl.c: Likewise.
47326         * math/w_remainder.c: Likewise.
47327         * math/w_remainderf.c: Likewise.
47328         * math/w_remainderl.c: Likewise.
47329         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47330         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47331         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47333         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47334         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47335         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47336         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47338         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47339         of the number.
47340         * stdio-common/printf_fphex.c: Likewise.
47341         * stdio-common/printf_size.c: Likewise.
47343         * math/e_exp10.c: Include math_private.h using <...> not "...".
47344         * math/e_exp10f.c: Likewise.
47345         * math/e_exp10l.c: Likewise.
47346         * math/e_exp2l.c: Likewise.
47347         * math/e_j0l.c: Likewise.
47348         * math/e_j1l.c: Likewise.
47349         * math/e_jnl.c: Likewise.
47350         * math/e_lgammal_r.c: Likewise.
47351         * math/e_rem_pio2l.c: Likewise.
47352         * math/e_scalb.c: Likewise.
47353         * math/e_scalbf.c: Likewise.
47354         * math/e_scalbl.c: Likewise.
47355         * math/k_cosl.c: Likewise.
47356         * math/k_sinl.c: Likewise.
47357         * math/k_tanl.c: Likewise.
47358         * math/s_cacoshf.c: Likewise.
47359         * math/s_catan.c: Likewise.
47360         * math/s_catanf.c: Likewise.
47361         * math/s_catanh.c: Likewise.
47362         * math/s_catanhf.c: Likewise.
47363         * math/s_catanhl.c: Likewise.
47364         * math/s_catanl.c: Likewise.
47365         * math/s_ccosh.c: Likewise.
47366         * math/s_ccoshf.c: Likewise.
47367         * math/s_ccoshl.c: Likewise.
47368         * math/s_cexp.c: Likewise.
47369         * math/s_cexpf.c: Likewise.
47370         * math/s_cexpl.c: Likewise.
47371         * math/s_clog.c: Likewise.
47372         * math/s_clog10.c: Likewise.
47373         * math/s_clog10f.c: Likewise.
47374         * math/s_clog10l.c: Likewise.
47375         * math/s_clogf.c: Likewise.
47376         * math/s_clogl.c: Likewise.
47377         * math/s_csin.c: Likewise.
47378         * math/s_csinf.c: Likewise.
47379         * math/s_csinh.c: Likewise.
47380         * math/s_csinhf.c: Likewise.
47381         * math/s_csinhl.c: Likewise.
47382         * math/s_csinl.c: Likewise.
47383         * math/s_csqrt.c: Likewise.
47384         * math/s_csqrtf.c: Likewise.
47385         * math/s_csqrtl.c: Likewise.
47386         * math/s_ctan.c: Likewise.
47387         * math/s_ctanf.c: Likewise.
47388         * math/s_ctanh.c: Likewise.
47389         * math/s_ctanhf.c: Likewise.
47390         * math/s_ctanhl.c: Likewise.
47391         * math/s_ctanl.c: Likewise.
47392         * math/s_ldexp.c: Likewise.
47393         * math/s_ldexpf.c: Likewise.
47394         * math/s_ldexpl.c: Likewise.
47395         * math/s_significand.c: Likewise.
47396         * math/s_significandf.c: Likewise.
47397         * math/s_significandl.c: Likewise.
47398         * math/w_acos.c: Likewise.
47399         * math/w_acosf.c: Likewise.
47400         * math/w_acosh.c: Likewise.
47401         * math/w_acoshf.c: Likewise.
47402         * math/w_acoshl.c: Likewise.
47403         * math/w_acosl.c: Likewise.
47404         * math/w_asin.c: Likewise.
47405         * math/w_asinf.c: Likewise.
47406         * math/w_asinl.c: Likewise.
47407         * math/w_atan2.c: Likewise.
47408         * math/w_atan2f.c: Likewise.
47409         * math/w_atan2l.c: Likewise.
47410         * math/w_atanh.c: Likewise.
47411         * math/w_atanhf.c: Likewise.
47412         * math/w_atanhl.c: Likewise.
47413         * math/w_cosh.c: Likewise.
47414         * math/w_coshf.c: Likewise.
47415         * math/w_coshl.c: Likewise.
47416         * math/w_dremf.c: Likewise.
47417         * math/w_exp10.c: Likewise.
47418         * math/w_exp10f.c: Likewise.
47419         * math/w_exp10l.c: Likewise.
47420         * math/w_exp2.c: Likewise.
47421         * math/w_exp2f.c: Likewise.
47422         * math/w_fmod.c: Likewise.
47423         * math/w_fmodf.c: Likewise.
47424         * math/w_fmodl.c: Likewise.
47425         * math/w_hypot.c: Likewise.
47426         * math/w_hypotf.c: Likewise.
47427         * math/w_hypotl.c: Likewise.
47428         * math/w_j0.c: Likewise.
47429         * math/w_j0f.c: Likewise.
47430         * math/w_j0l.c: Likewise.
47431         * math/w_j1.c: Likewise.
47432         * math/w_j1f.c: Likewise.
47433         * math/w_j1l.c: Likewise.
47434         * math/w_jn.c: Likewise.
47435         * math/w_jnf.c: Likewise.
47436         * math/w_jnl.c: Likewise.
47437         * math/w_lgamma.c: Likewise.
47438         * math/w_lgamma_r.c: Likewise.
47439         * math/w_lgammaf.c: Likewise.
47440         * math/w_lgammaf_r.c: Likewise.
47441         * math/w_lgammal.c: Likewise.
47442         * math/w_lgammal_r.c: Likewise.
47443         * math/w_log.c: Likewise.
47444         * math/w_log10.c: Likewise.
47445         * math/w_log10f.c: Likewise.
47446         * math/w_log10l.c: Likewise.
47447         * math/w_log2.c: Likewise.
47448         * math/w_log2f.c: Likewise.
47449         * math/w_log2l.c: Likewise.
47450         * math/w_logf.c: Likewise.
47451         * math/w_logl.c: Likewise.
47452         * math/w_pow.c: Likewise.
47453         * math/w_powf.c: Likewise.
47454         * math/w_powl.c: Likewise.
47455         * math/w_remainder.c: Likewise.
47456         * math/w_remainderf.c: Likewise.
47457         * math/w_remainderl.c: Likewise.
47458         * math/w_scalb.c: Likewise.
47459         * math/w_scalbf.c: Likewise.
47460         * math/w_scalbl.c: Likewise.
47461         * math/w_sinh.c: Likewise.
47462         * math/w_sinhf.c: Likewise.
47463         * math/w_sinhl.c: Likewise.
47464         * math/w_sqrt.c: Likewise.
47465         * math/w_sqrtf.c: Likewise.
47466         * math/w_sqrtl.c: Likewise.
47467         * math/w_tgamma.c: Likewise.
47468         * math/w_tgammaf.c: Likewise.
47469         * math/w_tgammal.c: Likewise.
47471         * po/ja.po: Update from translation team.
47473 2011-09-29  Andreas Jaeger  <aj@suse.de>
47475         [BZ #13179]
47476         * sunrpc/netname.c (netname2host): Fix logic.
47478         [BZ #6779]
47479         [BZ #6783]
47480         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47481         correctly.
47482         * math/w_remainder.c (__remainder): Likewise.
47483         * math/w_remainderf.c (__remainderf): Likewise.
47484         * math/libm-test.inc (remainder_test): Add test cases.
47486 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47488         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47489         sdiv_qrnnd.
47491 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47493         * string/test-memcmp.c: Avoid unncessary #defines.
47494         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47496 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47498         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47499         Use new sse2 version for core i3 - i7 as it's faster
47500         than sse42 version.
47501         (bit_Prefer_PMINUB_for_stringop): New.
47502         * sysdeps/x86_64/rawmemchr.S: Update.
47503         Replace with faster SSE2 version.
47504         * sysdeps/x86_64/memrchr.S: New file.
47505         * sysdeps/x86_64/memchr.S: Update.
47506         Replace with faster SSE2 version.
47508 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47510         * elf/dl-load.c (lose): Add cast to avoid warning.
47512 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47514         * po/ca.po: Update from translation team.
47516         * inet/getnetgrent_r.c: Hook up nscd.
47517         * nscd/Makefile (routines): Add nscd_netgroup.
47518         (nscd-modules): Add netgroupcache.
47519         (CFLAGS-netgroupcache.c): Define.
47520         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47521         (cache_search): Add const to second parameter.
47522         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47523         INNETGR.
47524         (dbs): Add netgrdb entry.
47525         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47526         (verify_persistent_db): Handle netgrdb.
47527         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47528         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47529         GETFDNETGR.
47530         (netgroup_response_header): Define.
47531         (innetgroup_response_header): Define.
47532         (datahead): Add netgroup_response_header and innetgroup_response_header
47533         elements.
47534         * nscd/nscd.conf: Add entries for netgroup cache.
47535         * nscd/nscd.h (dbtype): Add netgrdb.
47536         (_PATH_NSCD_NETGROUP_DB): Define.
47537         (netgroup_iov_disabled): Declare.
47538         (xmalloc, xcalloc, xrealloc): Move declarations here.
47539         (cache_search): Adjust prototype.
47540         Add netgroup-related prototypes.
47541         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47542         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47543         (__nscd_innetgr): Declare.
47544         * nscd/selinux.c (perms): Use access_vector_t as element type and
47545         add netgroup-related initializers.
47546         * nscd/netgroupcache.c: New file.
47547         * nscd/nscd_netgroup.c: New file.
47548         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47549         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47550         For four parameters use innetgr.
47551         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47552         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47553         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47554         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47556         * nscd/connections.c (register_traced_file): Don't register file
47557         for disabled databases.
47559 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47561         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47563         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47564         from tree and freeing node.
47566 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47568         * nss/nsswitch.c (__nss_database_lookup): Handle
47569         nss_parse_service_list out of memory case.
47571 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47573         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47574         out of memory case.
47576 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47578         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47579         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47580         pass it down.
47581         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47582         elf_machine_rela, elf_machine_lazy_rel.
47583         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47584         (ELF_DYNAMIC_DO_REL): Likewise.
47585         (ELF_DYNAMIC_DO_RELA): Likewise.
47586         (ELF_DYNAMIC_RELOCATE): Likewise.
47587         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47588         to ELF_DYNAMIC_DO_REL.
47589         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47590         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47591         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47592         elf_machine_rela.
47593         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47594         skip_ifunc, don't call ifunc function if non-zero.
47595         (elf_machine_rela): Likewise.
47596         (elf_machine_lazy_rel): Likewise.
47597         (elf_machine_lazy_rela): Likewise.
47598         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47599         (elf_machine_lazy_rel): Likewise.
47600         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47601         Likewise.
47602         (elf_machine_lazy_rel): Likewise.
47603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47604         Likewise.
47605         (elf_machine_lazy_rel): Likewise.
47606         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47607         (elf_machine_lazy_rel): Likewise.
47608         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47609         (elf_machine_lazy_rel): Likewise.
47610         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47611         (elf_machine_lazy_rel): Likewise.
47612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47613         (elf_machine_lazy_rel): Likewise.
47614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47615         (elf_machine_lazy_rel): Likewise.
47616         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47617         (elf_machine_lazy_rel): Likewise.
47619 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47621         * nss/nss_files/files-init.c (_nss_files_init): Use static
47622         initialization for all the *_traced_file variables.
47624 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47626         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47628 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47630         [BZ #13226]
47631         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47633 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47636         Reread the line before reparsing it.
47638 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47640         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47642 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47643             Maxim Kuvyrkov  <maxim@codesourcery.com>
47644             Joseph Myers  <joseph@codesourcery.com>
47646         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47647         if needed for __stack_chk_guard.
47649 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47651         * sysdeps/posix/spawni.c (script_execute): Always define it.
47652         It will be optimized away if unused.
47653         (maybe_script_execute): New function.
47654         (__spawni): Call it.
47656         * Makerules: Don't include tls.make.
47657         (config-tls): Always set to thread.
47658         * tls.make.c: File removed.
47660 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47662         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47663         * config.make.in (CPPFLAGS-config): New substituted variable.
47665 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47667         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47669         [BZ #13192]
47670         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47671         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47673 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47675         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47676         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47677         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47678         (CALL_FAIL): Likewise.
47679         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47680         (CALL_FAIL): Macro removed.
47681         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47683 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47685         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47686         for __FINITE_MATH_ONLY__ == 1.
47688 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47690         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47691         __ieee754_sqrt instead of sqrt.
47692         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47693         __ieee754_sqrtf instead of sqrtf.
47694         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47695         __floorf instead of floorf.
47696         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47697         __floorf, __truncf instead of floorf, truncf.
47699 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47701         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47703         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47704         __extern_always_inline.
47705         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47706         32-bit.
47708 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47710         * elf/rtld.c (dl_main): Also relocate in dependency order when
47711         doing symbol dependency testing.
47713 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47716         Always define `refsym'.
47718 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47720         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47721         (__FD_ELT): Renamed from __FDELT.
47722         * misc/bits/select2.h (__FD_ELT): Likewise.
47723         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47724         __FD_MASK instead of __FDELT, __FDMASK.
47725         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47726         Likewise.
47727         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47728         Likewise.
47730         * elf/Makefile (gen-ldd): Fix pattern.
47732         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47733         (init_tls): Likewise.
47735 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47737         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47739 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47741         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47742         `struct cmsghdr *' instead of `void *'.
47743         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47744         Likewise.
47746 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47748         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47749         if non-absolute.
47750         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47751         ldd_rewrite_script.
47753 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47755         * configure.in: Remove --with-tls option.
47756         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47757         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47758         out in case it is missing.
47759         * sysdeps/ia64/elf/configure.in: Likewise.
47760         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47761         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47762         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47763         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47764         * sysdeps/sh/elf/configure.in: Likewise.
47765         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47766         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47767         * sysdeps/x86_64/elf/configure.in: Likewise.
47768         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47769         * sysdeps/mach/hurd/tls.h: Likewise.
47771         [BZ #13067]
47772         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47774         [BZ #13090]
47775         * configure.in: Fix use of AC_INIT.
47777         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47779 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47781         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47782         __set_errno.
47783         * malloc/hooks.c: Likewise.
47785         [BZ #11929]
47786         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47787         variables statically.
47788         (narenas): Initialize.
47789         (list_lock): Initialize.
47790         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47791         initializtion of main_arena and list_lock.  Small cleanups.
47792         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47793         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47794         Add initializers to main_arena and mp_.
47795         (malloc_state): Remove pagesize member.  Change all users to use
47796         GLRO(dl_pagesize).
47798         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47799         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47800         is always initialized.
47802         * malloc/malloc.c: Removed unused configurations and dead code.
47803         * malloc/arena.c: Likewise.
47804         * malloc/hooks.c: Likewise.
47805         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47807         * include/tls.h: Removed.  USE___THREAD must always be defined.
47808         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47809         * elf/dl-libc.c: Likewise.
47810         * elf/dl-tsd.c: Likewise.
47811         * include/errno.h: Likewise.
47812         * include/netdb.h: Likewise.
47813         * include/resolv.h: Likewise.
47814         * inet/herrno-loc.c: Likewise.
47815         * inet/herrno.c: Likewise.
47816         * malloc/arena.c: Likewise.
47817         * malloc/hooks.c: Likewise.
47818         * malloc/malloc.c: Likewise.
47819         * resolv/res-state.c: Likewise.
47820         * resolv/res_libc.c: Likewise.
47821         * sysdeps/i386/dl-machine.h: Likewise.
47822         * sysdeps/ia64/dl-machine.h: Likewise.
47823         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47824         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47825         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47826         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47827         * sysdeps/sh/dl-machine.h: Likewise.
47828         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47829         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47830         * sysdeps/unix/i386/sysdep.S: Likewise.
47831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47832         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47834         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47836         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47837         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47838         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47839         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47841         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47842         * sysdeps/x86_64/dl-machine.h: Likewise.
47843         * tls.make.c: Likewise.
47845         * configure.in: Remove --with-__thread option.  Make tests for
47846         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47847         tls_model attribute fail if no support is available.  Remove
47848         USE_IN_LIBIO.
47849         * Makeconfig: Adjust for dropped configure option.  All features are
47850         now mandatory.
47851         * Makerules: Likewise.
47852         * Versions.def: Likewise.
47853         * argp/argp-fmtstream.c: Likewise.
47854         * argp/argp-fmtstream.h: Likewise.
47855         * argp/argp-help.c: Likewise.
47856         * assert/assert.c: Likewise.
47857         * config.h.in: Likewise.
47858         * config.make.in: Likewise.
47859         * configure: Likewise.
47860         * configure.in: Likewise.
47861         * csu/Versions: Likewise.
47862         * csu/init.c: Likewise.
47863         * elf/tst-audit2.c: Likewise.
47864         * elf/tst-tls10.c: Likewise.
47865         * elf/tst-tls10.h: Likewise.
47866         * elf/tst-tls11.c: Likewise.
47867         * elf/tst-tls12.c: Likewise.
47868         * elf/tst-tls14.c: Likewise.
47869         * elf/tst-tlsmod11.c: Likewise.
47870         * elf/tst-tlsmod12.c: Likewise.
47871         * elf/tst-tlsmod13.c: Likewise.
47872         * elf/tst-tlsmod13a.c: Likewise.
47873         * elf/tst-tlsmod14a.c: Likewise.
47874         * elf/tst-tlsmod15b.c: Likewise.
47875         * elf/tst-tlsmod16a.c: Likewise.
47876         * elf/tst-tlsmod16b.c: Likewise.
47877         * elf/tst-tlsmod7.c: Likewise.
47878         * elf/tst-tlsmod8.c: Likewise.
47879         * elf/tst-tlsmod9.c: Likewise.
47880         * gmon/gmon.c: Likewise.
47881         * grp/fgetgrent_r.c: Likewise.
47882         * grp/putgrent.c: Likewise.
47883         * hurd/fopenport.c: Likewise.
47884         * include/libc-symbols.h: Likewise.
47885         * include/tls.h: Likewise.
47886         * intl/gettextP.h: Likewise.
47887         * intl/loadinfo.h: Likewise.
47888         * locale/global-locale.c: Likewise.
47889         * locale/localeinfo.h: Likewise.
47890         * mach/devstream.c: Likewise.
47891         * malloc/arena.c: Likewise.
47892         * malloc/set-freeres.c: Likewise.
47893         * misc/err.c: Likewise.
47894         * misc/getttyent.c: Likewise.
47895         * misc/mntent_r.c: Likewise.
47896         * posix/getopt.c: Likewise.
47897         * posix/wordexp.c: Likewise.
47898         * pwd/fgetpwent_r.c: Likewise.
47899         * resolv/Versions: Likewise.
47900         * resolv/res_hconf.c: Likewise.
47901         * shadow/fgetspent_r.c: Likewise.
47902         * shadow/putspent.c: Likewise.
47903         * stdio-common/printf_fphex.c: Likewise.
47904         * stdio-common/tmpfile.c: Likewise.
47905         * stdlib/abort.c: Likewise.
47906         * stdlib/fmtmsg.c: Likewise.
47907         * sunrpc/auth_unix.c: Likewise.
47908         * sunrpc/clnt_perr.c: Likewise.
47909         * sunrpc/clnt_tcp.c: Likewise.
47910         * sunrpc/clnt_udp.c: Likewise.
47911         * sunrpc/clnt_unix.c: Likewise.
47912         * sunrpc/openchild.c: Likewise.
47913         * sunrpc/svc_simple.c: Likewise.
47914         * sunrpc/svc_tcp.c: Likewise.
47915         * sunrpc/svc_udp.c: Likewise.
47916         * sunrpc/svc_unix.c: Likewise.
47917         * sunrpc/xdr.c: Likewise.
47918         * sunrpc/xdr_array.c: Likewise.
47919         * sunrpc/xdr_rec.c: Likewise.
47920         * sunrpc/xdr_ref.c: Likewise.
47921         * sunrpc/xdr_stdio.c: Likewise.
47923 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47925         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47927 2011-07-03  Andreas Jaeger  <aj@suse.de>
47929         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47930         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47931         regenerate with gen-libm-tests.pl.
47933 2010-05-12  Petr Baudis  <pasky@suse.cz>
47935         [BZ #11589]
47936         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47937         around j0() zero points by switching to j1().
47938         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47939         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47941         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47945         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47946         instead of 0.
47947         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47948         instead of 0.
47949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47950         Patch in part by Pavel Roskin <proski@gnu.org>.
47952         [BZ #13138]
47953         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47954         realloc.
47955         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47956         Free memory block if necessary.
47958         [BZ #12847]
47959         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47960         be NULL.  Don't lock in this case.
47962 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47964         * elf/elf.h (ELFOSABI_GNU): New macro.
47965         (ELFOSABI_LINUX): Define to that.
47967 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47969         * string/strncat.c (strncat): Undef the symbol in case it has been
47970         defined in bits/string.h.
47972 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47974         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47976         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47977         link map.
47979 2011-08-17  Andreas Jaeger  <aj@suse.de>
47981         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47983 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47984             Ian Lance Taylor  <iant@google.com>
47986         * math/libm-test.inc (lround_test): New testcase.
47987         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47989 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47991         * Makefile: Remove support for automatic cvs check-ins.
47992         * Makerules: Likewise.
47993         * config.make.in: Likewise.
47994         * configure.in: Likewise.
47995         * intl/Makefile: Likewise.
47996         * locale/Makefile: Likewise.
47997         * po/Makefile: Likewise.
47998         * posix/Makefile: Likewise.
47999         * sysdeps/gnu/Makefile: Likewise.
48000         * sysdeps/mach/hurd/Makefile: Likewise.
48001         * sysdeps/sparc/sparc32/Makefile: Likewise.
48003         [BZ #13118]
48004         * posix/Makefile (bug-regex32-ENV): Define.
48005         Patch by John Stanley <jpsinthemix@verizon.net>.
48007         * misc/Makefile (headers): Add bits/select2.h.
48008         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48009         * misc/bits/select2.h: New file.
48010         * include/bits/select2.h: New file.
48011         * debug/Makefile (routines): Add fdelt_chk.
48012         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48013         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48014         FD_ISSET.
48015         * debug/fdelt_chk.c: New file.
48017         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
48018         * wcsmbs/test-wmemcmp.c: Likewise.
48019         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48020         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48022 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48024         * string/Makefile (strop-tests): Add memcmp.
48025         * string/test-wmemcmp.c: New file.
48026         * string/test-memcmp.c: Add wmemcmp support.
48028 2011-09-08  Roland McGrath  <roland@hack.frob.com>
48030         [BZ #13153]
48031         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48032         2011-07-19 change.
48034         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48035         garbage value in a __mach_port_mod_refs call in the cases of the
48036         task-self and thread-self ports.
48038 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48040         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48042 2011-09-08  Andreas Schwab  <schwab@redhat.com>
48044         * elf/dl-load.c (lose): Check for non-null L.
48046 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48048         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48050         * elf/dl-libc.c (dlerror_run): Pass back error code from
48051         dl_catch_error.
48053         [BZ #13123]
48054         * elf/dl-load.c (lose): Free l_origin if it is valid.
48056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48057         names.
48058         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48059         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48060         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48062         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48063         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48065 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48067         * sysdeps/powerpc/fpu/e_hypot.c: New file.
48068         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48069         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48070         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48071         * sysdeps/powerpc/fpu/k_cosf.c: New file.
48072         * sysdeps/powerpc/fpu/k_sinf.c: New file.
48073         * sysdeps/powerpc/fpu/s_cosf.c: New file.
48074         * sysdeps/powerpc/fpu/s_sinf.c: New file.
48075         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48076         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48078 2011-08-15  Alan Modra  <amodra@gmail.com>
48080         [BZ #13092]
48081         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48082         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48083         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
48084         ppc_mcount to static-only-routines.
48085         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48086         __mcount_internal.
48087         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48088         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
48090 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
48092         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48093         for finite and infinity parameters.
48095 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48098         and add nop instructions for throughput optimization.
48099         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48101 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
48103         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48104         aligned copy for power7 with vector-scalar instructions.
48105         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48107 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
48109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48110         AVX check.
48112 2011-09-07  Andreas Schwab  <schwab@redhat.com>
48114         [BZ #13144]
48115         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48116         last change.
48118 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
48120         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48121         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48122         syscall wrapper around clock_gettime in __vdso_clock_gettime.
48123         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48124         clock_gettime.
48126 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48128         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48129         Forgot to demangle the pointer.
48131         * sysdeps/i386/sysdep.h: Define atom_text_section.
48132         * sysdeps/x86_64/sysdep.h: Likewise.
48133         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48134         section with atom_text_section.
48135         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48136         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48137         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48139         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48141         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48142         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48143         already be defined.  Change to take two parameters and don't assign
48144         result to variable.  Adjust all users.
48145         Define INTERNAL_GETTIME if not already defined.
48146         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48147         call.
48148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48149         HAVE_CLOCK_GETTIME_VSYSCALL.
48150         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48153         gettimeofday vsyscall, just use time.
48155 2011-09-06  Andreas Schwab  <schwab@redhat.com>
48157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48158         <errno.h>.
48160 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
48162         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48163         syscall on x86-64.
48164         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48165         syscall.
48166         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48167         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48168         syscall if possible.
48170 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48172         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48173         e_ident.  Don't pass to find_mapsXX.
48174         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48176 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48179         strchr-sse2-no-bsf strrchr-sse2-no-bsf
48180         * sysdeps/x86_64/multiarch/strchr.S: Update.
48181         Check bit_slow_BSF bit.
48182         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48183         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48184         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48186 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48188         [BZ #13134]
48189         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48190         before glibc 2.15.
48191         (tryshell): Define.
48192         (__spawni): Change last parameter to be flag.  Test
48193         SPAWN_XFLAGS_USE_PATH flag to use path or not.
48194         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48195         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48196         * posix/spawni.c: Likewise.
48197         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48198         * posix/spawnp.c: Likewise.  Change normal version to use
48199         SPAWN_XFLAGS_USE_PATH.
48200         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48201         SPAWN_XFLAGS_TRY_SHELL.
48203         [BZ #13150]
48204         * posix/glob.h: Remove gcc 1.x support.
48206         [BZ #13068]
48207         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48209 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48212         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48213         strrchr-sse2-bsf
48214         * sysdeps/i386/i686/multiarch/strchr.S: New file.
48215         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48216         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48217         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48218         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48221 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48223         * sysdeps/x86_64/wcscmp.S: New file.
48225         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48226         wcscmp-c wcscmp-sse2
48227         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48228         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48229         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48230         * wcsmbs/wcscmp.c: Allow renaming.
48232 2011-09-05  David S. Miller  <davem@davemloft.net>
48234         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48235         stack slot, rather than the struct return pointer slot.
48236         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48237         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48239         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48241 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
48243         * po/ja.po: Update from translation team.
48245         [BZ #13144]
48246         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48247         kernel in 64-bit binaries.
48249 2011-09-01  David S. Miller  <davem@davemloft.net>
48251         * elf/elf.h (HWCAP_SPARC_*): Move to..
48252         * sysdeps/sparc/sysdep.h: this new file and add new values.
48253         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48254         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48255         _DL_HWCAP_COUNT to 24.
48256         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48257         entries.
48258         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48259         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48260         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48262         instead of magic constants.
48263         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48265 2011-08-31  David S. Miller  <davem@davemloft.net>
48267         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48269         Reimplement to do errno handling inline.
48270         (SYSCALL_ERROR_HANDLER): New macro.
48271         (__SYSCALL_STRING): Do not do errno handling in asm.
48272         (__CLONE_SYSCALL_STRING): Delete.
48273         (__INTERNAL_SYSCALL_STRING): Delete.
48274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48275         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48276         (PSEUDO): Reimplement to do errno handling inline.
48277         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48278         (SYSCALL_ERROR_HANDLER): New macro.
48279         (__SYSCALL_STRING): Do not do errno handling in asm.
48280         (__CLONE_SYSCALL_STRING): Delete.
48281         (__INTERNAL_SYSCALL_STRING): Delete.
48282         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48283         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48284         i386.
48285         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48286         (inline_syscall*): Add 'err' argument.
48287         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48288         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48289         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48290         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48292         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48293         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48295 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48297         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48299 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48301         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48302         directive.
48304 2011-08-24  David S. Miller  <davem@davemloft.net>
48306         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48308 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48310         * elf/Makefile: Add rules to build and run unload8 test.
48311         * elf/unload8.c: New file.
48312         * elf/unload8mod1.c: New file.
48313         * elf/unload8mod1x.c: New file.
48314         * elf/unload8mod2.c: New file.
48315         * elf/unload8mod3.c: New file.
48317         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48318         it wasn't used.
48320 2011-08-23  David S. Miller  <davem@davemloft.net>
48322         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48323         subtract stack bias.
48324         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48325         %sp not %fp in calculations.
48326         (_JMPBUF_UNWINDS_ADJ): Likewise.
48328         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48329         (aio_suspend): Call it to force an exception region around the
48330         AIO_MISC_WAIT() invocation.
48332 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48334         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48335         backslash.
48337 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48339         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48340         protection macro.
48341         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48342         and <dl-machine.h>.
48343         (Elf64_FuncDesc): Remove.
48345 2011-08-22  David S. Miller  <davem@davemloft.net>
48347         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48348         sigaltstack check, add missing cfi directives.
48349         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48350         missing cfi directives, and sigaltstack handling.
48352 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48354         [BZ #11724]
48355         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48356         object is seen twice.
48357         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48359         * elf/Makefile (distribute): Add tst-initorder2.c.
48360         (tests): Add tst-initorder2.
48361         (modules-names): Add tst-initorder2a tst-initorder2b
48362         tst-initorder2c tst-initorder2d.  Add rules to build them.
48363         ($(objpfx)tst-initorder2.out): New rule.
48364         * elf/tst-initorder2.c: New file.
48365         * elf/tst-initorder2.exp: New file.
48367 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48369         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48371         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48372         dependencies back to end of function.
48374         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48375         $(elfobjdir)/ld.so.
48377 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48379         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48380         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48382         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48383         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48384         of __vdso_gettimeofday.
48385         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48386         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48387         attribute_hidden.
48388         (_libc_vdso_platform_setup): Remove initialization of
48389         __vdso_gettimeofday and __vdso_time.
48391 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48393         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48394         and fgetc_unlocked.
48395         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48396         getc_unlocked.
48398         * elf/dl-open.c (add_to_global): Report additions to the global scope
48399         for LD_DEBUG=scopes.
48400         (dl_open_worker): Also print scope of newly loaded dependencies.
48401         (_dl_show_scope): Indicate if there is no scope.
48403         [BZ #13114]
48404         * stdio-common/Makefile (tests): Add bug24.
48405         * stdio-common/bug24.c: New file.
48407 2011-08-19  Andreas Jaeger  <aj@suse.de>
48409         [BZ #13114]
48410         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48411         non-existant file when using close-on-exec mode.
48413 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48416         the very first instruction.
48418         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48419         the CFI state in the end.
48420         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48421         inclusion of dl-trampoline.h.
48422         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48424 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48426         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48427         expectations for long double.
48429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48430         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48432 2011-08-14  David S. Miller  <davem@davemloft.net>
48434         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48435         artificual limit depends upon the system page size.
48437 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48439         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48440         * resolv/Makefile: Define CFLAGS-libresolv.
48442 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48444         * nss/makedb.c (compute_tables): Make variables used in nested
48445         function static.
48447 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48449         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48450         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48451         if buffer was too small.
48453         * elf/pldd.c (main): Attach to all threads in the process.
48454         Rewrite /proc handling to use *at functions.
48456 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48458         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48459         specifies first scope to show.
48460         (dl_open_worker): Update callers.  Move printing scope of new
48461         object to before the relocation.
48462         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48463         * sysdeps/generic/ldsodefs.h: Update declaration.
48465         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48466         string for the scope number.
48468 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48470         * nscd/servicescache.c (cache_addserv): Make sure written is always
48471         initialized.
48473 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48475         * sysdeps/i386/i486/bits/atomic.h
48476         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48477         statement expression, so as to suppress "set but not used" warning.
48478         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48480         * string/strncat.c (STRNCAT): Use prototype definition.
48482         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48483         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48484         -Iprograms here.
48485         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48486         (localedef-modules): Add localedef.
48487         (locale-modules): Add locale.
48489         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48490         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48491         to avoid a warning.
48493 2011-08-14  David S. Miller  <davem@davemloft.net>
48495         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48496         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48498 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48500         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48501         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48502         * elf/rtld.c (dl_main): Set l_name of vDSO.
48503         Call _dl_show_scope when DL_DEBUG_SCOPES.
48504         (process_dl_debug): Recognize scopes flag and also set it for all.
48505         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48506         Declare _dl_show_scope.
48508         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48509         (do_dlopen): Pass caller_dlopen to dl_open.
48510         (__libc_dlopen_mode): Initialize caller_dlopen.
48512         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48513         of libc.  Make tolower call locale-independent.  Optimize a bit by
48514         using isdigit instead of isalnum.
48515         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48517 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48519         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48520         was a dependency or dynamically loaded.
48522 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48524         * intl/l10nflist.c: Allow architecture-specific pop function.
48525         * sysdeps/x86_64/l10nflist.c: New file.
48527         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48528         classification.
48530 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48532         * include/dirent.h: Add libc_hidden_proto for scandirat and
48533         scandirat64.  Don't declare __scandirat64.
48534         * dirent/scandirat.c: Add libc_hidden_def.
48535         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48536         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48538 2011-08-10  David S. Miller  <davem@davemloft.net>
48540         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48541         enum.
48542         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48544         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48546 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48548         * Versions.def [libc]: Add GLIBC_2.15.
48549         * dirent/Makefile (routines): Add scandirat and scandirat64.
48550         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48551         GLIBC_2.15.
48552         * dirent/dirent.h: Declare scandirat and scandirat64.
48553         * dirent/scandirat.c: New file.
48554         * dirent/scandirat64.c: New file.
48555         * sysdeps/wordsize-64/scandirat.c: New file.
48556         * sysdeps/wordsize-64/scandirat64.c: New file.
48557         * dirent/opendir.c: Define opendirat.
48558         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48559         using scandirat.
48560         * dirent/scandir64.c: Adjust for scandir.c change.
48561         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48562         __scandirat64, and __scandir_cancel_handler.
48563         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48564         additional parameter and use openat instead of open (outside of ld.so).
48565         Add new __opendir as wrapper around __opendirat.
48566         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48567         here without requiring old scandirat implementation.
48569 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48571         * dirent/scandir.c (cancel_handler): Renamed to
48572         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48573         defined.  Adjust users.
48574         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48577 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48579         * string/test-string.h (IMPL): Use __STRING to expand name and then
48580         stringify it.
48582         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48583         of cleanups.
48585 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48587         * string/Makefile: Update.
48588         (strop-tests): Append strncat.
48589         * string/test-wcscmp.c: New file.
48590         New comprehensive test for wcscmp.
48591         * string/test-strcmp.c: Update.
48592         (WIDE): New define.
48594 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48596         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48597         line.
48599 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48602         encoding to ACE if AI_IDN.
48604 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48607         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48609 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48611         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48612         Fix overflow bug in strncat.
48613         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48615         * string/test-strncat.c: Update.
48616         Add new tests for checking overflow bugs.
48618 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48621         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48622         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48623         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48624         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48625         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48626         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48627         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48628         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48630         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48631         (USE_AS_STRCAT): Define.
48632         Add strcat and strncat support.
48633         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48635 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48637         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48638         __n bigger than INT_MAX+1.
48639         (__strncmp_g): Likewise.
48641 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48643         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48644         * libio/stido.h: Likewise.
48646         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48647         (AF_NFC): Define.
48648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48649         (AF_NFC): Define.
48651         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48652         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48653         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48654         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48657         [BZ #13021]
48658         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48659         installed.
48661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48662         typo.
48663         (_dl_x86_64_save_sse): Likewise.
48665 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48667         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48668         OSXSAVE.
48669         (_dl_x86_64_save_sse): Likewise.
48671         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48673         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48675 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48678         change.
48679         (_dl_x86_64_save_sse): Use correct AVX check.
48681 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48683         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48684         bug in strncpy/strncat.
48685         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48687 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48689         * string/tester.c (test_strcat): Add tests for different alignments
48690         of source and destination.
48691         (test_strncat): Likewise.
48693 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48695         [BZ #12852]
48696         * posix/glob.c (glob): Check passed in values before using them in
48697         expressions to avoid some overflows.
48698         (glob_in_dir): Likewise.
48700         [BZ #13007]
48701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48702         check for AVX enablement so that we don't crash with old kernels and
48703         new hardware.
48704         * elf/tst-audit4.c: Add same checks here.
48705         * elf/tst-audit6.c: Likewise.
48707         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48709 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48711         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48713 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48715         * po/cs.po: Update from translation team.
48716         * po/bg.po: Likewise.
48718 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48720         * misc/sys/cdefs.h: Add support for const attribute.
48721         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48722         to gnu_dev_{major,minor,makedev} functions.
48724 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48726         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48728 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48730         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48731         strlen results.
48733 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48736         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48737         register in order to avoid conflicts with the soft frame pointer
48738         being held in r11 when necessary.
48739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48740         (INTERNAL_VSYSCALL_NCS): Likewise.
48742 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48744         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48745         * elf/dl-fini.c (_dl_fini): Adjust caller.
48746         * elf/dl-close.c (_dl_close_worker): Likewise.
48747         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48749 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48751         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48752         "aux_cache->nlibs < 0".
48754         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48755         in the reload-count case.
48757 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48760         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48761         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48762         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48763         * sysdeps/x86_64/multiarch/strcat.S: New file.
48764         * sysdeps/x86_64/multiarch/strncat.S: New file.
48765         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48766         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48767         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48768         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48769         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48770         (USE_AS_STRCAT): Define.
48771         Add strcat and strncat support.
48772         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48773         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48774         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48775         * string/strncat.c: Update.
48776         (USE_AS_STRNCAT): Define.
48777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48778         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48779         and i7.
48780         * sysdeps/x86_64/multiarch/init-arch.h
48781         (bit_Prefer_PMINUB_for_stringop): New.
48782         (index_Prefer_PMINUB_for_stringop): Likewise.
48783         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48784         bit_Prefer_PMINUB_for_stringop.
48786 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48788         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48789         buffer64.
48790         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48791         of casting of buffer.
48792         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48793         buffer32 and buffer64.
48794         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48795         writes instead of casting of buffer.
48796         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48797         buffer32.
48798         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48799         casting of buffer.
48801 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48803         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48805 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48807         * nscd/nscd.c (termination_handler): Don't do anything for a database
48808         if it has not yet been initialized.
48810 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48812         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48814 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48816         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48818 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48820         * po/nl.po: Update from translation team.
48821         * po/sv.po: Likewise.
48823 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48825         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48826         now disallowed by GCC.
48828         * configure.in (use-default-link): Default to yes if a test -shared
48829         link meets our qualifications.
48830         * configure: Regenerated.
48832         * config.make.in (output-format): New variable.
48833         * configure.in: Check for ld --print-output-format support.
48834         * configure: Regenerated.
48835         * Makerules ($(common-objpfx)format.lds)
48836         [$(output-format) != unknown]: Just use $(output-format),
48837         instead of the linker-script munging.
48839 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48841         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48842         of $(common-objpfx)shlib.lds.
48843         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48845         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48846         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48848         * configure.in (-z relro check): Adjust test code to add a large
48849         writable data section after it.
48850         * configure: Regenerated.
48852 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48854         * configure.in (-z relro check): Fix test code to make the variable
48855         truly const.
48856         * configure: Regenerated.
48858 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48860         * nscd/nscd.h (struct traced_file): Define.
48861         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48862         elements.  Add traced_files.
48863         (inotify_fd): Declare.
48864         (register_traced_file): Declare.
48865         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48866         (inotify_fd): Export.
48867         (resolv_conf_descr): Remove.
48868         (nscd_init): Move inotify descriptor creation to main.
48869         Don't register files for notification here.
48870         (register_traced_file): New function.
48871         (invalidate_cache): Don't use reset_res to determine whether to call
48872         res_init, go through the list of registered files.
48873         (main_loop_poll): The inotify descriptors are now stored in the
48874         structures for the traced files.
48875         (main_loop_epoll): Likewise
48876         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48877         to __nss_disable_nscd.
48878         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48879         for a database anymore.  Check the records for all the registered
48880         files instead.
48881         * nss/Makefile (libnss_files-routines): Add files-init.
48882         (libnss_db-routines): Add db-init.
48883         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48884         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48885         * nss/nss_db/db-init.c: New file.
48886         * nss/nss_files/files-init.c: New file.
48887         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48888         __nss_lookup_function.
48889         (__nss_lookup_function): Call nss_load_library.
48890         (nss_load_all_libraries): New function.
48891         (__nss_disable_nscd): Take parameter with callback function for files
48892         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48893         used for the cached services.
48894         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48895         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48896         options for features to all the files in nscd.
48898         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48900 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48902         * csu/elf-init.c (__libc_csu_init): Comment typo.
48904 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48906         * po/pl.po: Update from translation team.
48907         * po/ja.po: Likewise.
48908         * po/ru.po: Likewise.
48909         * po/ko.po: Likewise.
48910         * po/fr.po: Likewise.
48912 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48914         * configure.in (.ctors/.dtors header and trailer check):
48915         Use an empirical test on a built program.
48916         * configure: Regenerated.
48918         * configure.in (-z relro check): Use an empirical test on a built DSO.
48919         Detect, but do not require, on ia64.
48920         * configure: Regenerated.
48922         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48923         Update tests that use readelf to use $READELF instead.
48924         * configure: Regenerated.
48926 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48928         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48929         if the result is not used.
48931 2011-07-05  Andreas Jaeger  <aj@suse.de>
48933         [BZ#9696]
48934         * stdlib/tst-strtod.c: Add testcase.
48936 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48938         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48939         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48940         The latter has a higher limit.  Take additional parameter to pass to
48941         the new function.
48942         (__pathconf): Pass file to __statfs_link_max.
48943         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48944         __statfs_link_max.
48945         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48946         __statfs_link_max.
48948         [BZ #12868]
48949         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48950         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48951         Handle Lustre.
48952         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48953         (__statfs_filesize_max): Likewise.
48954         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48956 2011-07-05  Andreas Jaeger  <aj@suse.de>
48958         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48960 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48962         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48963         `status' variable.
48964         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48965         Likewise.
48967 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48969         * Makefile (strop-tests): Add strncat.
48970         * string/test-strncat.c: New file.
48972 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48974         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48976 2011-06-21  Andreas Jaeger  <aj@suse.de>
48978         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48979         Copy rule from iconvdata/Makefile.
48981 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48983         [BZ #12922]
48984         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48985         but no long options are defined, just return 'W'.
48987 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48989         [BZ #9696]
48990         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48992 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48994         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48995         netgroups to read.
48996         (innetgr): Likewise.
48998 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49000         * config.make.in (install_root): Default to $(DESTDIR).
49002 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
49004         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49006 2011-07-02  Roland McGrath  <roland@hack.frob.com>
49008         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49010         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49011         containing directory rather than embedding absolute directory names.
49013         * scripts/check-local-headers.sh: Rewritten using awk.
49014         Match by word, not by line.  Print error messages for matches.
49015         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49017         * Makerules [shlib-lds-flags empty]:
49018         ($(common-objpfx)libc_pic.opts): New target.
49019         ($(common-objpfx)libc_pic.os.clean): New target.
49020         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49022         * config.make.in (OBJCOPY): New variable.
49023         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49024         * configure: Regenerated.
49026         * config.make.in (use-default-link): New variable.
49027         * configure.in (use_default_link): Grok --with-default-link to set it.
49028         * configure: Regenerated.
49029         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49030         (shlib-lds, shlib-lds-flags): Define to empty.
49032         * Makerules (shlib-lds): New variable.
49033         (shlib-lds-flags): New variable.
49034         (build-shlib, build-moduile, build-module-asneeded): Use it.
49035         ($(common-objpfx)libc.so): Use $(shlib-lds).
49036         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49037         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49039         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49040         DT_FLAGS/DT_FLAGS_1 with zero flags.
49042         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49043         linker script munging.
49045 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
49047         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49048         as 128-bit value.
49049         * crypt/sha512.c (sha512_process_block): Perform total addition using
49050         128-bit if possible.
49051         (__sha512_finish_ctx): Likewise.
49052         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49053         as 64-bit value.
49054         * crypt/sha256.c (SWAP64): Define.
49055         (sha256_process_block): Perform total addition using 64-bit if
49056         possible.
49057         (__sha256_finish_ctx): Likewise.
49059 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
49061         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
49062         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49063         * nscd/hstcache.c (cache_addhst): Likewise.
49064         * nscd/grpcache.c (cache_addgr): Likewise.
49065         * nscd/aicache.c (addhstaiX): Likewise
49066         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49068 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
49070         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49072         * nscd/hstcache.c (cache_addhst): Likewise.
49073         * nscd/grpcache.c (cache_addgr): Likewise.
49074         * nscd/aicache.c (addhstaiX): Likewise
49076 2011-07-01  Andreas Schwab  <schwab@redhat.com>
49078         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49079         domain only when needed.
49081 2011-06-30  Andreas Schwab  <schwab@redhat.com>
49083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49084         is always restored.
49086 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
49088         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49089         are re-adding the entry.
49090         * nscd/servicescache.c (cache_addserv): Likewise.
49092 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
49094         * sysdeps/generic/dl-irel.h: fix protection against multiple
49095         inclusions.
49096         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49098 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
49100         [BZ #12935]
49101         * malloc/memusage.sh: Fix quoting in message.
49102         * debug/xtrace.sh: Likewise.
49104         * configure.in: Remove support for --experimental-malloc option, make
49105         it the default.
49106         * config.make.in: Likewise.
49107         * malloc/Makefile: Likewise.
49109 2011-06-27  Andreas Schwab  <schwab@redhat.com>
49111         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49112         two-byte characters.
49114 2011-06-27  Roland McGrath  <roland@hack.frob.com>
49116         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49117         AC_CACHE_CHECK invocation.
49118         * configure: Regenerated.
49120         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49122 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
49124         [BZ #12350]
49125         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
49126         bit from old_res_options.
49128         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49130         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49131         value type for setfct.
49133 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
49135         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49136         __gettimeofday instead of gettimeofday.
49138 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
49140         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49142 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
49144         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49146         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49147         info.
49149 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49152         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49153         strcpy-sse2-unaligned strncpy-sse2-unaligned
49154         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49155         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49156         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49157         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49158         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49159         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49161         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49162         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49163         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49164         (STRCPY): Support SSE2 and SSSE3 versions.
49166 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
49168         [BZ #12874]
49169         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49170         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49171         kernels which artificially limit size of requests.
49173 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
49175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49176         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49177         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49178         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49179         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49180         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49181         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49182         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49183         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49184         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49185         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49186         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49187         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49188         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49189         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49191         Enable unaligned load optimization for Intel Core i3, i5 and i7
49192         processors.
49193         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49194         Define.
49195         (index_Fast_Unaligned_Load): Define.
49196         (HAS_FAST_UNALIGNED_LOAD): Define.
49198 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
49200         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49202 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49204         [BZ #12907]
49205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49206         until it is clear that the information is realy needed.
49207         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49209 2011-06-22  Andreas Schwab  <schwab@redhat.com>
49211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49213 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
49215         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49216         /sys/devices/system/cpu/online if it is usable.
49218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49219         reading the information from the /proc filesystem to once a second.
49221 2011-06-21  Andreas Jaeger  <aj@suse.de>
49223         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49224         NULL after inclusion of kernel headers.
49226 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
49228         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49229         calls to internal_setent.
49231         [BZ #12885]
49232         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49233         addresses using gethostbyname4_r ignore IPv4 addresses.
49235         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49236         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
49238         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49240 2011-06-20  David S. Miller  <davem@davemloft.net>
49242         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49243         inclusions.
49244         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49246         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49247         (elf_irel): Use it.
49248         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49249         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49250         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49251         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49252         * sysdeps/x86_64/dl-irel.h: Likewise.
49254         * elf/dl-runtime.c: Use elf_ifunc_invoke.
49255         * elf/dl-sym.c: Likewise.
49257 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49259         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
49260         need to dereference resplen2.
49262 2011-06-14  Andreas Schwab  <schwab@redhat.com>
49264         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49266 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
49268         * Makeconfig: Define vardbdir and inst_vardbdir.
49269         * nss/Makefile: Add rules to install db-Makefile.
49271         * nss/nss_db/db-XXX.c: Cleanup.
49273         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49274         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49275         GLIBC_PRIVATE.
49276         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49277         * nss/makedb.c: Implement -g option to specify that value strings
49278         are generated and should not be added to table iterated over for
49279         get*ent calls.
49280         * nss/nss_db/db-initgroups.c: New file.
49282         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49283         interface.
49285         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49286         (internal_getgrouplist): Adjust to name change.
49287         Update use_initgroups_entry if this is not the first call.
49288         * nss/databases.def: Add initgroups entry.
49290         * nss/makedb.c (compute_tables): Check result of multiple hash table
49291         sizes to minimize maximum chain length.
49293 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49295         * Versions.def: Add entry for libnss_db.
49296         * shlib-versions: Likewise.
49297         * nss/Makefile: Add rules to build libnss_db.
49298         * nss/Versions: Add libnss_db information.  Organize libnss_files
49299         entries better.
49300         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49301         makedb progra.  Some minor improvements to generate smaller files.
49302         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49303         here from...
49304         * nss/makedb.c: ...here.
49305         Improve database format to be smaller and require less memory at
49306         runtime.
49307         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49308         db anymore.
49309         * nss/nss_db/db-netgrp.c: Likewise.
49310         * nss/nss_db/db-open.c: Likewise.
49311         * nss/nss_files/flies-XXX.x: Adjust comments.
49312         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49313         * nss/nss_files/files-grp.c: Likewise.
49314         * nss/nss_files/files-hosts.c: Likewise.
49315         * nss/nss_files/files-network.c: Likewise.
49316         * nss/nss_files/files-proto.c: Likewise.
49317         * nss/nss_files/files-pwd.c: Likewise.
49318         * nss/nss_files/files-rpc.c: Likewise.
49319         * nss/nss_files/files-service.c: Likewise.
49320         * nss/nss_files/files-sgrp.c: Likewise.
49321         * nss/nss_files/files-spwd.c: Likewise.
49322         * nss/nss_db/db-alias.c: Removed.
49323         * nss/nss_db/dummy-db.h: Removed.
49325 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49327         * nss/makedb.c: Rewritten to not use database library.
49328         * nss/Makefile: Update to build new makedb program.
49330 2011-06-14  Andreas Jaeger  <aj@suse.de>
49332         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49333         memset declaration.
49335 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49338         tmpbuf.
49340 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49342         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49343         * elf/Makefile ($(objpfx)ld.so): Likewise.
49345         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49346         Don't list ld.so twice in dependencies.
49348         * posix/bug-regex31.c: Include <stdlib.h>.
49350         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49352         * nis/nss_compat/compat-spwd.c
49353         (getspent_next_nss_netgr): Remove unused variable.
49354         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49356         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49357         nonmembers" output to use the right array.
49359         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49361         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49363         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49364         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49365         * catgets/gencat.c (read_input_file): Likewise.
49366         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49368         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49369         variable definition inside #if's controlling its use.
49371         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49373         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49375         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49377         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49378         unreachable code.
49380         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49382         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49383         * configure: Regenerated.
49385         * Makerules: Revert last change.
49386         * elf/Makefile: Likewise.
49388 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49390         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49391         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49392         (reloc-link): Likewise.
49394 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49396         * elf/Makefile: Add rules to build pldd.
49397         * elf/pldd.c: New file.
49398         * elf/pldd-xx.c: New file.
49400 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49402         * version.h: Update for 2.15 development version.
49404 2011-06-07  David S. Miller  <davem@davemloft.net>
49406         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49407         ifuncs.
49408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49409         elf_machine_lazy_rel): Likewise.
49410         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49411         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49412         elf_machine_lazy_rel): Likewise.
49413         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49414         dl_hwcap via passed in argument.
49415         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49416         Likewise.
49418 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49420         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49422 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49424         [BZ #12849]
49425         * manual/fdl-1.1.texi: New file, verbatim from:
49426         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49427         * manual/lgpl-2.1.texi: New file, verbatim from:
49428         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49429         * manual/Makefile (licenses): New variable, list those new file names.
49430         (texis): Use it.
49431         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49433         * manual/fdl.texi: File removed.
49434         * manual/lesser.texi: File removed.
49435         * manual/libc.texinfo (Copying, Documentation License):
49436         Use new @include file names, put @appendix directive before @include.
49438 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49440         [BZ #12841]
49441         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49442         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49443         (mq_open): Add __NTH.
49445 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49448         Assume Intel Core i3/i5/i7 processor if AVX is available.
49450 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49453         typo.
49455 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49457         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49458         memory.  Use alloca_account.  Fix memory leak when retrying.
49460 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49462         * version.h (RELEASE): Bump for 2.14 release.
49463         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49465         * config.make.in (RANLIB): Remove entry.
49467 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49469         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49470         (libc.pot): Work around missing support for .ksh extension in xgettext.
49472         [BZ #12684]
49473         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49474         if both request failed.
49475         (send_dg): In case of server errors clear resplen or *resplen2.
49477         [BZ #12454]
49478         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49479         when there are multiple maps.
49480         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49481         (_dl_fini): Remove test here.
49483         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49485 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49487         [BZ #12350]
49488         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49489         bit from old_res_options.
49490         (gaih_inet): Likewise.
49492         [BZ #11099]
49493         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49494         as signed.
49496         * resolv/res_init.c (res_setoptions): Make the code more compact.
49498         [BZ #11558]
49499         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49500         set RES_USEVC.
49502         [BZ #11634]
49503         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49505         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49507         [BZ #11781]
49508         * malloc/malloc.h: Declare malloc hook variables as volatile.
49510         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49511         in last patch.
49513         [BZ #11799]
49514         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49515         raise in the comment.
49516         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49517         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49518         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49520 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49522         [BZ #12811]
49523         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49524         grow the buffers more if it already has to be sufficient.
49525         (build_wcs_upper_buffer): Likewise.
49526         * posix/regexec.c (check_matching): Likewise.
49527         (clean_state_log_if_needed): Likewise.
49528         (extend_buffers): Don't enlarge buffers beyond size of the input
49529         buffer.
49530         Patches mostly by Emil Wojak <emil@wojak.eu>.
49531         * posix/bug-regex32.c: New file.
49532         * posix/Makefile (tests): Add bug-regex32.
49534         * locale/findlocale.c (_nl_find_locale): Return right away if
49535         _nl_explode_name failed.
49536         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49538         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49540         * debug/xtrace.sh: Unify messages.
49541         * malloc/memusage.sh: Likewise.
49543         [BZ #12813]
49544         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49545         time symbol from vDSO.  Substitute with vsyscall if not available.
49546         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49547         __vdso_time.
49549         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49550         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49551         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49552         Add sendmmsg and internal_sendmmsg.
49553         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49554         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49555         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49557         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49558         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49559         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49561 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49563         [BZ #12813]
49564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49565         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49566         available.
49567         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49568         __vdso_getcpu.
49570         [BZ #12814]
49571         * iconvdata/Makefile (tests): Add bug-iconv9.
49572         * iconvdata/bug-iconv9.c: New file.
49574 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49576         [BZ #12814]
49577         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49579 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49581         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49582         (struct user_regs_struct): Change intcs field back to cs.
49584 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49586         * po/ja.po: Update from translation team.
49588 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49590         [BZ #12795]
49591         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49592         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49594 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49596         * stdlib/longlong.h: Update from GCC.
49598 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49600         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49601         parameter name.
49602         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49603         Add parameter name.
49604         (__sysconf): Pass it down.
49606 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49608         [BZ #12671]
49609         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49610         some situations.
49611         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49612         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49613         add in in __libc_use_alloca calls.  Adjust callers.
49614         (glob): Use malloc in some situations.
49616         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49617         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49618         pltexit.
49620 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49622         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49623         and CLOCK_BOOTTIME_ALARM.
49625         [BZ #12782]
49626         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49627         is returned.
49629         * string/_strerror.c (__strerror_r): Print negative errors as signed
49630         numbers.
49632         [BZ #12777]
49633         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49634         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49635         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49637         * configure.in: Fix typo in redirection and correct removal of test
49638         files in two cases.
49640         [BZ #12788]
49641         * locale/setlocale.c (new_composite_name): Fix test to check for
49642         identical name of all categories.
49644         [BZ #12792]
49645         * libio/filedoalloc.c (local_isatty): New function.
49646         (_IO_file_doallocate): Use local_isatty.
49647         * stdio-common/perror.c (perror): In case a new stream is used
49648         forward the stream error.
49649         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49650         error flag.
49652 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49654         [BZ #11869]
49655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49656         alloca.
49657         * include/alloca.h (extend_alloca_account): Define.
49659         [BZ #11857]
49660         * posix/regex.h: Fix comments with documentation of user-accessible
49661         fields after compilation and describe correct free'ing of pattern
49662         after re_compile_pattern.
49663         Patch by Reuben Thomas <rrt@sc3d.org>.
49665 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49667         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49668         and -mno-altivec to prevent the compiler from using Altivec and/or
49669         VSX instructions when the corresponding registers are not available.
49671 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49673         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49675 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49677         * libio/freopen.c (freopen): Use __dup2, not dup2.
49678         * libio/freopen64.c (freopen64): Likewise.
49680 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49682         [BZ #12775]
49683         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49684         * math/Makefile (tests): Add test-powl.
49685         (CFLAGS-test-powl.c): Define.
49686         * math/test-powl.c: New file.
49688 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49690         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49692 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49694         [BZ #11837]
49695         * iconvdata/gb18030.c: Update to GB18020-2005.
49697 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49699         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49700         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49701         Patch by Aharon Robbins <arnold@skeeve.com>.
49703         [BZ #11892]
49704         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49705         on the stack.
49707         [BZ #11895]
49708         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49709         through underflows.
49711         [BZ #12766]
49712         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49713         point to strings before performing equality test for error_one_per_line
49714         mode.
49716         [BZ #11697]
49717         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49719         [BZ #11820]
49720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49721         (struct user_fpregs_struct): Avoid __uint*_t types.
49723         [BZ #6420]
49724         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49725         symbol info.  Use it instead of calling _dl_addr locally.
49726         (lock_and_info): New function.
49727         (tr_freehook): Call lock_and_info and pass symbol info as additional
49728         parameter to tr_where.
49729         (tr_mallochook): Likewise.
49730         (tr_reallochook): Likewise.
49731         (tr_memalignhook): Likewise.
49733         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49734         used and couldn't be at all thread-safe.
49736 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49738         * libio/freopen.c (freopen): Don't close old file descriptor
49739         before the new one is opened.  Instead dup the new file descriptor
49740         to the old one after the new stream is created.
49741         * libio/freopen64.c (freopen64): Likewise.
49742         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49743         * libio/fileops.c (_IO_new_file_close_it): Handle new
49744         _IO_FLAGS2_NOCLOSE flag.
49745         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49746         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49747         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49748         _IO_FLAGS2_NOCLOSE flag.
49749         * include/unistd.h: Add hidden_proto for dup3.
49750         Define __have_dup3.
49751         * io/dup3.c: Define hidden symbol.
49752         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49754         [BZ #7101]
49755         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49756         when an incomplete long option is used.
49757         * posix/tst-getopt_long1.c: New file.
49758         * posix/Makefile (tests): Add tst-getopt_long1.
49760         [BZ #10138]
49761         * scripts/config.guess: Update from autoconf-2.68.
49762         * scripts/config.sub: Likewise.
49764         [BZ #10157]
49765         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49766         tests into ...
49767         (has_cpuclock): ...this.  New function.
49768         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49769         macro here based on has_cpuclock code.
49771         [BZ #10149]
49772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49773         First byte (not low byte) is now always NUL.
49774         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49776         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49777         Use non-cancelable interfaces.
49779         [BZ #9809]
49780         * locale/iso-639.def: Add entry for Sorani.
49782         [BZ #11901]
49783         * include/stdlib.h: Move include protection to the right place.
49784         Define abort_msg_s.  Declare __abort_msg with it.
49785         * stdlib/abort.c (__abort_msg): Adjust type.
49786         * assert/assert.c (__assert_fail_base): New function.  Majority
49787         of code from __assert_fail.  Allocate memory for __abort_msg with
49788         mmap.
49789         (__assert_fail): Now call __assert_fail_base.
49790         * assert/assert-perr.c: Remove bulk of implementation.  Use
49791         __assert_fail_base.
49792         * include/assert.hL Declare __assert_fail_base.
49793         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49794         mmap.
49795         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49797 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49799         [BZ #11952]
49800         [BZ #12453]
49801         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49802         until all modules are registered in the DTV.
49803         * elf/Makefile: Add rules to build and run tst-tls19.
49804         * elf/tst-tls19.c: New file.
49805         * elf/tst-tls19mod1.c: New file.
49806         * elf/tst-tls19mod2.c: New file.
49807         * elf/tst-tls19mod3.c: New file.
49808         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49810         [BZ #12083]
49811         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49812         correctly.
49814         [BZ #12601]
49815         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49816         two-byte sequence errors.
49817         * iconvdata/Makefile (tests): Add bug-iconv8.
49818         * iconvdata/bug-iconv8.c: New file.
49820         [BZ #12626]
49821         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49822         buf2 definition.
49824         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49826         [BZ #12432]
49827         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49828         (dummy_getcfa): New function.
49829         (init): Get _Unwind_GetCFA address, use dummy if not found.
49830         (backtrace_helper): In recursion check, also check whether CFA changes.
49831         (__backtrace): Completely initialize arg.
49833         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49834         storing incomplete byte sequence in state object.  Avoid testing for
49835         guaranteed too small input if we know there is enough data available.
49837 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49839         * Makeconfig (+link-pie): Indent.
49840         * Rules (binaries-pie): Define if $(have-fpie) and
49841         $(build-shared).
49842         (binaries-shared): Also filter out $(binaries-pie).
49843         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49844         * nscd/Makefile (others-pie): Add nscd.
49845         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49846         ($(objpfx)nscd): Remove command override.
49847         * login/Makefile (others-pie): Add pt_chown.
49848         ($(objpfx)pt_chown): Remove command override.
49849         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49850         remove command overrides.
49852 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49854         * libio/tst_putwc.c: Fix error messages.
49856         [BZ #12724]
49857         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49858         currently writing and seek to current position when not.
49859         * libio/Makefile (tests): Add bug-fclose1.
49860         * libio/bug-fclose1.c: New file.
49862 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49864         [BZ #12511]
49865         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49866         don't set DF_1_NODELETE here.
49867         (do_lookup_x): When entering new entry test for copy relocation
49868         and if necessary set DF_1_NODELETE flag.
49869         * elf/tst-unique4.cc: New file.
49870         * elf/tst-unique4.h: New file.
49871         * elf/tst-unique4lib.cc: New file.
49872         * elf/Makefile: Add rules to build and run tst-unique4.
49873         Patch by Piotr Bury <pbury@goahead.com>.
49875 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49877         [BZ #12052]
49878         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49880         [BZ #12625]
49881         * misc/mntent_r.c (addmntent): Flush the stream after the output
49883         [BZ #12393]
49884         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49885         (is_trusted_path_normalize): Skip initial colon.  Append slash
49886         to empty buffer.  Duplicate is_trusted_path code but allow
49887         constructed patch to be prefix.
49888         (is_dst): Allow $ORIGIN followed by /.
49889         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49890         Correct testing of result of is_trusted_path_normalize
49891         (decompose_rpath): Fix warning.
49893 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49895         [BZ #11257]
49896         * grp/initgroups.c (internal_getgrouplist): When we found the service
49897         list through the initgroups entry in nsswitch.conf do not always
49898         continue on a successful lookup.  Don't always use the
49899         __nss_group_database value if it is set.
49900         * nss/nsswitch.conf (initgroups): Change action for successful db
49901         lookup to continue for compatibility.
49903 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49905         [BZ #11532]
49906         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49907         and CP774 modules.
49908         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49909         and CP774 modules.
49910         * iconvdata/tst-tables.sh: Likewise.
49911         * iconvdata/cp770.c: New file.
49912         * iconvdata/cp771.c: New file.
49913         * iconvdata/cp772.c: New file.
49914         * iconvdata/cp773.c: New file.
49915         * iconvdata/cp774.c: New file.
49916         * iconvdata/testdata/CP770: New file.
49917         * iconvdata/testdata/CP770..UTF8: New file.
49918         * iconvdata/testdata/CP771: New file.
49919         * iconvdata/testdata/CP771..UTF8: New file.
49920         * iconvdata/testdata/CP772: New file.
49921         * iconvdata/testdata/CP772..UTF8: New file.
49922         * iconvdata/testdata/CP773: New file.
49923         * iconvdata/testdata/CP773..UTF8: New file.
49924         * iconvdata/testdata/CP774: New file.
49925         * iconvdata/testdata/CP774..UTF8: New file.
49927         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49928         END CHARMAP line.
49929         * iconvdata/gen-8bit-gap.sh: Likewise.
49930         * iconvdata/gen-8bit.sh: Likewise.
49932         * locale/iso-639.def: Add ary entry.
49934         [BZ #11258]
49935         * locale/C-translit.h.in: Add U20A1 transliteration.
49937         [BZ #12178]
49938         * locale/iso-639.def: Add wae entry.
49939         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49941         [BZ #12545]
49942         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49943         for n.
49945         [BZ #12711]
49946         * locale/C-translit.h.in: Add entry for U20B9.
49947         Patch by pravin.d.s@gmail.com.
49949 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49951         [BZ #12713]
49952         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49953         ENAMETOOLONG use generic getcwd.
49954         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49955         in rtld.  Use *stat64.
49956         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49957         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49958         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49959         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49960         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49961         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49962         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49963         __fstatat64 macros.
49964         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49965         * dirent/rewinddir.c: Add libc_hidden_def.
49966         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49967         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49969         * include/dirent.h (__alloc_dir): Add flags parameter.
49970         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49971         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49972         __alloc_dir.
49973         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49974         from fdopendir if O_CLOEXEC is already set.
49976 2011-03-15  Alan Modra  <amodra@gmail.com>
49978         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49979         l_tls_firstbyte_offset non-zero.  Save padding offset in
49980         l_tls_firstbyte_offset for later use.
49981         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49982         freeing static tls block.
49984 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49986         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49987         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49988         being defined by the kernel headers.
49990 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49992         [BZ #12734]
49993         * resolv/resolv.h: Define RES_NOTLDQUERY.
49994         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49995         no-tld-query and set RES_NOTLDQUERY.
49996         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49997         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49998         modern BIND to search name as TLD unless forbidden.
50000 2011-05-07  Petr Baudis  <pasky@suse.cz>
50001             Ulrich Drepper  <drepper@gmail.com>
50003         [BZ #12393]
50004         * elf/dl-load.c (fillin_rpath): Move trusted path check...
50005         (is_trusted_path): ...to here.
50006         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50007         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50008         using is_trusted_path_normalize() in setuid scripts.
50010 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50012         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50013         __BEGIN/__END_DECLS.
50015 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
50017         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50018         NSS_STATUS_NOTFOUND if no record was found.
50020 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50022         * sunrpc/Makefile (headers): Add rpc/netdb.h.
50023         (headers-not-in-tirpc): Remove rpc/netdb.h
50024         * resolv/netdb.h: Revert last change.
50026 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50028         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50029         circular dependency between libgcc.a and libc.a.
50031 2011-05-05  Andreas Schwab  <schwab@redhat.com>
50033         * resolv/netdb.h: Don't include <rpc/netdb.h>.
50034         * nis/Makefile: Don't install rpcsvc/*.
50035         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50036         instead of <rpc/types.h>.
50037         (MAXHOSTNAMELEN): Define.
50039 2011-05-03  Andreas Schwab  <schwab@redhat.com>
50041         * elf/ldconfig.c (add_dir): Don't crash on empty path.
50043 2011-04-28  Maciej Babinski  <mbabinski@google.com>
50045         [BZ #12714]
50046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50047         gethostbyname4_r when IPv6 results are possible.
50049 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
50051         [BZ #12723]
50052         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50053         _PC_PIPE_BUF handling.
50055 2011-04-30  Bruno Haible  <bruno@clisp.org>
50057         [BZ #12717]
50058         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50059         * resolv/netdb.h (getnameinfo): Change type of flags parameter
50060         to 'int'.
50061         * inet/getnameinfo.c (getnameinfo): Likewise.
50063 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
50065         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50066         to groups setting in database lookup.
50067         * nss/nsswitch.conf: Add initgroups entry.
50069 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
50071         [BZ #12685]
50072         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50073         mode string.
50074         Patch by Eric Blake <eblake@redhat.com>.
50076 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
50078         * sunrpc/Makefile (need-export-routines): Add svc_run.
50079         (routines): Remove svc_run.
50080         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50081         * sunrpc/clnt_perr.c (clnt_perrno): Export.
50082         * sunrpc/svc_run.c (svc_run): Likewise.
50083         * sunrpc/svc_udp.c (svcudp_create): Likewise.
50085 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
50087         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50088         problem in reallocation in last patch.
50090 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
50092         * sunrpc/Makefile: Move inclusion of Rules.
50094 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50096         * nss/nss_files/files-initgroups.c: New file.
50097         * nss/Makefile (libnss_files-routines): Add files-initgroups.
50098         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50099         _nss_files_initgroups_dyn.
50101 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
50103         * elf/elf.h (R_ARM_IRELATIVE): Define.
50105 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
50107         * po/ru.po: Update from translation team.
50109 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50111         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50112         dependencies.
50114 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
50116         [BZ #12653]
50117         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50118         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50119         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50120         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50121         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50123 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
50125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50126         differing bytes.
50127         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50128         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50131 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
50133         [BZ #12420]
50134         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50135         storing it.
50136         * stdlib/bug-getcontext.c: New file.
50137         * stdlib/Makefile: Add rules to build and run bug-getcontext.
50139 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50141         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50142         instructions into .machine "z9-109".
50143         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50144         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50146 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50148         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50149         between environment variables and auxiliary vector.
50151 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
50153         * Makefile: Add rules to build linkobj/libc.so.
50154         * include/libc-symbols.h: Define libc_hidden_nolink.
50155         * include/rpc/auth.h: Mark functions which are to be hidden.
50156         * include/rpc/auth_des.h: Likewise.
50157         * include/rpc/auth_unix.h: Likewise.
50158         * include/rpc/clnt.h: Likewise.
50159         * include/rpc/des_crypt.h: Likewise.
50160         * include/rpc/key_prot.h: Likewise.
50161         * include/rpc/pmap_clnt.h: Likewise.
50162         * include/rpc/pmap_prot.h: Likewise.
50163         * include/rpc/pmap_rmt.h: Likewise.
50164         * include/rpc/rpc_msg.h: Likewise.
50165         * include/rpc/svc.h: Likewise.
50166         * include/rpc/svc_auth.h: Likewise.
50167         * include/rpc/xdr.h: Likewise.
50168         * nis/Makefile: Link all DSOs against linkobj/libc.so.
50169         * nss/Makefile: Likewise.
50170         * sunrpc/Makefile: Don't install headers.  Build library with normal
50171         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
50172         * sunrpc/auth_des.c: Hide exported symbols by default, export some
50173         for the compat linking library.  Remove use of INTDEF/INTUSE.
50174         * sunrpc/auth_none.c: Likewise.
50175         * sunrpc/auth_unix.c: Likewise.
50176         * sunrpc/authdes_prot.c: Likewise.
50177         * sunrpc/authuxprot.c: Likewise.
50178         * sunrpc/clnt_gen.c: Likewise.
50179         * sunrpc/clnt_perr.c: Likewise.
50180         * sunrpc/clnt_raw.c: Likewise.
50181         * sunrpc/clnt_simp.c: Likewise.
50182         * sunrpc/clnt_tcp.c: Likewise.
50183         * sunrpc/clnt_udp.c: Likewise.
50184         * sunrpc/clnt_unix.c: Likewise.
50185         * sunrpc/des_crypt.c: Likewise.
50186         * sunrpc/des_soft.c: Likewise.
50187         * sunrpc/get_myaddr.c: Likewise.
50188         * sunrpc/key_call.c: Likewise.
50189         * sunrpc/key_prot.c: Likewise.
50190         * sunrpc/netname.c: Likewise.
50191         * sunrpc/pm_getmaps.c: Likewise.
50192         * sunrpc/pm_getport.c: Likewise.
50193         * sunrpc/pmap_clnt.c: Likewise.
50194         * sunrpc/pmap_prot.c: Likewise.
50195         * sunrpc/pmap_prot2.c: Likewise.
50196         * sunrpc/pmap_rmt.c: Likewise.
50197         * sunrpc/publickey.c: Likewise.
50198         * sunrpc/rpc_cmsg.c: Likewise.
50199         * sunrpc/rpc_common.c: Likewise.
50200         * sunrpc/rpc_dtable.c: Likewise.
50201         * sunrpc/rpc_prot.c: Likewise.
50202         * sunrpc/rpc_thread.c: Likewise.
50203         * sunrpc/rtime.c: Likewise.
50204         * sunrpc/svc.c: Likewise.
50205         * sunrpc/svc_auth.c: Likewise.
50206         * sunrpc/svc_authux.c: Likewise.
50207         * sunrpc/svc_raw.c: Likewise.
50208         * sunrpc/svc_run.c: Likewise.
50209         * sunrpc/svc_simple.c: Likewise.
50210         * sunrpc/svc_tcp.c: Likewise.
50211         * sunrpc/svc_udp.c: Likewise.
50212         * sunrpc/svc_unix.c: Likewise.
50213         * sunrpc/svcauth_des.c: Likewise.
50214         * sunrpc/xcrypt.c: Likewise.
50215         * sunrpc/xdr.c: Likewise.
50216         * sunrpc/xdr_array.c: Likewise.
50217         * sunrpc/xdr_float.c: Likewise.
50218         * sunrpc/xdr_intXX_t.c: Likewise.
50219         * sunrpc/xdr_mem.c: Likewise.
50220         * sunrpc/xdr_rec.c: Likewise.
50221         * sunrpc/xdr_ref.c: Likewise.
50222         * sunrpc/xdr_sizeof.c: Likewise.
50223         * sunrpc/xdr_stdio.c: Likewise.
50225 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
50227         [BZ #12650]
50228         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50229         * sysdeps/ia64/dl-tls.h: Likewise.
50230         * sysdeps/powerpc/dl-tls.h: Likewise.
50231         * sysdeps/s390/dl-tls.h: Likewise.
50232         * sysdeps/sh/dl-tls.h: Likewise.
50233         * sysdeps/sparc/dl-tls.h: Likewise.
50234         * sysdeps/x86_64/dl-tls.h: Likewise.
50235         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50237 2011-03-14  Andreas Schwab  <schwab@redhat.com>
50239         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50240         rpath element also skip the following colon.
50241         (expand_dynamic_string_token): Add is_path parameter and pass
50242         down to DL_DST_REQUIRED and _dl_dst_substitute.
50243         (decompose_rpath): Call expand_dynamic_string_token with
50244         non-zero is_path.  Ignore empty rpaths.
50245         (_dl_map_object_from_fd): Call expand_dynamic_string_token
50246         with zero is_path.
50248 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
50250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50251         Make cancelable.
50253 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
50255         [BZ #12655]
50256         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50257         Patch by Filipe David Manana <fdmanana@apache.org>.
50259 2011-04-07  Andreas Schwab  <schwab@redhat.com>
50261         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50262         Maintain aligned stack.
50263         (CHECK_RSP): Remove unused macro.
50265 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
50267         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50268         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50270 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
50272         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50274         * include/features.h: Mention __USE_XOPEN2K8 in comment.
50276 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
50278         [BZ #12518]
50279         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50280         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50281         * sysdeps/x86_64/memmove.c: New file.
50282         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50283         (memcpy): Renamed to ...
50284         (__new_memcpy): This.
50285         (memcpy): Provide GLIBC_2_14 memcpy.
50286         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50287         (memcpy): Provide GLIBC_2_2_5 memcpy.
50289 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50291         [BZ #12631]
50292         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50294 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50296         * misc/syncfs.c: New file.
50297         * misc/Makefile (routines): Add syncfs.
50298         * posix/unistd.h: Declare syncfs.
50299         * sysdeps/unix/syscalls.list: Add syncfs.
50301 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50303         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50304         open_by_handle_at.
50305         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50306         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50308         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50310         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50311         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50313 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50315         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50316         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50317         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50323         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50324         sync_file_range.c with -fexceptions.
50325         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50326         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50327         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50328         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50329         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50330         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50331         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50332         sync_file_range as cancellation point
50333         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50334         now a wrapper around __call_sync_file_range with cancellation handling.
50335         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50336         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50337         function name to __call_sync_file_range.
50338         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50339         Add call_sync_file_range.
50341 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50344         bits/timex.h.
50346 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50348         * iconv/iconv.h: Fix typo in comment.
50349         * io/fcntl.h: Likewise.
50350         * libio/stdio.h: Likewise.
50351         * posix/spawn.h: Likewise.
50352         * posix/unistd.h: Likewise.
50353         * stdlib/stdlib.h: Likewise.
50354         * time/time.h: Likewise.
50355         * wcsmbs/wchar.h: Likewise.
50357         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50358         open_by_handle): Add.
50359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50360         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50361         Augment a few comments.
50362         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50363         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50364         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50365         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50367         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50368         open_by_handle.
50370         * io/fcntl.h (AT_EMPTY_PATH): Define.
50372 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50374         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50375         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50376         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50377         to...
50378         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50379         * Versions.def: Add GLIBC_2.14.
50380         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50381         Export.
50383 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50386         round counter.
50387         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50389 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50391         [BZ #12597]
50392         * string/test-strncmp.c (do_page_test): New function.
50393         (check2): Likewise.
50394         (test_main): Call check2.
50395         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50397 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50399         [BZ #12587]
50400         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50401         Handle cache information in CPU leaf 4.
50402         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50404 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50406         [BZ #12583]
50407         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50408         character representation.
50409         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50411 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50413         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50414         END(__isnan) to END(__isnanf) to match function entry point/label
50415         EALIGN(__isnanf,...).
50417 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50419         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50421 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50423         [BZ #12510]
50424         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50425         copy from the symbol referenced in the relocation to initialize the
50426         used variable.
50427         Patch by Piotr Bury <pbury@goahead.com>.
50428         * elf/Makefile: Add rules to build and tst-unique3.
50429         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50430         * elf/tst-unique3.cc: New file.
50431         * elf/tst-unique3.h: New file.
50432         * elf/tst-unique3lib.cc: New file.
50433         * elf/tst-unique3lib2.cc: New file.
50435         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50437 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50439         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50440         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50441         to _start.
50443 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50445         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50446         to-be-loaded object along a path to loader is ld.so.
50448 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50449             Ulrich Drepper  <drepper@gmail.com>
50451         * sysdeps/x86_64/memset.S: After aligning destination, code
50452         branches to different locations depending on the value of
50453         misalignment, when multiarch is enabled. Fix this.
50455 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50457         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50458         Set _x86_64_preferred_memory_instruction for AMD processsors.
50459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50460         Set bit_Prefer_SSE_for_memop for AMD processors.
50462 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50464         * libio/fmemopen.c (fmemopen): Optimize a bit.
50466 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50468         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50470 2011-03-03  Roland McGrath  <roland@redhat.com>
50472         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50474 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50476         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50477         __bzero_ultra1 instead of __memset_ultra1.
50479 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50480             Ulrich Drepper  <drepper@gmail.com>
50482         [BZ #12509]
50483         * include/link.h (struct link_map): Add l_orig_initfini.
50484         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50485         returning unsuccessfully.
50486         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50487         close of a file loaded at startup, restore the original l_initfini
50488         list.
50489         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50490         list, store the pointer.
50491         * elf/Makefile ($(objpfx)noload-mem): New rule.
50492         (noload-ENV): Define.
50493         (tests): Add $(objpfx)noload-mem.
50494         * elf/noload.c: Include <memcheck.h>.
50495         (main): Call mtrace.  Close all opened handles.
50497 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50499         [BZ #12454]
50500         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50501         dependencies are missing.
50503 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50505         Fix __if_freereq crash: Unlike the generic version which uses free,
50506         Hurd needs munmap.
50507         * sysdeps/mach/hurd/ifreq.h: New file.
50509 2011-01-27  Petr Baudis  <pasky@suse.cz>
50510             Ulrich Drepper  <drepper@gmail.com>
50512         [BZ 12445]#
50513         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50514         to extend_alloca().
50515         * stdio-common/bug23.c: New file.
50516         * stdio-common/Makefile (tests): Add bug23.
50518 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50519             Ulrich Drepper  <drepper@gmail.com>
50521         [BZ #12489]
50522         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50523         before performing relro protection.  At old place add assertion
50524         to make sure nothing changed.
50526 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50527             Glauber de Oliveira Costa  <glommer@gmail.com>
50529         * elf/elf.h: Add new ARM TLS relocs.
50531 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50534         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50535         cast from r3.
50536         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50537         'tests' variable.
50538         * sysdeps/wordsize-64/tst-writev.c: New file.
50540 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50542         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50543         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50544         insns in _dl_start to prevent a TOC reference before relocs are
50545         resolved.
50547 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50549         [BZ #12469]
50550         * Makeconfig: Remove RANLIB definition.
50551         * Makerules: Don't use RANLIB.
50552         * aclocal.m4: Remove ranlib test.
50553         * configure.in: No need to check for ranlib.
50554         * elf/rtld-Rules: Don't use RANLIB.
50556 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50558         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50559         protection macro.
50560         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50561         inclusion protection macro.
50563         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50564         SIGRTMIN and SIGRTMAX and print information in that case only when
50565         SIGRTMIN is defined.
50567 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50569         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50570         arginfo fn returning -1.
50572         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50573         and thousands string is zero terminated.
50575 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50578         sysdeps/unix/sysv/linux/bits/socket.h.
50580 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50582         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50583         (__CPU_COUNT): Remove old macros.
50584         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50585         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50586         (__CPU_ALLOC, __CPU_FREE): Add macros.
50587         (__sched_cpualloc, __sched_cpufree): Add declarations.
50589 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50591         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50592         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50593         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50594         (readdhstai): Return value of addhstaiX call.
50595         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50596         (addgrbyX): Return value returned by cache_addgr.
50597         (readdgrbyname): Return value returned by addgrbyX.
50598         (readdgrbygid): Likewise.
50599         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50600         (addpwbyX): Return value returned by cache_addpw.
50601         (readdpwbyname): Return value returned by addhstbyX.
50602         (readdpwbyuid): Likewise.
50603         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50604         (addservbyX): Return value returned by cache_addserv.
50605         (readdservbyname): Return value returned by addservbyX:
50606         (readdservbyport): Likewise.
50607         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50608         (addhstbyX): Return value returned by cache_addhst.
50609         (readdhstbyname): Return value returned by addhstbyX.
50610         (readdhstbyaddr): Likewise.
50611         (readdhstbynamev6): Likewise.
50612         (readdhstbyaddrv6): Likewise.
50613         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50614         (readdinitgroups): Return value returned by addinitgroupsX.
50615         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50616         (prune_cache): Keep track of timeout value of re-added entries.
50617         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50618         * nscd/nscd.h: Adjust prototypes of readd* functions.
50620 2011-02-04  Roland McGrath  <roland@redhat.com>
50622         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50623         (nis_stats): Likewise.
50624         * nis/nis_modify.c (nis_modify): Likewise.
50625         * nis/nis_remove.c (nis_remove): Likewise.
50626         * nis/nis_add.c (nis_add): Likewise.
50628         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50630         * posix/fnmatch_loop.c: Add some consts.
50632         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50634 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50636         [BZ #12460]
50637         * config.make.in (config-cflags-novzeroupper): Define.
50638         * configure.in: Substitute libc_cv_cc_novzeroupper.
50639         * elf/Makefile (AVX-CFLAGS): Define.
50640         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50641         (CFLAGS-tst-auditmod4a.c): Likewise.
50642         (CFLAGS-tst-auditmod4b.c): Likewise.
50643         (CFLAGS-tst-auditmod6b.c): Likewise.
50644         (CFLAGS-tst-auditmod6c.c): Likewise.
50645         (CFLAGS-tst-auditmod7b.c): Likewise.
50646         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50648 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50650         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50651         function to the callback.
50652         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50654 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50656         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50657         of errno.
50659 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50661         [BZ #11724]
50662         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50663         of constructors.
50664         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50665         of destructors.
50666         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50668         [BZ #11724]
50669         * elf/Makefile: Add rules to build and run new test.
50670         * elf/tst-initorder.c: New file.
50671         * elf/tst-initorder.exp: New file.
50672         * elf/tst-initordera1.c: New file.
50673         * elf/tst-initordera2.c: New file.
50674         * elf/tst-initordera3.c: New file.
50675         * elf/tst-initordera4.c: New file.
50676         * elf/tst-initorderb1.c: New file.
50677         * elf/tst-initorderb2.c: New file.
50678         * elf/tst-order-a1.c: New file.
50679         * elf/tst-order-a2.c: New file.
50680         * elf/tst-order-a3.c: New file.
50681         * elf/tst-order-a4.c: New file.
50682         * elf/tst-order-b1.c: New file.
50683         * elf/tst-order-b2.c: New file.
50684         * elf/tst-order-main.c: New file.
50685         New test case by George Gensure <werkt0@gmail.com>.
50687 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50690         decoding ACE if AI_CANONIDN.
50692 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50694         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50696 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50698         * version.h (RELEASE): Bump for 2.13 release.
50699         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50701         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50703         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50704         MADV_NOHUGEPAGE.
50705         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50706         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50707         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50708         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50709         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50710         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50712         * posix/getconf.c: Update copyright year.
50713         * catgets/gencat.c: Likewise.
50714         * csu/version.c: Likewise.
50715         * debug/catchsegv.sh: Likewise.
50716         * debug/xtrace.sh: Likewise.
50717         * elf/ldconfig.c: Likewise.
50718         * elf/ldd.bash.in: Likewise.
50719         * elf/sprof.c (print_version): Likewise.
50720         * iconv/iconv_prog.c: Likewise.
50721         * iconv/iconvconfig.c: Likewise.
50722         * locale/programs/locale.c: Likewise.
50723         * locale/programs/localedef.c: Likewise.
50724         * malloc/memusage.sh: Likewise.
50725         * malloc/mtrace.pl: Likewise.
50726         * nscd/nscd.c (print_version): Likewise.
50727         * nss/getent.c: Likewise.
50729         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50730         PF_CAIF, and PF_ALG.
50731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50733 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50735         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50736         (modules-names): Use them.
50737         (ifunc-test-modules, ifunc-pie-tests): Define.
50738         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50739         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50740         (test-extras): Likewise.
50741         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50742         $(compile-command.c).
50743         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50744         (all-built-dso): Define.
50745         (check-textrel.out, check-execstack.out): Depend on it.
50747         * configure.in: Don't override --enable-multi-arch.
50749 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50751         [BZ #6812]
50752         * nscd/hstcache.c (tryagain): Define.
50753         (cache_addhst): Return tryagain not notfound for temporary errors.
50754         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50755         failed.
50757 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50759         [BZ #10563]
50760         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50761         to make the syscall.
50762         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50764         [BZ #12378]
50765         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50766         and fall back to matching as normal character if the string ends before
50767         the matching ']' is found.  This is what POSIX requires.
50768         * posix/testfnm.c: Adjust test result.
50769         * posix/globtest.sh: Adjust test result.  Add new test.
50770         * posix/tst-fnmatch.input: Likewise.
50771         * posix/tst-fnmatch2.c: Add new test.
50773 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50775         * elf/Makefile (check-execstack): Revert last change.  Depend on
50776         check-execstack.h.
50777         (check-execstack.h): New target.
50778         (generated): Add check-execstack.h.
50779         * elf/check-execstack.c: Include "check-execstack.h".
50780         (main): Revert last change.
50781         (handle_file): Return zero if GNU_STACK is absent and
50782         DEFAULT_STACK_PERMS doesn't include PF_X.
50784 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50786         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50787         in child fails because the descriptor is already closed.
50788         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50789         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50790         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50792         [BZ #12397]
50793         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50794         syscall.
50796         [BZ #10484]
50797         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50798         temporary buffer used to handle multi lookups locally.
50799         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50801 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50803         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50804         loader is ld.so.
50806 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50808         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50809         alignment for SSE2.
50811 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50813         [BZ #12394]
50814         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50815         characters.  When rounding increased number of integer digits recompute
50816         number of groups.
50817         * stdio-common/tst-grouping.c: New file.
50818         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50820 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50822         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50823         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50825         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50826         void.
50827         * bits/select.h: Likewise.
50829 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50831         * po/ja.po: Update from translation team.
50833 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50835         [BZ #11155]
50836         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50837         implementation just like for lxstat, fxstatat, et al.
50839 2010-12-27  Jim Meyering  <meyering@redhat.com>
50841         [BZ #12348]
50842         * posix/regexec.c (build_trtable): Return failure indication upon
50843         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50845 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50847         [BZ #12201]
50848         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50849         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50850         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50851         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50853         [BZ #12207]
50854         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50856         [BZ #12204]
50857         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50858         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50860 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50862         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50863         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50864         script has SORT_BY_INIT_PRIORITY.
50865         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50866         NO_CTORS_DTORS_SECTIONS is defined.
50867         * elf/soinit.c: Likewise.
50868         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50869         NO_CTORS_DTORS_SECTIONS is defined.
50870         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50871         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50872         * sysdeps/sh/init-first.c: Likewise.
50873         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50875 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50877         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50878         always use the slow path.
50880 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50882         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50883         similar rule which adds the sysdep directories to the header search in
50884         order to pick up the correct platform stackinfo.h.
50885         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50886         perform test if it is, otherwise return successfully without testing.
50887         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50888         DEFAULT_STACK_PERMS define in stackinfo.h.
50889         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50890         defined in stackinfo.h.
50891         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50892         DEFAULT_STACK_PERMS defined in stackinfo.h.
50893         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50894         * sysdeps/ia64/stackinfo.h: Likewise.
50895         * sysdeps/s390/stackinfo.h: Likewise.
50896         * sysdeps/sh/stackinfo.h: Likewise.
50897         * sysdeps/sparc/stackinfo.h: Likewise.
50898         * sysdeps/x86_64/stackinfo.h: Likewise.
50899         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50900         PF_X for powerpc64.  Retain PF_X for powerpc32.
50902 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50904         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50905         accurately.
50906         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50907         GETDENTS_64BIT_ALIGNED.
50909 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50911         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50913 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50915         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50916         _GNU_SOURCE.
50918         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50919         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50920         Remove __restrict.
50921         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50922         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50924 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50926         [BZ #11655]
50927         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50928         are initialized.
50930 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50932         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50934 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50936         * po/it.po: Update from translation team.
50938 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50941         unused codes.
50943 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50945         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50947 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50949         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50950         specially.
50951         (gaih_getanswer_slice): Likewise.
50953 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50957 2010-05-31  Petr Baudis  <pasky@suse.cz>
50959         [BZ #11149]
50960         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50961         silently even in the chroot mode.
50963 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50965         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50966         last patch a bit.  Pretty printing
50968 2010-05-31  Petr Baudis <pasky@suse.cz>
50970         [BZ #10085]
50971         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50972         initialization of skip_initgroups_dyn.
50974 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50976         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50977         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50979 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50981         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50983 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50985         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50986         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50987         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50988         ($(objpfx)tst-fnmatch-mem): New rule.
50989         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50990         * posix/tst-fnmatch.c (main): Call mtrace.
50992 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50995         Support Intel processor model 6 and model 0x2c.
50997 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51000           signed comparison.
51002 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
51004         [BZ #12205]
51005         * string/test-strncasecmp.c (check_result): New function.
51006         (do_one_test): Use it.
51007         (check1): New function.
51008         (test_main): Use it.
51009         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51010         Support strcasecmp and strncasecmp.
51012 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
51014         [BZ #12194]
51015         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51018 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51020         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51021         IFUNC support.
51022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51023         memset-x86-64.
51024         * sysdeps/x86_64/multiarch/bzero.S: New file.
51025         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51026         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51027         * sysdeps/x86_64/multiarch/memset.S: New file.
51028         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51030         Set bit_Prefer_SSE_for_memop for Intel processors.
51031         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51032         Define.
51033         (index_Prefer_SSE_for_memop): Define.
51034         (HAS_PREFER_SSE_FOR_MEMOP): Define.
51036 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
51038         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51039         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51041 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
51043         [BZ #12191]
51044         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51045         (__x86_64_raw_data_cache_size_half): Likewise.
51046         (__x86_64_raw_shared_cache_size): Likewise.
51047         (__x86_64_raw_shared_cache_size_half): Likewise.
51049         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51050         (__x86_64_raw_data_cache_size_half): Likewise.
51051         (__x86_64_raw_shared_cache_size): Likewise.
51052         (__x86_64_raw_shared_cache_size_half): Likewise.
51053         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51054         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51055         and __x86_64_raw_shared_cache_size_half.  Round
51056         __x86_64_data_cache_size_half, __x86_64_data_cache_size
51057         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51058         to multiple of 256 bytes.
51060 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
51062         [BZ #12167]
51063         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51064         of inacessible symlinks.  Verify result of symlink before returning it.
51065         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51066         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51068 2010-10-28  Erich Ritz  <erichritz@gmail.com>
51070         * math/math.h (isinf): Fix typo in comment.
51072 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
51074         * po/da.po: Update from translation team.
51076 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
51078         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51079         is added to the list.
51081 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51082             Ulrich Drepper  <drepper@gmail.com>
51084         * elf/dl-object.c (_dl_new_object): Don't append the new object to
51085         the global list here.  Move code to...
51086         (_dl_add_to_namespace_list): ...here.  New function.
51087         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51088         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51089         * elf/dl-load.c (lose): Don't remove the element from the list.
51090         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51091         (_dl_map_object): Likewise.
51093 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
51095         [BZ #12159]
51096         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51097         into all bytes of SSE register.
51098         Patch by Richard Li <richardpku@gmail.com>.
51100 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
51102         [BZ #12140]
51103         * malloc/malloc.c (_int_free): Fill correct number of bytes when
51104         perturbing.
51106 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
51108         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51109         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51110         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51111         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51113         submachine.
51114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51116 2010-10-22  Andreas Schwab  <schwab@redhat.com>
51118         * include/dlfcn.h (__RTLD_SECURE): Define.
51119         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
51120         mode & __RTLD_SECURE instead.
51121         (open_path): Rename preloaded parameter to secure.
51122         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51123         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51124         * elf/dl-deps.c (openaux): Likewise.
51125         * elf/rtld.c (struct map_args): Remove is_preloaded.
51126         (map_doit): Don't use it.
51127         (dl_main): Likewise.
51128         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51129         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51131 2010-09-09  Andreas Schwab  <schwab@redhat.com>
51133         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51134         (sysd-rules-targets): Remove duplicates.
51135         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51136         rtld-%.$o dependency.
51138 2010-10-18  Andreas Schwab  <schwab@redhat.com>
51140         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51141         _dl_map_object do it.
51143 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
51145         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51146         fast fma builtins, define the macros in the C99 standard.
51147         (FP_FAST_FMAF): Likewise.
51148         (FP_FAST_FMAL): Likewise.
51149         * sysdeps/x86_64/bits/mathdef.h: Likewise.
51151         * bits/mathdef.h: Update copyright year.
51152         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51154 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51156         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51157         builtins, define the macros in the C99 standard.
51158         (FP_FAST_FMAF): Likewise.
51159         (FP_FAST_FMAL): Likewise.
51160         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51161         multiply/add.
51162         (FP_FAST_FMAF): Likewise.
51164 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
51166         [BZ #3268]
51167         * math/libm-test.inc (fma_test): Some new testcases.
51168         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51169         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51170         y and infinite z.  Do multiplication by C already in long double.
51171         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51173         y and infinite z.  Do bitwise or of inexact bit into u.d.
51174         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51175         * sysdeps/i386/fpu/s_fmaf.S: Removed.
51176         * sysdeps/i386/fpu/s_fma.S: Removed.
51177         * sysdeps/i386/fpu/s_fmal.S: Removed.
51179 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
51181         [BZ #3268]
51182         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51184         computation is not scheduled after fetestexcept.  Fix value
51185         of minimum denormal long double.
51187 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
51189         [BZ #3268]
51190         * math/libm-test.inc (fma_test): Add some more tests.
51191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51192         correctly.
51194 2010-10-15  Andreas Schwab  <schwab@redhat.com>
51196         * scripts/data/localplt-s390-linux-gnu.data: New file.
51197         * scripts/data/localplt-s390x-linux-gnu.data: New file.
51199 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
51201         [BZ #3268]
51202         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51203         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51204         instead of dbl-64.
51205         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51206         inlines.
51207         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51209         if one of x and y is very large and the other is subnormal.
51210         * sysdeps/s390/fpu/s_fmaf.c: New file.
51211         * sysdeps/s390/fpu/s_fma.c: New file.
51212         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51213         * sysdeps/powerpc/fpu/s_fma.S: New file.
51214         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51215         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51216         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51218 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
51220         [BZ #3268]
51221         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51222         fma tests.
51223         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51224         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51225         * sysdeps/i386/i686/multiarch/s_fma.c: Include
51226         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51227         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51228         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51229         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51231 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
51233         [BZ #12078]
51234         * posix/regcomp.c (parse_branch): One more memory leak plugged.
51235         * posix/bug-regex31.input: Add test case.
51237 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51239         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51240         * posix/bug-regex31.input: New file.
51242         [BZ #12078]
51243         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51244         (parse_sub_exp): Fix last change, use postorder.
51246         * posix/bug-regex31.c: New file.
51247         * posix/Makefile: Add rules to build and run bug-regex31.
51249         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51251         [BZ #12078]
51252         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51254         [BZ #12108]
51255         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51256         to have entries in sys_siglist.
51258         [BZ #12093]
51259         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51260         be NULL.
51262 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
51264         [BZ #3268]
51265         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51266         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51267         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51268         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51269         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51270         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51271         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51272         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51273         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51274         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51275         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51276         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51277         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51278         * math/ftestexcept.c (fetestexcept): Likewise.
51279         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51280         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51281         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51282         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51283         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51284         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51285         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51287 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51289         [BZ #12107]
51290         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51291         newline.
51293 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51295         * string/bug-strstr1.c: New file.
51296         * string/Makefile: Add rules to build and run bug-strstr1.
51298 2010-10-05  Eric Blake  <eblake@redhat.com>
51300         [BZ #12092]
51301         * string/str-two-way.h (two_way_long_needle): Always clear memory
51302         when skipping input due to the shift table.
51304 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51306         [BZ #12005]
51307         * malloc/mcheck.c: Handle large requests.
51309         [BZ #12077]
51310         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51311         for strncmp and strncasecmp.
51312         * string/stratcliff.c: Add tests for strcmp and strncmp.
51313         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51315 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51317         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51318         __set_fpscr.
51320 2010-09-30  Andreas Jaeger  <aj@suse.de>
51322         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51323         (CGROUP_SUPER_MAGIC): Define.
51324         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51325         Handle btrfs and cgroup file systems.
51326         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51327         Likewise.
51329 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51331         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51332         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51334 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51336         [BZ #12067]
51337         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51338         trying to locate the ELF header.
51340 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51342         [BZ #11611]
51343         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51344         Mask out sign-bit copies when constructing f_fsid.
51346 2010-09-24  Petr Baudis <pasky@suse.cz>
51348         * debug/stack_chk_fail_local.c: Add missing licence exception.
51349         * debug/warning-nop.c: Likewise.
51351 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51353         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51354         implementing getdents64 using getdents syscall, set d_type if
51355         __ASSUME_GETDENTS32_D_TYPE.
51357 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51359         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51360         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51362 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51364         [BZ #12037]
51365         * posix/unistd.h: Undo change of feature selection for ftruncate from
51366         2010-01-11.
51368 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51370         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51371         detection.
51373 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51375         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51376         fanotify_mark.
51377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51379 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51381         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51382         variables after CHECK_SP call.
51383         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51385 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51386             Ulrich Drepper  <drepper@redhat.com>
51388         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51389         re-relocationg ld.so.
51390         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51391         _dl_init_paths call.
51392         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51393         here anymore.
51395 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51397         * resolv/res_init.c (__res_vinit): Count the default server we added.
51399 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51400             Ulrich Drepper  <drepper@redhat.com>
51402         [BZ #11968]
51403         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51404         (____longjmp_chk): Use %ebx for saving value across system call.
51405         Add unwind info.
51407 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51409         * manual/Makefile: Don't mix pattern rules with normal rules.
51411 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51413         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51414         operation.
51415         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51416         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51417         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51418         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51420         Likewise.
51422 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51424         [BZ #11979]
51425         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51426         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51428 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51430         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51431         * sysdeps/x86_64/addmul_1.S: Likewise.
51432         * sysdeps/x86_64/lshift.S: Likewise.
51433         * sysdeps/x86_64/mul_1.S: Likewise.
51434         * sysdeps/x86_64/rshift.S: Likewise.
51435         * sysdeps/x86_64/sub_n.S: Likewise.
51436         * sysdeps/x86_64/submul_1.S: Likewise.
51438 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51440         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51441         Define __sched_param instead of SCHED_* and sched_param when
51442         <bits/sched.h> is included with __need_schedparam defined.
51443         * bits/sched.h [__need_schedparam]
51444         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51445         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51446         (__defined_schedparam): Define to 1.
51447         (__sched_param): New structure, identical to sched_param.
51448         (__need_schedparam): Undefine.
51450 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51452         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51453         (epoll_create1): Declare.
51455         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51457 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51459         [BZ #7066]
51460         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51461         shifting retval into place.
51463 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51465         * nis/rpcsvc/nis.h: Update copyright notice.
51466         * nis/rpcsvc/nis.x: Likewise.
51467         * nis/rpcsvc/nis_callback.h: Likewise.
51468         * nis/rpcsvc/nis_callback.x: Likewise.
51469         * nis/rpcsvc/nis_object.x: Likewise.
51470         * nis/rpcsvc/nis_tags.h: Likewise.
51471         * nis/rpcsvc/yp.h: Likewise.
51472         * nis/rpcsvc/yp.x: Likewise.
51473         * nis/rpcsvc/ypupd.h: Likewise.
51474         * nis/yp_xdr.c: Likewise.
51475         * nis/ypupdate_xdr.c: Likewise.
51477         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51478         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51479         (pmap_getport): Use __libc_rpc_getport.
51480         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51481         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51482         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51484 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51487         fanotify_mark.
51489 2010-08-27  Roland McGrath  <roland@redhat.com>
51491         * sysdeps/i386/i686/multiarch/Makefile
51492         (CFLAGS-varshift.c): New variable.
51494 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51496         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51497         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51499         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51501         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51503 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51505         * sysdeps/x86_64/strlen.S: Unroll the loop.
51506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51507         strlen-sse2 strlen-sse2-bsf.
51508         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51509         __strlen_no_bsf if bit_Slow_BSF is set.
51510         (__strlen_sse42): Removed.
51511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51512         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51514 2010-08-25  Roland McGrath  <roland@redhat.com>
51516         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51517         * sysdeps/x86_64/multiarch/varshift.c: New file.
51518         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51519         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51520         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51521         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51523 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51526         strlen-sse2 strlen-sse2-bsf.
51527         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51528         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51529         (__strlen_sse2): Removed.
51530         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51531         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51533         bit_Slow_BSF for Atom.
51534         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51535         (index_Slow_BSF): Define.
51536         (HAS_SLOW_BSF): Define.
51538 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51540         [BZ #10851]
51541         * resolv/res_init.c (__res_vinit): When no server address at all
51542         is given default to loopback.
51544 2010-08-24  Roland McGrath  <roland@redhat.com>
51546         * configure.in: Remove config-name.h generation.
51547         * configure: Regenerated.
51548         * config-name.in: File removed.
51549         * scripts/config-uname.sh: New file.
51550         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51551         ($(objdir)config-name.h): New target.
51553         * sunrpc/rpc_parse.h: Avoid nested comment.
51555 2010-08-24  Richard Henderson  <rth@redhat.com>
51556             Ulrich Drepper  <drepper@redhat.com>
51557             H.J. Lu  <hongjiu.lu@intel.com>
51559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51561         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51562         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51563         _mm_alignr_epi8 with _mm_loadu_si128.
51564         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51565         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51566         (__m128i_shift_right): Removed.
51567         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51568         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51569         * sysdeps/x86_64/multiarch/varshift.h: New file.
51570         * sysdeps/x86_64/multiarch/varshift.S: New file.
51572 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51574         * configure.in: Move assembler checks to before sysdep dir checking.
51576 2010-08-20  Petr Baudis  <pasky@suse.cz>
51578         * LICENSES: Sync the sunrpc license.
51580 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51582         * sunrpc/auth_des.c: Update copyright notice once again.
51583         * sunrpc/auth_none.c: Likewise.
51584         * sunrpc/auth_unix.c: Likewise.
51585         * sunrpc/authdes_prot.c: Likewise.
51586         * sunrpc/authuxprot.c: Likewise.
51587         * sunrpc/bindrsvprt.c: Likewise.
51588         * sunrpc/clnt_gen.c: Likewise.
51589         * sunrpc/clnt_perr.c: Likewise.
51590         * sunrpc/clnt_raw.c: Likewise.
51591         * sunrpc/clnt_simp.c: Likewise.
51592         * sunrpc/clnt_tcp.c: Likewise.
51593         * sunrpc/clnt_udp.c: Likewise.
51594         * sunrpc/clnt_unix.c: Likewise.
51595         * sunrpc/des_crypt.c: Likewise.
51596         * sunrpc/des_soft.c: Likewise.
51597         * sunrpc/get_myaddr.c: Likewise.
51598         * sunrpc/getrpcport.c: Likewise.
51599         * sunrpc/key_call.c: Likewise.
51600         * sunrpc/key_prot.c: Likewise.
51601         * sunrpc/openchild.c: Likewise.
51602         * sunrpc/pm_getmaps.c: Likewise.
51603         * sunrpc/pm_getport.c: Likewise.
51604         * sunrpc/pmap_clnt.c: Likewise.
51605         * sunrpc/pmap_prot.c: Likewise.
51606         * sunrpc/pmap_prot2.c: Likewise.
51607         * sunrpc/pmap_rmt.c: Likewise.
51608         * sunrpc/rpc/auth.h: Likewise.
51609         * sunrpc/rpc/auth_unix.h: Likewise.
51610         * sunrpc/rpc/clnt.h: Likewise.
51611         * sunrpc/rpc/des_crypt.h: Likewise.
51612         * sunrpc/rpc/key_prot.h: Likewise.
51613         * sunrpc/rpc/netdb.h: Likewise.
51614         * sunrpc/rpc/pmap_clnt.h: Likewise.
51615         * sunrpc/rpc/pmap_prot.h: Likewise.
51616         * sunrpc/rpc/pmap_rmt.h: Likewise.
51617         * sunrpc/rpc/rpc.h: Likewise.
51618         * sunrpc/rpc/rpc_des.h: Likewise.
51619         * sunrpc/rpc/rpc_msg.h: Likewise.
51620         * sunrpc/rpc/svc.h: Likewise.
51621         * sunrpc/rpc/svc_auth.h: Likewise.
51622         * sunrpc/rpc/types.h: Likewise.
51623         * sunrpc/rpc/xdr.h: Likewise.
51624         * sunrpc/rpc_clntout.c: Likewise.
51625         * sunrpc/rpc_cmsg.c: Likewise.
51626         * sunrpc/rpc_common.c: Likewise.
51627         * sunrpc/rpc_cout.c: Likewise.
51628         * sunrpc/rpc_dtable.c: Likewise.
51629         * sunrpc/rpc_hout.c: Likewise.
51630         * sunrpc/rpc_main.c: Likewise.
51631         * sunrpc/rpc_parse.c: Likewise.
51632         * sunrpc/rpc_parse.h: Likewise.
51633         * sunrpc/rpc_prot.c: Likewise.
51634         * sunrpc/rpc_sample.c: Likewise.
51635         * sunrpc/rpc_scan.c: Likewise.
51636         * sunrpc/rpc_scan.h: Likewise.
51637         * sunrpc/rpc_svcout.c: Likewise.
51638         * sunrpc/rpc_tblout.c: Likewise.
51639         * sunrpc/rpc_util.c: Likewise.
51640         * sunrpc/rpc_util.h: Likewise.
51641         * sunrpc/rpcinfo.c: Likewise.
51642         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51643         * sunrpc/rpcsvc/key_prot.x: Likewise.
51644         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51645         * sunrpc/rpcsvc/mount.x: Likewise.
51646         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51647         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51648         * sunrpc/rpcsvc/rex.x: Likewise.
51649         * sunrpc/rpcsvc/rstat.x: Likewise.
51650         * sunrpc/rpcsvc/rusers.x: Likewise.
51651         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51652         * sunrpc/rpcsvc/spray.x: Likewise.
51653         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51654         * sunrpc/rtime.c: Likewise.
51655         * sunrpc/svc.c: Likewise.
51656         * sunrpc/svc_auth.c: Likewise.
51657         * sunrpc/svc_authux.c: Likewise.
51658         * sunrpc/svc_raw.c: Likewise.
51659         * sunrpc/svc_run.c: Likewise.
51660         * sunrpc/svc_simple.c: Likewise.
51661         * sunrpc/svc_tcp.c: Likewise.
51662         * sunrpc/svc_udp.c: Likewise.
51663         * sunrpc/svc_unix.c: Likewise.
51664         * sunrpc/svcauth_des.c: Likewise.
51665         * sunrpc/xcrypt.c: Likewise.
51666         * sunrpc/xdr.c: Likewise.
51667         * sunrpc/xdr_array.c: Likewise.
51668         * sunrpc/xdr_float.c: Likewise.
51669         * sunrpc/xdr_mem.c: Likewise.
51670         * sunrpc/xdr_rec.c: Likewise.
51671         * sunrpc/xdr_ref.c: Likewise.
51672         * sunrpc/xdr_sizeof.c: Likewise.
51673         * sunrpc/xdr_stdio.c: Likewise.
51675         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51676         handling.
51678 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51680         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51682 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51684         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51685         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51686         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51687         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51688         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51689         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51690         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51691         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51693         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51694         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51695         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51696         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51697         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51699 2010-07-26  Anton Blanchard  <anton@samba.org>
51701         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51702         * malloc/arena.c (heap_trim): Likewise.
51704 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51706         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51707         here.  Not...
51708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51709         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51711 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51713         * sysdeps/i386/elf/Makefile: New file.
51715 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51717         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51718         from fanotify_init.
51719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51722 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51724         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51725         of strncasecmp_l.
51726         * sysdeps/multiarch/strcmp.S: Likewise.
51728 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51730         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51731         strncase_l-nonascii.
51732         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51733         Add strncase_l-ssse3.
51734         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51735         * sysdeps/x86_64/strcmp.S: Likewise.
51736         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51737         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51738         * sysdeps/x86_64/strncase.S: New file.
51739         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51740         * sysdeps/x86_64/strncase_l.S: New file.
51741         * string/Makefile (strop-tests): Add strncasecmp.
51742         * string/test-strncasecmp.c: New file.
51744         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51745         warning.
51747         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51748         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51750 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51752         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51754 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51756         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51757         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51758         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51760 2010-05-01  Alan Modra  <amodra@gmail.com>
51762         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51763         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51764         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51765         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51766         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51767         tidying.  Don't tail-call __sigjmp_save for static lib.
51768         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51769         save location.
51770         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51771         (CALL_MCOUNT): Add eh info, and nop after bl.
51772         (TAIL_CALL_SYSCALL_ERROR): New macro.
51773         (PSEUDO_RET): Use it.
51774         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51775         Correct save location of integer regs and cr.
51776         (_dl_profile_resolve): Correct cr save location.  Delete nops
51777         after bl when SHARED.  Reduce cfi size a little by better
51778         placement of cfi directives.
51779         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51780         make a stack frame.  Instead use parm save area as a temp.
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51782         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51784         Don't make a stack frame for parent, use parm save area.
51785         Increase child stack frame to 112 bytes.  Don't save unused reg,
51786         and adjust reg usage.  Set up cfi on error recovery and
51787         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51789         (__makecontext): Add dummy nop after jump to exit.
51790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51791         Use correct parm save area and cr save, reduce stack frame.
51792         Correct cfi for possible PSEUDO_RET frame setup.
51793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51794         Branch to local label emitted by PSEUDO_RET rather than
51795         __syscall_error.
51797 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51799         [BZ #11904]
51800         * locale/programs/locale.c (print_assignment): New function.
51801         (show_locale_vars): Use it.
51803 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51805         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51806         field.
51807         (struct statfs64): Likewise.
51808         (_STATFS_F_FLAGS): Define.
51809         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51810         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51811         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51812         (ST_VALID): Define locally.
51813         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51814         __statvfs_getflags, use the provided value.
51815         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51816         __ASSUME_STATFS_F_FLAGS.
51818         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51820         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51821         Add sys/fanotify.h.
51822         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51823         fanotify_mask for GLIBC_2.13.
51824         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51825         fanotify_init and fanotify_mark.
51826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51827         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51829         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51830         Add prlimit.
51831         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51832         prlimit64 for GLIBC_2.13.
51833         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51834         prlimit64.
51835         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51836         syscall.
51837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51838         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51839         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51840         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51842         add prlimit alias.
51843         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51845         [BZ #11903]
51846         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51847         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51849         * nss/Makefile: Add rules to build and run tst-nss-test1.
51850         * shlib-versions: Add entry for libnss_test1.
51851         * nss/nss_test1.c: New file.
51852         * nss/tst-nss-test1.c: New file.
51854         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51855         (__nss_configure_lookup): Set appropriate entry in
51856         __nss_configure_lookup to true.
51857         * nss/nsswitch.h: Define enum with indeces of databases in
51858         databases and __nss_database_custom arrays.  Declare
51859         __nss_database_custom.
51860         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51861         to avoid using nscd when custom rules are installed.
51862         * nss/getXXbyYY_r.c: Likewise.
51863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51865         * nss/nss_files/files-parse.c: Whitespace fixes.
51867 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51869         [BZ #11883]
51870         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51871         * posix/fnmatch_loop.c: Likewise.
51873 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51875         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51876         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51877         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51878         * Versions.def [GLIBC_2.13]: Add.
51880 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51882         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51883         Also fail if tpwd after pwuid call is NULL.
51885 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51887         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51888         when converting to ms.
51890 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51892         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51893         EOPNOTSUPP errors with ENOTTY.
51894         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51895         EOPNOTSUPP errors with ENOTTY.
51897 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51899         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51900         Add strcasecmp_l-ssse3.
51901         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51902         strcasecmp.
51903         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51904         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51905         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51907 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51909         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51911         * string/Makefile (strop-tests): Add strcasecmp.
51912         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51913         strcasecmp_l-nonascii.
51914         (gen-as-const-headers): Add locale-defines.sym.
51915         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51916         * sysdeps/x86_64/strcasecmp.S: New file.
51917         * sysdeps/x86_64/strcasecmp_l.S: New file.
51918         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51919         * sysdeps/x86_64/locale-defines.sym: New file.
51920         * string/test-strcasecmp.c: New file.
51922         * string/test-strcasestr.c: Test both ends of the range of characters.
51923         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51925 2010-07-29  Roland McGrath  <roland@redhat.com>
51927         [BZ #11856]
51928         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51930 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51932         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51933         for ld.so.
51935 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51937         * manual/memory.texi (Malloc Tunable Parameters): Document
51938         M_PERTURB.
51940 2010-07-26  Roland McGrath  <roland@redhat.com>
51942         [BZ #11840]
51943         * configure.in (-fgnu89-inline check): Set and substitute
51944         gnu89_inline, not libc_cv_gnu89_inline.
51945         * configure: Regenerated.
51946         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51948 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51950         * string/test-strnlen.c: New file.
51951         * string/Makefile (strop-tests): Add strnlen.
51952         * string/tester.c (test_strnlen): Add a few more test cases.
51953         * string/tst-strlen.c: Better error reporting.
51955         * sysdeps/x86_64/strnlen.S: New file.
51957 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51959         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51960         lower-latency instructions.
51962 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51964         * string/test-strcasestr.c: New file.
51965         * string/test-strstr.c: New file.
51966         * string/Makefile (strop-tests): Add strstr and strcasestr.
51967         * string/str-two-way.h: Don't undefine MAX.
51968         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51970 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51972         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51973         strcasestr-nonascii.
51974         (CFLAGS-strcasestr-nonascii.c): Define.
51975         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51976         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51977         Remove unused attribute.
51979 2010-07-20  Roland McGrath  <roland@redhat.com>
51981         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51982         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51983         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51984         like LD_HWCAP_MASK can disable hwcaps.
51986 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51988         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51990 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51992         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51993         call in strcasestr.
51994         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51995         __strcasestr_sse42_nonascii.
51996         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51997         strcasestr-nonascii.c.
51998         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52000 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
52002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52003         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52004         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52005         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52007 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
52009         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52010         fcntl.
52012 2010-07-06  Andreas Schwab  <schwab@redhat.com>
52014         [BZ #11577]
52015         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52016         dl_signal_cerror.
52018 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
52020         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52021         _PC_PIPE_BUF using F_GETPIPE_SZ.
52023 2010-07-05  Roland McGrath  <roland@redhat.com>
52025         * manual/arith.texi (Rounding Functions): Fix rint description
52026         implicit in round description.
52028 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
52030         * elf/Makefile: Fix linking for a few tests to make recent linker
52031         happy.
52033 2010-06-30  Andreas Schwab  <schwab@redhat.com>
52035         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52036         $(common-objpfx)libc_nonshared.a.
52038 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
52040         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52041         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52042         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52043         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52044         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52045         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52046         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52047         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52062         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52063         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52064         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52065         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52066         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52067         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52068         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52069         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52070         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52071         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52072         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52073         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52089 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
52091         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52092         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
52093         * string/memmove.c (memmove): Renamed to ...
52094         (MEMMOVE): ...this.  Default to memmove.
52095         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52096         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52097         (END_CHK): Define.
52098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52099         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52100         mempcpy-ssse3-back memmove-ssse3-back.
52101         * sysdeps/x86_64/multiarch/bcopy.S: New file .
52102         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52103         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52104         * sysdeps/x86_64/multiarch/memcpy.S: New file.
52105         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52106         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52107         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52108         * sysdeps/x86_64/multiarch/memmove.c: New file.
52109         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52110         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52111         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52112         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52113         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52115         Define.
52116         (index_Fast_Copy_Backward): Define.
52117         (HAS_ARCH_FEATURE): Define.
52118         (HAS_FAST_REP_STRING): Define.
52119         (HAS_FAST_COPY_BACKWARD): Define.
52121 2010-06-21  Andreas Schwab  <schwab@redhat.com>
52123         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52124         Restore proper fallback handling.
52126 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
52128         [BZ #11701]
52129         * posix/group_member.c (__group_member): Correct checking loop.
52131         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52132         OOM in getpwuid_r correctly.  Return error number when the caller
52133         should return, otherwise -1.
52134         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52135         call returning > 0 value.
52136         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52138 2010-06-07  Andreas Schwab  <schwab@redhat.com>
52140         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52141         libc_nonshared.a from targets in modules-names.
52143 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
52145         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52146         requires it.
52148 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
52150         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52151         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52152         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52153         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52155 2010-06-02  Andreas Schwab  <schwab@redhat.com>
52157         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52159 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
52161         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52162         and F_GETPIPE_SZ.
52163         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52164         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52167         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52168         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52170 2010-06-14  Roland McGrath  <roland@redhat.com>
52172         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52174 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
52176         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52177         __REDIRECT followed by __THROW.
52178         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52179         * posix/getopt.h (getopt): Likewise.
52181 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52183         * hurd/lookup-at.c (__file_name_lookup_at): Accept
52184         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
52185         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52186         in AT_FLAGS.
52187         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52188         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52190 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
52192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52194 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
52196         [BZ #11640]
52197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52198         Properly check family and model.
52200 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
52202         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52204 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
52206         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52208 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
52210         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52211         symbol reference.
52213 2010-05-19  Andreas Schwab  <schwab@redhat.com>
52215         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52216         symbol reference.
52218 2010-05-21  Andreas Schwab  <schwab@redhat.com>
52220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52221         and internal_recvmmsg.
52222         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52223         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52224         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52225         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52227         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52228         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52229         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52231 2010-05-20  Andreas Schwab  <schwab@redhat.com>
52233         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52235 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
52237         POWER7 optimizations.
52238         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52239         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52241 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
52243         * version.h: Update for 2.13 development version.
52245 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
52247         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52248         exceptions.  Return 0.
52250 2010-05-07  Roland McGrath  <roland@redhat.com>
52252         * elf/ldconfig.c (main): Add a const.
52254 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
52256         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52257         (args_options): Add no-idn option.
52258         (ahosts_keys_int): Add idn_flags to ai_flags.
52259         (parse_option): Handle 'i' option to clear idn_flags.
52261         * malloc/malloc.c (_int_free): Possible race in the most recently
52262         added check.  Only act on the data if no current modification
52263         happened.
52265 See ChangeLog.17 for earlier changes.