Make tests consistently use *.out output files.
[glibc.git] / ChangeLog
blob520a3dd3cf955fef2756e1a1cc9e2baa5a80ce43
1 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3         * elf/Makefile (tests-special): Rename tests to end with .out.
4         ($(objpfx)noload-mem): Likewise.
5         ($(objpfx)tst-leaks1-mem): Likewise.
6         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8         $(objpfx)test-iconvconfig.out.
9         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10         set -e inside subshell and redirect output to file.
11         * iconvdata/Makefile (generated): Rename tests to end with .out.
12         Correct type.
13         (tests-special): Rename tests to end with .out.
14         ($(objpfx)mtrace-tst-loading): Likewise.
15         * intl/Makefile (generated): Likewise.
16         (tests-special): Likewise.
17         ($(objpfx)mtrace-tst-gettext): Likewise.
18         * misc/Makefile (generated): Likewise.
19         (tests-special): Likewise.
20         ($(objpfx)tst-error1-mem): Likewise.
21         * nptl/Makefile (tests-special): Likewise.
22         ($(objpfx)tst-stack3-mem): Likewise.
23         (generated): Likewise.
24         * posix/Makefile (generated): Likewise.
25         (tests-special): Likewise.
26         (xtests-special): Likewise.
27         ($(objpfx)tst-fnmatch-mem): Likewise.
28         ($(objpfx)bug-regex2-mem): Likewise.
29         ($(objpfx)bug-regex14-mem): Likewise.
30         ($(objpfx)bug-regex21-mem): Likewise.
31         ($(objpfx)bug-regex31-mem): Likewise.
32         ($(objpfx)tst-vfork3-mem): Likewise.
33         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34         ($(objpfx)tst-pcre-mem): Likewise.
35         ($(objpfx)tst-boost-mem): Likewise.
36         ($(objpfx)bug-ga2-mem): Likewise.
37         ($(objpfx)bug-glob2-mem): Likewise.
38         * resolv/Makefile (generate): Likewise.
39         (tests-special): Likewise.
40         (xtests-special): Likewise.
41         (generated): Likewise.
42         ($(objpfx)mtrace-tst-leaks): Likewise.
43         ($(objpfx)mtrace-tst-leaks2): Likewise.
45         * scripts/merge-test-results.sh: New file.
46         * Makefile (tests-special-notdir): New variable.
47         (tests): Run merge-test-results.sh.
48         (xtests): Likewise.
49         * Rules (tests-special-notdir): New variable.
50         (xtests-special-notdir): Likewise.
51         (tests): Run merge-test-results.sh
52         (xtests): Likewise.
54         * Makeconfig (test-xfail-name): New variable.
55         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
56         compute variable name for expected failures.
57         * conform/Makefile (conformtest-headers-data): New variable.
58         (conformtest-standards): Likewise.
59         (conformtest-headers-ISO): Likewise.
60         (conformtest-headers-ISO99): Likewise.
61         (conformtest-headers-ISO11): Likewise.
62         (conformtest-headers-POSIX): Likewise.
63         (conformtest-headers-XPG3): Likewise.
64         (conformtest-headers-XPG4): Likewise.
65         (conformtest-headers-UNIX98): Likewise.
66         (conformtest-headers-XOPEN2K): Likewise.
67         (conformtest-headers-POSIX2008): Likewise.
68         (conformtest-headers-XOPEN2K8): Likewise.
69         (conformtest-header-list-base): Likewise.
70         (conformtest-header-list-tests): Likewise.
71         (conformtest-header-base): Likewise.
72         (conformtest-header-tests): Likewise.
73         (tests-special): Add $(conformtest-header-list-tests).  If
74         [$(fast-check) && !$(cross-compiling)], add
75         $(conformtest-header-tests) instead of
76         $(objpfx)run-conformtest.out.
77         (generated): Add $(conformtest-header-list-base).  If
78         [$(fast-check) && !$(cross-compiling)], add
79         $(conformtest-header-base).  Remove previous setting.
80         ($(conformtest-header-list-tests)): New target.
81         (test-xfail-run-conformtest): Remove variable.
82         ($(objpfx)run-conformtest.out): Remove target.
83         (test-xfail-ISO11/complex.h/conform): New variable.
84         (test-xfail-ISO11/stdalign.h/conform): Likewise.
85         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
86         (test-xfail-XPG3/varargs.h/conform): Likewise.
87         (test-xfail-XPG4/varargs.h/conform): Likewise.
88         (test-xfail-UNIX98/varargs.h/conform): Likewise.
89         (test-xfail-XPG4/ndbm.h/conform): Likewise.
90         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
91         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
92         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
93         (test-xfail-XPG3/fcntl.h/conform): Likewise.
94         (test-xfail-XPG3/ftw.h/conform): Likewise.
95         (test-xfail-XPG3/grp.h/conform): Likewise.
96         (test-xfail-XPG3/langinfo.h/conform): Likewise.
97         (test-xfail-XPG3/limits.h/conform): Likewise.
98         (test-xfail-XPG3/pwd.h/conform): Likewise.
99         (test-xfail-XPG3/search.h/conform): Likewise.
100         (test-xfail-XPG3/signal.h/conform): Likewise.
101         (test-xfail-XPG3/stdio.h/conform): Likewise.
102         (test-xfail-XPG3/stdlib.h/conform): Likewise.
103         (test-xfail-XPG3/string.h/conform): Likewise.
104         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
105         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
106         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
107         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
108         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
109         (test-xfail-XPG3/sys/types.h/conform): Likewise.
110         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
111         (test-xfail-XPG3/termios.h/conform): Likewise.
112         (test-xfail-XPG3/time.h/conform): Likewise.
113         (test-xfail-XPG3/unistd.h/conform): Likewise.
114         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
115         (test-xfail-XPG4/fcntl.h/conform): Likewise.
116         (test-xfail-XPG4/langinfo.h/conform): Likewise.
117         (test-xfail-XPG4/netdb.h/conform): Likewise.
118         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
119         (test-xfail-XPG4/signal.h/conform): Likewise.
120         (test-xfail-XPG4/stdio.h/conform): Likewise.
121         (test-xfail-XPG4/stdlib.h/conform): Likewise.
122         (test-xfail-XPG4/stropts.h/conform): Likewise.
123         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
124         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
125         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
126         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
127         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
128         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
129         (test-xfail-XPG4/sys/time.h/conform): Likewise.
130         (test-xfail-XPG4/sys/types.h/conform): Likewise.
131         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
132         (test-xfail-XPG4/termios.h/conform): Likewise.
133         (test-xfail-XPG4/ucontext.h/conform): Likewise.
134         (test-xfail-XPG4/unistd.h/conform): Likewise.
135         (test-xfail-XPG4/utmpx.h/conform): Likewise.
136         (test-xfail-POSIX/sched.h/conform): Likewise.
137         (test-xfail-POSIX/signal.h/conform): Likewise.
138         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
139         (test-xfail-POSIX/tar.h/conform): Likewise.
140         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
141         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
142         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
143         (test-xfail-UNIX98/netdb.h/conform): Likewise.
144         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
145         (test-xfail-UNIX98/sched.h/conform): Likewise.
146         (test-xfail-UNIX98/signal.h/conform): Likewise.
147         (test-xfail-UNIX98/stdio.h/conform): Likewise.
148         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
149         (test-xfail-UNIX98/stropts.h/conform): Likewise.
150         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
151         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
152         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
153         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
154         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
155         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
156         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
157         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
158         (test-xfail-UNIX98/unistd.h/conform): Likewise.
159         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
160         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
161         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
162         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
163         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
164         (test-xfail-XOPEN2K/math.h/conform): Likewise.
165         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
166         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
167         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
168         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
169         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
170         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
171         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
172         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
173         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
174         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
175         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
176         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
177         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
178         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
179         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
180         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
181         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
182         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
183         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
184         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
185         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
186         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
187         (test-xfail-POSIX2008/signal.h/conform): Likewise.
188         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
189         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
190         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
191         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
192         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
193         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
194         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
195         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
196         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
197         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
198         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
199         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
200         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
201         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
202         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
203         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
204         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
205         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
206         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
207         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
208         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
209         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
210         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
211         (conformtest-cc-flags): Likewise.
212         ($(conformtest-header-tests): New target.
213         * conform/check-header-lists.sh: New file.
214         * conform/run-conformtest.sh: Remove.
216         * conform/conformtest.pl: Allow ' and \ in values given for
217         constants.
218         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
219         inclusion.
220         [POSIX] (sys/types.h): Likewise.
221         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
222         inclusion.
223         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
224         inclusion.
225         * conform/data/signal.h-data (SIGIO): Remove expectation.
226         [XPG3] (SIGBUS): Do not expect.
227         [POSIX || XPG3] (SIGPOLL): Likewise.
228         [POSIX || XPG3] (SIGPROF): Likewise.
229         [POSIX || XPG3] (SIGSYS): Likewise.
230         [XPG3] (SIGTRAP): Likewise.
231         [POSIX || XPG3] (SIGURG): Likewise.
232         [POSIX || XPG3] (SIGVTALRM): Likewise.
233         [POSIX || XPG3] (SIGXCPU): Likewise.
234         [POSIX || XPG3] (SIGXFSZ): Likewise.
235         [POSIX] (SA_SIGINFO): Expect.
236         [XPG3] (siginfo_t): Do not expect type or contents.
237         [POSIX] (si_pid): Do not expect element.
238         [POSIX] (si_uid): Likewise.
239         [POSIX] (si_addr): Likewise.
240         [POSIX] (si_status): Likewise.
241         [POSIX] (si_band): Likewise.
242         [XPG4] (si_value): Likewise.
243         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
244         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
245         [POSIX || XPG3] (ILL_ILLADR): Likewise.
246         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
247         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
248         [POSIX || XPG3] (ILL_PRVREG): Likewise.
249         [POSIX || XPG3] (ILL_COPROC): Likewise.
250         [POSIX || XPG3] (ILL_BADSTK): Likewise.
251         [POSIX || XPG3] (FPE_INTDIV): Likewise.
252         [POSIX || XPG3] (FPE_INTOVF): Likewise.
253         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
254         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
255         [POSIX || XPG3] (FPE_FLTUND): Likewise.
256         [POSIX || XPG3] (FPE_FLTRES): Likewise.
257         [POSIX || XPG3] (FPE_FLTINV): Likewise.
258         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
259         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
260         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
261         [POSIX || XPG3] (BUS_ADRALN): Likewise.
262         [POSIX || XPG3] (BUS_ADRERR): Likewise.
263         [POSIX || XPG3] (BUS_OBJERR): Likewise.
264         [POSIX || XPG3] (CLD_EXITED): Likewise.
265         [POSIX || XPG3] (CLD_KILLED): Likewise.
266         [POSIX || XPG3] (CLD_DUMPED): Likewise.
267         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
268         [POSIX || XPG3] (CLD_STOPPED): Likewise.
269         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
270         [POSIX || XPG3] (POLL_IN): Likewise.
271         [POSIX || XPG3] (POLL_OUT): Likewise.
272         [POSIX || XPG3] (POLL_MSG): Likewise.
273         [POSIX || XPG3] (POLL_ERR): Likewise.
274         [POSIX || XPG3] (POLL_PRI): Likewise.
275         [POSIX || XPG3] (POLL_HUP): Likewise.
276         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
277         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
278         (SIG*): Do not allow.
279         [XPG3] (si_*): Likewise.
280         [XPG3] (SI_*): Likewise.
281         [XPG3 || XPG4] (sigev_*): Likewise.
282         [XPG3 || XPG4] (SIGEV_*): Likewise.
283         [XPG3 || XPG4] (sival_*): Likewise.
284         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
285         [POSIX || XPG3] (BUS_*): Likewise.
286         [POSIX || XPG3] (CLD_*): Likewise.
287         [POSIX || XPG3] (FPE_*): Likewise.
288         [POSIX || XPG3] (ILL_*): Likewise.
289         [POSIX || XPG3] (POLL_*): Likewise.
290         [POSIX || XPG3] (SEGV_*): Likewise.
291         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
292         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
293         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
294         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
295         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
296         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
297         Specify type and value.
298         (TVERSLEN): Likewise.
299         (REGTYPE): Likewise.
300         (AREGTYPE): Likewise.
301         (LNKTYPE): Likewise.
302         (SYMTYPE): Likewise.
303         (CHRTYPE): Likewise.
304         (BLKTYPE): Likewise.
305         (DIRTYPE): Likewise.
306         (FIFOTYPE): Likewise.
307         (CONTTYPE): Likewise.
308         (TSUID): Likewise.
309         (TSGID): Likewise.
310         (TSVTX): Likewise.
311         (TUREAD): Likewise.
312         (TUWRITE): Likewise.
313         (TUEXEC): Likewise.
314         (TGREAD): Likewise.
315         (TGWRITE): Likewise.
316         (TGEXEC): Likewise.
317         (TOREAD): Likewise.
318         (TOWRITE): Likewise.
319         (TOEXEC): Likewise.
320         [POSIX] (TSVTX): Expect constant.
322 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
324         * Makefile (tests): Change dependencies to ....
325         (tests-special): ... additions to this variable.
326         (tests): Depend on $(tests-special).
327         * Makerules (check-abi-list): New variable.
328         (check-abi): Depend on $(check-abi-list).
329         [$(subdir) = elf] (tests-special): Add
330         $(objpfx)check-abi-libc.out.
331         [$(build-shared) = yes && subdir] (tests-special): Add
332         $(check-abi-list).
333         [$(build-shared) = yes && subdir] (tests): Do not depend on
334         check-abi.
335         * Rules (tests): Depend on $(tests-special).
336         (xtests): Depend on $(xtests-special).
337         * catgets/Makefile (tests): Change dependencies to ....
338         (tests-special): ... additions to this variable.
339         * conform/Makefile (tests): Change dependencies to ....
340         (tests-special): ... additions to this variable.
341         * elf/Makefile (tests): Change dependencies to ....
342         (tests-special): ... additions to this variable.
343         * grp/Makefile (tests): Change dependencies to ....
344         (tests-special): ... additions to this variable.
345         * iconv/Makefile (xtests): Change dependencies to ....
346         (xtests-special): ... additions to this variable.
347         * iconvdata/Makefile (tests): Change dependencies to ....
348         (tests-special): ... additions to this variable.
349         * intl/Makefile (tests): Change dependencies to ....
350         (tests-special): ... additions to this variable.  Also add
351         $(objpfx)tst-gettext.out.
352         * io/Makefile (tests): Change dependencies to ....
353         (tests-special): ... additions to this variable.
354         * libio/Makefile (tests): Change dependencies to ....
355         (tests-special): ... additions to this variable.
356         * malloc/Makefile (tests): Change dependencies to ....
357         (tests-special): ... additions to this variable.
358         * misc/Makefile (tests): Change dependencies to ....
359         (tests-special): ... additions to this variable.
360         * nptl/Makefile (tests): Change dependencies to ....
361         (tests-special): ... additions to this variable.
362         * nptl_db/Makefile (tests): Change dependencies to ....
363         (tests-special): ... additions to this variable.
364         * posix/Makefile (tests): Change dependencies to ....
365         (tests-special): ... additions to this variable.
366         (xtests): Change dependencies to ....
367         (xtests-special): ... additions to this variable.
368         * resolv/Makefile (tests): Change dependencies to ....
369         (tests-special): ... additions to this variable.
370         (xtests): Change dependencies to ....
371         (xtests-special): ... additions to this variable.
372         * stdio-common/Makefile (tests): Change dependencies to ....
373         (tests-special): ... additions to this variable.
374         (do-tst-unbputc): Remove target.
375         (do-tst-printf): Likewise.
376         * stdlib/Makefile (tests): Change dependencies to ....
377         (tests-special): ... additions to this variable.
378         * string/Makefile (tests): Change dependencies to ....
379         (tests-special): ... additions to this variable.
380         * sysdeps/x86/Makefile (tests): Change dependencies to ....
381         (tests-special): ... additions to this variable.
383         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
384         whole file.
385         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
386         whole file.
387         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
388         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
390         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
391         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
392         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
393         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
394         * conform/data/libgen.h-data [XPG3]: Likewise.
395         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
396         * conform/data/ndbm.h-data [XPG3]: Likewise.
397         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
398         * conform/data/netdb.h-data [XPG3]: Likewise.
399         * conform/data/netinet/in.h-data [XPG3]: Likewise.
400         * conform/data/poll.h-data [XPG3]: Likewise.
401         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
402         * conform/data/strings.h-data [XPG3]: Likewise.
403         * conform/data/stropts.h-data [XPG3]: Likewise.
404         * conform/data/sys/mman.h-data [XPG3]: Likewise.
405         * conform/data/sys/resource.h-data [XPG3]: Likewise.
406         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
407         Likewise.
408         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
409         * conform/data/sys/time.h-data [XPG3]: Likewise.
410         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
411         * conform/data/sys/uio.h-data [XPG3]: Likewise.
412         * conform/data/sys/un.h-data [XPG3]: Likewise.
413         * conform/data/syslog.h-data [XPG3]: Likewise.
414         * conform/data/ucontext.h-data [XPG3]: Likewise.
415         * conform/data/utmpx.h-data [XPG3]: Likewise.
416         * conform/data/varargs.h-data [UNIX98]: Enable file.
418         * manual/Makefile (INSTALL_INFO): Remove variable setting.
420         * math/libm-test.inc (struct test_f_f_data): Move expected results
421         into structure for each rounding mode.
422         (struct test_ff_f_data): Likewise.
423         (struct test_ff_f_data_nexttoward): Likewise.
424         (struct test_fi_f_data): Likewise.
425         (struct test_fl_f_data): Likewise.
426         (struct test_if_f_data): Likewise.
427         (struct test_fff_f_data): Likewise.
428         (struct test_c_f_data): Likewise.
429         (struct test_f_f1_data): Likewise.
430         (struct test_fF_f1_data): Likewise.
431         (struct test_ffI_f1_data): Likewise.
432         (struct test_c_c_data): Likewise.
433         (struct test_cc_c_data): Likewise.
434         (struct test_f_i_data): Likewise.
435         (struct test_ff_i_data): Likewise.
436         (struct test_f_l_data): Likewise.
437         (struct test_f_L_data): Likewise.
438         (struct test_fFF_11_data): Likewise.
439         (RM_): New macro.
440         (RM_FE_DOWNWARD): Likewise.
441         (RM_FE_TONEAREST): Likewise.
442         (RM_FE_TOWARDZERO): Likewise.
443         (RM_FE_UPWARD): Likewise.
444         (RUN_TEST_LOOP_f_f): Update references to expected results.
445         (RUN_TEST_LOOP_2_f): Likewise.
446         (RUN_TEST_LOOP_fff_f): Likewise.
447         (RUN_TEST_LOOP_c_f): Likewise.
448         (RUN_TEST_LOOP_f_f1): Likewise.
449         (RUN_TEST_LOOP_fF_f1): Likewise.
450         (RUN_TEST_LOOP_fI_f1): Likewise.
451         (RUN_TEST_LOOP_ffI_f1): Likewise.
452         (RUN_TEST_LOOP_c_c): Likewise.
453         (RUN_TEST_LOOP_cc_c): Likewise.
454         (RUN_TEST_LOOP_f_i): Likewise.
455         (RUN_TEST_LOOP_f_i_tg): Likewise.
456         (RUN_TEST_LOOP_ff_i_tg): Likewise.
457         (RUN_TEST_LOOP_f_b): Likewise.
458         (RUN_TEST_LOOP_f_b_tg): Likewise.
459         (RUN_TEST_LOOP_f_l): Likewise.
460         (RUN_TEST_LOOP_f_L): Likewise.
461         (RUN_TEST_LOOP_fFF_11): Likewise.
462         * math/gen-libm-test.pl (parse_args): Output four copies of
463         expected results for each test.
465         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
466         (__ASSUME_UTIMES): Remove.
467         * sysdeps/unix/sysv/linux/tile/kernel-features.h
468         (__ASSUME_UTIMES): Likewise.
470         * math/gen-auto-libm-tests.c: Update comment on output format.
471         (output_for_one_input_case): Generate before-rounding and
472         after-rounding information as conditions on output flags not
473         floating-point format.
474         * math/auto-libm-test-out: Regenerated.
475         * math/gen-libm-test.pl (cond_value): New function.
476         (or_cond_value): Use cond_value.
477         (generate_testfile): Handle conditional exceptions.
479 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
481         * math/libm-test.inc (max_valid_error): New variable.
482         (init_max_error): Take new argument specifying whether function
483         results are exactly determined.  Set max_valid_error and bound
484         other variables for errors based on this argument.
485         (set_max_error): Do not record results above max_valid_error.
486         (check_float_internal): Only accept errors of up to 0.5ulps if
487         also at most max_valid_error.
488         (START): Take new argument EXACT and pass it to init_max_error.
489         (acos_test): Update call to START.
490         (acos_test_tonearest): Likewise.
491         (acos_test_towardzero): Likewise.
492         (acos_test_downward): Likewise.
493         (acos_test_upward): Likewise.
494         (acosh_test): Likewise.
495         (asin_test): Likewise.
496         (asin_test_tonearest): Likewise.
497         (asin_test_towardzero): Likewise.
498         (asin_test_downward): Likewise.
499         (asin_test_upward): Likewise.
500         (asinh_test): Likewise.
501         (atan_test): Likewise.
502         (atanh_test): Likewise.
503         (atan2_test): Likewise.
504         (cabs_test): Likewise.
505         (cacos_test): Likewise.
506         (cacosh_test): Likewise.
507         (carg_test): Likewise.
508         (casin_test): Likewise.
509         (casinh_test): Likewise.
510         (catan_test): Likewise.
511         (catanh_test): Likewise.
512         (cbrt_test): Likewise.
513         (ccos_test): Likewise.
514         (ccosh_test): Likewise.
515         (ceil_test): Likewise.
516         (cexp_test): Likewise.
517         (cimag_test): Likewise.
518         (clog_test): Likewise.
519         (clog10_test): Likewise.
520         (conj_test): Likewise.
521         (copysign_test): Likewise.
522         (cos_test): Likewise.
523         (cos_test_tonearest): Likewise.
524         (cos_test_towardzero): Likewise.
525         (cos_test_downward): Likewise.
526         (cos_test_upward): Likewise.
527         (cosh_test): Likewise.
528         (cosh_test_tonearest): Likewise.
529         (cosh_test_towardzero): Likewise.
530         (cosh_test_downward): Likewise.
531         (cosh_test_upward): Likewise.
532         (cpow_test): Likewise.
533         (cproj_test): Likewise.
534         (creal_test): Likewise.
535         (csin_test): Likewise.
536         (csinh_test): Likewise.
537         (csqrt_test): Likewise.
538         (ctan_test): Likewise.
539         (ctan_test_tonearest): Likewise.
540         (ctan_test_towardzero): Likewise.
541         (ctan_test_downward): Likewise.
542         (ctan_test_upward): Likewise.
543         (ctanh_test): Likewise.
544         (ctanh_test_tonearest): Likewise.
545         (ctanh_test_towardzero): Likewise.
546         (ctanh_test_downward): Likewise.
547         (ctanh_test_upward): Likewise.
548         (erf_test): Likewise.
549         (erfc_test): Likewise.
550         (exp_test): Likewise.
551         (exp_test_tonearest): Likewise.
552         (exp_test_towardzero): Likewise.
553         (exp_test_downward): Likewise.
554         (exp_test_upward): Likewise.
555         (exp10_test): Likewise.
556         (exp10_test_tonearest): Likewise.
557         (exp10_test_towardzero): Likewise.
558         (exp10_test_downward): Likewise.
559         (exp10_test_upward): Likewise.
560         (pow10_test): Likewise.
561         (exp2_test): Likewise.
562         (expm1_test): Likewise.
563         (expm1_test_tonearest): Likewise.
564         (expm1_test_towardzero): Likewise.
565         (expm1_test_downward): Likewise.
566         (expm1_test_upward): Likewise.
567         (fabs_test): Likewise.
568         (fdim_test): Likewise.
569         (floor_test): Likewise.
570         (fma_test): Likewise.
571         (fma_test_towardzero): Likewise.
572         (fma_test_downward): Likewise.
573         (fma_test_upward): Likewise.
574         (fmax_test): Likewise.
575         (fmin_test): Likewise.
576         (fmod_test): Likewise.
577         (fpclassify_test): Likewise.
578         (frexp_test): Likewise.
579         (hypot_test): Likewise.
580         (ilogb_test): Likewise.
581         (isfinite_test): Likewise.
582         (finite_test): Likewise.
583         (isgreater_test): Likewise.
584         (isgreaterequal_test): Likewise.
585         (isinf_test): Likewise.
586         (isless_test): Likewise.
587         (islessequal_test): Likewise.
588         (islessgreater_test): Likewise.
589         (isnan_test): Likewise.
590         (isnormal_test): Likewise.
591         (issignaling_test): Likewise.
592         (isunordered_test): Likewise.
593         (j0_test): Likewise.
594         (j1_test): Likewise.
595         (jn_test): Likewise.
596         (ldexp_test): Likewise.
597         (lgamma_test): Likewise.
598         (gamma_test): Likewise.
599         (lrint_test): Likewise.
600         (lrint_test_tonearest): Likewise.
601         (lrint_test_towardzero): Likewise.
602         (lrint_test_downward): Likewise.
603         (lrint_test_upward): Likewise.
604         (llrint_test): Likewise.
605         (llrint_test_tonearest): Likewise.
606         (llrint_test_towardzero): Likewise.
607         (llrint_test_downward): Likewise.
608         (llrint_test_upward): Likewise.
609         (log_test): Likewise.
610         (log10_test): Likewise.
611         (log1p_test): Likewise.
612         (log2_test): Likewise.
613         (logb_test): Likewise.
614         (logb_test_downward): Likewise.
615         (lround_test): Likewise.
616         (llround_test): Likewise.
617         (modf_test): Likewise.
618         (nearbyint_test): Likewise.
619         (nextafter_test): Likewise.
620         (nexttoward_test): Likewise.
621         (pow_test): Likewise.
622         (pow_test_tonearest): Likewise.
623         (pow_test_towardzero): Likewise.
624         (pow_test_downward): Likewise.
625         (pow_test_upward): Likewise.
626         (remainder_test): Likewise.
627         (drem_test): Likewise.
628         (remainder_test_tonearest): Likewise.
629         (drem_test_tonearest): Likewise.
630         (remainder_test_towardzero): Likewise.
631         (drem_test_towardzero): Likewise.
632         (remainder_test_downward): Likewise.
633         (drem_test_downward): Likewise.
634         (remainder_test_upward): Likewise.
635         (drem_test_upward): Likewise.
636         (remquo_test): Likewise.
637         (rint_test): Likewise.
638         (rint_test_tonearest): Likewise.
639         (rint_test_towardzero): Likewise.
640         (rint_test_downward): Likewise.
641         (rint_test_upward): Likewise.
642         (round_test): Likewise.
643         (scalb_test): Likewise.
644         (scalbn_test): Likewise.
645         (scalbln_test): Likewise.
646         (signbit_test): Likewise.
647         (sin_test): Likewise.
648         (sin_test_tonearest): Likewise.
649         (sin_test_towardzero): Likewise.
650         (sin_test_downward): Likewise.
651         (sin_test_upward): Likewise.
652         (sincos_test): Likewise.
653         (sinh_test): Likewise.
654         (sinh_test_tonearest): Likewise.
655         (sinh_test_towardzero): Likewise.
656         (sinh_test_downward): Likewise.
657         (sinh_test_upward): Likewise.
658         (sqrt_test): Likewise.
659         (sqrt_test_tonearest): Likewise.
660         (sqrt_test_towardzero): Likewise.
661         (sqrt_test_downward): Likewise.
662         (sqrt_test_upward): Likewise.
663         (tan_test): Likewise.
664         (tan_test_tonearest): Likewise.
665         (tan_test_towardzero): Likewise.
666         (tan_test_downward): Likewise.
667         (tan_test_upward): Likewise.
668         (tanh_test): Likewise.
669         (tgamma_test): Likewise.
670         (trunc_test): Likewise.
671         (y0_test): Likewise.
672         (y1_test): Likewise.
673         (yn_test): Likewise.
674         (significand_test): Likewise.
676         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
677         individual tests in comment.
678         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
679         (prev_max_error): New variable.
680         (prev_real_max_error): Likewise.
681         (prev_imag_max_error): Likewise.
682         (compare_ulp_data): Don't refer to test names in comment.
683         (find_test_ulps): Remove function.
684         (find_function_ulps): Likewise.
685         (find_complex_function_ulps): Likewise.
686         (init_max_error): Take function name as argument.  Look up ulps
687         for that function.
688         (print_ulps): Remove function.
689         (print_max_error): Use prev_max_error instead of calling
690         find_function_ulps.
691         (print_complex_max_error): Use prev_real_max_error and
692         prev_imag_max_error instead of calling find_complex_function_ulps.
693         (check_float_internal): Take max_ulp parameter instead of calling
694         find_test_ulps.  Don't call print_ulps.
695         (check_float): Update call to check_float_internal.
696         (check_complex): Update calls to check_float_internal.
697         (START): Pass argument to init_max_error.
698         * math/gen-libm-test.pl (%results): Don't include "kind"
699         information.
700         (parse_ulps): Don't handle ulps of individual tests.
701         (print_ulps_file): Likewise.
702         (output_ulps): Likewise.
703         * math/README.libm-test: Update.
704         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
705         individual tests.
706         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
707         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
708         * sysdeps/arm/libm-test-ulps: Likewise.
709         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
710         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
711         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
712         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
713         * sysdeps/microblaze/libm-test-ulps: Likewise.
714         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
715         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
716         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
717         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
718         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
719         * sysdeps/sh/libm-test-ulps: Likewise.
720         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
721         * sysdeps/tile/libm-test-ulps: Likewise.
722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
726         * math/libm-test.inc (print_complex_max_error): Check separately
727         whether real and imaginary errors are within allowed range and
728         pass 0 to print_complex_function_ulps instead of value within
729         allowed range.
731 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
733         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
734         formatting.
735         (get_handles_fopen): Likewise.
736         (do_write_test): Likewise.
738         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
740         * libio/fileops.c (do_ftell): Use cached offset when
741         available.
742         * libio/iofwide.c (do_ftell_wide): Likewise.
743         * libio/iofdopen.c (_IO_new_fdopen): Don't use
744         _IO_file_attach.
745         * libio/wfileops.c (_IO_fwide): Don't cache offset.
747         [BZ #16532]
748         * libio/libioP.h (get_file_offset): New function.
749         * libio/fileops.c (get_file_offset): Likewise.
750         (do_ftell): Likewise.
751         (_IO_new_file_seekoff): Split out ftell logic.
752         * libio/wfileops.c (do_ftell_wide): Likewise.
753         (_IO_wfile_seekoff): Split out ftell logic.
754         * libio/tst-ftell-active-handler.c: New test case.
755         * libio/Makefile (tests): Add it.
757 2014-03-03  Roland McGrath  <roland@hack.frob.com>
759         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
760         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
762 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
764         [BZ #16639]
765         * nscd/connections.c (nscd_init): Call do_exit.
766         (start_threads): Call do_exit and notify_parent.
767         (begin_drop_privileges): Call do_exit.
768         (finish_drop_privileges): Likewise.
769         * nscd/selinux.c (preserve_capabilities): Likewise.
770         (install_real_capabilities): Likewise.
771         (nscd_selinux_enabled): Likewise.
772         (avc_create_thread): Likewise.
773         (avc_alloc_lock): Likewise.
774         (nscd_avc_init): Likewise.
775         * nscd/nscd.c (parent_fd): New static variable.
776         (main): Create a pipe between parent and child processes.
777         Skip closing parent_fd.
778         (monitor_child): New function.
779         (do_exit): Likewise.
780         (notify_parent): Likewise.
781         * nscd/nscd.h (notify_parent): Likewise.
782         (do_exit): Likewise.
784 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
786         * malloc/malloc.c (__libc_calloc): Revert last change.
788 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
792 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
794         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
796         implementation.
797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
798         (__libc_ifunc_impl_list): Likewise.
799         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
800         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
801         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
802         * string/strrchr.c: Define STRRCHR.
804 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
806         * benchtest/bench-strtok.c (simple_strtok): Delete.
807         (strtok_string): Use as benchmark.
808         * string/strtok (STRTOK): New macro.
810 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
812         * manual/threads.texi: Add header and standard comments to all
813         functions.
815         * elf/dl-lookup.c (check_match): New function.
816         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
817         (do_lookup_x): Remove nested function check_match. Use non-nested
818         function check_match.
820 2014-02-28  Roland McGrath  <roland@hack.frob.com>
822         * csu/Makefile (generated, before-compile): Use += rather than =.
823         * catgets/Makefile (generated, generated-dirs): Likewise.
824         * debug/Makefile (generated): Likewise.
825         * dlfcn/Makefile (generated): Likewise.
826         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
827         * iconvdata/Makefile (before-compile, generated): Likewise.
828         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
829         * libio/Makefile (generated): Likewise.
830         * malloc/Makefile (generated): Likewise.
831         * manual/Makefile (generated, generated-dirs): Likewise.
832         * misc/Makefile (generated): Likewise.
833         * posix/Makefile (generated): Likewise.
834         * resolv/Makefile (generated): Likewise.
835         * sunrpc/Makefile (generated, generated-dirs): Likewise.
836         * timezone/Makefile (generated, generated-dirs): Likewise.
838         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
840 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
843         implementation.
844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
845         POWER8 llround ifunc implementation.
846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
847         POWER8 implementation.
848         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
849         POWER8 llround implementation.
851 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
854         implementation.
855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
856         POWER8 llrint ifunc implementation.
857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
858         POWER8 implementation.
859         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
860         POWER8 llrint implementation.
862 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
865         implementation.
866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
867         POWER8 finite ifunc implementation.
868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
869         POWER8 implementation.
870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
871         Likewise.
872         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
873         POWER8 finite implementation.
874         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
876 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
879         implementation.
880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
881         POWER8 isinf ifunc implementation.
882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
883         POWER8 implementation.
884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
885         Likewise.
886         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
887         POWER8 isinf implementation.
888         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
890 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
892         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
893         Add hwcap2 initialization.
894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
895         implementation.
896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
897         POWER8 isnan ifunc implementation.
898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
899         POWER8 implementation.
900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
901         Likewise.
902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
903         POWER8 isnan implementation.
904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
906 2014-02-27  Joey Ye  <joey.ye@arm.com>
908         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
909         (_FP_NANFRAC_Q): Set to zero.
911 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
913         [BZ #16623]
914         * math/auto-libm-test-in: New test inputs.
915         * math/auto-libm-test-out: Regenerate.
916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
917         and DA.
918         (__cos): Likewise.
919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
921 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
923         * scripts/evaluate-test.sh: Take new argument indicating whether
924         failure is expected.
925         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
926         indicating whether failure is expected.
927         * conform/Makefile (test-xfail-run-conformtest): New variable.
928         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
929         level.
930         * posix/Makefile (test-xfail-annexc): New variable.
931         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
933 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
935         * argp/Makefile: Include Makeconfig immediately after defining
936         subdir.
937         * assert/Makefile: Likewise.
938         * benchtests/Makefile: Likewise.
939         * catgets/Makefile: Likewise.
940         * conform/Makefile: Likewise.
941         * crypt/Makefile: Likewise.
942         * csu/Makefile: Likewise.
943         (all): Remove target.
944         * ctype/Makefile: Include Makeconfig immediately after defining
945         subdir.
946         * debug/Makefile: Likewise.
947         * dirent/Makefile: Likewise.
948         * dlfcn/Makefile: Likewise.
949         * gmon/Makefile: Likewise.
950         * gnulib/Makefile: Likewise.
951         * grp/Makefile: Likewise.
952         * gshadow/Makefile: Likewise.
953         * hesiod/Makefile: Likewise.
954         * hurd/Makefile: Likewise.
955         (all): Remove target.
956         * iconvdata/Makefile: Include Makeconfig immediately after
957         defining subdir.
958         * inet/Makefile: Likewise.
959         * intl/Makefile: Likewise.
960         * io/Makefile: Likewise.
961         * libio/Makefile: Likewise.
962         (all): Remove target.
963         * locale/Makefile: Include Makeconfig immediately after defining
964         subdir.
965         * login/Makefile: Likewise.
966         * mach/Makefile: Likewise.
967         (all): Remove target.
968         * malloc/Makefile: Include Makeconfig immediately after defining
969         subdir.
970         (all): Remove target.
971         * manual/Makefile: Include Makeconfig immediately after defining
972         subdir.
973         * math/Makefile: Likewise.
974         * misc/Makefile: Likewise.
975         * nis/Makefile: Likewise.
976         * nss/Makefile: Likewise.
977         * po/Makefile: Likewise.
978         (all): Remove target.
979         * posix/Makefile: Include Makeconfig immediately after defining
980         subdir.
981         * pwd/Makefile: Likewise.
982         * resolv/Makefile: Likewise.
983         * resource/Makefile: Likewise.
984         * rt/Makefile: Likewise.
985         * setjmp/Makefile: Likewise.
986         * shadow/Makefile: Likewise.
987         * signal/Makefile: Likewise.
988         * socket/Makefile: Likewise.
989         * soft-fp/Makefile: Likewise.
990         * stdio-common/Makefile: Likewise.
991         * stdlib/Makefile: Likewise.
992         * streams/Makefile: Likewise.
993         * string/Makefile: Likewise.
994         * sunrpc/Makefile: Likewise.
995         (all): Remove target.
996         * sysvipc/Makefile: Include Makeconfig immediately after defining
997         subdir.
998         * termios/Makefile: Likewise.
999         * time/Makefile: Likewise.
1000         * timezone/Makefile: Likewise.
1001         (all): Remove target.
1002         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1003         subdir.
1004         * wctype/Makefile: Likewise.
1006 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1008         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1009         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1010         (libc_feholdexcept_setround_mips): Ditto.
1011         (libc_feholdsetround): New.
1012         (libc_feholdsetroundf): New.
1013         (libc_feholdsetroundl): New.
1014         (libc_feupdateenv_test_mips): New.
1015         (libc_feupdateenv_test): New.
1016         (libc_feupdateenv_testf): New.
1017         (libc_feupdateenv_testl): New.
1018         (libc_feresetround): New.
1019         (libc_feresetroundf): New.
1020         (libc_feresetroundl): New.
1021         (libc_fetestexcept_mips): New.
1022         (libc_fetestexcept): New.
1023         (libc_fetestexceptf): New.
1024         (libc_fetestexceptl): New.
1025         (HAVE_RM_CTX): New.
1026         (libc_feholdexcept_setround_mips_ctx): New.
1027         (libc_feholdexcept_setround_ctx): New.
1028         (libc_feholdexcept_setroundf_ctx): New.
1029         (libc_feholdexcept_setroundl_ctx): New.
1030         (libc_fesetenv_mips_ctx): New.
1031         (libc_fesetenv_ctx): New.
1032         (libc_fesetenv_ctxf): New.
1033         (libc_fesetenv_ctxl): New.
1034         (libc_feupdateenv_mips_ctx): New.
1035         (libc_feupdateenv_ctx): New.
1036         (libc_feupdateenvf_ctx): New.
1037         (libc_feupdateenvl_ctx): New.
1038         (libc_feholdsetround_mips_ctx): New.
1039         (libc_feholdsetround_ctx): New.
1040         (libc_feholdsetroundf_ctx): New.
1041         (libc_feholdsetroundl_ctx): New.
1042         (libc_feresetround_mips_ctx): New.
1043         (libc_feresetround_ctx): New.
1044         (libc_feresetroundf_ctx): New.
1045         (libc_feresetroundl_ctx): New.
1047 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1049         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1051         * manual/ipc.texi: New file.
1052         * manual/Makefile (chapters): Add ipc.
1053         * manual/job.texi: Add "Inter-Process Communication" to next.
1054         * manual/process.texi: Add "Inter-Process Communication" to prev.
1056 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1060 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1062         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1064         * manual/arith.texi: Fix spaces after sentences.
1065         * manual/charset.texi: Likewise.
1066         * manual/errno.texi: Likewise.
1067         * manual/install.texi: Likewise.
1068         * manual/llio.texi: Likewise.
1069         * manual/locale.texi: Likewise.
1070         * manual/maint.texi: Likewise.
1071         * manual/math.texi: Likewise.
1072         * manual/memory.texi: Likewise.
1073         * manual/message.texi: Likewise.
1074         * manual/probes.texi: Likewise.
1075         * manual/resource.texi: Likewise.
1076         * manual/signal.texi: Likewise.
1077         * manual/socket.texi: Likewise.
1078         * manual/stdio.texi: Likewise.
1079         * manual/string.texi: Likewise.
1080         * manual/time.texi: Likewise.
1081         * manual/users.texi: Likewise.
1083 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1085         [BZ #16632]
1086         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1087         _DEFAULT_SOURCE is defined.
1089 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1090             Carlos O'Donell  <carlos@redhat.com>
1092         [BZ #16613]
1093         * elf/dl-tls.c (_dl_count_modids): New function.
1094         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1095         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1096         audit library and increment generation counter.
1097         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1098         * elf/tst-audit9.c: New file.
1099         * elf/tst-auditmod9a.c: New file.
1100         * elf/tst-auditmod9b.c: New file.
1101         * elf/Makefile: Add rules to build and run tst-audit9.
1103 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1105         [BZ #15347]
1106         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1108 2014-02-25  Will Newton  <will.newton@linaro.org>
1110         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1111         (__longjmp): Restore sp and lr before restoring callee
1112         saved registers.  Add longjmp and longjmp_target
1113         SystemTap probe point.
1114         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1115         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1116         Define to zero to match jmpbuf layout.
1117         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1118         (__sigsetjmp): Save sp and lr before saving callee
1119         saved registers.  Add setjmp SystemTap probe point.
1121 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1125 2014-02-24  Andreas Schwab  <schwab@suse.de>
1127         [BZ #15804]
1128         * elf/pldd.c (wait_for_ptrace_stop): New function.
1129         (main): Call it after attaching.
1131 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1133         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1134         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1135         Versions files is now verboten.
1136         * hurd/Versions (libc: GLIBC_2.0):
1137         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1138         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1139         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1140         * mach/Versions: Likewise.
1142         * csu/Versions: Remove unused %include.
1143         * resolv/Versions: Likewise.
1145 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1147         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1148         ($(objpfx)check-local-headers.out): Likewise.
1149         ($(objpfx)begin-end-check.out): Likewise.
1150         * Makerules (check-abi-%.out): Likewise.
1151         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1152         ($(objpfx)test2.cat): Likewise.
1153         ($(objpfx)de/libc.cat): Likewise.
1154         ($(objpfx)test-gencat.out): Likewise.
1155         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1156         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1157         ($(objpfx)noload-mem): Likewise.
1158         ($(objpfx)tst-pathopt.out): Likewise.
1159         ($(objpfx)tst-rtld-load-self.out): Likewise.
1160         ($(objpfx)tst-array1-cmp.out): Likewise.
1161         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1162         ($(objpfx)tst-array2-cmp.out): Likewise.
1163         ($(objpfx)tst-array3-cmp.out): Likewise.
1164         ($(objpfx)tst-array4-cmp.out): Likewise.
1165         ($(objpfx)tst-array5-cmp.out): Likewise.
1166         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1167         ($(objpfx)check-textrel.out): Likewise.
1168         ($(objpfx)check-execstack.out): Likewise.
1169         ($(objpfx)check-localplt.out): Likewise.
1170         ($(objpfx)order2-cmp.out): Likewise.
1171         ($(objpfx)tst-leaks1-mem): Likewise.
1172         ($(objpfx)tst-leaks1-static-mem): Likewise.
1173         ($(objpfx)tst-initorder-cmp.out): Likewise.
1174         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1175         ($(objpfx)tst-unused-dep.out): Likewise.
1176         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1177         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1178         * iconv/Makefile (test-iconvconfig): Likewise.
1179         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1180         ($(objpfx)iconv-test.out): Likewise.
1181         ($(objpfx)tst-tables.out): Likewise.
1182         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1183         ($(objpfx)tst-gettext.out): Likewise.
1184         ($(objpfx)tst-translit.out): Likewise.
1185         ($(objpfx)tst-gettext2.out): Likewise.
1186         ($(objpfx)tst-gettext4.out): Likewise.
1187         ($(objpfx)tst-gettext6.out): Likewise.
1188         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1189         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1190         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1191         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1193         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1194         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1195         ($(objpfx)wordexp-tst.out): Likewise.
1196         ($(objpfx)annexc.out): Likewise.
1197         ($(objpfx)tst-fnmatch-mem): Likewise.
1198         ($(objpfx)bug-regex2-mem): Likewise.
1199         ($(objpfx)bug-regex14-mem): Likewise.
1200         ($(objpfx)bug-regex21-mem): Likewise.
1201         ($(objpfx)bug-regex31-mem): Likewise.
1202         ($(objpfx)tst-vfork3-mem): Likewise.
1203         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1204         ($(objpfx)tst-pcre-mem): Likewise.
1205         ($(objpfx)tst-boost-mem): Likewise.
1206         ($(objpfx)tst-getconf.out): Likewise.
1207         ($(objpfx)bug-ga2-mem): Likewise.
1208         ($(objpfx)bug-glob2-mem): Likewise.
1209         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1210         ($(objpfx)mtrace-tst-leaks2): Likewise.
1211         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1212         ($(objpfx)tst-printf.out): Likewise.
1213         ($(objpfx)tst-setvbuf1.out): Likewise.
1214         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1215         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1216         ($(objpfx)tst-fmtmsg.out): Likewise.
1217         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1218         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1220         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1221         * bits/sigaction.h [__USE_MISC]: Likewise.
1222         * bits/waitstatus.h: Update #endif comments.
1223         * ctype/ctype.h: Likewise.
1224         * dirent/dirent.h: Likewise.
1225         [__USE_MISC]: Remove redundant conditionals.
1226         * grp/grp.h: Update #endif comments.
1227         [__USE_GNU]: Remove redundant conditionals.
1228         [__USE_MISC]: Likewise.
1229         * inet/netinet/in.h [__USE_GNU]: Likewise.
1230         * io/sys/stat.h [__USE_MISC]: Likewise.
1231         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1232         * libio/bits/stdio.h: Update #endif comments.
1233         [__USE_MISC]: Remove redundant conditionals.
1234         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1235         * libio/stdio.h: Update #endif comments.
1236         [__USE_MISC]: Remove redundant conditionals.
1237         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1238         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1239         * math/math.h: Update #else and #endif comments.
1240         [__USE_MISC]: Remove redundant conditionals.
1241         * misc/sys/uio.h: Update #endif comments.
1242         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1243         * posix/glob.h [__USE_MISC]: Likewise.
1244         * posix/sys/types.h: Update #endif comments.
1245         [__USE_MISC]: Remove redundant conditionals.
1246         * posix/sys/wait.h: Update #endif comments.
1247         [__USE_MISC]: Remove redundant conditionals.
1248         * posix/unistd.h: Update #endif comments.
1249         [__USE_MISC]: Remove redundant conditionals.
1250         * pwd/pwd.h [__USE_GNU]: Likewise.
1251         [__USE_MISC]: Likewise.
1252         * resolv/netdb.h [__USE_GNU]: Likewise.
1253         * signal/signal.h: Update #endif comments.
1254         [__USE_MISC]: Remove redundant conditionals.
1255         * stdlib/stdlib.h: Update #else and #endif comments.
1256         [__USE_MISC]: Remove redundant conditionals.
1257         [__USE_GNU]: Likewise.
1258         * string/bits/string2.h [__USE_MISC]: Likewise.
1259         * string/string.h: Update #endif comments.
1260         [__USE_MISC]: Remove redundant conditionals.
1261         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1262         Likewise.
1263         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1264         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1265         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1266         Likewise.
1267         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1268         Likewise.
1269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1270         comments.
1271         [__USE_MISC]: Remove redundant conditionals.
1272         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1273         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1274         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1275         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1276         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1277         Likewise.
1278         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1279         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1282         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1283         Likewise.
1284         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1285         Likewise.
1286         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1287         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1288         Likewise.
1289         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1290         Likewise.
1291         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1292         * sysdeps/x86/bits/string.h: Update #endif comments.
1293         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1294         conditionals.
1295         * time/sys/time.h: Update #endif comments.
1296         * time/time.h: Likewise.
1297         [__USE_MISC]: Remove redundant conditionals.
1299 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1301         [BZ #16600]
1302         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1304 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1306         * Versions.def (librt): Add GLIBC_2.17.
1308 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1310         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1311         synonym for _SYS_AUXV_H to allow direct inclusion.
1312         * sysdeps/sparc/bits/hwcap.h: Likewise.
1313         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1314         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1315         * sysdeps/sparc/sysdep.h: Likewise.
1317 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1319         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1321 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1323         * benchtests/bench-strrchr.c: Print length instead of position.
1325 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #16611]
1328         * sysdeps/unix/sysv/linux/kernel-features.h
1329         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1330         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1331         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1332         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1333         Likewise.
1334         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1335         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1336         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1337         (__ASSUME_SENDMMSG): Define instead of using previous
1338         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1339         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1340         (__ASSUME_SENDMMSG_SYSCALL): Define.
1341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1342         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1345         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1346         Likewise.
1347         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1348         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1351         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1352         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1353         [__ASSUME_SENDMMSG]: Change conditionals to
1354         [__ASSUME_SENDMMSG_SOCKETCALL].
1355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1356         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1357         Define.
1358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1359         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1360         Likewise.
1361         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1362         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1363         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1364         [!__ASSUME_SENDMMSG]: Change conditional to
1365         [!__ASSUME_SENDMMSG_SOCKETCALL].
1366         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1368         Define.
1370         [BZ #16610]
1371         * sysdeps/unix/sysv/linux/kernel-features.h
1372         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1373         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1374         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1375         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1376         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1377         [__i386__ || __sparc__]
1378         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1379         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1380         (__ASSUME_RECVMMSG): Define instead of using previous
1381         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1382         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1383         (__ASSUME_RECVMMSG_SYSCALL): Define.
1384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1385         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1388         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1389         Likewise.
1390         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1392         Likewise.
1393         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1394         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1395         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1396         [__ASSUME_RECVMMSG]: Change condition to
1397         [__ASSUME_RECVMMSG_SOCKETCALL].
1398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1399         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1400         Define.
1401         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1403         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1404         Likewise.
1405         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1406         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1407         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1408         [!__ASSUME_RECVMMSG]: Change condition to
1409         [!__ASSUME_RECVMMSG_SOCKETCALL].
1410         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1411         (__ASSUME_RECVMMSG_SYSCALL): Define.
1413         [BZ #16609]
1414         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1415         __powerpc__ || __s390__ || __sh__ || __sparc__]
1416         (__ASSUME_SOCKETCALL): Define.
1417         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1418         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1419         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1420         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1421         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1422         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1423         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1424         (__ASSUME_ACCEPT4): Define instead of using previous
1425         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1426         __powerpc__ || __sparc__ || __s390__)] condition.
1427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1428         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1429         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1430         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1431         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1432         [!__ASSUME_ACCEPT4]: Change condition to
1433         [!__ASSUME_ACCEPT4_SOCKETCALL].
1434         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1435         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
1436         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1437         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1438         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1439         __ASSUME_ACCEPT4_SYSCALL.
1440         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1441         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1442         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1443         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
1444         __ASSUME_ACCEPT4_SYSCALL.
1445         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
1446         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1447         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1448         [__ASSUME_ACCEPT4]: Change condition to
1449         [__ASSUME_ACCEPT4_SOCKETCALL].
1450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1451         (__ASSUME_SOCKETCALL): Define.
1452         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
1453         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1454         (__ASSUME_SOCKETCALL): Define.
1455         (__ASSUME_ACCEPT4): Remove.
1456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
1457         Define.
1458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1459         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
1460         Likewise.
1461         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1462         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1464         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
1465         macro.
1466         (HWCAP_ARM_LPAE): Likewise.
1467         (HWCAP_ARM_EVTSTRM): Likewise.
1468         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
1469         Add vpfd32, lpae and evtstrm.
1470         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1471         Increase to 22.
1473 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
1475         * math/auto-libm-test-in: Add tests of clog10.
1476         * math/auto-libm-test-out: Regenerated.
1477         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
1478         * sysdeps/i386/fpu/libm-test-ulps: Update.
1479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481 2014-02-18  Andreas Schwab  <schwab@suse.de>
1483         [BZ #16574]
1484         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
1485         Store non-zero if the second buffer was newly allocated.
1486         (send_dg): Likewise.
1487         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
1488         to send_vc and send_dg.
1489         (res_nsend): Pass NULL for ansp2_malloced.
1490         * resolv/res_query.c (__libc_res_nquery): Add parameter
1491         answerp2_malloced and pass it down to __libc_res_nsend.
1492         (res_nquery): Pass additional NULL to __libc_res_nquery.
1493         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
1494         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
1495         second answer buffer if answerp2_malloced was set.
1496         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
1497         (__libc_res_nquerydomain): Add parameter
1498         answerp2_malloced and pass it down to __libc_res_nquery.
1499         (res_nquerydomain): Pass additional NULL to
1500         __libc_res_nquerydomain.
1501         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
1502         additional NULL to __libc_res_nsend and __libc_res_nquery.
1503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
1504         additional NULL to __libc_res_nsearch.
1505         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
1506         parameter of __libc_res_nsearch to check for separately allocated
1507         second buffer.
1508         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
1509         __libc_res_nquery.
1510         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
1511         additional NULL to __libc_res_nquery.
1512         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
1513         __libc_res_nsearch.
1514         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
1515         * include/resolv.h: Update prototypes of __libc_res_nquery,
1516         __libc_res_nsearch, __libc_res_nsend.
1518 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
1520         * math/auto-libm-test-in: Add tests of fma.
1521         * math/auto-libm-test-out: Regenerated.
1522         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
1523         (fma_towardzero_test_data): Likewise.
1524         (fma_downward_test_data): Likewise.
1525         (fma_upward_test_data): Likewise.
1526         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
1527         mpc_mode.
1528         (rounding_modes): Add values for new field.
1529         (func_calc_method): Add value mpfr_fff_f.
1530         (func_calc_desc): Add mpfr_fff_f union field.
1531         (test_function): Add field exact_args.
1532         (FUNC): Add macro argument EXACT_ARGS.
1533         (FUNC_mpfr_f_f): Update call to FUNC.
1534         (FUNC_mpfr_f_f): Likewise.
1535         (FUNC_mpfr_ff_f): Likewise.
1536         (FUNC_mpfr_if_f): Likewise.
1537         (FUNC_mpc_c_f): Likewise.
1538         (FUNC_mpc_c_c): Likewise.
1539         (test_functions): Add fma.  Update calls to FUNC.
1540         (handle_input_arg): Add argument exact_args.
1541         (add_test): Update call to handle_input_arg.
1542         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
1543         (output_for_one_input_case): Update call to calc_generic_results.
1544         Recalculate exact zero results in each rounding mode.
1546         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
1547         non-negative before setting low bit.
1548         * math/auto-libm-test-in: Mark one asin test possibly having
1549         spurious underflow.
1550         * math/auto-libm-test-out: Regenerated.
1551         * sysdeps/i386/fpu/libm-test-ulps: Update.
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1554 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
1556         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
1557         * sysdeps/unix/sysv/linux/microblaze: Move directory from
1558         ports/sysdeps/unix/sysv/linux/microblaze.
1559         * README: Add missing listing for microblaze*-*-linux-gnu.
1561 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
1563         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
1564         * sysdeps/unix/sysv/linux/ia64: Move directory from
1565         ports/sysdeps/unix/sysv/linux/ia64.
1566         * README: Update listing for ia64-*-linux-gnu.
1568 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
1569             Joseph Myers  <joseph@codesourcery.com>
1571         * Makeconfig (test-name): New variable.
1572         (evaluate-test): Likewise.
1573         * Makerules (do-test-clean): Remove .test-result files.
1574         (common-mostlyclean): Likewise.
1575         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
1576         * scripts/evaluate-test.sh: New file.
1578 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
1580         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
1581         separate $(objpfx)tst-fopenloc-cmp.out and
1582         $(objpfx)tst-fopenloc-mem.out targets.
1583         (tests): Update dependencies.
1584         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
1585         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
1586         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
1587         (tst-rxspencer-no-utf8-ARGS): New variable.
1588         (tst-rxspencer-no-utf8-ENV): Likewise.
1589         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
1590         instead of $(objpfx)tst-rxspencer-mem.
1591         ($(objpfx)tst-rxspencer-mem): Change target to
1592         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
1593         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
1594         * posix/tst-rxspencer-no-utf8.c: New file.
1596         * elf/Makefile ($(objpfx)order.out): Remove rule.
1597         [$(run-built-tests) = yes] (tests): Depend on
1598         $(objpfx)order-cmp.out.
1599         ($(objpfx)order-cmp.out): New rule.
1600         [$(run-built-tests) = yes] (tests): Depend on
1601         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
1602         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
1603         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
1604         $(objpfx)tst-array5-static-cmp.out.
1605         ($(objpfx)tst-array1.out): Remove rule.
1606         ($(objpfx)tst-array1-cmp.out): New rule.
1607         ($(objpfx)tst-array1-static.out): Remove rule.
1608         ($(objpfx)tst-array1-static-cmp.out): New rule.
1609         ($(objpfx)tst-array2.out): Remove rule.
1610         ($(objpfx)tst-array2-cmp.out): New rule.
1611         ($(objpfx)tst-array3.out): Remove rule.
1612         ($(objpfx)tst-array3-cmp.out): New rule.
1613         ($(objpfx)tst-array4.out): Remove rule.
1614         ($(objpfx)tst-array4-cmp.out): New rule.
1615         ($(objpfx)tst-array5.out): Remove rule.
1616         ($(objpfx)tst-array5-cmp.out): New rule.
1617         ($(objpfx)tst-array5-static.out): Remove rule.
1618         ($(objpfx)tst-array5-static-cmp.out): New rule.
1619         [$(run-built-tests) = yes] (tests): Depend on
1620         $(objpfx)order2-cmp.out.
1621         ($(objpfx)order2.out): Remove rule.
1622         ($(objpfx)order2-cmp.out): New rule.
1623         ($(objpfx)tst-initorder.out): Remove rule.
1624         [$(run-built-tests) = yes] (tests): Depend on
1625         $(objpfx)tst-initorder-cmp.out.
1626         ($(objpfx)tst-initorder-cmp.out): New rule.
1627         ($(objpfx)tst-initorder2.out): Remove rule.
1628         [$(run-built-tests) = yes] (tests): Depend on
1629         $(objpfx)tst-initorder2-cmp.out.
1630         ($(objpfx)tst-initorder2-cmp.out): New rule.
1631         [$(run-built-tests) = yes] (tests): Depend on
1632         $(objpfx)tst-unused-dep-cmp.out.
1633         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
1634         ($(objpfx)tst-unused-dep-cmp.out): New rule.
1635         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
1636         on $(objpfx)tst-setvbuf1-cmp.out.
1637         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
1638         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
1639         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
1640         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
1641         ($(objpfx)tst-svc.out): Remove rule.
1642         ($(objpfx)tst-svc-cmp.out): New rule.
1644 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
1646         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
1647         * ctype/ctype.h [__USE_MISC]: Likewise.
1648         * dirent/dirent.h [__USE_MISC]: Likewise.
1649         * grp/grp.h [__USE_MISC]: Likewise.
1650         * io/fcntl.h [__USE_MISC]: Likewise.
1651         * io/sys/stat.h [__USE_MISC]: Likewise.
1652         * libio/stdio.h [__USE_MISC]: Likewise.
1653         * posix/unistd.h [__USE_MISC]: Likewise.
1654         * pwd/pwd.h [__USE_MISC]: Likewise.
1655         * stdlib.h [__USE_MISC]: Likewise.
1656         * string/bits/string2.h [__USE_MISC]: Likewise.
1657         * string/string.h [__USE_MISC]: Likewise.
1658         * time/time.h [__USE_MISC]: Likewise.
1660 2014-02-13  Andreas Schwab  <schwab@suse.de>
1662         [BZ #16574]
1663         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
1664         second answer buffer if it was separately allocated.
1666 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1668         * sysdeps/mips/math-tests.h: Include <features.h>.
1669         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1670         (ROUNDING_TESTS_long_double): Do not define.
1671         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1672         (EXCEPTION_TESTS_long_double): Likewise.
1673         * sysdeps/mips/mips64/libm-test-ulps: Update.
1675         * include/features.h (__USE_BSD): Remove macro definitions.
1676         (__USE_SVID): Likewise.
1677         (_BSD_SOURCE): Likewise.
1678         (_SVID_SOURCE): Likewise.
1679         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1680         from definition of _DEFAULT_SOURCE.
1681         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1682         [_DEFAULT_SOURCE].
1683         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1684         * bits/mman.h [__USE_BSD]: Likewise.
1685         * bits/termios.h [__USE_BSD]: Likewise.
1686         * bits/waitstatus.h [__USE_BSD]: Likewise.
1687         * ctype/ctype.h [__USE_SVID]: Likewise.
1688         * dirent/dirent.h [__USE_BSD]: Likewise.
1689         * grp/grp.h [__USE_SVID]: Likewise.
1690         [__USE_BSD]: Likewise.
1691         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1692         * io/fcntl.h [__USE_BSD]: Likewise.
1693         * io/ftw.h [__USE_BSD]: Likewise.
1694         * io/sys/stat.h [__USE_BSD]: Likewise.
1695         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1696         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1697         * libio/stdio.h [__USE_SVID]: Likewise.
1698         [__USE_BSD]: Likewise.
1699         * math/math.h [__USE_SVID]: Likewise.
1700         [__USE_BSD]: Likewise.
1701         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1702         * misc/bits/syslog.h [__USE_BSD]: Likewise.
1703         * misc/search.h [__USE_SVID]: Likewise.
1704         * misc/sys/mman.h [__USE_BSD]: Likewise.
1705         * misc/sys/syslog.h [__USE_BSD]: Likewise.
1706         * misc/sys/uio.h [__USE_BSD]: Likewise.
1707         * posix/bits/unistd.h [__USE_BSD]: Likewise.
1708         * posix/glob.h [__USE_BSD]: Likewise.
1709         * posix/regex.h [__USE_BSD]: Likewise.
1710         * posix/sys/types.h [__USE_BSD]: Likewise.
1711         [__USE_SVID]: Likewise.
1712         * posix/sys/utsname.h [__USE_SVID]: Likewise.
1713         * posix/sys/wait.h [__USE_BSD]: Likewise.
1714         [__USE_SVID]: Likewise.
1715         * posix/unistd.h [__USE_BSD]: Likewise.
1716         [__USE_SVID]: Likewise.
1717         * pwd/pwd.h [__USE_SVID]: Likewise.
1718         * resolv/netdb.h [__USE_BSD]: Likewise.
1719         * setjmp/setjmp.h [__USE_BSD]: Likewise.
1720         * signal/signal.h [__USE_BSD]: Likewise.
1721         [__USE_SVID]: Likewise.
1722         * socket/sys/socket.h [__USE_BSD]: Likewise.
1723         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1724         * stdlib/stdlib.h [__USE_BSD]: Likewise.
1725         [__USE_SVID]: Likewise.
1726         * string/bits/string2.h [__USE_BSD]: Likewise.
1727         [__USE_SVID]: Likewise.
1728         * string/bits/string3.h [__USE_BSD]: Likewise.
1729         * string/endian.h [__USE_BSD]: Likewise.
1730         * string/string.h [__USE_SVID]: Likewise.
1731         [__USE_BSD]: Likewise.
1732         * string/strings.h [__USE_BSD]: Likewise.
1733         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1734         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1735         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1736         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1737         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1738         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1739         Likewise.
1740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1741         Likewise.
1742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1743         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1744         Likewise.
1745         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1746         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1747         Likewise.
1748         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1749         Likewise.
1750         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1751         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1753         Likewise.
1754         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1755         Likewise.
1756         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1757         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1758         * termios/termios.h [__USE_BSD]: Likewise.
1759         * time/sys/time.h [__USE_BSD]: Likewise.
1760         * time/time.h [__USE_BSD]: Likewise.
1761         [__USE_SVID]: Likewise.
1763         * Makefile (subdir_targets): Remove subdir_lint.out.
1765         * stdio-common/Makefile (do-tst-unbputc): Remove target.
1766         (do-tst-printf): Likewise.
1767         (tests): Depend directly on $(objpfx)tst-unbputc.out and
1768         $(objpfx)tst-printf.out.
1770         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1772         * Makerules (check-abi-%): Change target to
1773         $(objpfx)check-abi-%.out.
1774         (check-abi target): Update dependencies.
1775         (check-abi-pattern variable): Redirect output of diff to $@.
1776         (check-abi variable): Likewise.
1777         * elf/Makefile (check-abi): Update dependencies.
1779         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1780         unused.
1781         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1782         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1783         subnormal range.
1784         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1785         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1786         value has largest subnormal exponent.
1787         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1788         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1789         * sysdeps/aarch64/soft-fp/sfp-machine.h
1790         (_FP_TININESS_AFTER_ROUNDING): New macro.
1791         * sysdeps/alpha/soft-fp/sfp-machine.h
1792         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1793         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1794         Likewise.
1795         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1796         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1797         * sysdeps/mips/soft-fp/sfp-machine.h
1798         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1799         * sysdeps/powerpc/soft-fp/sfp-machine.h
1800         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1801         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1802         Likewise.
1803         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1804         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1805         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1806         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1807         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1808         Likewise.
1810 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
1812         [BZ #16545]
1813         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1814         model 1.
1816 2014-02-12  Richard Henderson  <rth@redhat.com>
1818         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1819         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1820         * sysdeps/unix/sysv/linux/alpha: Move directory from
1821         ports/sysdeps/unix/sysv/linux/alpha.
1822         * README: Update listing for alpha-*-linux-gnu.
1824 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
1826         * include/features.h: Update comment documenting feature test
1827         macros.
1828         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
1829         _DEFAULT_SOURCE.
1830         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1831         (_SVID_SOURCE): Likewise.
1832         (_DEFAULT_SOURCE): Update description of default features.
1833         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1834         with _GNU_SOURCE.
1835         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1836         (S_ISVTX): Likewise.
1837         * manual/math.texi (Mathematical Constants): Likewise.
1838         * manual/signal.texi (Interrupted Primitives): Likewise.
1839         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1840         * math/test-matherr.c (_SVID_SOURCE): Do not define.
1841         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1842         Don't refer to _SVID_SOURCE in warning text.
1844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1846         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1847         already defined.
1848         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1849         * sysdeps/mips/dl-lookup.c: Remove.
1850         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1852 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1854         [BZ #16447]
1855         * math/auto-libm-test-in: Add testcase for expl.
1856         * math/auto-libm-test-out: Regenerate.
1857         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1858         calculation of unsafe.
1859         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1861 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1863         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1864         * sysdeps/unix/sysv/linux/aarch64: Move directory from
1865         ports/sysdeps/unix/sysv/linux/aarch64.
1866         * README: Update listing for aarch64*-*-linux-gnu.
1868 2014-02-11  Will Newton  <will.newton@linaro.org>
1870         * manual/probes.texi (Mathematical Function Probes): Use
1871         "triggered" instead of "hit".
1873 2014-02-11  Will Newton  <will.newton@linaro.org>
1875         * manual/probes.texi (Internal Probes): Add documentation
1876         of setjmp, longjmp and longjmp_target probes.
1878 2014-02-11  Will Newton  <will.newton@linaro.org>
1880         * include/stap-probe.h: Add comment about probe argument
1881         format.
1883 2014-02-11  Will Newton  <will.newton@linaro.org>
1885         * malloc/mtrace.c (attribute_hidden): Remove unused macro
1886         definition.  (tr_where, tr_freehook, tr_mallochook,
1887         tr_reallochook, tr_memalignhook): Use ANSI protoype.
1889 2014-02-11  David S. Miller  <davem@davemloft.net>
1891         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1892         processing int_tests.
1894 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
1896         * sysdeps/mips: Move directory from ports/sysdeps/mips.
1897         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1898         * sysdeps/unix/sysv/linux/mips: Move directory from
1899         ports/sysdeps/unix/sysv/linux/mips.
1900         * README: Update listing for mips-*-linux-gnu and
1901         mips64-*-linux-gnu.
1903 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
1905         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1906         * sysdeps/unix/sysv/linux/m68k: Move directory from
1907         ports/sysdeps/unix/sysv/linux/m68k.
1908         * README: Update listing for m68k-*-linux-gnu.
1910 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
1912         * sysdeps/tile: Move directory from ports/sysdeps/tile.
1913         * sysdeps/unix/sysv/linux/generic: Move directory from
1914         ports/sysdeps/unix/sysv/linux/generic.
1915         * sysdeps/unix/sysv/linux/tile: Move directory from
1916         ports/sysdeps/unix/sysv/linux/tile.
1917         * README: Update listing for tile*-*-linux-gnu.
1919 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1921         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1922         * benchtests/bench-memmem.c (simple_memmem): Likewise.
1923         * catgets/open_catalog.c (__open_catalog): Likewise.
1924         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1925         * debug/confstr_chk.c: Likewise.
1926         * debug/fread_chk.c (__fread_chk): Likewise.
1927         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1928         * debug/getgroups_chk.c: Likewise.
1929         * debug/mbsnrtowcs_chk.c: Likewise.
1930         * debug/mbsrtowcs_chk.c: Likewise.
1931         * debug/mbstowcs_chk.c: Likewise.
1932         * debug/memcpy_chk.c: Likewise.
1933         * debug/memmove_chk.c: Likewise.
1934         * debug/mempcpy_chk.c: Likewise.
1935         * debug/memset_chk.c: Likewise.
1936         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1937         * debug/strcat_chk.c (__strcat_chk): Likewise.
1938         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1939         * debug/strncat_chk.c (__strncat_chk): Likewise.
1940         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1941         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1942         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1943         * debug/wcpncpy_chk.c: Likewise.
1944         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1945         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1946         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1947         * debug/wcsncpy_chk.c: Likewise.
1948         * debug/wcsnrtombs_chk.c: Likewise.
1949         * debug/wcsrtombs_chk.c: Likewise.
1950         * debug/wcstombs_chk.c: Likewise.
1951         * debug/wmemcpy_chk.c: Likewise.
1952         * debug/wmemmove_chk.c: Likewise.
1953         * debug/wmempcpy_chk.c: Likewise.
1954         * debug/wmemset_chk.c: Likewise.
1955         * dirent/scandirat.c (SCANDIRAT): Likewise.
1956         * dlfcn/dladdr1.c (dladdr1): Likewise.
1957         * dlfcn/dladdr.c (dladdr): Likewise.
1958         * dlfcn/dlclose.c (dlclose_doit): Likewise.
1959         * dlfcn/dlerror.c (__dlerror): Likewise.
1960         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1961         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1962         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1963         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1964         * dlfcn/dlsym.c (dlsym_doit): Likewise.
1965         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1966         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1967         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1968         Likewise.
1969         * elf/dl-conflict.c: Likewise.
1970         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1971         * elf/dl-dst.h: Likewise.
1972         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1973         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1974         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1975         * elf/dl-init.c (call_init, _dl_init): Likewise.
1976         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1977         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1978         _dl_map_object_from_fd, open_verify, open_path,
1979         _dl_map_object): Likewise.
1980         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1981         Likewise.
1982         * elf/dl-minimal.c (__libc_memalign): Likewise.
1983         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1984         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1985         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1986         * elf/dl-sym.c (do_sym): Likewise.
1987         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1988         _dl_tls_get_addr_soft): Likewise.
1989         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1990         * elf/dl-writev.h (_dl_writev): Likewise.
1991         * elf/ldconfig.c (search_dir): Likewise.
1992         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1993         dl_main): Likewise.
1994         * elf/setup-vdso.h (setup_vdso): Likewise.
1995         * grp/compat-initgroups.c (compat_call): Likewise.
1996         * grp/fgetgrent.c (fgetgrent): Likewise.
1997         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1998         * grp/putgrent.c (putgrent): Likewise.
1999         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2000         Likewise.
2001         * hurd/hurdinit.c: Likewise.
2002         * iconvdata/8bit-gap.c (struct): Likewise.
2003         * iconvdata/ansi_x3.110.c : Likewise.
2004         * iconvdata/big5.c : Likewise.
2005         * iconvdata/big5hkscs.c : Likewise.
2006         * iconvdata/cp1255.c: Likewise.
2007         * iconvdata/cp1258.c : Likewise.
2008         * iconvdata/cp932.c : Likewise.
2009         * iconvdata/euc-cn.c: Likewise.
2010         * iconvdata/euc-jisx0213.c : Likewise.
2011         * iconvdata/euc-jp.c: Likewise.
2012         * iconvdata/euc-jp-ms.c : Likewise.
2013         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2014         * iconvdata/gb18030.c : Likewise.
2015         * iconvdata/gbbig5.c (const): Likewise.
2016         * iconvdata/gbgbk.c: Likewise.
2017         * iconvdata/gbk.c : Likewise.
2018         * iconvdata/ibm1364.c : Likewise.
2019         * iconvdata/ibm930.c : Likewise.
2020         * iconvdata/ibm932.c: Likewise.
2021         * iconvdata/ibm933.c : Likewise.
2022         * iconvdata/ibm935.c : Likewise.
2023         * iconvdata/ibm937.c : Likewise.
2024         * iconvdata/ibm939.c : Likewise.
2025         * iconvdata/ibm943.c: Likewise.
2026         * iconvdata/iso_11548-1.c: Likewise.
2027         * iconvdata/iso-2022-cn.c : Likewise.
2028         * iconvdata/iso-2022-cn-ext.c : Likewise.
2029         * iconvdata/iso-2022-jp-3.c: Likewise.
2030         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2031         * iconvdata/iso-2022-kr.c : Likewise.
2032         * iconvdata/iso646.c (gconv_end): Likewise.
2033         * iconvdata/iso_6937-2.c : Likewise.
2034         * iconvdata/iso_6937.c : Likewise.
2035         * iconvdata/iso8859-1.c: Likewise.
2036         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2037         * iconvdata/shift_jisx0213.c : Likewise.
2038         * iconvdata/sjis.c : Likewise.
2039         * iconvdata/t.61.c : Likewise.
2040         * iconvdata/tcvn5712-1.c : Likewise.
2041         * iconvdata/tscii.c: Likewise.
2042         * iconvdata/uhc.c : Likewise.
2043         * iconvdata/unicode.c (gconv_end): Likewise.
2044         * iconvdata/utf-16.c (gconv_end): Likewise.
2045         * iconvdata/utf-32.c (gconv_end): Likewise.
2046         * iconvdata/utf-7.c (base64): Likewise.
2047         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2048         * iconv/gconv_close.c (__gconv_close): Likewise.
2049         * iconv/gconv_open.c (__gconv_open): Likewise.
2050         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2051         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2052         internal_ucs4le_loop_single, ucs4le_internal_loop,
2053         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2054         * iconv/iconv.c (iconv): Likewise.
2055         * iconv/iconv_close.c: Likewise.
2056         * iconv/loop.c (SINGLE): Likewise.
2057         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2058         * include/atomic.h: Likewise.
2059         * inet/inet6_option.c (option_alloc): Likewise.
2060         * intl/bindtextdom.c (set_binding_values): Likewise.
2061         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2062         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2063         * intl/localealias.c (read_alias_file): Likewise.
2064         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2065         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2066         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2067         * libio/fmemopen.c (fmemopen): Likewise.
2068         * libio/iofgets.c (_IO_fgets): Likewise.
2069         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2070         * libio/iofgetws.c (fgetws): Likewise.
2071         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2072         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2073         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2074         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2075         * locale/findlocale.c (_nl_find_locale): Likewise.
2076         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2077         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2078         Likewise.
2079         * locale/setlocale.c (setlocale): Likewise.
2080         * login/programs/pt_chown.c (main): Likewise.
2081         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2082         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2083         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2084         mmap, mmap64, mremap, munmap): Likewise.
2085         * math/e_exp2l.c: Likewise.
2086         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2087         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2088         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2089         * math/s_catan.c (__catan): Likewise.
2090         * math/s_catanf.c (__catanf): Likewise.
2091         * math/s_catanh.c (__catanh): Likewise.
2092         * math/s_catanhf.c (__catanhf): Likewise.
2093         * math/s_catanhl.c (__catanhl): Likewise.
2094         * math/s_catanl.c (__catanl): Likewise.
2095         * math/s_ccosh.c (__ccosh): Likewise.
2096         * math/s_ccoshf.c (__ccoshf): Likewise.
2097         * math/s_ccoshl.c (__ccoshl): Likewise.
2098         * math/s_cexp.c (__cexp): Likewise.
2099         * math/s_cexpf.c (__cexpf): Likewise.
2100         * math/s_cexpl.c (__cexpl): Likewise.
2101         * math/s_clog10.c (__clog10): Likewise.
2102         * math/s_clog10f.c (__clog10f): Likewise.
2103         * math/s_clog10l.c (__clog10l): Likewise.
2104         * math/s_clog.c (__clog): Likewise.
2105         * math/s_clogf.c (__clogf): Likewise.
2106         * math/s_clogl.c (__clogl): Likewise.
2107         * math/s_csin.c (__csin): Likewise.
2108         * math/s_csinf.c (__csinf): Likewise.
2109         * math/s_csinh.c (__csinh): Likewise.
2110         * math/s_csinhf.c (__csinhf): Likewise.
2111         * math/s_csinhl.c (__csinhl): Likewise.
2112         * math/s_csinl.c (__csinl): Likewise.
2113         * math/s_csqrt.c (__csqrt): Likewise.
2114         * math/s_csqrtf.c (__csqrtf): Likewise.
2115         * math/s_csqrtl.c (__csqrtl): Likewise.
2116         * math/s_ctan.c (__ctan): Likewise.
2117         * math/s_ctanf.c (__ctanf): Likewise.
2118         * math/s_ctanh.c (__ctanh): Likewise.
2119         * math/s_ctanhf.c (__ctanhf): Likewise.
2120         * math/s_ctanhl.c (__ctanhl): Likewise.
2121         * math/s_ctanl.c (__ctanl): Likewise.
2122         * math/w_pow.c: Likewise.
2123         * math/w_powf.c: Likewise.
2124         * math/w_powl.c: Likewise.
2125         * math/w_scalb.c (sysv_scalb): Likewise.
2126         * math/w_scalbf.c (sysv_scalbf): Likewise.
2127         * math/w_scalbl.c (sysv_scalbl): Likewise.
2128         * misc/error.c (error_tail): Likewise.
2129         * misc/pselect.c (__pselect): Likewise.
2130         * nis/nis_callback.c (__nis_create_callback): Likewise.
2131         * nis/nis_call.c (__nisfind_server): Likewise.
2132         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2133         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2134         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2135         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2136         * nis/nis_lookup.c (nis_lookup): Likewise.
2137         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2138         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2139         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2140         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2141         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2142         internal_getgrgid_r): Likewise.
2143         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2144         Likewise.
2145         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2146         internal_getpwuid_r): Likewise.
2147         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2148         internal_getspnam_r): Likewise.
2149         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2150         _nss_nis_getaliasbyname_r): Likewise.
2151         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2152         _nss_nis_getntohost_r): Likewise.
2153         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2154         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2155         Likewise.
2156         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2157         internal_nis_gethostent_r, internal_gethostbyname2_r,
2158         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2159         _nss_nis_gethostbyname4_r): Likewise.
2160         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2161         initgroups_netid): Likewise.
2162         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2163         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2164         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2165         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2166         _nss_nis_getprotobynumber_r): Likewise.
2167         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2168         _nss_nis_getsecretkey): Likewise.
2169         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2170         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2171         Likewise.
2172         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2173         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2174         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2175         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2176         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2177         _nss_nis_getspnam_r): Likewise.
2178         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2179         Likewise.
2180         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2181         _nss_nisplus_getntohost_r): Likewise.
2182         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2183         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2184         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2185         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2186         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2187         Likewise.
2188         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2189         _nss_nisplus_getnetbyaddr_r): Likewise.
2190         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2191         _nss_nisplus_getprotobynumber_r): Likewise.
2192         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2193         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2194         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2195         Likewise.
2196         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2197         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2198         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2199         _nss_nisplus_getspnam_r): Likewise.
2200         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2201         * nscd/aicache.c (addhstaiX): Likewise.
2202         * nscd/cache.c (cache_search, prune_cache): Likewise.
2203         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2204         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2205         * nscd/grpcache.c (addgrbyX): Likewise.
2206         * nscd/hstcache.c (addhstbyX): Likewise.
2207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2208         * nscd/mem.c (gc, mempool_alloc): Likewise.
2209         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2210         Likewise.
2211         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2212         Likewise.
2213         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2214         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2215         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2216         Likewise.
2217         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2218         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2219         * nscd/nscd_helper.c (__readvall, open_socket,
2220         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2221         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2222         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2223         * nscd/pwdcache.c (addpwbyX): Likewise.
2224         * nscd/selinux.c (preserve_capabilities): Likewise.
2225         * nscd/servicescache.c (addservbyX): Likewise.
2226         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2227         * posix/fnmatch.c (fnmatch): Likewise.
2228         * posix/getopt.c (_getopt_internal_r): Likewise.
2229         * posix/glob.c (glob, glob_in_dir): Likewise.
2230         * posix/wordexp.c (exec_comm_child): Likewise.
2231         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2232         gaih_getanswer_slice): Likewise.
2233         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2234         * resolv/res_init.c: Likewise.
2235         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2236         * resolv/res_query.c (__libc_res_nquery): Likewise.
2237         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2238         Likewise.
2239         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2240         * stdio-common/perror.c (perror): Likewise.
2241         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2242         * stdio-common/tmpnam.c (tmpnam): Likewise.
2243         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2244         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2245         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2246         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2247         * stdlib/putenv.c (putenv): Likewise.
2248         * stdlib/setenv.c (__add_to_environ): Likewise.
2249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2250         * stdlib/strtol_l.c (INTERNAL): Likewise.
2251         * string/memmem.c (memmem): Likewise.
2252         * string/strerror.c (strerror): Likewise.
2253         * string/strnlen.c (__strnlen): Likewise.
2254         * string/test-memmem.c (simple_memmem): Likewise.
2255         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2256         * sunrpc/pm_getport.c (__get_socket): Likewise.
2257         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2258         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2259         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2260         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2261         Likewise.
2262         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2263         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2264         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2265         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2266         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2267         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2268         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2269         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2270         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2271         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2272         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2273         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2275         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2276         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2277         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2278         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2279         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2280         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2281         Likewise.
2282         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2283         Likewise.
2284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2285         Likewise.
2286         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2287         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2288         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2289         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2290         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2291         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2292         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2295         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2296         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2298         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2299         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2301         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2302         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2303         Likewise.
2304         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2305         Likewise.
2306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2307         Likewise.
2308         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2309         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2310         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2311         Likewise.
2312         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2313         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2314         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2315         * sysdeps/posix/sleep.c: Likewise.
2316         * sysdeps/posix/tempname.c: Likewise.
2317         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2318         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2319         Likewise.
2320         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2321         elf_machine_rela): Likewise.
2322         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2324         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2325         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2326         Likewise.
2327         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2329         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2330         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2331         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2332         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2333         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2334         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2335         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2336         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2338         elf_machine_lazy_rel): Likewise.
2339         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2340         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2341         elf_machine_lazy_rel): Likewise.
2342         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2343         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2344         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2345         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2346         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2347         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2348         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2350         Likewise.
2351         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2352         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2353         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2354         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2355         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2356         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2357         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2358         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2359         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2360         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2361         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2362         Likewise.
2363         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2364         (__posix_fallocate64_l64): Likewise.
2365         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2366         (posix_fallocate): Likewise.
2367         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2368         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2369         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2370         getifaddrs_internal): Likewise.
2371         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2372         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2373         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2374         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2375         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2376         (__posix_fallocate64_l64): Likewise.
2377         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2380         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2381         Likewise.
2382         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2383         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2384         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2386         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2387         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2388         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2389         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2390         Likewise.
2391         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2392         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2393         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2394         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2395         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2396         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2397         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2398         Likewise.
2399         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2400         (posix_fallocate): Likewise.
2401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2402         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2403         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2404         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2405         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2406         Likewise.
2407         * time/asctime.c (asctime_internal): Likewise.
2408         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2409         * time/tzset.c (__tzset_parse_tz): Likewise.
2410         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2411         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2412         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2413         * wcsmbs/wcsmbsload.h: Likewise.
2415 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2417         [BZ #15894]
2418         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2420 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2422         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2423         arena_get2): Remove THREAD_STATS conditionals.
2424         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2425         __malloc_stats, int): Likewise.
2427 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2429         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2430         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
2432 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2434         * manual/setjmp.texi: Fix typos/grammar errors.
2436 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2438         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2439         Only return early when n is <= 0.  Delete unused return statement.
2441 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2443         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
2444         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2445         * debug/tst-longjmp_chk3.c: New file.
2447 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2449         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
2450         (test_main): Replace code with set_fortify_handler call.
2451         * debug/test-strcpy_chk.c: Likewise.
2452         * debug/tst-chk1.c: Likewise.
2453         * debug/tst-longjmp_chk.c: Likewise.
2454         * test-skeleton.c: Include fcntl.h & paths.h
2455         (set_fortify_handler): Define.
2457 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2459         * debug/tst-longjmp_chk.c: Add header comment and include
2460         ../test-skeleton.c.
2461         (do_test): Mark static.
2462         (TEST_FUNCTION): Define.
2464 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2466         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
2467         (IP_PMTUDISC_INTERFACE): Likewise.
2468         (IP_MULTICAST_IF): Likewise.
2469         (IP_MULTICAST_TTL): Likewise.
2470         (IP_MULTICAST_LOOP): Likewise.
2471         (IP_ADD_MEMBERSHIP): Likewise.
2472         (IP_DROP_MEMBERSHIP): Likewise.
2473         (IP_UNBLOCK_SOURCE): Likewise.
2474         (IP_BLOCK_SOURCE): Likewise.
2475         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
2476         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
2477         (IP_MSFILTER): Likewise.
2478         (MCAST_JOIN_GROUP): Likewise.
2479         (MCAST_BLOCK_SOURCE): Likewise.
2480         (MCAST_UNBLOCK_SOURCE): Likewise.
2481         (MCAST_LEAVE_GROUP): Likewise.
2482         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2483         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2484         (MCAST_MSFILTER): Likewise.
2485         (IP_MULTICAST_ALL): Likewise.
2486         (IP_UNICAST_IF): Likewise.
2488 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2490         * timezone/Makefile: Delete $(have-ksh) check.
2491         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
2492         * timezone/tzselect.ksh: Add +x mode bits.
2494 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2496         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
2497         (ANON_INODE_FS_MAGIC): Likewise.
2498         (BDEVFS_MAGIC): Likewise.
2499         (BINFMTFS_MAGIC): Likewise.
2500         (BTRFS_TEST_MAGIC): Likewise.
2501         (CRAMFS_MAGIC_WEND): Likewise.
2502         (DEBUGFS_MAGIC): Likewise.
2503         (ECRYPTFS_SUPER_MAGIC): Likewise.
2504         (EXT3_SUPER_MAGIC): Likewise.
2505         (EXT4_SUPER_MAGIC): Likewise.
2506         (FUTEXFS_SUPER_MAGIC): Likewise.
2507         (HOSTFS_SUPER_MAGIC): Likewise.
2508         (HUGETLBFS_MAGIC): Likewise.
2509         (MINIX3_SUPER_MAGIC): Likewise.
2510         (MTD_INODE_FS_MAGIC): Likewise.
2511         (NILFS_SUPER_MAGIC): Likewise.
2512         (OPENPROM_SUPER_MAGIC): Likewise.
2513         (PIPEFS_MAGIC): Likewise.
2514         (PSTOREFS_MAGIC): Likewise.
2515         (QNX6_SUPER_MAGIC): Likewise.
2516         (RAMFS_MAGIC): Likewise.
2517         (REISERFS_SUPER_MAGIC_STRING): Likewise.
2518         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
2519         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
2520         (SECURITYFS_MAGIC): Likewise.
2521         (SELINUX_MAGIC): Likewise.
2522         (SMACK_MAGIC): Likewise.
2523         (SOCKFS_MAGIC): Likewise.
2524         (SQUASHFS_MAGIC): Likewise.
2525         (STACK_END_MAGIC): Likewise.
2526         (TMPFS_MAGIC): Likewise.
2527         (USBDEVICE_SUPER_MAGIC): Likewise.
2528         (V9FS_MAGIC): Likewise.
2529         (XENFS_SUPER_MAGIC): Likewise.
2530         (CRAMFS_MAGIC): Fix typo in comment.
2531         (EXT2_SUPER_MAGIC): Update comment.
2532         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
2534 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
2536         * sysdeps/arm: Move directory from ports/sysdeps/arm.
2537         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
2538         * sysdeps/unix/sysv/linux/arm: Move directory from
2539         ports/sysdeps/unix/sysv/linux/arm.
2540         * README: Update listing for arm-*-linux-gnueabi.
2542         * README: Remove mention of am33.
2544 2014-02-07  Roland McGrath  <roland@hack.frob.com>
2546         * bits/sigset.h (__sigemptyset): Use a statement expression rather
2547         than the comma operator, to avoid "rhs of comma has no effect"
2548         compiler warnings.
2549         (__sigfillset, __sigandset, __sigorset): Likewise.
2550         * include/signal.h (__sigemptyset): Likewise.
2551         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
2553 2014-02-07  Allan McRae  <allan@archlinux.org>
2555         * version.h (RELEASE): Set to "development".
2556         (VERSION): Set to "2.19.90"
2557         * NEWS: Add 2.20 section.
2559 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
2561         [BZ #16529]
2562         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
2564 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2566         * manual/contrib.texi: Update entry for Carlos O'Donell,
2567         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
2569 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
2571         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
2573         * sysdeps/unix/sysv/linux/kernel-features.h
2574         [__LINUX_KERNEL_VERSION >= 0x020621]
2575         (__ASSUME_PROC_PID_TASK_COMM): Define.
2577 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2579         [BZ #16398]
2580         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
2581         conversion when destination buffer does not have enough space.
2582         * libio/tst-ftell-partial-wide.c: New test case.
2583         * libio/Makefile (tests): Add tst-ftell-partial-wide.
2585         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
2586         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
2587         Leonard and Allan McRae.
2589 2014-02-04  David S. Miller  <davem@davemloft.net>
2591         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
2592         32-bit.
2594 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
2597         file
2598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2599         New file
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
2601         file.
2602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
2603         file.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2605         New file.
2606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
2607         file.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
2609         file.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2611         New file.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2613         New file.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2615         New file.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2617         New file.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2619         New file.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2621         New file.
2623 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2625         * nptl/shlib-versions: Change powerpc*le start to 2.17.
2626         * shlib-versions: Likewise.
2628 2014-02-04  Roland McGrath  <roland@hack.frob.com>
2629             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2631         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
2632         (abilist-pattern): New variable, set to %-le.abilist.
2634         * Makerules (abilist-pattern): New variable.
2635         (vpath): Use $(abilist-pattern) in place of %.abilist.
2636         (check-abi-% pattern rule): Likewise.
2637         (check-abi, update-abi): Likewise.
2639 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2643 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2647 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
2649         * manual/startup.texi: Add next, previous, and top entries for
2650         the `Program Arguments' and `Environment Variables' nodes.
2652 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
2654         * manual/macros.texi: Add comments before MTASC-safety macros.
2656         * manual/users.texi: Document MTASC-safety properties.
2658         * manual/threads.texi (pthread_key_create, pthread_key_delete,
2659         pthread_getspecific, pthread_setspecific): Format with
2660         @deftypefun, and add @safety note.
2661         * manual/signal.texi: Move comments that analyze the above
2662         functions to their home place.
2664 2014-02-03  Allan McRae  <allan@archlinux.org>
2666         * po/sl.po: Update Slovenian translation from translation project.
2668 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
2670         * manual/time.texi (timegm): Add missing blank after @c.
2671         Reported by Joseph Myers <joseph@codesourcery.com>.
2673 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
2675         * manual/check-safety.sh: New.
2676         * manual/Makefile ($(objpfx)stamp-summary): Run it.
2678         * manual/terminal.texi: Document MTASC-safety properties.
2680         * manual/filesys.texi: Document MTASC-safety properties.
2682         * manual/errno.texi: Document MTASC-safety properties.
2684         * manual/intro.texi: Document safety identifiers and
2685         conditionals.
2687         * manual/string.texi (wcstok): Fix prototype.
2688         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2690         * manual/time.texi: Document MTASC-safety properties.
2692         * manual/string.texi: Document MTASC-safety properties.
2694         * manual/threads.texi: Document MTASC-safety properties.
2696         * manual/stdio.texi: Document MTASC-safety properties.
2698         * manual/syslog.texi: Document MTASC-safety properties.
2700         * manual/sysinfo.texi: Document MTASC-safety properties.
2702         * manual/startup.texi: Document MTASC-safety properties.
2704         * manual/socket.texi: Document MTASC-safety properties.
2706         * manual/signal.texi: Document MTASC-safety properties.
2708 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
2710         * manual/setjmp.texi: Document MTASC-safety properties.
2712         * manual/search.texi: Document MTASC-safety properties.
2714         * manual/resource.texi: Document MTASC-safety properties.
2716         * manual/process.texi: Document MTASC-safety properties.
2718         * manual/platform.texi: Document MTASC-safety properties.
2720         * manual/pipe.texi: Document MTASC-safety properties.
2722         * manual/pattern.texi: Document MTASC-safety properties.
2724         * manual/message.texi: Document MTASC-safety properties.
2726         [BZ #12751]
2727         * manual/memory.texi: Document MTASC-safety properties.
2729         * manual/math.texi: Document MTASC-safety properties.
2731         * manual/locale.texi: Document MTASC-safety properties.
2733         * manual/llio.texi: Document MTASC-safety properties.
2735         * manual/libdl.texi: New.
2737         * manual/lang.texi: Document MTASC-safety properties.
2739         * manual/job.texi: Document MTASC-safety properties.
2741         * manual/getopt.texi: Document MTASC-safety properties.
2743         * manual/ctype.texi: Document MTASC-safety properties.
2745 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
2747         [BZ #16046]
2748         * csu/libc-tls.c (static_map): Remove variable.
2749         (__libc_setup_tls): Use main executable's link map for TLS data.
2750         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2751         casing for LM_ID_BASE and GL(dl_nns).
2752         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2753         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
2754         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2755         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2756         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2757         member.
2758         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2759         l_phnum members.
2761 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
2763         * manual/debug.texi: Document MTASC-safety properties.
2765 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2767         [BZ #16510]
2768         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2769         of __x86_64__ when disabling x87 inline functions.
2771 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
2773         * manual/charset.texi: Document MTASC-safety properties.
2775         * manual/crypt.texi: Document MTASC-safety properties.
2777         * manual/conf.texi: Document MTASC-safety properties.
2779         * manual/arith.texi: Document MTASC-safety properties.
2781         * manual/argp.texi: Document MTASC-safety properties.
2783         * manual/macros.texi: Introduce macros to document multi
2784         thread, asynchronous signal and asynchronous cancellation
2785         safety properties.
2786         * manual/intro.texi: Introduce the properties themselves.
2788 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2790         * sysdeps/sh/sh4/Makefile: New file.
2792 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
2794         * math/gen-libm-test.pl ($srcdir): New variable.
2795         ($auto_input): Use it.
2797 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799         [BZ #16506]
2800         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2801         access beyond array bounds when parsing netgroups file.
2803         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2804         the old buffer before realloc.
2806 2014-01-27  Allan McRae  <allan@archlinux.org>
2808         * po/fr.po: Update French translation from translation project.
2810 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2812         * sysdeps/sh/libm-test-ulps: Regenerate.
2814 2014-01-24  David S. Miller  <davem@davemloft.net>
2816         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2818 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2820         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2821         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2823 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2825         [BZ #16474]
2826         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2827         string pointers after reallocation.
2829 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2831         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2832         __SH4A__ instead of __SH_FPU_ANY__.
2834 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2836         * sysdeps/sh/fpu_control.h: New file.
2837         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2839         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2840         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2841         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2842         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2843         * sysdeps/sh/sys/ucontext.h: Remove.
2844         * sysdeps/sh/sys: Remove directory.
2846 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2848         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2849         s390/sys/ucontext.h.
2850         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2853 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
2855         [BZ #15605]
2856         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2858 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2860         [BZ#16431]
2861         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2862         Adjust the vDSO correctly for internal calls.
2863         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2865 2014-01-20  Allan McRae  <allan@archlinux.org>
2867         * po/ca.po: Update Catalan translation from translation project.
2869 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
2871         * sysdeps/s390/sotruss-lib.c: New file.
2873 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2875         [BZ#16430]
2876         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2877         (__GI___gettimeofday): Alias for a different internal symbol to avoid
2878         local calls issues by not having a PLT stub required for IFUNC calls.
2879         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2881 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
2883         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2884         * math/test-fpucw-static.c: Likewise.
2886 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2888         [BZ #16453]
2889         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2891 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2893         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2894         implementation for powerpc.
2896 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
2898         [BZ #14782]
2899         * sysdeps/posix/system.c (__libc_system): Do not enable
2900         asynchronous cancellation.
2902 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2904         [BZ #16427]
2905         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2906         handling only for numbers special also in the IEEE case.
2908 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2910         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2912 2014-01-11  Allan McRae  <allan@archlinux.org>
2914         * po/bg.po: Update Bulgarian translation from translation project.
2916         * po/de.po: Update German translation from translation project.
2918 2014-01-10  Roland McGrath  <roland@hack.frob.com>
2920         * sysdeps/generic/gcc-compat.h: New file.
2922 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2924         * benchtests/asin-inputs: Correct slow inputs.
2925         * benchtests/acos-inputs: Likewise.
2927 2014-01-10  Allan McRae  <allan@archlinux.org>
2929         * po:sv.po: Update Swedish translation from translation project.
2931         * po/vi.po: Update Vietnamese translation from translation project.
2933         * po/eo.po: Update Esperanto translation from translation project.
2935         * po/cs.po: Update Czech translation from translation project.
2937         * po/nl.po: Update Dutch translation from translation project.
2939         * po/pl.po: Update Polish translation from translation project.
2941         * po/ru.po: Update Russian translation from translation project.
2943         * po/uk.po: Update Ukrainian translation from translation project.
2945 2014-01-08  Brooks Moses  <bmoses@google.com>
2947         * elf/dl-load.c: Fix comment typo.
2949 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
2951         * po/header.pot: Rename to...
2952         * po/pot.header: ... this.
2953         * po/Makefile: Use pot.header.
2955 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
2956             Maxim Kuvyrkov  <maxim@kugelworks.com>
2958         [BZ #16394]
2959         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2960         SRC and DEST against LEN.
2962 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2964         [BZ #16414]
2965         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2966         implementation.
2967         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2969 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2973 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
2975         [BZ #16408]
2976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2977         for large positive arguments.
2979 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
2981         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2983         * math/auto-libm-test-in: Mark various tests with
2984         xfail-rounding:ldbl-128ibm.
2985         * math/auto-libm-test-out: Regenerated.
2987         [BZ #16407]
2988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2989         Increase overflow threshold.
2991 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
2993         [BZ #14286]
2994         * stdio-common/vfprintf.c: Check for integer overflow.
2996 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2998         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2999         the first argument and return value of __tls_get_addr_internal.
3001 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3003         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3004         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3006 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3008         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3009         * sysdeps/s390/rtld-global-offsets.sym: New file.
3010         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3011         GLIBC_2.19 symbol.
3012         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3013         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3015         ... this.
3016         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3017         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3018         ... this.
3019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3020         Regenerate.
3021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3022         Regenerate.
3023         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3024         halfs of GPRs for high_gprs contexts.
3025         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3026         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3027         field.
3028         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3029         uc_flags field.
3030         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3031         64 bit versions:
3032         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3033         for high GPRs (uc_high_gprs) and for future extensions
3034         (__reserved).
3035         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3036         for future extensions (__reserved).
3037         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3038         64 bit versions:
3039         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3040         SC_HIGHGPRS offset definition.
3041         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3042         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3044 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3046         * Versions.def: Add GLIBC_2.19 for libpthread.
3047         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3048         siglongjmp for libpthread with GLIBC_2.19 symver.
3049         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3050         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3051         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3052         * sysdeps/s390/__longjmp.c: New file.
3053         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3054         * sysdeps/s390/longjmp.c: New file.
3055         * sysdeps/s390/setjmp.S: New file.
3056         * sysdeps/s390/sigjmp.S: New file.
3057         * sysdeps/s390/v1-longjmp.c: New file.
3058         * sysdeps/s390/v1-setjmp.h: New file.
3059         * sysdeps/s390/v1-sigjmp.c: New file.
3060         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3061         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3062         GLIBC_2.19 version.
3063         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3064         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3065         versioned symbols for ____longjmp_chk.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3067         Likewise.
3068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3069         Regenerate.
3070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3071         Regenerate.
3072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3073         Regenerate.
3074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3075         Regenerate.
3076         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3077         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3078         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3079         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3080         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3081         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3082         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3083         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3084         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3085         * sysdeps/s390/rtld-__longjmp.c: New file.
3086         * sysdeps/s390/rtld-setjmp.S: New file.
3088 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3090         [BZ #16400]
3091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3092         Return -__logl (x) for small positive arguments without evaluating
3093         a polynomial.
3095 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3097         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3098         Rename to ...
3099         (__ptrace_peeksiginfo_args): ... this.
3100         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3102         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3104 2014-01-06  Allan McRae  <allan@archlinux.org>
3106         * inet/netinet/in.h: Fix typo in comment.
3108 2014-01-05  Andreas Jaeger  <aj@suse.de>
3110         * sysdeps/i386/fpu/libm-test-ulps: Update.
3112 2014-01-05  Allan McRae  <allan@archlinux.org>
3114         * po/libc.pot: Regenerated.
3116         * malloc/memusagestat.c: Fix gettext call formatting.
3118 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3120         * nscd/nscd.c: Improve usage() output.
3122 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3124         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3125         * sysdeps/unix/sysv/linux/configure: Regenerated.
3126         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3127         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3129 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3131         [BZ #16390]
3132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3133         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3135 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3137         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3138         extra tokens at end of #undef directive.
3139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3140         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3141         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3143 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3145         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3147         * math/auto-libm-test-in: Mark various tests with
3148         xfail-rounding:ldbl-128ibm.
3149         * math/auto-libm-test-out: Regenerated.
3151 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3153         [BZ #16386]
3154         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3155         numbers with subnormal high part when calculating exponent.
3157         [BZ #16385]
3158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3159         fabs.
3161         [BZ #16384]
3162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3163         M_LN2l.
3164         (__ieee754_acoshl): Use __log1pl not __log1p.
3166 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3168         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3169         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3170         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3171         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3172         Convert to GNU style.
3173         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3174         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3175         memalign_check, __malloc_set_state): Likewise.
3176         * malloc/mallocbug.c (main): Likewise.
3177         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3178         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3179         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3180         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3181         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3182         * malloc/malloc.h: Likewise.
3183         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3184         memalignhook, reallochook, mabort): Likewise.
3185         * malloc/mcheck.h: Likewise.
3186         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3187         mmap64, mremap, munmap, dest): Likewise.
3188         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3189         * malloc/morecore.c (__default_morecore): Likewise.
3190         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3191         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3192         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3193         print_and_abort): Likewise.
3194         * malloc/obstack.h: Likewise.
3195         * malloc/set-freeres.c (__libc_freeres): Likewise.
3196         * malloc/tst-mallocstate.c (main): Likewise.
3197         * malloc/tst-mtrace.c (main): Likewise.
3198         * malloc/tst-realloc.c (do_test): Likewise.
3200 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3202         [BZ #16366]
3203         * nscd/netgroupcache.c (do_notfound): New function.
3204         (addgetnetgrentX): Use it.
3206         [BZ # 16365]
3207         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3208         NSS_STATUS_NOTFOUND.
3210 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3212         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3215 2014-01-01  Allan McRae  <allan@archlinux.org>
3217         * scripts/update-copyrights: Update configure input file suffix.
3219         * NEWS: Update copyright year.
3220         * catgets/gencat.c: Likewise.
3221         * csu/version.c: Likewise.
3222         * debug/catchsegv.sh: Likewise.
3223         * debug/pcprofiledump.c: Likewise.
3224         * debug/xtrace.sh: Likewise.
3225         * elf/ldconfig.c: Likewise.
3226         * elf/ldd.bash.in: Likewise.
3227         * elf/pldd.c: Likewise.
3228         * elf/sotruss.ksh: Likewise.
3229         * elf/sprof.c: Likewise.
3230         * iconv/iconv_prog.c: Likewise.
3231         * iconv/iconvconfig.c: Likewise.
3232         * locale/programs/locale.c: Likewise.
3233         * locale/programs/localedef.c: Likewise.
3234         * login/programs/pt_chown.c: Likewise.
3235         * malloc/memusage.sh: Likewise.
3236         * malloc/memusagestat.c: Likewise.
3237         * malloc/mtrace.pl: Likewise.
3238         * manual/libc.texinfo: Likewise.
3239         * nscd/nscd.c: Likewise.
3240         * nss/getent.c: Likewise.
3241         * nss/makedb.c: Likewise.
3242         * posix/getconf.c: Likewise.
3243         * scripts/test-installation.pl: Likewise.
3245         * All files with FSF copyright notices: Update copyright dates
3246         using scripts/update-copyrights.
3247         * intl/plural.c: Regenerated.
3248         * locale/programs/charmap-kw.h: Likewise.
3249         * locale/programs/locfile-kw.h: Likewise.
3251 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3253         * sysdeps/unix/sysv/linux/configure: Regenerated.
3254         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3255         the linux/fanotify.h header.
3256         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3257         HAVE_LINUX_FANOTIFY_H is defined.
3259 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3261         * benchtests/cos-inputs: New inputs.
3262         * benchtests/sin-inputs: Likewise.
3264         * benchtests/atan-inputs: New inputs. Fix name of multiple
3265         precision fallback inputs.
3267         * benchtests/atanh-inputs: New inputs.
3268         * benchtests/tanh-inputs: Likewise.
3270         * benchtests/acosh-inputs: New inputs.
3271         * benchtests/asinh-inputs: Likewise.
3273         * benchtests/cosh-inputs: New inputs.
3274         * benchtests/sinh-inputs: Likewise.
3276         * benchtests/acos-inputs: Add more inputs.
3277         * benchtests/asin-inputs: Likewise.
3279 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3281         [BZ #16375]
3282         * manual/arith.texi: Fix spelling.
3283         * manual/charset.texi: Likewise.
3284         * manual/errno.texi: Likewise.
3285         * manual/filesys.texi: Likewise.
3286         * manual/lang.texi: Likewise.
3287         * manual/llio.texi: Likewise.
3288         * manual/locale.texi: Likewise.
3289         * manual/message.texi: Likewise.
3290         * manual/resource.texi: Likewise.
3291         * manual/search.texi: Likewise.
3292         * manual/setjmp.texi: Likewise.
3293         * manual/stdio.texi: Likewise.
3294         * manual/string.texi: Likewise.
3295         * manual/sysinfo.texi: Likewise.
3296         * manual/time.texi: Likewise.
3298 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3300         * po/sl.po: New file.
3302 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3304         * .gitignore: Add core/.gdbinit/.gdb_history.
3306 2013-12-27  Allan McRae  <allan@archlinux.org>
3308         [BZ #16369]
3309         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3310         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3312 2013-12-24  Brooks Moses  <bmoses@google.com>
3314         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3315         all compilers that claim C++98 compliance, not just GCC.
3316         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3317         Likewise.
3319 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3321         * NEWS: Restore accidentally deleted bug-fix entries.
3323 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3324             Ondřej Bílka  <neleai@seznam.cz>
3326         [BZ #15073]
3327         * malloc/malloc.c (_int_free): Perform sanity check only if we
3328         have_lock.
3330 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3332         [BZ #12986]
3333         * manual/stdio.texi (String Input Conversions): Clarify that character
3334         classes are not supported.
3336 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3340 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3342         [BZ #16337]
3343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3344         Calculate results for small negative arguments directly rather
3345         than using reflection formula with special underflow handling.
3347         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3348         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3349         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3350         (fchflags): Likewise.
3351         (revoke): Likewise.
3352         (setlogin): Likewise.
3353         (sigaltstack): Likewise.
3354         (wait4): Likewise.
3355         (sigblock): Remove.
3356         (sigsetmask): Likewise.
3357         (wait3): Likewise.
3358         (waitpid): Likewise.
3359         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3360         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3361         file.
3362         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3363         * sysdeps/unix/bsd/Makefile: ... here.
3364         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3365         * sysdeps/unix/bsd/Versions: ... here.
3366         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3367         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3368         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3369         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3370         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3371         * sysdeps/unix/bsd/sigblock.c: ... here.
3372         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3373         * sysdeps/unix/bsd/sigsetmask.c: ... here.
3374         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3375         * sysdeps/unix/bsd/sigvec.c: ... here.
3376         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3377         * sysdeps/unix/bsd/tcdrain.c: ... here.
3378         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3379         * sysdeps/unix/bsd/tcgetattr.c: ... here.
3380         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3381         * sysdeps/unix/bsd/tcsetattr.c: ... here.
3382         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3383         * sysdeps/unix/bsd/wait.c: ... here.
3384         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3385         * sysdeps/unix/bsd/wait3.c: ... here.
3386         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3387         * sysdeps/unix/bsd/waitpid.c: ... here.
3389 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
3391         [BZ #16356]
3392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3393         round-to-nearest for [!USE_AS_EXPM1L].
3394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3395         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
3396         more tests of exp and exp10.  Expect some exp10 tests to miss
3397         exceptions or fail in directed rounding modes.
3398         * math/auto-libm-test-out: Regenerated.
3399         * math/libm-test.inc (exp10_tonearest_test_data): New array.
3400         (exp10_test_tonearest): New function.
3401         (exp10_towardzero_test_data): New array.
3402         (exp10_test_towardzero): New function.
3403         (exp10_downward_test_data): New array.
3404         (exp10_test_downward): New function.
3405         (exp10_upward_test_data): New array.
3406         (exp10_test_upward): New function.
3407         (main): Call the new functions.
3408         * sysdeps/i386/fpu/libm-test-ulps: Update.
3409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3411 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
3413         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3414         asinh, atan, atan2, atanh, cbrt, cos and cosh.
3415         * math/auto-libm-test-out: Regenerated.
3416         * math/libm-test.inc (acosh_test_data): Add more tests.
3417         (atanh_test_data): Likewise.
3418         (ceil_test_data): Likewise.
3419         (copysign_test_data): Likewise.
3420         * sysdeps/i386/fpu/libm-test-ulps: Update.
3421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3423         * timezone/checktab.awk: Update from tzcode 2013i.
3424         * timezone/private.h: Likewise.
3425         * timezone/scheck.c: Likewise.
3426         * timezone/tzfile.h: Likewise.
3427         * timezone/tzselect.ksh: Likewise.
3428         * timezone/zdump.c: Likewise.
3429         * timezone/zic.c: Likewise.
3431         * math/auto-libm-test-in: Add tests of cpow.
3432         * math/auto-libm-test-out: Regenerated.
3433         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3434         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3435         mpc_cc_c.
3436         (func_calc_desc): Add mpc_cc_c union field.
3437         (test_functions): Add cpow.
3438         (special_fill_2pi): New function.
3439         (special_real_inputs): Add 2pi.
3440         (calc_generic_results): Handle mpc_cc_c.
3441         * sysdeps/i386/fpu/libm-test-ulps: Update.
3442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3444         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
3445         csqrt, ctan and ctanh.
3446         * math/auto-libm-test-out: Regenerated.
3447         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3448         (TEST_COND_x86): Likewise.
3449         (ccos_test_data): Use AUTO_TESTS_c_c.
3450         (ccosh_test_data): Likewise.
3451         (cexp_test_data): Likewise.
3452         (clog_test_data): Likewise.
3453         (csqrt_test_data): Likewise.
3454         (ctan_test_data): Likewise.
3455         (ctan_tonearest_test_data): Likewise.
3456         (ctan_towardzero_test_data): Likewise.
3457         (ctan_downward_test_data): Likewise.
3458         (ctan_upward_test_data): Likewise.
3459         (ctanh_test_data): Likewise.
3460         (ctanh_tonearest_test_data): Likewise.
3461         (ctanh_towardzero_test_data): Likewise.
3462         (ctanh_downward_test_data): Likewise.
3463         (ctanh_upward_test_data): Likewise.
3464         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3465         mpc_c_c.
3466         (func_calc_desc): Add mpc_c_c union field.
3467         (FUNC_mpc_c_c): New macro.
3468         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
3469         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
3470         ctanh.
3471         (special_fill_min_subnorm_p120): New function.
3472         (special_real_inputs): Add min_subnorm_p120.
3473         (calc_generic_results): Handle mpc_c_c.
3474         * sysdeps/i386/fpu/libm-test-ulps: Update.
3475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3477 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3479         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
3480         do_sin_slow): New functions.
3481         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
3482         cslow2, csloww1, csloww2): Use the new functions.
3484         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
3485         Use M to change sign of result instead of X.  Assume X is
3486         positive.
3487         (csloww1): Likewise.
3488         (__sin): Adjust.
3489         (__cos): Adjust.
3491         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
3492         arguments A and DA.
3493         (__sin): Adjust.
3494         (__cos): Likewise.
3496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
3497         (__cos): Likewise.
3498         (sloww1): Don't adjust sign of DX.
3499         (csloww1): Likewise.
3500         (sloww2): Use X directly and don't adjust sign of DX.
3501         (csloww2): Likewise.
3503 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3505         * math/auto-libm-test-in: Add tests of cabs and carg.
3506         * math/auto-libm-test-out: Regenerated.
3507         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
3508         (carg_test_data): Likewise.
3509         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3510         mpc_c_f.
3511         (func_calc_desc): Add mpc_c_f union field.
3512         (test_functions): Add cabs and carg.
3513         (calc_generic_results): Handle mpc_c_f.
3515         * sysdeps/powerpc/powerpc32/libgcc-compat.S
3516         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
3517         as a macro and a compat symbol.
3518         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3519         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3520         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3521         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3522         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
3523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
3524         not use .hidden.
3525         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
3526         Likewise.
3527         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
3528         Likewise.
3529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
3530         Likewise.
3531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
3532         Likewise.
3533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
3534         Likewise.
3535         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
3536         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
3537         from GLIBC_2.3.2.
3539 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3545         * manual/texinfo.tex: Update to version 2013-11-26.10 with
3546         trailing whitespace removed.
3547         * scripts/config.guess: Update to version 2013-11-29.
3548         * scripts/config.sub: Update to version 2013-10-01.
3550         * math/auto-libm-test-in: Add tests of sincos.
3551         * math/auto-libm-test-out: Regenerated.
3552         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
3553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3554         mpfr_f_11.
3555         (func_calc_desc): Add mpfr_f_11 union field.
3556         (test_functions): Add sincos.
3557         (calc_generic_results): Handle mpfr_f_11.
3558         * sysdeps/i386/fpu/libm-test-ulps: Update.
3559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561 2013-12-19  Andreas Schwab  <schwab@suse.de>
3563         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
3564         CALL_MCOUNT.
3565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3566         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
3567         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
3569 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3571         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
3572         * sysdeps/i386/fpu/libm-test-ulps: Update.
3573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3575         [BZ #16293]
3576         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
3577         round-to-nearest mode when using frndint.
3578         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
3579         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3581         Likewise.
3582         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
3583         sinh test to fail.
3584         * math/auto-libm-test-out: Regenerated.
3585         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
3586         (TEST_COND_x86): Likewise.
3587         (expm1_tonearest_test_data): New array.
3588         (expm1_test_tonearest): New function.
3589         (expm1_towardzero_test_data): New array.
3590         (expm1_test_towardzero): New function.
3591         (expm1_downward_test_data): New array.
3592         (expm1_test_downward): New function.
3593         (expm1_upward_test_data): New array.
3594         (expm1_test_upward): New function.
3595         (main): Run the new test functions.
3596         * sysdeps/i386/fpu/libm-test-ulps: Update.
3597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599         * include/features.h: Update comment documenting feature test
3600         macros.  Mention _DEFAULT_SOURCE in comment.
3601         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
3602         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
3603         _BSD_SOURCE and _SVID_SOURCE.
3604         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
3605         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
3606         !_SVID_SOURCE]: Likewise.
3607         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3608         (__USE_POSIX_IMPLICITLY): Define.
3609         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3610         (_POSIX_SOURCE): Undefine and redefine.
3611         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3612         (_POSIX_C_SOURCE): Likewise.
3613         * manual/creature.texi (_DEFAULT_SOURCE): Document.
3614         (Feature Test Macros): Update documentation of default features.
3616 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3618         * benchtests/Makefile: Add bench-strtok.
3619         * benchtests/bench-strtok.c: New file: strtok benchtest.
3621 2013-12-19  Allan McRae  <allan@archlinux.org>
3623         * manual/install.texi: Suppress menu for plain text output.
3624         * INSTALL: Regenerated.
3626 2013-12-18  Brooks Moses  <bmoses@google.com>
3628         [BZ #15846]
3629         * misc/getauxval.c: Include errno.h.
3630         (__getauxval): Set errno to ENOENT if the requested type is not
3631         found.
3632         * misc/sys/auxv.h (getauxval): Document that it may set errno;
3633         don't declare with __attribute_const__.
3634         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
3635         * manual/startup.texi: Document that getauxval sets errno.
3637 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3639         * math/auto-libm-test-in: Add tests of jn and yn.
3640         * math/auto-libm-test-out: Regenerated.
3641         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
3642         (yn_test_data): Likewise.
3643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3644         mpfr_if_f.
3645         (func_calc_desc): Add mpfr_if_f union field.
3646         (FUNC_mpfr_if_f): New macro.
3647         (test_functions): Add jn and yn.
3648         (calc_generic_results): Assert type of second input for
3649         mpfr_ff_f.  Handle mpfr_if_f.
3650         (output_for_one_input_case): Disable all checking for arguments
3651         fitting floating-point types in case of an integer argument.
3652         * sysdeps/i386/fpu/libm-test-ulps: Update.
3653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3656         Don't expect fegetround reference in libm.so.
3658 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3660         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
3661         $(config-cflags-nofma).
3663 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3665         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
3666         * math/auto-libm-test-out: Regenerated.
3668         [BZ #16338]
3669         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
3670         to determine exponent and adjust argument to have exponent of -1.
3671         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3672         log2.
3673         * math/auto-libm-test-out: Regenerated.
3674         * sysdeps/i386/fpu/libm-test-ulps: Update.
3675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3677 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
3679         * manual/probes.texi: Remove cases when per-thread arenas are
3680         disabled.
3682 2013-12-18  Andreas Schwab  <schwab@suse.de>
3684         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3685         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3686         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3687         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3688         * sysdeps/i386/i686/multiarch/Makefile: Update.
3689         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3691 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3693         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3694         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3696 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3698         [BZ #15968]
3699         Support TZ transition times < 00:00:00.
3700         This is needed for version-3 tz-format files; it supports time
3701         stamps past 2037 for America/Godthab (the only entry in the tz
3702         database for which this change is relevant).
3703         * manual/time.texi (TZ Variable): Document transition times
3704         from -167:59:59 through -00:00:01.
3705         * time/tzset.c (tz_rule): Time of day is now signed.
3706         (__tzset_parse_tz): Parse negative time of day.
3708         Document TZ transition times >= 25:00:00.
3709         * manual/time.texi (TZ Variable): Document transition times from
3710         25:00:00 through 167:59:59.  These are already supported, and this
3711         support will help with version-3 tz-format files.
3713         * manual/time.texi (TZ Variable): Modernize North America example
3714         to reflect current (i.e., 2007-and-later) daylight saving rules.
3716         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3718 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3720         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3721         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3724         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3725         * sysdeps/unix/bsd/bsdstat.h: Likewise.
3726         * sysdeps/unix/bsd/clock.c: Likewise.
3727         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3728         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3729         * sysdeps/unix/bsd/init-posix.c: Likewise.
3730         * sysdeps/unix/bsd/poll.c: Likewise.
3731         * sysdeps/unix/bsd/ptsname.c: Likewise.
3732         * sysdeps/unix/bsd/seekdir.c: Likewise.
3733         * sysdeps/unix/bsd/setegid.c: Likewise.
3734         * sysdeps/unix/bsd/seteuid.c: Likewise.
3735         * sysdeps/unix/bsd/setgid.c: Likewise.
3736         * sysdeps/unix/bsd/setrgid.c: Likewise.
3737         * sysdeps/unix/bsd/setruid.c: Likewise.
3738         * sysdeps/unix/bsd/setsid.c: Likewise.
3739         * sysdeps/unix/bsd/setuid.c: Likewise.
3740         * sysdeps/unix/bsd/sigaction.c: Likewise.
3741         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3742         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3743         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3744         * sysdeps/unix/bsd/telldir.c: Likewise.
3745         * sysdeps/unix/bsd/times.c: Likewise.
3746         * sysdeps/unix/bsd/usleep.c: Likewise.
3748         * misc/Makefile (install-lib): Remove libbsd-compat.a.
3749         ($(objpfx)libbsd-compat.a): Remove rule.
3751         * include/features.h (__FAVOR_BSD): Do not define.
3752         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3753         features conflicting with POSIX.
3754         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3755         (_BSD_SOURCE): Remove description of not being a subset of other
3756         feature test macros.
3757         * manual/job.texi (getpgrp): Do not document BSD version.
3758         (getpgid): Do not document by reference to BSD getpgrp.
3759         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3760         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3761         * signal/signal.h [__FAVOR_BSD]: Likewise.
3762         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3763         instead of making contents conditional on [__FAVOR_BSD].
3764         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3766 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3770 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #16314]
3773         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3774         values below 2**-450, not 2**-500.
3775         * math/auto-libm-test-in: Don't allow spurious underflow from
3776         hypot.
3777         * math/auto-libm-test-out: Regenerated.
3779         [BZ #16316]
3780         [BZ #16330]
3781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3782         values of ha and hb and sort them after adjusting subnormal
3783         arguments.
3784         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3785         Likewise.
3786         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3787         values of ea and eb and sort them after adjusting subnormal
3788         arguments.
3789         * math/auto-libm-test-in: Do not expect some hypot tests of
3790         subnormals to fail.  Add more hypot tests.
3791         * math/auto-libm-test-out: Regenerated.
3793 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3795         [BZ #13304]
3796         * sysdeps/sh/s_fma.c: New file.
3797         * sysdeps/sh/s_fmaf.c: New file.
3798         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
3799         version.
3800         * sysdeps/sh/Implies: Add sh/soft-fp.
3802 2013-12-16  Roland McGrath  <roland@hack.frob.com>
3804         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
3805         level of indirection to members `objname', `errstring', `malloced'.
3806         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3807         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
3808         it as the __longjmp argument (just pass 1 instead).
3809         (_dl_catch_error): Initialize C with argument pointers and address of
3810         volatile local ERRCODE rather than copying values out of C at return.
3812 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
3814         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3815         * math/auto-libm-test-out: Regenerated.
3816         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3817         (hypot_test_data): Likewise.
3818         (pow_test_data): Likewise.
3819         (pow_tonearest_test_data): Likewise.
3820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3821         mpfr_ff_f.
3822         (func_calc_desc): Add mpfr_ff_f union field.
3823         (FUNC_mpfr_ff_f): New macro.
3824         (test_functions): Add atan2, hypot and pow.
3825         (special_fill_min): New function.
3826         (special_fill_minus_min): Likewise.
3827         (special_fill_min_subnorm): Likewise.
3828         (special_fill_minus_min_subnorm): Likewise.
3829         (special_real_inputs): Add min, -min, min_subnorm and
3830         -min_subnorm.
3831         (calc_generic_results): Handle mpfr_ff_f.
3832         * sysdeps/i386/fpu/libm-test-ulps: Update.
3833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3835 2013-12-16  Will Newton  <will.newton@linaro.org>
3837         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3838         (Aligned Memory Blocks): Add documentation for aligned_alloc
3839         and suggest it as an alternative to posix_memalign.
3840         (Hooks for Malloc): Document __memalign_hook is also called
3841         for aligned_alloc.  (Summary of Malloc): Add summary for
3842         aligned alloc.  Document __memalign_hook is also called
3843         for aligned_alloc.
3845 2013-12-16  Will Newton  <will.newton@linaro.org>
3847         * manual/memory.texi (Malloc Examples): Clarify default
3848         alignment documentation.  Suggest posix_memalign rather
3849         than memalign or valloc.
3850         (Aligned Memory Blocks): Remove suggestion to use memalign
3851         or valloc.  Remove obsolete comment about BSD.
3852         Document memalign errno values and mark the function obsolete.
3853         Document posix_memalign returned error codes.  Mark valloc
3854         as obsolete.  (Hooks for Malloc): __memalign_hook is also
3855         called for posix_memalign and valloc.
3856         (Summary of Malloc): Add posix_memalign to function summary.
3857         __memalign_hook is also called for posix_memalign and valloc.
3859 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3861         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3862         TAYLOR_SIN.
3863         (__sin): Adjust.
3864         (__cos): Likewise.
3865         (sloww): Use mynumber union.  Expand ternary operator into
3866         if-else statements.
3867         (cslow): use mynumber union.
3869 2013-12-16  Allan McRae  <allan@archlinux.org>
3871         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3872         * configure: Regenerated.
3874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3876         [BZ #14120]
3877         * configure.ac: Added --enable-maintainer-mode. Check for
3878         autoconf when enabled.
3879         * configure: Regenerated.
3881         * nscd/nscd.service: New file.
3882         * nscd/nscd.tmpfiles: New file.
3884 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
3886         [BZ #12100]
3887         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3888         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3889         * sysdeps/x86_64/multiarch/strstr.c: ... here.
3890         (strstr): Add __strstr_sse2_unaligned ifunc.
3891         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3892         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3893         (strcasestr): Remove __strcasestr_sse42 ifunc.
3894         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3898 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3900         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3901         * sysdeps/sh/bits/fenv.h: ... here.
3902         * sysdeps/sh/sh4/fpu/bits: Remove directory.
3904 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3906         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3908 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3911         hypotf multiarch implementations.
3912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3915         multiarch hypot for PPC64.
3916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3917         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3918         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3919         multiarch hypotf for PPC64.
3921 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3924         modff multiarch implementations.
3925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3928         multiarch modf for PPC64.
3929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3932         multiarch modff for PPC64.
3934 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3937         and logl multiarch implementations.
3938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3941         multiarch logb for PPC64.
3942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3945         multiarch logb for PPC64.
3946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3949         multiarch logb for PPC64.
3951 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3954         isinff multiarch implementation.
3955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3956         file.
3957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3959         multiarch isinf for PPC64.
3960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3961         file.
3962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3963         multiarch isinff for PPC64.
3965 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3968         finitef multiarch implementation.
3969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3970         file.
3971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3973         multiarch finite for PPC64.
3974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3975         file.
3976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3977         multiarch finitef for PPC64.
3979 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3982         lrint multiarch implementation.
3983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3984         file.
3985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3987         multiarch llrint for PPC64.
3988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3989         multiarch lrint for PPC64.
3991 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3994         copysignf multiarch implementation.
3995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3996         file.
3997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3998         file.
3999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4000         multiarch copysign for PPC64.
4001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4002         multiarch copysignf for PPC64.
4004 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4007         multiarch implementation.
4008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4009         file.
4010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4011         file.
4012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4013         file.
4014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4015         file.
4016         multiarch llround for PPC64.
4017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4018         multiarch trunc for PPC64.
4019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4020         multiarch truncf for PPC64.
4022 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4025         multiarch implementation.
4026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4027         file.
4028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4029         file.
4030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4031         file.
4032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4033         file.
4034         multiarch llround for PPC64.
4035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4036         multiarch round for PPC64.
4037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4038         multiarch roundf for PPC64.
4040 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4043         multiarch implementation.
4044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4045         file.
4046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4047         file.
4048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4049         file.
4050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4051         file.
4052         multiarch llround for PPC64.
4053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4054         multiarch floor for PPC64.
4055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4056         multiarch floorf for PPC64.
4058 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4061         multiarch implementation.
4062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4063         file.
4064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4065         file.
4066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4067         file.
4068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4069         file.
4070         multiarch llround for PPC64.
4071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4072         multiarch ceil for PPC64.
4073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4074         multiarch ceilf for PPC64.
4076 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4079         multiarch implementation.
4080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4081         file.
4082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4083         file.
4084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4085         file.
4086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4087         multiarch llround for PPC64.
4088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4089         multiarch lround for PPC64.
4091 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4094         multiarch implementation.
4095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4098         file.
4099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4102         multiarch isnan for PPC64.
4103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4104         multiarch isnanf for PPC64.
4106 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4108         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4109         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4110         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4111         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4112         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4115 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4117         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4118         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4119         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4125         multiarch implementations.
4126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4127         (__libc_ifunc_impl_list): Likewise.
4128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4131         multiarch stpcpy for PPC64.
4133 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4136         multiarch implementations.
4137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4138         (__libc_ifunc_impl_list): Likewise.
4139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4140         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4141         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4142         multiarch strcpy for PPC64.
4144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4146         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4147         redefine function name.
4148         (_wordcopy_fwd_dest_aligned): Likewise.
4149         (_wordcopy_bwd_aligned): Likewise.
4150         (_wordcopy_bwd_dest_aligned): Likewise.
4151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4152         multiarch implementations.
4153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4154         (__libc_ifunc_impl_list): Likewise.
4155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4156         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4157         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4159         multiarch wcscpy for PPC64.
4161 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4164         multiarch implementations.
4165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4166         (__libc_ifunc_impl_list): Likewise.
4167         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4168         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4171         multiarch wcscpy for PPC64.
4173 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4176         multiarch implementations.
4177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4178         (__libc_ifunc_impl_list): Likewise.
4179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4183         multiarch wcsrchr for PPC64.
4185 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4188         multiarch implementations.
4189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4190         (__libc_ifunc_impl_list): Likewise.
4191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4192         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4193         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4194         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4195         multiarch wcschr for PPC64.
4197 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4200         multiarch implementations.
4201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4202         (__libc_ifunc_impl_list): Likewise.
4203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4204         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4205         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4206         multiarch strchrnul for PPC64.
4208 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4211         implementations.
4212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4213         (__libc_ifunc_impl_list): Likewise.
4214         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4215         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4216         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4217         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4218         strchr for PPC64.
4220 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4223         implementations.
4224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4225         (__libc_ifunc_impl_list): Likewise.
4226         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4229         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4230         strncmp for PPC64.
4232 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4235         multiarch implementations.
4236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4237         (__libc_ifunc_impl_list): Likewise.
4238         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4239         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4240         strncasecmp for PPC64.
4241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4242         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4243         multiarch strncasecmp_l for PPC64.
4245 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4248         multiarch implementations.
4249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4250         (__libc_ifunc_impl_list): Likewise.
4251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4252         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4253         multiarch strcasecmp for PPC64.
4254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4255         file.
4256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4257         multiarch strcasecmp_l for PPC64.
4259 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4262         implementations.
4263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4264         (__libc_ifunc_impl_list): Likewise.
4265         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4268         strnlen for PPC64.
4270 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4273         implementations.
4274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4275         (__libc_ifunc_impl_list): Likewise.
4276         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4277         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4278         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4279         strlen for PPC64.
4281 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4284         implementations.
4285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4286         (__libc_ifunc_impl_list): Likewise.
4287         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4288         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4289         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4290         rawmemrchr for PPC64.
4292 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4295         implementation.
4296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4297         (__libc_ifunc_impl_list): Likewise.
4298         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4299         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4300         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4301         memrchr for PPC64.
4303 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4306         implementation.
4307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4308         (__libc_ifunc_impl_list): Likewise.
4309         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4310         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4311         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4312         memchr for PPC64.
4314 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4317         implementation.
4318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4319         (__libc_ifunc_impl_list): Likewise.
4320         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4322         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4323         mempcpy for PPC64.
4325 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4327         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4328         avoid cretion of __bzero symbol.
4329         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4330         Likewise.
4331         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4332         Likewise.
4333         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4334         Likewise.
4335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4336         multiarch implementations.
4337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4338         (__libc_ifunc_impl_list): Likewise.
4339         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4340         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4342         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4343         bzero for PPC32.
4344         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4345         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4346         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4347         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4348         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4349         memset for PPC64.
4350         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4352 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4354         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4356         implementations.
4357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4358         (__libc_ifunc_impl_list): Likewise.
4359         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4360         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4361         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4362         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4363         memcmp for PPC64.
4365 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4368         multiarch for POWER/PPC64.
4369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4370         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4377         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4378         memcpy for PPC64.
4380 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4382         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4383         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4384         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4385         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4386         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4387         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4388         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4389         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4390         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4391         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4392         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4393         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4394         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4395         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4396         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4405 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4407         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4409 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4411         * benchtests/Makefile (bench): Add exp2 and log2.
4412         (LDLIBS-bench-exp2): Add -lm.
4413         (LDLIBS-bench-log2): Likewise.
4414         * benchtests/exp2-inputs: New inputs file.
4415         * benchtests/log2-inputs: New inputs file.
4416         * benchtests/log-inputs: Add new inputs.
4417         * benchtests/tan-inputs: Likewise.
4419 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4421         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4422         definition...
4423         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4424         csloww1, csloww2): ... from here.
4426         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4427         instead of structures.
4428         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4429         (POLYNOMIAL): Likewise.
4430         (TAYLOR_SLOW): Likewise.
4431         (__sin): Likewise.
4432         (__cos): Likewise.
4433         (slow1): Likewise.
4434         (slow2): Likewise.
4435         (sloww): Likewise.
4436         (sloww1); Likewise.
4437         (sloww2): Likewise.
4438         (bsloww1): Likewise.
4439         (bsloww2): Likewise.
4440         (cslow2): Likewise.
4441         (csloww): Likewise.
4442         (csloww1): Likewise.
4443         (csloww2): Likewise.
4445 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4447         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4448         (__malloc_assert, __libc_realloc, __libc_calloc,
4449         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
4450         memcpy and memset.
4451         * malloc/hooks.c (realloc_check): Likewise.
4453 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4455         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
4456         * malloc/arena.c: Remove PER_THREAD conditional.
4457         [!PER_THREAD]: Remove code.
4458         (ptmalloc_unlock_all2): Likewise.
4459         (ptmalloc_init): Likewise.
4460         (_int_new_arena): Likewise.
4461         (arena_get2): Likewise.
4462         * malloc/hooks.c (__malloc_get_state): Likewise.
4463         (__malloc_set_state): Likewise.
4464         * malloc/malloc.c: Likewise.
4465         (struct malloc_state): Likewise.
4466         (struct malloc_par): Likewise.
4467         (__libc_realloc): Likewise.
4468         (__libc_mallopt): Likewise.
4470 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4472         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
4474 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4476         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
4477         macro to a function.  Check for zero perturb_byte.
4478         (_int_malloc, _int_free): Remove zero perturb_byte checks.
4480 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4482         * malloc/malloc.c: (force_reg): Remove.
4483         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
4484         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
4485         force_reg by atomic_forced_read.
4486         * malloc/arena.c (ptmalloc_init): Likewise.
4487         * malloc/hooks.c (top_check): Likewise.
4489 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4493 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
4495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4497 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
4499         * math/auto-libm-test-in: Add tests of lgamma.
4500         * math/auto-libm-test-out: Regenerated.
4501         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
4502         (M_LOG_2_SQRT_PIl): Likewise.
4503         (lgamma_test_data): Use AUTO_TESTS_f_f1.
4504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4505         mpfr_f_f1.
4506         (func_calc_desc): Add mpfr_f_f1 union field.
4507         (ARGS1): New macro.
4508         (ARGS2): Likewise.
4509         (ARGS3): Likewise.
4510         (ARGS4): Likewise.
4511         (RET1): Likewise.
4512         (RET2): Likewise.
4513         (CALC): Likewise.
4514         (FUNC): Likewise.
4515         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
4516         (test_functions): Add lgamma.
4517         (calc_generic_results): Handle mpfr_f_f1.
4518         * sysdeps/i386/fpu/libm-test-ulps: Update.
4519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4523         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
4524         __mpn_add_n for PowerPC64/POWER7.
4525         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
4526         __mpn_sub_n for PowerPC64/POWER7.
4528 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4530         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
4531         __mpn_addmul_1 for PowerPC64.
4532         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
4533         __mpn_submul_1 for PowerPC64.
4534         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
4535         for PowerPC64.
4536         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
4537         for PowerPC64.
4539 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
4541         [BZ #15089]
4542         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
4544 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4546         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
4548 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4550         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
4551         add multiarch folders.
4552         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
4553         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
4554         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
4555         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
4556         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
4557         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
4558         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
4559         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
4560         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
4561         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
4562         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
4563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
4565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
4567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
4570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4573         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
4574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
4575         New file.
4576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
4577         New file.
4578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
4579         multiarch __ieee754_hypot for PowerPC32.
4580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
4581         New file.
4582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
4583         New file.
4584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
4585         multiarch __ieee754_hypotf for PowerPC32.
4587 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4589         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
4590         long_double_symbol only if __logbl is defined.
4591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
4592         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
4593         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
4594         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
4595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
4596         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
4597         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
4598         path for implementation.
4599         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
4600         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
4601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
4602         logb, and logbl multiarch implementations for PowerPC32.
4603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
4604         file.
4605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
4606         file.
4607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
4608         multiarch logb for PowerPC32.
4609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
4610         file.
4611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
4612         file.
4613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
4614         multiarch logbf for PowerPC32.
4615         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
4616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
4617         file.
4618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
4619         multiarch logbl implementation for PowerPC32.
4621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
4624         and modff multiarch implementations.
4625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
4626         New file.
4627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
4628         New file.
4629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
4630         multiarch modf for PowerPC32.
4631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
4632         New file.
4633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
4634         New file.
4635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
4636         multiarch modff for PowerPC32.
4638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4641         and lrintf multiarch implementations.
4642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
4643         New file.
4644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
4645         New file.
4646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
4647         multiarch lrint for PowerPC32.
4648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
4649         file: multiarch lrintf for PowerPC32.
4651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
4654         and lroundf multiarch implementations.
4655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
4656         New file.
4657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
4658         New file.
4659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
4660         New file.
4661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
4662         multiarch lround for PowerPC32.
4663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
4664         file: multiarch lroundf for PowerPC32.
4666 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4669         copysign and copysignf multiarch implementations.
4670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4671         New file.
4672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4673         New file.
4674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4675         file: multiarch copysign for PowerPC32.
4676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4677         file: multiarch copysignf for PowerPC32.
4679 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4682         and truncf multiarch implementations.
4683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4684         New file.
4685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4686         file.
4687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4688         multiarch trunc for PowerPC32.
4689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4690         New file.
4691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4692         New file.
4693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4694         multiarch truncf for PowerPC32.
4696 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4699         and roundf multiarch implementations.
4700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4701         New file.
4702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4703         file.
4704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4705         multiarch round for PowerPC32.
4706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4707         New file.
4708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4709         New file.
4710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4711         multiarch roundf for PowerPC32.
4713 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4716         and floorf multiarch implementations.
4717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4718         New file.
4719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4720         file.
4721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4722         multiarch floor for PowerPC32.
4723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4724         New file.
4725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4726         New file.
4727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4728         multiarch floorf for PowerPC32.
4730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4733         and ceilf multiarch implementations.
4734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4735         New file.
4736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4737         file.
4738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4739         multiarch ceil for PowerPC32.
4740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4741         New file.
4742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4743         file.
4744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4745         multiarch ceilf for PowerPC32.
4747 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4749         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4750         is defined.
4751         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4752         FINITEF is defined.
4753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4754         and finitef multiarch implementations.
4755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4756         New file.
4757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4758         file.
4759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4760         multiarch finite for PowerPC32.
4761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4762         New file.
4763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4764         file: multiarch finitef for PowerPC32.
4766 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4769         and isinff multiarch implementations.
4770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4771         file.
4772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4773         file.
4774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4775         multiarch isinf for PowerPC32.
4776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4777         New file.
4778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4779         multiarch isinff for PowerPC32.
4781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4784         alias when __isnan is defined.
4785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4786         and isnanf multiarch implementations.
4787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4788         file.
4789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4790         file.
4791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4792         file.
4793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4794         file.
4795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4796         multiarch isnan for PowerPC32.
4797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4798         New file.
4799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4800         New file.
4801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4802         multiarch isnanf for PowerPC32.
4804 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4807         and sqrtf multiarch implementations.
4808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4809         file.
4810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4811         file.
4812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4813         multiarch sqrt for PowerPC32.
4814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4815         file.
4816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4817         file.
4818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4819         multiarch sqrtf for PowerPC32.
4821 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4824         and llroundf multiarch implementations.
4825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4826         New file.
4827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4828         New file.
4829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4830         New file.
4831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4832         file: multiarch llround for PowerPC32.
4833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4834         file: multiarch llroundf for PowerPC32.
4836 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4839         multiarch PowerPC32 fpu implementations.
4840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4841         New file.
4842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4843         New file.
4844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4845         multiarch llrint for PowerPC32.
4846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4847         New file.
4848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4849         New file.
4850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4851         file.
4853 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4857 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4859         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4860         file.
4861         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4862         file.
4863         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4864         file.
4865         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4866         multiarch wordcopy for PPC32.
4867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4868         wordcopy objects.
4869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4870         (__libc_ifunc_impl_list): Likewise.
4871         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4872         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4873         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4874         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4875         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4876         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4880         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4882         file.
4883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4884         file.
4885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4886         file.
4887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4888         multiarch wcscpy for PPC32.
4889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4890         multiarch objects.
4891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4892         (__libc_ifunc_impl_list): Likewise.
4893         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4894         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4895         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4896         sysdeps/powerpc/power6/wcscpy.c.
4898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4900         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4902         file.
4903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4904         file.
4905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4906         file.
4907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4908         multiarch wcsrchr for PPC32.
4909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4910         multiarch objects.
4911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4912         (__libc_ifunc_impl_list): Likewise.
4913         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4914         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4915         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4916         sysdeps/powerpc/power6/wcsrchr.c.
4918 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4921         file.
4922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4923         file.
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4926         multiarch wcschr for PPc32.
4927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4928         multiarch objects.
4929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4930         (__libc_ifunc_impl_list): Likewise.
4931         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4932         * sysdeps/powerpc/power6/wcschr.c: ... to here.
4933         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4934         sysdeps/powerpc/power6/wcschr.c.
4936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4938         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4939         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4940         file.
4941         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4942         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4943         file: multiarch strchr for PPC32.
4944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4945         multiarch objects.
4946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4947         (__libc_ifunc_impl_list): Likewise.
4949 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4951         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4952         name.
4953         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4954         file.
4955         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4956         file.
4957         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4958         multiarch strchrnul for PPC32.
4959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4960         multiarch objects.
4961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4962         (__libc_ifunc_impl_list): Likewise.
4964 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4967         file.
4968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4969         multiarch strncasecmp for PPC32.
4970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4971         file.
4972         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4973         multiarch strncasecmp_l for PPC32.
4974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4975         strncasecmp multiarch objects.
4976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4977         (__libc_ifunc_impl_list): Likewise.
4979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4981         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4982         file.
4983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4984         multiarch strncasecmp for PPC32.
4985         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4986         New file.
4987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4988         multiarch strcasecmp_l for PPC32.
4989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4990         multiarch objects.
4991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4992         (__libc_ifunc_impl_list): Likewise.
4994 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4996         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4997         file.
4998         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4999         file.
5000         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5001         multiarch strncmp for PPC32.
5002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5003         multiarch objects.
5004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5005         (__libc_ifunc_impl_list): Likewise.
5007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5009         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5010         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5011         file.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5013         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5015         multiarch objects.
5016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5017         (__libc_ifunc_impl_list): Likewise.
5019 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5021         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5022         file.
5023         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5024         file.
5025         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5027         multiarch objects.
5028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5029         (__libc_ifunc_impl_list): Likewise.
5031 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5033         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5034         file.
5035         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5036         file.
5037         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5038         multiarch rawmemchr for PPC32.
5039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5040         multiarch objects.
5041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5042         (__libc_ifunc_impl_list): Likewise.
5044 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5046         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5047         file.
5048         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5049         file.
5050         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5051         file: memrchr multiarch for PPC32.
5052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5053         multiarch objects.
5054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5055         (__libc_ifunc_impl_list): Likewise.
5057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5059         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5060         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5061         file.
5062         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5064         multiarch memchr for PPC32.
5065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5066         multiarch objects.
5067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5068         (__libc_ifunc_impl_list): Likewise.
5070 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5072         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5073         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5074         file.
5075         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5076         file.
5077         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5078         file: multiarch mempcpy for PPC32.
5079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5080         multiarch objects.
5081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5082         (__libc_ifunc_impl_list): Likewise.
5084 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5086         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5087         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5088         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5089         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5090         multiarch bzero for PPC32.
5091         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5092         file.
5093         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5094         file.
5095         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5096         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5097         file: multiarch memset for PPC32.
5098         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5100         memset multiarch objects.
5101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5102         (__libc_ifunc_impl_list): Likewise.
5104 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5107         file.
5108         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5110         memcmp for PPC32.
5111         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5113         multiarch objects.
5114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5115         (__libc_ifunc_impl_list): Likewise.
5117 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5122         file.
5123         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5124         file.
5125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5126         file.
5127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5128         multiarch memcpy for PPC32.
5129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5130         multiarch objects.
5131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5132         (__libc_ifunc_impl_list): Likewise.
5134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5137         support multiarch for POWER/PPC32.
5138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5139         Likewise.
5140         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5142         Implies file to make multiarch folder appers before the fpu and
5143         default folder for power4 configuration.
5145 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5147         * scripts/bench.pl: Append volatile keyword to type.
5149 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5151         * sysdeps/sh/sotruss-lib.c: New file.
5152         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5154 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5158 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5160         [BZ #6810]
5161         * math/w_tgamma.c: Include <errno.h>.
5162         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5163         * math/w_tgammaf.c: Include <errno.h>.
5164         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5165         * math/w_tgammal.c: Include <errno.h>.
5166         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5167         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5168         underflow.  Add more tgamma tests.
5169         * math/auto-libm-test-out: Regenerated.
5170         * sysdeps/i386/fpu/libm-test-ulps: Update.
5171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5173         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5174         sin, sinh, tan, tanh, tgamma, y0 and y1.
5175         * math/auto-libm-test-out: Regenerated.
5176         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5177         (TEST_COND_x86): Likewise.
5178         (M_E2l): Remove macro.
5179         (M_E3l): Likewise.
5180         (M_2_SQRT_PIl): Likewise.
5181         (M_SQRT_PIl): Likewise.
5182         (M_1_DIV_El): Likewise.
5183         (log_test_data): Use AUTO_TESTS_f_f.
5184         (log10_test_data): Likewise.
5185         (log1p_test_data): Likewise.
5186         (log2_test_data): Likewise.
5187         (sin_test_data): Likewise.
5188         (sin_tonearest_test_data): Likewise.
5189         (sin_towardzero_test_data): Likewise.
5190         (sin_downward_test_data): Likewise.
5191         (sin_upward_test_data): Likewise.
5192         (sinh_test_data): Likewise.
5193         (sinh_tonearest_test_data): Likewise.
5194         (sinh_towardzero_test_data): Likewise.
5195         (sinh_downward_test_data): Likewise.
5196         (sinh_upward_test_data): Likewise.
5197         (tan_test_data): Likewise.
5198         (tan_tonearest_test_data): Likewise.
5199         (tan_towardzero_test_data): Likewise.
5200         (tan_downward_test_data): Likewise.
5201         (tan_upward_test_data): Likewise.
5202         (tanh_test_data): Likewise.
5203         (tgamma_test_data): Likewise.
5204         (y0_test_data): Likewise.
5205         (y1_test_data): Likewise.
5206         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5207         (special_real_inputs): Add pi/4.
5208         * sysdeps/i386/fpu/libm-test-ulps: Update.
5209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5211 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5213         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5214         "longjmp_target" static probes.
5215         (__longjmp): Rename to __longjmp_symbol.
5216         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5217         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5218         on which longjmp to generate.
5219         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5220         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5221         probe.
5222         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5223         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5224         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5225         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5226         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5227         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5229         __longjmp_symbol based on which __longjmp to generate.
5230         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5231         probe.
5232         (setjmp): Rename to setjmp_symbol.
5233         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5234         (_setjmp): Rename to _setjmp_symbol.
5235         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5236         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5237         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5238         which setjmp to generate.
5239         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5240         "longjmp_target" static probes.
5242 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244         * benchtests/README: Add note about output arguments.
5245         * benchtests/bench-sincos.c: Remove file.
5246         * benchtests/sincos-inputs: New file.
5247         * scripts/bench.pl: Identify output arguments and define
5248         static variables for them.
5250         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5252         [BZ #15941]
5253         * Makefile (INSTALL): Add install-plain.texi as the primary
5254         dependency.
5255         * manual/install-plain.texi: New file.
5256         * manual/install.texi: Include node directive only for
5257         non-plaintext output.
5259 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5261         * stdlib/longlong.h: Update from GCC.
5263         [BZ #6807]
5264         [BZ #15901]
5265         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5266         * math/w_j0f.c (y0f): Likewise.
5267         * math/w_j0l.c (__y0l): Likewise.
5268         * math/w_j1.c (y1): Likewise.
5269         * math/w_j1f.c (y1f): Likewise.
5270         * math/w_j1l.c (__y1l): Likewise
5271         * math/w_jn.c (yn): Likewise.
5272         * math/w_jnf.c (ynf): Likewise.
5273         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5274         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5275         value for Bessel function domain errors outside _SVID_ mode.
5276         Adjust sign of return value for yn (negative integer, 0).
5277         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5278         by zero in return for negative x and set sign appropriately for
5279         negative n.
5280         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5281         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5282         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5283         expectations in error cases.
5284         (y1_test_data): Likewise.
5285         (yn_test_data): Likewise.
5286         * sysdeps/i386/fpu/libm-test-ulps: Update.
5287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5291         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5292         "64" to "64-v1".  Add "64-v2".
5293         (abi-64-options): Rename to ...
5294         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5295         (abi-64-condition): Rename to ...
5296         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5297         (abi-64-ld-soname): Rename to ...
5298         (abi-64-v1-ld-soname): ... this.
5299         (abi-64-v2-options): Define.
5300         (abi-64-v2-condition): Likewise.
5301         (abi-64-v2-ld-soname): Likewise.
5302         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5303         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5308 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5309             Alan Modra  <amodra@gmail.com>
5311         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5312         New versions for use with the ELFv2 ABI.
5313         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5314         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5315         declaration.
5316         (struct La_ppc64v2_retval): Likewise.
5317         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5318         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5319         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5320         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5321         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5322         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5323         Do not save or restore CR.
5324         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5325         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5326         return values for ELFv2 ABI.  Fix location of FPR return registers.
5327         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5328         updated values for _CALL_ELF == 2.
5329         (La_regs, La_retval, int_retval): Likewise.
5331 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5333         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5334         (FRAME_MIN_SIZE_PARM): Likewise.
5335         (FRAME_BACKCHAIN): Likewise.
5336         (FRAME_CR_SAVE): Likewise.
5337         (FRAME_LR_SAVE): Likewise.
5338         (FRAME_TOC_SAVE): Likewise.
5339         (FRAME_PARM_SAVE): Likewise.
5340         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5341         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5342         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5343         (call_mcount_parm_offset): New macro.
5344         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5345         (PROF): Use symbolic stack frame offsets.
5346         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5347         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5348         Redefine in terms of FRAME_MIN_SIZE.
5349         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5350         (_dl_profile_resolve): Likewise.  Update comment.
5351         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5352         symbols stack frame offsets.
5353         (__sigsetjmp): Likewise.
5354         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5355         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5356         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5357         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5360         (FRAME_BACKCHAIN): Remove.
5361         (FRAME_CR_SAVE): Likewise.
5362         (FRAME_LR_SAVE): Likewise.
5363         (FRAME_COMPILER_DW): Likewise.
5364         (FRAME_LINKER_DW): Likewise.
5365         (FRAME_TOC_SAVE): Likewise.
5366         (FRAME_PARM_SAVE): Likewise.
5367         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5368         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5369         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5371         (CHECK_SP): Use symbolic stack frame offsets.
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5373         zone" instead of caller's parameter save area for temp storage.
5374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5375         Likewise.  Also, use symbolic stack frame offsets.
5376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5377         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5378         our own stack frame instead of the caller's.
5379         (__socket): Use symbolic stack frame offsets.
5381 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5382             Alan Modra  <amodra@gmail.com>
5384         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5385         Define.
5386         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5387         PPC64_LOCAL_ENTRY_OFFSET): Define.
5388         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5389         New function.
5390         (elf_machine_fixup_plt): Call it.
5391         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
5392         reloc arguments.
5393         (elf_machine_rela): Update call to elf_machine_plt_conflict.
5394         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5395         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5396         r2 before calling target.
5398 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5399             Alan Modra  <amodra@gmail.com>
5401         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5402         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5403         versions of macros to support ELFv2 ABI.
5404         (LOCALENTRY): New macro.
5405         (ENTRY, EALIGN): Use it.
5406         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5407         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5408         fall through into ENTRY entry point.
5409         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5410         Only define if _CALL_ELF != 2.
5412         (elf_machine_matches_host): Verify ABI version matches.
5413         (RTLD_START): Use LOCALENTRY.
5414         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5415         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5416         (PLT_ENTRY_WORDS): New macro.
5417         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5418         (elf_machine_runtime_setup): Support ELFv2 ABI.
5419         (elf_machine_fixup_plt): Likewise.
5420         (elf_machine_plt_conflict): Likewise.
5421         (resolve_ifunc): Likewise.
5422         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5423         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5424         Likewise.
5425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5426         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5428         (makecontext): Support ELFv2 ABI.
5429         * elf/elf.h (EF_PPC64_ABI): Define.
5431 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5433         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5434         New assembler macro.
5435         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5436         [ASSEMBLER] (ENTRY): ... but instead here ...
5437         [ASSEMBLER] (EALIGN): ... and here.
5438         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5439         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5440         [!ASSEMBLER] (ENTRY_2): Use it.
5441         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5442         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
5443         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5444         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
5445         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
5446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
5447         Use PPC64_LOAD_FUNCPTR.
5449 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5451         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
5453 2013-12-04  Alan Modra  <amodra@gmail.com>
5455         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
5456         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5457         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
5458         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
5460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
5461         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
5462         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
5463         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
5464         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
5465         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
5467 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5470         (__makecontext): Fix incorrect CFI when backtracing out of
5471         context created via makecontext.
5472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
5473         (__setcontext): Fix incorrect CFI during switch to new context.
5474         (__novec_setcontext): Likewise.
5476 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5478         [BZ #4772]
5479         * time/strptime_l.c (__strptime_internal): Allow modifiers
5480         in strptime.
5481         * time/tst-strptime.c (day_tests): Add testcase.
5484 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5486         * scripts/bench.pl: Skip over blank lines.
5488 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5490         [BZ #926]
5491         * manual/time.texi (Calendar Time): Clarify what timezone functions
5492         use.
5494 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5498 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5500         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5501         implementation.
5502         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5503         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5504         * debug/memset_chk.c (__memset_chk): Likewise.
5505         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
5506         * debug/strncpy_chk.c: Likewise.
5508 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5510         [BZ #15268]
5511         [BZ #15425]
5512         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
5513         (__ieee754_exp): For possibly underflowing results, check size of
5514         result and force underflow exception if required.
5515         * math/auto-libm-test-in: Add more tests of exp.
5516         * math/auto-libm-test-out: Regenerated.
5517         * sysdeps/i386/fpu/libm-test-ulps: Update.
5518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5520         [BZ #16283]
5521         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
5522         * math/w_exp2f.c (__exp2f): Likewise.
5523         * math/w_exp2l.c (__exp2l): Likewise.
5524         * math/auto-libm-test-in: Do not allow missing errno on exp2
5525         underflow.
5526         * math/auto-libm-test-out: Regenerated.
5528 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
5530         [BZ #16274]
5531         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5532         handle filename validation.
5533         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
5534         (do_open): Delete.
5536 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5538         [BZ #6786]
5539         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5540         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
5541         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
5542         <float.h>.
5543         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
5544         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
5545         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
5547         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5548         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
5549         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5550         * math/auto-libm-test-in: Don't allow missing errno from erfc.
5551         Add more erfc tests.
5552         * math/auto-libm-test-out: Regenerated.
5553         * sysdeps/i386/fpu/libm-test-ulps: Update.
5554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
5557         exp2, expm1, j0 and j1.
5558         * math/auto-libm-test-out: Regenerated.
5559         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
5560         (erfc_test_data): Likewise.
5561         (exp_test_data): Likewise.
5562         (exp_tonearest_test_data): Likewise.
5563         (exp_towardzero_test_data): Likewise.
5564         (exp_downward_test_data): Likewise.
5565         (exp_upward_test_data): Likewise.
5566         (exp10_test_data): Likewise.
5567         (exp2_test_data): Likewise.
5568         (expm1_test_data): Likewise.
5569         (j0_test_data): Likewise.
5570         (j1_test_data): Likewise.
5571         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
5572         (input_flag_type): Add flag_xfail_rounding.
5573         (input_flags): Add xfail-rounding.
5574         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
5575         (output_for_one_input_case): Handle flag_xfail_rounding.
5576         * sysdeps/i386/fpu/libm-test-ulps: Update.
5577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
5581         [BZ #16289]
5582         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5583         division by 0.
5585 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5587         [BZ #16195]
5588         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5589         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
5590         (STAP_PROBE0): New macro.
5591         (STAP_PROBE1): Likewise.
5592         (STAP_PROBE2): Likewise.
5593         (STAP_PROBE3): Likewise.
5594         (STAP_PROBE4): Likewise.
5596 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
5598         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5600 2013-12-02  Steve Ellcey  <sellcey@mips.com>
5602         * benchtests/Makefile (bench): Add sqrt.
5603         (LDLIBS-bench-sqrt): New.
5604         * benchtests/sqrt-input: New.
5606 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
5608         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
5609         (GAIH_EAI): Likewise.
5610         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
5611         (gaih_inet): Likewise.
5612         (getaddrinfo): Don't use GAIH_EAI.
5614         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
5615         (struct gaih): Remove definition.
5617 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5619         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
5620         Use HERRNOP directly.
5622 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5626 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
5628         * math/gen-auto-libm-tests.c (test_functions): Add more
5629         single-argument functions.
5630         (special_fill_pi_2): New function.
5631         (special_fill_minus_pi_2): Likewise.
5632         (special_fill_pi_6): Likewise.
5633         (special_fill_minus_pi_6): Likewise.
5634         (special_fill_pi_3): Likewise.
5635         (special_fill_2pi_3): Likewise.
5636         (special_fill_e): Likewise.
5637         (special_fill_1_e): Likewise.
5638         (special_fill_e_minus_1): Likewise.
5639         (special_real_inputs): Add more special inputs.
5640         (output_for_one_input_case): Do not require ERANGE on underflow to
5641         zero if round-to-nearest result does not underflow to zero, unless
5642         exact results required.
5643         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
5644         atan, atanh, cbrt, cos and cosh.
5645         * math/auto-libm-test-out: Regenerated.
5646         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
5647         (acos_tonearest_test_data): Likewise.
5648         (acos_towardzero_test_data): Likewise.
5649         (acos_downward_test_data): Likewise.
5650         (acos_upward_test_data): Likewise.
5651         (acosh_test_data): Likewise.
5652         (asin_test_data): Likewise.
5653         (asin_tonearest_test_data): Likewise.
5654         (asin_towardzero_test_data): Likewise.
5655         (asin_upward_test_data): Likewise.
5656         (asinh_test_data): Likewise.
5657         (atan_test_data): Likewise.
5658         (atanh_test_data): Likewise.
5659         (cbrt_test_data): Likewise.
5660         (cos_test_data): Likewise.
5661         (cos_tonearest_test_data): Likewise.
5662         (cos_towardzero_test_data): Likewise.
5663         (cos_downward_test_data): Likewise.
5664         (cos_upward_test_data): Likewise.
5665         (cosh_test_data): Likewise.
5666         (cosh_tonearest_test_data): Likewise.
5667         (cosh_towardzero_test_data): Likewise.
5668         (cosh_downward_test_data): Likewise.
5669         (cosh_upward_test_data): Likewise.
5670         * sysdeps/i386/fpu/libm-test-ulps: Update.
5671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5673 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
5675         [BZ #6787]
5676         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5677         * math/w_exp10f.c (__exp10f): Likewise.
5678         * math/w_exp10l.c (__exp10l): Likewise.
5679         * math/libm-test.inc (exp10_test_data): Add more tests and expect
5680         errno settings in existing tests.
5682         [BZ #14032]
5683         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5684         precision control set to double precision.
5685         * sysdeps/i386/fpu/w_sqrt.c: New file.
5686         * math/auto-libm-test-in: Add more tests.
5687         * math/auto-libm-test-out: Update.
5689         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5690         (sqrt_test_tonearest): New function.
5691         (sqrt_towardzero_test_data): New variable.
5692         (sqrt_test_towardzero): New function.
5693         (sqrt_downward_test_data): New variable.
5694         (sqrt_test_downward): New function.
5695         (sqrt_upward_test_data): New variable.
5696         (sqrt_test_upward): New function.
5697         (main): Call the new functions.
5699         * math/gen-auto-libm-tests.c: New file.
5700         * math/auto-libm-test-in: Likewise.
5701         * math/auto-libm-test-out: New generated file.
5702         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5703         variables.
5704         (%beautify): Add generated representations of zero.
5705         (top level): Set $auto_input and call parse_auto_input.
5706         (beautify): Remove trailing "f" from hex float constants.
5707         (parse_args): Handle XFAIL_TEST.
5708         (convert_condition): New function.
5709         (or_value): Likewise.
5710         (or_cond_value): Likewise.
5711         (generate_testfile): Handle AUTO_TESTS_* lines.
5712         (parse_auto_input): New function.
5713         * math/libm-test.inc (XFAIL_TEST): New macro.
5714         (ERRNO_UNCHANGED): Update value.
5715         (ERRNO_EDOM): Likewise.
5716         (ERRNO_ERANGE): Likewise.
5717         (IGNORE_RESULT): Likewise.
5718         (TEST_COND_flt_32): New macro.
5719         (TEST_COND_dbl_64): Likewise.
5720         (TEST_COND_ldbl_96_intel): Likewise.
5721         (TEST_COND_ldbl_96_m68k): Likewise.
5722         (TEST_COND_ldbl_128): Likewise.
5723         (TEST_COND_ldbl_128ibm): Likewise.
5724         (TEST_COND_long32): Likewise.
5725         (TEST_COND_long64): Likewise.
5726         (TEST_COND_before_rounding): Likewise.
5727         (TEST_COND_after_rounding): Likewise.
5728         (enable_test): Handle XFAIL_TEST flag.
5729         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5730         with finite results.
5731         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5732         auto-libm-test-out.
5734 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5735             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5737         [BZ #16214]
5738         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5739         __tls_get_addr_internal instead of __tls_get_offset in order to
5740         avoid GOT pointer dependency.  Make rtld export
5741         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5742         __tls_get_addr since we are a __tls_get_offset platform.
5743         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5744         GOT pointer being set up before.
5745         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5747 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
5749         * manual/math.texi (Errors in Math Functions): Document accuracy
5750         goals.
5752         [BZ #15004]
5753         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5754         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5755         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5756         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5757         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5758         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5759         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5760         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5761         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5762         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5763         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5764         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5765         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5766         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5767         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5768         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5770         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5771         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5772         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5773         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5774         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5775         Likewise.
5776         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5777         Likewise.
5778         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5779         Likewise.
5780         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5781         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5782         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5783         atomic-feupdateenv and flt-rounds.
5784         * sysdeps/powerpc/nofpu/Versions (libc): Add
5785         __atomic_feholdexcept, __atomic_feclearexcept,
5786         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5787         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5788         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5790         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5791         here.
5792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5793         Update.
5795         * manual/arith.texi (FP Exceptions): Document that exceptions may
5796         not be raised when matherr is used.
5797         (Math Error Reporting): Document overflow in directed rounding
5798         modes.  Document that errno may not be set when finite values are
5799         returned on overflow.  Document intent to set errno on underflow
5800         only for underflow to zero.
5802         [BZ #16271]
5803         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5804         round-to-nearest then adjust result for other rounding modes.
5805         * include/fenv.h (fegetround): Use libm_hidden_proto.
5806         * math/fegetround.c (fegetround): Use libm_hidden_def.
5807         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5808         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5809         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5810         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5811         Likewise.
5812         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5813         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5814         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5815         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5817 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5819         [BZ #16077]
5820         * nss/Versions (libnss_files): Add
5821         _nss_files_gethostbyname3_r.
5822         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5823         New function.
5824         (HOST_DB_LOOKUP): Remove macro.
5825         (_nss_files_gethostbyname_r): Implement function without the
5826         HOST_DB_LOOKUP macro.
5827         (_nss_files_gethostbyname2_r): Likewise.
5829 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
5831         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5833 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
5835         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5836         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5837         warning.
5839 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5841         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5842         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5843         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5844         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5845         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5846         __fe_nomask_env_priv and attribute_hidden.
5847         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5848         (libc_feupdateenv_test_ppc): Likewise.
5849         (libc_feresetround_ppc): Likewise.
5850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5851         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5852         compat_symbol macro.
5853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5854         (__fe_nomask_env): Likewise.
5855         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5857 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5859         * string/Makefile: Remove ifunc tests.
5860         * string/test-string.h: Define TEST_IFUNC.
5861         * string/test-bcopy-ifunc.c: Remove.
5862         * string/test-bzero-ifunc.c: Likewise.
5863         * string/test-memccpy-ifunc.c: Likewise.
5864         * string/test-memchr-ifunc.c: Likewise.
5865         * string/test-memcmp-ifunc.c: Likewise.
5866         * string/test-memcpy-ifunc.c: Likewise.
5867         * string/test-memmem-ifunc.c: Likewise.
5868         * string/test-memmove-ifunc.c: Likewise.
5869         * string/test-mempcpy-ifunc.c: Likewise.
5870         * string/test-memrchr-ifunc.c: Likewise.
5871         * string/test-memset-ifunc.c: Likewise.
5872         * string/test-rawmemchr-ifunc.c: Likewise.
5873         * string/test-stpcpy-ifunc.c: Likewise.
5874         * string/test-stpncpy-ifunc.c: Likewise.
5875         * string/test-strcasecmp-ifunc.c: Likewise.
5876         * string/test-strcasestr-ifunc.c: Likewise.
5877         * string/test-strcat-ifunc.c: Likewise.
5878         * string/test-strchr-ifunc.c: Likewise.
5879         * string/test-strchrnul-ifunc.c: Likewise.
5880         * string/test-strcmp-ifunc.c: Likewise.
5881         * string/test-strcpy-ifunc.c: Likewise.
5882         * string/test-strcspn-ifunc.c: Likewise.
5883         * string/test-strlen-ifunc.c: Likewise.
5884         * string/test-strncasecmp-ifunc.c: Likewise.
5885         * string/test-strncat-ifunc.c: Likewise.
5886         * string/test-strncmp-ifunc.c: Likewise.
5887         * string/test-strncpy-ifunc.c: Likewise.
5888         * string/test-strnlen-ifunc.c: Likewise.
5889         * string/test-strpbrk-ifunc.c: Likewise.
5890         * string/test-strrchr-ifunc.c: Likewise.
5891         * string/test-strspn-ifunc.c: Likewise.
5892         * string/test-strstr-ifunc.c: Likewise.
5894 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5896         * benchtests/Makefile: Remove ifunc tests.
5897         * benchtests/bench-string.h: Define TEST_IFUNC.
5898         * benchtests/bench-bcopy-ifunc.c: Remove.
5899         * benchtests/bench-bzero-ifunc.c: Likewise.
5900         * benchtests/bench-memccpy-ifunc.c: Likewise.
5901         * benchtests/bench-memchr-ifunc.c: Likewise.
5902         * benchtests/bench-memcmp-ifunc.c: Likewise.
5903         * benchtests/bench-memcpy-ifunc.c: Likewise.
5904         * benchtests/bench-memmem-ifunc.c: Likewise.
5905         * benchtests/bench-memmove-ifunc.c: Likewise.
5906         * benchtests/bench-mempcpy-ifunc.c: Likewise.
5907         * benchtests/bench-memrchr-ifunc.c: Likewise.
5908         * benchtests/bench-memset-ifunc.c: Likewise.
5909         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5910         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5911         * benchtests/bench-stpcpy-ifunc.c: Likewise.
5912         * benchtests/bench-stpncpy-ifunc.c: Likewise.
5913         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5914         * benchtests/bench-strcasestr-ifunc.c: Likewise.
5915         * benchtests/bench-strcat-ifunc.c: Likewise.
5916         * benchtests/bench-strchr-ifunc.c: Likewise.
5917         * benchtests/bench-strchrnul-ifunc.c: Likewise.
5918         * benchtests/bench-strcmp-ifunc.c: Likewise.
5919         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5920         * benchtests/bench-strcpy-ifunc.c: Likewise.
5921         * benchtests/bench-strcspn-ifunc.c: Likewise.
5922         * benchtests/bench-strlen-ifunc.c: Likewise.
5923         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5924         * benchtests/bench-strncat-ifunc.c: Likewise.
5925         * benchtests/bench-strncmp-ifunc.c: Likewise.
5926         * benchtests/bench-strncpy-ifunc.c: Likewise.
5927         * benchtests/bench-strnlen-ifunc.c: Likewise.
5928         * benchtests/bench-strpbrk-ifunc.c: Likewise.
5929         * benchtests/bench-strrchr-ifunc.c: Likewise.
5930         * benchtests/bench-strsep-ifunc.c: Likewise.
5931         * benchtests/bench-strspn-ifunc.c: Likewise.
5932         * benchtests/bench-strstr-ifunc.c: Likewise.
5934 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5936         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5938 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5940         * resolv/netdb.h: Use __glibc_reserved instead __unused.
5941         * rt/aio.h: Likewise.
5942         * sysdeps/gnu/bits/utmp.h: Likewise.
5943         * sysdeps/gnu/bits/utmpx.h: Likewise.
5944         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5945         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5946         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5947         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5948         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5949         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5950         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5951         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5952         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5954         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5956         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5958         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5959         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5960         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5961         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5962         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5963         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5964         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5965         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5966         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5967         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5968         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5970         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5971         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5972         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5973         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5974         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5975         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5976         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5977         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5978         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5979         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5980         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5981         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5982         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5983         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5984         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5985         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5987 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
5989         [BZ #16245]
5990         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5991         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5993 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
5995         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5996         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5997         Likewise.
5999 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6001         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6002         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6003         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6004         (__fesetround): Remove define.
6005         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6006         rounding and exceptions handling.
6007         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6008         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6009         (__fe_nomask_env): Likewise.
6010         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6011         __fegetround instead of fegetround.
6012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6013         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6015 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6017         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6018         it's there.
6020         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6022 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6024         [BZ #11157]
6025         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6026         (encrypt_r): Likewise.
6027         * malloc/obstack.h (obstack_free): Likewise.
6028         * posix/unistd.h (encrypt): Likewise.
6030 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6032         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6033         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6034         DL_CALL_DT_FINI() that call the functions directly.
6035         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6036         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6037         * elf/dl-fini.c: Likewise.
6039 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6041         * malloc/hooks.c (memalign_check): Add alignment rounding.
6042         * malloc/malloc.c (_mid_memalign): New function.
6043         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6044         Implement by calling _mid_memalign.
6045         * manual/probes.texi (Memory Allocation Probes): Remove
6046         memory_valloc_retry and memory_pvalloc_retry.
6048 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6050         * locale/programs/locarchive.c (open_archive): Add const
6051         qualifier to ARCHIVEFNAME and copy default fname to
6052         DEFAULT_FNAME.
6054         [BZ #15601]
6055         * libio/tst-widetext.input: Rename Oriya to Odia.
6056         * locale/iso-639.def: Likewise.
6058         * manual/probes.texi (Mathematical Function Probes): Add
6059         documentation for sin, cos, asin and acos probes.
6060         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6061         (__sin32): Add slowasin probe.
6062         (__cos32): Add slowacos probe.
6063         (__mpsin): Add slowsin probe.
6064         (__mpcos): Add slowcos probe.
6066 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6068         [BZ #15483]
6069         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6070         thread-local __sim_exceptions_thread and global
6071         __sim_exceptions_global.
6072         (__sim_disabled_exceptions): Change to thread-local
6073         __sim_disabled_exceptions_thread and global
6074         __sim_disabled_exceptions_global.
6075         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6076         and global __sim_round_mode_global.
6077         (__simulate_exceptions): Use thread-local floating-point state and
6078         set global state from it as needed.
6079         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6080         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6081         __sim_round_mode_thread.
6082         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6083         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6084         and global __sim_exceptions_global.
6085         (__sim_disabled_exceptions): Change to thread-local
6086         __sim_disabled_exceptions_thread and global
6087         __sim_disabled_exceptions_global.
6088         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6089         and global __sim_round_mode_global.
6090         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6091         (SIM_SET_GLOBAL): Likewise.
6092         * sysdeps/powerpc/soft-fp/sfp-machine.h
6093         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6094         __sim_round_mode_thread.
6095         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6096         __sim_disabled_exceptions_thread.
6097         (__sim_exceptions): Change to __sim_exceptions_thread.
6098         (__sim_disabled_exceptions): Change to
6099         __sim_disabled_exceptions_thread.
6100         (__sim_round_mode): Change to __sim_round_mode_thread.
6101         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6102         thread-local floating-point state and set global state from it as
6103         needed.
6104         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6105         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6106         (__sim_disabled_exceptions): Remove extern declaration.
6107         (feenableexcept): Use thread-local floating-point state and set
6108         global state from it as needed.
6109         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6110         extern declaration.
6111         (__sim_disabled_exceptions): Likewise.
6112         (__sim_round_mode): Likewise.
6113         (__fegetenv): Use thread-local floating-point state.
6114         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6115         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6116         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6117         floating-point state and set global state from it as needed.
6118         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6119         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6120         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6121         Likewise.
6122         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6123         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6124         Likewise.
6125         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6126         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6127         Use __sim_round_mode_thread.
6128         * math/test-fenv-tls.c: New file.
6129         * math/Makefile (tests): Add test-fenv-tls.
6130         ($(objpfx)test-fenv-tls): Depend on
6131         $(common-objpfx)nptl/libpthread.so.
6133 2013-11-19  Andreas Schwab  <schwab@suse.de>
6135         * locale/programs/locale.c (show_info): Decode wordarray elements.
6136         * locale/categories.def (LC_MONETARY): Add element for
6137         _NL_MONETARY_CRNCYSTR.
6138         * locale/C-monetary.c (conversion_rate): New variable.
6139         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6140         element.
6142 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6144         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6145         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6147 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6149         * elf/Makefile (tst-auxv): New test.
6150         * elf/tst-auxv.c: New
6151         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6153 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6155         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6156         (hidden_proto): Caller changed.
6157         (hidden_tls_proto): New macro.
6158         (libc_hidden_tls_proto): Likewise.
6159         (rtld_hidden_tls_proto): Likewise.
6160         (libm_hidden_tls_proto): Likewise.
6161         (libresolv_hidden_tls_proto): Likewise.
6162         (librt_hidden_tls_proto): Likewise.
6163         (libdl_hidden_tls_proto): Likewise.
6164         (libnss_files_hidden_tls_proto): Likewise.
6165         (libnsl_hidden_tls_proto): Likewise.
6166         (libnss_nisplus_hidden_tls_proto): Likewise.
6167         (libutil_hidden_tls_proto): Likewise.
6169 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6171         [BZ #10253]
6172         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6173         (decompose_rpath): Defer expansion to fillin_rpath.
6174         (_dl_init_paths): Pass linkmap to fillin_rpath.
6176 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6178         * benchtests/Makefile: Add strsep.
6179         * benchtests/bench-strsep.c: New file: strsep benchtest.
6180         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6182 2013-11-18  Andreas Schwab  <schwab@suse.de>
6184         * locale/programs/locale.c (show_info) [case byte]: Check for
6185         '\377' instead of '\177'.
6186         * locale/C-monetary.c (not_available): Always use "\377".
6187         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6188         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6189         detect unavailable sign_posn locale elements.
6190         * locale/localeconv.c (__localeconv): For grouping and
6191         mon_grouping handle "\177" and "\377" like no grouping.
6192         (INT_ELEM): New macro.  Use it to set all numeric members.
6193         * locale/programs/ld-monetary.c (monetary_read)
6194         <tok_mon_grouping>: Normalize single -1 to the empty string.
6195         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6196         Likewise.
6198 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6200         [BZ #16055]
6201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6202         when we match (nil).
6203         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6205 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6207         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6208         (NO_TEST_INLINE): Update value.
6209         (ERRNO_UNCHANGED): Likewise.
6210         (ERRNO_EDOM): Likewise.
6211         (ERRNO_ERANGE): Likewise.
6212         (IGNORE_RESULT): Likewise.
6213         (check_float_internal): Check signs of NaN results if
6214         TEST_NAN_SIGN used.
6215         (check_complex): Pass TEST_NAN_SIGN flag through to second
6216         check_float_internal call.
6217         (copysign_test_data): Add tests with quiet NaNs as second
6218         argument.  Use TEST_NAN_SIGN.
6219         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6220         TEST_NAN_SIGN.
6221         (signbit_test_data): Add tests of quiet NaN argument.
6222         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6224         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6225         $ignore_result.
6226         (parse_args): Handle function results specified as IGNORE.
6227         * math/libm-test.inc (IGNORE_RESULT): New macro.
6228         (check_float_internal): Do not check numerical result if flag
6229         IGNORE_RESULT set.
6230         (check_complex): Pass through IGNORE_RESULT to second
6231         check_float_internal call.
6232         (check_int): Do not check numerical result if flag IGNORE_RESULT
6233         set.
6234         (check_long): Likewise.
6235         (check_bool): Likewise.
6236         (check_longlong): Likewise.
6237         (lrint_test_data): Add tests of infinite and NaN arguments.
6238         (lrint_tonearest_test_data): Likewise.
6239         (lrint_towardzero_test_data): Likewise.
6240         (lrint_downward_test_data): Likewise.
6241         (lrint_upward_test_data): Likewise.
6242         (llrint_test_data): Likewise.
6243         (llrint_tonearest_test_data): Likewise.
6244         (llrint_towardzero_test_data): Likewise.
6245         (llrint_downward_test_data): Likewise.
6246         (llrint_upward_test_data): Likewise.
6247         (lround_test_data): Likewise.
6248         (llround_test_data): Likewise.
6250         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6251         (ERRNO_UNCHANGED): Update value.
6252         (ERRNO_EDOM): Likewise.
6253         (ERRNO_ERANGE): Likewise.
6254         (NO_TEST_INLINE_FLOAT): New macro.
6255         (NO_TEST_INLINE_DOUBLE): Likewise.
6256         (enable_test): New function.
6257         (RUN_TEST_f_f): Check enable_test before running test.
6258         (RUN_TEST_2_f): Likewise.
6259         (RUN_TEST_fff_f): Likewise.
6260         (RUN_TEST_c_f): Likewise.
6261         (RUN_TEST_f_f1): Likewise.
6262         (RUN_TEST_fF_f1): Likewise.
6263         (RUN_TEST_fI_f1): Likewise.
6264         (RUN_TEST_ffI_f1): Likewise.
6265         (RUN_TEST_c_c): Likewise.
6266         (RUN_TEST_cc_c): Likewise.
6267         (RUN_TEST_f_i): Likewise.
6268         (RUN_TEST_f_i_tg): Likewise.
6269         (RUN_TEST_ff_i_tg): Likewise.
6270         (RUN_TEST_f_b): Likewise.
6271         (RUN_TEST_f_b_tg): Likewise.
6272         (RUN_TEST_f_l): Likewise.
6273         (RUN_TEST_f_L): Likewise.
6274         (RUN_TEST_fFF_11): Likewise.
6275         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6276         conditionals.
6277         (cosh_test_data): Likewise.
6278         (exp_test_data): Likewise.
6279         (expm1_test_data): Likewise.
6280         (hypot_test_data): Likewise.
6281         (pow_test_data): Likewise.
6282         (sinh_test_data): Likewise.
6283         (tanh_test_data): Likewise.
6284         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6285         flags argument.
6287         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6288         tests with quiet NaN input and output.
6289         (acosh_test_data): Likewise.
6290         (asin_test_data): Likewise.
6291         (asinh_test_data): Likewise.
6292         (atan_test_data): Likewise.
6293         (atanh_test_data): Likewise.
6294         (atan2_test_data): Likewise.
6295         (cbrt_test_data): Likewise.
6296         (cos_test_data): Likewise.
6297         (cosh_test_data): Likewise.
6298         (erf_test_data): Likewise.
6299         (erfc_test_data): Likewise.
6300         (exp_test_data): Likewise.
6301         (exp10_test_data): Likewise.
6302         (exp2_test_data): Likewise.
6303         (expm1_test_data): Likewise.
6304         (hypot_test_data): Likewise.
6305         (j0_test_data): Likewise.
6306         (j1_test_data): Likewise.
6307         (jn_test_data): Likewise.
6308         (lgamma_test_data): Likewise.
6309         (log_test_data): Likewise.
6310         (log10_test_data): Likewise.
6311         (log1p_test_data): Likewise.
6312         (log2_test_data): Likewise.
6313         (pow_test_data): Likewise.
6314         (scalb_test_data): Likewise.
6315         (sin_test_data): Likewise.
6316         (sincos_test_data): Likewise.
6317         (sinh_test_data): Likewise.
6318         (tan_test_data): Likewise.
6319         (tanh_test_data): Likewise.
6320         (tgamma_test_data): Likewise.
6321         (y0_test_data): Likewise.
6322         (y1_test_data): Likewise.
6323         (yn_test_data): Likewise.
6325         [BZ #16167]
6326         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6327         argument being NaN and avoid computations with second argument in
6328         that case.
6329         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6330         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6331         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6333 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6335         * locale/iso-639.def: Add Chitwani Tharu (the).
6337 2013-11-14  Andreas Schwab  <schwab@suse.de>
6339         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6340         word instead of empty string.
6342 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6345         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6347         (__fe_nomask_env): Likewise.
6349 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6351         * benchtests/bench-timing.h: Include time.h.
6353 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6355         [BZ #15997]
6356         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6357         to 3.4.0 for x32.
6358         * sysdeps/unix/sysv/linux/configure: Regenerated.
6360 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
6362         [BZ #16151]
6363         * stdlib/strtod_l.c (round_and_return): Do not consider
6364         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6365         exponent one less than half the least subnormal exponent.
6366         * stdlib/test-strtod-round-data: Add more tests.
6367         * stdlib/tst-strtod-round.c (tests): Regenerated.
6369 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6371         [BZ #14143]
6372         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6373         (__fe_mask_env): Likewise.
6374         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6375         libm_hidden_proto and add function prototype.
6376         (__fe_mask_env): Add function prototype.
6377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6378         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6380         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6382         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6384 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6386         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6387         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6389 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6391         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6392         of htab_find_slot().
6394 2013-11-11  David S. Miller  <davem@davemloft.net>
6396         [BZ #16150]
6397         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6398         symbol in the non-vis3 case in static builds.
6399         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6400         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6401         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6402         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6404 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6406         [BZ #387]
6407         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6408         it is empty.
6410 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6412         * benchtests/Makefile: Add bench-strtod.
6413         * benchtests/bench-strtod.c: New file: strtod benchtest
6415 2013-11-11  Andreas Schwab  <schwab@suse.de>
6417         [BZ #16153]
6418         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6419         terminating NUL in key length.
6421 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6423         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6424         Add artificial ODP entry for vDSO symbol for PPC64.
6425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6426         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6428 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6430         [BZ #15374]
6431         * nss/getent.c (services_keys): Recognize services starting with digit.
6433 2013-11-06  David S. Miller  <davem@davemloft.net>
6435         [BZ #15985]
6436         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6437         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6439 2013-11-06  Will Newton  <will.newton@linaro.org>
6441         * manual/memory.texi (Malloc Examples): Remove register
6442         keyword from examples.
6444 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
6446         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
6448 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
6450         [BZ #6981]
6451         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
6452         depending on [__GCC_IEC_559 > 0].
6453         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
6454         depending on [__GCC_IEC_559_COMPLEX > 0].
6456 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
6458         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
6459         to iso-639.def.
6461 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
6463         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
6465 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
6467         [BZ #16112]
6468         * malloc/malloc (malloc_info): Do not handle first bin as
6469         special case.
6471 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
6473         * locale/iso-639.def: Add Central Nahuatl (nhn).
6475 2013-11-01  Bruno Haible  <bruno@clisp.org>
6477         [BZ #7003]
6478         * manual/math.texi (BSD Random): Specify range upper bound as
6479         in POSIX.
6481 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
6483         * locale/iso-639.def: Add Meadow Mari (mhr).
6485 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
6487         [BZ #14752], [BZ #15763]
6488         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
6489         Validate name.
6490         * rt/tst_shm.c: Add test for escaping directory.
6492 2013-10-31  Andreas Schwab  <schwab@suse.de>
6494         [BZ #15917]
6495         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
6496         followed by 'x' as part of digit sequence.
6497         * stdio-common/tst-sscanf.c (double_tests2): New tests.
6499 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6501         [BZ #16037]
6502         * configure.ac: allow GNU Make 4.0 and greater.
6503         * configure: Regenerated.
6505 2013-10-30  Will Newton  <will.newton@linaro.org>
6507         [BZ #16038]
6508         * malloc/hooks.c (memalign_check): Limit alignment to the
6509         maximum representable power of two.
6510         * malloc/malloc.c (__libc_memalign): Likewise.
6511         * malloc/tst-memalign.c (do_test): Add test for very
6512         large alignment values.
6513         * malloc/tst-posix_memalign.c (do_test): Likewise.
6515 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6517         [BZ #11087]
6518         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
6519         (munmap_chunk): Likewise.
6520         (mremap_chunk): Likewise.
6522 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6524         [BZ #15799]
6525         * stdlib/div.c (div): Remove obsolete code.
6526         * stdlib/ldiv.c (ldiv): Likewise.
6527         * stdlib/lldiv.c (lldiv): Likewise.
6529 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6531         [BZ #16071]
6532         * nss/nss_files/files-XXX.c (get_contents_ret): New
6533         enumerator.
6534         (get_contents): New function.
6535         (internal_getent): Use it.  Expand size of LINEBUFLEN.
6537 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
6539         * configure.in: Moved to ...
6540         * configure.ac: ... here. Change reference to configure.in
6541         to configure.ac.
6542         * sysdeps/arm/preconfigure.ac: ... here.
6543         configure.in to configure.ac.
6544         * sysdeps/gnu/configure.in: Moved to ...
6545         * sysdeps/gnu/configure.ac: ... here.
6546         * sysdeps/i386/configure.in: Moved to ...
6547         * sysdeps/i386/configure.ac: ... here.
6548         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
6549         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
6550         * sysdeps/mach/configure.in: Moved to ...
6551         * sysdeps/mach/configure.ac: ... here.
6552         * sysdeps/mach/hurd/configure.in: Moved to ...
6553         * sysdeps/mach/hurd/configure.ac: ... here.
6554         * sysdeps/powerpc/configure.in: Moved to ...
6555         * sysdeps/powerpc/configure.ac: ... here.
6556         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
6557         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
6558         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
6559         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
6560         * sysdeps/s390/s390-32/configure.in: Moved to ...
6561         * sysdeps/s390/s390-32/configure.ac: ... here.
6562         * sysdeps/s390/s390-64/configure.in: Moved to ...
6563         * sysdeps/s390/s390-64/configure.ac: ... here.
6564         * sysdeps/sh/configure.in: Moved to ...
6565         * sysdeps/sh/configure.ac: ... here.
6566         * sysdeps/sparc/configure.in: Moved to ...
6567         * sysdeps/sparc/configure.ac: ... here.
6568         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
6569         * sysdeps/unix/sysv/linux/configure.ac: ... here.
6570         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
6571         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
6572         * sysdeps/x86_64/configure.in: Moved to ...
6573         * sysdeps/x86_64/configure.ac: ... here.
6574         * sysdeps/x86_64/preconfigure.in: Moved to ...
6575         * sysdeps/x86_64/preconfigure.ac: ... here.
6576         * aclocal.m4: Change reference to configure.in to configure.ac.
6577         * config.h.in: Likewise.
6578         * manual/install.texi: Likewise.
6579         * manual/maint.texi: Likewise.
6580         * Makefile: Likewise.
6581         * malloc/Makefile: Likewise.
6582         * nscd/Makefile: Likewise.
6583         * Makeconfig: Change reference to configure.in and
6584         preconfigure.in to configure.ac and preconfigure.ac
6585         respectively.
6586         * INSTALL: Regenerated.
6587         * configure: Likewise.
6588         * sysdeps/gnu/configure: Likewise.
6589         * sysdeps/i386/configure: Likewise.
6590         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
6591         * sysdeps/mach/configure: Likewise.
6592         * sysdeps/mach/hurd/configure: Likewise.
6593         * sysdeps/powerpc/configure: Likewise.
6594         * sysdeps/powerpc/powerpc32/configure: Likewise.
6595         * sysdeps/powerpc/powerpc64/configure: Likewise.
6596         * sysdeps/s390/s390-32/configure: Likewise.
6597         * sysdeps/s390/s390-64/configure: Likewise.
6598         * sysdeps/sh/configure: Likewise.
6599         * sysdeps/sparc/configure: Likewise.
6600         * sysdeps/unix/sysv/linux/configure: Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
6602         * sysdeps/x86_64/configure: Likewise.
6603         * sysdeps/x86_64/preconfigure: Likewise.
6605 2013-10-29  Andreas Schwab  <schwab@suse.de>
6607         * stdio-common/Makefile (tst-swscanf-ENV): Define.
6609 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6611         * benchtests/pow-inputs: Add new inputs.
6613         * benchtests/exp-inputs: Add new inputs.
6615         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
6616         conditional check for return value.
6617         (__cos32): Likewise.
6619 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6621         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
6622         to provide a boost for large inputs with word alignment.
6623         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
6624         implementation based on optimized PPC64 strcpy.
6625         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
6626         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
6627         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
6628         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
6630 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6632         [BZ #2801]
6633         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
6635 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6637         [BZ #14876]
6638         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
6639         * time/tst-strptime.c (day_tests): Add testcase.
6641 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6643         [BZ #14029]
6644         * manual/pattern.texi: Acknowledge that fnmatch can fail.
6646 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
6648         [BZ #16074]
6649         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
6650         MAP_FAILED on error.
6652 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6654         [BZ #16072]
6655         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
6656         heap for large requests.
6658 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
6660         [BZ #9954]
6661         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
6662         result if the result has no associated interface.
6663         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
6664         interface for all 127.X.Y.Z addresses.
6666 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
6668         * locale/iso-639.def: Add Ligurian (lij)
6670 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
6672         [BZ #15825]
6673         * sunrpc/rpc_main.c: Document rpcgen -5.
6675 2013-10-19  Michael Stahl  <mstahl@redhat.com>
6677         * elf/rtld.c (do_preload): Print the reason why preloading failed.
6679 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6681         [BZ #10278]
6682         * posix/glob.c: Match only directories when trailing slash is present.
6683         * posix/tst-gnuglob.c (my_opendir): Do not open files.
6684         (main): Add testcase.
6686 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6688         [BZ #15670]
6689         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6691 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
6693         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6694         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6695         AUTH_DES and cindex for FIPS 140-2.
6696         (DES Encryption): Add cindex FIPS 46-3.
6698         * locale/locarchive.h (struct locarhandle): Add fname.
6699         * locale/programs/localedef.c (main): Pass ARGV[remaining]
6700         if an optional argument was specified to --list-archive,
6701         otherwise NULL.
6702         * locale/programs/locarchive.c (show_archive_content): Take new
6703         argument fname and pass it via ah.fname to open_archive.
6704         * locale/programs/localedef.h: Update decl.
6705         (open_archive): If AH->fname is non-null, open that file
6706         rather than the default file name, and don't ignore ENOENT.
6707         (create_archive): Set AH.fname to NULL.
6708         (delete_locales_from_archive): Likewise.
6709         (add_locales_to_archive): Likewise.
6710         * locale/programs/locfile.c (write_all_categories): Likewise.
6712 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
6713             Aldy Hernandez  <aldyh@redhat.com>
6715         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6716         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6717         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6718         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6719         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6721         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6722         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6723         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6724         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6725         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6726         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6727         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6728         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6729         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6730         Likewise.
6731         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6732         Likewise.
6733         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6734         Likewise.
6735         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6736         Likewise.
6737         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6738         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6739         Likewise.
6740         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6741         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6742         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6743         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6744         Likewise.
6745         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6746         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6747         * sysdeps/powerpc/preconfigure: Likewise.
6748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6749         Likewise.
6750         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6751         Replace contents of file by #include of <fenv_libc.h>.
6752         * sysdeps/powerpc/soft-fp/sfp-machine.h
6753         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6754         and <sys/prctl.h>.
6755         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6757         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6758         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6759         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6760         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6762         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6768         Allow copysignl PLT reference to be missing.
6770 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
6771             Joseph Myers  <joseph@codesourcery.com
6773         [BZ #15948]
6774         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6775         single character.
6776         (add_to_tablewc): Assert sequence of wide characters is nonempty.
6778 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6780         * elf/tst-tls-dlinfo.c: Don't include tls.h.
6781         * elf/tst-tls1.c: Likewise.
6782         * elf/tst-tls10.h: Likewise.
6783         * elf/tst-tls14.c: Likewise.
6784         * elf/tst-tls2.c: Likewise.
6785         * elf/tst-tls3.c: Likewise.
6786         * elf/tst-tls4.c: Likewise.
6787         * elf/tst-tls5.c: Likewise.
6788         * elf/tst-tls6.c: Likewise.
6789         * elf/tst-tls7.c: Likewise.
6790         * elf/tst-tls8.c: Likewise.
6791         * elf/tst-tls9.c: Likewise.
6792         * elf/tst-tlsmod1.c: Likewise.
6793         * elf/tst-tlsmod13.c: Likewise.
6794         * elf/tst-tlsmod13a.c: Likewise.
6795         * elf/tst-tlsmod14a.c: Likewise.
6796         * elf/tst-tlsmod16a.c: Likewise.
6797         * elf/tst-tlsmod16b.c: Likewise.
6798         * elf/tst-tlsmod2.c: Likewise.
6799         * elf/tst-tlsmod3.c: Likewise.
6800         * elf/tst-tlsmod4.c: Likewise.
6801         * elf/tst-tlsmod5.c: Likewise.
6802         * elf/tst-tlsmod6.c: Likewise.
6804 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
6806         [BZ #12486]
6807         * malloc/malloc.c: remove checks for statistics.
6809 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6811         [BZ #15277]
6812         * inet/inet_net.c (inet_network): Detect additional invalid strings.
6813         * inet/tst-network.c: Add testcase.
6815 2013-10-17  Andreas Schwab  <schwab@suse.de>
6817         [BZ #15218]
6818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6819         to determine canonical name.
6821 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6823         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6824         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6826         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6829         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6831         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6832         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6833         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6835         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6836         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6838         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6840         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6841         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6846         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6847         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6848         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6849         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6850         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6851         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6852         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6853         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6854         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6855         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6856         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6857         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6858         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6859         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6860         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6861         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6863         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6864         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6865         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6866         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6867         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6868         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6869         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6870         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6871         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6872         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6873         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6874         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6875         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6876         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6877         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6878         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6880         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6882 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
6884         [BZ #16041]
6885         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6886         make result into a quiet NaN.
6888 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
6890         * soft-fp/adddf3.c: Fix horizontal whitespace.
6891         * soft-fp/addsf3.c: Likewise.
6892         * soft-fp/addtf3.c: Likewise.
6893         * soft-fp/divdf3.c: Likewise.
6894         * soft-fp/divsf3.c: Likewise.
6895         * soft-fp/divtf3.c: Likewise.
6896         * soft-fp/double.h: Likewise.
6897         * soft-fp/eqdf2.c: Likewise.
6898         * soft-fp/eqsf2.c: Likewise.
6899         * soft-fp/eqtf2.c: Likewise.
6900         * soft-fp/extenddftf2.c: Likewise.
6901         * soft-fp/extended.h: Likewise.
6902         * soft-fp/extendsfdf2.c: Likewise.
6903         * soft-fp/extendsftf2.c: Likewise.
6904         * soft-fp/extendxftf2.c: Likewise.
6905         * soft-fp/fixdfdi.c: Likewise.
6906         * soft-fp/fixdfsi.c: Likewise.
6907         * soft-fp/fixdfti.c: Likewise.
6908         * soft-fp/fixsfdi.c: Likewise.
6909         * soft-fp/fixsfsi.c: Likewise.
6910         * soft-fp/fixsfti.c: Likewise.
6911         * soft-fp/fixtfdi.c: Likewise.
6912         * soft-fp/fixtfsi.c: Likewise.
6913         * soft-fp/fixtfti.c: Likewise.
6914         * soft-fp/fixunsdfdi.c: Likewise.
6915         * soft-fp/fixunsdfsi.c: Likewise.
6916         * soft-fp/fixunsdfti.c: Likewise.
6917         * soft-fp/fixunssfdi.c: Likewise.
6918         * soft-fp/fixunssfsi.c: Likewise.
6919         * soft-fp/fixunssfti.c: Likewise.
6920         * soft-fp/fixunstfdi.c: Likewise.
6921         * soft-fp/fixunstfsi.c: Likewise.
6922         * soft-fp/fixunstfti.c: Likewise.
6923         * soft-fp/floatdidf.c: Likewise.
6924         * soft-fp/floatdisf.c: Likewise.
6925         * soft-fp/floatditf.c: Likewise.
6926         * soft-fp/floatsidf.c: Likewise.
6927         * soft-fp/floatsisf.c: Likewise.
6928         * soft-fp/floatsitf.c: Likewise.
6929         * soft-fp/floattidf.c: Likewise.
6930         * soft-fp/floattisf.c: Likewise.
6931         * soft-fp/floattitf.c: Likewise.
6932         * soft-fp/floatundidf.c: Likewise.
6933         * soft-fp/floatundisf.c: Likewise.
6934         * soft-fp/floatunditf.c: Likewise.
6935         * soft-fp/floatunsidf.c: Likewise.
6936         * soft-fp/floatunsisf.c: Likewise.
6937         * soft-fp/floatunsitf.c: Likewise.
6938         * soft-fp/floatuntidf.c: Likewise.
6939         * soft-fp/floatuntisf.c: Likewise.
6940         * soft-fp/floatuntitf.c: Likewise.
6941         * soft-fp/fmadf4.c: Likewise.
6942         * soft-fp/fmasf4.c: Likewise.
6943         * soft-fp/fmatf4.c: Likewise.
6944         * soft-fp/gedf2.c: Likewise.
6945         * soft-fp/gesf2.c: Likewise.
6946         * soft-fp/getf2.c: Likewise.
6947         * soft-fp/ledf2.c: Likewise.
6948         * soft-fp/lesf2.c: Likewise.
6949         * soft-fp/letf2.c: Likewise.
6950         * soft-fp/muldf3.c: Likewise.
6951         * soft-fp/mulsf3.c: Likewise.
6952         * soft-fp/multf3.c: Likewise.
6953         * soft-fp/negdf2.c: Likewise.
6954         * soft-fp/negsf2.c: Likewise.
6955         * soft-fp/negtf2.c: Likewise.
6956         * soft-fp/op-1.h: Likewise.
6957         * soft-fp/op-2.h: Likewise.
6958         * soft-fp/op-4.h: Likewise.
6959         * soft-fp/op-8.h: Likewise.
6960         * soft-fp/op-common.h: Likewise.
6961         * soft-fp/quad.h: Likewise.
6962         * soft-fp/single.h: Likewise.
6963         * soft-fp/soft-fp.h: Likewise.
6964         * soft-fp/sqrtdf2.c: Likewise.
6965         * soft-fp/sqrtsf2.c: Likewise.
6966         * soft-fp/sqrttf2.c: Likewise.
6967         * soft-fp/subdf3.c: Likewise.
6968         * soft-fp/subsf3.c: Likewise.
6969         * soft-fp/subtf3.c: Likewise.
6970         * soft-fp/truncdfsf2.c: Likewise.
6971         * soft-fp/trunctfdf2.c: Likewise.
6972         * soft-fp/trunctfsf2.c: Likewise.
6973         * soft-fp/trunctfxf2.c: Likewise.
6974         * soft-fp/unorddf2.c: Likewise.
6975         * soft-fp/unordsf2.c: Likewise.
6976         * soft-fp/unordtf2.c: Likewise.
6978 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
6980         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6981         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6983 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
6985         * elf/dl-libc.c: Clear initfini list after freeing.
6987 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
6989         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6990         * soft-fp/addsf3.c: Likewise.
6991         * soft-fp/addtf3.c: Likewise.
6992         * soft-fp/divdf3.c: Likewise.
6993         * soft-fp/divsf3.c: Likewise.
6994         * soft-fp/divtf3.c: Likewise.
6995         * soft-fp/double.h: Likewise.
6996         * soft-fp/eqdf2.c: Likewise.
6997         * soft-fp/eqsf2.c: Likewise.
6998         * soft-fp/eqtf2.c: Likewise.
6999         * soft-fp/extenddftf2.c: Likewise.
7000         * soft-fp/extended.h: Likewise.
7001         * soft-fp/extendsfdf2.c: Likewise.
7002         * soft-fp/extendsftf2.c: Likewise.
7003         * soft-fp/extendxftf2.c: Likewise.
7004         * soft-fp/fixdfdi.c: Likewise.
7005         * soft-fp/fixdfsi.c: Likewise.
7006         * soft-fp/fixdfti.c: Likewise.
7007         * soft-fp/fixsfdi.c: Likewise.
7008         * soft-fp/fixsfsi.c: Likewise.
7009         * soft-fp/fixsfti.c: Likewise.
7010         * soft-fp/fixtfdi.c: Likewise.
7011         * soft-fp/fixtfsi.c: Likewise.
7012         * soft-fp/fixtfti.c: Likewise.
7013         * soft-fp/fixunsdfdi.c: Likewise.
7014         * soft-fp/fixunsdfsi.c: Likewise.
7015         * soft-fp/fixunsdfti.c: Likewise.
7016         * soft-fp/fixunssfdi.c: Likewise.
7017         * soft-fp/fixunssfsi.c: Likewise.
7018         * soft-fp/fixunssfti.c: Likewise.
7019         * soft-fp/fixunstfdi.c: Likewise.
7020         * soft-fp/fixunstfsi.c: Likewise.
7021         * soft-fp/fixunstfti.c: Likewise.
7022         * soft-fp/floatdidf.c: Likewise.
7023         * soft-fp/floatdisf.c: Likewise.
7024         * soft-fp/floatditf.c: Likewise.
7025         * soft-fp/floatsidf.c: Likewise.
7026         * soft-fp/floatsisf.c: Likewise.
7027         * soft-fp/floatsitf.c: Likewise.
7028         * soft-fp/floattidf.c: Likewise.
7029         * soft-fp/floattisf.c: Likewise.
7030         * soft-fp/floattitf.c: Likewise.
7031         * soft-fp/floatundidf.c: Likewise.
7032         * soft-fp/floatundisf.c: Likewise.
7033         * soft-fp/floatunsidf.c: Likewise.
7034         * soft-fp/floatunsisf.c: Likewise.
7035         * soft-fp/floatuntidf.c: Likewise.
7036         * soft-fp/floatuntisf.c: Likewise.
7037         * soft-fp/floatuntitf.c: Likewise.
7038         * soft-fp/fmadf4.c: Likewise.
7039         * soft-fp/fmasf4.c: Likewise.
7040         * soft-fp/fmatf4.c: Likewise.
7041         * soft-fp/gedf2.c: Likewise.
7042         * soft-fp/gesf2.c: Likewise.
7043         * soft-fp/getf2.c: Likewise.
7044         * soft-fp/ledf2.c: Likewise.
7045         * soft-fp/lesf2.c: Likewise.
7046         * soft-fp/letf2.c: Likewise.
7047         * soft-fp/muldf3.c: Likewise.
7048         * soft-fp/mulsf3.c: Likewise.
7049         * soft-fp/multf3.c: Likewise.
7050         * soft-fp/negdf2.c: Likewise.
7051         * soft-fp/negsf2.c: Likewise.
7052         * soft-fp/negtf2.c: Likewise.
7053         * soft-fp/op-1.h: Likewise.
7054         * soft-fp/op-2.h: Likewise.
7055         * soft-fp/op-4.h: Likewise.
7056         * soft-fp/op-8.h: Likewise.
7057         * soft-fp/op-common.h: Likewise.
7058         * soft-fp/quad.h: Likewise.
7059         * soft-fp/single.h: Likewise.
7060         * soft-fp/soft-fp.h: Likewise.
7061         * soft-fp/sqrtdf2.c: Likewise.
7062         * soft-fp/sqrtsf2.c: Likewise.
7063         * soft-fp/sqrttf2.c: Likewise.
7064         * soft-fp/subdf3.c: Likewise.
7065         * soft-fp/subsf3.c: Likewise.
7066         * soft-fp/subtf3.c: Likewise.
7067         * soft-fp/truncdfsf2.c: Likewise.
7068         * soft-fp/trunctfdf2.c: Likewise.
7069         * soft-fp/trunctfsf2.c: Likewise.
7070         * soft-fp/trunctfxf2.c: Likewise.
7071         * soft-fp/unorddf2.c: Likewise.
7072         * soft-fp/unordsf2.c: Likewise.
7073         * soft-fp/unordtf2.c: Likewise.
7075 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7077         [BZ #15672]
7078         * misc/error.c (error_tail): Fix possible buffer overflow.
7080 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7082         [BZ #13028]
7083         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7084         address.
7086 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7088         [BZ #832]
7089         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7090         testing pipefail option.
7092 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7094         * soft-fp/double.h: Indent preprocessor directives inside #if.
7095         * soft-fp/extended.h: Likewise.
7096         * soft-fp/op-2.h: Likewise.
7097         * soft-fp/op-4.h: Likewise.
7098         * soft-fp/op-common.h: Likewise.
7099         * soft-fp/quad.h: Likewise.
7100         * soft-fp/single.h: Likewise.
7101         * soft-fp/soft-fp.h: Likewise.
7103 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7105         * iconv/iconv_prog.c: Fix typos.
7106         * stdio-common/psiginfo-data.h: Likewise.
7108 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7110         [BZ #15764]
7111         * locale/setlocale.c: Fix typo.
7113 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7115         [BZ #16036]
7116         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7117         signaling NaN arguments.
7118         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7119         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7121         [BZ #14910]
7122         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7123         unordered operands.
7124         * soft-fp/gesf2.c (__gesf2): Likewise.
7125         * soft-fp/getf2.c (__getf2): Likewise.
7126         * soft-fp/ledf2.c (__ledf2): Likewise.
7127         * soft-fp/lesf2.c (__lesf2): Likewise.
7128         * soft-fp/letf2.c (__letf2): Likewise.
7130         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7131         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7132         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7133         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7134         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7135         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7136         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7137         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7138         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7139         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7140         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7141         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7142         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7143         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7144         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7145         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7146         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7147         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7148         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7149         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7150         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7151         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7152         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7153         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7154         * soft-fp/floattidf.c (__floattidf): Likewise.
7155         * soft-fp/floattisf.c (__floattisf): Likewise.
7156         * soft-fp/floattitf.c (__floattitf): Likewise.
7157         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7158         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7159         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7160         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7161         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7162         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7163         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7164         * soft-fp/gesf2.c (__gesf2): Likewise.
7165         * soft-fp/getf2.c (__getf2): Likewise.
7166         * soft-fp/ledf2.c (__ledf2): Likewise.
7167         * soft-fp/lesf2.c (__lesf2): Likewise.
7168         * soft-fp/letf2.c (__letf2): Likewise.
7170         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7171         Undefine and redefine.
7172         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7173         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7174         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7175         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7176         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7177         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7178         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7179         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7180         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7181         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7182         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7183         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7184         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7185         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7186         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7188         [BZ #16032]
7189         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7190         without decrementing exponent if mantissa >= that for the
7191         denominator, not >.
7192         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7193         denominator, not >.  Decrement exponent in < case instead of
7194         incrementing in >= case.
7195         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7196         without decrementing exponent if mantissa >= that for the
7197         denominator, not >.
7199         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7200         computing saturated result for unsigned overflow.
7202 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203             Jeff Law  <law@redhat.com>
7205         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7206         (atan2Mp): Add systemtap probe marker.
7207         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7208         (__ieee754_log): Add systemtap probe marker.
7209         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7210         (atanMp): Add systemtap probe marker.
7211         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7212         (tanMp): Add systemtap probe marker.
7213         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7214         (__slowexp): Add systemtap probe marker.
7215         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7216         (__slowpow): Add systemtap probe marker.
7217         * manual/probes.texi: Document probes.
7219 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7221         [BZ #15362]
7222         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7223         written.
7224         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7225         written.
7226         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7227         written to buffer but not flushed.
7228         * libio/iofwrite_u.c:  Likewise.
7229         * libio/iopadn.c:  Return bytes returned even if EOF was
7230         encountered.
7231         * libio/iowpadn.c:  Likewise.
7232         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7233         if _IO_padn does not write the whole buffer.
7234         [!COMPILE_WPRINTF] (PAD): Likewise.
7236 2013-10-10  David S. Miller  <davem@davemloft.net>
7238         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7239         directory block.
7241 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7243         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7244         instead of FSF address.
7245         * soft-fp/fixdfti.c: Likewise.
7246         * soft-fp/fixsfti.c: Likewise.
7247         * soft-fp/fixtfti.c: Likewise.
7248         * soft-fp/fixunsdfti.c: Likewise.
7249         * soft-fp/fixunssfti.c: Likewise.
7250         * soft-fp/fixunstfti.c: Likewise.
7251         * soft-fp/floattidf.c: Likewise.
7252         * soft-fp/floattisf.c: Likewise.
7253         * soft-fp/floattitf.c: Likewise.
7254         * soft-fp/floatuntidf.c: Likewise.
7255         * soft-fp/floatuntisf.c: Likewise.
7256         * soft-fp/floatuntitf.c: Likewise.
7257         * soft-fp/trunctfxf2.c: Likewise.
7259         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7260         * soft-fp/fixdfti.c: Likewise.
7261         * soft-fp/fixsfti.c: Likewise.
7262         * soft-fp/fixtfti.c: Likewise.
7263         * soft-fp/fixunsdfti.c: Likewise.
7264         * soft-fp/fixunssfti.c: Likewise.
7265         * soft-fp/fixunstfti.c: Likewise.
7266         * soft-fp/floattidf.c: Likewise.
7267         * soft-fp/floattisf.c: Likewise.
7268         * soft-fp/floattitf.c: Likewise.
7269         * soft-fp/floatuntidf.c: Likewise.
7270         * soft-fp/floatuntisf.c: Likewise.
7271         * soft-fp/floatuntitf.c: Likewise.
7272         * soft-fp/trunctfxf2.c: Likewise.
7274 2013-10-10  David S. Miller  <davem@davemloft.net>
7276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7278 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7280         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7281         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7282         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7283         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7284         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7285         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7286         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7289         for NaNs before doing comparisons on argument.
7290         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7291         Likewise.
7293 2013-10-10  Will Newton  <will.newton@linaro.org>
7295         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7296         passed to _int_memalign does not overflow.
7298 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7300         * scripts/bench.pl: Add include-sources directive.
7301         * benchtests/README: Update documentation.
7303 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7305         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7306         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7307         instead of FP_INIT_ROUNDMODE.
7308         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7309         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7311         [BZ #16034]
7312         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7313         copy class of input value.
7314         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7315         not handle exceptions.
7316         * soft-fp/negsf2.c (__negsf2): Likewise.
7317         * soft-fp/negtf2.c (__negtf2): Likewise.
7318         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7320 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7322         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7323         semicolon.  From Linux kernel.
7325 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7327         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7329 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7331         [BZ #156]
7332         * manual/socket.texi: Added statement about buffer
7333         for gethostbyname2_r.
7335 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7337         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7338         Use .p2align directive instead, throughout.
7339         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7340         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7341         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7342         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7343         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7344         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7345         * sysdeps/x86_64/strchr.S: Likewise.
7346         * sysdeps/x86_64/strrchr.S: Likewise.
7348 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7350         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7352         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7354         * sysdeps/generic/math_private.h (__mpsin1): Remove
7355         declaration.
7356         (__mpcos1): Likewise.
7357         (__mpsin): New argument __range_reduce.
7358         (__mpcos): Likewise.
7359         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7360         (slow): Use __mpsin and __mpcos.
7361         (slow1): Likewise.
7362         (slow2): Likewise.
7363         (sloww): Likewise.
7364         (sloww1): Likewise.
7365         (sloww2): Likewise.
7366         (bsloww): Likewise.
7367         (bsloww1): Likewise.
7368         (bsloww2): Likewise.
7369         (cslow2): Likewise.
7370         (csloww): Likewise.
7371         (csloww1): Likewise.
7372         (csloww2): Likewise.
7373         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7374         range_reduce.  Merge in __mpsin1.
7375         (__mpcos): Likewise.
7376         (__mpsin1): Remove.
7377         (__mpcos1): Likewise.
7379 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
7381         * locale/loadlocale.c (_nl_intern_locale_data): Use
7382         LOCFILE_ALIGNED_P.
7383         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7384         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7385         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7386         obstack data is appropriately aligned.
7387         (obstack_int32_grow_fast): Likewise.
7388         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7389         * locale/programs/locfile.c (add_locale_uint32): Likewise.
7390         (add_locale_uint32_array): Likewise.
7392 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7394         * benchtests/Makefile: Remove ARGLIST and RET variables.
7395         ($(objpfx)bench-%.c): Pass only function name to the script.
7396         * benchtests/README: Update documentation.
7397         * benchtests/acos-inputs: Add new directives.
7398         * benchtests/acosh-inputs: Likewise.
7399         * benchtests/asin-inputs: Likewise.
7400         * benchtests/asinh-inputs: Likewise.
7401         * benchtests/atan-inputs: Likewise.
7402         * benchtests/atanh-inputs: Likewise.
7403         * benchtests/cos-inputs: Likewise.
7404         * benchtests/cosh-inputs: Likewise.
7405         * benchtests/exp-inputs: Likewise.
7406         * benchtests/log-inputs: Likewise.
7407         * benchtests/pow-inputs: Likewise.
7408         * benchtests/rint-inputs: Likewise.
7409         * benchtests/sin-inputs: Likewise.
7410         * benchtests/sinh-inputs: Likewise.
7411         * benchtests/tan-inputs: Likewise.
7412         * benchtests/tanh-inputs: Likewise.
7413         * scripts/bench.pl: Add support for new directives.
7415 2013-10-07  Alan Modra  <amodra@gmail.com>
7417         * README: Fix careless merge.
7419 2013-10-05  Alan Modra  <amodra@gmail.com>
7421         * NEWS: Mention powerpc64le support and bugs fixed.
7422         * README: Both big-endian and little-endian powerpc64 supported.
7424 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7426         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7427         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7428         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7429         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7431 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
7433         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7434         match prototype.
7436 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
7438         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7439         Move -mhard-float appending from
7440         ports/sysdeps/powerpc/powerpc32/Makefile.
7441         [$(with-fp) = yes] (ASFLAGS): Likewise.
7442         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
7443         * sysdeps/powerpc/nofpu: Move directory from
7444         ports/sysdeps/powerpc/nofpu.
7445         * sysdeps/powerpc/soft-fp: Move directory from
7446         ports/sysdeps/powerpc/soft-fp.
7447         * sysdeps/powerpc/powerpc32/405: Move directory from
7448         ports/sysdeps/powerpc/powerpc32/405.
7449         * sysdeps/powerpc/powerpc32/440: Move directory from
7450         ports/sysdeps/powerpc/powerpc32/440.
7451         * sysdeps/powerpc/powerpc32/464: Move directory from
7452         ports/sysdeps/powerpc/powerpc32/464.
7453         * sysdeps/powerpc/powerpc32/476: Move directory from
7454         ports/sysdeps/powerpc/powerpc32/476.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
7456         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
7457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
7458         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
7459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
7460         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
7461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
7462         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
7464         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
7465         * README: Update for powerpc-*-linux-gnu software floating point
7466         support in libc.
7468         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
7469         case to powerpc/powerpc32*.
7470         * sysdeps/unix/sysv/linux/configure: Regenerated.
7472         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
7473         (_FPU_MASK_OM): Define as 0x04.
7474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
7475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
7476         0x00c10080.
7477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
7478         0x0000003c.
7479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
7482         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7483         getcontext_e500.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
7485         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7486         setcontext_e500.
7487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7488         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
7489         and setcontext_e500.
7491 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
7493         * locale/iso-3166.def: Update iso-1366.def and related occurrences
7495 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7497         * manual/threads.texi (Default Thread Attributes): Fix typo.
7499 2013-10-04  Will Newton  <will.newton@linaro.org>
7501         * malloc/Makefile: Add tst-memalign.
7502         * malloc/tst-memalign.c: New file.
7504         * malloc/tst-posix_memalign.c: Add comments.
7505         (do_test): Add comments and call free on all potentially
7506         allocated pointers. Add space after cast.
7508         * malloc/tst-pvalloc.c: Add comments.
7509         (do_test): Add comments and call free on all potentially
7510         allocated pointers. Remove duplicate check for NULL pointer.
7511         Add space after cast.
7513         * malloc/tst-valloc.c: Add comments.
7514         (do_test): Add comments and call free on all potentially
7515         allocated pointers. Remove duplicate check for NULL pointer.
7516         Add space after cast.
7518 2013-10-04  Alan Modra  <amodra@gmail.com>
7520         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7521         Use stdint types in rather than __attribute__((mode())).
7522         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7524 2013-10-04  Alan Modra  <amodra@gmail.com>
7526         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7527         Correct handling of unaligned relocs for little-endian.
7528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7530 2013-10-04  Alan Modra  <amodra@gmail.com>
7532         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
7533         * configure: Regenerate.
7534         * nptl/shlib-versions: Powerpc*le starts at 2.18.
7535         * shlib-versions: Likewise.
7537 2013-10-04  Alan Modra  <amodra@gmail.com>
7539         * string/tester.c (test_memrchr): Increment reported test cycle.
7541 2013-10-04  Alan Modra  <amodra@gmail.com>
7543         * string/test-memcpy.c (do_one_test): When reporting errors, print
7544         string address and don't overrun end of string.
7546 2013-10-04  Alan Modra  <amodra@gmail.com>
7548         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
7549         insrdi.  Make better use of reg selection to speed exit slightly.
7550         Schedule entry path a little better.  Remove useless "are we done"
7551         checks on entry to main loop.  Handle wrapping around zero address.
7552         Correct main loop count.  Handle single left-over word from main
7553         loop inline rather than by using loop_small.  Remove extra word
7554         case in loop_small caused by wrong loop count.  Add little-endian
7555         support.
7556         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
7558         cache hint.
7559         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7560         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
7561         support.  Avoid rlwimi.
7562         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
7564 2013-10-04  Alan Modra  <amodra@gmail.com>
7566         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
7567         insrdi.  Formatting.
7568         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
7569         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7570         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7571         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7572         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7573         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
7575 2013-10-04  Alan Modra  <amodra@gmail.com>
7577         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
7578         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7579         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7580         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7581         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7583         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7584         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7585         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
7586         use of regs.  Use power7 mtocrf.  Tidy function tails.
7588 2013-10-04  Alan Modra  <amodra@gmail.com>
7590         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
7591         Formatting.  Consistently use rXXX register defines or rN defines.
7592         Use early exit labels that avoid restoring unused non-volatile regs.
7593         Make cr field use more consistent with rWORDn compares.  Rename
7594         regs used as shift registers for unaligned loop, using rN defines
7595         for short lifetime/multiple use regs.
7596         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
7598         addi 1,1,64 to pop stack frame.  Simplify return value code.
7599         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7601 2013-10-04  Alan Modra  <amodra@gmail.com>
7603         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
7604         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
7605         rather than rlwimi.
7606         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7607         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
7608         little-endian support.  Correct typos.
7609         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
7610         rather than rlwimi.
7611         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
7612         in loop and entry code to keep "and." results.
7613         (strchr): Add little-endian support.  Comment.  Move cntlzd
7614         earlier in tail.
7615         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
7617 2013-10-04  Alan Modra  <amodra@gmail.com>
7619         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
7620         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
7621         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7622         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
7624 2013-10-04  Alan Modra  <amodra@gmail.com>
7626         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
7627         (rTMP): Define as r11.
7628         (strcmp): Add little-endian support.  Optimise tail.
7629         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
7630         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7631         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7632         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7633         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7634         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7637 2013-10-04  Alan Modra  <amodra@gmail.com>
7639         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
7640         little-endian support.  Remove unnecessary "are we done" tests.
7641         Handle "s" wrapping around zero and extremely large "size".
7642         Correct main loop count.  Handle single left-over word from main
7643         loop inline rather than by using small_loop.  Correct comments.
7644         Delete "zero" tail, use "end_max" instead.
7645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
7647 2013-10-04  Alan Modra  <amodra@gmail.com>
7649         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
7650         support.  Don't branch over align.
7651         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
7652         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
7653         support.  Rearrange tmp reg use to suit.  Comment.
7654         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
7656 2013-10-04  Alan Modra  <amodra@gmail.com>
7658         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
7660 2013-10-04  Alan Modra  <amodra@gmail.com>
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
7663         conditional form of branch and link when obtaining pc.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7666 2013-10-04  Alan Modra  <amodra@gmail.com>
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
7669         HIWORD/LOWORD.
7670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7673 2013-10-04  Alan Modra  <amodra@gmail.com>
7675         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7676         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7677         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7678         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7679         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7680         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7681         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7682         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7683         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7684         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7686 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7687             Alistair Popple <alistair@ozlabs.au.ibm.com>
7688             Alan Modra <amodra@gmail.com>
7690         [BZ #15723]
7691         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7692         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7693         _dl_hwcap access for little-endian.
7694         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
7695         destroy vmx regs when saving unaligned.
7696         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7697         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
7698         destroy vmx regs when saving unaligned.
7700 2013-10-04  Alan Modra  <amodra@gmail.com>
7702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7703         Don't use a union to pack hi/low value.
7705 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7707         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7708         for little-endian.
7709         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7710         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7711         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7712         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7713         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7715 2013-10-04  Alan Modra  <amodra@gmail.com>
7717         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7718         constants to usual value for .cst8 section, and remove redundant
7719         high address load.
7720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7721         constant for 0x1p52.  Load little-endian words of double from
7722         correct stack offsets.
7724 2013-10-04  Alan Modra  <amodra@gmail.com>
7726         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7727         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7728         words of double from correct stack offsets.
7729         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7730         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7731         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7732         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7733         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7734         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7735         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7736         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7737         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7739         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7740         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7741         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7742         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7743         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7744         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7745         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7747 2013-10-04  Alan Modra  <amodra@gmail.com>
7749         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7750         64-bit int/double union.
7751         (_FPU_SETCW): Likewise.
7752         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7753         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7755 2013-10-04  Alan Modra  <amodra@gmail.com>
7757         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7758         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7760 2013-10-04  Alan Modra  <amodra@gmail.com>
7762         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7763         use vector int constants.
7764         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7766 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7768         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7769         array with long long.
7770         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7771         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7772         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7773         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7775         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7776         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7777         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7778         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7779         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7780         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7781         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7782         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7784 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7786         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7787         (__signbit): Likewise.  Correct for little-endian.
7788         (__signbitl): Call __signbit.
7789         (lrint): Correct for little-endian.
7790         (lrintf): Call lrint.
7792 2013-10-04  Alan Modra  <amodra@gmail.com>
7794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7795         union 32-bit int array member with 64-bit int array.
7796         (t515, tm256): Double rather than long double.
7797         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7799 2013-10-04  Alan Modra  <amodra@gmail.com>
7801         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7802         Delete.
7803         (IEEE854_LONG_DOUBLE_BIAS): Delete.
7804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7805         version of math_ldbl.h.
7807 2013-10-04  Alan Modra  <amodra@gmail.com>
7809         [BZ #15734], [BZ #15735]
7810         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7811         all uses of ieee875 long double macros and unions.  Simplify test
7812         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
7813         ldbl_extract_mantissa value for ix,iy exponents.  Properly
7814         normalize after ldbl_extract_mantissa, and don't add hidden bit
7815         already handled.  Don't treat low word of ieee854 mantissa like
7816         low word of IBM long double and mask off bit when testing for
7817         zero.
7818         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7819         all uses of ieee875 long double macros and unions.  Simplify tests
7820         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
7821         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
7822         two1022, instead use their values.  Recognise that tests for large
7823         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
7824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7825         Rewrite all uses of ieee875 long double macros and unions.  Simplify
7826         test for 0.0L and nan.  Correct negation.
7827         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7828         ieee875 long double macros and unions.  Correct output for large
7829         magnitude x.  Correct absolute value calculation.
7830         (__erfcl): Likewise.
7831         * math/libm-test.inc: Add tests for errors discovered in IBM long
7832         double versions of fmodl, remainderl, erfl and erfcl.
7834 2013-10-04  Alan Modra  <amodra@gmail.com>
7836         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7837         all uses of ieee854 long double macros and unions.  Simplify tests
7838         for long doubles that are fully specified by the high double.
7839         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7840         Likewise.
7841         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7842         Remove dead code too.
7843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7844         (__ieee754_ynl): Likewise.
7845         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7848         Remove dead code too.
7849         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7851         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7852         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7853         Simplify.
7854         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7855         Simplify.
7856         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7857         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7858         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7859         Comment on variable precision.
7860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7862         Likewise.
7863         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7864         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7865         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7866         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7867         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7869 2013-10-04  Alan Modra  <amodra@gmail.com>
7871         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7872         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7873         all uses of ieee854 long double macros and unions.
7874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7876         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7877         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7878         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7880         Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7885         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7886         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7887         Simplify sign and nan test too.
7888         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7889         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7890         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7891         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7892         Likewise.
7893         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7894         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7895         Likewise.
7896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7900         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7903 2013-10-04  Alan Modra  <amodra@gmail.com>
7905         * stdio-common/printf_size.c (__printf_size): Don't use
7906         union ieee854_long_double in fpnum union.
7907         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
7908         signbit macro to retrieve sign from long double.
7909         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7910         retrieve sign from long double.
7911         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7912         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7913         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7914         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7915         * math/test-misc.c (main): Don't use union ieee854_long_double.
7917 2013-10-04  Alan Modra  <amodra@gmail.com>
7919         [BZ #15680]
7920         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7921         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7922         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7923         calculation.  Remove unnecessary test for denormal exponent.
7924         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7925         Correct handling of denormals.  Avoid undefined shift behaviour.
7926         Correct normalisation of low mantissa when low double is denormal.
7927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7928         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
7929         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7930         Correct normalisation of low mantissa.  Test for overflow of high
7931         mantissa and normalise.
7932         (ldbl_nearbyint): Use more readable constant for two52.
7933         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7934         (__mpn_construct_long_double): Fix test for overflow of high
7935         mantissa and correct normalisation.  Avoid undefined shift.
7937 2013-10-04  Alan Modra  <amodra@gmail.com>
7939         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7940         (union ibm_extended_long_double): Define as an array of ieee754_double.
7941         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7942         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7943         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7944         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7945         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7946         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7948         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7949         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7950         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7951         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7953 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
7955         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7956         page size instead of calling getpagesize.
7958         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7959         (LOCFILE_ALIGN_MASK): Likewise.
7960         (LOCFILE_ALIGN_UP): Likewise.
7961         (LOCFILE_ALIGNED_P): Likewise.
7962         * locale/programs/ld-collate.c (collate_output): Use the new
7963         macros instead of __alignof__ (int32_t).
7964         * locale/weight.h (findidx): Likewise.
7966 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
7968         [BZ #431]
7969         * manual/string.texi: Fix strncat and wcsncat.
7971 2013-10-03  Brooks Moses  <bmoses@google.com>
7973         [BZ #15915]
7974         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7975         * Makerules: ...here, and adjust associated comments.
7977 2013-10-02  Will Newton  <will.newton@linaro.org>
7979         * malloc/Makefile: Add tst-pvalloc.
7980         * malloc/tst-pvalloc.c: New file.
7982 2013-10-02  Will Newton  <will.newton@linaro.org>
7984         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7985         improve test coverage.
7987 2013-10-02  Will Newton  <will.newton@linaro.org>
7989         * malloc/Makefile: Add tst-posix_memalign.
7990         * malloc/tst-posix_memalign.c: New file.
7992 2013-10-01  Eric Blake  <eblake@redhat.com>
7994         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7995         Use __THROWNL rather than __THROW on static functions.
7997 2013-09-30  Petr Machata  <pmachata@redhat.com>
7999         * elf/elf.h (R_AARCH64_ABS16): New macro.
8000         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8001         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8002         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8003         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8004         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8005         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8006         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8007         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8008         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8009         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8010         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8011         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8012         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8013         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8014         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8015         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8016         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8017         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8018         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8019         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8020         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8021         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8022         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8023         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8024         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8025         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8026         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8027         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8028         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8029         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8030         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8031         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8032         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8033         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8034         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8035         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8036         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8037         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8038         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8039         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8040         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8041         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8042         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8043         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8044         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8045         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8046         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8047         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8048         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8049         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8050         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8051         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8052         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8053         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8054         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8055         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8056         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8057         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8058         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8059         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8060         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8061         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8062         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8063         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8064         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8065         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8066         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8067         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8068         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8069         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8070         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8071         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8072         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8073         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8074         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8075         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8076         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8077         (R_AARCH64_TLSDESC_LDR): Likewise.
8078         (R_AARCH64_TLSDESC_ADD): Likewise.
8079         (R_AARCH64_TLSDESC_CALL): Likewise.
8081 2013-09-30  Andreas Schwab  <schwab@suse.de>
8083         [BZ #15048]
8084         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8085         the nss database lookup.
8086         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8089 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8091         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8093 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8096         ${Bash-specific parameter/pattern/string} parameter expansion.
8097         * sysdeps/unix/make-syscalls.sh: Likewise.
8099 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8101         * sysdeps/sh/stackguard-macros.h: New file.
8103 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8107         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8108         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8110         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8112 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8114         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8115         Fix thread ID register.
8117 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8119         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8120         [POSIX || UNIX98]: Require rather than permitting all symbols from
8121         <time.h>.
8122         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8123         element of struct sched_param.
8124         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8125         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8126         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8127         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8128         constant.
8130 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8132         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8133         argument calculation.
8135 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8137         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8138         Expect macro.
8139         [POSIX] (pthread_attr_t): Do not require type.
8140         [POSIX] (pthread_cond_t): Likewise.
8141         [POSIX] (pthread_condattr_t): Likewise.
8142         [POSIX] (pthread_key_t): Likewise.
8143         [POSIX] (pthread_mutex_t): Likewise.
8144         [POSIX] (pthread_mutexattr_t): Likewise.
8145         [POSIX] (pthread_once_t): Likewise.
8146         [POSIX] (pthread_t): Likewise.
8147         [POSIX-based standards] (pthread_atfork): Expect function.
8149 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8150             Richard Sandiford  <richard@codesourcery.com>
8152         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8153         (swap_endianness_p): New extern variable.
8154         (set_big_endian): New inline function.
8155         (maybe_swap_uint32): Likewise.
8156         (maybe_swap_uint32_array): Likewise.
8157         (maybe_swap_uint32_obstack): Likewise.
8158         * locale/programs/locfile.c: Include <stdbool.h>.
8159         (swap_endianness_p): New variable.
8160         (add_locale_uint32): Call maybe_swap_uint32.
8161         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8162         (write_locale_data): Call maybe_swap_uint32_array.
8163         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8164         maybe_swap_uint32.
8165         (obstack_int32_grow_fast): Likewise.
8166         (output_weightwc): Call maybe_swap_uint32_obstack.
8167         (collate_output): Likewise.
8168         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8169         (OPT_LITTLE_ENDIAN): Likewise.
8170         (options): Add --little-endian and --big-endian options.
8171         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8172         * locale/programs/locarchive.c: Include "locfile.h".
8173         (GET): New macro.
8174         (SET): Likewise.
8175         (INC): Likewise.
8176         (create_archive): Use the new macros to access fields of
8177         structures directly mapped from or written to locale archives.
8178         (oldlocrecentcmp): Likewise.
8179         (enlarge_archive): Likewise.
8180         (insert_name): Likewise.
8181         (add_alias): Likewise.
8182         (add_locale): Likewise.
8183         (delete_locales_from_archive): Likewise.
8184         (show_archive_content): Likewise.
8185         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8186         locale data.
8188 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8190         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8191         http://www.gnu.org/doc/freemanuals.texi.
8192         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8194 2013-09-24  Will Newton  <will.newton@linaro.org>
8196         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8197         macro.
8199 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8201         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8202         unsigned char.
8204 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8206         * manual/threads.texi (POSIX Threads): Fix a typo.
8208 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8210         [BZ #14547]
8211         * string/tst-strcoll-overflow.c: New test case.
8212         * string/Makefile (xtests): Add tst-strcoll-overflow.
8213         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8214         cache if string sizes may cause integer overflow.
8216         [BZ #14547]
8217         * string/strcoll_l.c (coll_seq): New members rule, idx,
8218         save_idx and back_us.
8219         (get_next_seq_nocache): New function.
8220         (do_compare_nocache): New function.
8221         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8222         when malloc fails.
8224 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8226         [BZ #15754]
8227         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8228         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8229         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8231         [BZ #15754]
8232         * elf/Makefile (tests): Add tst-ptrguard1.
8233         (tests-static): Add tst-ptrguard1-static.
8234         (tst-ptrguard1-ARGS): Define.
8235         (tst-ptrguard1-static-ARGS): Define.
8236         * elf/tst-ptrguard1.c: New file.
8237         * elf/tst-ptrguard1-static.c: New file.
8238         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8239         * sysdeps/i386/stackguard-macros.h: Likewise.
8240         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8241         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8242         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8243         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8244         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8245         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8247 2013-09-23  Hector Marco  <hecmargi@upv.es>
8248             Ismael Ripoll  <iripoll@disca.upv.es>
8249             Carlos O'Donell  <carlos@redhat.com>
8251         [BZ #15754]
8252         * sysdeps/generic/stackguard-macros.h: Define
8253         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8254         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8255         Define __pointer_chk_guard_local.
8256         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8257         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8259 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8261         [BZ #15859]
8262         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8264 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8266         * include/string.h (__ffs): Declare as hidden.
8267         * string/ffs.c (__ffs): Define as hidden.
8268         * sysdeps/i386/ffs.c (__ffs): Likewise.
8269         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8270         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8271         * sysdeps/s390/ffs.c (__ffs): Likewise.
8272         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8274 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8276         * NEWS: Mention malloc probes.
8278         * malloc/arena.c (new_heap): New memory_heap_new probe.
8279         (grow_heap): New memory_heap_more probe.
8280         (shrink_heap): New memory_heap_less probe.
8281         (heap_trim): New memory_heap_free probe.
8282         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8283         (systrim): New memory_sbrk_less probe.
8284         * manual/probes.texi: Document them.
8286         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8287         * manual/probes.texi: Document it.
8289         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8290         (__libc_realloc): Add memory_realloc_retry probe.
8291         (__libc_memalign): Add memory_memalign_retry probe.
8292         (__libc_valloc): Add memory_valloc_retry probe.
8293         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8294         (__libc_calloc): Add memory_calloc_retry probe.
8295         * manual/probes.texi: Document them.
8297         * malloc/arena.c (get_free_list): Add probe
8298         memory_arena_reuse_free_list.
8299         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8300         and memory_arena_reuse.
8301         (arena_get2) [!PER_THREAD]: Likewise.
8302         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8303         memory_arena_reuse_realloc.
8304         * manual/probes.texi: Document them.
8306         * malloc/malloc.c (__libc_free): Add
8307         memory_mallopt_free_dyn_thresholds probe.
8308         (__libc_mallopt): Add multiple memory_mallopt probes.
8309         * manual/probes.texi: Document them.
8311         * malloc/malloc.c: Include stap-probe.h.
8312         (__libc_mallopt): Add memory_mallopt probe.
8313         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8314         * manual/probes.texi: New.
8315         * manual/Makefile (chapters): Add probes.
8316         * manual/threads.texi: Set next node.
8318 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8320         [BZ #15963, #13985]
8321         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8322         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8323         Add `Chinese' to `nan' entry name.
8325 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8327         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8328         (POLYNOMIAL): Likewise.
8329         (TAYLOR_SINCOS): Likewise.
8330         (TAYLOR_SLOW): Likewise.
8331         (__sin): Use TAYLOR_SINCOS.
8332         (__cos): Likewise.
8333         (slow): Use TAYLOR_SLOW.
8334         (sloww): Likewise.
8335         (bsloww): Likewise.
8336         (csloww): Likewise.
8338 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8340         * stdlib/strtod_l.c: Fix buffer overrun.
8342 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8344         * benchtests/Makefile (bench): Add sincos.
8345         * benchtests/bench-sincos.c: New file.
8347         * math/libm-test.inc (cos_test_data): New test inputs.
8348         (sin_test_data): Likewise.
8350         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8351         macro.
8352         (__sin): Use it.
8353         (__cos): Likewise.
8354         (slow1): Likewise.
8355         (slow2): Likewise.
8356         (sloww1): Likewise.
8357         (sloww2): Likewise.
8358         (bsloww1): Likewise.
8359         (bsloww2): Likewise.
8360         (cslow2): Likewise.
8361         (csloww1): Likewise.
8362         (csloww2): Likewise.
8364         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8365         function.
8366         (__sin): Use it.
8367         (__cos): Likewise.
8369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8370         gotos.
8371         (__cos): Likewise.
8373 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
8375         * config.h.in (HAVE_MIPS_NAN2008): New macro.
8376         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8377         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8378         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8379         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8380         * elf/cache.c (print_entry): Handle the new cache flags.
8382 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8383             Aldy Hernandez  <aldyh@redhat.com>
8385         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8386         Change condition to [_SOFT_FLOAT].
8387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8399         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8402         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8403         declaration.
8405 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8407         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8408         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8409         (__longjmp): Use LOAD_GP to load saved GPRs.
8410         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8411         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8412         (__sigsetjmp): Use SAVE_GP to save GPRs.
8414         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8415         Do not append -msoft-float.
8416         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8418 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8420         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8422 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
8424         [BZ #15966]
8425         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8426         (_FPU_GETCW): Use initial "__" on variable and field names but not
8427         on macro parameter name.
8428         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
8429         parentheses around reference to macro parameter.
8431 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
8433         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8434         prototype.
8435         (ctype_startup): Use uint32_t in cast and sizeof for
8436         ctype->charnames.
8438 2013-09-11  Jia Liu  <proljc@gmail.com>
8440         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8441         __daddr_t_defined.
8442         [__FreeBSD__]: Likewise.
8444 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
8446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8447         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
8448         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
8449         (strchr): Remove __strchr_sse42 ifunc selection.
8450         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
8451         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
8453 2013-09-11  Will Newton  <will.newton@linaro.org>
8455         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
8456         parameter to RES. Remove hardcoded 1000 value.
8457         * benchtests/bench-skeleton.c (main): Pass RES parameter
8458         to TIMING_INIT and multiply result by 1000.
8460 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8464 2013-09-11  Andreas Schwab  <schwab@suse.de>
8466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8467         if not defined.
8468         (O_TMPFILE) [__USE_GNU]: Define.
8469         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
8470         Define.
8472 2013-09-11  Will Newton  <will.newton@linaro.org>
8474         [BZ #15857]
8475         * malloc/malloc.c (__libc_memalign): Check the value of bytes
8476         does not overflow.
8478 2013-09-11  Will Newton  <will.newton@linaro.org>
8480         [BZ #15856]
8481         * malloc/malloc.c (__libc_valloc): Check the value of bytes
8482         does not overflow.
8484 2013-09-11  Will Newton  <will.newton@linaro.org>
8486         [BZ #15855]
8487         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
8488         does not overflow.
8490 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
8492         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
8493         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8495         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8496         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8498 2013-09-10  Allan McRae  <allan@archlinux.org>
8500         [BZ #15748]
8501         * manual/arith.texi (Parsing of Floats): Clarify
8502         cross-reference.
8504         [BZ #15849]
8505         * manual/install.texi (Running make install): Mention
8506         --enable-pt-chown.
8507         * INSTALL: Regenerated.
8509 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
8511         * csu/init-first.c (_init): Remove the !SHARED condition around
8512         FPU control word initialization.
8513         * elf/dl-support.c (_dl_fpu_control): New variable.
8514         (_dl_aux_init) <AT_FPUCW>: Initialize it.
8515         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8516         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
8517         * math/test-fpucw-static.c: New file.
8518         * math/test-fpucw-ieee.c: New file.
8519         * math/test-fpucw-ieee-static.c: New file.
8520         * math/Makefile (tests): Add `test-fpucw-ieee' and
8521         `$(tests-static)'.
8522         (tests-static): New variable.
8523         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
8524         dependency to...
8525         [($(build-shared),yes)]
8526         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8527         ... this.
8528         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
8529         New dependency.
8531 2013-09-09  Allan McRae  <allan@archlinux.org>
8533         [BZ #15939]
8534         * manual/string.texi (Collation Functions): Fix typo in
8535         strcoll example.
8536         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
8538         [BZ #15893]
8539         * stdlib/isomac.c (get_null_defines): Fix memory leak.
8541         [BZ #15892]
8542         * libio/memstream.c (open_memstream): Fix memory leak.
8543         * libio/wmemstream.c (open_wmemstream): Likewise.
8545         [BZ #15895]
8546         * nscd/netgroupcache.c: Fix nesting of ifdefs.
8548 2013-09-09  Will Newton  <will.newton@linaro.org>
8550         * malloc/Makefile: Add tst-realloc to tests.
8551         * malloc/tst-realloc.c: New file.
8553 2013-09-09  Allan McRae  <allan@archlinux.org>
8555         [BZ #15844]
8556         * COPYING: Update from GNU website to fix FSF address.
8557         * COPYING.LIB: Likewise.
8559 2013-09-06  David S. Miller  <davem@davemloft.net>
8561         * po/zh_TW.po: Update Chinese (traditional) translation from
8562         translation project.
8564 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
8565             Joseph Myers  <joseph@codesourcery.com>
8567         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
8568         "localeinfo.h".
8569         (obstack_chunk_alloc): New macro.
8570         (obstack_chunk_free): Likewise.
8571         (record_offset): New function.
8572         (init_locale_data): Likewise.
8573         (align_locale_data): Likewise.
8574         (add_locale_empty): Likewise.
8575         (add_locale_raw_data): Likewise.
8576         (add_locale_raw_obstack): Likewise.
8577         (add_locale_string): Likewise.
8578         (add_locale_wstring): Likewise.
8579         (add_locale_uint32): Likewise.
8580         (add_locale_uint32_array): Likewise.
8581         (add_locale_char): Likewise.
8582         (start_locale_structure): Likewise.
8583         (end_locale_structure): Likewise.
8584         (start_locale_prelude): Likewise.
8585         (end_locale_prelude): Likewise.
8586         (write_locale_data): Take locale_file structure rather than an
8587         iovec.
8588         * locale/programs/locfile.h: Include "obstack.h".
8589         (struct locale_file): Change to store locale file contents instead
8590         of header.
8591         (init_locale_data): New prototype.
8592         (align_locale_data): Likewise.
8593         (add_locale_empty): Likewise.
8594         (add_locale_raw_data): Likewise.
8595         (add_locale_raw_obstack): Likewise.
8596         (add_locale_string): Likewise.
8597         (add_locale_wstring): Likewise.
8598         (add_locale_uint32): Likewise.
8599         (add_locale_uint32_array): Likewise.
8600         (add_locale_char): Likewise.
8601         (start_locale_structure): Likewise.
8602         (end_locale_structure): Likewise.
8603         (start_locale_prelude): Likewise.
8604         (end_locale_prelude): Likewise.
8605         (write_locale_data): Update prototype.
8606         * locale/programs/3level.h (struct TABLE): Remove result field.
8607         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
8608         Use new locale_file interface.
8609         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
8610         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
8611         * locale/programs/ld-address.c (address_output): Use new
8612         locale_file interface.
8613         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
8614         NO_ADD_LOCALE.
8615         (collate_finish): Don't call collseq_table_finalize.
8616         (collate_output): Use new locale_file interface.
8617         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
8618         in file.
8619         (NO_FINALIZE): Change to NO_ADD_LOCALE.
8620         (TABLE): Move defines earlier in file.
8621         (ELEMENT): Likewise.
8622         (DEFAULT): Likewise.
8623         (wctrans_table_add): Move macro and inline function earlier in
8624         file.
8625         (struct wctype_table): Move type earlier in file.
8626         (add_locale_wctype_table): New static prototype.
8627         (struct locale_ctype_t): Use logical types instead of struct iovec
8628         pointers for members.
8629         (ctype_output): Use new locale_file interface.
8630         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
8631         new locale_file interface.
8632         (allocate_arrays): Update for use of new locale_file interface.
8633         * locale/programs/ld-identification.c (identification_output): Use
8634         new locale_file interface.
8635         * locale/programs/ld-measurement.c (measurement_output): Likewise.
8636         * locale/programs/ld-messages.c (messages_output): Likewise.
8637         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8638         * locale/programs/ld-name.c (name_output): Likewise.
8639         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8640         * locale/programs/ld-paper.c (paper_output): Likewise.
8641         * locale/programs/ld-telephone.c (telephone_output): Likewise.
8642         * locale/programs/ld-time.c (time_output): Likewise.
8644 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8646         * benchtests/Makefile: Add memrchr benchmark.
8647         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
8648         benchmark as memrchr.
8649         * benchtests/bench-memrchr-ifunc.c: New file.
8650         * benchtests/bench-memrchr.c: New file.
8652 2013-09-06   Will Newton  <will.newton@linaro.org>
8654         * benchtests/Makefile (string-bench): Add memcpy.
8656 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
8657             Cong Wang  <amwang@redhat.com>
8659         [BZ #15850]
8660         * sysdeps/unix/sysv/linux/bits/in.h
8661         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
8662         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
8663         before __USE_KERNEL_IPV6_DEFS uses.
8664         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
8665         IPPROTO_BEETPH.
8666         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
8667         sockaddr_in6, or ipv6_mreq.
8669 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8671         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
8672         memory access for final bytes in some large inputs.
8673         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8675 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8677         * string/test-memrchr.c: New file.
8678         * string/test-memrchr-ifunc.c: New file.
8679         * string/Makefile: Add new memrchr testcase.
8681 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
8683         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8684         fanotify_init returns EPERM.
8686 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8688         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8689         errors.
8690         (top level): Treat second token from macro or constant entries for
8691         allowed headers as allowed.
8692         * include/complex.h: Condition internal declarations on
8693         [!_ISOMAC].
8694         * include/fenv.h: Condition include of <stdbool.h> and internal
8695         declarations on [!_ISOMAC].
8697 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
8699         [BZ #15923]
8700         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8702 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8704         * configure.in (--enable-versioning): Remove configure option.
8705         (libc_cv_asm_symver_directive): Remove configure test.
8706         (libc_cv_ld_version_script_option): Likewise.
8707         (VERSIONING): Remove variable and AC_SUBST.
8708         (DO_VERSIONING): Remove AC_DEFINE.
8709         * configure: Regenerated.
8710         * config.h.in (DO_VERSIONING): Remove macro.
8711         * Makerules [$(versioning) = yes]: Change conditionals to
8712         [$(build-shared) = yes].
8713         * config.make.in (versioning): Remove variable.
8714         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8715         [$(build-shared) = yes].
8716         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8717         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8718         * elf/Makefile [$(versioning) = yes]: Change conditionals to
8719         [$(build-shared) = yes].
8720         * extra-lib.mk [$(versioning) = yes]: Likewise.
8721         * hurd/Makefile [$(versioning) = yes]: Likewise.
8722         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8723         [SHARED].
8724         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8725         [SHARED].
8726         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8727         [SHARED && !NO_HIDDEN].
8728         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8729         [SHARED].
8730         [SHARED && DO_VERSIONING]: Likewise..
8731         * libio/Makefile [$(versioning) = yes]: Change conditionals to
8732         [$(build-shared) = yes].
8733         * manual/install.texi (--disable-versioning): Remove
8734         documentation.
8735         * INSTALL: Regenerated.
8736         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8737         to [SHARED].
8738         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8739         [$(build-shared) = yes].
8740         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8741         * sysdeps/i386/i686/multiarch/strstr-c.c
8742         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8743         [SHARED && !NO_HIDDEN].
8744         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8745         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8746         * sysdeps/powerpc/powerpc32/dl-machine.c
8747         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8748         * sysdeps/powerpc/powerpc32/sysdep.h
8749         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8750         to [SHARED && PIC && !NO_HIDDEN].
8751         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8752         conditional to [SHARED].
8754 2013-09-04   Will Newton  <will.newton@linaro.org>
8756         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8757         * benchtests/bench-string.h: Include bench-timing.h instead
8758         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8759         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8760         call to HP_TIMING_DIFF_INIT.
8761         * benchtests/bench-memccpy.c: Use bench-timing.h macros
8762         instead of hp-timing.h macros.
8763         * benchtests/bench-memchr.c: Likewise.
8764         * benchtests/bench-memcmp.c: Likewise.
8765         * benchtests/bench-memcpy.c: Likewise.
8766         * benchtests/bench-memmem.c: Likewise.
8767         * benchtests/bench-memmove.c: Likewise.
8768         * benchtests/bench-memset.c: Likewise.
8769         * benchtests/bench-rawmemchr.c: Likewise.
8770         * benchtests/bench-strcasecmp.c: Likewise.
8771         * benchtests/bench-strcasestr.c: Likewise.
8772         * benchtests/bench-strcat.c: Likewise.
8773         * benchtests/bench-strchr.c: Likewise.
8774         * benchtests/bench-strcmp.c: Likewise.
8775         * benchtests/bench-strcpy.c: Likewise.
8776         * benchtests/bench-strcpy_chk.c: Likewise.
8777         * benchtests/bench-strlen.c: Likewise.
8778         * benchtests/bench-strncasecmp.c: Likewise.
8779         * benchtests/bench-strncat.c: Likewise.
8780         * benchtests/bench-strncmp.c: Likewise.
8781         * benchtests/bench-strncpy.c: Likewise.
8782         * benchtests/bench-strnlen.c: Likewise.
8783         * benchtests/bench-strpbrk.c: Likewise.
8784         * benchtests/bench-strrchr.c: Likewise.
8785         * benchtests/bench-strspn.c: Likewise.
8786         * benchtests/bench-strstr.c: Likewise.
8788 2013-09-04  Will Newton  <will.newton@linaro.org>
8790         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8792 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
8794         [BZ #15427]
8795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8796         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8797         * math/libm-test.inc (lgamma_test_data): Add more tests.
8798         * sysdeps/i386/fpu/libm-test-ulps: Update.
8799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
8803         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8805         Add ifunc.
8806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8807         Add strcmp-sse2-unaligned
8808         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8810 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8812         * Versions.def (libc): Add GLIBC_2.19.
8814 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8816         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8817         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8819 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
8821         [BZ #14155]
8822         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8823         intermediate calculations in recurrence.
8824         (__ieee754_ynf): Likewise.
8825         * math/libm-test.inc (jn_test_data): Do not allow spurious
8826         underflow exception.  Add more tests.
8827         (yn_test_data): Add more tests.
8828         * sysdeps/i386/fpu/libm-test-ulps: Update.
8829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
8833         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8835 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8837         * csu/init-first.c: Fix then/than typos.
8838         * locale/programs/ld-collate.c: Likewise.
8839         * locale/programs/linereader.h: Likewise.
8840         * manual/charset.texi: Likewise.
8841         * manual/filesys.texi: Likewise.
8842         * manual/stdio.texi: Likewise.
8843         * manual/string.texi: Likewise.
8844         * stdlib/fmtmsg.c: Likewise.
8845         * sysdeps/i386/stpncpy.S: Likewise.
8846         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8847         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8849         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8851 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8853         * elf/dl-open.c: Fix typos.
8854         * iconvdata/gbbig5.c: Likewise.
8855         * iconvdata/iso-2022-jp.c: Likewise.
8856         * iconv/gconv_int.h: Likewise.
8857         * iconv/loop.c: Likewise.
8858         * nis/rpcsvc/nis.h: Likewise.
8859         * resolv/ns_name.c: Likewise.
8860         * stdio-common/vfscanf.c: Likewise.
8861         * streams/stropts.h: Likewise.
8862         * sunrpc/rpc_thread.c: Likewise.
8863         * sysdeps/i386/strpbrk.S: Likewise.
8864         * sysdeps/ieee754/k_standard.c: Likewise.
8865         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8867         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8868         * sysdeps/mach/hurd/profil.c: Likewise.
8869         * sysdeps/s390/dl-procinfo.h: Likewise.
8870         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8871         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8872         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8873         * sysdeps/x86_64/dl-trampoline.S: Likewise.
8874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8876 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
8878         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8881 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
8883         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8884         aix specific files.
8885         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8886         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8887         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8888         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8889         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8890         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8891         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8892         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8894 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8895             Roland McGrath  <roland@hack.frob.com>
8897         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8898         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8900 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8902         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8903         __executable_start symbol instead of _start.
8905 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8907         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8908         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8909         Move macros to...
8910         * sysdeps/gnu/ldsodefs.h: ... this new file.
8912         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8913         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8914         instead of ELFOSABI_LINUX.
8916         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8917         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8918         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8919         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8920         Likewise.
8921         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8922         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8923         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8924         Likewise.
8925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8926         (ibm_extended_long_double): Add ieee_nan member.
8927         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8928         (do_test): New function.
8930         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8931         TEST_TRUNC.
8932         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8933         functions, renamed from truncdfsf_test, trunctfsf_test,
8934         trunctfdf_test.
8935         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8936         functions.
8937         (do_test): Run all these.
8939 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
8941         * argp/argp-help.c: Fix typos.
8942         * argp/argp-parse.c: Likewise.
8943         * debug/backtracesyms.c: Likewise.
8944         * elf/elf.h: Likewise.
8945         * malloc/malloc.c: Likewise.
8946         * nis/nis_print.c: Likewise.
8947         * resolv/res_comp.c: Likewise.
8948         * stdlib/stdlib.h: Likewise.
8949         * sunrpc/clnt_tcp.c: Likewise.
8950         * sunrpc/clnt_udp.c: Likewise.
8951         * sunrpc/clnt_unix.c: Likewise.
8952         * sysdeps/unix/bsd/ptsname.c: Likewise.
8953         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8956         Likewise.
8957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8958         Likewise.
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8963 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8965         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8968 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
8970         [BZ #15897]
8971         * dlfcn/Makefile (tests): Add bug-dl-leaf.
8972         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8973         ($(objpfx)bug-dl-leaf): New rule.
8974         ($(objpfx)bug-dl-leaf.so): Likewise.
8975         ($(objpfx)bug-dl-leaf.out): Likewise.
8976         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8977         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8978         * dlfcn/bug-dl-leaf.c: New test.
8979         * dlfcn/bug-dl-leaf-lib.c: Likewise.
8980         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8981         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8982         (dlclose): Likewise.
8983         (dlmopen): Likewise.
8985 2013-08-27  Roland McGrath  <roland@hack.frob.com>
8987         * include/netdb.h [!_ISOMAC]:
8988         Don't include <tls.h>.
8989         (h_errno, __libc_h_errno): Move declaration and macros out of
8990         [_LIBC_REENTRANT].
8992         * include/resolv.h [_RESOLV_H_]:
8993         Don't include <tls.h>.
8994         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8995         * resolv/res_libc.c: Don't include <tls.h>.
8996         (_res): Use __attribute__ ((nocommon)) in place of
8997         __attribute__ ((section (".bss"))).
8999         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9000         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9002         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9004         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9005         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9007         * resolv/res_mkquery.c: Include <sys/time.h>.
9009         * inet/ifreq.c: Moved to ...
9010         * sysdeps/unix/ifreq.c: ... here.
9011         * inet/ifreq.c: New file, true stub version.
9013         * socket/sa_len.c: New file.
9014         * socket/Makefile (aux): Add it.
9015         * sysdeps/unix/sysv/linux/Makefile
9016         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9017         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9018         and #include <socket/sa_len.c>.
9019         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9020         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9022         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9023         * bits/socket.h: ... here.
9025         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9026         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9027         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9029 2013-08-27  Andreas Schwab  <schwab@suse.de>
9031         [BZ #15736]
9032         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9033         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9034         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9035         * string/test-strcasecmp.c (test_main): Run tests in several
9036         locales.
9037         * string/test-strncasecmp.c (test_main): Likewise.
9039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9040         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9041         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9043         (__strncasecmp_ssse3) [PIC]: Likewise.
9045 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9047         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9049         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9050         instead of explicitly declaring xdecrypt.
9051         * nis/nss_nis/nis-publickey.c: Likewise.
9053 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9055         [BZ #15890]
9056         * nscd/aicache.c: Include res_hconf.h.
9057         (addhstaiX): Initialize res_hconf.
9059 2013-08-26  Andreas Schwab  <schwab@suse.de>
9061         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9062         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9064 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9066         * nscd/aicache.c (addhstaiX): Fix indentation.
9068 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9070         * configure.ac: Quote $build_pt_chown test.
9071         * configure: Regenerated.
9073 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9075         [BZ #15532]
9076         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9077         * math/s_cexpf.c (__cexpf): Likewise.
9078         * math/s_cexpl.c (__cexpl): Likewise.
9079         * math/libm-test.inc (cexp_test_data): Correct expected return
9080         value for NaN + i0.  Add another test.
9082 2013-08-22  David S. Miller  <davem@davemloft.net>
9084         * po/ca.po: Update Catalan translation from translation project.
9085         * po/uk.po: Add Ukrainian translations from translation project.
9087 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9089         [BZ #15797]
9090         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9091         is infinite, not alongside NaN test.
9092         * math/s_fdimf.c (__fdimf): Likewise.
9093         * math/s_fdiml.c (__fdiml): Likewise.
9094         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9095         errno is unchanged.
9097 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9099         * argp/argp-help.c: Fix typos.
9100         * crypt/speeds.c: Likewise.
9101         * csu/check_fds.c: Likewise.
9102         * elf/dl-load.c: Likewise.
9103         * elf/dl-open.c: Likewise.
9104         * elf/reldep3.c: Likewise.
9105         * elf/reldep.c: Likewise.
9106         * elf/sprof.c: Likewise.
9107         * iconv/iconv_charmap.c: Likewise.
9108         * iconv/skeleton.c: Likewise.
9109         * iconv/strtab.c: Likewise.
9110         * io/lockf64.c: Likewise.
9111         * libio/libioP.h: Likewise.
9112         * resolv/gai_notify.c: Likewise.
9113         * resolv/ns_name.c: Likewise.
9114         * resolv/ns_samedomain.c: Likewise.
9115         * resolv/res_send.c: Likewise.
9116         * stdlib/random.c: Likewise.
9117         * sunrpc/rpc/xdr.h: Likewise.
9118         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9119         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9120         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9121         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9122         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9125         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9126         * sysdeps/mach/hurd/check_fds.c: Likewise.
9127         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9128         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9129         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9131         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9132         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9133         * sysdeps/pthread/aio_notify.c: Likewise.
9134         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9135         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9136         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9138         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9140 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9142         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9143         version if bit_Slow_SSE4_2 is set.
9144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9147 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9149         [BZ #15867]
9150         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9151         trampoline stack frame information.
9152         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9154         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9155         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9156         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9157         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9158         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9159         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9160         sa_flags value.
9161         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9162         interrupting a syscall and set with option SA_SIGINFO.
9164 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9166         [BZ #15531]
9167         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9168         argument is infinite.
9169         * math/s_cprojf.c (__cprojf): Likewise.
9170         * math/s_cprojl.c (__cprojl): Likewise.
9171         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9172         * math/libm-test.inc (cproj_test_data): Add more tests.
9174         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9176         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9177         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9178         size.  Use __ffs to determine corresponding shift.
9180 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9181             Roland McGrath  <roland@hack.frob.com>
9183         * Makefile (INSTALL): Remove trailing blank lines from output of
9184         makeinfo.
9186 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9188         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9189         Align 32 bit compat elf_greg to 8 bytes.
9191 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9193         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9195 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9197         * string/strcoll_l.c (coll_seq): New structure.
9198         (get_next_seq_cached): New function.
9199         (get_next_seq): New function.
9200         (do_compare): New function.
9201         (STRCOLL): Use GNU style definition.  Simplify implementation
9202         by using get_next_seq, get_next_seq_cached and do_compare.
9204 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9206         [BZ #14699]
9207         CVE-2013-4237
9208         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9209         member.
9210         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9211         member.
9212         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9213         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9214         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9215         conditional.
9216         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9217         GETDENTS_64BIT_ALIGNED.
9218         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9219         * manual/filesys.texi (Reading/Closing Directory): Document
9220         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9221         strongly.
9222         * manual/conf.texi (Limits for Files): Add portability note to
9223         NAME_MAX, PATH_MAX.
9224         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9226 2013-08-13  Andreas Schwab  <schwab@suse.de>
9228         [BZ #15749]
9229         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9230         of fabs.
9231         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9232         LDBL_MAX_EXP >= 16384]: Add tests for it.
9234 2013-08-12  David S. Miller  <davem@davemloft.net>
9236         * version.h (RELEASE): Set to "development".
9237         (VERSION): Set to "2.18.90".
9238         * NEWS: Add 2.19 section.
9240 2013-08-03  David S. Miller  <davem@davemloft.net>
9242         * po/ko.po: Update Korean translation from translation project.
9244 2013-08-01  David S. Miller  <davem@davemloft.net>
9246         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9247         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9248         Bilka.
9250 2013-07-30  David S. Miller  <davem@davemloft.net>
9252         * po/fr.po: Update French translation from translation project.
9254 2013-07-28  David S. Miller  <davem@davemloft.net>
9256         * po/cs.po: Update Czech translation from translation project.
9258         * po/sv.po: Update Swedish translation from translation project.
9260 2013-07-27  David S. Miller  <davem@davemloft.net>
9262         * po/eo.po: Update Esperanto translation from translation project.
9264         * po/vi.po: Update Vietnamese translation from translation project.
9266         * po/de.po: Update German translation from translation project.
9268 2013-07-26  David S. Miller  <davem@davemloft.net>
9270         * po/bg.po: Update Bulgarian translation from translation project.
9272         * po/nl.po: Update Dutch translation from translation project.
9273         * po/pl.po: Update Polish translation from translation project.
9274         * po/ru.po: Update Russian translation from translation project.
9276 2013-07-24  David S. Miller  <davem@davemloft.net>
9278         * po/libc.pot: Update.
9280 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9282         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9283         variable page size.
9284         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9285         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9286         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9288 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9290         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9292 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9293             Andreas Schwab  <schwab@suse.de>
9294             Roland McGrath  <roland@hack.frob.com>
9295             Joseph Myers  <joseph@codesourcery.com>
9296             Carlos O'Donell  <carlos@redhat.com>
9298         [BZ #15755]
9299         * config.h.in: Define HAVE_PT_CHOWN.
9300         * config.make.in (build-pt-chown): New variable.
9301         * configure.in (--enable-pt_chown): New configure option.
9302         * configure: Regenerate.
9303         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9304         build-pt-chown is enabled.
9305         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9306         pt_chown to fix pty ownership.
9307         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9308         CLOSE_ALL_FDS.
9309         * manual/install.texi (Configuring and compiling): Mention
9310         --enable-pt_chown. Add @findex for grantpt.
9311         * INSTALL: Regenerate.
9313 2013-07-20  David S. Miller  <davem@davemloft.net>
9315         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9316         difference between 32-bit and 64-bit.
9318 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9320         [BZ #15711]
9321         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9322         Avoid system header dependency with -ffreestanding.
9323         ($(objpfx)bits/syscall%d): Likewise.
9325 2013-07-13  David S. Miller  <davem@davemloft.net>
9327         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9328         underflows from atanl/atan2l due to bug 15319.
9329         (casinh_test_data): Likewise.
9331 2013-07-07  David S. Miller  <davem@davemloft.net>
9333         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9335 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9337         * sysdeps/i386/fpu/libm-test-ulps: Update.
9338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9340 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9342         * configure.in (--enable-lock-elision): Fix message text.
9343         * INSTALL: Regenerate.
9344         * configure: Regenerate.
9346 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9350 2013-07-03  Andreas Jaeger  <aj@suse.de>
9352         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9353         define.
9354         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9355         (ptrace_peeksiginfo_args): Add.
9356         (__ptrace_peeksiginfo_flags): Add.
9357         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9359         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9361 2013-07-03  Allan McRae  <allan@archlinux.org>
9363         * sysdeps/i386/fpu/libm-test-ulps: Update.
9365 2013-07-02  David S. Miller  <davem@davemloft.net>
9367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9369 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
9371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9373 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9375         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9378 2013-07-02  Andi Kleen <ak@linux.intel.com>
9380         * config.h.in (ENABLE_LOCK_ELISION): Add.
9381         * configure.in (--enable-lock-elision): Add option.
9382         * manual/install.texi: Document --enable lock elision.
9383         * configure: Regenerate
9384         * INSTALL: Regenerate.
9386 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9388         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9389         SSE4.2 strcasecmp for libc.a.
9390         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9392 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9394         [BZ #13304]
9395         * soft-fp/op-common.h (_FP_FMA): New macro.
9396         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9397         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
9398         (_FP_MUL_MEAT_1_imm): ... here.
9399         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
9400         (_FP_MUL_MEAT_1_wide): ... here.
9401         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
9402         (_FP_MUL_MEAT_1_hard): ... here.
9403         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9404         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
9405         (_FP_MUL_MEAT_2_wide): ... here.
9406         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
9407         (_FP_MUL_MEAT_2_wide_3mul): ... here.
9408         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
9409         (_FP_MUL_MEAT_2_gmp): ... here.
9410         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9411         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
9412         (_FP_MUL_MEAT_4_wide): ... here.
9413         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
9414         (_FP_MUL_MEAT_4_gmp): ... here.
9415         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9416         (_FP_WFRACBITS_DW_S): Likewise.
9417         (_FP_WFRACXBITS_DW_S): Likewise.
9418         (_FP_HIGHBIT_DW_S): Likewise.
9419         (FP_FMA_S): Likewise.
9420         (_FP_FRAC_HIGH_DW_S): Likewise.
9421         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9422         (_FP_WFRACBITS_DW_D): Likewise.
9423         (_FP_WFRACXBITS_DW_D): Likewise.
9424         (_FP_HIGHBIT_DW_D): Likewise.
9425         (FP_FMA_D): Likewise.
9426         (_FP_FRAC_HIGH_DW_D): Likewise.
9427         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9428         (_FP_WFRACBITS_DW_E): Likewise.
9429         (_FP_WFRACXBITS_DW_E): Likewise.
9430         (_FP_HIGHBIT_DW_E): Likewise.
9431         (FP_FMA_E): Likewise.
9432         (_FP_FRAC_HIGH_DW_E): Likewise.
9433         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9434         (_FP_WFRACBITS_DW_Q): Likewise.
9435         (_FP_WFRACXBITS_DW_Q): Likewise.
9436         (_FP_HIGHBIT_DW_Q): Likewise.
9437         (FP_FMA_Q): Likewise.
9438         (_FP_FRAC_HIGH_DW_Q): Likewise.
9439         * soft-fp/fmasf4.c: New file.
9440         * soft-fp/fmadf4.c: Likewise.
9441         * soft-fp/fmatf4.c: Likewise.
9443 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9446         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
9447         Silvermont.
9448         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
9449         macro.
9450         (index_Slow_SSE4_2): Likewise.
9451         (index_Prefer_PMINUB_for_stringop): Likewise.
9452         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
9453         bit_Slow_SSE4_2 is set.
9454         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9457 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9459         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
9460         rtld_global._dl_hwcap2.
9461         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
9462         POWER8.
9463         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
9464         POWER8 feature descriptions defined in _dl_hwcap2.
9465         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
9466         string handling for POWER8 feature bits.
9467         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
9468         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
9469         _dl_powerpc_cap_flags.
9470         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
9471         * sysdeps/powerpc/rtld-global-offsets.sym
9472         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
9473         _dl_hwcap2 in the rtld_global_ro structure.
9475 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9477         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
9478         hardware capabilities in support of AT_HWCAP2.
9479         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
9480         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
9481         GLRO(dl_hwcap2).
9482         (_dl_show_auxv): Add support for calling _dl_procinfo to display
9483         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
9484         explicitly the unknown a_type display mechanism is used.
9485         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
9486         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
9487         struct member.
9488         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
9489         to macro prototype for AT_HWCAP2 support.
9490         * sysdeps/i386/dl-procinfo.h: Likewise.
9491         * sysdeps/s390/dl-procinfo.h: Likewise.
9492         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
9493         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
9494         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
9495         return -1 for unknown a_type display fallback.
9496         * sysdeps/sparc/dl-procinfo.h: Likewise.
9497         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
9498         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
9500 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
9502         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
9503         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
9505 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
9507         [BZ #12492]
9508         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
9509         mprotect making __stack_prot writable.
9511 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
9512             Joseph Myers  <joseph@codesourcery.com>
9514         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
9515         as being properly aligned.
9517 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
9519         * dlfcn/modstatic5.c: New file.
9520         * dlfcn/tststatic5.c: New file.
9521         * dlfcn/Makefile (tests): Add tststatic5.
9522         (tests-static): Likewise.
9523         (modules-names): Add modstatic5.
9524         (tststatic5-ENV): New variable.
9525         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
9527         [BZ #15022]
9528         * elf/dl-support.c (_dl_main_map): New variable.
9529         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
9530         (_dl_nns, _dl_load_adds): Set to 1.
9531         (_dl_initial_searchlist): Refer to _dl_main_map.
9532         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
9533         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
9534         call to _dl_get_origin.
9535         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
9536         around call_map.
9537         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
9538         * dlfcn/modstatic3.c: New file.
9539         * dlfcn/tststatic3.c: New file.
9540         * dlfcn/tststatic4.c: New file.
9541         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
9542         (tests-static): Likewise.
9543         (modules-names): Add modstatic3.
9544         (tststatic3-ENV, tststatic4-ENV): New variables.
9545         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
9546         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
9548 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
9550         * configure.in (CC): Require GCC version 4.4 or later.
9551         * configure: Regenerated.
9552         * manual/install.texi (Tools for Compilation): Update GCC version
9553         requirement.
9554         * INSTALL: Regenerated.
9556 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9558         [BZ #15674]
9559         * string/test-memcmp.c (check2): New.
9560         (main): Call check2.
9562         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9564 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
9566         [BZ #15022]
9567         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
9568         over to...
9569         (dl_open_worker) [!SHARED]: ... here.
9571 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9573         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
9575 2013-06-25  Richard Henderson  <rth@redhat.com>
9577         * locale/programs/locarchive.c: Include <libc-internal.h>
9579 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
9581         * manual/texinfo.tex: Update to version 2013-06-21.17, with
9582         trailing whitespace removed.
9584 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9586         [BZ #10283]
9587         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
9588         * locale/programs/locarchive.c: Include libc-mmap.h.
9589         (prepare_address_space): Take two new outputs (the mmap base and len).
9590         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
9591         values.
9592         (create_archive): Declare new mmap base and len values for
9593         prepare_address_space, and store the result in ah.
9594         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
9595         (enlarge_archive): If ah->mmap_base is not NULL, use that and
9596         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9597         Declare new mmap base and len values for
9598         prepare_address_space, and store the result in new_ah.
9599         (open_archive): Declare new mmap base and len values for
9600         prepare_address_space, and store the result in ah.
9601         (close_archive): If ah->mmap_base is not NULL, use that and
9602         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9603         * sysdeps/generic/libc-mmap.h: New file.
9605 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9607         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
9608         (ALIGN_UP): Likewise.
9609         (PTR_ALIGN_DOWN): Likewise.
9610         (PTR_ALIGN_UP): Likewise.
9612 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9614         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
9615         entry mapped to PPC_PLATFORM_POWER8.
9616         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
9617         POWER8.
9618         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
9619         (_dl_string_platform): Add case for exporting platform position for
9620         POWER8.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
9622         search path to sysdeps/powerpc/powerpc32/power8 directory.
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
9624         search path to sysdeps/powerpc/powerpc64/power8 directory.
9625         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
9626         power7 directories.
9627         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
9628         power7 directories.
9630 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9632         * INSTALL: Regenerate.
9634         * nscd/connections.c (nscd_init): Fix comment.
9636 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
9638         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
9640         [BZ #15667]
9641         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
9642         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9644 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9646         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
9647         DL_DST_REQ_STATIC.
9648         (DL_DST_REQ_STATIC): Remove macro.
9650 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
9652         [BZ #7006]
9653         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
9654         with a shift of 0 bits.
9656 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9658         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
9659         $(tststatic-ENV).
9661 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9663         [BZ #15655]
9664         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
9666 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9668         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9669         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
9670         accepts -fno-tree-loop-distribute-patterns.
9671         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
9672         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9673         recursive call.
9674         * string/memset.c (memset): Likewise.
9675         * string/test-memmove.c (simple_memmove): Disable loop transformation
9676         to library calls.
9677         * string/test-memset.c (simple_memset): Likewise.
9678         * benchtests/bench-memmove.c (simple_memmove): Likewise.
9679         * benchtests/bench-memset.c (simple_memset): Likewise.
9680         * configure: Regenerated.
9682 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
9684         * math/test-misc.c (main): Ignore fesetround failure when failures
9685         of subsequent rounding tests would be ignored.
9687         [BZ #15654]
9688         * math/fedisblxcpt.c (fedisableexcept): Return 0.
9689         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9690         * math/fegetenv.c (__fegetenv): Return 0.
9691         * math/fegetexcept.c (fegetexcept): Return 0.
9692         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9693         FE_TONEAREST.
9694         * math/feholdexcpt.c (feholdexcept): Return 0.
9695         * math/fesetenv.c (__fesetenv): Return 0.
9696         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9697         argument FE_TONEAREST.
9698         * math/feupdateenv.c (__feupdateenv): Return 0.
9699         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9701 2013-06-18  Roland McGrath  <roland@hack.frob.com>
9703         * elf/rtld-Rules (rtld-compile-command.S): New variable.
9704         (rtld-compile-command.s, rtld-compile-command.c): New variables.
9705         ($(objpfx)rtld-%.os rules): Use them.
9707 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9709         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9710         fields.
9712 2013-06-17  Roland McGrath  <roland@hack.frob.com>
9714         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9715         length of target pattern, then descending length of dependency pattern.
9716         * configure.in (AWK): Require gawk 3.1.2 or newer.
9717         * manual/install.texi (Tools for Compilation): Say that we do.
9718         * configure: Regenerated.
9720         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9721         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9722         * scripts/sysd-rules.awk: ... this new script.
9723         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9724         than a glob-style pattern.
9726 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
9728         * math/test-misc.c (main): Do not treat incorrectly rounded
9729         conversions as failure unless ROUNDING_TESTS passes.
9731 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
9733         [BZ #15631]
9734         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9735         restore exception state around main square root computation, then
9736         check for inexactness explicitly.
9738         * math/libm-test.inc (fma_test_data): Add another test.
9740 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9742         * manual/threads.texi (Non-POSIX Extensions): New document
9743         node.  Document pthread_getattr_default_np and
9744         pthread_setattr_default_np.
9746         * Versions.def (libpthread): Add GLIBC_2.18.
9747         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9751         Likewise.
9752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9763         Likewise.
9764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9765         Likewise.
9767 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9770         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9772 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9773             H.J. Lu  <hjl.tools@gmail.com>
9775         [BZ #15627]
9776         * sysdeps/x86_64/rtld-memset.c: Remove file.
9777         * sysdeps/x86_64/rtld-memset.S: New file.
9779 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
9781         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9782         (test_in_one_mode): Take arguments for whether the rounding mode
9783         is supported for each floating-point type.
9784         (do_test): Pass new arguments to test_in_one_mode using
9785         ROUNDING_TESTS.
9787 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9789         * posix/tst-waitid.c (do_test): Distinguish different instances of
9790         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
9791         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9792         before entering the kernel for waitpid.
9794 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9796         * NEWS: Fix note on clock function precision.  Text by Roland
9797         McGrath.
9799 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9801         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9802         it into place only when and if the sanity check passes.
9804 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
9806         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9807         output for whether conversion result is exact.  Take argument
9808         indicating whether type is IBM long double.
9809         (round_for_all): Change need_exact field to ibm_ld.
9810         * stdlib/tst-strtod-round.c (struct exactness): New type.
9811         (struct test): Change bool ld_ok field to struct exactness exact.
9812         (TEST): Update all definitions for change to field.
9813         (tests): Regenerate array contents.
9814         (test_in_one_mode): Take pointer to new field instead of old ld_ok
9815         field value.  Check for IBM long double here.
9816         (do_test): Update calls to test_in_one_mode.
9818 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9820         [BZ #12515]
9821         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9822         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9824 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9826         [BZ #15605]
9827         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9828         generated by the compiler on loop optimizations.
9829         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9830         general definitions.
9832 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
9834         * math/bug-nextafter.c: Include <math-tests.h>.
9835         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9836         the relevant type.
9837         * math/bug-nexttoward.c: Include <math-tests.h>.
9838         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9839         the relevant type.
9840         * math/test-misc.c: Include <math-tests.h>.
9841         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9842         the relevant type.
9844 2013-06-12  Andreas Jaeger  <aj@suse.de>
9846         * po/ia.po: Update Interlingua translation from translation
9847         project.
9849 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9851         * include/fenv.h: Include stdbool.h.
9852         (struct rm_ctx): New structure.
9853         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9854         Define macro.
9855         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9856         (SET_RESTORE_ROUNDF): Likewise.
9857         (SET_RESTORE_ROUNDL): Likewise.
9858         (SET_RESTORE_ROUND_NOEX): Likewise.
9859         (SET_RESTORE_ROUND_NOEXF): Likewise.
9860         (SET_RESTORE_ROUND_NOEXL): Likewise.
9861         (SET_RESTORE_ROUND_53BIT): Likewise.
9862         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9863         (libc_feresetround_noexf_ctx): Likewise.
9864         (libc_feresetround_noexl_ctx): Likewise.
9865         (libc_feholdsetround_53bit_ctx): Likewise.
9866         (libc_feresetround_53bit_ctx): Likewise.
9867         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9868         (libc_feholdexcept_setround_sse_ctx): New function.
9869         (libc_fesetenv_sse_ctx): Likewise.
9870         (libc_feupdateenv_sse_ctx): Likewise.
9871         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9872         (libc_feholdexcept_setround_387_ctx): Likewise.
9873         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9874         (libc_feholdsetround_387_prec_ctx): Likewise.
9875         (libc_feholdsetround_387_ctx): Likewise.
9876         (libc_feholdsetround_387_53bit_ctx): Likewise.
9877         (libc_feholdsetround_sse_ctx): Likewise.
9878         (libc_feresetround_sse_ctx): Likewise.
9879         (libc_feresetround_387_ctx): Likewise.
9880         (libc_feupdateenv_387_ctx): Likewise.
9881         (libc_feholdexcept_setroundf_ctx): Define macro.
9882         (libc_fesetenvf_ctx): Likewise.
9883         (libc_feupdateenvf_ctx): Likewise.
9884         (libc_feholdsetroundf_ctx): Likewise.
9885         (libc_feresetroundf_ctx): Likewise.
9886         (libc_feholdexcept_setround_ctx): Likewise.
9887         (libc_fesetenv_ctx): Likewise.
9888         (libc_feupdateenv_ctx): Likewise.
9889         (libc_feholdsetround_ctx): Likewise.
9890         (libc_feresetround_ctx): Likewise.
9891         (libc_feholdexcept_setroundl_ctx): Likewise.
9892         (libc_feupdateenvl_ctx): Likewise.
9893         (libc_feholdsetroundl_ctx): Likewise.
9894         (libc_feresetroundl_ctx): Likewise.
9895         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9896         (libc_feresetround_53bit_ctx): Likewise.
9898 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9900         * locale/iso-639.def: Convert to UTF-8.
9902 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
9904         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9905         (EXCEPTION_TESTS_double): Likewise.
9906         (EXCEPTION_TESTS_long_double): Likewise.
9907         (EXCEPTION_TESTS): Likewise.
9908         * math/libm-test.inc (test_exceptions): Only test exceptions if
9909         EXCEPTION_TESTS (FLOAT).
9911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9913         * benchtests/Makefile (string-bench): Add strcpy_chk and
9914         stpcpy_chk.
9915         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9916         * benchtests/bench-stpcpy_chk.c: New file.
9917         * benchtests/bench-strcpy_chk-ifunc.c: New file.
9918         * benchtests/bench-strcpy_chk.c: New file.
9919         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9920         code.
9921         (do_test): Likewise.
9923 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9925         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9926         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9927         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9928         with tabs where appropriate.
9929         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9930         dl-procinfo.h.
9931         [PPC_PLATFORM_PPC440]: Likewise.
9932         [PPC_PLATFORM_PPC464]: Likewise.
9933         [PPC_PLATFORM_PPC476]: Likewise.
9934         (_dl_string_platform): Add support for detecting ppc405, ppc440,
9935         ppc464, and ppc476 platform strings merging from ports/
9936         dl-procinfo.h.
9938 2013-06-11  Andreas Schwab  <schwab@suse.de>
9940         [BZ #14991]
9941         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9942         (from_ucs4_idx): Regenerate.
9943         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9944         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9945         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9946         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9947         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9948         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9949         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9950         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9951         from FROM_LOOP and TO_LOOP specific macros.
9952         (BODY): Handle combining characters.
9953         * iconvdata/BIG5HKSCS.irreversible: Update.
9954         * iconvdata/BIG5HKSCS.precomposed: New file.
9955         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9956         characters.
9957         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9961         * include/sys/time.h: Fix indentation and add copyright header.
9963         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9964         (do_test): Likewise.
9965         * string/test-memchr.c (do_one_test): Likewise.
9966         (do_test): Likewise.
9967         * string/test-memcmp.c (do_one_test): Likewise.
9968         (do_test): Likewise.
9969         * string/test-memcpy.c (do_one_test): Likewise.
9970         (do_test): Likewise.
9971         * string/test-memmem.c (do_one_test): Likewise.
9972         (do_test): Likewise.
9973         (do_random_tests): Likewise.
9974         * string/test-memmove.c (do_one_test): Likewise.
9975         (do_test): Likewise.
9976         * string/test-memset.c (do_one_test): Likewise.
9977         (do_test): Likewise.
9978         * string/test-rawmemchr.c (do_one_test): Likewise.
9979         (do_test): Likewise.
9980         * string/test-strcasecmp.c (do_one_test): Likewise.
9981         (do_test): Likewise.
9982         * string/test-strcasestr.c (do_one_test): Likewise.
9983         (do_test): Likewise.
9984         * string/test-strcat.c (do_one_test): Likewise.
9985         (do_test): Likewise.
9986         * string/test-strchr.c (do_one_test): Likewise.
9987         (do_test): Likewise.
9988         * string/test-strcmp.c (do_one_test): Likewise.
9989         (do_test): Likewise.
9990         * string/test-strcpy.c (do_one_test): Likewise.
9991         (do_test): Likewise.
9992         * string/test-string.h: Likewise.
9993         (test_init): Likewise.
9994         * string/test-strlen.c (do_one_test): Likewise.
9995         (do_test): Likewise.
9996         * string/test-strncasecmp.c (do_one_test): Likewise.
9997         (do_test): Likewise.
9998         * string/test-strncat.c (do_one_test): Likewise.
9999         (do_test): Likewise.
10000         * string/test-strncmp.c (do_one_test): Likewise.
10001         (do_test_limit): Likewise.
10002         (do_test): Likewise.
10003         * string/test-strncpy.c (do_one_test): Likewise.
10004         (do_test): Likewise.
10005         * string/test-strnlen.c (do_one_test): Likewise.
10006         (do_test): Likewise.
10007         * string/test-strpbrk.c (do_one_test): Likewise.
10008         (do_test): Likewise.
10009         * string/test-strrchr.c (do_one_test): Likewise.
10010         (do_test): Likewise.
10011         * string/test-strspn.c (do_one_test): Likewise.
10012         (do_test): Likewise.
10013         * string/test-strstr.c (do_one_test): Likewise.
10014         (do_test): Likewise.
10016         * benchtests/Makefile (string-bench): Add string benchmarks.
10017         * benchtests/bench-bcopy-ifunc.c: New file.
10018         * benchtests/bench-bcopy.c: New file.
10019         * benchtests/bench-bzero-ifunc.c: New file.
10020         * benchtests/bench-bzero.c: New file.
10021         * benchtests/bench-memccpy-ifunc.c: New file.
10022         * benchtests/bench-memccpy.c: New file.
10023         * benchtests/bench-memchr-ifunc.c: New file.
10024         * benchtests/bench-memchr.c: New file.
10025         * benchtests/bench-memcmp-ifunc.c: New file.
10026         * benchtests/bench-memcmp.c: New file.
10027         * benchtests/bench-memmem-ifunc.c: New file.
10028         * benchtests/bench-memmem.c: New file.
10029         * benchtests/bench-memmove-ifunc.c: New file.
10030         * benchtests/bench-memmove.c: New file.
10031         * benchtests/bench-mempcpy-ifunc.c: New file.
10032         * benchtests/bench-mempcpy.c: New file.
10033         * benchtests/bench-memset-ifunc.c: New file.
10034         * benchtests/bench-memset.c: New file.
10035         * benchtests/bench-rawmemchr-ifunc.c: New file.
10036         * benchtests/bench-rawmemchr.c: New file.
10037         * benchtests/bench-stpcpy-ifunc.c: New file.
10038         * benchtests/bench-stpcpy.c: New file.
10039         * benchtests/bench-stpncpy-ifunc.c: New file.
10040         * benchtests/bench-stpncpy.c: New file.
10041         * benchtests/bench-strcasecmp-ifunc.c: New file.
10042         * benchtests/bench-strcasecmp.c: New file.
10043         * benchtests/bench-strcasestr-ifunc.c: New file.
10044         * benchtests/bench-strcasestr.c: New file.
10045         * benchtests/bench-strcat-ifunc.c: New file.
10046         * benchtests/bench-strcat.c: New file.
10047         * benchtests/bench-strchr-ifunc.c: New file.
10048         * benchtests/bench-strchr.c: New file.
10049         * benchtests/bench-strchrnul-ifunc.c: New file.
10050         * benchtests/bench-strchrnul.c: New file.
10051         * benchtests/bench-strcmp-ifunc.c: New file.
10052         * benchtests/bench-strcmp.c: New file.
10053         * benchtests/bench-strcpy-ifunc.c: New file.
10054         * benchtests/bench-strcpy.c: New file.
10055         * benchtests/bench-strcspn-ifunc.c: New file.
10056         * benchtests/bench-strcspn.c: New file.
10057         * benchtests/bench-strlen-ifunc.c: New file.
10058         * benchtests/bench-strlen.c: New file.
10059         * benchtests/bench-strncasecmp-ifunc.c: New file.
10060         * benchtests/bench-strncasecmp.c: New file.
10061         * benchtests/bench-strncat-ifunc.c: New file.
10062         * benchtests/bench-strncat.c: New file.
10063         * benchtests/bench-strncmp-ifunc.c: New file.
10064         * benchtests/bench-strncmp.c: New file.
10065         * benchtests/bench-strncpy-ifunc.c: New file.
10066         * benchtests/bench-strncpy.c: New file.
10067         * benchtests/bench-strnlen-ifunc.c: New file.
10068         * benchtests/bench-strnlen.c: New file.
10069         * benchtests/bench-strpbrk-ifunc.c: New file.
10070         * benchtests/bench-strpbrk.c: New file.
10071         * benchtests/bench-strrchr-ifunc.c: New file.
10072         * benchtests/bench-strrchr.c: New file.
10073         * benchtests/bench-strspn-ifunc.c: New file.
10074         * benchtests/bench-strspn.c: New file.
10075         * benchtests/bench-strstr-ifunc.c: New file.
10076         * benchtests/bench-strstr.c: New file.
10078         * benchtests/Makefile: Disable parallel execution of targets.
10079         (string-bench): Add memcpy.
10080         (benchset): New variable to store a list of benchmark sets.
10081         (bench-func): Renamed from bench.
10082         (bench-set): New target.
10083         (bench): Depend on bench-func and bench-set.
10084         * benchtests/README: Add section on benchmark sets.
10085         * benchtests/bench-memcpy-ifunc.c: New file.
10086         * benchtests/bench-memcpy.c: New file.
10087         * benchtests/bench-string.h: New file.
10089 2013-06-11  Andreas Schwab  <schwab@suse.de>
10091         [BZ #15577]
10092         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10093         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10094         values in the triple.
10095         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10096         terminator in the group key.
10098 2013-06-11  Andreas Jaeger  <aj@suse.de>
10100         * po/zh_TW.po: Update Chinese (traditional) translation from
10101         translation project.
10103 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10105         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10106         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10107         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10109         (clock_getcpuclockid): Likewise.
10110         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10111         Add weak_alias and libc_hidden_def.
10112         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10113         * rt/clock_gettime.c (clock_gettime): Rename to
10114         __clock_gettime.  Add weak_alias and libc_hidden_def.
10115         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10116         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10117         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10118         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10119         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10120         Likewise.
10121         * rt/clock_settime.c (clock_settime): Rename to
10122         __clock_settime.  Add weak_alias and libc_hidden_def.
10123         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10125 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10127         * mach/err_boot.sub: Remove trailing whitespace.
10128         * mach/err_ipc.sub: Likewise.
10129         * mach/err_mach.sub: Likewise.
10131         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10132         (ROUNDING_TESTS_double): Likewise.
10133         (ROUNDING_TESTS_long_double): Likewise.
10134         (ROUNDING_TESTS): Likewise.
10135         * math/libm-test.inc: Include <math-tests.h>.
10136         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10137         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10138         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10139         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10141 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10143         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10144         of assigning.
10146 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10148         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10149         otherwise empty TRANS lines.
10150         * sysdeps/gnu/errlist.c: Regenerated.
10152         * catgets/gencat.c (error_print): Use (void) in function
10153         definition.
10154         * crypt/crypt_util.c (__init_des): Likewise.
10155         * crypt/speeds.c (Stop): Likewise.
10156         (main): Likewise.
10157         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10158         * inet/ruserpass.c (token): Likewise.
10159         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10160         * intl/localealias.c (extend_alias_table): Likewise.
10161         * intl/plural-exp.c (init_germanic_plural): Likewise.
10162         * libio/fcloseall.c (__fcloseall): Likewise.
10163         * libio/genops.c (_IO_flush_all): Likewise.
10164         (_IO_flush_all_linebuffered): Likewise.
10165         (_IO_cleanup): Likewise.
10166         (_IO_iter_begin): Likewise.
10167         (_IO_iter_end): Likewise.
10168         (_IO_list_lock): Likewise.
10169         (_IO_list_unlock): Likewise.
10170         (_IO_list_resetlock): Likewise.
10171         * libio/getchar.c (getchar): Likewise.
10172         * libio/getchar_u.c (getchar_unlocked): Likewise.
10173         * libio/getwchar.c (getwchar): Likewise.
10174         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10175         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10176         * login/getpt.c (__getpt): Likewise.
10177         * login/tst-utmp.c (main): Likewise.
10178         * malloc/hooks.c (__malloc_check_init): Likewise.
10179         * malloc/malloc.c (__malloc_stats): Likewise.
10180         * malloc/mtrace.c (tr_break): Likewise.
10181         (mtrace): Likewise.
10182         (muntrace): Likewise.
10183         * misc/fstab.c (endfsent): Likewise.
10184         * misc/getclktck.c (__getclktck): Likewise.
10185         * misc/getdtsz.c (__getdtablesize): Likewise.
10186         * misc/gethostid.c (gethostid): Likewise.
10187         * misc/getpagesize.c (__getpagesize): Likewise.
10188         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10189         (__get_nprocs): Likewise.
10190         (__get_phys_pages): Likewise.
10191         (__get_avphys_pages): Likewise.
10192         * misc/getttyent.c (getttyent): Likewise.
10193         (setttyent): Likewise.
10194         (endttyent): Likewise.
10195         * misc/getusershell.c (getusershell): Likewise.
10196         (endusershell): Likewise.
10197         (setusershell): Likewise.
10198         (initshells): Likewise.
10199         * misc/hsearch.c (__hdestroy): Likewise.
10200         * misc/sync.c (sync): Likewise.
10201         * misc/syslog.c (closelog_internal): Likewise.
10202         (closelog): Likewise.
10203         * misc/ttyslot.c (ttyslot): Likewise.
10204         * misc/vhangup.c (vhangup): Likewise.
10205         * posix/fork.c (__fork): Likewise.
10206         * posix/getegid.c (__getegid): Likewise.
10207         * posix/geteuid.c (__geteuid): Likewise.
10208         * posix/getgid.c (__getgid): Likewise.
10209         * posix/getpid.c (__getpid): Likewise.
10210         * posix/getppid.c (__getppid): Likewise.
10211         * posix/getuid.c (__getuid): Likewise.
10212         * posix/pause.c (pause): Likewise.
10213         * posix/setpgrp.c (setpgrp): Likewise.
10214         * posix/setsid.c (__setsid): Likewise.
10215         * posix/test-vfork.c (noop): Likewise.
10216         * resolv/gethnamaddr.c (_endhtent): Likewise.
10217         (_gethtent): Likewise.
10218         (ht_endhostent): Likewise.
10219         (gethostent): Likewise.
10220         (dns_service): Likewise.
10221         * stdlib/drand48.c (drand48): Likewise.
10222         * stdlib/lrand48.c (lrand48): Likewise.
10223         * stdlib/mrand48.c (mrand48): Likewise.
10224         * stdlib/rand.c (rand): Likewise.
10225         * stdlib/random.c (__random): Likewise.
10226         * stdlib/setenv.c (clearenv): Likewise.
10227         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10228         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10229         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10230         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10231         (__get_nprocs): Likewise.
10232         (__get_phys_pages): Likewise.
10233         (__get_avphys_pages): Likewise.
10234         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10235         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10236         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10237         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10238         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10239         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10240         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10241         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10242         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10243         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10244         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10245         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10246         * sysdeps/posix/clock.c (clock): Likewise.
10247         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10248         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10249         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10250         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10251         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10253         (__get_nprocs_conf): Likewise.
10254         (__get_phys_pages): Likewise.
10255         (__get_avphys_pages): Likewise.
10256         * time/clock.c (clock): Likewise.
10257         * time/tzset.c (__tzname_max): Likewise.
10259 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10261         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10262         (__bswap_32): Do not use "register".
10263         * crypt/crypt.c (_ufc_doit_r): Likewise.
10264         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10265         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10266         * gmon/gmon.c (__monstartup): Likewise.
10267         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10268         * hurd/hurdmalloc.c (more_memory): Likewise.
10269         (malloc): Likewise.
10270         (free): Likewise.
10271         (realloc): Likewise.
10272         (malloc_fork_prepare): Likewise.
10273         (malloc_fork_parent): Likewise.
10274         (malloc_fork_child): Likewise.
10275         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10276         (_svcauth_des): Likewise.
10277         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10278         * inet/inet_net.c (inet_network): Likewise.
10279         * inet/inet_netof.c (inet_netof): Likewise.
10280         * inet/rcmd.c (__validuser2_sa): Likewise.
10281         * io/fts.c (fts_open): Likewise.
10282         (fts_load): Likewise.
10283         (fts_close): Likewise.
10284         (fts_read): Likewise.
10285         (fts_children): Likewise.
10286         (fts_build): Likewise.
10287         (fts_stat): Likewise.
10288         (fts_sort): Likewise.
10289         (fts_alloc): Likewise.
10290         (fts_lfree): Likewise.
10291         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10292         (_IO_file_xsgetn): Likewise.
10293         (_IO_file_xsgetn_mmap): Likewise.
10294         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10295         (_IO_cookie_write): Likewise.
10296         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10297         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10298         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10299         * malloc/obstack.c (_obstack_begin): Likewise.
10300         (_obstack_begin_1): Likewise.
10301         (_obstack_newchunk): Likewise.
10302         (_obstack_allocated_p): Likewise.
10303         (obstack_free): Likewise.
10304         (_obstack_memory_used): Likewise.
10305         * misc/getttyent.c (getttynam): Likewise.
10306         (getttyent): Likewise.
10307         (skip): Likewise.
10308         (value): Likewise.
10309         * misc/getusershell.c (initshells): Likewise.
10310         * misc/syslog.c (__vsyslog_chk): Likewise.
10311         * misc/ttyslot.c (ttyslot): Likewise.
10312         * nis/nis_hash.c (__nis_hash): Likewise.
10313         * posix/fnmatch_loop.c (FCT): Likewise.
10314         * posix/getconf.c (print_all): Likewise.
10315         (main): Likewise.
10316         * posix/getopt.c (exchange): Likewise.
10317         * posix/glob.c (globfree): Likewise.
10318         (prefix_array): Likewise.
10319         (__glob_pattern_type): Likewise.
10320         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10321         (NS_GET32): Likewise.
10322         (NS_PUT16): Likewise.
10323         (NS_PUT32): Likewise.
10324         * resolv/gethnamaddr.c (getanswer): Likewise.
10325         (gethostbyname2): Likewise.
10326         (gethostbyaddr): Likewise.
10327         (_gethtent): Likewise.
10328         (_gethtbyname2): Likewise.
10329         (_gethtbyaddr): Likewise.
10330         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10331         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10332         * resolv/res_init.c (__res_vinit): Likewise.
10333         (net_mask): Likewise.
10334         * resolv/res_mkquery.c (outchar): Likewise.
10335         (PRINT): Likewise.
10336         * stdio-common/printf_fp.c (outchar): Likewise.
10337         (PRINT): Likewise.
10338         * stdio-common/printf_fphex.c (outchar): Likewise.
10339         (PRINT): Likewise.
10340         * stdio-common/printf_size.c (outchar): Likewise.
10341         (PRINT): Likewise.
10342         * stdio-common/test_rdwr.c (main): Likewise.
10343         * stdio-common/tfformat.c (matches): Likewise.
10344         * stdio-common/vfprintf.c (outchar): Likewise.
10345         (printf_unknown): Likewise.
10346         (buffered_vfprintf): Likewise.
10347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10348         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10349         (ReadFile): Likewise.
10350         * stdlib/qsort.c (SWAP): Likewise.
10351         (_quicksort): Likewise.
10352         * stdlib/setenv.c (__add_to_environ): Likewise.
10353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10354         * stdlib/strtol_l.c (__strtol_l): Likewise.
10355         * stdlib/tst-strtod.c (main): Likewise.
10356         * stdlib/tst-strtol.c (main): Likewise.
10357         * stdlib/tst-strtoll.c (main): Likewise.
10358         * string/bits/string2.h (__strcmp_cc): Likewise.
10359         (__strcmp_cg): Likewise.
10360         (__strcspn_c1): Likewise.
10361         (__strcspn_c2): Likewise.
10362         (__strcspn_c3): Likewise.
10363         (__strspn_c1): Likewise.
10364         (__strspn_c2): Likewise.
10365         (__strspn_c3): Likewise.
10366         (__strsep_1c): Likewise.
10367         (__strsep_2c): Likewise.
10368         (__strsep_3c): Likewise.
10369         * string/memccpy.c (__memccpy): Likewise.
10370         * string/stpcpy.c (__stpcpy): Likewise.
10371         * string/strcmp.c (strcmp): Likewise.
10372         * string/strrchr.c (strrchr): Likewise.
10373         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10374         Likewise.
10375         * sysdeps/mach/hurd/getcwd.c
10376         (_hurd_canonicalize_directory_name_internal): Likewise.
10377         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10378         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10379         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10380         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10381         Likewise, in both definitions.
10382         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10383         definitions.
10384         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10385         64] (__bswap_64): Likewise.
10386         * time/test_time.c (main): Likewise.
10387         * time/tzfile.c (__tzfile_read): Likewise.
10388         (__tzfile_compute): Likewise.
10389         * time/tzset.c (__tzset_parse_tz): Likewise.
10390         (tzset_internal): Likewise.
10391         (compute_change): Likewise.
10392         * wcsmbs/wcscat.c (__wcscat): Likewise.
10393         * wcsmbs/wcschr.c (wcschr): Likewise.
10394         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10395         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10396         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10397         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10398         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10399         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10400         * wcsmbs/wmemchr.c (wmemchr): Likewise.
10401         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10402         * wcsmbs/wmemset.c (wmemset): Likewise.
10404 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
10406         * scripts/config.guess: Update to version 2013-05-16.
10407         * scripts/config.sub: Update to version 2013-04-24.
10408         * scripts/install-sh: Update to version 2011-11-20.07.
10409         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10410         * scripts/move-if-change: Update to version 2012-01-06 07:23.
10412 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
10414         * debug/fgetws_u_chk.c: Fix leading whitespaces.
10415         * elf/sln.c: Likewise.
10416         * hurd/hurd/ioctl.h: Likewise.
10417         * hurd/hurdmalloc.c: Likewise.
10418         * hurd/xattr.c: Likewise.
10419         * include/shlib-compat.h: Likewise.
10420         * inet/ruserpass.c: Likewise.
10421         * libio/iofgets_u.c: Likewise.
10422         * libio/iofgetws_u.c: Likewise.
10423         * locale/programs/ld-identification.c: Likewise.
10424         * locale/programs/ld-time.c: Likewise.
10425         * mach/msg-destroy.c: Likewise.
10426         * nss/nss_files/files-netgrp.c: Likewise.
10427         * resolv/res_data.c: Likewise.
10428         * soft-fp/op-1.h: Likewise.
10429         * soft-fp/op-2.h: Likewise.
10430         * soft-fp/op-4.h: Likewise.
10431         * soft-fp/op-common.h: Likewise.
10432         * stdio-common/printf_fphex.c: Likewise.
10433         * stdlib/strtod_l.c: Likewise.
10434         * sunrpc/rpc/clnt.h: Likewise.
10435         * sysdeps/generic/framestate.c: Likewise.
10436         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10437         * sysdeps/i386/bsd-setjmp.S: Likewise.
10438         * sysdeps/i386/__longjmp.S: Likewise.
10439         * sysdeps/i386/setjmp.S: Likewise.
10440         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10441         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10445         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10447         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10448         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10449         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10450         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10451         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10452         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10453         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10454         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10455         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10456         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10457         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
10458         * sysdeps/ieee754/support.c: Likewise.
10459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10460         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
10461         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
10462         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
10463         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
10464         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
10465         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
10466         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
10467         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
10468         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
10469         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
10470         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
10471         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
10472         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
10473         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
10474         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
10475         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10478 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
10480         * posix/transbug.c: Remove executable mode.
10482 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
10484         * crypt/speeds.c: Remove trailing whitespace.
10485         * dlfcn/default.c: Likewise.
10486         * elf/ifuncdep2.c: Likewise.
10487         * elf/ifuncmain1.c: Likewise.
10488         * elf/ifuncmain1vis.c: Likewise.
10489         * elf/testobj.h: Likewise.
10490         * elf/tst-stackguard1.c: Likewise.
10491         * gmon/sys/gmon.h: Likewise.
10492         * hurd/hurdmsg.c: Likewise.
10493         * hurd/new-fd.c: Likewise.
10494         * hurd/ports-get.c: Likewise.
10495         * iconvdata/ibm1008_420.c: Likewise.
10496         * inet/tst-getni1.c: Likewise.
10497         * inet/tst-getni2.c: Likewise.
10498         * libio/ioungetc.c: Likewise.
10499         * libio/wfiledoalloc.c: Likewise.
10500         * manual/libm-err-tab.pl: Likewise.
10501         * math/w_dremf.c: Likewise.
10502         * misc/ftruncate.c: Likewise.
10503         * posix/bug-glob2.c: Likewise.
10504         * posix/tst-pcre.c: Likewise.
10505         * posix/wait4.c: Likewise.
10506         * resolv/README: Likewise.
10507         * resolv/res_debug.h: Likewise.
10508         * resolv/tst-inet_ntop.c: Likewise.
10509         * setjmp/bug269-setjmp.c: Likewise.
10510         * soft-fp/extended.h: Likewise.
10511         * soft-fp/op-1.h: Likewise.
10512         * soft-fp/op-2.h: Likewise.
10513         * soft-fp/op-4.h: Likewise.
10514         * soft-fp/op-8.h: Likewise.
10515         * soft-fp/testit.c: Likewise.
10516         * stdio-common/bug16.c: Likewise.
10517         * stdlib/random.c: Likewise.
10518         * sunrpc/rpcsvc/rquota.x: Likewise.
10519         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
10520         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10522         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10523         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10524         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10525         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10527         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10528         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10529         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10534         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10535         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10537         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10540         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10541         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10542         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10543         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10544         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10547         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10548         * sysdeps/ieee754/s_lib_version.c: Likewise.
10549         * sysdeps/mach/hurd/check_fds.c: Likewise.
10550         * sysdeps/mach/hurd/getsockname.c: Likewise.
10551         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
10552         * sysdeps/mach/hurd/recvfrom.c: Likewise.
10553         * sysdeps/powerpc/bits/link.h: Likewise.
10554         * sysdeps/powerpc/dl-procinfo.c: Likewise.
10555         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
10556         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
10557         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
10558         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10559         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10560         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
10561         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10562         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
10563         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10564         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10565         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10566         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
10567         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10568         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10569         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10571         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10573         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10574         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10575         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
10576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10577         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10578         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
10579         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10580         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10581         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10582         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10584         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10585         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10586         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10588         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
10589         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10590         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
10591         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10592         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10593         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
10594         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
10595         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
10596         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
10597         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
10598         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10599         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
10600         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
10601         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10602         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
10603         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
10604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10605         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10606         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10607         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10608         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
10609         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10610         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10611         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
10613         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10614         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
10615         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
10616         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
10617         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10618         * sysdeps/powerpc/sysdep.h: Likewise.
10619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10620         * sysdeps/s390/s390-64/sub_n.S: Likewise.
10621         * sysdeps/sh/dl-trampoline.S: Likewise.
10622         * sysdeps/sh/memset.S: Likewise.
10623         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
10624         * sysdeps/sh/strlen.S: Likewise.
10625         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
10626         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
10627         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
10628         * sysdeps/sparc/sparc32/rem.S: Likewise.
10629         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
10630         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
10631         * sysdeps/sparc/sparc32/strchr.S: Likewise.
10632         * sysdeps/sparc/sparc32/udiv.S: Likewise.
10633         * sysdeps/sparc/sparc32/urem.S: Likewise.
10634         * sysdeps/sparc/sparc64/add_n.S: Likewise.
10635         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10636         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
10637         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
10638         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
10639         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
10640         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10641         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
10642         * sysdeps/unix/bsd/times.c: Likewise.
10643         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
10644         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10648         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10649         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10650         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
10652         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
10653         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
10654         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10655         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
10656         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10657         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10658         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10659         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10660         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
10661         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
10662         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
10663         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10664         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
10665         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10666         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
10667         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
10668         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10669         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
10670         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10671         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
10672         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10673         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10674         * sysdeps/x86_64/strcspn.S: Likewise.
10676 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10678         * locale/C-translit.h: Revert #include <stdint.h> because this is a
10679         generated file.  Regenerate properly from gen-translit.pl.
10680         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
10681         locale/C-translit.h.
10683 2013-06-05  Andreas Schwab  <schwab@suse.de>
10685         [BZ #15100]
10686         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10687         week as 6 instead of -1.
10688         * time/tst-strptime.c (day_tests): Add test case.
10690 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10692         * sysdeps/generic/math_private.h
10693         (libc_feholdexcept_setround_53bit): Replace with
10694         libc_feholdsetround_53bit.
10695         (libc_feupdateenv_53bit): Replace with
10696         libc_feresetround_53bit.
10697         (SET_RESTORE_ROUND_53BIT): Adjust.
10699 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10701         * string/test-strchrnul.c: Add copyright header.
10703         * posix/tst-getaddrinfo4.c: Increase test timeout.
10705 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
10707         [BZ #15536]
10708         * math/libm-test.inc (MAX_EXP): Remove
10709         (MIN_EXP): Define.
10710         (ulp): Use MIN_EXP - MANT_DIG.
10711         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10713 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
10715         * po/be.po: Revert last change.
10716         * po/zh_CN.po: Likewise.
10717         * po/header.pot: Likewise.
10719 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
10721         * Makefile ($(common-objpfx)linkobj/libc.so): Define
10722         link-libc-deps to empty as target-specific variable.
10723         * Makerules (link-libc-args): New variable.
10724         (libc-for-link): Likewise.
10725         (link-libc-deps): Likewise.
10726         (lib%.so): Depend on $(link-libc-deps).  Link with
10727         $(link-libc-args).
10728         (build-module): Link with $(link-libc-args).
10729         (build-module-asneeded): Likewise.
10730         (build-module-helper-objlist): Filter out $(link-libc-deps) from
10731         list of objects.
10732         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10733         target-specific variable.
10734         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10735         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10736         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10737         libc.
10738         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10739         libc and ld.so.
10740         ($(objpfx)libpcprofile.so): Likewise.
10741         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10742         libc_nonshared.a.
10743         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10744         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10745         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10746         $(link-libc-deps).
10747         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10748         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10749         * login/Makefile ($(objpfx)libutil.so): Likewise.
10750         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10751         * math/Makefile ($(objpfx)libm.so): Likewise.
10752         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10753         $(objpfx)libnsl.so): Define libc-for-link as target-specific
10754         variable instead of depending directly on libc.
10755         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10756         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10757         $(link-libc-deps).
10758         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10759         libc.
10760         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10761         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10762         ($(objpfx)libanl.so): Likewise.
10763         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10764         ld.so.
10765         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10766         $(link-libc-deps).
10767         * sysdeps/i386/fpu/Makefile: Remove file.
10768         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10769         ($(objpfx)libm.so): Remove dependency on ld.so.
10771 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
10773         [BZ # 15553]
10774         * nis/yp_xdr.c (XDRMAXNAME): Define.
10775         (XDRMAXRECORD): Define.
10776         (xdr_domainname): Use XDRMAXNAME.
10777         (xdr_mapname): Likewise.
10778         (xdr_peername): Likewise.
10779         (xdr_keydat): Use XDRMAXRECORD.
10780         (xdr_valdat): Likewise.
10782 2013-05-30  Jeff Law  <law@redhat.com>
10784         [BZ #14256]
10785         * manual/errno.texi (ESTALE): Update to account for more than
10786         just NFS file systems.
10787         * sysdeps/gnu/errlist.c: Regenerated.
10789 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791         [BZ #15465]
10792         * elf/Makefile (tests): Add tst-null-argv.
10793         (modules-names):  Add tst-null-argv-lib.
10794         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10795         (tst-null-argv-ENV): Set environment for tst-null-argv.
10796         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10797         (RTLD_PROGNAME): New macro.
10798         * elf/tst-null-argv.c: New test case.
10799         * elf/tst-null-argv-lib.c: Library for test case.
10800         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10801         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10802         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10803         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10804         * elf/dl-init.c (call_init): Likewise.
10805         (_dl_init): Likewise.
10806         * elf/dl-load.c (print_search_path): Likewise.
10807         (_dl_map_object): Likewise.
10808         * elf/dl-lookup.c (do_lookup_x): Likewise.
10809         (add_dependency): Likewise.
10810         (_dl_lookup_symbol_x): Likewise.
10811         (_dl_debug_bindings): Likewise.
10812         * elf/dl-open.c (_dl_show_scope): Likewise.
10813         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10814         * elf/dl-version.c (match_symbol): Likewise.
10815         (_dl_check_map_versions): Likewise.
10816         * elf/rtld.c (dl_main): Likewise.
10817         (print_unresolved): Use RTLD_PROGNAME.
10818         (print_missing_version): Likewise.
10819         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10820         (elf_machine_rela): Likewise.
10821         * sysdeps/powerpc/powerpc32/dl-machine.c
10822         (__process_machine_rela): Likewise.
10823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10824         Likewise.
10825         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10826         Likewise.
10827         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10828         Likewise.
10829         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10830         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10831         Likewise.
10832         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10833         Likewise.
10834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10836 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
10838         * po/be.po: Add descriptive title.
10839         * po/zh_CN.po: Likewise.
10840         * po/header.pot: Likewise.
10842 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
10844         * locale/programs/locarchive.c (create_archive): Inlucde fname in
10845         error message.
10846         (enlarge_archive): Likewise.
10848 2013-05-28  Ben North  <ben@redfrontdoor.org>
10850         * manual/arith.texi (frexp): It is the magnitude of the return
10851         value which lies in [0.5, 1), not the return value itself.
10853 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10857 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
10859         * stdio-common/bug26.c (main): Correct fscanf template.
10861         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10862         declare _dl_skip_args.
10864         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10865         Don't declare.
10867         * manual/platform.texi: Add missing @end deftypefun.
10869 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10871         [BZ #15529]
10872         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10873         bit of mantissa of 2^16382.
10874         * math/libm-test.inc (hypot_test_data): Add more tests.
10876         * math/libm-test.inc: Add drem and pow10 to list of tested
10877         functions.
10878         (pow10_test): New function.
10879         (drem_test): Likewise.
10880         (drem_test_tonearest): Likewise.
10881         (drem_test_towardzero): Likewise.
10882         (drem_test_downward): Likewise.
10883         (drem_test_upward): Likewise.
10884         (main): Call the new functions.
10886         * math/libm-test.inc (finite_test_data): Remove.
10887         (finite_test): Run tests from isfinite_test_data.
10888         (gamma_test_data): Remove.
10889         (gamma_test): Run tests from lgamma_test_data.
10890         * sysdeps/i386/fpu/libm-test-ulps: Update.
10891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10893 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10895         * manual/platform.texi: Add PowerPC PPR function set documentation.
10896         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10897         implementation.
10899 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
10901         * math/libm-test.inc (MAX_EXP): Define.
10902         (ULPDIFF): Define.
10903         (ulp): New function.
10904         (check_float_internal): Use ULPDIFF.
10905         (cpow_test): Disable failing test.
10906         (check_ulp): Test ulp() implemetnation.
10907         (main): Call check_ulp before starting tests.
10909 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10911         * math/gen-libm-test.pl (generate_testfile): Do not handle
10912         START_DATA and END_DATA.
10913         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10914         END_DATA.
10915         (acos_tonearest_test_data): Likewise.
10916         (acos_towardzero_test_data): Likewise.
10917         (acos_downward_test_data): Likewise.
10918         (acos_upward_test_data): Likewise.
10919         (acosh_test_data): Likewise.
10920         (asin_test_data): Likewise.
10921         (asin_tonearest_test_data): Likewise.
10922         (asin_towardzero_test_data): Likewise.
10923         (asin_downward_test_data): Likewise.
10924         (asin_upward_test_data): Likewise.
10925         (asinh_test_data): Likewise.
10926         (atan_test_data): Likewise.
10927         (atanh_test_data): Likewise.
10928         (atan2_test_data): Likewise.
10929         (cabs_test_data): Likewise.
10930         (cacos_test_data): Likewise.
10931         (cacosh_test_data): Likewise.
10932         (carg_test_data): Likewise.
10933         (casin_test_data): Likewise.
10934         (casinh_test_data): Likewise.
10935         (catan_test_data): Likewise.
10936         (catanh_test_data): Likewise.
10937         (cbrt_test_data): Likewise.
10938         (ccos_test_data): Likewise.
10939         (ccosh_test_data): Likewise.
10940         (ceil_test_data): Likewise.
10941         (cexp_test_data): Likewise.
10942         (cimag_test_data): Likewise.
10943         (clog_test_data): Likewise.
10944         (clog10_test_data): Likewise.
10945         (conj_test_data): Likewise.
10946         (copysign_test_data): Likewise.
10947         (cos_test_data): Likewise.
10948         (cos_tonearest_test_data): Likewise.
10949         (cos_towardzero_test_data): Likewise.
10950         (cos_downward_test_data): Likewise.
10951         (cos_upward_test_data): Likewise.
10952         (cosh_test_data): Likewise.
10953         (cosh_tonearest_test_data): Likewise.
10954         (cosh_towardzero_test_data): Likewise.
10955         (cosh_downward_test_data): Likewise.
10956         (cosh_upward_test_data): Likewise.
10957         (cpow_test_data): Likewise.
10958         (cproj_test_data): Likewise.
10959         (creal_test_data): Likewise.
10960         (csin_test_data): Likewise.
10961         (csinh_test_data): Likewise.
10962         (csqrt_test_data): Likewise.
10963         (ctan_test_data): Likewise.
10964         (ctan_tonearest_test_data): Likewise.
10965         (ctan_towardzero_test_data): Likewise.
10966         (ctan_downward_test_data): Likewise.
10967         (ctan_upward_test_data): Likewise.
10968         (ctanh_test_data): Likewise.
10969         (ctanh_tonearest_test_data): Likewise.
10970         (ctanh_towardzero_test_data): Likewise.
10971         (ctanh_downward_test_data): Likewise.
10972         (ctanh_upward_test_data): Likewise.
10973         (erf_test_data): Likewise.
10974         (erfc_test_data): Likewise.
10975         (exp_test_data): Likewise.
10976         (exp_tonearest_test_data): Likewise.
10977         (exp_towardzero_test_data): Likewise.
10978         (exp_downward_test_data): Likewise.
10979         (exp_upward_test_data): Likewise.
10980         (exp10_test_data): Likewise.
10981         (exp2_test_data): Likewise.
10982         (expm1_test_data): Likewise.
10983         (fabs_test_data): Likewise.
10984         (fdim_test_data): Likewise.
10985         (finite_test_data): Likewise.
10986         (floor_test_data): Likewise.
10987         (fma_test_data): Likewise.
10988         (fma_towardzero_test_data): Likewise.
10989         (fma_downward_test_data): Likewise.
10990         (fma_upward_test_data): Likewise.
10991         (fmax_test_data): Likewise.
10992         (fmin_test_data): Likewise.
10993         (fmod_test_data): Likewise.
10994         (fpclassify_test_data): Likewise.
10995         (frexp_test_data): Likewise.
10996         (gamma_test_data): Likewise.
10997         (hypot_test_data): Likewise.
10998         (ilogb_test_data): Likewise.
10999         (isfinite_test_data): Likewise.
11000         (isgreater_test_data): Likewise.
11001         (isgreaterequal_test_data): Likewise.
11002         (isinf_test_data): Likewise.
11003         (isless_test_data): Likewise.
11004         (islessequal_test_data): Likewise.
11005         (islessgreater_test_data): Likewise.
11006         (isnan_test_data): Likewise.
11007         (isnormal_test_data): Likewise.
11008         (issignaling_test_data): Likewise.
11009         (isunordered_test_data): Likewise.
11010         (j0_test_data): Likewise.
11011         (j1_test_data): Likewise.
11012         (jn_test_data): Likewise.
11013         (ldexp_test_data): Likewise.
11014         (lgamma_test_data): Likewise.
11015         (lrint_test_data): Likewise.
11016         (lrint_tonearest_test_data): Likewise.
11017         (lrint_towardzero_test_data): Likewise.
11018         (lrint_downward_test_data): Likewise.
11019         (lrint_upward_test_data): Likewise.
11020         (llrint_test_data): Likewise.
11021         (llrint_tonearest_test_data): Likewise.
11022         (llrint_towardzero_test_data): Likewise.
11023         (llrint_downward_test_data): Likewise.
11024         (llrint_upward_test_data): Likewise.
11025         (log_test_data): Likewise.
11026         (log10_test_data): Likewise.
11027         (log1p_test_data): Likewise.
11028         (log2_test_data): Likewise.
11029         (logb_test_data): Likewise.
11030         (logb_downward_test_data): Likewise.
11031         (lround_test_data): Likewise.
11032         (llround_test_data): Likewise.
11033         (modf_test_data): Likewise.
11034         (nearbyint_test_data): Likewise.
11035         (nextafter_test_data): Likewise.
11036         (nexttoward_test_data): Likewise.
11037         (pow_test_data): Likewise.
11038         (pow_tonearest_test_data): Likewise.
11039         (pow_towardzero_test_data): Likewise.
11040         (pow_downward_test_data): Likewise.
11041         (pow_upward_test_data): Likewise.
11042         (remainder_test_data): Likewise.
11043         (remainder_tonearest_test_data): Likewise.
11044         (remainder_towardzero_test_data): Likewise.
11045         (remainder_downward_test_data): Likewise.
11046         (remainder_upward_test_data): Likewise.
11047         (remquo_test_data): Likewise.
11048         (rint_test_data): Likewise.
11049         (rint_tonearest_test_data): Likewise.
11050         (rint_towardzero_test_data): Likewise.
11051         (rint_downward_test_data): Likewise.
11052         (rint_upward_test_data): Likewise.
11053         (round_test_data): Likewise.
11054         (scalb_test_data): Likewise.
11055         (scalbn_test_data): Likewise.
11056         (scalbln_test_data): Likewise.
11057         (signbit_test_data): Likewise.
11058         (sin_test_data): Likewise.
11059         (sin_tonearest_test_data): Likewise.
11060         (sin_towardzero_test_data): Likewise.
11061         (sin_downward_test_data): Likewise.
11062         (sin_upward_test_data): Likewise.
11063         (sincos_test_data): Likewise.
11064         (sinh_test_data): Likewise.
11065         (sinh_tonearest_test_data): Likewise.
11066         (sinh_towardzero_test_data): Likewise.
11067         (sinh_downward_test_data): Likewise.
11068         (sinh_upward_test_data): Likewise.
11069         (sqrt_test_data): Likewise.
11070         (tan_test_data): Likewise.
11071         (tan_tonearest_test_data): Likewise.
11072         (tan_towardzero_test_data): Likewise.
11073         (tan_downward_test_data): Likewise.
11074         (tan_upward_test_data): Likewise.
11075         (tanh_test_data): Likewise.
11076         (tgamma_test_data): Likewise.
11077         (trunc_test_data): Likewise.
11078         (y0_test_data): Likewise.
11079         (y1_test_data): Likewise.
11080         (yn_test_data): Likewise.
11081         (significand_test_data): Likewise.
11083         * math/gen-libm-test.pl (@functions): Remove variable.
11084         (generate_testfile): Don't handle START and END lines.
11085         * math/libm-test.inc (START): New macro.
11086         (END): Likewise.
11087         (END_COMPLEX): Likewise.
11088         (acos_test): Use END macro without arguments.
11089         (acos_test_tonearest): Likewise.
11090         (acos_test_towardzero): Likewise.
11091         (acos_test_downward): Likewise.
11092         (acos_test_upward): Likewise.
11093         (acosh_test): Likewise.
11094         (asin_test): Likewise.
11095         (asin_test_tonearest): Likewise.
11096         (asin_test_towardzero): Likewise.
11097         (asin_test_downward): Likewise.
11098         (asin_test_upward): Likewise.
11099         (asinh_test): Likewise.
11100         (atan_test): Likewise.
11101         (atanh_test): Likewise.
11102         (atan2_test): Likewise.
11103         (cabs_test): Likewise.
11104         (cacos_test): Use END_COMPLEX macro without arguments.
11105         (cacosh_test): Likewise.
11106         (carg_test): Use END macro without arguments.
11107         (casin_test): Use END_COMPLEX macro without arguments.
11108         (casinh_test): Likewise.
11109         (catan_test): Likewise.
11110         (catanh_test): Likewise.
11111         (cbrt_test): Use END macro without arguments.
11112         (ccos_test): Use END_COMPLEX macro without arguments.
11113         (ccosh_test): Likewise.
11114         (ceil_test): Use END macro without arguments.
11115         (cexp_test): Use END_COMPLEX macro without arguments.
11116         (cimag_test): Use END macro without arguments.
11117         (clog_test): Use END_COMPLEX macro without arguments.
11118         (clog10_test): Likewise.
11119         (conj_test): Likewise.
11120         (copysign_test): Use END macro without arguments.
11121         (cos_test): Likewise.
11122         (cos_test_tonearest): Likewise.
11123         (cos_test_towardzero): Likewise.
11124         (cos_test_downward): Likewise.
11125         (cos_test_upward): Likewise.
11126         (cosh_test): Likewise.
11127         (cosh_test_tonearest): Likewise.
11128         (cosh_test_towardzero): Likewise.
11129         (cosh_test_downward): Likewise.
11130         (cosh_test_upward): Likewise.
11131         (cpow_test): Use END_COMPLEX macro without arguments.
11132         (cproj_test): Likewise.
11133         (creal_test): Use END macro without arguments.
11134         (csin_test): Use END_COMPLEX macro without arguments.
11135         (csinh_test): Likewise.
11136         (csqrt_test): Likewise.
11137         (ctan_test): Likewise.
11138         (ctan_test_tonearest): Likewise.
11139         (ctan_test_towardzero): Likewise.
11140         (ctan_test_downward): Likewise.
11141         (ctan_test_upward): Likewise.
11142         (ctanh_test): Likewise.
11143         (ctanh_test_tonearest): Likewise.
11144         (ctanh_test_towardzero): Likewise.
11145         (ctanh_test_downward): Likewise.
11146         (ctanh_test_upward): Likewise.
11147         (erf_test): Use END macro without arguments.
11148         (erfc_test): Likewise.
11149         (exp_test): Likewise.
11150         (exp_test_tonearest): Likewise.
11151         (exp_test_towardzero): Likewise.
11152         (exp_test_downward): Likewise.
11153         (exp_test_upward): Likewise.
11154         (exp10_test): Likewise.
11155         (exp2_test): Likewise.
11156         (expm1_test): Likewise.
11157         (fabs_test): Likewise.
11158         (fdim_test): Likewise.
11159         (finite_test): Likewise.
11160         (floor_test): Likewise.
11161         (fma_test): Likewise.
11162         (fma_test_towardzero): Likewise.
11163         (fma_test_downward): Likewise.
11164         (fma_test_upward): Likewise.
11165         (fmax_test): Likewise.
11166         (fmin_test): Likewise.
11167         (fmod_test): Likewise.
11168         (fpclassify_test): Likewise.
11169         (frexp_test): Likewise.
11170         (gamma_test): Likewise.
11171         (hypot_test): Likewise.
11172         (ilogb_test): Likewise.
11173         (isfinite_test): Likewise.
11174         (isgreater_test): Likewise.
11175         (isgreaterequal_test): Likewise.
11176         (isinf_test): Likewise.
11177         (isless_test): Likewise.
11178         (islessequal_test): Likewise.
11179         (islessgreater_test): Likewise.
11180         (isnan_test): Likewise.
11181         (isnormal_test): Likewise.
11182         (issignaling_test): Likewise.
11183         (isunordered_test): Likewise.
11184         (j0_test): Likewise.
11185         (j1_test): Likewise.
11186         (jn_test): Likewise.
11187         (ldexp_test): Likewise.
11188         (lgamma_test): Likewise.
11189         (lrint_test): Likewise.
11190         (lrint_test_tonearest): Likewise.
11191         (lrint_test_towardzero): Likewise.
11192         (lrint_test_downward): Likewise.
11193         (lrint_test_upward): Likewise.
11194         (llrint_test): Likewise.
11195         (llrint_test_tonearest): Likewise.
11196         (llrint_test_towardzero): Likewise.
11197         (llrint_test_downward): Likewise.
11198         (llrint_test_upward): Likewise.
11199         (log_test): Likewise.
11200         (log10_test): Likewise.
11201         (log1p_test): Likewise.
11202         (log2_test): Likewise.
11203         (logb_test): Likewise.
11204         (logb_test_downward): Likewise.
11205         (lround_test): Likewise.
11206         (llround_test): Likewise.
11207         (modf_test): Likewise.
11208         (nearbyint_test): Likewise.
11209         (nextafter_test): Likewise.
11210         (nexttoward_test): Likewise.
11211         (pow_test): Likewise.
11212         (pow_test_tonearest): Likewise.
11213         (pow_test_towardzero): Likewise.
11214         (pow_test_downward): Likewise.
11215         (pow_test_upward): Likewise.
11216         (remainder_test): Likewise.
11217         (remainder_test_tonearest): Likewise.
11218         (remainder_test_towardzero): Likewise.
11219         (remainder_test_downward): Likewise.
11220         (remainder_test_upward): Likewise.
11221         (remquo_test): Likewise.
11222         (rint_test): Likewise.
11223         (rint_test_tonearest): Likewise.
11224         (rint_test_towardzero): Likewise.
11225         (rint_test_downward): Likewise.
11226         (rint_test_upward): Likewise.
11227         (round_test): Likewise.
11228         (scalb_test): Likewise.
11229         (scalbn_test): Likewise.
11230         (scalbln_test): Likewise.
11231         (signbit_test): Likewise.
11232         (sin_test): Likewise.
11233         (sin_test_tonearest): Likewise.
11234         (sin_test_towardzero): Likewise.
11235         (sin_test_downward): Likewise.
11236         (sin_test_upward): Likewise.
11237         (sincos_test): Likewise.
11238         (sinh_test): Likewise.
11239         (sinh_test_tonearest): Likewise.
11240         (sinh_test_towardzero): Likewise.
11241         (sinh_test_downward): Likewise.
11242         (sinh_test_upward): Likewise.
11243         (sqrt_test): Likewise.
11244         (tan_test): Likewise.
11245         (tan_test_tonearest): Likewise.
11246         (tan_test_towardzero): Likewise.
11247         (tan_test_downward): Likewise.
11248         (tan_test_upward): Likewise.
11249         (tanh_test): Likewise.
11250         (tgamma_test): Likewise.
11251         (trunc_test): Likewise.
11252         (y0_test): Likewise.
11253         (y1_test): Likewise.
11254         (yn_test): Likewise.
11255         (significand_test): Likewise.
11257 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11259         [BZ #15381]
11260         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11262 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11264         [BZ #14894]
11265         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11266         __ppc_mdoio and __ppc_mdoom.
11267         * manual/platform.texi: Document new functions __ppc_yield,
11268         __ppc_mdoio and __ppc_mdoom.
11270 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11272         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11273         (main): Mention "tls" pseudo-hwcap is legacy.
11274         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11276 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11278         * math/gen-libm-test.pl (parse_args): Output only string of
11279         arguments as text for test name, not full call or descriptions of
11280         tests for extra outputs.
11281         (generate_testfile): Do not pass function name to parse_args.
11282         Generate this_func variable from START.
11283         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11284         field to arg_str.
11285         (struct test_ff_f_data): Likewise.
11286         (test_ff_f_data_nexttoward): Likewise.
11287         (struct test_fi_f_data): Likewise.
11288         (struct test_fl_f_data): Likewise.
11289         (struct test_if_f_data): Likewise.
11290         (struct test_fff_f_data): Likewise.
11291         (struct test_c_f_data): Likewise.
11292         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11293         (struct test_fF_f1_data): Likewise.
11294         (struct test_ffI_f1_data): Likewise.
11295         (struct test_c_c_data): Rename test_name field to arg_str.
11296         (struct test_cc_c_data): Likewise.
11297         (struct test_f_i_data): Likewise.
11298         (struct test_ff_i_data): Likewise.
11299         (struct test_f_l_data): Likewise.
11300         (struct test_f_L_data): Likewise.
11301         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11302         and extra2_name.
11303         (COMMON_TEST_SETUP): New macro.
11304         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11305         (COMMON_TEST_CLEANUP): Likewise.
11306         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11307         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11308         macros.
11309         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11310         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11311         macros.
11312         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11313         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11314         cleanup macros.
11315         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11316         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11317         macros.
11318         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11319         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11320         macros.
11321         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11322         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11323         cleanup macros.
11324         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11325         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11326         cleanup macros.
11327         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11328         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11329         cleanup macros.
11330         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11331         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11332         macros.
11333         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11334         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11335         macros.
11336         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11337         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11338         macros.
11339         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11340         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11341         cleanup macros.
11342         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11343         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11344         cleanup macros.
11345         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11346         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11347         macros.
11348         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11349         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11350         cleanup macros.
11351         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11352         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
11353         macros.
11354         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11355         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
11356         macros.
11357         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11358         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
11359         cleanup macros.
11360         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11362 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11364         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11365         to _sifields.sigfault.
11366         (si_addr_lsb): Define new macro.
11367         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11369         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11371 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
11373         [BZ #15441]
11374         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11375         returns -1.
11376         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11377         null return -1.
11378         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11379         loading the domain.
11381 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11383         * math/gen-libm-test.pl (parse_args): Do not include expected
11384         result in test name.
11385         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11388         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11392 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394         * benchtests/Makefile: Sort function entries.
11396         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11397         tanh, asinh, acosh, atanh.
11398         * benchtests/acos-inputs: New file.
11399         * benchtests/acosh-inputs: New file.
11400         * benchtests/asin-inputs: New file.
11401         * benchtests/asinh-inputs: New file.
11402         * benchtests/atanh-inputs: New file.
11403         * benchtests/cosh-inputs: New file.
11404         * benchtests/log-inputs: New file.
11405         * benchtests/sinh-inputs: New file.
11406         * benchtests/tanh-inputs: New file.
11408 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
11410         [BZ #15339]
11411         * posix/tst-getaddrinfo4.c: New test.
11412         * posix/Makefile (tests): Add it.
11414 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11416         [BZ #15339]
11417         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11418         when no services were used.
11419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11420         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11422 2013-05-21  Andreas Schwab  <schwab@suse.de>
11424         [BZ #15014]
11425         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11426         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11427         successful.
11428         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11429         redundant variable declarations and reallocation of buffer when
11430         parsing as IPv6 address.  Always set NSS status when called from
11431         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
11432         buffer too small.  Correct computation of needed size.
11433         * nss/Makefile (tests): Add test-digits-dots.
11434         * nss/test-digits-dots.c: New test.
11436 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11438         * benchtests/Makefile: Remove instructions for adding
11439         benchmark tests.
11440         * benchtests/README: New file to explain how to execute and
11441         enhance the benchmark tests.
11443 2013-05-21  Andreas Schwab  <schwab@suse.de>
11445         [BZ #15493]
11446         * setjmp/Makefile (tests): Add tst-sigsetjmp.
11447         * setjmp/tst-sigsetjmp.c: New test.
11449 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11451         * sysdeps/x86_64/memset.S (memset): New implementation.
11452         (__bzero): Likewise.
11453         (__memset_tail): New function.
11455 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11457         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
11458         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11459         __memcpy_sse2_unaligned ifunc selection.
11460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11461         Add memcpy-sse2-unaligned.S.
11462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11463         Add: __memcpy_sse2_unaligned.
11465 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
11467         [BZ #15490]
11468         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11469         math_force_eval before restoring floating-point envrionment.
11470         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
11471         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11472         Likewise.
11473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
11474         <math_private.h>.
11475         (__nearbyintl): Use math_force_eval before restoring
11476         floating-point environment.
11477         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
11479         * math/gen-libm-test.pl (special_functions): Remove.
11480         (parse_args): Don't handle TEST_extra.  Handle functions with no
11481         return value.
11482         * math/libm-test.inc (struct test_sincos_data): Replace with
11483         struct test_fFF_11_data.
11484         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
11485         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
11486         (sincos_test_data): Change element type to struct
11487         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
11488         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
11489         RUN_TEST_LOOP_sincos.
11490         * math/README.libm-test: Don't mention special handling of
11491         individual functions.
11492         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
11493         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11494         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11495         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11496         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11499         * math/gen-libm-test.pl (get_variable): Remove function.
11500         (parse_args): Don't show pointer parameters to call in test
11501         names.  Use "extra output N" in test names for extra outputs
11502         rather than naming variables.
11504 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
11506         [BZ #15488]
11507         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
11508         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
11509         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
11510         double tests.
11511         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
11512         disable.
11513         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
11514         check_long_double.
11516         * math/gen-libm-test.pl (@tests): Remove variable.
11517         ($count): Likewise.
11518         (new_test): Remove function.
11519         (show_exceptions): New function.
11520         (special_functions): Use show_exceptions instead of new_test.
11521         (parse_args): Likewise.
11522         (generate_testfile): Pass only function name in generated call to
11523         print_max_error or print_complex_max_error.
11524         (get_ulps): Do not handle complex tests specially.
11525         (output_test): Rename to ...
11526         (get_all_ulps_for_test): ... this.  Return a string rather than
11527         printing to a file.  Require ulps to be present.
11528         (output_ulps): Generate arrays rather than #defines.
11529         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
11530         (struct ulp_data): New type.
11531         (BUILD_COMPLEX_ULP): Remove macro.
11532         (compare_ulp_data): New function.
11533         (find_ulps): Likewise.
11534         (find_test_ulps): Likewise.
11535         (find_function_ulps): Likewise.
11536         (find_complex_function_ulps): Likewise.
11537         (print_max_error): Determine allowed ulps using
11538         find_function_ulps.
11539         (print_complex_max_error): Determine allowed ulps using
11540         find_complex_function_ulps.
11541         (check_float_internal): Determine max ulps using find_test_ulps.
11542         (check_float): Do not take max_ulp parameter.  Update call to
11543         check_float_internal.
11544         (check_complex): Likewise.
11545         (check_int): Do not take max_ulp parameter.
11546         (check_long): Likewise.
11547         (check_bool): Likewise.
11548         (check_longlong): Likewise.
11549         (struct test_f_f_data): Remove max_ulp field.
11550         (struct test_ff_f_data): Likewise.
11551         (struct test_ff_f_data_nexttoward): Likewise.
11552         (struct test_fi_f_data): Likewise.
11553         (struct test_fl_f_data): Likewise.
11554         (struct test_if_f_data): Likewise.
11555         (struct test_fff_f_data): Likewise.
11556         (struct test_c_f_data): Likewise.
11557         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
11558         (struct test_fF_f1_data): Likewise.
11559         (struct test_ffI_f1_data): Likewise.
11560         (struct test_c_c_data): Remove max_ulp field.
11561         (struct test_cc_c_data): Likewise.
11562         (struct test_f_i_data): Likewise.
11563         (struct test_ff_i_data): Likewise.
11564         (struct test_f_l_data): Likewise.
11565         (struct test_f_L_data): Likewise.
11566         (struct test_sincos_data): Likewise.
11567         (RUN_TEST_f_f): Do not handle ulps.
11568         (RUN_TEST_LOOP_f_f): Likewise.
11569         (RUN_TEST_2_f): Likewise.
11570         (RUN_TEST_LOOP_2_f): Likewise.
11571         (RUN_TEST_fff_f): Likewise.
11572         (RUN_TEST_LOOP_fff_f): Likewise.
11573         (RUN_TEST_c_f): Likewise.
11574         (RUN_TEST_LOOP_c_f): Likewise.
11575         (RUN_TEST_f_f1): Likewise.
11576         (RUN_TEST_LOOP_f_f1): Likewise.
11577         (RUN_TEST_fF_f1): Likewise.
11578         (RUN_TEST_LOOP_fF_f1): Likewise.
11579         (RUN_TEST_fI_f1): Likewise.
11580         (RUN_TEST_LOOP_fI_f1): Likewise.
11581         (RUN_TEST_ffI_f1): Likewise.
11582         (RUN_TEST_LOOP_ffI_f1): Likewise.
11583         (RUN_TEST_c_c): Likewise.
11584         (RUN_TEST_LOOP_c_c): Likewise.
11585         (RUN_TEST_cc_c): Likewise.
11586         (RUN_TEST_LOOP_cc_c): Likewise.
11587         (RUN_TEST_f_i): Likewise.
11588         (RUN_TEST_LOOP_f_i): Likewise.
11589         (RUN_TEST_f_i_tg): Likewise.
11590         (RUN_TEST_LOOP_f_i_tg): Likewise.
11591         (RUN_TEST_ff_i_tg): Likewise.
11592         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11593         (RUN_TEST_f_b): Likewise.
11594         (RUN_TEST_LOOP_f_b): Likewise.
11595         (RUN_TEST_f_b_tg): Likewise.
11596         (RUN_TEST_LOOP_f_b_tg): Likewise.
11597         (RUN_TEST_f_l): Likewise.
11598         (RUN_TEST_LOOP_f_l): Likewise.
11599         (RUN_TEST_f_L): Likewise.
11600         (RUN_TEST_LOOP_f_L): Likewise.
11601         (RUN_TEST_sincos): Likewise.
11602         (RUN_TEST_LOOP_sincos): Likewise.
11604 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
11606         [BZ #15480]
11607         [BZ #15485]
11608         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
11609         main case of finite arguments, set rounding mode to FE_TONEAREST
11610         and discard exceptions.
11611         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
11612         exceptions.
11613         (remainder_tonearest_test_data): New variable.
11614         (remainder_test_tonearest): New function.
11615         (remainder_towardzero_test_data): New variable.
11616         (remainder_test_towardzero): New function.
11617         (remainder_downward_test_data): New variable.
11618         (remainder_test_downward): New function.
11619         (remainder_upward_test_data): New variable.
11620         (remainder_test_upward): New function.
11621         (main): Call the new test functions.
11623         * math/libm-test.inc (struct test_f_f1_data): Remove field
11624         extra_init.
11625         (struct test_fF_f1_data): Likewise.
11626         (struct test_ffI_f1_data): Likewise.
11627         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
11628         based on value of EXTRA_EXPECTED.
11629         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11630         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
11631         EXTRA_VAR based on value of EXTRA_EXPECTED.
11632         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11633         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
11634         EXTRA_VAR based on value of EXTRA_EXPECTED.
11635         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11636         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
11637         EXTRA_VAR based on value of EXTRA_EXPECTED.
11638         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11639         * math/gen-libm-test.pl (parse_args): Don't output initializers
11640         for extra output values.
11642         * math/libm-test.inc (check_int): Expect result to be exactly
11643         equal to expected value and do not handle ulps.
11644         (check_long): Likewise.
11645         (check_longlong): Likewise.
11647         * math/libm-test.inc (ceil_test_data): Test for "inexact"
11648         exceptions.
11649         (cimag_test_data): Likewise.
11650         (conj_test_data): Likewise.
11651         (copysign_test_data): Likewise.
11652         (cproj_test_data): Likewise.
11653         (creal_test_data): Likewise.
11654         (fabs_test_data): Likewise.
11655         (fdim_test_data): Likewise.
11656         (finite_test_data): Likewise.
11657         (floor_test_data): Likewise.
11658         (fmax_test_data): Likewise.
11659         (fmin_test_data): Likewise.
11660         (fmod_test_data): Likewise.
11661         (fpclassify_test_data): Likewise.
11662         (frexp_test_data): Likewise.
11663         (ilogb_test_data): Likewise.
11664         (isfinite_test_data): Likewise.
11665         (isgreater_test_data): Likewise.
11666         (isgreaterequal_test_data): Likewise.
11667         (isinf_test_data): Likewise.
11668         (isless_test_data): Likewise.
11669         (islessequal_test_data): Likewise.
11670         (islessgreater_test_data): Likewise.
11671         (isnan_test_data): Likewise.
11672         (isnormal_test_data): Likewise.
11673         (issignaling_test_data): Likewise.
11674         (isunordered_test_data): Likewise.
11675         (ldexp_test_data): Likewise.
11676         (lrint_test_data): Likewise.
11677         (lrint_test_data) [TEST_FLOAT]: Disable one test.
11678         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11679         (lrint_tonearest_test_data): Test for "inexact" exceptions.
11680         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11681         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11682         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11683         test input.
11684         (lrint_towardzero_test_data): Test for "inexact" exceptions.
11685         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11686         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11687         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11688         that test input.
11689         (lrint_downward_test_data): Test for "inexact" exceptions.
11690         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11691         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11692         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11693         test input.
11694         (lrint_upward_test_data): Test for "inexact" exceptions.
11695         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11696         test input.
11697         (llrint_test_data): Test for "inexact" exceptions.
11698         (llrint_test_data) [TEST_FLOAT]: Disable one test.
11699         (llrint_tonearest_test_data): Test for "inexact" exceptions.
11700         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11701         (llrint_towardzero_test_data): Test for "inexact" exceptions.
11702         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11703         (llrint_downward_test_data): Test for "inexact" exceptions.
11704         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11705         (llrint_upward_test_data): Test for "inexact" exceptions.
11706         (logb_test_data): Likewise.
11707         (logb_downward_test_data): Likewise.
11708         (nextafter_test_data): Likewise.
11709         (nexttoward_test_data): Likewise.
11710         (remainder_test_data): Likewise.
11711         (remquo_test_data): Likewise.
11712         (scalbn_test_data): Likewise.
11713         (scalbln_test_data): Likewise.
11714         (signbit_test_data): Likewise.
11715         (sqrt_test_data): Likewise.
11716         (significand_test_data): Likewise.
11718 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11720         [BZ #15424]
11721         * benchtests/bench-modf.c (struct args): Mark arg0 as
11722         volatile.
11723         * scripts/bench.pl: Mark members of struct args as volatile.
11725 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11727         [BZ # 15497]
11728         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11729         negative infinity on POWER6 or lower.
11730         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11732 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11734         [BZ #15442]
11735         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11736         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11737         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11738         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11739         (_FP_SETQNAN): New macro.
11740         (_FP_SETQNAN_SEMIRAW): Likewise.
11741         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11742         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11743         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11744         (FP_EXTEND): Use _FP_FRAC_SNANP.
11745         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11746         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11747         into account.
11748         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11749         New macro.
11750         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11751         Likewise.
11753 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11755         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11756         with DIVIDE_BY_ZERO_EXCEPTION.
11757         (gamma_test_data): Likewise.
11758         (lgamma_test_data): Likewise.
11759         (log_test_data): Likewise.
11760         (log10_test_data): Likewise.
11761         (log2_test_data): Likewise.
11762         (tgamma_test_data): Likewise.
11764         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11765         (acos_test_tonearest): Likewise.
11766         (acos_test_towardzero): Likewise.
11767         (acos_test_downward): Likewise.
11768         (acos_test_upward): Likewise.
11769         (acosh_test): Likewise.
11770         (asin_test): Likewise.
11771         (asin_test_tonearest): Likewise.
11772         (asin_test_towardzero): Likewise.
11773         (asin_test_downward): Likewise.
11774         (asin_test_upward): Likewise.
11775         (asinh_test): Likewise.
11776         (atan_test): Likewise.
11777         (atanh_test): Likewise.
11778         (atan2_test): Likewise.
11779         (cabs_test): Likewise.
11780         (cacos_test): Likewise.
11781         (cacosh_test): Likewise.
11782         (casin_test): Likewise.
11783         (casinh_test): Likewise.
11784         (catan_test): Likewise.
11785         (catanh_test): Likewise.
11786         (cbrt_test): Likewise.
11787         (ccos_test): Likewise.
11788         (ccosh_test): Likewise.
11789         (cexp_test): Likewise.
11790         (clog_test): Likewise.
11791         (clog10_test): Likewise.
11792         (cos_test): Likewise.
11793         (cos_test_tonearest): Likewise.
11794         (cos_test_towardzero): Likewise.
11795         (cos_test_downward): Likewise.
11796         (cos_test_upward): Likewise.
11797         (cosh_test): Likewise.
11798         (cosh_test_tonearest): Likewise.
11799         (cosh_test_towardzero): Likewise.
11800         (cosh_test_downward): Likewise.
11801         (cosh_test_upward): Likewise.
11802         (cpow_test): Likewise.
11803         (csin_test): Likewise.
11804         (csinh_test): Likewise.
11805         (csqrt_test): Likewise.
11806         (ctan_test): Likewise.
11807         (ctan_test_tonearest): Likewise.
11808         (ctan_test_towardzero): Likewise.
11809         (ctan_test_downward): Likewise.
11810         (ctan_test_upward): Likewise.
11811         (ctanh_test): Likewise.
11812         (ctanh_test_tonearest): Likewise.
11813         (ctanh_test_towardzero): Likewise.
11814         (ctanh_test_downward): Likewise.
11815         (ctanh_test_upward): Likewise.
11816         (erf_test): Likewise.
11817         (erfc_test): Likewise.
11818         (exp_test): Likewise.
11819         (exp_test_tonearest): Likewise.
11820         (exp_test_towardzero): Likewise.
11821         (exp_test_downward): Likewise.
11822         (exp_test_upward): Likewise.
11823         (exp10_test): Likewise.
11824         (exp2_test): Likewise.
11825         (expm1_test): Likewise.
11826         (fmod_test): Likewise.
11827         (gamma_test): Likewise.
11828         (hypot_test): Likewise.
11829         (j0_test): Likewise.
11830         (j1_test): Likewise.
11831         (jn_test): Likewise.
11832         (lgamma_test): Likewise.
11833         (log_test): Likewise.
11834         (log10_test): Likewise.
11835         (log1p_test): Likewise.
11836         (log2_test): Likewise.
11837         (logb_test_downward): Likewise.
11838         (pow_test): Likewise.
11839         (pow_test_tonearest): Likewise.
11840         (pow_test_towardzero): Likewise.
11841         (pow_test_downward): Likewise.
11842         (pow_test_upward): Likewise.
11843         (remainder_test): Likewise.
11844         (remquo_test): Likewise.
11845         (sin_test): Likewise.
11846         (sin_test_tonearest): Likewise.
11847         (sin_test_towardzero): Likewise.
11848         (sin_test_downward): Likewise.
11849         (sin_test_upward): Likewise.
11850         (sincos_test): Likewise.
11851         (sinh_test): Likewise.
11852         (sinh_test_tonearest): Likewise.
11853         (sinh_test_towardzero): Likewise.
11854         (sinh_test_downward): Likewise.
11855         (sinh_test_upward): Likewise.
11856         (sqrt_test): Likewise.
11857         (tan_test): Likewise.
11858         (tan_test_tonearest): Likewise.
11859         (tan_test_towardzero): Likewise.
11860         (tan_test_downward): Likewise.
11861         (tan_test_upward): Likewise.
11862         (tanh_test): Likewise.
11863         (tgamma_test): Likewise.
11864         (y0_test): Likewise.
11865         (y1_test): Likewise.
11866         (yn_test): Likewise.
11868         * math/gen-libm-test.pl (adjust_arg): Remove function.
11869         (special_function): Remove argument $in_func.  Only handle
11870         generating output for tables of tests, not inside functions.
11871         (parse_args): Likewise.
11872         (generate_testfile): Remove variable $in_func.  Update call to
11873         parse_args.
11874         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11875         (MINUS_ZERO_INIT): Rename macro to minus_zero.
11876         (PLUS_INFTY_INIT): Rename macro to plus_infty.
11877         (MINUS_INFTY_INIT): Rename macro to minus_infty.
11878         (QNAN_VALUE_INIT): Rename macro to qnan_value.
11879         (MAX_VALUE_INIT): Rename macro to max_value.
11880         (MIN_VALUE_INIT): Rename macro to min_value.
11881         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11882         (plus_zero): Remove variable.
11883         (minus_zero): Likewise.
11884         (plus_infty): Likewise.
11885         (minus_infty): Likewise.
11886         (qnan_value): Likewise.
11887         (max_value): Likewise.
11888         (min_value): Likewise.
11889         (min_subnorm_value): Likewise.
11891 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11893         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11894         uint64_t or uint32_t usage.
11895         * crypt/sha256-block.c: Likewise.
11896         * crypt/sha256-crypt.c: Likewise.
11897         * crypt/sha256.c: Likewise.
11898         * crypt/sha512-block.c: Likewise.
11899         * crypt/sha512-crypt.c: Likewise.
11900         * crypt/sha512.c: Likewise.
11901         * debug/backtrace-tst.c: Likewise.
11902         * debug/pcprofiledump.c: Likewise.
11903         * elf/cache.c: Likewise.
11904         * elf/dl-cache.c: Likewise.
11905         * elf/dl-misc.c: Likewise.
11906         * elf/dl-profile.c: Likewise.
11907         * elf/dl-support.c: Likewise.
11908         * elf/ldconfig.c: Likewise.
11909         * elf/sprof.c: Likewise.
11910         * iconv/dummy-repertoire.c: Likewise.
11911         * iconv/iconv_charmap.c: Likewise.
11912         * iconv/skeleton.c: Likewise.
11913         * iconvdata/8bit-generic.c: Likewise.
11914         * iconvdata/cp737.h: Likewise.
11915         * iconvdata/cp775.h: Likewise.
11916         * iconvdata/ibm1008.h: Likewise.
11917         * iconvdata/ibm1025.h: Likewise.
11918         * iconvdata/ibm1046.h: Likewise.
11919         * iconvdata/ibm1097.h: Likewise.
11920         * iconvdata/ibm1112.h: Likewise.
11921         * iconvdata/ibm1122.h: Likewise.
11922         * iconvdata/ibm1123.h: Likewise.
11923         * iconvdata/ibm1124.h: Likewise.
11924         * iconvdata/ibm1129.h: Likewise.
11925         * iconvdata/ibm1130.h: Likewise.
11926         * iconvdata/ibm1132.h: Likewise.
11927         * iconvdata/ibm1133.h: Likewise.
11928         * iconvdata/ibm1137.h: Likewise.
11929         * iconvdata/ibm1140.h: Likewise.
11930         * iconvdata/ibm1141.h: Likewise.
11931         * iconvdata/ibm1142.h: Likewise.
11932         * iconvdata/ibm1143.h: Likewise.
11933         * iconvdata/ibm1144.h: Likewise.
11934         * iconvdata/ibm1145.h: Likewise.
11935         * iconvdata/ibm1146.h: Likewise.
11936         * iconvdata/ibm1147.h: Likewise.
11937         * iconvdata/ibm1148.h: Likewise.
11938         * iconvdata/ibm1149.h: Likewise.
11939         * iconvdata/ibm1153.h: Likewise.
11940         * iconvdata/ibm1154.h: Likewise.
11941         * iconvdata/ibm1155.h: Likewise.
11942         * iconvdata/ibm1156.h: Likewise.
11943         * iconvdata/ibm1157.h: Likewise.
11944         * iconvdata/ibm1158.h: Likewise.
11945         * iconvdata/ibm1160.h: Likewise.
11946         * iconvdata/ibm1161.h: Likewise.
11947         * iconvdata/ibm1162.h: Likewise.
11948         * iconvdata/ibm1163.h: Likewise.
11949         * iconvdata/ibm1164.h: Likewise.
11950         * iconvdata/ibm1166.h: Likewise.
11951         * iconvdata/ibm1167.h: Likewise.
11952         * iconvdata/ibm12712.h: Likewise.
11953         * iconvdata/ibm1390.h: Likewise.
11954         * iconvdata/ibm1399.h: Likewise.
11955         * iconvdata/ibm16804.h: Likewise.
11956         * iconvdata/ibm4517.h: Likewise.
11957         * iconvdata/ibm4899.h: Likewise.
11958         * iconvdata/ibm4909.h: Likewise.
11959         * iconvdata/ibm4971.h: Likewise.
11960         * iconvdata/ibm5347.h: Likewise.
11961         * iconvdata/ibm803.h: Likewise.
11962         * iconvdata/ibm856.h: Likewise.
11963         * iconvdata/ibm901.h: Likewise.
11964         * iconvdata/ibm902.h: Likewise.
11965         * iconvdata/ibm9030.h: Likewise.
11966         * iconvdata/ibm9066.h: Likewise.
11967         * iconvdata/ibm921.h: Likewise.
11968         * iconvdata/ibm922.h: Likewise.
11969         * iconvdata/ibm9448.h: Likewise.
11970         * iconvdata/isiri-3342.h: Likewise.
11971         * iconvdata/jis0201.h: Likewise.
11972         * include/link.h: Likewise.
11973         * include/netdb.h: Likewise.
11974         * inet/check_native.c: Likewise.
11975         * inet/check_pf.c: Likewise.
11976         * inet/getipv4sourcefilter.c: Likewise.
11977         * inet/getnameinfo.c: Likewise.
11978         * inet/getsourcefilter.c: Likewise.
11979         * inet/htonl.c: Likewise.
11980         * inet/setipv4sourcefilter.c: Likewise.
11981         * inet/setsourcefilter.c: Likewise.
11982         * inet/test-inet6_opt.c: Likewise.
11983         * inet/tst-network.c: Likewise.
11984         * locale/C-collate.c: Likewise.
11985         * locale/C-ctype.c: Likewise.
11986         * locale/C-time.c: Likewise.
11987         * locale/C-translit.h: Likewise.
11988         * locale/loadarchive.c: Likewise.
11989         * locale/programs/3level.h: Likewise.
11990         * locale/programs/charmap.c: Likewise.
11991         * locale/programs/charmap.h: Likewise.
11992         * locale/programs/ld-address.c: Likewise.
11993         * locale/programs/ld-collate.c: Likewise.
11994         * locale/programs/ld-ctype.c: Likewise.
11995         * locale/programs/ld-identification.c: Likewise.
11996         * locale/programs/ld-measurement.c: Likewise.
11997         * locale/programs/ld-messages.c: Likewise.
11998         * locale/programs/ld-monetary.c: Likewise.
11999         * locale/programs/ld-name.c: Likewise.
12000         * locale/programs/ld-numeric.c: Likewise.
12001         * locale/programs/ld-paper.c: Likewise.
12002         * locale/programs/ld-telephone.c: Likewise.
12003         * locale/programs/ld-time.c: Likewise.
12004         * locale/programs/linereader.c: Likewise.
12005         * locale/programs/locale.c: Likewise.
12006         * locale/programs/locarchive.c: Likewise.
12007         * locale/programs/locfile.h: Likewise.
12008         * locale/programs/repertoire.c: Likewise.
12009         * locale/programs/simple-hash.c: Likewise.
12010         * locale/programs/simple-hash.h: Likewise.
12011         * malloc/memusage.c: Likewise.
12012         * malloc/memusagestat.c: Likewise.
12013         * nis/nis_defaults.c: Likewise.
12014         * nis/nis_hash.c: Likewise.
12015         * nis/nis_print.c: Likewise.
12016         * nis/nis_xdr.c: Likewise.
12017         * nscd/connections.c: Likewise.
12018         * nscd/hstcache.c: Likewise.
12019         * nscd/nscd_gethst_r.c: Likewise.
12020         * nscd/nscd_getserv_r.c: Likewise.
12021         * nscd/nscd_helper.c: Likewise.
12022         * nscd/servicescache.c: Likewise.
12023         * nss/makedb.c: Likewise.
12024         * nss/nss_db/db-XXX.c: Likewise.
12025         * nss/nss_db/db-initgroups.c: Likewise.
12026         * nss/nss_db/db-netgrp.c: Likewise.
12027         * nss/nss_files/files-network.c: Likewise.
12028         * nss/nss_files/files-parse.c: Likewise.
12029         * posix/bug-regex5.c: Likewise.
12030         * posix/fnmatch_loop.c: Likewise.
12031         * posix/regcomp.c: Likewise.
12032         * posix/regexec.c: Likewise.
12033         * posix/tst-rfc3484-2.c: Likewise.
12034         * posix/tst-rfc3484-3.c: Likewise.
12035         * posix/tst-rfc3484.c: Likewise.
12036         * resolv/nss_dns/dns-canon.c: Likewise.
12037         * resolv/nss_dns/dns-network.c: Likewise.
12038         * resolv/res_init.c: Likewise.
12039         * resolv/res_mkquery.c: Likewise.
12040         * resolv/tst-aton.c: Likewise.
12041         * stdlib/cxa_atexit.c: Likewise.
12042         * stdlib/cxa_finalize.c: Likewise.
12043         * stdlib/gen-fpioconst.c: Likewise.
12044         * stdlib/strtol_l.c: Likewise.
12045         * string/tst-endian.c: Likewise.
12046         * sunrpc/auth_des.c: Likewise.
12047         * sunrpc/clnt_udp.c: Likewise.
12048         * sunrpc/rtime.c: Likewise.
12049         * sunrpc/svcauth_des.c: Likewise.
12050         * sunrpc/xdr.c: Likewise.
12051         * sunrpc/xdr_intXX_t.c: Likewise.
12052         * sunrpc/xdr_rec.c: Likewise.
12053         * sysdeps/generic/ldconfig.h: Likewise.
12054         * sysdeps/generic/ldsodefs.h: Likewise.
12055         * sysdeps/generic/memusage.h: Likewise.
12056         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12057         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12058         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12059         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12062         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12064         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12065         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12066         * sysdeps/posix/getaddrinfo.c: Likewise.
12067         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12068         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12069         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12070         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12071         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12072         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12073         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12074         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12075         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12076         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12077         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12078         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12079         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12080         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12081         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12082         * sysdeps/x86_64/dl-tls.h: Likewise.
12083         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12084         * time/alt_digit.c: Likewise.
12085         * time/era.c: Likewise.
12086         * wcsmbs/tst-c16c32-1.c: Likewise.
12088 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12090         * math/libm-test.inc (struct test_sincos_data): New type.
12091         (RUN_TEST_LOOP_sincos): New macro.
12092         (sincos_test_data): New variable.
12093         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12095 2013-05-16  Richard Henderson  <rth@redhat.com>
12097         * math/atest-exp2.c (LIMB64): New macro.
12098         (CONSTSZ): New macro.
12099         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12100         (hexdig): Move ...
12101         (print_mpn_fp): ... to function scope.
12102         (read_mpn_hex): Remove.
12103         (get_log2): Remove.
12104         (exp2_mpn): Use mp_log2.
12105         (main): Use mp_exp1.
12107 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12109         * math/libm-test.inc: Remove comment about not testing "inexact"
12110         exceptions.
12111         (INEXACT_EXCEPTION): New macro.
12112         (NO_INEXACT_EXCEPTION): Likewise.
12113         (INVALID_EXCEPTION_OK): Update value.
12114         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12115         (OVERFLOW_EXCEPTION_OK): Likewise.
12116         (UNDERFLOW_EXCEPTION_OK): Likewise.
12117         (IGNORE_ZERO_INF_SIGN): Likewise.
12118         (ERRNO_UNCHANGED): Likewise.
12119         (ERRNO_EDOM): Likewise.
12120         (ERRNO_ERANGE): Likewise.
12121         (test_exceptions): Handle testing "inexact" exceptions.
12122         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12123         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12124         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12125         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12126         INEXACT_EXCEPTION.
12127         (rint_towardzero_test_data): Likewise.
12128         (rint_downward_test_data): Likewise.
12129         (rint_upward_test_data): Likewise.
12131         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12132         with OVERFLOW_EXCEPTION.
12133         (exp10_test_data): Likewise.
12134         (exp2_test_data): Likewise.
12135         (expm1_test_data): Likewise.
12136         (lgamma_test_data): Likewise.
12137         (pow_test_data): Likewise.
12138         (tgamma_test_data): Likewise.
12139         (yn_test_data): Remove duplicate test of overflow.
12141         * math/libm-test.inc (struct test_cc_c_data): New type.
12142         (RUN_TEST_LOOP_cc_c): New macro.
12143         (cpow_test_data): New variable.
12144         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12146         * math/libm-test.inc (struct test_f_L_data): New type.
12147         (RUN_TEST_LOOP_f_L): New macro.
12148         (llrint_test_data): New variable.
12149         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12150         (llrint_tonearest_test_data): New variable.
12151         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12152         (llrint_towardzero_test_data): New variable.
12153         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12154         (llrint_downward_test_data): New variable.
12155         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12156         (llrint_upward_test_data): New variable.
12157         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12158         (llround_test_data): New variable.
12159         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12161 2013-05-13  Peter Collingbourne  <pcc@google.com>
12163         * math/atest-exp2.c (get_log2): Remove const attribute.
12165 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12167         * math/libm-test.inc (struct test_f_l_data): New type.
12168         (RUN_TEST_LOOP_f_l): New macro.
12169         (lrint_test_data): New variable.
12170         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12171         (lrint_tonearest_test_data): New variable.
12172         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12173         (lrint_towardzero_test_data): New variable.
12174         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12175         (lrint_downward_test_data): New variable.
12176         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12177         (lrint_upward_test_data): New variable.
12178         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12179         (lround_test_data): New variable.
12180         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12182 2013-05-15  Peter Collingbourne  <pcc@google.com>
12184         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12185         (EXTRACT_WORDS64) Use where appropriate.
12186         (INSERT_WORDS64) Likewise.
12188         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12189         constraints with x constraints.
12190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12192         * malloc/obstack.c (_obstack_compat): Add initializer.
12194 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12196         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12197         si_trapno and add si_addr_lsb to _sifields.sigfault.
12198         (si_trapno): Remove macro.
12199         (si_addr_lsb): Define new macro.
12200         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12202 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12204         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12205         instead of TEST_f_l.
12206         (llrint_test_tonearest): Likewise.
12207         (llrint_test_towardzero): Likewise.
12208         (llrint_test_downward): Likewise.
12209         (llrint_test_upward): Likewise.
12210         (llround_test): Likewise.
12212         * math/libm-test.inc (struct test_f_i_data): Add comment.
12213         (RUN_TEST_LOOP_f_b): New macro.
12214         (RUN_TEST_LOOP_f_b_tg): Likewise.
12215         (finite_test_data): New variable.
12216         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12217         (isfinite_test_data): New variable.
12218         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12219         (isinf_test_data): New variable.
12220         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12221         (isnan_test_data): New variable.
12222         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12223         (isnormal_test_data): New variable.
12224         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12225         (issignaling_test_data): New variable.
12226         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12227         (signbit_test_data): New variable.
12228         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12230         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12231         with INVALID_EXCEPTION.
12232         (acosh_test_data): Likewise.
12233         (asin_test_data): Likewise.
12234         (atanh_test_data): Likewise.
12235         (fmod_test_data): Likewise.
12236         (log_test_data): Likewise.
12237         (log10_test_data): Likewise.
12238         (log2_test_data): Likewise.
12239         (pow_test_data): Likewise.
12240         (sqrt_test_data): Likewise.
12241         (y0_test_data): Likewise.
12242         (y1_test_data): Likewise.
12243         (yn_test_data): Likewise.
12245         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12246         function contents.
12248         * math/libm-test.inc (struct test_ff_i_data): New type.
12249         (RUN_TEST_LOOP_ff_i_tg): New macro.
12250         (isgreater_test_data): New variable.
12251         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12252         (isgreaterequal_test_data): New variable.
12253         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12254         (isless_test_data): New variable.
12255         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12256         (islessequal_test_data): New variable.
12257         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12258         (islessgreater_test_data): New variable.
12259         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12260         (isunordered_test_data): New variable.
12261         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12263 2013-05-14  David S. Miller  <davem@davemloft.net>
12265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12267 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12269         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12271         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12272         extra_test to int.
12273         (struct test_f_i_data): Change type of max_ulp to int.
12275         * math/libm-test.inc (test_ffI_f1_data): New type.
12276         (RUN_TEST_LOOP_ffI_f1): New macro.
12277         (remquo_test_data): New variable.
12278         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12280         * setjmp/tst-setjmp-fp.c: New file.
12281         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12282         (link-libm): New variable.
12283         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12285         * math/libm-test.inc (struct test_f_i_data): New type.
12286         (RUN_TEST_LOOP_f_i): New macro.
12287         (RUN_TEST_LOOP_f_i_tg): Likewise.
12288         (fpclassify_test_data): New variable.
12289         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12290         (ilogb_test_data): New variable.
12291         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12293         * math/libm-test.inc (scalbln_test): Correct function name in END
12294         call.
12296         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12297         (RUN_TEST_LOOP_fI_f1): New macro.
12298         (frexp_test_data): New variable.
12299         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12301         * math/libm-test.inc (struct test_fF_f1_data): New type.
12302         (RUN_TEST_LOOP_fF_f1): New macro.
12303         (modf_test_data): New variable.
12304         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12306         * math/libm-test.inc (struct test_f_f1_data): New type.
12307         (RUN_TEST_LOOP_f_f1): New macro.
12308         (gamma_test_data): New variable.
12309         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12310         (lgamma_test_data): New variable.
12311         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12313 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12315         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12316         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12317         (main): Comment "tls" pseudo-hwcap.
12319 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12321         * math/libm-test.inc (struct test_fl_f_data): New type.
12322         (RUN_TEST_LOOP_fl_f): New variable.
12323         (scalbln_test_data): New variable.
12324         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12326         * math/libm-test.inc (struct test_fi_f_data): New type.
12327         (RUN_TEST_LOOP_fi_f): New macro.
12328         (ldexp_test_data): New variable.
12329         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12330         (scalbn_test_data): New variable.
12331         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12333         * math/libm-test.inc (struct test_c_f_data): New type.
12334         (RUN_TEST_LOOP_c_f): New macro.
12335         (cabs_test_data): New variable.
12336         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12337         (carg_test_data): New variable.
12338         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12339         (cimag_test_data): New variable.
12340         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12341         (creal_test_data): New variable.
12342         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12344         * math/libm-test.inc (struct test_if_f_data): New type.
12345         (RUN_TEST_LOOP_if_f): New macro.
12346         (jn_test_data): New variable.
12347         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12348         (yn_test_data): New variable.
12349         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12351         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12353 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12355         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12356         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12358 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12360         * benchtests/Makefile (CPPFLAGS-nonlib): Add
12361         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12362         (bench-deps): Add bench-timing.h.
12363         * benchtests-bench-skeleton.c: Include bench-timing.h.
12364         (main): Use TIMING_* macros instead of clock_gettime.
12365         * benchtests/bench-timing.h: New file.
12367         [BZ #14582]
12368         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12369         Renamed from _LIB_VERSION.
12370         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12372 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
12374         * math/libm-test.inc (struct test_fff_f_data): New type.
12375         (RUN_TEST_LOOP_fff_f): New macro.
12376         (fma_test_data): New variable.
12377         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12378         (fma_towardzero_test_data): New variable.
12379         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12380         (fma_downward_test_data): New variable.
12381         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12382         (fma_upward_test_data): New variable.
12383         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12385         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12386         (struct test_c_c_data): New type.
12387         (RUN_TEST_LOOP_c_c): New macro.
12388         (cacos_test_data): New variable.
12389         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12390         (cacosh_test_data): New variable.
12391         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12392         (casin_test_data): New variable.
12393         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12394         (casinh_test_data): New variable.
12395         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12396         (catan_test_data): New variable.
12397         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12398         (catanh_test_data): New variable.
12399         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12400         (ccos_test_data): New variable.
12401         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12402         (ccosh_test_data): New variable.
12403         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12404         (cexp_test_data): New variable.
12405         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12406         (clog_test_data): New variable.
12407         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12408         (clog10_test_data): New variable.
12409         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12410         (conj_test_data): New variable.
12411         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12412         (cproj_test_data): New variable.
12413         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12414         (csin_test_data): New variable.
12415         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12416         (csinh_test_data): New variable.
12417         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12418         (csqrt_test_data): New variable.
12419         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12420         (ctan_test_data): New variable.
12421         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12422         (ctan_tonearest_test_data): New variable.
12423         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12424         (ctan_towardzero_test_data): New variable.
12425         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12426         (ctan_downward_test_data): New variable.
12427         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12428         (ctan_upward_test_data): New variable.
12429         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12430         (ctanh_test_data): New variable.
12431         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12432         (ctanh_tonearest_test_data): New variable.
12433         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12434         (ctanh_towardzero_test_data): New variable.
12435         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12436         (ctanh_downward_test_data): New variable.
12437         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12438         (ctanh_upward_test_data): New variable.
12439         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12440         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
12441         of BUILD_COMPLEX.
12443         * math/libm-test.inc (struct test_ff_f_data): New type.
12444         (struct test_ff_f_data_nexttoward): Likewise.
12445         (RUN_TEST_LOOP_2_f): New macro.
12446         (RUN_TEST_LOOP_ff_f): Likewise.
12447         (atan2_test_data): New variable.
12448         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
12449         (copysign_test_data): New variable.
12450         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
12451         (fdim_test_data): New variable.
12452         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
12453         (fmax_test_data): New variable.
12454         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
12455         (fmin_test_data): New variable.
12456         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
12457         (fmod_test_data): New variable.
12458         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
12459         (hypot_test_data): New variable.
12460         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
12461         (nextafter_test_data): New variable.
12462         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
12463         (nexttoward_test_data): New variable.
12464         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
12465         (pow_test_data): New variable.
12466         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
12467         (pow_tonearest_test_data): New variable.
12468         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
12469         (pow_towardzero_test_data): New variable.
12470         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
12471         (pow_downward_test_data): New variable.
12472         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
12473         (pow_upward_test_data): New variable.
12474         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
12475         (remainder_test_data): New variable.
12476         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
12477         (scalb_test_data): New variable.
12478         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
12479         * sysdeps/i386/fpu/libm-test-ulps: Update.
12481 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
12483         * math/libm-test.inc (fma_test): Use max_value instead of local
12484         variable fltmax.
12485         (nextafter_test): Likewise.
12487         * math/libm-test.inc (acos_towardzero_test_data): New variable.
12488         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12489         (acos_downward_test_data): New variable.
12490         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12491         (acos_upward_test_data): New variable.
12492         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12493         (acosh_test_data): New variable.
12494         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
12495         (asin_test_data): New variable.
12496         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
12497         (asin_tonearest_test_data): New variable.
12498         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12499         (asin_towardzero_test_data): New variable.
12500         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12501         (asin_downward_test_data): New variable.
12502         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12503         (asin_upward_test_data): New variable.
12504         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12505         (asinh_test_data): New variable.
12506         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
12507         (atan_test_data): New variable.
12508         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
12509         (atanh_test_data): New variable.
12510         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
12511         (cbrt_test_data): New variable.
12512         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
12513         (ceil_test_data): New variable.
12514         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
12515         (cos_test_data): New variable.
12516         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
12517         (cos_tonearest_test_data): New variable.
12518         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12519         (cos_towardzero_test_data): New variable.
12520         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12521         (cos_downward_test_data): New variable.
12522         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12523         (cos_upward_test_data): New variable.
12524         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12525         (cosh_test_data): New variable.
12526         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
12527         (cosh_tonearest_test_data): New variable.
12528         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12529         (cosh_towardzero_test_data): New variable.
12530         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12531         (cosh_downward_test_data): New variable.
12532         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12533         (cosh_upward_test_data): New variable.
12534         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12535         (erf_test_data): New variable.
12536         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
12537         (erfc_test_data): New variable.
12538         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
12539         (exp_test_data): New variable.
12540         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
12541         (exp_tonearest_test_data): New variable.
12542         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12543         (exp_towardzero_test_data): New variable.
12544         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12545         (exp_downward_test_data): New variable.
12546         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12547         (exp_upward_test_data): New variable.
12548         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12549         (exp10_test_data): New variable.
12550         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
12551         (exp2_test_data): New variable.
12552         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
12553         (expm1_test_data): New variable.
12554         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
12555         (fabs_test_data): New variable.
12556         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
12557         (floor_test_data): New variable.
12558         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
12559         (j0_test_data): New variable.
12560         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
12561         (j1_test_data): New variable.
12562         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
12563         (log_test_data): New variable.
12564         (log_test): Run tests with RUN_TEST_LOOP_f_f.
12565         (log10_test_data): New variable.
12566         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
12567         (log1p_test_data): New variable.
12568         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
12569         (log2_test_data): New variable.
12570         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
12571         (logb_test_data): New variable.
12572         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
12573         (logb_downward_test_data): New variable.
12574         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12575         (nearbyint_test_data): New variable.
12576         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
12577         (rint_test_data): New variable.
12578         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
12579         (rint_tonearest_test_data): New variable.
12580         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12581         (rint_towardzero_test_data): New variable.
12582         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12583         (rint_downward_test_data): New variable.
12584         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12585         (rint_upward_test_data): New variable.
12586         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12587         (round_test_data): New variable.
12588         (round_test): Run tests with RUN_TEST_LOOP_f_f.
12589         (sin_test_data): New variable.
12590         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
12591         (sin_tonearest_test_data): New variable.
12592         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12593         (sin_towardzero_test_data): New variable.
12594         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12595         (sin_downward_test_data): New variable.
12596         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12597         (sin_upward_test_data): New variable.
12598         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12599         (sinh_test_data): New variable.
12600         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
12601         (sinh_tonearest_test_data): New variable.
12602         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12603         (sinh_towardzero_test_data): New variable.
12604         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12605         (sinh_downward_test_data): New variable.
12606         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12607         (sinh_upward_test_data): New variable.
12608         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12609         (sqrt_test_data): New variable.
12610         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
12611         (tan_test_data): New variable.
12612         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
12613         (tan_tonearest_test_data): New variable.
12614         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12615         (tan_towardzero_test_data): New variable.
12616         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12617         (tan_downward_test_data): New variable.
12618         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12619         (tan_upward_test_data): New variable.
12620         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12621         (tanh_test_data): New variable.
12622         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
12623         (tgamma_test_data): New variable.
12624         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
12625         (trunc_test_data): New variable.
12626         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
12627         (y0_test_data): New variable.
12628         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
12629         (y1_test_data): New variable.
12630         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
12631         (significand_test_data): New variable.
12632         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
12634 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
12636         [BZ #12387]
12637         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
12639 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12641         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
12643 2013-05-10  Andreas Jaeger  <aj@suse.de>
12645         [BZ #15448]
12646         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
12647         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
12649 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12651         * math/gen-libm-test.pl (adjust_arg): New function.
12652         (special_functions): Handle generating output in both functions
12653         and arrays.
12654         (parse_args): Likewise.
12655         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
12656         $in_func argument to parse_args.
12657         * math/libm-test.inc (struct test_f_f_data): New type.
12658         (IF_ROUND_INIT_): New macro.
12659         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12660         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12661         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12662         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12663         (ROUND_RESTORE_): Likewise.
12664         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
12665         (ROUND_RESTORE_FE_TONEAREST): Likewise.
12666         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
12667         (ROUND_RESTORE_FE_UPWARD): Likewise.
12668         (RUN_TEST_LOOP_f_f): New macro.
12669         (acos_test_data): New variable.
12670         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
12671         (acos_tonearest_test_data): New variable.
12672         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12674 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12676         * benchtests/bench-skeleton.c (startup): Fix coding style.
12678 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12680         [BZ #6809]
12681         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12682         negative infinity argument.
12683         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12684         negative infinity argument.
12685         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12686         negative infinity argument.
12687         * math/libm-test.inc (tgamma_test): Expect errno to be set for
12688         domain errors.
12690 2013-05-10  Florian Weimer  <fweimer@redhat.com>
12692         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12693         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12694         * iconv/iconv_prog.c (main): Likewise.
12695         * locale/programs/charmap-dir.c (charmap_readdir)
12696         (fopen_uncompressed): Likewise.
12697         * locale/programs/locfile.c (siblings_uncached)
12698         (write_locale_data): Use lstat64 instead of lstat.
12699         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12700         stat.
12702 2013-05-10  Andreas Jaeger  <aj@suse.de>
12704         [BZ #15395]
12705         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12706         localization.
12707         Include <locale.h>.
12709 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
12711         * elf/dl-close.c (_dl_close_worker): Add comments.
12713 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
12715         [BZ #15359]
12716         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12717         high part of pi/2.
12718         (__ieee754_rem_pio2l): Update comments.
12720         [BZ #15429]
12721         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12722         high part of pi/2.
12723         (__ieee754_rem_pio2l): Update comments.
12725         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12726         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12728         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12729         M_PI_4l.
12731         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12732         (M_PI_34_LOG10El): Likewise.
12733         (M_PI2_LOG10El): Likewise.
12734         (M_PI4_LOG10El): Likewise.
12735         (M_PI_LOG10El): Likewise.
12737 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12741 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
12743         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12744         (MINUS_ZERO_INIT): Likewise.
12745         (PLUS_INFTY_INIT): Likewise.
12746         (MINUS_INFTY_INIT): Likewise.
12747         (QNAN_VALUE_INIT): Likewise.
12748         (MAX_VALUE_INIT): Likewise.
12749         (MIN_VALUE_INIT): Likewise.
12750         (MIN_SUBNORM_VALUE_INIT): Likewise.
12751         (plus_zero): Initialize with PLUS_ZERO_INIT.
12752         (minus_zero): Initialize with MINUS_ZERO_INIT.
12753         (plus_infty): Initialize with PLUS_INFTY_INIT.
12754         (minus_infty): Initialize with MINUS_INFTY_INIT.
12755         (qnan_value): Initialize with QNAN_VALUE_INIT.
12756         (max_value): Initialize with MAX_VALUE_INIT.
12757         (min_value): Initialize with MIN_VALUE_INIT.
12758         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12760         * math/libm-test.inc (RUN_TEST_if_f): New macro.
12761         (jn_test): Use TEST_if_f instead of TEST_ff_f.
12762         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12763         (yn_test): Use TEST_if_f instead of TEST_ff_f.
12765         * math/libm-test.inc (RUN_TEST_f_f): New macro.
12766         (RUN_TEST_2_f): Likewise.
12767         (RUN_TEST_ff_f): Likewise.
12768         (RUN_TEST_fi_f): Likewise.
12769         (RUN_TEST_fl_f): Likewise.
12770         (RUN_TEST_fff_f): Likewise.
12771         (RUN_TEST_c_f): Likewise.
12772         (RUN_TEST_f_f1): Likewise.
12773         (RUN_TEST_fF_f1): Likewise.
12774         (RUN_TEST_fI_f1): Likewise.
12775         (RUN_TEST_ffI_f1): Likewise.
12776         (RUN_TEST_c_c): Likewise.
12777         (RUN_TEST_cc_c): Likewise.
12778         (RUN_TEST_f_i): Likewise.
12779         (RUN_TEST_f_i_tg): Likewise.
12780         (RUN_TEST_ff_i_tg): Likewise.
12781         (RUN_TEST_f_b): Likewise.
12782         (RUN_TEST_f_b_tg): Likewise.
12783         (RUN_TEST_f_l): Likewise.
12784         (RUN_TEST_f_L): Likewise.
12785         (RUN_TEST_sincos): Likewise.
12786         * math/gen-libm-test.pl (new_test): Take new argument to indicate
12787         whether to show exceptions.  Do not include ");\n" in return
12788         value.
12789         (special_functions): Output call to RUN_TEST_sincos instead of
12790         check_float calls.  Update calls to new_test.
12791         (parse_args): Output call to single RUN_TEST_* macro instead of
12792         check_* calls and other assignments.  Update calls to new_test.
12794         [BZ #2546]
12795         [BZ #2560]
12796         [BZ #5159]
12797         [BZ #15426]
12798         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12799         input to result for tgamma overflow.
12800         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12801         (gamma_coeff): New variable.
12802         (NCOEFF): New macro.
12803         (gamma_positive): New function.
12804         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12805         underflow here.  Use gamma_positive instead of exp (lgamma) for
12806         other arguments.
12807         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12808         (gamma_coeff): New variable.
12809         (NCOEFF): New macro.
12810         (gammaf_positive): New function.
12811         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12812         underflow here.  Use gamma_positive instead of exp (lgamma) for
12813         other arguments.
12814         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12815         (gamma_coeff): New variable.
12816         (NCOEFF): New macro.
12817         (gammal_positive): New function.
12818         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12819         underflow here.  Use gamma_positive instead of exp (lgamma) for
12820         other arguments.
12821         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12822         (gamma_coeff): New variable.
12823         (NCOEFF): New macro.
12824         (gammal_positive): New function.
12825         (__ieee754_gammal_r): Handle positive infinity, overflow and
12826         underflow here.  Handle NaN the same as positive infinity.  Remove
12827         check x < 0xffffffff for negative integers.  Use gamma_positive
12828         instead of exp (lgamma) for other arguments.
12829         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12830         (gamma_coeff): New variable.
12831         (NCOEFF): New macro.
12832         (gammal_positive): New function.
12833         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12834         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12835         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12836         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12838         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12839         * sysdeps/generic/math_private.h (__gamma_productf): New
12840         prototype.
12841         (__gamma_product): Likewise.
12842         (__gamma_productl): Likewise.
12843         * math/Makefile (libm-calls): Add gamma_product.
12844         * math/libm-test.inc (tgamma_test): Add more tests.
12845         * sysdeps/i386/fpu/libm-test-ulps: Update.
12846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12848 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
12850         * benchtests/bench-skeleton.c (main): Preheat CPU.
12852 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
12854         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12856 2013-05-07  Roland McGrath  <roland@hack.frob.com>
12858         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12859         and _dl_skip_args_internal.
12861 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
12863         * manual/message.texi (Message Translation): Talk about users.
12864         Message to key mapping impacts design.
12866 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12868         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12870         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12872         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12873         * sysdeps/wordsize-64/glob64.c: ... here.
12875         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12876         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12877         New macros.
12879         * debug/getlogin_r_chk.c: Moved to ...
12880         * login/getlogin_r_chk.c: ... here.
12881         * debug/Makefile (routines): Move getlogin_r_chk to ...
12882         * login/Makefile (routines): ... here.
12883         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12884         * login/Versions (libc: GLIBC_2.4): ... here.
12886         * io/poll.c (__poll): Renamed from poll.
12887         Add libc_hidden_def.
12888         (poll): Define as weak alias.
12890         * debug/ptsname_r_chk.c: Moved to ...
12891         * login/ptsname_r_chk.c: ... here.
12892         * debug/Makefile (routines): Move ptsname_r_chk to ...
12893         * login/Makefile (routines): ... here.
12894         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12895         * login/Versions (libc: GLIBC_2.4): ... here.
12897         * posix/getlogin.c: Moved to ...
12898         * login/getlogin.c: ... here.
12899         * posix/getlogin_r.c: Moved to ...
12900         * login/getlogin_r.c: ... here.
12901         * posix/getlogin_r.c: Moved to ...
12902         * login/getlogin_r.c: ... here.
12903         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12904         * login/Makefile (routines): ... here.
12905         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12906         * login/Versions (libc: GLIBC_2.0): ... here.
12908         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12909         (setrlimit): Define as weak alias.
12911         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12912         Call __ names for open, ftruncate, and close.
12913         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12914         (truncate): Define as weak alias.
12916 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
12918         * math/gen-libm-test.pl (parse_args): Initialize x before each
12919         test of frexp, modf and remquo.
12921         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12922         test signgam value.
12924 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12926         [BZ #15418]
12927         [BZ #15419]
12928         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12929         internal tests.
12930         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12932 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12934         * elf/dl-writev.h: New file.
12935         * elf/dl-misc.c: Include it.
12936         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12937         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12939 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
12941         * math/libm-test.inc (noXFails): Remove variable.
12942         (noXPasses): Likewise.
12943         (BUILD_COMPLEX_INT): Remove macro.
12944         (print_screen): Remove xfail argument.
12945         (print_screen_max_error): Likewise.
12946         (update_stats): Likewise.
12947         (print_max_error): Likewise.  Update calls to other affected
12948         functions.
12949         (print_complex_max_error): Likewise.
12950         (test_single_exception): Update calls to print_screen.
12951         (test_single_errno): Likewise.
12952         (check_float_internal): Remove xfail argument.  Update calls to
12953         other affected functions.
12954         (check_float): Likewise.
12955         (check_complex): Likewise.
12956         (check_int): Likewise.
12957         (check_long): Likewise.
12958         (check_bool): Likewise.
12959         (check_longlong): Likewise.
12960         (main): Don't print noXFails and noXPasses.
12961         * math/gen-libm-test.pl (top level): Don't mention expected
12962         failure handling in comment.
12963         (new_test): Don't handle expected failures.
12964         (parse_args): Don't mention expected failure handling in comment.
12965         (generate_testfile): Don't handle expected failures.
12966         (parse_ulps): Likewise.
12967         (print_ulps_file): Likewise.
12968         (get_failure): Remove function.
12969         (output_test): Don't handle expected failures.
12970         * make/README.libm-test: Don't mention expected failure handling.
12972         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
12973         (minus_zero): Likewise.
12974         (plus_infty): Likewise.
12975         (minus_infty): Likewise.
12976         (qnan_value): Likewise.
12977         (max_value): Likewise.
12978         (min_value): Likewise.
12979         (min_subnorm_value): Likewise.
12980         (initialize): Do not initialize those variables dynamically.
12982 2013-05-03  Roland McGrath  <roland@hack.frob.com>
12984         * io/open.c (__open_2): Moved to ...
12985         * io/open_2.c: ... this new file.
12986         * io/open64.c (__open64_2): Moved to ...
12987         * io/open64_2.c: ... this new file.
12988         * io/openat.c (__openat_2): Moved to ...
12989         * io/openat_2.c: ... this new file.
12990         * io/openat64.c (__openat64_2): Moved to ...
12991         * io/openat64_2.c: ... this new file.
12992         * io/Makefile (routines): Add them.
12993         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12994         * sysdeps/unix/sysv/linux/open_2.c: File removed.
12995         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12996         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12997         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12998         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12999         (__openat64): Add hidden_ver.
13000         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13001         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13003         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13004         Separately conditionalize setting of GLRO(dl_sysinfo) so
13005         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13006         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13008 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13010         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13011         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13012         definition.
13013         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13014         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13015         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13016         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13017         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13019 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13021         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13022         test signgam value.
13024         * math/libm-test.inc (hypot_test): Do not use
13025         IGNORE_ZERO_INF_SIGN.
13027 2013-05-03  Andreas Jaeger  <aj@suse.de>
13029         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13030         Linux 3.9.
13031         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13032         (PF_MAX): Adjust for VSOCK change.
13034 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13038 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13040         [BZ #15264]
13041         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13042         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13043         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13045 2013-05-02  David S. Miller  <davem@davemloft.net>
13047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13049 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13051         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13053 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13055         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13057 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13059         [BZ #14952]
13060         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13061         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13062         Use __attribute__ ((__gnu_inline__)).
13063         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13064         Don't use __attribute__ ((__gnu_inline__)).
13066 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13068         [BZ #15423]
13069         * math/s_catan.c (__catan): Handle small real or imaginary part of
13070         input specially to avoid spurious underflow.
13071         * math/s_catanf.c (__catanf): Likewise.
13072         * math/s_catanh.c (__catanh): Likewise.
13073         * math/s_catanhf.c (__catanhf): Likewise.
13074         * math/s_catanhl.c (__catanhl): Likewise.
13075         * math/s_catanl.c (__catanl): Likewise.
13076         * math/libm-test.inc (catan_test): Add more tests.
13077         (catanh_test): Likewise.
13078         * sysdeps/i386/fpu/libm-test-ulps: Update.
13079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13081 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13085 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13087         [BZ #15416]
13088         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13089         accurately for denominator in atan2.
13090         * math/s_catanf.c (__catanf): Likewise.
13091         * math/s_catanh.c (__catanh): Likewise.
13092         * math/s_catanhf.c (__catanhf): Likewise.
13093         * math/s_catanhl.c (__catanhl): Likewise.
13094         * math/s_catanl.c (__catanl): Likewise.
13095         * math/libm-test.inc (catan_test): Add more tests.
13096         (catanh_test): Likewise.
13097         * sysdeps/i386/fpu/libm-test-ulps: Update.
13098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13100 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13102         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13104         * benchtests/Makefile (bench): Remove slow benchmarks.
13105         * benchtests/atan-inputs: Add slow benchmark inputs.
13106         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13107         (BENCH_FUNC): Accept variant offset.
13108         (VARIANT): Define.
13109         * benchtests/bench-skeleton.c (main): Run benchmark for each
13110         variant.
13111         * benchtests/cos-inputs: Add slow benchmark inputs.
13112         * benchtests/exp-inputs: Likewise.
13113         * benchtests/pow-inputs: Likewise.
13114         * benchtests/sin-inputs: Likewise.
13115         * benchtests/slowatan-inputs: Remove.
13116         * benchtests/slowatan.c: Remove.
13117         * benchtests/slowcos-inputs: Remove.
13118         * benchtests/slowcos.c: Remove.
13119         * benchtests/slowexp-inputs: Remove.
13120         * benchtests/slowexp.c: Remove.
13121         * benchtests/slowpow-inputs: Remove.
13122         * benchtests/slowpow.c: Remove.
13123         * benchtests/slowsin-inputs: Remove.
13124         * benchtests/slowsin.c: Remove.
13125         * benchtests/slowtan-inputs: Remove.
13126         * benchtests/slowtan.c: Remove.
13127         * benchtests/tan-inputs: Add slow benchmark inputs.
13128         * scripts/bench.pl: Parse comments and directives.
13130         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13131         in CPPFLAGS.
13132         ($(objpfx)bench-%.c): Remove *-ITER.
13133         * benchtests/bench-modf.c: Remove definition of ITER.
13134         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13135         (main): Loop for DURATION seconds instead of fixed number of
13136         iterations.
13137         * scripts/bench.pl: Don't expect iterations in parameters.
13139 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13141         * io/fchdir.c (__fchdir): Renamed from fchdir.
13142         (fchdir): Define as weak alias.
13144 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13146         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13147         (ERRNO_EDOM): Likewise.
13148         (ERRNO_ERANGE): Likewise.
13149         (noErrnoTests): New variable.
13150         (init_max_error): Set errno to 0.
13151         (test_single_errno): New function.
13152         (test_errno): Likewise.
13153         (check_float_internal): Call test_errno.  Set errno to 0.
13154         (check_complex): Refer to errno tests in comment.
13155         (check_int): Call test_errno.  Set errno to 0.
13156         (check_long): Likewise.
13157         (check_bool): Likewise.
13158         (check_longlong): Likewise.
13159         (cos_test): Use ERRNO_* flags for errno tests instead of
13160         check_int.
13161         (expm1_test): Likewise.
13162         (fmod_test): Likewise.
13163         (ilogb_test): Likewise.
13164         (lgamma_test): Likewise.
13165         (pow_test): Likewise.
13166         (remainder_test): Likewise.
13167         (sin_test): Likewise.
13168         (tan_test): Likewise.
13169         (yn_test): Likewise.
13170         (initialize): Set errno to 0.
13171         (main): Print number of errno tests.
13172         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13174 2013-04-29  Andreas Jaeger  <aj@suse.de>
13176         [BZ #15084]
13177         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13178         and RES_USEVC.
13180         [BZ #15085]
13181         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13182         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13183         unimplemented.
13185         [BZ #15380]
13186         * stdlib/random.c (__initstate): Return NULL if
13187         __initstate fails.
13189         [BZ #15086]
13190         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13191         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13192         RES_SNGLKUPREOP.
13194 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13198 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13200         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13201         of individual tests.
13202         (casin_test): Likewise.
13203         (casinh_test): Likewise.
13205 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13207         [BZ #15409]
13208         * math/s_catan.c (__catan): Handle arguments with large real or
13209         imaginary part separately without squaring.
13210         * math/s_catanf.c (__catanf): Likewise.
13211         * math/s_catanh.c (__catanh): Likewise.
13212         * math/s_catanhf.c (__catanhf): Likewise.
13213         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13214         and redefine.
13215         (__catanhl): Handle arguments with large real or imaginary part
13216         separately without squaring.
13217         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13218         and redefine.
13219         (__catanl): Handle arguments with large real or imaginary part
13220         separately without squaring.
13221         * math/libm-test.inc (catan_test): Add more tests.
13222         (catanh_test): Likewise.
13223         * sysdeps/i386/fpu/libm-test-ulps: Update.
13224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13226 2013-04-27  Andreas Jaeger  <aj@suse.de>
13228         [BZ #15007]
13229         * stdlib/stdlib.h: Update guards for qecvt.
13230         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13231         <stdlib.h>.
13233 2013-04-27  Allan McRae  <allan@archlinux.org>
13235         * sysdeps/i386/fpu/libm-test-ulps: Update.
13237 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #15406]
13240         * math/s_catan.c: Include <float.h>.
13241         (__catan): Ensure underflow exception occurs for underflowed
13242         result.
13243         * math/s_catanf.c: Include <float.h>.
13244         (__catanf): Ensure underflow exception occurs for underflowed
13245         result.
13246         * math/s_catanh.c: Include <float.h>.
13247         (__catanh): Ensure underflow exception occurs for underflowed
13248         result.
13249         * math/s_catanhf.c: Include <float.h>.
13250         (__catanhf): Ensure underflow exception occurs for underflowed
13251         result.
13252         * math/s_catanhl.c: Include <float.h>.
13253         (__catanhl): Ensure underflow exception occurs for underflowed
13254         result.
13255         * math/s_catanl.c: Include <float.h>.
13256         (__catanl): Ensure underflow exception occurs for underflowed
13257         result.
13258         * math/libm-test.inc (catan_test): Add more tests.
13259         (catanh_test): Likewise.
13261         [BZ #15405]
13262         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13263         underflowed result.
13264         * math/s_ccoshf.c (__ccoshf): Likewise.
13265         * math/s_ccoshl.c (__ccoshl): Likewise.
13266         * math/s_csin.c (__csin): Likewise.
13267         * math/s_csinf.c (__csinf): Likewise.
13268         * math/s_csinh.c (__csinh): Likewise.
13269         * math/s_csinhf.c (__csinhf): Likewise.
13270         * math/s_csinhl.c (__csinhl): Likewise.
13271         * math/s_csinl.c (__csinl): Likewise.
13272         * math/libm-test.inc (ccos_test): Add more tests.
13273         (ccosh_test): Likewise.
13274         (csin_test): Likewise.
13275         (csinh_test): Likewise.
13277 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13279         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13280         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13281         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13282         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13283         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13284         powerpc/power5+/fpu folders.
13285         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13288 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13292 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13294         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13295         additions to variable.
13296         [$(config-machine) = x86_64] (modules-names): Likewise.
13297         ($(objpfx)tst-audit3): Remove dependency.
13298         ($(objpfx)tst-audit3.out): Likewise.
13299         ($(objpfx)tst-audit4): Likewise.
13300         ($(objpfx)tst-audit4.out): Likewise.
13301         ($(objpfx)tst-audit5): Likewise.
13302         ($(objpfx)tst-audit5.out): Likewise.
13303         ($(objpfx)tst-audit6): Likewise.
13304         ($(objpfx)tst-audit6.out): Likewise.
13305         ($(objpfx)tst-audit7): Likewise.
13306         ($(objpfx)tst-audit7.out): Likewise.
13307         (tst-audit3-ENV): Remove variable.
13308         (tst-audit4-ENV): Likewise.
13309         (tst-audit5-ENV): Likewise.
13310         (tst-audit6-ENV): Likewise.
13311         (tst-audit7-ENV): Likewise.
13312         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13313         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13314         addition to variable.
13315         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13316         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13317         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13318         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13319         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13320         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13321         tst-audit3, tst-audit4 and tst-audit5.
13322         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13323         tst-audit6 and tst-audit7.
13324         [$(subdir) = elf] (modules-names): Add audit modules for those
13325         tests.
13326         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13327         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13328         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13329         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13330         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13331         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13332         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13333         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13334         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13335         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13336         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13337         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13338         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13339         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13340         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13341         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13342         Likewise.
13343         [$(subdir) = elf && $(config-cflags-avx) = yes]
13344         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13345         [$(subdir) = elf && $(config-cflags-avx) = yes]
13346         (CFLAGS-tst-auditmod4a.c): Likewise.
13347         [$(subdir) = elf && $(config-cflags-avx) = yes]
13348         (CFLAGS-tst-auditmod4b.c): Likewise.
13349         [$(subdir) = elf && $(config-cflags-avx) = yes]
13350         (CFLAGS-tst-auditmod6b.c): Likewise.
13351         [$(subdir) = elf && $(config-cflags-avx) = yes]
13352         (CFLAGS-tst-auditmod6c.c): Likewise.
13353         [$(subdir) = elf && $(config-cflags-avx) = yes]
13354         (CFLAGS-tst-auditmod7b.c): Likewise.
13355         * elf/tst-audit3.c: Move to ...
13356         * sysdeps/x86_64/tst-audit3.c: ... here.
13357         * elf/tst-audit4.c: Move to ...
13358         * sysdeps/x86_64/tst-audit4.c: ... here.
13359         * elf/tst-audit5.c: Move to ...
13360         * sysdeps/x86_64/tst-audit5.c: ... here.
13361         * elf/tst-audit6.c: Move to ...
13362         * sysdeps/x86_64/tst-audit6.c: ... here.
13363         * elf/tst-audit7.c: Move to ...
13364         * sysdeps/x86_64/tst-audit7.c: ... here.
13365         * elf/tst-auditmod3a.c: Move to ...
13366         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13367         * elf/tst-auditmod3b.c: Move to ...
13368         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13369         * elf/tst-auditmod4a.c: Move to ...
13370         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13371         * elf/tst-auditmod4b.c: Move to ...
13372         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13373         * elf/tst-auditmod5a.c: Move to ...
13374         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13375         * elf/tst-auditmod5b.c: Move to ...
13376         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13377         * elf/tst-auditmod6a.c: Move to ...
13378         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13379         * elf/tst-auditmod6b.c: Move to ...
13380         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13381         * elf/tst-auditmod6c.c: Move to ...
13382         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13383         * elf/tst-auditmod7a.c: Move to ...
13384         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13385         * elf/tst-auditmod7b.c: Move to ...
13386         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13388 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
13390         [BZ #15366]
13391         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13392         define unconditionally.
13393         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13394         define unconditionally.
13395         (INT8_C, INT16_C, etc.): Likewise.
13397 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
13399         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13400         __ehdr_start with hidden visibility.
13402         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13404 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
13406         * math/libm-test.inc (cos_test): Use accurate hex constants.
13407         (sincost_test): Likewise.
13409 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
13411         * math/libm-test.inc (catan_test): Add more tests.
13412         (catanh_test): Likewise.
13414         * math/s_catanf.c (__catanf): Use suffixed floating-point
13415         constants.
13416         * math/s_catanhf.c (__catanhf): Likewise.
13417         * math/s_catanhl.c (__catanhl): Likewise.
13418         * math/s_catanl.c (__catanl): Likewise.
13420         [BZ #15394]
13421         * math/s_catan.c (__catan): Calculate imaginary part of result
13422         with log1p not log unless computing log of number close to 0.
13423         * math/s_catanf.c (__catanf): Likewise.
13424         * math/s_catanl.c (__catanl): Likewise.
13425         * math/s_catanh.c (__catanh): Calculate real part of result with
13426         log1p not log unless computing log of number close to 0.
13427         * math/s_catanhf.c (__catanhf): Likewise.
13428         * math/s_catanhl.c (__catanhl): Likewise.
13429         * math/libm-test.inc (catan_test): Add more tests.
13430         (catanh_test): Likewise.
13431         * sysdeps/i386/fpu/libm-test-ulps: Update.
13432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13434 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13436         * benchtests/Makefile: Mention files in which fast and slow
13437         paths of math functions are implemented.
13439 2013-04-23  Roland McGrath  <roland@hack.frob.com>
13441         * sysdeps/posix/timespec_get.c: New file.
13443 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13445         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13446         POWER.
13447         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
13448         for POWER.
13449         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
13450         powerpc/power5/fpu folders.
13451         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
13452         * benchtests/Makefile: Add modf testcase.
13453         * benchtests/bench-modf.c: New file: Benchmark test for mo
13455 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13457         [BZ #14888]
13458         * time/Makefile (tests): Add tst-strptime-whitespace.
13459         * time/strptime_l.c (get_number): Use ISSPACE.
13460         (__strptime_internal): Likewise.
13461         * time/tst-strptime-whitespace.c: New test case.
13463 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
13465         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
13466         member.
13467         (_nss_files_init): Set it here.
13469 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
13471         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
13472         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
13473         unsigned.
13475 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
13477         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
13479 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
13482         size just once.
13484 2013-04-21  David S. Miller  <davem@davemloft.net>
13486         * po/ru.po: Update Russion translation from translation project.
13488 2013-04-17  Adam Conrad  <adconrad@0c3.net>
13490         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
13491         and setfsgid.
13493 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
13495         * configure.in: Remove i386 configure warning. Remove i386 case.
13496         * configure: Regenerate.
13497         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
13498         Add example to error message.
13499         * sysdeps/i386/configure: Regenerate.
13501 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13503         * benchtests/Makefile (bench): Add cos, tan, slowcos and
13504         slowtan.
13505         * benchtests/cos-inputs: New file.
13506         * benchtests/slowcos-inputs: New file.
13507         * benchtests/slowcos.c: New file.
13508         * benchtests/slowtan-inputs: New file.
13509         * benchtests/slowtan.c: New file.
13510         * benchtests/tan-inputs: New file.
13512 2013-04-16  Roland McGrath  <roland@hack.frob.com>
13514         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
13515         considered kosher.
13517 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13519         * benchtests/Makefile: Include cppflags-iterator.mk to add
13520         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
13522         * Makefile.in (bench-clean): New target.
13523         * benchtests/Makefile (bench-clean): Likewise.
13525 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
13527         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
13529 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
13531         * stdio-common/tstdiomisc.c: Fix coding-style violation.
13533 2013-04-15  Andreas Schwab  <schwab@suse.de>
13535         * nscd/grpcache.c (cache_addgr): Properly check for short write.
13536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13537         * nscd/pwdcache.c (cache_addpw): Likewise.
13538         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
13539         more than recsize.
13541 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13543         * benchtests/Makefile (bench): Write all output to
13544         bench-out.tmp together.
13546 2013-04-15  Andreas Schwab  <schwab@suse.de>
13548         * nscd/nscd.c (main): Don't fork again after closing files.
13550 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13552         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
13554         * benchtests/Rules (bench-deps): Collect dependencies into a
13555         single variable.  Add Makefile to dependencies.
13556         ($(objpfx)bench-%.c): Depend on bench-deps.
13558 2013-04-12  Roland McGrath  <roland@hack.frob.com>
13559             Xavier Roche  <roche+kml2@exalead.com>
13561         [BZ #15361]
13562         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
13563         just that it's a file descriptor.
13564         * manual/llio.texi (Synchronizing AIO Operations): Update description
13565         for EBADF error from aio_fsync.
13567 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13569         * Rules (bench): Move target definition...
13570         * benchtests/Makefile: ... here.
13572 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
13574         * math/libm-test.inc (cos_test): Fix PI/2 test.
13575         (sincos_test): Likewise.
13576         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13577         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13579 2013-04-11  Andreas Schwab  <schwab@suse.de>
13581         [BZ #13988]
13582         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
13583         accept exponent character only when digits were seen.
13584         * stdio-common/Makefile (tests): Add bug26.
13585         * stdio-common/bug26.c: New file.
13587         [BZ #14293]
13588         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
13589         non-freeable.
13591 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13593         * Makeconfig (rtld-prefix): Define built linker prefix.
13594         * Rules (run-bench): Use it.
13595         * math/Makefile (run-regen-ulps): Likewise.
13597         * Rules (bench): Remove eval.
13599 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13600             Roland McGrath  <roland@hack.frob.com>
13601             Ondrej Bilka  <neleai@seznam.cz>
13603         [BZ #15346]
13604         * time/getdate.c: Include ctype.h and alloca.h.
13605         (__getdate_r): Trim leading and trailing spaces of input.
13606         * time/tst-getdate.c (tests): Add tests with leading and
13607         trailing spaces.
13609 2013-04-08  Roland McGrath  <roland@hack.frob.com>
13611         [BZ #14280]
13612         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
13613         when computing value.
13615 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13617         * math/README.libm-test (How can I generate "libm-test-ulps"?):
13618         Use testrun.sh to run libm tests.
13620         [BZ #15309]
13621         * elf/dl-open.c (dl_open_worker): memset all of seen array.
13623 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
13625         [BZ #15264]
13626         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13630         * Makefile.in (regen-ulps): New target.
13631         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
13632         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
13633         [ifneq (no,$(PERL)] (regen-ulps): New target.
13634         [ifeq (no,$(PERL)] (regen-ulps): New target.
13635         * math/libm-test.inc (ulps_file_name): Define.
13636         (output_dir): New variable.
13637         (options): Add "output-dir" option.
13638         (parse_opt): Handle 'o' case.
13639         (main): If output_dir is non-NULL use it as a prefix
13640         otherwise use "".
13641         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
13643 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13645         [BZ #10060, #10062]
13646         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
13647         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
13648         fail configure if __sync_val_compare_and_swap is not inlined.
13649         * sysdeps/i386/configure: Regenerate.
13650         * configure.in: Build for i686 when configured for i386.
13651         * configure: Regenerate.
13652         * README: Remove i386 reference.
13654 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13656         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
13657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13659 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13661         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
13662         (lmsnanval): New variables.
13663         (F): Add conversion tests.
13664         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
13665         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13667         * stdio-common/tstdiomisc.c (F): Properly collect individual
13668         tests' results.
13670         [BZ #14686, #15336]
13671         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
13672         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13673         Instead, use input NaN values or generate a qNaN by arithmetic
13674         operation.  Also fix bugs to comply with the standard.
13675         * math/libm-test.inc (remainder_test): Add more tests.
13677         [BZ #15335, #15342]
13678         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13680         input NaN values or generate a qNaN by arithmetic operation.
13682         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13683         unreachable code.
13685         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13686         definitions.
13688 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
13690         [BZ #14478]
13691         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13692         underflowed result.
13693         * math/s_cexpf.c (__cexpf): Likewise.
13694         * math/s_cexpl.c (__cexpl): Likewise.
13695         * math/libm-test.inc (cexp_test): Add more tests.
13697 2013-04-03  Andreas Schwab  <schwab@suse.de>
13699         [BZ #15330]
13700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13701         order arrays from heap if bigger than alloca cutoff.
13703 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
13705         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13706         (SNAN_TESTS_double): Refer to GCC PR56831.
13707         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13708         GCC PR56828.
13710 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13712         * Rules (bench): Move bench.out after the run is complete.
13714         * Rules (bench): Echo currently running benchmark.
13716         * benchtests/Makefile (bench): Add atan and slowatan.
13717         * benchtests/atan-inputs: New file.
13718         * benchtests/slowatan-inputs: New file.
13719         * benchtests/slowatan.c: New file.
13721         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13723         its value.
13725         [BZ #15305]
13726         * sysdeps/unix/sysv/linux/kernel-features.h
13727         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13728         __ASSUME_XFS_RESTRICTED_CHOWN.
13729         * sysdeps/unix/sysv/linux/pathconf.c
13730         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13731         Save and restore errno.
13733 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
13735         [BZ #15327]
13736         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13737         arguments using __kernel_casinh.
13738         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13739         arguments using __kernel_casinhf.
13740         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13741         arguments using __kernel_casinhl.
13742         * math/libm-test.inc (cacosh_test): Add more tests.
13743         * sysdeps/i386/fpu/libm-test-ulps: Update.
13744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13748         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13751         * bench/Makefile (bench): Add sin and slowsin.
13752         * benchtests/sin-inputs: New file.
13753         * benchtests/slowsin-inputs: New file.
13754         * benchtests/slowsin.c: New file.
13756         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13757         (bench): Add slowexp and slowpow.
13758         (exp-ITER): Increase iterations.
13759         (pow-ITER): Likewise.
13760         * benchtests/exp-inputs: Change input.
13761         * benchtests/pow-inputs: Likewise.
13762         * benchtests/slowexp-inputs: New file.
13763         * benchtests/slowexp.c: New file.
13764         * benchtests/slowpow-inputs: New file.
13765         * benchtests/slowpow.c: New file.
13767 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13769         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13770         instructions.
13771         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13772         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13773         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13774         * benchtests/Makefile: Add rint benchtest.
13775         * benchtests/rint-inputs: Input for rint benchtest.
13777 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13779         * Versions.def (libm): Add GLIBC_2.18.
13780         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13781         hidden libm prototypes.
13782         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13783         * math/Makefile (libm-calls): Add s_issignaling.
13784         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13785         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
13786         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13787         declaration.
13788         * math/math.h [__USE_GNU] (issignaling): New macro.
13789         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13790         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13791         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13792         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13795         * manual/arith.texi (issignaling): New section.
13796         * manual/libm-err-tab.pl (@all_functions): Update comment.
13797         * math/gen-libm-test.pl (parse_args): Apply special handling for
13798         issignaling.
13799         * math/libm-test.inc (print_float, issignaling_test): New
13800         functions.
13801         (check_float_internal): Add issignaling checks.
13802         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13803         default definition.
13804         * sysdeps/powerpc/math-tests.h: New file.
13805         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13806         tests.
13807         * math/test-snan.c (TEST_FUNC): Likewise.
13809 2013-03-30  David S. Miller  <davem@davemloft.net>
13811         * po/de.po: Update from translation team.
13813 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
13815         [BZ #10357]
13816         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13817         imaginary part less than 1.0 and real part less than 0.5
13818         specially.
13819         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13820         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13821         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13822         (cacos_test): Add more tests.
13823         (casin_test): Likewise.
13824         (casinh_test): Likewise.
13825         * sysdeps/i386/fpu/libm-test-ulps: Update.
13826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13828 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13830         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13831         ONE with its value.
13833         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13834         (__pow_mp): Replace ONE and MONE with their values.
13835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13836         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13837         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13838         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13839         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13840         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13842         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13844         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13845         (__pow_mp): Replace ZERO and MZERO with their values.
13846         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13848         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13850         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13851         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13852         (__sqr): Likewise.
13854         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13856         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13858 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13860         * include/stdlib.h [!SHARED] (__call_tls_dtors):
13861         Declare with __attribute__ ((weak)).
13862         * stdlib/exit.c (__libc_atexit) [!SHARED]:
13863         Call __call_tls_dtors only if it's not NULL.
13865 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13867         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13868         didn't do it already, then set _dl_phdr and _dl_phnum based on the
13869         magic __ehdr_start linker symbol if it's defined.
13870         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13871         them up here if it was already done.
13873         * elf/dl-support.c (_dl_phdr): Make pointer to const.
13874         (_dl_aux_init): Use const in cast when setting it.
13875         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13876         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13877         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13879         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13880         Declare them here.
13881         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13882         * csu/libc-tls.c: Nor here.
13883         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13885         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13886         (__libc_message): Never call vsyslog.
13888 2013-03-28  Alan Modra  <amodra@gmail.com>
13890         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13891         Define as empty.
13892         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13893         Likewise.
13895 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13897         [BZ #15214]
13898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13899         underflow.
13900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13902 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13904         [BZ #15304]
13905         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13906         Don't add gid passed as argument.
13908         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13910 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #15307]
13913         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13914         imaginary part between 1.0 and 1.5 and real part less than 0.5
13915         specially.
13916         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13917         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13918         * math/libm-test.inc (cacos_test): Add more tests.
13919         (casin_test): Likewise.
13920         (casinh_test): Likewise.
13921         * sysdeps/i386/fpu/libm-test-ulps: Update.
13922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13924 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13926         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13927         constants.
13928         (norm): Likewise.
13929         (denorm): Likewise.
13930         (__dbl_mp): Likewise.
13931         (add_magnitudes): Likewise.
13932         (sub_magnitudes): Likewise.
13933         (__add): Likewise.
13934         (__sub): Likewise.
13935         (__mul): Likewise.
13936         (__sqr): Likewise.
13937         (__inv): Likewise.
13938         (__dvd): Likewise.
13940         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13941         commented code.
13942         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13943         (__dubcos): Likewise.
13944         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13945         (__ieee754_acos): Likewise.
13946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13948         (__exp1): Likewise.
13949         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13951         (log1): Likewise.
13952         (my_log2): Likewise.
13953         (checkint): Likewise.
13954         * sysdeps/ieee754/dbl-64/e_remainder.c
13955         (__ieee754_remainder): Likewise.
13956         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13957         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13958         (bsloww): Likewise.
13959         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13961         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13962         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13963         MANTISSA_STORE_T to store computations on mantissa.  Use
13964         macros for rounding and division.
13965         (denorm): Likewise.
13966         (__dbl_mp): Likewise.
13967         (add_magnitudes): Likewise.
13968         (sub_magnitudes): Likewise.
13969         (__mul): Likewise.
13970         (__sqr): Likewise.
13971         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13972         powers of two in terms of TWOPOW macro.
13973         (mp_no): Make type of mantissa as MANTISSA_T.
13974         [!RADIXI]: Define RADIXI.
13975         [!TWO52]: Define TWO52.
13976         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13978 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13980         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13981         llroundl symbol when building for PPC32.
13983 2013-03-24  Mark H Weaver  <mhw@netris.org>
13985         * manual/arith.texi (Normalization Functions): Fix prototypes for
13986         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13988 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13990         [BZ #13889]
13991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13992         high value to check if expl overflow.
13993         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13994         to check for underflow and overflow.
13995         * math/libm-test.inc: Add exp test.
13997 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
13999         [BZ #11120]
14000         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14001         with NOT_IN_libc.
14003 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14005         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14006         symbol.
14008 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14010         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14011         wrap blocks consisting of several statements.
14013         * sysdeps/generic/math-tests.h: New file.
14014         * sysdeps/i386/fpu/math-tests.h: Likewise.
14015         * math/test-snan.c: Include it.
14016         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14018 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #15285]
14021         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14022         (__ieee754_j0l): Do not improve calculations using cos of twice
14023         input for inputs above LDBL_MAX / 2.0L.
14024         (__ieee754_y0l): Likewise.
14025         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14026         (__ieee754_j1l): Do not improve calculations using cos of twice
14027         input for inputs above LDBL_MAX / 2.0L.
14028         (__ieee754_y1l): Likewise.
14029         * math/libm-test.inc (j0_test): Add another test.
14030         (j1_test): Likewise.
14031         (y0_test): Likewise.
14032         (y1_test): Likewise.
14033         * sysdeps/i386/fpu/libm-test-ulps: Update.
14035 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14037         * Rules ($(objpfx)bench-%.c): Include code from a C source
14038         file.
14040 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14042         [BZ #15287]
14043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14044         imaginary part 1.0 and real part less than 0.5 specially.
14045         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14046         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14047         * math/libm-test.inc (cacos_test): Add more tests.
14048         (casin_test): Likewise.
14049         (casinh_test): Likewise.
14050         * sysdeps/i386/fpu/libm-test-ulps: Update.
14051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14053 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14055         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14056         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14058 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14060         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14061         * config.make.in (config-cflags-sse4): Remove variable.
14062         (config-cflags-avx): Likewise.
14063         (config-cflags-sse2avx): Likewise.
14064         (config-cflags-novzeroupper): Likewise.
14065         (config-asflags-i686): Likewise.
14066         (have-mfma4): Likewise.
14067         (have-as-vis3): Likewise.
14068         (MIG): Likewise.
14069         * configure.in (MIG): Do not AC_SUBST.
14070         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14071         (libc_cv_cc_sse4): Do not AC_SUBST.
14072         (libc_cv_cc_avx): Likewise.
14073         (libc_cv_cc_sse2avx): Likewise.
14074         (libc_cv_cc_novzeroupper): Likewise.
14075         (libc_cv_cc_fma4): Likewise.
14076         (libc_cv_as_i686): Likewise.
14077         (libc_cv_sparc_as_vis3): Likewise.
14078         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14079         LIBC_CONFIG_VAR.
14080         (config-asflags-i686): Likewise.
14081         (config-cflags-avx): Likewise.
14082         (config-cflags-sse2avx): Likewise.
14083         (have-mfma4): Likewise.
14084         (config-cflags-novzeroupper): Likewise.
14085         * sysdeps/mach/configure.in (MIG): Likewise.
14086         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14087         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14088         LIBC_CONFIG_VAR.
14089         (config-cflags-avx): Likewise.
14090         (config-cflags-sse2avx): Likewise.
14091         (have-mfma4): Likewise.
14092         (config-cflags-novzeroupper): Likewise.
14093         * configure: Regenerated.
14094         * sysdeps/i386/configure: Likewise.
14095         * sysdeps/mach/configure: Likewise.
14096         * sysdeps/sparc/configure: Likewise.
14097         * sysdeps/x86_64/configure: Likewise.
14099 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14101         [BZ #14812]
14102         * locale/programs/localedef.c (options): Put N_ translation marker
14103         on argument names, not just descriptions.
14105 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14107         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14109 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14111         [BZ #14176]
14112         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14114 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14116         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14117         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14118         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14119         [!BEFORE_ABORT] (before_abort): New function.
14120         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14121         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14122         (writev_for_fatal): New function.
14123         (WRITEV_FOR_FATAL): New macro; call that.
14124         (backtrace_and_maps): New function.
14125         (BEFORE_ABORT): New macro; call that.
14126         (struct str_list): Type removed.
14127         (__libc_message, __libc_fatal): Functions removed.
14128         Include <sysdeps/posix/libc_fatal.c> instead.
14130 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14132         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14133         constants.
14134         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14135         double constants.
14137 2013-03-19  Andreas Schwab  <schwab@suse.de>
14139         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14140         * sysdeps/gnu/configure: Regenerate.
14142         * configure.in: Substitute libc_cv_rtlddir.
14143         * configure: Regenerate.
14144         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14145         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14146         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14147         * elf/Makefile (install-others, CFLAGS-interp.c)
14148         (ldso_install, common-ldd-rewrite): Likewise.
14149         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14150         $(inst_slibdir)/$(rtld-installed-name).
14151         * scripts/rellns-sh: Add -p option.
14152         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14153         for source.
14155 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14157         * manual/nptl.texi: Renamed to ...
14158         * manual/threads.texi: ... this.
14159         * manual/Makefile (chapters): Update.
14161 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14163         [BZ #14812]
14164         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14165         on argument names, not just descriptions.
14166         * malloc/memusagestat.c (options): Likewise.
14167         * nss/getent.c (options): Likewise.
14169 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14171         [BZ #14812]
14172         * iconv/iconv_prog.c (options): Put N_ translation marker
14173         on argument names, not just descriptions.
14174         * iconv/iconvconfig.c (options): Likewise.
14176 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14178         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14179         implementation which is faster on all x86_64 architectures.
14180         Tested on AMD, Intel Nehalem, SNB, IVB.
14181         * sysdeps/x86_64/strnlen.S: Likewise.
14183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14184         Remove all multiarch strlen and strnlen versions.
14185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14186         Remove strlen and strnlen related parts.
14188         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14189         Inline strlen part.
14190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14192         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14193         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14194         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14195         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14196         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14197         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14199 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14201         * manual/memory.texi (Malloc Tunable Parameters):
14202         Sort parameters alphabetically. Add comments for missing entries.
14204 2013-03-17  David S. Miller  <davem@davemloft.net>
14206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14208 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14210         [BZ #15283]
14211         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14212         for arguments at most half maximum finite value.
14213         * math/libm-test.inc (j0_test): Add more tests.
14214         (j1_test): Likewise.
14215         (y0_test): Likewise.
14216         (y1_test): Likewise.
14217         * sysdeps/i386/fpu/libm-test-ulps: Update.
14218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14220         [BZ #14155]
14221         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14222         1 / x and functions P and Q for arguments above 0x1p256L.
14223         (__ieee754_y0l): Likewise.
14224         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14225         (__ieee754_y1l): Likewise.
14226         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14227         (j1_test): Likewise.
14228         (y0_test): Likewise.
14229         (y1_test): Likewise.
14231 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14233         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14234         variable.
14236 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14238         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14239         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14240         zero since it's initialized to EXEC_PAGESIZE.
14242         * sysdeps/unix/sysv/linux/ldsodefs.h
14243         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14244         * sysdeps/generic/ldsodefs.h: ... here.
14246 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14248         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14250         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14251         math/test-snan.c.
14252         * math/test-snan.c: Renamed from
14253         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14254         * math/Makefile (tests): Add test-snan.
14255         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14256         test-powerpc-snan.
14258         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14259         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14260         functions.
14261         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14262         __builtin_nan family of functions.
14263         * math/libm-test.inc (initialize): Initialize qnan_value with
14264         __builtin_nan family of functions.
14265         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14266         Remove variables.
14267         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14268         Remove functions.
14269         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14270         storage class.  Initialize qNaN_var and sNaN_var with
14271         __builtin_nan and __builtin_nans families of functions,
14272         respectively.
14274         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14275         (sqrt_test): Remove duplicate test with qNaN input.
14276         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14277         (round_test, signbit_test, significand_test): Note missing +/-Inf
14278         as well as qNaN tests.
14280         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14281         qNaN_var.  Fix a few strings, too.
14282         * math/libm-test.inc (nan_value): Rename to qnan_value.
14283         * math/gen-libm-test.pl (%beautify): Adjust to that.
14284         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14285         * math/test-misc.c (main): Likewise.
14286         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14287         to __qnan_bytes, and __qnan_union, respectively.
14288         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14289         Likewise.
14290         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14291         and lqnanval, respectively.
14292         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14293         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14294         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14295         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14297         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14298         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14299         doubles.
14301         * math/test-misc.c (main): Fix copy'n'pastos.
14302         * misc/tst-efgcvt.c (special): Likewise.
14304         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14305         Remove declarations.
14307 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14309         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14310         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14311         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14312         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14314 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14317         macro to return vdso values correctly in IFUNC implementations.
14318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14319         Optimization by using IFUNC.
14321 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14322             Richard Henderson  <rth@redhat.com>
14323             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14325         * Makefile.in (bench): New target.
14326         * NEWS: Mention the benchmark framework.
14327         * Rules (bench): Likewise.
14328         (binaries-bench): Generate binaries for functions to
14329         benchmark.
14330         * benchtests/Makefile: New makefile for benchmark tests.
14331         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14332         programs.
14333         * benchtests/exp-inputs: New input file for EXP function.
14334         * benchtests/pow-inputs: New input file for POW function.
14335         * scripts/bench.pl: New script to generate source files for
14336         benchmark programs.
14338 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14340         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14342         computations on mantissa.  Use macros for rounding and
14343         division.
14344         (denorm): Likewise.
14345         (__dbl_mp): Likewise.
14346         (add_magnitudes): Likewise.
14347         (sub_magnitudes): Likewise.
14348         (__mul): Likewise.
14349         (__sqr): Likewise.
14350         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14351         powers of two in terms of TWOPOW macro.
14352         (mp_no): Make type of mantissa as MANTISSA_T.
14353         [!RADIXI]: Define RADIXI.
14354         [!TWO52]: Define TWO52.
14355         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14357         * manual/nptl.texi (cindex): Modify threads to pthreads.
14359 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
14361         * sysdeps/x86_64/preconfigure: Regenerated.
14363 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
14365         [BZ #14155]
14366         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14367         0x1p28 and above.
14368         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14369         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14370         0x1p28 and above.
14371         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14372         * math/libm-test.inc (j0_test): Do not allow one spurious
14373         underflow exception.
14374         (y1_test): Likewise.
14376 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14378         * manual/Makefile (chapters): Add nptl.
14379         * manual/debug.texi (Debugging Support): Add link to Threads
14380         chapter.
14381         * manual/nptl.texi: New file.
14383         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14385 2013-03-14  Petr Baudis  <pasky@ucw.cz>
14387         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14388         for non-NULL pointer before the memory validity test. Pointed
14389         out by Holger Brunck <holger.brunck@keymile.com>.
14391 2013-03-13  Andreas Schwab  <schwab@suse.de>
14393         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14394         instead of .os.
14396 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
14398         * timezone/zic.c: Update from tzcode 2013b.
14400 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
14402         * manual/install.texi (Configuring and compiling):
14403         Mention i686 and i586.
14404         * INSTALL: Regenerate.
14406 2013-03-12  Roland McGrath  <roland@hack.frob.com>
14408         * sysdeps/init_array/elf-init.c: New file.
14409         * csu/elf-init.c
14410         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14411         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14413         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14414         __gmon_start__ as global, but as static with a .preinit_array pointer.
14415         * sysdeps/init_array/gmon-start.c: New file.  Use that.
14416         * sysdeps/init_array/crti.S: New file, empty except for comments.
14417         * sysdeps/init_array/crtn.S: Likewise.
14419 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
14421         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14422         definining bcopy.
14423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14424         Remove Prefer_SSE_for_memop.
14425         * sysdeps/x86_64/multiarch/init-arch.h: Remove
14426         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14427         HAS_PREFER_SSE_FOR_MEMOP.
14428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14429         memset-x86-64.
14430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14431         Remove bzero, memset ifunc support.
14432         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14433         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14434         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14435         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14437 2013-03-11  Andreas Schwab  <schwab@suse.de>
14439         [BZ #15234]
14440         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14441         by SHLIB_COMPAT.
14442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
14443         (GLIBC_2.16): Remove pthread_atfork.
14445 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14447         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
14448         (ptestcases.h): Likewise.
14450 2013-03-08  Roland McGrath  <roland@hack.frob.com>
14452         * Makeconfig ($(common-objpfx)config.status): Depend on
14453         sysdeps/*/preconfigure{,.in} too.
14455 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
14457         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14458         (__free_hook): Use void * instead of __malloc_ptr_t.
14459         (__malloc_hook): Likewise.
14460         (__realloc_hook): Likewise.
14461         (__memalign_hook): Likewise.
14462         (__after_morecore_hook): Likewise.
14463         * malloc/arena.c (save_malloc_hook): Likewise.
14464         (save_free_hook): Likewise.
14465         * malloc/hooks.c (malloc_hook_ini): Likewise.
14466         (realloc_hook_ini): Likewise.
14467         (memalign_hook_ini): Likewise.
14468         * malloc/malloc.c (malloc_hook_ini): Likewise.
14469         (realloc_hook_ini): Likewise.
14470         (memalign_hook_ini): Likewise.
14471         (__free_hook): Likewise.
14472         (__malloc_hook): Likewise.
14473         (__realloc_hook): Likewise.
14474         (__memalign_hook): Likewise.
14475         (__libc_malloc): Likewise.
14476         (__libc_free): Likewise.
14477         (__libc_realloc): Likewise.
14478         (__libc_memalign): Likewise.
14479         (__libc_valloc): Likewise.
14480         (__libc_pvalloc): Likewise.
14481         (__libc_calloc): Likewise.
14482         (__posix_memalign): Likewise.
14483         * malloc/morecore.c (__sbrk): Likewise.
14484         (__default_morecore): Likewise.
14486         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
14488         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
14489         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
14490         __malloc_ptrdiff_t.
14492         * malloc/malloc.h (__malloc_size_t): Remove macro.
14493         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
14494         __malloc_size_t.
14495         (old_memalign_hook): Likewise.
14496         (old_realloc_hook): Likewise.
14497         (struct hdr): Likewise.
14498         (flood): Likewise.
14499         (mallochook): Likewise.
14500         (memalignhook): Likewise.
14501         (reallochook): Likewise.
14502         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
14503         (tr_old_realloc_hook): Likewise.
14504         (tr_old_memalign_hook): Likewise.
14505         (tr_mallochook): Likewise.
14506         (tr_reallochook): Likewise.
14507         (tr_memalignhook): Likewise.
14509 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
14512         default_ldbl_pack and using as default implementation.
14513         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
14514         implementation.
14515         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
14516         redundant definition.
14517         (ldbl_insert_mantissa): Likewise.
14518         (ldbl_canonicalize): Likewise.
14519         (ldbl_nearbyint): Likewise.
14520         (ldbl_pack): Rename to ldbl_pack_ppc.
14521         (ldbl_unpack): Rename to ldbl_unpack_ppc.
14522         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
14523         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
14525 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
14528         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
14529         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
14530         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
14531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
14532         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
14533         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
14534         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
14536 2013-03-07  Andreas Jaeger  <aj@suse.de>
14538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14539         bits/mman-linux.h.
14541 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14543         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
14544         Include mpa.h and declare __MPEXP.
14545         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
14546         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14547         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14548         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14549         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14550         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14551         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
14553         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
14554         (__slowpow): Use long double EXPL and LOGL functions to
14555         compute POW.
14556         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14557         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14558         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
14559         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14560         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14561         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
14563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
14564         intermediate variable to calculate exponent.
14565         (__sqr): Likewise.
14566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14567         Likewise.
14568         (__sqr): Likewise.
14570         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
14571         [!NO__SQR]: Define __sqr.
14572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
14573         and NO__SQR.  Remove all code except __mul and __sqr.  Include
14574         sysdeps/ieee754/dbl-64/mpa.c.
14575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14577         [BZ #12723]
14578         * posix/Makefile (tests): Add tst-pathconf.
14579         * posix/tst-pathconf.c: New test case.
14580         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
14581         _PC_PIPE_BUF.
14582         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
14584 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
14586         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
14588 2013-03-06  Andreas Jaeger  <aj@suse.de>
14590         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
14591         definition via __MAP_ANONYMOUS.
14593         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
14594         it's not part of Linux headers.
14596         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
14597         (MAP_HUGE_MASK): Define.
14599         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14600         Define.
14601         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14603         Define.
14604         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14605         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14606         Define.
14607         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14608         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
14609         Define.
14610         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14612         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
14613         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
14614         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
14615         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
14616         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
14617         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
14619         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14620         Handle f2fs.
14622         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14623         Handle f2fs and efivarfs.
14625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
14626         f2fs.
14628         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
14629         (EFIVARFS_MAGIC): Add.
14630         (F2FS_LINK_MAX): Add.
14632 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14634         * stdio-common/vfprintf.c: Replace __builtin_expect with
14635         __glibc_unlikely.
14637 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
14639         [BZ #13550]
14640         * sysdeps/generic/bp-sym.h: Remove file.
14641         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
14642         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
14643         <bp-sym.h> and <bp-asm.h>.
14644         (__longjmp): Don't use BP_SYM.
14645         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
14646         and <bp-asm.h>.
14647         (memcpy): Don't use BP_SYM.
14648         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
14649         <bp-sym.h> and <bp-asm.h>.
14650         (memcpy): Don't use BP_SYM.
14651         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
14652         <bp-asm.h>.
14653         (memcpy): Don't use BP_SYM.
14654         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
14655         <bp-asm.h>.
14656         (memset): Don't use BP_SYM.
14657         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14658         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14659         (__bzero): Don't use BP_SYM.
14660         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14661         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14662         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
14663         <bp-sym.h> and <bp-asm.h>.
14664         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14665         pointers.
14666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
14667         <bp-sym.h> and <bp-asm.h>.
14668         (memcpy): Don't use BP_SYM.
14669         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
14670         <bp-sym.h> and <bp-asm.h>.
14671         (memset): Don't use BP_SYM.
14672         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14673         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14674         (__bzero): Don't use BP_SYM.
14675         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14676         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14677         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14678         <bp-sym.h> and <bp-asm.h>.
14679         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14680         pointers.
14681         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14682         <bp-sym.h> and <bp-asm.h>.
14683         (memcpy): Don't use BP_SYM.
14684         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14685         <bp-sym.h> and <bp-asm.h>.
14686         (memset): Don't use BP_SYM.
14687         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14688         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14689         (__bzero): Don't use BP_SYM.
14690         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14691         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14692         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14693         <bp-sym.h> and <bp-asm.h>.
14694         (__memchr): Don't use BP_SYM.
14695         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14696         <bp-sym.h> and <bp-asm.h>.
14697         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14698         pointers.
14699         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14700         <bp-sym.h> and <bp-asm.h>.
14701         (memcpy): Don't use BP_SYM.
14702         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14703         <bp-sym.h> and <bp-asm.h>.
14704         (__mempcpy): Don't use BP_SYM.
14705         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14706         <bp-sym.h> and <bp-asm.h>.
14707         (__memrchr): Don't use BP_SYM.
14708         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14709         <bp-sym.h> and <bp-asm.h>.
14710         (memset): Don't use BP_SYM.
14711         (__bzero): Likewise.
14712         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14713         <bp-sym.h> and <bp-asm.h>.
14714         (__rawmemchr): Don't use BP_SYM.
14715         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14716         <bp-sym.h> and <bp-asm.h>.
14717         (__STRCMP): Don't use BP_SYM.
14718         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14719         <bp-sym.h> and <bp-asm.h>.
14720         (strchr): Don't use BP_SYM.
14721         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14722         <bp-sym.h> and <bp-asm.h>.
14723         (__strchrnul): Don't use BP_SYM.
14724         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14725         <bp-sym.h> and <bp-asm.h>.
14726         (strlen): Don't use BP_SYM.
14727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14728         <bp-sym.h> and <bp-asm.h>.
14729         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14730         pointers.
14731         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14732         <bp-sym.h> and <bp-asm.h>.
14733         (__strnlen): Don't use BP_SYM.
14734         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14735         <bp-sym.h> and <bp-asm.h>.
14736         (__GI__setjmp): Don't use BP_SYM.
14737         (_setjmp): Likewise.
14738         (__sigsetjmp): Likewise.
14739         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14740         (L(start_addresses)): Don't use BP_SYM.
14741         (_start): Likewise.
14742         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14743         <bp-asm.h>.
14744         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14745         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14746         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14747         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14748         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14749         <bp-asm.h>.
14750         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14751         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
14752         about bounded pointers.
14753         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14754         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14755         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14756         <bp-asm.h>.
14757         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14758         about bounded pointers.  Remove GKM FIXME comments.
14759         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14760         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14761         <bp-asm.h>.
14762         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14763         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
14764         Remove GKM FIXME comments.
14765         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14766         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14767         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14768         <bp-asm.h>.
14769         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14770         about bounded pointers.  Remove GKM FIXME comment.
14771         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14772         and <bp-asm.h>.
14773         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14774         pointers.
14775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14776         <bp-sym.h> and <bp-asm.h>.
14777         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14779         <bp-sym.h> and <bp-asm.h>.
14780         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14781         comment.
14783 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14785         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14786         call free(NULL).
14788 2013-03-05  David S. Miller  <davem@davemloft.net>
14790         * po/es.po: Update from translation team.
14792 2013-03-05  Andreas Jaeger  <aj@suse.de>
14794         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14795         <bits/mman-linux.h>.
14796         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14797         is fine.
14798         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14799         <bits/mman-linux.h> to end of file.
14800         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14801         is fine.
14802         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14803         <bits/mman-linux.h> to end of file.
14804         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14805         is fine.
14806         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14807         <bits/mman-linux.h> to end of file.
14809         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14810         (MCL_CURRENT, MCL_FUTURE): Define here.
14812 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14814         [BZ #15232]
14815         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14816         attribute_hidden.
14817         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14819 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14822         fourth parameter needed for rt_sigprocmask syscall.
14823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14824         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14826         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14827         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14828         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14830 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #13550]
14833         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14834         comment about bounded pointers.
14835         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14836         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14838 2013-03-04  Andreas Jaeger  <aj@suse.de>
14840         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14841         common definitions.
14843         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14844         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14845         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14846         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14847         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14848         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14850 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852         [BZ #15055]
14853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14854         __ieee754_sqrl instead of __sqrl.
14856 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
14858         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14859         * sysdeps/powerpc/fpu_control.h: ... here.
14860         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14861         * sysdeps/powerpc/bits/fenvinline.h: ... here.
14862         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14863         * sysdeps/powerpc/bits/mathinline.h: ... here.
14865 2013-03-01  Roland McGrath  <roland@hack.frob.com>
14867         * elf/dl-hwcaps.c (_dl_important_hwcaps):
14868         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14869         to just [NEED_DL_SYSINFO_DSO].
14870         * elf/dl-support.c: Likewise.
14871         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14872         * elf/rtld.c (dl_main): Likewise.
14873         * elf/setup-vdso.h (setup_vdso): Likewise.
14874         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14875         * sysdeps/unix/sysv/linux/dl-sysdep.c
14876         (_dl_discover_osversion): Likewise.
14878 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
14880         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14881         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14883 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14885         * NEWS: Mention libm performance improvements and non-x86 PI
14886         futex support.
14888         * csu/libc-start.c (__pthread_initialize_minimal): Change
14889         function arguments.
14890         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14892 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
14894         [BZ #13550]
14895         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14896         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14897         <bp-sym.h> and <bp-asm.h>.
14898         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14899         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14900         and <bp-asm.h>.
14901         (memcpy): Don't use BP_SYM.
14902         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14903         <bp-asm.h>.
14904         (__mpn_add_n): Don't use BP_SYM.
14905         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14906         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14907         and <bp-asm.h>.
14908         (__mpn_addmul_1): Don't use BP_SYM.
14909         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14910         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14911         <bp-sym.h>.
14912         (_setjmp): Don't use BP_SYM.
14913         (__novmx_setjmp): Likewise.
14914         (__GI__setjmp): Likewise.
14915         (__vmx_setjmp): Likewise.
14916         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14917         <bp-sym.h>.
14918         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14919         (__bzero): Don't use BP_SYM.
14920         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14921         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14922         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14923         <bp-sym.h> and <bp-asm.h>.
14924         (memcpy): Don't use BP_SYM.
14925         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14926         <bp-sym.h> and <bp-asm.h>.
14927         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14928         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14929         <bp-sym.h> and <bp-asm.h>.
14930         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14931         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14932         <bp-asm.h>.
14933         (__mpn_lshift): Don't use BP_SYM.
14934         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14935         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14936         <bp-asm.h>.
14937         (memset): Don't use BP_SYM.
14938         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14939         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14940         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14941         <bp-asm.h>.
14942         (__mpn_mul_1): Don't use BP_SYM.
14943         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14945         <bp-sym.h> and <bp-asm.h>.
14946         (memcmp): Don't use BP_SYM.
14947         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14948         <bp-sym.h> and <bp-asm.h>.
14949         (memcpy): Don't use BP_SYM.
14950         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14951         <bp-sym.h> and <bp-asm.h>.
14952         (memset): Don't use BP_SYM.
14953         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14954         <bp-sym.h> and <bp-asm.h>.
14955         (strncmp): Don't use BP_SYM.
14956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14957         <bp-sym.h> and <bp-asm.h>.
14958         (memcpy): Don't use BP_SYM.
14959         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14960         <bp-sym.h> and <bp-asm.h>.
14961         (memset): Don't use BP_SYM.
14962         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14963         <bp-sym.h> and <bp-asm.h>.
14964         (__memchr): Don't use BP_SYM.
14965         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14966         <bp-sym.h> and <bp-asm.h>.
14967         (memcmp): Don't use BP_SYM.
14968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14969         <bp-sym.h> and <bp-asm.h>.
14970         (memcpy): Don't use BP_SYM.
14971         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14972         <bp-sym.h> and <bp-asm.h>.
14973         (__mempcpy): Don't use BP_SYM.
14974         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14975         <bp-sym.h> and <bp-asm.h>.
14976         (__memrchr): Don't use BP_SYM.
14977         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14978         <bp-sym.h> and <bp-asm.h>.
14979         (memset): Don't use BP_SYM.
14980         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14981         <bp-sym.h> and <bp-asm.h>.
14982         (__rawmemchr): Don't use BP_SYM.
14983         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14984         <bp-sym.h> and <bp-asm.h>.
14985         (__STRCMP): Don't use BP_SYM.
14986         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14987         <bp-sym.h> and <bp-asm.h>.
14988         (strchr): Don't use BP_SYM.
14989         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14990         <bp-sym.h> and <bp-asm.h>.
14991         (__strchrnul): Don't use BP_SYM.
14992         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14993         <bp-sym.h> and <bp-asm.h>.
14994         (strlen): Don't use BP_SYM.
14995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14996         <bp-sym.h> and <bp-asm.h>.
14997         (strncmp): Don't use BP_SYM.
14998         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14999         <bp-sym.h> and <bp-asm.h>.
15000         (__strnlen): Don't use BP_SYM.
15001         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15002         <bp-asm.h>.
15003         (__mpn_rshift): Don't use BP_SYM.
15004         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15005         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15006         <bp-sym.h> and <bp-asm.h>.
15007         (__sigsetjmp): Don't use BP_SYM.
15008         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15009         (L(start_addresses)): Don't use BP_SYM.
15010         (_start): Likewise.
15011         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15012         <bp-asm.h>.
15013         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15014         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15015         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15016         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15017         <bp-asm.h>.
15018         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15019         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15020         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15021         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15022         <bp-asm.h>.
15023         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15024         comments.
15025         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15026         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15027         <bp-asm.h>.
15028         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15029         FIXME comments.
15030         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15031         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15032         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15033         <bp-asm.h>.
15034         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15035         comment.
15036         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15037         and <bp-asm.h>.
15038         (strncmp): Don't use BP_SYM,
15039         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15040         <bp-asm.h>.
15041         (__mpn_sub_n): Don't use BP_SYM.
15042         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15043         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15044         and <bp-asm.h>.
15045         (__mpn_submul_1): Don't use BP_SYM.
15046         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15048         <bp-sym.h> and <bp-asm.h>.
15049         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15051         <bp-sym.h> and <bp-asm.h>.
15052         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15053         comment.
15055 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15058         Use ZK to minimize writes to Z.
15059         (sub_magnitudes): Simplify code a bit.
15060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15061         Use ZK to minimize writes to Z.
15062         (sub_magnitudes): Simplify code a bit.
15064 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15066         * csu/gmon-start.c: Add special exception to license text.
15068 2013-02-27  Richard Henderson  <rth@redhat.com>
15070         * scripts/config.guess: Update from config.git.
15071         * scripts/config.sub: Likewise.
15073 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15075         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15077         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15079         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15081         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15083         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15085 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15087         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15088         [$(build-shared = yes].
15090 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15092         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15093         (__mul): Reduce iterations for calculating mantissa.
15095         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15096         MPTWO.
15097         (__mpranred): Likewise.
15099         [BZ #15160]
15100         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15101         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15103 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15105         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15106         Define __attribute__.
15108 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15110         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15111         unused.
15112         * posix/regex_internal.h (__attribute): Remove.
15113         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15114         (re_string_context_at): Likewise.
15115         (bitset_not): Use __attribute__ and mark function as possibly
15116         unused.
15117         (bitset_merge): Likewise.
15118         (bitset_mask): Likewise.
15119         (re_string_char_size_at): Likewise.
15120         (re_string_wchar_at): Likewise.
15121         (re_string_elem_size_at): Likewise.
15123 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15125         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15126         code.
15127         (cc32): Likewise.
15129         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15130         (__acr): Likewise.
15131         (__cpy): Likewise.
15132         (norm): Likewise.
15133         (denorm): Likewise.
15134         (__dbl_mp): Likewise.
15135         (add_magnitudes): Likewise.
15136         (sub_magnitudes): Likewise.
15137         (__mul): Likewise.
15138         (__inv): Likewise.
15140         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15141         style.
15143         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15144         style.
15146         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15147         code.
15149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15150         up changes with default code.
15151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15152         Likewise.
15154 2013-02-24  Allan McRae  <allan@archlinux.org>
15156         * manual/socket.texi (The Internet Namespace): Order menu items
15157         to match that in the file.
15159         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15160         node listing of the info page menu.
15162 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15164         [BZ #13550]
15165         * sysdeps/i386/bp-asm.h: Remove file.
15166         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15167         (PARMS): Do not use macros from bp-asm.h.
15168         (S1): Likewise.
15169         (S2): Likewise.
15170         (SIZE): Likewise.
15171         (__mpn_add_n): Do not use BP_SYM
15172         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15173         "bp-asm.h".
15174         (PARMS): Do not use macros from bp-asm.h.
15175         (S1): Likewise.
15176         (SIZE): Likewise.
15177         (__mpn_addmul_1): Do not use BP_SYM
15178         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15179         "bp-asm.h".
15180         (PARMS): Do not use macros from bp-asm.h.
15181         (SIGMSK): Likewise.
15182         (_setjmp): Likewise.  Do not use BP_SYM.
15183         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15184         "bp-asm.h".
15185         (PARMS): Do not use macros from bp-asm.h.
15186         (SIGMSK): Likewise.
15187         (setjmp): Likewise.  Do not use BP_SYM.
15188         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15189         "bp-asm.h".
15190         (PARMS): Do not use macros from bp-asm.h.
15191         (__frexp): Do not use BP_SYM.
15192         (frexp): Likewise.
15193         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15194         "bp-asm.h".
15195         (PARMS): Do not use macros from bp-asm.h.
15196         (__frexpf): Do not use BP_SYM.
15197         (frexpf): Likewise.
15198         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15199         "bp-asm.h".
15200         (PARMS): Do not use macros from bp-asm.h.
15201         (__frexpl): Do not use BP_SYM.
15202         (frexpl): Likewise.
15203         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15204         "bp-asm.h".
15205         (PARMS): Do not use macros from bp-asm.h.
15206         (__remquo): Do not use BP_SYM.
15207         (remquo): Likewise.
15208         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15209         "bp-asm.h".
15210         (PARMS): Do not use macros from bp-asm.h.
15211         (__remquof): Do not use BP_SYM.
15212         (remquof): Likewise.
15213         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15214         "bp-asm.h".
15215         (PARMS): Do not use macros from bp-asm.h.
15216         (__remquol): Do not use BP_SYM.
15217         (remquol): Likewise.
15218         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15219         "bp-asm.h".
15220         (PARMS): Do not use macros from bp-asm.h.
15221         (DEST): Likewise.
15222         (SRC): Likewise.
15223         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15224         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15225         "bp-asm.h".
15226         (PARMS): Do not use macros from bp-asm.h.
15227         (strlen): Do not use BP_SYM.
15228         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15229         "bp-asm.h".
15230         (PARMS): Do not use macros from bp-asm.h.
15231         (S1): Likewise.
15232         (S2): Likewise.
15233         (SIZE): Likewise.
15234         (__mpn_add_n): Do not use BP_SYM.
15235         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15236         "bp-asm.h".
15237         (PARMS): Do not use macros from bp-asm.h.
15238         (S1): Likewise.
15239         (SIZE): Likewise.
15240         (__mpn_addmul_1): Do not use BP_SYM.
15241         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15242         weak_alias.
15243         (bzero): Likewise.
15244         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15245         "bp-asm.h".
15246         (PARMS): Do not use macros from bp-asm.h.
15247         (S): Likewise.
15248         (SIZE): Likewise.
15249         (__mpn_lshift): Do not use BP_SYM.
15250         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15251         "bp-asm.h".
15252         (PARMS): Do not use macros from bp-asm.h.
15253         (DEST): Likewise.
15254         (SRC): Likewise.
15255         (LEN): Likewise.
15256         (memcpy): Likewise.  Do not use BP_SYM.
15257         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15258         libc_hidden_def and weak_alias.
15259         (mempcpy): Do not use BP_SYM in weak_alias.
15260         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15261         "bp-asm.h".
15262         (PARMS): Do not use macros from bp-asm.h.
15263         (DEST): Likewise.
15264         (LEN): Likewise.
15265         [!BZERO_P] (CHR): Likewise.
15266         (memset): Likewise.  Do not use BP_SYM.
15267         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15268         "bp-asm.h".
15269         (PARMS): Do not use macros from bp-asm.h.
15270         (S1): Likewise.
15271         (SIZE): Likewise.
15272         (__mpn_mul_1): Do not use BP_SYM.
15273         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15274         "bp-asm.h".
15275         (PARMS): Do not use macros from bp-asm.h.
15276         (S): Likewise.
15277         (SIZE): Likewise.
15278         (__mpn_rshift): Do not use BP_SYM.
15279         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15280         "bp-asm.h".
15281         (PARMS): Do not use macros from bp-asm.h.
15282         (STR): Likewise.
15283         (CHR): Likewise.
15284         (strchr): Likewise.  Do not use BP_SYM.
15285         (index): Do not use BP_SYM in weak_alias.
15286         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15287         "bp-asm.h".
15288         (PARMS): Do not use macros from bp-asm.h.
15289         (DEST): Likewise.
15290         (SRC): Likewise.
15291         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15292         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15293         "bp-asm.h".
15294         (PARMS): Do not use macros from bp-asm.h.
15295         (strlen): Do not use BP_SYM.
15296         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15297         "bp-asm.h".
15298         (PARMS): Do not use macros from bp-asm.h.
15299         (S1): Likewise.
15300         (S2): Likewise.
15301         (SIZE): Likewise.
15302         (__mpn_sub_n): Do not use BP_SYM.
15303         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15304         "bp-asm.h".
15305         (PARMS): Do not use macros from bp-asm.h.
15306         (S1): Likewise.
15307         (SIZE): Likewise.
15308         (__mpn_submul_1): Do not use BP_SYM.
15309         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15310         "bp-asm.h".
15311         (PARMS): Do not use macros from bp-asm.h.
15312         (S1): Likewise.
15313         (S2): Likewise.
15314         (SIZE): Likewise.
15315         (__mpn_add_n): Do not use BP_SYM.
15316         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15317         weak_alias.
15318         (bzero): Likewise.
15319         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15320         "bp-asm.h".
15321         (PARMS): Do not use macros from bp-asm.h.
15322         (BLK2): Likewise.
15323         (LEN): Likewise.
15324         (memcmp): Do not use BP_SYM.
15325         (bcmp): Do not use BP_SYM in weak_alias.
15326         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15327         "bp-asm.h".
15328         (PARMS): Do not use macros from bp-asm.h.
15329         (DEST): Likewise.
15330         (SRC): Likewise.
15331         (LEN): Likewise.
15332         (memcpy): Likewise.  Do not use BP_SYM.
15333         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15334         "bp-asm.h".
15335         (PARMS): Do not use macros from bp-asm.h.
15336         (DEST): Likewise.
15337         (SRC): Likewise.
15338         (LEN): Likewise.
15339         (memmove): Likewise.  Do not use BP_SYM.
15340         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15341         "bp-asm.h".
15342         (PARMS): Do not use macros from bp-asm.h.
15343         (DEST): Likewise.
15344         (SRC): Likewise.
15345         (LEN): Likewise.
15346         (__mempcpy): Likewise.  Do not use BP_SYM.
15347         (mempcpy): Do not use BP_SYM in weak_alias.
15348         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15349         "bp-asm.h".
15350         (PARMS): Do not use macros from bp-asm.h.
15351         (DEST): Likewise.
15352         (LEN): Likewise.
15353         [!BZERO_P] (CHR): Likewise.
15354         (memset): Likewise.  Do not use BP_SYM.
15355         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15356         "bp-asm.h".
15357         (PARMS): Do not use macros from bp-asm.h.
15358         (STR2): Likewise.
15359         (strcmp): Do not use BP_SYM.
15360         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15361         "bp-asm.h".
15362         (PARMS): Do not use macros from bp-asm.h.
15363         (STR): Likewise.
15364         (DELIM): Likewise.
15365         [USE_AS_STRTOK_R] (SAVE): Likewise.
15366         (FUNCTION): Likewise.  Do not use BP_SYM.
15367         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15368         aliases.
15369         (strtok_r): Likewise.
15370         (__GI___strtok_r): Likewise.
15371         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15372         (PARMS): Do not use macros from bp-asm.h.
15373         (S): Likewise.
15374         (SIZE): Likewise.
15375         (__mpn_lshift): Do not use BP_SYM.
15376         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15377         (PARMS): Do not use macros from bp-asm.h.
15378         (STR): Likewise.
15379         (CHR): Likewise.
15380         (__memchr): Do not use BP_SYM.
15381         (memchr): Do not use BP_SYM in weak_alias.
15382         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15383         (PARMS): Do not use macros from bp-asm.h.
15384         (BLK2): Likewise.
15385         (LEN): Likewise.
15386         (memcmp): Do not use BP_SYM.
15387         (bcmp): Do not use BP_SYM in weak_alias.
15388         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15389         (PARMS): Do not use macros from bp-asm.h.
15390         (S1): Likewise.
15391         (SIZE): Likewise.
15392         (__mpn_mul_1): Do not use BP_SYM.
15393         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15394         "bp-asm.h".
15395         (PARMS): Do not use macros from bp-asm.h.
15396         (STR): Likewise.
15397         (CHR): Likewise.
15398         (__rawmemchr): Do not use BP_SYM.
15399         (rawmemchr): Do not use BP_SYM in weak_alias.
15400         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15401         (PARMS): Do not use macros from bp-asm.h.
15402         (S): Likewise.
15403         (SIZE): Likewise.
15404         (__mpn_rshift): Do not use BP_SYM.
15405         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15406         (PARMS): Do not use macros from bp-asm.h.
15407         (SIGMSK): Likewise.
15408         (__sigsetjmp): Likewise.  Do not use BP_SYM.
15409         * sysdeps/i386/start.S: Do not include "bp-sym.h".
15410         (_start): Do not use BP_SYM.
15411         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15412         (PARMS): Do not use macros from bp-asm.h.
15413         (DEST): Likewise.
15414         (SRC): Likewise.
15415         (__stpcpy): Likewise.  Do not use BP_SYM.
15416         (stpcpy): Do not use BP_SYM in weak_alias.
15417         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15418         "bp-asm.h".
15419         (PARMS): Do not use macros from bp-asm.h.
15420         (DEST): Likewise.
15421         (SRC): Likewise.
15422         (LEN): Likewise.
15423         (__stpncpy): Likewise.  Do not use BP_SYM.
15424         (stpncpy): Do not use BP_SYM in weak_alias.
15425         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15426         (PARMS): Do not use macros from bp-asm.h.
15427         (STR): Likewise.
15428         (CHR): Likewise.
15429         (strchr): Likewise.  Do not use BP_SYM.
15430         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15431         "bp-asm.h".
15432         (PARMS): Do not use macros from bp-asm.h.
15433         (STR): Likewise.
15434         (CHR): Likewise.
15435         (__strchrnul): Likewise.  Do not use BP_SYM.
15436         (strchrnul): Do not use BP_SYM in weak_alias.
15437         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15438         "bp-asm.h".
15439         (PARMS): Do not use macros from bp-asm.h.
15440         (STOP): Likewise.
15441         (strcspn): Do not use BP_SYM.
15442         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
15443         "bp-asm.h".
15444         (PARMS): Do not use macros from bp-asm.h.
15445         (STR): Likewise.
15446         (STOP): Likewise.
15447         (strpbrk): Likewise.  Do not use BP_SYM.
15448         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
15449         "bp-asm.h".
15450         (PARMS): Do not use macros from bp-asm.h.
15451         (STR): Likewise.
15452         (CHR): Likewise.
15453         (strrchr): Likewise.  Do not use BP_SYM.
15454         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
15455         (PARMS): Do not use macros from bp-asm.h.
15456         (SKIP): Likewise.
15457         (strspn): Do not use BP_SYM.
15458         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
15459         (PARMS): Do not use macros from bp-asm.h.
15460         (STR): Likewise.
15461         (DELIM): Likewise.
15462         (SAVE): Likewise.
15463         (FUNCTION): Likewise.  Do not use BP_SYM.
15464         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
15465         aliases.
15466         (strtok_r): Likewise.
15467         (__GI___strtok_r): Likewise.
15468         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15469         (PARMS): Do not use macros from bp-asm.h.
15470         (S1): Likewise.
15471         (S2): Likewise.
15472         (SIZE): Likewise.
15473         (__mpn_sub_n): Do not use BP_SYM.
15474         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
15475         "bp-asm.h".
15476         (PARMS): Do not use macros from bp-asm.h.
15477         (S1): Likewise.
15478         (SIZE): Likewise.
15479         (__mpn_submul_1): Do not use BP_SYM.
15480         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
15481         <bp-sym.h>.
15482         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
15483         and <bp-asm.h>.
15484         (PARMS): Do not use macros from bp-asm.h.
15485         (FLAGS): Likewise.
15486         (PTID): Likewise.
15487         (TLS): Likewise.
15488         (CTID): Likewise.
15489         (__clone): Do not use BP_SYM.
15490         (clone): Do not use BP_SYM in weak_alias.
15491         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
15492         and <bp-asm.h>.
15493         (PARMS): Do not use macros from bp-asm.h.
15494         (LEN): Likewise.
15495         (__mmap64): Do not use BP_SYM.
15496         (mmap64): Do not use BP_SYM in weak_alias.
15497         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15498         <bp-sym.h> and <bp-asm.h>.
15499         (PARMS): Do not use macros from bp-asm.h.
15500         (__posix_fadvise64_l64): Do not use BP_SYM.
15501         * sysdeps/unix/sysv/linux/i386/semtimedop.S
15502         (PARMS): Do not use macros from bp-asm.h.
15503         (NSOPS): Likewise.
15504         (semtimedop): Do not use BP_SYM.
15505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
15506         and <bp-asm.h>.
15508 2013-02-21  Allan McRae  <allan@archlinux.org>
15510         * manual/message.texi (Charset conversion in gettext):
15511         Move @end statement to beginning of line.
15513 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
15516         static.
15517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15518         Likewise.
15520         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
15521         (denorm): Likewise.
15522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
15523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
15525 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15527         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
15528         tail-call to the resolved function if pltexit isn't needed.
15530 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
15533         or Y being zero as being unlikely.
15534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15535         Likewise.
15537 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
15539         * manual/nss.texi (System Databases and Name Service Switch):
15540         Remove frobnicate @pxref.
15542 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15544         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15545         __attribute__ ((unused)) to __attribute__ ((__unused__)).
15547 2013-02-20  Petr Machata  <pmachata@redhat.com>
15549         * elf/elf.h (R_ARM_TARGET1): New macro.
15550         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15551         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
15552         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
15553         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
15554         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
15555         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
15556         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
15557         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
15558         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
15559         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
15560         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15561         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
15562         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
15563         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
15564         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
15565         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
15566         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
15567         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
15568         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
15569         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
15570         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
15571         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
15572         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
15573         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
15574         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
15575         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
15576         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
15577         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
15578         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
15579         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
15580         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
15581         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
15582         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
15583         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
15584         (R_ARM_THM_GOT_BREL12): Likewise.
15585         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
15586         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
15587         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
15588         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
15589         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
15590         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
15591         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
15592         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
15593         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
15595 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15597         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15598         __attribute_used__ to __attribute__ ((unused)).
15600 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15602         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
15603         powerpc mpa.c.
15604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
15605         comment formatting.
15606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
15608 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
15610         [BZ #13550]
15611         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
15612         Remove macro.
15613         (ENTER): Remove both macro definitions.
15614         (LEAVE): Likewise.
15615         (CHECK_BOUNDS_LOW): Likewise.
15616         (CHECK_BOUNDS_HIGH): Likewise.
15617         (CHECK_BOUNDS_BOTH): Likewise.
15618         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
15619         (RETURN_BOUNDED_POINTER): Likewise.
15620         (RETURN_NULL_BOUNDED_POINTER): Likewise.
15621         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
15622         (POP_ERRNO_LOCATION_RETURN): Likewise.
15623         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
15624         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15625         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
15626         macros.
15627         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15628         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
15629         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
15630         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
15631         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
15632         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
15633         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
15634         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
15635         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
15636         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
15637         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
15638         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
15639         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15640         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
15641         removed macros.
15642         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15643         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
15644         macros.
15645         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15646         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
15647         * sysdeps/i386/i586/memset.S (memset): Likewise.
15648         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
15649         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15650         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
15651         macros.
15652         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15653         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
15654         Change uses of L(2) to L(out).
15655         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
15656         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
15657         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
15658         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15659         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
15660         removed macros.
15661         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15662         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
15663         macros.
15664         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15665         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
15666         (RETURN): Do not use macro LEAVE.
15667         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
15668         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
15669         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
15670         * sysdeps/i386/i686/memset.S (memset): Likewise.
15671         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
15672         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15673         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15674         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15675         Likewise.
15676         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15677         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
15678         L(1_2) and L(1_3) into L(1).
15679         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15680         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15681         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15682         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15683         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15684         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15685         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15686         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15687         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15688         macros.
15689         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15690         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15691         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15692         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15693         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15694         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15695         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15696         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15697         * sysdeps/i386/strcspn.S (strcspn): Likewise.
15698         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15699         * sysdeps/i386/strrchr.S (strrchr): Likewise.
15700         * sysdeps/i386/strspn.S (strspn): Likewise.
15701         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15702         conditional code.
15703         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15704         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15705         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15706         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
15707         L(1_3) into L(1_1).
15708         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15709         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15710         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15711         macros.
15712         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15714 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
15716         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15717         macro.
15719 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15721         * math/atest-exp.c (exp_mpn): Remove ROUND.
15722         * math/atest-exp2.c (exp_mpn): Likewise.
15723         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15725         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15726         * stdlib/tst-tls-atexit-lib.c: Likewise.
15727         * stdlib/tst-tls-atexit.c: Likewise.
15729 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15731         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15732         and __attribute_alloc_size__.
15734 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15736         * include/programs/xmalloc.h: Change __attribute_alloc_size to
15737         __attribute_alloc_size__.
15738         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15739         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15741 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15743         * include/programs/xmalloc.h: New file.
15744         * catgets/gencat.c: Include it.
15745         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15746         * elf/pldd.c: Likewise.
15747         * iconv/iconv_charmap.c: Likewise.
15748         * iconv/iconvconfig.c: Likewise.
15749         * iconv/strtab.c: Likewise.
15750         * locale/programs/locale.c: Likewise.
15751         * locale/programs/localedef.h: Likewise.
15752         * locale/programs/simple-hash.c: Likewise.
15753         * nscd/nscd.h: Likewise.
15754         * nss/makedb.c: Likewise.
15755         * sysdeps/generic/ldconfig.h: Likewise.
15757 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15759         * Versions.def: Add GLIBC_2.18.
15760         * include/link.h (struct link_map): New member l_tls_dtor_count.
15761         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15762         (__call_tls_dtors): Likewise.
15763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15764         __cxa_thread_atexit_impl.
15765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15766         Likewise.
15767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15768         Likewise.
15769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15770         Likewise.
15771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15772         Likewise.
15773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15775         Likewise.
15776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15777         Likewise.
15778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15780         Likewise.
15781         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15782         (tests): Add test case tst-tls-atexit.
15783         (modules-names): Add shared library for tst-tls-atexit.
15784         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15785         (GLIBC_PRIVATE): Add __call_tls_dtors.
15786         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15787         for libstdc++.
15788         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15789         * stdlib/tst-tls-atexit.c: New test case.
15790         * stdlib/tst-tls-atexit-lib.c: New test case.
15792         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15794         * elf/Versions (ld): Add _dl_find_dso_for_object.
15795         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15796         * elf/dl-open.c (_dl_find_dso_for_object): New function.
15797         (dl_open_worker): Use _dl_find_dso_for_object.
15798         * elf/dl-sym.c (do_sym): Likewise.
15799         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15801 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15803         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15804         Syntactic changes only.
15805         (_dl_runtime_profile): Do a tail-call to the resolved function.
15807 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
15809         [BZ #13550]
15810         * sysdeps/x86_64/bp-asm.h: Remove file.
15811         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15812         <bp-sym.h> and <bp-asm.h>.
15813         (__clone): Do not use BP_SYM.
15814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15815         <bp-sym.h> and <bp-asm.h>.
15816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15817         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15818         "bp-asm.h".
15819         (_setjmp): Do not use BP_SYM.
15820         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15821         "bp-asm.h".
15822         (setjmp): Do not use BP_SYM.
15823         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15824         libc_hidden_def.
15825         (mempcpy): Do not use BP_SYM in weak_alias.
15826         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15827         "bp-asm.h".
15828         (strchr): Do not use BP_SYM.
15829         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15830         "bp-asm.h".
15831         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15832         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15833         (_start): Do not use BP_SYM.
15834         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15835         "bp-asm.h".
15836         (strcat): Do not use BP_SYM.
15837         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15838         "bp-asm.h".
15839         (STRCMP): Do not use BP_SYM.
15840         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15841         "bp-asm.h".
15842         (STRCPY): Do not use BP_SYM.
15843         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15844         "bp-asm.h".
15845         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15846         "bp-asm.h".
15847         (FUNCTION): Do not use BP_SYM.
15848         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15849         weak_alias.
15850         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15852 2013-02-17  Andreas Jaeger  <aj@suse.de>
15854         * time/Versions: Sort entries.
15855         * string/Versions: Likewise.
15856         * resolv/Versions: Likewise.
15857         * posix/Versions: Likewise.
15858         * iconv/Versions: Likewise.
15859         * elf/Versions: Likewise.
15860         * wcsmbs/Versions: Likewise.
15862 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15865         loop termination condition.
15867         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15868         variable to calculate EZ.
15869         (__sqr): Likewise.
15871         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15872         the lower precision input.
15874 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #13550]
15877         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15878         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15879         (run-via-rtld-prefix): Do not handle %-bp tests.
15880         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15881         (all-object-suffixes): Remove .ob.
15882         (bppfx): Remove variable.
15883         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15884         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15885         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15886         [$(build-bounded) = yes] (libtype.ob): Likewise.
15887         * Makerules (elide-routines.ob): Remove variable.
15888         (do-tests-clean): Do not handle *-bp.out.
15889         (common-mostlyclean): Do not handle *-bp and *-bp.out.
15890         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15891         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15892         (tests): Do not include $(tests-bp.out).
15893         (xtests): Do not include $(xtests-bp.out).
15894         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15895         [$(build-bounded) = yes] ($(addprefix
15896         $(objpfx),$(binaries-bounded))): Remove rule.
15897         ($(objpfx)%-bp.out): Remove rule.
15898         * config.make.in (build-bounded): Remove variable.
15899         * crypt/Makefile [$(build-bounded) = yes]
15900         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15901         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15902         append to variable.
15903         [$(build-bounded) = yes] (install-lib): Likewise.
15904         [$(build-bounded) = yes] (generated): Likewise.
15905         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15906         Remove rule.
15907         * intl/Makefile [$(build-bounded) = yes]
15908         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15909         * math/Makefile [$(build-bounded) = yes]
15910         ($(tests:%=$(objpfx)%-bp): Likewise.
15911         * misc/Makefile [$(build-bounded) = yes]
15912         ($(objpfx)tst-tsearch-bp): Likewise.
15913         * nptl/Makeconfig (bounded-thread-library): Remove variable.
15914         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15915         Remove dependency.
15916         * string/Makefile (o-objects.ob): Remove variable.
15917         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15918         (CFLAGS-.ob): Remove variable.
15919         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15920         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15921         both definitions of variable.
15922         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15923         (ASFLAGS-.ob): Remove variable.
15925 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
15927         [BZ #13550]
15928         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15929         Remove __BOUNDED_POINTERS__ from condition.
15930         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15931         * string/bits/string2.h [!__NO_STRING_INLINES &&
15932         !__BOUNDED_POINTERS__]: Likewise.
15933         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15934         Likewise.
15935         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15936         Remove conditional code.
15937         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15938         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15939         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15940         condition.
15942         [BZ #13550]
15943         * csu/libc-start.c: Do not include <bp-sym.h>.
15944         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15945         * elf/dl-open.c: Do not include <bp-sym.h>.
15946         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15947         * math/fegetenv.c: Do not include <bp-sym.h>.
15948         (fegetenv): Do not use BP_SYM in versioned symbols.
15949         * nptl/sysdeps/pthread/bits/libc-lockP.h
15950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15951         <bp-sym.h>.
15952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15953         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15955         (__pthread_mutex_destroy): Likewise.
15956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15957         (__pthread_mutex_lock): Likewise.
15958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15959         (__pthread_mutex_trylock): Likewise.
15960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15961         (__pthread_mutex_unlock): Likewise.
15962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15963         (__pthread_mutexattr_init): Likewise.
15964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15965         (__pthread_mutexattr_destroy): Likewise.
15966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15967         (__pthread_mutexattr_settype): Likewise.
15968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15969         (__pthread_rwlock_init): Likewise.
15970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15971         (__pthread_rwlock_destroy): Likewise.
15972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15973         (__pthread_rwlock_rdlock): Likewise.
15974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15975         (__pthread_rwlock_tryrdlock): Likewise.
15976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15977         (__pthread_rwlock_wrlock): Likewise.
15978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15979         (__pthread_rwlock_trywrlock): Likewise.
15980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15981         (__pthread_rwlock_unlock): Likewise.
15982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15983         (__pthread_key_create): Likewise.
15984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15985         (__pthread_setspecific): Likewise.
15986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15987         (__pthread_getspecific): Likewise.
15988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15989         Likewise.
15990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15991         (_pthread_cleanup_push_defer): Likewise.
15992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15993         (_pthread_cleanup_pop_restore): Likewise.
15994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15995         (pthread_setcancelstate): Likewise.
15996         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15997         <bp-sym.h>.
15998         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15999         (memchr): Do not use BP_SYM in weak_alias.
16000         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16001         (fegetenv): Do not use BP_SYM in versioned symbols.
16002         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16003         (fesetenv): Do not use BP_SYM in versioned symbols.
16004         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16005         (feupdateenv): Do not use BP_SYM in versioned symbols.
16006         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16007         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16008         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16009         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16010         (open64): Do not use BP_SYM in weak_alias.
16011         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16012         (fegetenv): Do not use BP_SYM in versioned symbols.
16013         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16014         (fesetenv): Do not use BP_SYM in versioned symbols.
16015         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16016         (feupdateenv): Do not use BP_SYM in versioned symbols.
16017         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16018         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16019         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16020         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16021         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16022         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16023         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16024         <bp-sym.h>.
16025         (__libc_start_main): Do not use BP_SYM.
16027 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16030         redundant return line.
16031         (norm): Likewise.
16032         (denorm): Likewise.
16033         (dbl_mp): Likewise.
16034         (sub_magnitudes): Likewise.
16035         (__add): Likewise.
16036         (__sub): Likewise.
16037         (__mul): Likewise.
16038         (__inv): Likewise.
16039         (__dvd): Likewise.
16040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16041         (norm): Likewise.
16042         (denorm): Likewise.
16043         (dbl_mp): Likewise.
16044         (sub_magnitudes): Likewise.
16045         (__add): Likewise.
16046         (__sub): Likewise.
16047         (__mul): Likewise.
16048         (__inv): Likewise.
16049         (__dvd): Likewise.
16051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16052         instead of __mul.
16053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16054         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16055         (cc32): Likewise.
16057         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16058         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16059         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16060         of __mul for squares.
16061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16062         function
16063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16064         Likewise.
16065         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16066         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16068 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16070         [BZ #13550]
16071         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16072         code.
16073         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16074         prototype or function definition.  Rename ubp_* variables and
16075         parameters.  Remove argv definitions conditional on
16076         [__BOUNDED_POINTERS__].
16077         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16078         * elf/dl-runtime.c (_dl_fixup): Likewise.
16079         * include/set-hooks.h (RUN_HOOK): Likewise.
16080         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16081         definition.
16082         * string/strcpy.c (strcpy): Do not use __unbounded.
16083         * sysdeps/generic/frame.h (struct layout): Likewise.
16084         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16085         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16086         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16087         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16088         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16089         (__backtrace): Likewise.
16090         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16091         use __ptrvalue.
16092         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16093         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16094         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16095         Likewise.
16096         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16097         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16098         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16099         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16100         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16101         Do not use __unbounded.
16102         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16103         Rename __unboundedrlimits parameter to rlimits in prototype.
16104         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16105         Do not use __unbounded.
16106         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16107         not use __ptrvalue.
16108         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16109         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16110         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16112         __ptrvalue or __unbounded.
16113         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16114         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16115         use __unbounded.
16116         (__new_msgctl): Do not use __ptrvalue.
16117         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16118         __unbounded.
16119         (__libc_msgrcv): Do not use __ptrvalue.
16120         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16121         startup_info): Do not use __unbounded.
16122         (__libc_start_main): Likewise.  Rename ubp_* variables and
16123         parameters.  Remove argv definitions conditional on
16124         [__BOUNDED_POINTERS__].
16125         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16126         __ptrvalue.
16127         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16128         use __unbounded.
16129         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16130         or __ptrvalue.
16131         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16132         use __unbounded.
16133         (__new_shmctl): Do not use __ptrvalue.
16134         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16135         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16136         Likewise.
16137         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16138         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16139         (__libc_sigaction): Likewise.
16140         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16141         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16142         Likewise.
16143         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16145 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16147         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16149         * string/mempcpy.c: Implement by calling memcpy.
16151 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16156         evaluation.
16158         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16159         values in the mantissa.
16161         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16162         minimize writes to Z.
16163         (sub_magnitudes): Simplify code a bit.
16165 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16167         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16168         from the message.  The linker prefixes all warnings with that already.
16170 2013-02-12  Andreas Schwab  <schwab@suse.de>
16172         [BZ #15078]
16173         * posix/regexec.c (extend_buffers): Add parameter min_len.
16174         (check_matching): Pass minimum needed length.
16175         (clean_state_log_if_needed): Likewise.
16176         (get_subexp): Likewise.
16177         * posix/Makefile (tests): Add bug-regex34.
16178         (bug-regex34-ENV): Define.
16179         * posix/bug-regex34.c: New file.
16181         [BZ #11561]
16182         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16183         elements compare against the byte sequence of it, not its name.
16184         * posix/Makefile (tests): Add bug-regex35.
16185         (bug-regex35-ENV): Define.
16186         * posix/bug-regex35.c: New file.
16188 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16190         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16191         comment.
16192         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16193         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16194         (CHECK_EOL): Add undef.
16196 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16198         * bits/stdlib-bsearch.h: New file.
16199         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16200         * stdlib/stdlib.h: Likewise.
16202 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16204         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16205         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16206         declaration.
16207         * manual/search.texi (Array Search Function): Add missing const in
16208         lfind prototype.
16209         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16210         declaration to use rlim_t.
16211         (Basic Scheduling Functions): Remove erroneous const from
16212         sched_getparam prototype.  Remove erroneous * from
16213         sched_get_priority_max and sched_get_priority_min prototypes.
16214         (Resource Usage): Fix summary @comment on vtimes to refer to
16215         sys/vtimes.h rather than vtimes.h.
16216         Add missing *s in vtimes prototype.
16217         (Limits on Resources): Fix ulimit prototype to return long int.
16218         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16219         prototypes to use long int rather than double.
16220         (BSD Random): Fix initstate and setstate to use char *, not void *.
16221         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16222         prototype to make second argument 'struct aiocb64 *const[]'.
16223         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16224         (Status of AIO Operations): Remove erroneous const in aio_return and
16225         aio_return64 prototypes.
16226         (Synchronizing I/O): Fix sync prototype to return void.
16227         * manual/startup.texi (Suboptions): Remove an erroneous const in
16228         getsubopt prototype.
16229         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16230         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16231         use size_t rather than int.
16232         (Scanning All Users): Likewise for getpwent_r.
16233         (Setting Groups): Add missing const to setgroups prototype.
16234         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16235         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16236         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16237         'const void *' rather than 'const char *'.
16238         (Host Address Functions): Likewise for inet_ntop.
16239         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16240         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16241         ssize_t for return value.
16242         (Sending Data): Likewise for send, sendto, sendmsg.
16243         (Socket Option Functions): Add a missing const in setsockopt prototype.
16244         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16245         use wchar_t for the argument.
16246         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16247         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16248         take no arguments.
16249         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16250         double/float/long double for second argument.
16251         Fix return types of significand, significandf, significandl.
16252         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16253         argument in fchmod prototype.
16254         (File Owner): Use uid_t and gid_t in fchown prototype.
16255         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16256         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16257         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16258         use 'const struct dirent **' as argument types to CMP function pointer
16259         argument.
16260         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16261         (File Times): Fix summary magic @comment for struct utimbuf and utime
16262         to refer to utime.h, not time.h.
16263         * manual/string.texi (Argz Functions): Add missing const in
16264         argz_extract and argz_next prototypes.
16265         (Finding Tokens in a String): Likewise for basename.
16266         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16267         (Copying and Concatenation): Fix typo in wmemmove prototype.
16268         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16269         (Signal Stack): Remove erroneous const in sigstack prototype.
16270         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16271         prototype.
16272         (Simple Calendar Time): Likewise for stime.
16273         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16274         prototype.
16275         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16276         say sys/sysctl.h instead.
16277         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16278         and vsyslog prototypes.
16280 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16282         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16283         Remove.
16285 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16287         * misc/sys/mman.h: Fix typo in mremap comment.
16289 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16291         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16292         the '\0' terminator.
16294 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16296         [BZ #13550]
16297         * debug/segfault.c: Don't include <bp-checks.h>.
16298         * sysdeps/generic/bp-checks.h: Remove file.
16299         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16300         (__GETDENTS): Don't use CHECK_N.
16301         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16302         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16303         (__getgroups): Don't use CHECK_N.
16304         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16305         (setgroups): Don't use CHECK_N.
16306         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16307         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16308         (__libc_msgrcv): Don't use CHECK_N.
16309         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16310         (__libc_msgsnd): Don't use CHECK_N.
16311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16312         <bp-checks.h>.
16313         (__libc_pread): Don't use CHECK_N.
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16315         include <bp-checks.h>.
16316         (__libc_pread64): Don't use CHECK_N.
16317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16318         include <bp-checks.h>.
16319         (__libc_pwrite): Don't use CHECK_N.
16320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16321         include <bp-checks.h>.
16322         (__libc_pwrite64): Don't use CHECK_N.
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16324         <bp-checks.h>.
16325         (__libc_pread): Don't use CHECK_N.
16326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16327         include <bp-checks.h>.
16328         (__libc_pread64): Don't use CHECK_N.
16329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16330         include <bp-checks.h>.
16331         (__libc_pwrite): Don't use CHECK_N.
16332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16333         include <bp-checks.h>.
16334         (__libc_pwrite64): Don't use CHECK_N.
16335         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16336         (do_pread): Don't use CHECK_N.
16337         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16338         (do_pread64): Don't use CHECK_N.
16339         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16340         (do_pwrite): Don't use CHECK_N.
16341         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16342         (do_pwrite64): Don't use CHECK_N.
16343         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16344         (__libc_readv): Don't use CHECK_N.
16345         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16346         (semop): Don't use CHECK_N.
16347         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16348         <bp-checks.h>.
16349         (semtimedop): Don't use CHECK_N.
16350         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16351         (__libc_pread): Don't use CHECK_N.
16352         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16353         <bp-checks.h>.
16354         (__libc_pread64): Don't use CHECK_N.
16355         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16356         <bp-checks.h>.
16357         (__libc_pwrite): Don't use CHECK_N.
16358         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16359         <bp-checks.h>.
16360         (__libc_pwrite64): Don't use CHECK_N.
16361         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16362         <bp-checks.h>.
16363         (__libc_msgrcv): Don't use CHECK_N.
16364         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16365         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
16366         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16367         (__libc_writev): Don't use CHECK_N.
16369 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16371         * string/strcpy.c: Removed unused variable.
16373         * Makeconfig (+sysdep-includes): Define with := rather than =.
16374         Use an existing include/ subdir of each sysdeps dir before it.
16376 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16378         * nscd/connection.c (register_traced_file): Comment function.
16379         [HAVE_INOTIFY] (union __inev): Define.
16380         [HAVE_INOTIFY] (inotify_check_files): New function.
16381         [HAVE_INOTIFY] (clear_db_cache): Likewise.
16382         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16383         clear_db_cache.
16384         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16386 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16388         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16389         loaded if not already and that a failure is permanent.
16391 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16393         [BZ #15006]
16394         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16395         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16397 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #13550]
16400         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16401         (CHECK_1_NULL_OK): Likewise.
16402         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16403         (__fxstat): Do not use CHECK_1.
16404         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16405         <bp-checks.h>.
16406         (___fxstat64): Do not use CHECK_1.
16407         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16408         <bp-checks.h>.
16409         (__fxstatat): Do not use CHECK_1.
16410         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16411         <bp-checks.h>.
16412         (__fxstatat64): Do not use CHECK_1.
16413         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16414         <bp-checks.h>.
16415         (__fxstat): Do not use CHECK_1.
16416         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16417         <bp-checks.h>.
16418         (__fxstatat): Do not use CHECK_1.
16419         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16420         <bp-checks.h>.
16421         (__getresgid): Do not use CHECK_1.
16422         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16423         <bp-checks.h>.
16424         (__getresuid): Do not use CHECK_1.
16425         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16426         <bp-checks.h>.
16427         (__lxstat): Do not use CHECK_1.
16428         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16429         <bp-checks.h>.
16430         (__old_msgctl): Do not use CHECK_1.
16431         (__new_msgctl): Likewise.
16432         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16433         <bp-checks.h>.
16434         (__new_setrlimit): Do not use CHECK_1.
16435         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16436         <bp-checks.h>.
16437         (__old_shmctl): Do not use CHECK_1.
16438         (__new_shmctl): Likewise.
16439         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16440         <bp-checks.h>.
16441         (__xstat): Do not use CHECK_1.
16442         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
16443         (__lxstat): Do not use CHECK_1.
16444         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
16445         <bp-checks.h>.
16446         (___lxstat64): Do not use CHECK_1.
16447         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
16448         (__old_msgctl): Do not use CHECK_1.
16449         (__new_msgctl): Likewise.
16450         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
16451         <bp-checks.h>.
16452         (__gettimeofday): Do not use CHECK_1.
16453         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
16454         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
16455         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
16456         <bp-checks.h>.
16457         (__gettimeofday): Do not use CHECK_1.
16458         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
16459         (__old_shmctl): Do not use CHECK_1_NULL_OK.
16460         (__new_shmctl): Do not use CHECK_1.
16461         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
16462         <bp-checks.h>.
16463         (do_sigtimedwait): Do not use CHECK_1.
16464         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
16465         <bp-checks.h>.
16466         (do_sigwaitinfo): Do not use CHECK_1.
16467         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
16468         <bp-checks.h>.
16469         (msgctl): Do not use CHECK_1.
16470         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
16471         <bp-checks.h>.
16472         (shmctl): Do not use CHECK_1.
16473         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
16474         (ustat): Do not use CHECK_1.
16475         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
16476         <bp-checks.h>.
16477         (__fxstat): Do not use CHECK_1.
16478         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16479         <bp-checks.h>.
16480         (__fxstatat): Do not use CHECK_1.
16481         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
16482         <bp-checks.h>.
16483         (__lxstat): Do not use CHECK_1.
16484         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
16485         <bp-checks.h>.
16486         (__xstat): Do not use CHECK_1.
16487         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
16488         (__xstat): Do not use CHECK_1.
16489         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
16490         (___xstat64): Do not use CHECK_1.
16492         [BZ #13550]
16493         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
16494         definitions.
16495         (CHECK_BOUNDS_HIGH): Likewise.
16496         * string/strcpy.c: Do not include <bp-checks.h>.
16497         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
16499 2013-02-07  Roland McGrath  <roland@hack.frob.com>
16501         * nscd/nscd-client.h (__nscd_drop_map_ref):
16502         Add __attribute__ ((unused)).
16503         * nis/nss-nisplus.h (niserr2nss): Likewise.
16505         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
16506         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
16508         * csu/libc-tls.c (init_static_tls, init_slotinfo):
16509         Remove inline keyword.
16510         * include/rounding-mode.h (round_away): Likewise.
16511         * libio/wfileops.c (adjust_wide_data): Likewise.
16512         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
16513         (__m128i_strloadu_tolower): Likewise.
16514         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
16515         (__m128i_strloadu_tolower): Likewise.
16516         * time/mktime.c (ydhms_diff): Likewise.
16517         * locale/elem-hash.h (elem_hash): Likewise.
16518         * locale/setlocale.c (setdata): Likewise.
16519         * posix/regex_internal.h (re_string_char_size_at): Likewise.
16520         (re_string_wchar_at): Likewise.
16521         (bitset_not, bitset_merge, bitset_mask): Likewise.
16522         [!(__GNUC__ > 3)] (inline): Remove macro.
16523         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
16524         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
16525         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16526         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
16527         * string/memcmp.c (memcmp_bytes): Likewise.
16528         * locale/programs/locarchive.c (compute_hashval): Likewise.
16529         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
16530         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16531         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
16532         * nss/getent.c (print_rpc, print_protocols): Likewise.
16533         (print_passwd, print_group, print_aliases): Likewise.
16534         * nis/nss-nisplus.h (niserr2nss): Likewise.
16535         * nscd/connections.c (restart_p): Likewise.
16536         Change return type to bool.
16538 2013-02-05  Roland McGrath  <roland@hack.frob.com>
16540         * Makeconfig (all-Depend-files): Add existing
16541         $(sorted-subdirs:=/Depend) files.
16542         (all-subdirs): Remove nss.
16543         * sysdeps/unix/inet/Subdirs: Add it here instead.
16544         * hesiod/Depend: New file.
16546         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
16547         instead of calling alloca.
16549         * io/lseek.c (__lseek): Rename to __libc_lseek.
16550         Define __lseek as an alias.
16552         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
16554 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
16556         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
16557         else clause and remove check for non-standard endianness.
16559 2013-02-04  David S. Miller  <davem@davemloft.net>
16561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16563 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
16565         [BZ #13550]
16566         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
16567         (__ubp_memchr): Remove prototype.
16568         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
16569         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16570         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
16571         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16572         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
16573         Remove alias.
16574         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
16575         (__ubp_memchr): Likewise.
16576         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
16577         (__ubp_memchr): Likewise.
16578         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
16579         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
16580         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
16581         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
16582         CHECK_STRING.
16583         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16584         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
16585         (__getcwd): Do not use CHECK_STRING.
16586         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16587         <bp-checks.h>.
16588         (__real_chown): Do not use CHECK_STRING.
16589         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
16590         <bp-checks.h>.
16591         (fchownat): Do not use CHECK_STRING.
16592         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
16593         CHECK_STRING.
16594         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16595         <bp-checks.h>.
16596         (__lchown): Do not use CHECK_STRING.
16597         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16598         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16599         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16600         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16602         include <bp-checks.h>.
16603         (truncate64): Do not use CHECK_STRING.
16604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16605         <bp-checks.h>.
16606         (__real_chown): Do not use CHECK_STRING.
16607         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16608         <bp-checks.h>.
16609         (__lchown): Do not use CHECK_STRING.
16610         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16611         <bp-checks.h>.
16612         (__chown): Do not use CHECK_STRING.
16613         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
16614         <bp-checks.h>.
16615         (truncate64): Do not use CHECK_STRING.
16616         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
16617         Likewise.
16618         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
16619         (__xmknod): Do not use CHECK_STRING.
16620         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16621         <bp-checks.h>.
16622         (__xmknodat): Do not use CHECK_STRING.
16623         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16624         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16626 2013-02-04  Andreas Schwab  <schwab@suse.de>
16628         [BZ #14142]
16629         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
16630         * include/netdb.h: Likewise for h_errno.
16631         * elf/tst-stackguard1.c: Include <tls.h>.
16633 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16635         * elf/link.h (struct link_map): Extend the l_addr comment.
16636         * include/link.h (struct link_map): Likewise.
16638 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
16640         [BZ #13550]
16641         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
16642         (BOUNDED_1): Remove macro.
16643         * debug/backtrace.c: Don't include <bp-checks.h>.
16644         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
16645         (__backtrace): Likewise.
16646         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
16647         <bp-checks.h>.
16648         (__backtrace): Don't use BOUNDED_1.
16649         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
16650         <bp-checks.h>.
16651         (__backtrace): Don't use BOUNDED_1.
16652         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16653         (__backtrace): Don't use BOUNDED_1.
16654         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
16655         (shmat): Don't use BOUNDED_N.
16657 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
16659         [BZ #13550]
16660         * sysdeps/generic/bp-start.h: Remove file.
16661         * csu/libc-start.c: Don't include <bp-start.h>.
16662         (LIBC_START_MAIN): Set up __environ directly instead of using
16663         INIT_ARGV_and_ENVIRON.
16664         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
16665         <bp-start.h>.
16667         [BZ #13550]
16668         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
16669         definitions.
16670         (CHECK_FCNTL): Likewise.
16671         (CHECK_N_PAGES): Likewise.
16673         [BZ #13550]
16674         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16675         definitions.
16676         (CHECK_SIGSET_NULL_OK): Likewise.
16677         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16678         <bp-checks.h>.
16679         (sigpending): Don't use CHECK_SIGSET.
16680         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16681         <bp-checks.h>.
16682         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16683         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16684         <bp-checks.h>.
16685         (do_sigsuspend): Don't use CHECK_SIGSET.
16686         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16687         use CHECK_SIGSET.
16688         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16689         (do_sigwait): Don't use CHECK_SIGSET.
16690         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16691         use CHECK_SIGSET.
16692         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16693         include <bp-checks.h>.
16694         (sigpending): Don't use CHECK_SIGSET.
16695         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16696         include <bp-checks.h>.
16697         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16698         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16699         <bp-checks.h>.
16700         (sigpending): Don't use CHECK_SIGSET.
16701         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16702         <bp-checks.h>.
16703         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16705         [BZ #13550]
16706         * sysdeps/generic/bp-semctl.h: Remove file.
16707         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16708         <bp-checks.h> and <bp-semctl.h>.
16709         (__old_semctl): Don't use CHECK_SEMCTL.
16710         (__new_semctl): Likewise.
16711         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16712         and <bp-semctl.h>.
16713         (__old_semctl): Don't use CHECK_SEMCTL.
16714         (__new_semctl): Likewise.
16715         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16716         <bp-checks.h> and <bp-semctl.h>.
16717         (__old_semctl): Don't use CHECK_SEMCTL.
16718         (__new_semctl): Likewise.
16719         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16720         <bp-checks.h> and <bp-semctl.h>.
16721         (semctl): Don't use CHECK_SEMCTL.
16723         [BZ #13550]
16724         * Makerules (elide-bp-thunks): Remove variable.
16725         (elide-routines.oS): Don't use $(elide-bp-thunks).
16726         (elide-routines.os): Likewise.
16727         (elide-routines.o): Likewise.
16728         (elide-routines.op): Likewise.
16729         (elide-routines.og): Likewise.
16730         (objects): Don't use $(bp-thunks).
16731         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16732         include.
16733         (common-generated): Do not add s-proto-bp.d.
16734         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16735         (int): Likewise.
16736         (typ): Likewise.
16737         Do not generate makefile rules for bounded-pointer thunks.
16738         * sysdeps/generic/bp-thunks.h: Remove file.
16739         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16740         * sysdeps/unix/s-proto-bp.S: Likewise.
16742         [BZ #15062]
16743         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16744         parts of result separately when argument is not close to line from
16745         -i to i and one part of argument is small.
16746         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16747         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16748         * math/libm-test.inc (cacos_test): Add more tests.
16749         (casin_test): Likewise.
16750         (casinh_test): Likewise.
16751         * sysdeps/i386/fpu/libm-test-ulps: Update.
16752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16754 2013-01-31  David S. Miller  <davem@davemloft.net>
16756         * po/de.po: Update from translation team.
16758 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
16760         * time/tzfile.c: Include stdint.h for SIZE_MAX.
16762 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
16764         * configure.in (_AC_PROG_CC_C89): New definition.
16765         * configure: Regenerate.
16767         * configure.in (AC_PROG_CPP): New definition.
16768         * configure: Regenerate.
16770 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16772         * debug/tst-backtrace.h: New file.
16773         * debug/tst-backtrace2.c: Include tst-backtrace.h.
16774         (ret): Remove variable.
16775         (x): Likewise.
16776         (FAIL): Remove macro.
16777         (NO_INLINE): Likewise.
16778         (fn1): Use match function instead of strstr.
16779         * debug/tst-backtrace3.c: Include tst-backtrace.h.
16780         (ret): Remove variable.
16781         (x): Likewise.
16782         (FAIL): Remove macro.
16783         (NO_INLINE): Likewise.
16784         (fn): Use match function instead of strstr.
16785         * debug/tst-backtrace4.c: Include tst-backtrace.h.
16786         (ret): Remove variable.
16787         (x): Likewise.
16788         (FAIL): Remove macro.
16789         (NO_INLINE): Likewise.
16790         (handle_signal): Use match function instead of strstr.
16791         * debug/tst-backtrace5.c: Include tst-backtrace.h.
16792         (ret): Remove variable.
16793         (x): Likewise.
16794         (FAIL): Remove macro.
16795         (NO_INLINE): Likewise.
16796         (handle_signal): Use match function instead of strstr.
16798 2013-01-23  Roland McGrath  <roland@hack.frob.com>
16800         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16802 2013-01-23  David S. Miller  <davem@davemloft.net>
16804         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16805         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16806         argument of CAS if possible.
16807         * sysdeps/sparc/sparc64/bits/atomic.h
16808         (__arch_compare_and_exchange_val_32_acq): Likewise.
16809         (__arch_compare_and_exchange_val_64_acq): Likewise.
16811 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
16813         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16814         * sysdeps/posix/ulimit.c: ... this.
16815         Include <limits.h>.
16816         * sysdeps/unix/bsd/ulimit.c: Remove file.
16818 2013-01-23  Adam Conrad  <adconrad@0c3.net>
16820         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16821         (LDFLAGS-tst-array5): Likewise.
16823 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16825         [BZ #15036]
16826         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16827         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16828         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16829         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16831 2013-01-21  David S. Miller  <davem@davemloft.net>
16833         * sysdeps/sparc/backtrace.c: New file.
16834         * sysdeps/sparc/sparc32/backtrace.h: New file.
16835         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16836         * sysdeps/sparc/sparc64/backtrace.h: New file.
16837         * sysdeps/sparc/sparc64/backtrace.c: Delete.
16838         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16839         -funwind-tables.
16841 2013-01-21  Andreas Schwab  <schwab@suse.de>
16843         [BZ #15020]
16844         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16845         closed its stdout.
16847 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
16849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16850         "mpa2.h".
16851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16853 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
16854             Mark Mitchell  <mark@codesourcery.com>
16855             Tom de Vries  <tom@codesourcery.com>
16856             Paul Pluzhnikov  <ppluzhnikov@google.com>
16858         * debug/tst-backtrace2.c: New file.
16859         * debug/tst-backtrace3.c: Likewise.
16860         * debug/tst-backtrace4.c: Likewise.
16861         * debug/tst-backtrace5.c: Likewise.
16862         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16863         (CFLAGS-tst-backtrace3.c): Likewise.
16864         (CFLAGS-tst-backtrace4.c): Likewise.
16865         (CFLAGS-tst-backtrace5.c): Likewise.
16866         (LDFLAGS-tst-backtrace2): Likewise.
16867         (LDFLAGS-tst-backtrace3): Likewise.
16868         (LDFLAGS-tst-backtrace4): Likewise.
16869         (LDFLAGS-tst-backtrace5): Likewise.
16870         (tests): Add new tests tst-backtrace2, tst-backtrace3,
16871         tst-backtrace4 and tst-backtrace5.
16873 2013-01-18  Anton Blanchard  <anton@samba.org>
16874             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16876         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16877         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16878         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16879         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16881         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16882         "+r" and remove output regs list as redundant.  Add explicit inline
16883         asm to specify register of return val to work around compiler codegen
16884         bug.  Remove (int) cast on return value.  Add return type parameter to
16885         use in macro so that this macro does not truncate return value for
16886         64-bit values.
16887         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16888         pass to INTERNAL_VSYSCALL_NCS.
16889         (INLINE_VSYSCALL): Add 'long int' as return type to
16890         INTERNAL_VSYSCALL_NCS macro invocation.
16891         (INTERNAL_VSYSCALL): Add 'long int' as return type to
16892         INTERNAL_VSYSCALL_NCS macro invocation.
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16895 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16897         [BZ #14496]
16898         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16899         Fix application of SIMD FP exception mask.
16901         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16902         mp_no from a power of two.
16903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16904         __mpexp_twomm1.  Use __pow_mp.
16906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16907         multiplication.
16909 2013-01-17  David S. Miller  <davem@davemloft.net>
16911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16913 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16915         [BZ #15023]
16916         * include/complex.h: Condition contents on [!_COMPLEX_H].
16917         (__kernel_casinhf): New prototype.
16918         (__kernel_casinh): Likewise.
16919         (__kernel_casinhl): Likewise.
16920         * math/Makefile (libm_calls): Add k_casinh.
16921         * math/k_casinh.c: New file.
16922         * math/k_casinhf.c: Likewise.
16923         * math/k_casinhl.c: Likewise.
16924         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16925         finite nonzero arguments.
16926         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16927         finite nonzero arguments.
16928         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16929         finite nonzero arguments.
16930         * math/s_casinh.c: Do not include <float.h>.
16931         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16932         * math/s_casinhf.c: Do not include <float.h>.
16933         (__casinhf): Move code for finite nonzero arguments to
16934         k_casinhf.c.
16935         * math/s_casinhl.c: Do not include <float.h>.
16936         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16937         redefine.
16938         (__casinhl): Move code for finite nonzero arguments to
16939         k_casinhl.c.
16940         * math/libm-test.inc (cacos_test): Add more tests.
16941         * sysdeps/i386/fpu/libm-test-ulps: Update.
16942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16944 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
16946         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16947         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16948         [!HAVE_MREMAP]: Remove [defined linux] case.
16949         * malloc/arena.c: Do not include <malloc-sysdep.h>.
16951 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16955 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
16957         * elf/elf.h (R_386_SIZE32): New relocation.
16958         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16959         R_386_SIZE32.
16960         (elf_machine_rela): Likewise.
16961         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16962         R_X86_64_SIZE64 and R_X86_64_SIZE32.
16964 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16966         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16967         (FP_FAST_FMA): Do not define.
16968         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16969         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16970         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16971         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16972         !_SOFT_FLOAT]: Likewise.
16973         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16974         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16975         value.
16976         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16977         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16978         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16979         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16980         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16981         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16982         file.
16984 2013-01-16  Andreas Schwab  <schwab@suse.de>
16986         [BZ #14327]
16987         * include/stdlib.h (__mktemp): Add declaration.
16988         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16989         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16991 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16993         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16994         definitions.
16995         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16996         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16997         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16998         definitions here.
16999         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17000         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17001         definitions.
17002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17003         and ONE.
17004         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17005         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17006         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17007         definitions.
17008         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17009         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17010         definitions.
17011         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17013         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17015 2013-01-15  David S. Miller  <davem@davemloft.net>
17017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17018         trunc{,f} to libm-sysdep_routes.
17019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17021         file.
17022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17024         file.
17025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17026         file.
17027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17029         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17030         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17031         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17032         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17033         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17034         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17037         nearbyint{,f} to libm-sysdep_routes.
17038         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17040         New file.
17041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17042         file.
17043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17044         New file.
17045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17046         file.
17047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17049         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17050         file.
17051         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17052         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17053         file.
17054         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17055         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17056         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17058         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17059         libc_feholdexcept and libc_fesetenv.
17061 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17063         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17065 2013-01-14  David S. Miller  <davem@davemloft.net>
17067         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17068         (SPARC_ASM_VIS2_IFUNC): Likewise.
17069         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17071         use of 'siam' instruction.
17072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17073         Likewise.
17074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17075         Likewise.
17076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17077         Likewise.
17078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17083         file.
17084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17085         file.
17086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17087         file.
17088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17089         file.
17090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17095         new VIS2 routines.
17096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17099         Likewise.
17100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17105         routines to libm-sysdep_routines.
17106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17109         fdim/fdimf to libm-sysdep_routines.
17110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17111         file.
17112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17114         file.
17115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17118         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17119         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17120         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17121         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17123 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17126         to optimize copies.
17128         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17133         local variable MPTWO.
17134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17135         Likewise.
17137 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17139         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17140         GLOB_NOESCAPE.
17142 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17144         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17146 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17148         * manual/pattern.texi (glob_t): Document gl_flags.
17149         (glob64_t): Likewise.
17151 2013-01-11  David S. Miller  <davem@davemloft.net>
17153         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17154         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17155         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17156         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17157         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17158         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17159         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17160         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17161         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17162         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17163         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17164         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17165         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17167         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17168         sparc V9 rather than using V8 code.
17169         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17170         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17172         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17173         Move to...
17174         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17175         Here.
17177 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17179         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17180         not in the main loop.
17181         * configure: Regenerated.
17183 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17185         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17186         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17187         to just #else.
17188         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17189         [!__GLIBC_HAVE_LONG_LONG] case.
17190         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17191         condition to just #else.
17192         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17193         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17194         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17195         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17196         unconditional.
17197         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17198         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17199         #elif condition to just #else.
17200         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17201         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17202         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17203         #elif condition to just #else.
17205 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17207         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17208         (EF_MIPS_ARCH_64): Fix value.
17209         (EF_MIPS_ARCH_32R2): New.
17210         (EF_MIPS_ARCH_64R2): New.
17212 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17214         * Makeconfig (+link-pie-before-libc): New.
17215         (+link-pie-after-libc): Likewise.
17216         (+link-pie-tests): Likewise.
17217         (+link-pie): Rewritten.
17218         (link-before-libc): Remove $(config-LDFLAGS).
17219         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17220         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17221         (config-LDFLAGS): Renamed to ...
17222         (rtld-LDFLAGS): This.
17223         (rtld-tests-LDFLAGS): New macro.
17224         (link-libc-rpath-link): Likewise.
17225         (link-libc-tests-rpath-link): Likewise.
17226         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17227         (link-libc): Prepand $(link-libc-rpath-link).
17228         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17229         (test-program-prefix): New macro.
17230         (test-via-rtld-prefix): Likewise.
17231         (test-program-cmd): Likewise.
17232         (host-test-program-cmd): Likewise.
17233         * Makefile ($(common-objpfx)testrun.sh): Replace
17234         $(run-program-prefix) with $(test-program-prefix).
17235         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17236         $(rtld-LDFLAGS).
17237         ($(common-objpfx)shlib.lds): Likewise.
17238         (build-module-helper): Likewise.
17239         ($(common-objpfx)format.lds): Likewise.
17240         * Rules (binaries-pie-tests): New.
17241         (binaries-pie-notests): Likewise.
17242         (binaries-pie): Rewritten.
17243         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17244         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17245         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17246         (make-test-out): Replace $(host-built-program-cmd) with
17247         $(host-test-program-cmd).
17248         * config.make.in (build-hardcoded-path-in-tests): New variable.
17249         * configure.in (--enable-hardcoded-path-in-tests): New configure
17250         option.
17251         (hardcoded_path_in_tests): New AC_SUBST.
17252         * configure: Regenerated.
17253         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17254         $(built-program-cmd) with $(test-program-cmd).
17255         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17256         (test_program_cmd): This.
17257         * elf/Makefile ($(objpfx)order.out): Run test with
17258         $(test-program-prefix).
17259         ($(objpfx)order2.out): Likewise.
17260         ($(objpfx)tst-initorder.out): Likewise.
17261         ($(objpfx)tst-initorder2.out): Likewise.
17262         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17263         $(test-program-cmd).
17264         ($(objpfx)tst-array1-static.out): Likewise.
17265         ($(objpfx)tst-array2.out): Likewise.
17266         ($(objpfx)tst-array3.out): Likewise.
17267         ($(objpfx)tst-array4.out): Likewise.
17268         ($(objpfx)tst-array5.out): Likewise.
17269         ($(objpfx)tst-array5-static.out): Likewise.
17270         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17271         $(test-program-cmd).
17272         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17273         $(run-program-prefix) with $(test-program-prefix).
17274         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17275         (test_program_prefix): This.
17276         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17277         $(run-program-prefix) with $(test-program-prefix).
17278         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17279         (test_program_prefix): This.
17280         * iconvdata/tst-tables.sh: Likewise.
17281         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17282         $(run-program-prefix) with $(test-program-prefix).
17283         ($(objpfx)tst-translit.out): Likewise.
17284         ($(objpfx)tst-gettext2.out): Likewise.
17285         ($(objpfx)tst-gettext4.out): Likewise.
17286         ($(objpfx)tst-gettext6.out): Likewise.
17287         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17288         (test_program_prefix): This.
17289         * intl/tst-gettext2.sh: Likewise.
17290         * intl/tst-gettext4.sh  Likewise.
17291         * intl/tst-gettext6.sh: Likewise.
17292         * intl/tst-translit.sh: Likewise.
17293         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17294         with $(test-program-cmd).
17295         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17296         $(run-program-prefix) with $(test-program-prefix).
17297         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17298         (test_program_prefix): This.
17299         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17300         $(run-program-prefix) with $(test-program-prefix).
17301         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17302         (test_program_prefix): This.
17303         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17304         * posix/Makefile ($(objpfx)globtest.out): Replace
17305         $(run-via-rtld-prefix) and $(test-wrapper) with
17306         $(test-program-prefix) and $(test-via-rtld-prefix).
17307         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17308         $(test-program-prefix).
17309         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17310         $(host-test-program-cmd).
17311         (tst-spawn-ARGS): Likewise.
17312         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17313         $(test-program-prefix).
17314         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17315         (test_via_rtld_prefix): This.
17316         (test_wrapper): Renamed to ...
17317         (test_program_prefix): This.
17318         (run_program_prefix): Replaced by test_program_prefix.
17319         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17320         (test_program_prefix): This.
17321         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17322         with $(host-test-program-cmd).
17323         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17324         $(run-program-prefix) with $(test-program-prefix).
17325         ($(objpfx)tst-printf.out): Likewise.
17326         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17327         $(test-program-cmd).
17328         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17329         (test_program_prefix): This.
17330         * stdio-common/tst-unbputc.sh: Likewise.
17331         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17332         $(run-program-prefix) with $(test-program-prefix).
17333         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17334         (test_program_prefix): This.
17335         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17336         $(built-program-cmd) with $(test-program-cmd).
17338 2013-01-11  Andreas Jaeger  <aj@suse.de>
17340         [BZ #15003]
17341         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17342         value. Sync with Linux 3.7.
17344 2013-01-10  David S. Miller  <davem@davemloft.net>
17346         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17347         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17348         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17350 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17352         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17353         never set.
17354         * configure: Regenerated.
17356 2013-01-10  David S. Miller  <davem@davemloft.net>
17358         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17359         sparc V9 rather than using V8 code.
17360         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17361         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17363 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17365         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17366         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17367         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17368         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17369         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17370         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17371         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17372         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17373         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17374         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17375         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17376         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17377         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17378         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17379         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17380         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17381         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17382         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17383         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17384         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17385         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17386         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17387         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17388         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17389         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17390         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17391         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17393 2013-01-10  David S. Miller  <davem@davemloft.net>
17395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17397 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17399         * posix/Makefile (tests-static): New variable.
17400         (tests): Add $(tests-static).
17401         (tst-exec-static-ARGS): New variable.
17402         (tst-spawn-static-ARGS): Likewise.
17403         * posix/tst-exec-static.c: New file.
17404         * posix/tst-spawn-static.c: Likewise.
17405         * posix/tst-exec.c: Support run directly.
17406         * posix/tst-spawn.c: Likewise.
17408 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
17410         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17411         long.
17412         * math/bits/mathcalls.h (llrint): Likewise.
17413         (llround): Likewise.
17414         * stdlib/stdlib.h (struct drand48_data): Likewise.
17415         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17416         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17417         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17418         Likewise.
17419         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17420         Likewise.
17421         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17422         (elf_greg_t): Likewise.
17423         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17424         (__jmp_buf): Likewise.
17425         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17426         definitions.
17427         (llrint): Likewise, for all definitions.
17428         (llrintl): Likewise.
17430         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17431         Remove [__GNUC__] condition.
17432         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17433         condition to just [__USE_ISOC99].
17434         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17436 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17438         [BZ #14200]
17439         * sysdeps/unix/sysv/linux/x86/bits/environments.h
17440         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17441         defined.
17442         (_POSIX_V6_ILP32_OFF32): Likewise.
17443         (_XBS5_ILP32_OFF32): Likewise.
17444         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
17445         (__ILP32_OFFBIG_LDFLAGS): Likewise.
17447 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17449         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
17451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
17452         doubles __mpexp_twomm1.  Adjust usage.
17453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
17454         Remove.
17456 2013-01-10  Andreas Schwab  <schwab@suse.de>
17458         [BZ #14964]
17459         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
17460         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
17462 2013-01-09  David S. Miller  <davem@davemloft.net>
17464         [BZ #15003]
17465         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
17466         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
17467         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
17468         TCP_FASTOPEN): Define.
17469         (tcp_repair_opt): New structure.
17470         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
17471         enum values.
17472         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
17473         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
17474         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
17475         (tcp_cookie_transactions): New structure.
17477 2013-01-09  Anton Blanchard  <anton@samba.org>
17479         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
17480         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
17481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
17482         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17484 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
17486         * include/features.h (__USE_ANSI): Remove.
17488 2013-01-09  Roland McGrath  <roland@hack.frob.com>
17490         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
17492         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
17494 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17496         * sysdeps/s390/fpu/libm-test-ulps: Update.
17498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17500         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
17501         (__acr): Likewise.
17502         (__cpy): Likewise.
17503         (norm): Likewise.
17504         (denorm): Likewise.
17505         (__mp_dbl): Likewise.
17506         (__dbl_mp): Likewise.
17507         (add_magnitudes): Likewise.
17508         (sub_magnitudes): Likewise.
17509         (__add): Likewise.
17510         (__sub): Likewise.
17511         (__mul): Likewise.
17512         (__inv): Likewise.
17513         (__dvd): Likewise.
17514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
17515         (__acr): Likewise.
17516         (__cpy): Likewise.
17517         (norm): Likewise.
17518         (denorm): Likewise.
17519         (__mp_dbl): Likewise.
17520         (__dbl_mp): Likewise.
17521         (add_magnitudes): Likewise.
17522         (sub_magnitudes): Likewise.
17523         (__add): Likewise.
17524         (__sub): Likewise.
17525         (__mul): Likewise.
17526         (__inv): Likewise.
17527         (__dvd): Likewise.
17528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
17529         (__acr): Likewise.
17530         (__cpy): Likewise.
17531         (norm): Likewise.
17532         (denorm): Likewise.
17533         (__mp_dbl): Likewise.
17534         (__dbl_mp): Likewise.
17535         (add_magnitudes): Likewise.
17536         (sub_magnitudes): Likewise.
17537         (__add): Likewise.
17538         (__sub): Likewise.
17539         (__mul): Likewise.
17540         (__inv): Likewise.
17541         (__dvd): Likewise.
17543 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
17545         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
17546         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
17547         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
17548         2 && __USE_EXTERN_INLINES]: Likewise.
17550 2013-01-08  Andreas Jaeger  <aj@suse.de>
17552         [BZ# 14985]
17553         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
17554         Remove.
17555         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17556         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17558 2013-01-07  Anton Blanchard  <anton@samba.org>
17560         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
17561         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17562         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
17563         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17564         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17565         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17566         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
17567         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17569         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17570         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17571         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17572         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17573         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17574         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17575         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17576         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17578         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17579         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17580         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17581         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
17582         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17583         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17584         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
17585         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17586         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17587         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
17589         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17590         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17592         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17593         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17594         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17595         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17598         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
17599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17600         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
17601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17602         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17604 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
17606         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
17607         (__MALLOC_PMT): Likewise.
17608         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
17609         [__GNUC__], only on [_LIBC].
17610         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17611         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
17612         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17613         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
17614         forward declaration.
17615         (realloc_hook_ini): Likewise.
17616         (memalign_hook_ini): Likewise.
17617         (__libc_memalign): Do not use __MALLOC_PMT in variable
17618         declaration.
17619         (__libc_valloc): Likewise.
17620         (__libc_pvalloc): Likewise.
17621         (__libc_calloc): Likewise.
17622         (__posix_memalign): Likewise.
17624         [BZ #14996]
17625         * math/s_casinh.c: Include <float.h>.
17626         (__casinh): Do not do computation with squaring and square root
17627         for large arguments.
17628         * math/s_casinhf.c: Include <float.h>.
17629         (__casinhf): Do not do computation with squaring and square root
17630         for large arguments.
17631         * math/s_casinhl.c: Include <float.h>.
17632         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
17633         (__casinhl): Do not do computation with squaring and square root
17634         for large arguments.
17635         * math/libm-test.inc (casin_test): Add more tests.
17636         (casinh_test): Likewise.
17637         * sysdeps/i386/fpu/libm-test-ulps: Update.
17638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
17642         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
17643         (__x86_64_raw_data_cache_size): Likewise.
17644         (__x86_64_data_cache_size_half): Likewise.
17645         (__x86_64_raw_data_cache_size_half): Likewise.
17646         (__x86_64_shared_cache_size): Likewise.
17647         (__x86_64_raw_shared_cache_size): Likewise.
17648         (__x86_64_shared_cache_size_half): Likewise.
17649         (__x86_64_raw_shared_cache_size_half): Likewise.
17650         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
17651         to ...
17652         (__x86_data_cache_size): This.
17653         (__x86_64_raw_data_cache_size): Renamed to ...
17654         (__x86_raw_data_cache_size): This.
17655         (__x86_64_data_cache_size_half): Renamed to ...
17656         (__x86_data_cache_size_half): This.
17657         (__x86_64_raw_data_cache_size_half): Renamed to ...
17658         (__x86_raw_data_cache_size_half): This.
17659         (__x86_64_shared_cache_size): Renamed to ...
17660         (__x86_shared_cache_size): This.
17661         (__x86_64_raw_shared_cache_size): Renamed to ...
17662         (__x86_raw_shared_cache_size): This.
17663         (__x86_64_shared_cache_size_half): Renamed to ...
17664         (__x86_shared_cache_size_half): This.
17665         (__x86_64_raw_shared_cache_size_half): Renamed to ...
17666         (__x86_raw_shared_cache_size_half): This.
17667         * sysdeps/x86_64/memcpy.S: Updated.
17668         * sysdeps/x86_64/memset.S: Likewise.
17669         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17670         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17671         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17673 2013-01-04  David S. Miller  <davem@davemloft.net>
17675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17677 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
17679         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17680         1 to avoid redefinition warning.
17681         (__USE_GNU): Don't define.
17682         (init_signaling_nan): Protoize.
17684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17686 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17688         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17690         (__cpymn): Likewise.
17691         (norm): Remove commented code.
17692         (denorm): Likewise.
17693         (__mp_dbl): Likewise.
17694         (__inv): Likewise.
17695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17696         (__cpymn): Likewise.
17697         (norm): Remove commented code.
17698         (denorm): Likewise.
17699         (__mp_dbl): Likewise.
17700         (__inv): Likewise.
17702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17703         mp_no value for 1.0 and 2.0.
17704         (norm): Use RADIXI instead of radixi.d.
17705         (denorm): Likewise.
17706         (__mul): Use 0.0 instead of zero.d.
17707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17708         mp_no value for 1.0 and 2.0.
17709         (norm): Use RADIXI instead of radixi.d.
17710         (denorm): Likewise.
17711         (__mul): Use 0.0 instead of zero.d.
17713 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
17715         [BZ #14994]
17716         * math/s_casinh.c (__casinh): Reduce finite argument to first
17717         quadrant then set signs of results at the end.
17718         * math/s_casinhf.c (__casinhf): Likewise.
17719         * math/s_casinhl.c (__casinhl): Likewise.
17720         * math/libm-test.inc (casin_test): Add more tests.
17721         (casinh_test): Likewise.
17722         * sysdeps/i386/fpu/libm-test-ulps: Update.
17723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17727         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17729         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17731         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17732         declarations.
17733         (denorm): Likewise.
17734         (__mp_dbl): Likewise.
17735         (__inv): Likewise.
17737         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17738         and adjust the header comment.
17740         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17741         variable name from declaration.
17743 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
17745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17746         Initialize COMMON_CPUID_INDEX_7 element.
17747         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17748         (CPUID_RTM): Likewise.
17749         (HAS_RTM): Likewise.
17750         (COMMON_CPUID_INDEX_7): New enum.
17752 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
17754         [BZ #14981]
17755         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17756         size is zero, record memory as freed.
17758 2013-01-03  Andreas Jaeger  <aj@suse.de>
17760         * po/ia.po: Add new Interlingua translation.
17762 2012-01-03  Allan McRae  <allan@archlinux.org>
17764         * locale/programs/localedef.c: Fix description of '--posix' flag.
17766 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
17768         * NEWS: Update dates in second copyright notice.
17769         * README: Update copyright dates in example.
17770         * manual/libc.texinfo: Update copyright dates.
17771         * scripts/test-installation.pl: Update copyright date in --version
17772         output.
17774         * hurd/ctty-input.c: Fix copyright notice formatting.
17775         * hurd/ctty-output.c: Likewise.
17776         * hurd/dtable.c: Likewise.
17777         * hurd/hurd-raise.c: Likewise.
17778         * hurd/hurdprio.c: Likewise.
17779         * hurd/msgportdemux.c: Likewise.
17780         * misc/sys/file.h: Likewise.
17781         * misc/sys/ioctl.h: Likewise.
17782         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17783         * sysdeps/mach/hurd/chdir.c: Likewise.
17784         * sysdeps/mach/hurd/fchdir.c: Likewise.
17785         * sysdeps/mach/hurd/rename.c: Likewise.
17786         * sysdeps/mach/hurd/rmdir.c: Likewise.
17787         * sysdeps/mach/hurd/seekdir.c: Likewise.
17788         * sysdeps/mach/hurd/setsid.c: Likewise.
17789         * sysdeps/posix/wait3.c: Likewise.
17791         * All files with FSF copyright notices: Update copyright dates
17792         using scripts/update-copyrights.
17793         * intl/plural.c: Regenerated.
17794         * locale/programs/charmap-kw.h: Likewise.
17795         * locale/programs/locfile-kw.h: Likewise.
17797 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17799         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17800         four values.
17802         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17803         calculation loop and add branch prediction.
17805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17806         check access beyond bounds of m1np.
17808         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17809         MPTWO.
17810         (__inv): Remove local variable MPTWO to use the global
17811         constant.
17812         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17814         variable MPTWO.
17815         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17816         MP3HALFS static const.
17818 2013-01-01  David S. Miller  <davem@davemloft.net>
17820         * po/ca.po: Update from translation team.
17822 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
17824         * scripts/update-copyrights: New file.
17825         * Makeconfig: Reformat copyright notice.
17826         * ctype/ctype.h: Likewise.
17827         * debug/swprintf_chk.c: Likewise.
17828         * elf/dl-cache.c: Likewise.
17829         * elf/dl-debug.c: Likewise.
17830         * elf/dl-object.c: Likewise.
17831         * grp/initgroups.c: Likewise.
17832         * hurd/Makefile: Likewise.
17833         * hurd/hurd/signal.h: Likewise.
17834         * hurd/hurdfault.c: Likewise.
17835         * hurd/hurdioctl.c: Likewise.
17836         * hurd/hurdlookup.c: Likewise.
17837         * hurd/intr-msg.c: Likewise.
17838         * iconv/gconv_open.c: Likewise.
17839         * libio/swprintf.c: Likewise.
17840         * locale/lc-ctype.c: Likewise.
17841         * locale/nl_langinfo.c: Likewise.
17842         * mach/Machrules: Likewise.
17843         * mach/Makefile: Likewise.
17844         * malloc/obstack.h: Likewise.
17845         * manual/Makefile: Likewise.
17846         * manual/tsort.awk: Likewise.
17847         * misc/bits/stab.def: Likewise.
17848         * nis/nis_print_group_entry.c: Likewise.
17849         * nis/nis_table.c: Likewise.
17850         * nis/nss_compat/compat-pwd.c: Likewise.
17851         * nis/nss_compat/compat-spwd.c: Likewise.
17852         * po/Makefile: Likewise.
17853         * posix/fnmatch.c: Likewise.
17854         * posix/regex.h: Likewise.
17855         * resolv/Makefile: Likewise.
17856         * resolv/nss_dns/dns-network.c: Likewise.
17857         * resolv/res_hconf.c: Likewise.
17858         * scripts/gen-sorted.awk: Likewise.
17859         * soft-fp/soft-fp.h: Likewise.
17860         * stdio-common/printf.h: Likewise.
17861         * stdlib/monetary.h: Likewise.
17862         * stdlib/random.c: Likewise.
17863         * stdlib/random_r.c: Likewise.
17864         * sysdeps/generic/Makefile: Likewise.
17865         * sysdeps/gnu/Makefile: Likewise.
17866         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17868         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17873         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17876         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17877         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17878         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17879         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17880         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17881         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17883         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17886         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17887         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17888         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17889         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17890         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17891         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17892         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17893         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17894         * sysdeps/mach/hurd/errnos.awk: Likewise.
17895         * sysdeps/mach/hurd/fork.c: Likewise.
17896         * sysdeps/mach/hurd/getcwd.c: Likewise.
17897         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17898         * sysdeps/mach/hurd/mmap.c: Likewise.
17899         * sysdeps/mach/hurd/utimes.c: Likewise.
17900         * sysdeps/mach/hurd/xmknod.c: Likewise.
17901         * sysdeps/posix/profil.c: Likewise.
17902         * sysdeps/posix/readdir_r.c: Likewise.
17903         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17904         * sysdeps/powerpc/bits/setjmp.h: Likewise.
17905         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17906         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17908         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17910         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17913         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17914         * sysdeps/pthread/lio_listio.c: Likewise.
17915         * sysdeps/sparc/dl-procinfo.h: Likewise.
17916         * sysdeps/unix/i386/sysdep.S: Likewise.
17917         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17918         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17919         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17920         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17922         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17923         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17924         * sysdeps/unix/sysv/linux/speed.c: Likewise.
17925         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17926         * sysdeps/wordsize-32/divdi3.c: Likewise.
17927         * time/sys/time.h: Likewise.
17928         * wcsmbs/Makefile: Likewise.
17930 2013-01-01  David S. Miller  <davem@davemloft.net>
17932         * po/fr.po: Update from translation team.
17934         * catgets/gencat.c: Update copyright year.
17935         * csu/version.c: Likewise.
17936         * debug/catchsegv.sh: Likewise.
17937         * debug/pcprofiledump.c: Likewise.
17938         * debug/xtrace.sh: Likewise.
17939         * elf/ldconfig.c: Likewise.
17940         * elf/ldd.bash.in: Likewise.
17941         * elf/pldd.c: Likewise.
17942         * elf/sotruss.ksh: Likewise.
17943         * elf/sprof.c: Likewise.
17944         * iconv/iconv_prog.c: Likewise.
17945         * iconv/iconvconfig.c: Likewise.
17946         * locale/programs/locale.c: Likewise.
17947         * locale/programs/localedef.c: Likewise.
17948         * login/programs/pt_chown.c: Likewise.
17949         * malloc/memusage.sh: Likewise.
17950         * malloc/memusagestat.c: Likewise.
17951         * malloc/mtrace.pl: Likewise.
17952         * nscd/nscd.c: Likewise.
17953         * nss/getent.c: Likewise.
17954         * nss/makedb.c: Likewise.
17955         * posix/getconf.c: Likewise.
17957 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17959         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17960         numbers.
17962 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
17964         * math/bits/mathcalls.h (modf): Use __nonnull.
17966 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17968         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17969         (split): Use macro CN instead of the bare value.
17970         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17971         could be used.
17972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17973         instead of the bare value.
17974         (power1): Likewise.
17976 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17979         __ATAN_TWOM.
17980         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17982         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17983         their values.
17984         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17985         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17986         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17987         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17989 2012-12-28  Andreas Jaeger  <aj@suse.de>
17991         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
17992         values are from Linux 3.7.
17994         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17995         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
17997 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17999         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18000         TRUE case.
18002         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18003         (norm): Likewise.
18004         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18005         variables with preprocessor constants.
18006         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18007         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18008         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18010 2012-12-27  Bruno Haible  <bruno@clisp.org>
18012         [BZ #14317]
18013         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18014         only if needed.
18016 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18019         and use variable directly.
18020         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18022         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18023         MPONE.
18024         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18025         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18026         variable MPONE.
18027         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18029         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18030         include directive.  Remove local variable MPONE.
18031         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18032         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18033         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18035 2012-12-25  David S. Miller  <davem@davemloft.net>
18037         * version.h (RELEASE): Set to "development".
18038         (VERSION): Set to "2.17.90".
18039         * NEWS: Add 2.18 section.
18041 2012-12-21  David S. Miller  <davem@davemloft.net>
18043         * po/hr.po: Update from translation team.
18045 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18047         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18049 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18051         * NEWS:  Mention new memcpy for MIPS.
18053 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18055         * manual/contrib.texi (Contributors): Spelling correction.
18057 2012-12-15  David S. Miller  <davem@davemloft.net>
18059         * po/ru.po: Update from translation team.
18061 2012-12-13  David S. Miller  <davem@davemloft.net>
18063         * NEWS: Mention IFUNC testsuite enhancements.
18065         * po/pl.po: Update from translation team.
18066         * po/bg.po: Likewise.
18068         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18069         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18071 2012-12-11  David S. Miller  <davem@davemloft.net>
18073         * po/sv.po: Update from translation team.
18075         * po/vi.po: Update from translation team.
18077         * po/cs.po: Update from translation team.
18079         * po/de.po: Update from translation team.
18080         * po/eo.po: Likewise.
18081         * po/nl.po: Likewise.
18083 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085         [BZ #14246]
18086         * manual/argp.texi (Argp Helper Functions): Move node to follow
18087         Argp Parsing State.
18089         [BZ #14872]
18090         * manual/conf.texi (Limits on File System Capacity): Mention if
18091         terminating null is included in the max size.
18093 2012-12-10  Andreas Jaeger  <aj@suse.de>
18095         * po/cs.po: Update from translation team.
18097 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18099         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18100         void pointer and cast to uintptr_t.
18101         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18102         path.
18103         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18104         * sysdeps/s390/s390-64/memset.S: Likewise.
18106 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18108         [BZ #14833]
18109         * menual/message.texi (Message Translation): Fix typos.
18110         (Helper programs for gettext): Likewise.
18112 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18114         [BZ #14898]
18115         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18116         Change to -1.
18118 2012-12-07  David S. Miller  <davem@davemloft.net>
18120         * po/libc.pot: Update.
18122 2012-12-07  Richard Henderson  <rth@redhat.com>
18124         [BZ #10114]
18125         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18126         normal/normal case to before the switch.
18127         (_FP_DIV): Likewise.
18129 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18130             Mike Frysinger  <vapier@gentoo.org>
18132         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18133         check for __NR_fadvise64_64.
18135 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18137         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18138         0, not just to plain "0" as a statement.
18139         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18140         with cw.
18142 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18144         * NEWS: Use sourceware.org in Bugzilla URL.
18146 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18149         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18151         * stdio-common/tst-put-error.c (do_test): Add newline to the
18152         padded test to ensure flush.
18154 2012-12-05  Jeff Law  <law@redhat.com>
18156         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18158 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18160         * README: Don't refer to ports add-on as distributed separately.
18161         Mention AArch64 in list of systems supported in the ports add-on.
18163         * LICENSES: Add more non-FSF copyright and license notices.
18165         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18166         ((unused)).
18168         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18170         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18171         10000 as width of padded output.
18173 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18175         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18177         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18178         variable LX with __attribute__ ((unused)).
18179         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18180         Likewise.
18181         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18183         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18184         with __attribute__ ((unused)).
18186 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18188         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18190 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18192         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18193         (CFLAGS-nldbl-acos.c): New variable.
18194         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18195         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18196         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18197         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18198         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18199         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18200         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18201         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18202         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18203         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18204         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18205         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18206         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18207         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18208         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18209         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18210         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18211         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18212         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18213         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18214         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18215         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18216         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18217         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18218         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18219         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18220         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18221         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18222         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18223         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18224         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18225         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18226         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18227         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18228         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18229         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18230         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18231         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18232         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18233         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18234         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18235         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18236         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18237         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18238         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18239         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18240         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18241         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18242         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18243         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18244         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18245         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18246         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18247         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18248         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18249         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18250         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18251         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18252         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18253         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18254         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18255         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18256         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18257         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18258         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18259         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18260         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18261         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18262         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18263         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18264         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18265         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18266         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18267         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18268         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18269         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18270         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18271         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18272         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18273         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18274         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18275         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18276         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18277         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18278         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18279         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18280         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18281         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18282         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18283         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18284         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18285         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18286         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18287         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18288         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18289         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18290         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18293         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18295         [BZ #14914]
18296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18297         whole low double instead of just low 47 bits when splitting values
18298         into two parts.
18300 2012-12-03  Allan McRae  <allan@archlinux.org>
18302         * manual/stdio.texi (Predefined Printf Handlers): Remove
18303         @hsep and @vsep usage.
18305 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18307         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18308         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18310 2012-12-03  Jeff Law  <law@redhat.com>
18312         * time/sys/time.h (settimeofday): Do not mark TV argument
18313         as __nonnull.
18315 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18317         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18318         when currently writing and seek to current position when not.
18319         * libio/Makefile (tests): Remove bug-fclose1.
18320         * libio/bug-fclose1.c: Delete.
18322 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18324         * manual/arith.texi (feenableexcept): Fix typo.
18325         (fedisableexcept): Likewise.
18327 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18329         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18330         second, differently-typed declaration, rather than a cast.
18332 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18334         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18335         * include/rpc/svc.h: ... here.
18337 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18339         [BZ #13013]
18340         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18341         depending n and resplen2 to catch cases where answer
18342         equals answerp2.
18344 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18346         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18347         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18349 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18351         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18353 2012-11-29  Roland McGrath  <roland@hack.frob.com>
18355         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18357 2012-11-28  Jeff Law  <law@redhat.com>
18359         [BZ #13761]
18360         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18361         dataset_temporary.  Track alloca usage into alloca_used.
18362         If dataset is large allocate and release it via malloc/free.
18364 2012-06-04  Florian Weimer  <fweimer@redhat.com>
18366         [BZ #14197]
18367         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18369 2012-11-28  David S. Miller  <davem@davemloft.net>
18371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18373 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18375         [BZ #14803]
18376         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18377         of pi/2 rounded to nearest to 64 bits.
18378         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18379         nearest to 64 bits.
18380         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18381         bits.
18383 2012-11-28  Jeff Law <law@redhat.com>
18384             Martin Osvald <mosvald@redhat.com>
18386         [BZ #14889]
18387         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18388         * sunrpc/svc.c: Include time.h.
18389         (__svc_accept_failed): New function.
18390         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18391         any reason other than EINTR, call __svc_accept_failed.
18392         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18393         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18395 2012-11-28  Andreas Schwab  <schwab@suse.de>
18397         * scripts/abilist.awk: Also handle indirect functions in .opd
18398         section.
18400 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18402         [BZ #13881]
18403         * sysdeps/x86/fpu/powl_helper.c: New file.
18404         * sysdeps/x86/fpu/Makefile: Likewise.
18405         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18406         (p3): New object.
18407         (__ieee754_powl): Use __powl_helper for finite arguments except
18408         integer exponents below 8.
18409         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18410         (p3): New object.
18411         (__ieee754_powl): Use __powl_helper for finite arguments except
18412         integer exponents below 8.
18413         * math/libm-test.inc (pow_test): Add more tests and enable some
18414         previously disabled tests.
18415         * sysdeps/i386/fpu/libm-test-ulps: Update.
18416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18418 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18419             Carlos O'Donell  <carlos_odonell@mentor.com>
18421         * nss/makedb.c (is_prime): Assert that input is odd and greater
18422         than 4.  Note that fact in a comment too.
18423         (next_prime): Add 4 to input.
18425 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427         [BZ #11741]
18428         * libio/Makefile (tests): Add test case tst-fwrite-error.
18429         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18430         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18431         * libio/tst-fwrite-error.c: New test case.
18433 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
18435         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18436         before casting to void *.
18437         * include/libc-internal.h (__pointer_type): New macro.
18438         (__integer_if_pointer_type_sub): Likewise.
18439         (__integer_if_pointer_type): Likewise.
18440         (cast_to_integer): Likewise.
18441         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18442         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
18443         before casting to atomic64_t.
18444         (atomic_exchange_acq): Likewise.
18445         (__arch_exchange_and_add_body): Likewise.
18446         (__arch_add_body): Likewise.
18447         (atomic_add_negative): Likewise.
18448         (atomic_add_zero): Likewise.
18450 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
18452         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
18453         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
18454         (add_fdes): Likewise.
18455         (linear_search_fdes): Likewise.
18456         (binary_search_unencoded_fdes): Likewise.
18458 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
18460         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
18462 2012-11-24  Adam Conrad  <adconrad@0c3.net>
18464         * configure.in: Autodetect C++ header directories.
18465         * configure: Regenerated.
18467 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
18469         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
18471 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
18473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18475 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
18477         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
18478         LDBL_MANT_DIG == 106]: Disable some tests.
18479         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18480         Likewise.
18481         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18482         Likewise.
18484         [BZ #14871]
18485         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
18486         input for small inputs.  Return +/- pi/2 for large inputs.
18487         * math/libm-test.inc (atan_test): Add more tests.
18489         * sysdeps/generic/unwind-dw2-fde-glibc.c
18490         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
18491         __attribute__ ((unused)).
18493         [BZ #14645]
18494         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
18495         x * y if x and y are nonzero and z is zero.
18497         [BZ #14811]
18498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
18499         nonzero exponents with absolute value below 0x1p-117 to +/-
18500         0x1p-117.
18502         [BZ #14869]
18503         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
18504         up arguments below 2**-450, not just those below 2**-500.
18505         * math/libm-test.inc (hypot_test): Add another test.
18507         [BZ #14868]
18508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18509         Return a+b for ratio over 2**120, not 2**60.
18510         * math/libm-test.inc (hypot_test): Add another test.
18512         * math/libm-test.inc (clog_test): Use
18513         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
18514         (clog10_test): Likewise.
18516         [BZ #6778]
18517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
18519 2012-11-22  Andreas Schwab  <schwab@suse.de>
18521         * sysdeps/i386/fpu/libm-test-ulps: Update.
18523 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
18525         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
18526         printf output with newline.
18528 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
18530         [BZ #14865]
18531         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
18532         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
18533         -z nodlopen, -z initfirst and -z execstack support.
18534         * configure: Regenerated.
18536         * elf/elf.h (DF_1_NODIRECT): New macro.
18537         (DF_1_IGNMULDEF): Likewise.
18538         (DF_1_NOKSYMS): Likewise.
18539         (DF_1_NOHDR): Likewise.
18540         (DF_1_EDITED): Likewise.
18541         (DF_1_NORELOC): Likewise.
18542         (DF_1_SYMINTPOSE): Likewise.
18543         (DF_1_GLOBAUDIT): Likewise.
18544         (DF_1_SINGLETON): Likewise.
18545         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
18546         DT_1_SUPPORTED_MASK bits.
18547         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
18549 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
18551         * sysdeps/unix/make-syscalls.sh: Document prefixes.
18553 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
18555         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
18556         macro.
18558         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
18559         (sendmmsg): Move declarations...
18560         * socket/sys/socket.h: ... here.
18561         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
18562         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
18563         include it from...
18564         * socket/recvmmsg.c: ... this new file.
18565         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
18566         (sendmmsg): Rename to __sendmmsg, create weak alias and make
18567         definition of __sendmmsg hidden.
18568         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18569         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
18570         Move ENOSYS stub into and include it from...
18571         * socket/sendmmsg.c: ... this new file.
18572         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
18573         (sysdep_routines): Move recvmmsg and sendmmsg...
18574         * socket/Makefile (routines): ... here.
18575         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
18576         (GLIBC_PRIVATE): Add __sendmmsg.
18577         * include/sys/socket.h (__sendmmsg): Add declarations.
18578         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
18579         sendmmsg.
18581 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
18583         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
18584         variable I1 with __attribute__ ((unused)).
18585         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18587 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18589         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
18590         DUMMY variables with __attribute__ ((unused)).
18592         * bits/byteswap.h: Include <bits/types.h>.
18593         (__bswap_64): Use __uint64_t instead of unsigned long long int.
18595 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18597         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
18598         string_t.  Do not manually set errno.
18599         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
18600         length with __strnlen.  Make sure to both set errno and return it on
18601         failure.
18603 2012-11-19  David S. Miller  <davem@davemloft.net>
18605         With help from Joseph Myers.
18606         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
18607         very large arguments properly.
18608         * math/libm-test.inc (atan_test): New tests.
18609         (atan2_test): New tests.
18610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18613 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18615         [BZ #14856]
18616         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
18617         Define to 3.
18619         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18620         [POSIX] (EADDRNOTAVAIL): Likewise.
18621         [POSIX] (EAFNOSUPPORT): Likewise.
18622         [POSIX] (EALREADY): Likewise.
18623         [POSIX] (ECONNABORTED): Likewise.
18624         [POSIX] (ECONNREFUSED): Likewise.
18625         [POSIX] (ECONNRESET): Likewise.
18626         [POSIX] (EDESTADDRREQ): Likewise.
18627         [POSIX] (EDQUOT): Likewise.
18628         [POSIX] (EHOSTUNREACH): Likewise.
18629         [POSIX] (EIDRM): Likewise.
18630         [POSIX] (EISCONN): Likewise.
18631         [POSIX] (ELOOP): Likewise.
18632         [POSIX] (EMULTIHOP): Likewise.
18633         [POSIX] (ENETDOWN): Likewise.
18634         [POSIX] (ENETUNREACH): Likewise.
18635         [POSIX] (ENOBUFS): Likewise.
18636         [POSIX] (ENODATA): Likewise.
18637         [POSIX] (ENOLINK): Likewise.
18638         [POSIX] (ENOMSG): Likewise.
18639         [POSIX] (ENOPROTOOPT): Likewise.
18640         [POSIX] (ENOSR): Likewise.
18641         [POSIX] (ENOSTR): Likewise.
18642         [POSIX] (ENOTCONN): Likewise.
18643         [POSIX] (ENOTSOCK): Likewise.
18644         [POSIX] (EOPNOTSUPP): Likewise.
18645         [POSIX] (EOVERFLOW): Likewise.
18646         [POSIX] (EPROTO): Likewise.
18647         [POSIX] (EPROTONOSUPPORT): Likewise.
18648         [POSIX] (EPROTOTYPE): Likewise.
18649         [POSIX] (ESTALE): Likewise.
18650         [POSIX] (ETIME): Likewise.
18651         [POSIX] (ETXTBSY): Likewise.
18652         [POSIX] (EWOULDBLOCK): Likewise.
18653         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
18654         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
18655         [POSIX] (SEEK_CUR): Likewise.
18656         [POSIX] (SEEK_END): Likewise.
18657         [POSIX || UNIX98] (mode_t): Do not require.
18658         [POSIX] (off_t): Likewise.
18659         [POSIX] (pid_t): Likewise.
18660         [POSIX] (sys/stat.h): Do not allow header.
18661         [POSIX] (unistd.h): Likewise.
18662         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
18663         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
18664         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
18665         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
18666         require.
18667         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
18668         sigevent): Specify elements.
18669         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
18670         entry.
18671         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
18672         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18674         * conform/data/cpio.h-data [POSIX]: Disable whole file.
18675         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18676         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18677         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18678         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18679         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18680         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18681         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18682         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18683         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18684         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18685         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18686         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18687         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18688         Likewise.
18689         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18690         Likewise.
18691         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18692         Likewise.
18693         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18694         Likewise.
18695         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18696         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18697         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18698         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18699         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18700         Specify lower bound on value.
18701         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18702         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18703         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18704         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18705         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18706         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18707         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18708         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18709         value.
18710         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18711         as optional.
18712         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18713         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18714         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18715         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18716         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18717         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18718         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18719         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18720         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18721         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18722         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18723         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18724         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18725         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18726         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18727         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18728         entry.
18729         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18730         optional.
18731         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18732         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18733         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18734         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18735         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18736         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18737         Likewise.
18738         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18739         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18740         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18741         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18742         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
18743         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18744         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18745         as optional.
18746         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18747         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18748         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18749         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18750         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18751         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18752         specify as optional.
18753         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18754         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18755         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18756         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18757         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18758         [XPG3] (NL_LANGMAX): Likewise.
18759         [POSIX || XPG3] (NL_MSGMAX): Likewise.
18760         [POSIX || XPG3] (NL_NMAX): Likewise.
18761         [POSIX || XPG3] (NL_SETMAX): Likewise.
18762         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18763         [XPG3] (NZERO): Likewise.
18764         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18765         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18766         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18767         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18768         (REG_ERANGE): Expect.
18769         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18770         optional-constant.
18771         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18772         Use (void) in prototype.
18773         [POSIX] (*_t): Allow.
18774         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18775         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18776         (WRDE_BADVAL): Expect.
18778         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18779         expect.
18780         [XPG3 || XPG4] (O_RSYNC): Likewise.
18781         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18782         Likewise.
18783         [XPG3 || XPG4] (pthread_sigmask): Likewise.
18784         [XPG3 || XPG4] (sigqueue): Likewise.
18785         [XPG3 || XPG4] (sigtimedwait): Likewise.
18786         [XPG3 || XPG4] (sigwaitinfo): Likewise.
18787         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18788         [XPG3 || XPG4] (vsnprintf): Likewise.
18789         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18790         Likewise.
18791         [XPG3 || XPG4] (blksize_t): Likewise.
18792         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18793         Likewise.
18794         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18795         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18796         [XPG3 || XPG4] (struct itimerspec): Likewise.
18797         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18798         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18799         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18800         [XPG3 || XPG4] (clockid_t): Likewise.
18801         [XPG3 || XPG4] (timer_t): Likewise.
18802         [XPG3 || XPG4] (clock_getres): Likewise.
18803         [XPG3 || XPG4] (clock_gettime): Likewise.
18804         [XPG3 || XPG4] (clock_settime): Likewise.
18805         [XPG3 || XPG4] (nanosleep): Likewise.
18806         [XPG3 || XPG4] (timer_create): Likewise.
18807         [XPG3 || XPG4] (timer_delete): Likewise.
18808         [XPG3 || XPG4] (timer_gettime): Likewise.
18809         [XPG3 || XPG4] (timer_getoverrun): Likewise.
18810         [XPG3 || XPG4] (timer_settime): Likewise.
18811         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18812         [XPG3 || XPG4] (getlogin_r): Likewise.
18813         [XPG3 || XPG4] (pread): Likewise.
18814         [XPG3 || XPG4] (pthread_atfork): Likewise.
18815         [XPG3 || XPG4] (pwrite): Likewise.
18817         [BZ #14835]
18818         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18819         <bits/siginfo.h>.
18821 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18823         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18824         finalizing MALLSTREAM.
18826         * sysdeps/mach/hurd/syncfs.c: New file.
18828 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18830         [BZ #14719]
18831         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18832         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18833         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18834         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18835         (_nss_dns_gethostbyname4_r): Likewise.
18836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18837         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18839 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
18841         [BZ #13763]
18842         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18844 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
18846         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18847         * elf/cache.c (print_entry): Print ",AArch64" for
18848         FLAG_AARCH64_LIB64
18850         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18851         * elf/cache.c (print_entry): Print ",hard-float" for
18852         FLAG_ARM_LIBHF.
18854 2012-11-18  David S. Miller  <davem@davemloft.net>
18856         With help from Joseph Myers.
18857         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18858         cutoff to 2**-13.
18859         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18860         cutoff to 2**-25.
18861         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18862         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18863         small.
18864         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18865         * math/libm-test.inc (y0_test): New tests.
18866         (y1_test): New tests.
18867         * sysdeps/i386/fpu/libm-test-ulps: Update.
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18871 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
18873         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18874         64-bit targets.
18875         * configure: Regenerated.
18877 2012-11-17  David S. Miller  <davem@davemloft.net>
18879         [BZ #14811]
18880         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18881         nonzero exponents with absolute value below 0x1p-128 to +/-
18882         0x1p-128.
18884 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
18886         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18888         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18890         * posix/getconf-speclist.c: New file.
18891         * posix/posix-envs.def: Likewise.
18892         * posix/confstr.c (START_ENV_GROUP): New macro.
18893         (END_ENV_GROUP): Likewise.
18894         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18895         (KNOWN_PRESENT_ENV_STRING): Likewise.
18896         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18897         (UNKNOWN_ENVIRONMENT): Likewise.
18898         (confstr): Include posix-envs.def instead of handling
18899         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18900         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18901         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18902         (END_ENV_GROUP): Likewise.
18903         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18904         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18905         (UNKNOWN_ENVIRONMENT): Likewise.
18906         (__sysconf): Include posix-envs.def instead of handling associated
18907         cases directly here.
18908         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18909         preprocessing getconf-speclist.c rather than running getconf or
18910         generating empty file.
18912 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
18914         * scripts/check-local-headers.sh: Ignore 'mach' headers.
18916 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
18918         [BZ #14672]
18919         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18921 2012-11-16  David S. Miller  <davem@davemloft.net>
18923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18924         smaller than LDBL_EPSILON/2.0L, just return xm1.
18926 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
18928         * elf/tst-array1.c (init): Set constructor priority to 1000.
18929         (fini): Set destructor priority to 1000.
18930         * elf/tst-array2dep.c: Likewise.
18932 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18934         [BZ #11741]
18935         * libio/fileops.c (_IO_new_file_write): Correctly return error.
18936         (_IO_new_file_xsputn): Also return EOF if none of the input
18937         data was written when overflow failed.
18938         * libio/iopadn.c (_IO_padn): Likewise.
18939         * libio/iowpadn.c (_IO_wpadn): Likewise.
18940         * stdio-common/tst-put-error.c: Add copyright notice.
18941         (do_test): Add case for printing padded string.
18942         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18943         _IO_padn returned error.
18944         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18945         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18946         return EOF.
18948 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18950         * libio/libioP.h: Add comment note that the references to C++
18951         bits are now obsolete.
18953 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18955         * math/libm-test.inc (check_complex): Use asprintf.
18957 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
18959         * debug/pcprofiledump.c (print_version): Update copyright year.
18960         * malloc/memusagestat.c (print_version): Likewise.
18962 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18964         [BZ #14831]
18965         * elf/Makefile (tests): Add tst-audit8.
18966         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18967         ($(objpfx)tst-audit8.out): New target.
18968         (tst-audit8-ENV): New variable.
18969         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18970         audit if l_reloc_result is NULL.
18971         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18972         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18973         * elf/tst-audit8.c: New file.
18975 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18977         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18978         * misc/Makefile (CFLAGS-select.c): Define.
18979         * posix/Makefile (CFLAGS-pause.c): Define.
18981 2012-11-13  David S. Miller  <davem@davemloft.net>
18983         * crypt/Makefile: Move test targets after toplevel Rules
18984         inclusion.  Grab any necessary sysdep routines when linking.
18985         * crypt/md5.c (md5_process_block): Remove define, we will always
18986         name it __md5_process_block.
18987         (md5_finish_ctx): Update md5_process_block call.
18988         (md5_stream): Likewise.
18989         (md5_process_bytes): Likewise.
18990         (md5_process_block): Rename to __md5_process_block and move to ...
18991         * crypt/md5-block.c: ... here.
18992         * crypt/sha256.c (sha256_process_block): Move to ...
18993         * crypt/sha256-block.c: ... here.
18994         * crypt/sha512.c (sha512_process_block): Move to ...
18995         * crypt/sha512-block.c: ... here.
18996         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18997         path.
18998         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18999         * sysdeps/sparc/sparc64/multiarch/Makefile
19000         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19001         crypt subdir.
19002         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19003         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19004         multiarch changes.
19005         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19006         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19007         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19008         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19009         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19010         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19011         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19012         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19013         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19014         file.
19015         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19016         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19017         file.
19018         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19020 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19022         * timezone/tzselect.ksh: Update from tzcode git revision
19023         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19024         * timezone/zdump.c: Likewise.
19025         * timezone/zic.c: Likewise.
19026         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19027         in TZVERSION setting, not $(PKGVERSION).
19028         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19029         REPORT_BUGS_TO settings.
19031         [BZ #14838]
19032         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19033         macro.
19035 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19037         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19038         detection to immediately after _FP_ROUND().
19039         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19040         bits are 0.
19042 2012-11-11  David S. Miller  <davem@davemloft.net>
19044         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19045         inttypes.h
19046         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19047         __close rather than their public counterparts.
19049 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19051         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19052         file.
19053         [UNIX98] (sem_timedwait): Do not expect.
19054         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19055         [XPG4 || UNIX98] (sockatmark): Do not expect.
19056         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19057         (clock_getcpuclockid): Do not expect.
19058         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19059         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19060         Do not expect.
19061         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19062         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19063         [UNIX98] (vwscanf): Likewise.
19064         [UNIX98] (vswscanf): Likewise.
19066 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19068         * timezone/version.h: Remove file.
19069         * timezone/README: Do not refer to version.h.
19070         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19071         $(objpfx)version.h.
19072         ($(objpfx)zdump.o): Likewise.
19073         ($(objpfx)version.h): New target.
19075         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19076         2012i.
19077         * timezone/README: Don't mention modification to tzselect.ksh.
19078         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19079         work on unmodified tzselect.ksh.  Substitute version numbers in
19080         tzselect.ksh.
19082         * Makefile (format-me): Remove.
19083         (INSTALL): Adjust indentation.  Use commands directly instead of
19084         using $(format-me).
19086         * aclocal.m4 (ACX_PKGVERSION): New macro.
19087         (ACX_BUGURL): Likewise.
19088         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19089         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19090         (REPORT_BUGS_TO): Likewise.
19091         * configure: Regenerated.
19092         * config.h.in (PKGVERSION): New macro.
19093         (REPORT_BUGS_TO): Likewise.
19094         * config.make.in (PKGVERSION): New variable.
19095         (PKGVERSION_TEXI): Likewise.
19096         (REPORT_BUGS_TO): Likewise.
19097         (REPORT_BUGS_TEXI): Likewise.
19098         * Makefile (format-me): Use -I$(common-objpfx)manual.
19099         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19100         ($(common-objpfx)manual/%): New target.
19101         (manual/%): Remove target.
19102         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19103         (print_version): Use PKGVERSION.
19104         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19105         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19106         and REPORT_BUGS_TO.
19107         ($(objpfx)xtrace): Likewise.
19108         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19109         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19110         (print_version): Use PKGVERSION.
19111         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19112         (do_version): Use PKGVERSION.
19113         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19114         REPORT_BUGS_TO.
19115         (common-ldd-rewrite): Likewise.
19116         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19117         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19118         (print_version): Use PKGVERSION.
19119         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19120         * elf/pldd.c (argp_program_bug_address): Remove variable.
19121         (more_help): New function.
19122         (argp): Use more_help.
19123         (print_version): Use PKGVERSION.
19124         * elf/sln.c (main): Use PKGVERSION.
19125         (usage): Use REPORT_BUGS_TO.
19126         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19127         (top level): Use PKGVERSION.
19128         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19129         (print_version): Use PKGVERSION.
19130         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19131         (print_version): Use PKGVERSION.
19132         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19133         (print_version): Use PKGVERSION.
19134         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19135         (print_version): Use PKGVERSION.
19136         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19137         (print_version): Use PKGVERSION.
19138         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19139         (print_version): Use PKGVERSION.
19140         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19141         and BUGURL.
19142         ($(objpfx)memusage): Likewise.
19143         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19144         (do_version): Use PKGVERSION.
19145         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19146         (print_version): Use PKGVERSION.
19147         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19148         ($PKGVERSION): New variable.
19149         ($REPORT_BUGS_TO): Likewise.
19150         (usage): Use $REPORT_BUGS_TO.
19151         (top level): Use $PKGVERSION.
19152         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19153         ($(objpfx)pkgvers.texi): New rule.
19154         ($(objpfx)stamp-pkgvers): Likewise.
19155         * manual/install.texi: Include pkgvers.texi.
19156         (--with-pkgversion): Document new configure option.
19157         (--with-bugurl): Likewise.
19158         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19159         than necessarily for this particular distribution.  Use
19160         REPORT_BUGS_TO for where to report bugs.
19161         * INSTALL: Regenerated.
19162         * manual/libc.texinfo: Include pkgvers.texi.
19163         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19164         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19165         (print_version): Use PKGVERSION.
19166         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19167         (print_version): Use PKGVERSION.
19168         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19169         (print_version): Use PKGVERSION.
19170         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19171         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19172         macro.
19173         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19174         (print_version): Use PKGVERSION.
19175         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19176         (print_version): Use PKGVERSION.
19177         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19178         and PKGVERSION.
19180         * timezone/checktab.awk: Update from tzcode 2012i.
19181         * timezone/ialloc.c: Likewise.
19182         * timezone/private.h: Likewise.
19183         * timezone/scheck.c: Likewise.
19184         * timezone/tzfile.h: Likewise.
19185         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19186         (TZVERSION): Hardcode tzcode version number.
19187         * timezone/zdump.c: Update from tzcode 2012i.
19188         * timezone/zic.c: Likewise.
19189         * timezone/version.h: New file.
19190         * timezone/README: Describe version.h.  Update upstream location.
19192         [BZ #14824]
19193         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19194         (mktemp): Enable declaration.
19195         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19197         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19199         Likewise.
19200         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19201         Likewise.
19202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19203         Likewise.
19204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19205         Likewise.
19206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19207         Likewise.
19208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19209         Likewise.
19211         [BZ #14821]
19212         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19213         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19214         for copies of such integer values.
19215         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19216         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19218 2012-11-09  Andreas Jaeger  <aj@suse.de>
19220         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19221         definitions and declarations that are provided by
19222         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19224 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19226         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19227         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19228         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19229         definition.
19231 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19233         * elf/elf.h: Update comment before AArch64 relocations.
19235 2012-11-07  David S. Miller  <davem@davemloft.net>
19237         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19238         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19239         (__start_context): Declare.
19240         (__makecontext_ret): Delete.
19241         (__makecontext): Hook up __start_context instead of
19242         __makecontext_ret.
19243         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19244         (sysdep_routines): Add __start_context when in stdlib.
19246 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19248         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19249         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19250         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19251         hardcoded "nm".
19252         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19253         (READELF): New variable.  Use it instead of hardcoded "readelf".
19255 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19257         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19258         * sysdeps/x86/Makefile: Here.
19259         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19260         * sysdeps/x86/tst-xmmymm.sh: This.
19262 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19264         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19265         expectations.
19266         [UNIX98] (pthread_barrier_t): Do not expect.
19267         [UNIX98] (pthread_barrierattr_t): Likewise.
19268         [UNIX98] (pthread_spinlock_t): Likewise.
19269         [UNIX98] (pthread_barrier_destroy): Likewise.
19270         [UNIX98] (pthread_barrier_init): Likewise.
19271         [UNIX98] (pthread_barrier_wait): Likewise.
19272         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19273         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19274         [UNIX98] (pthread_barrierattr_init): Likewise.
19275         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19276         [UNIX98] (pthread_getcpuclockid): Likewise.
19277         [UNIX98] (pthread_mutex_timedlock): Likewise.
19278         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19279         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19280         [UNIX98] (pthread_sigmask): Likewise.
19281         [UNIX98] (pthread_spin_destroy): Likewise.
19282         [UNIX98] (pthread_spin_init): Likewise.
19283         [UNIX98] (pthread_spin_lock): Likewise.
19284         [UNIX98] (pthread_spin_trylock): Likewise.
19285         [UNIX98] (pthread_spin_unlock): Likewise.
19286         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19287         Do not expect.
19288         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19289         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19290         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19291         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19292         [XPG3 || XPG4] (pthread_key_t): Likewise.
19293         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19294         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19295         [XPG3 || XPG4] (pthread_once_t): Likewise.
19296         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19297         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19298         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19299         [XPG3 || XPG4] (pthread_t): Likewise.
19301         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19302         not expect.
19303         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19305         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19306         Change function return type to int.
19308         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19309         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19310         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19311         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19312         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19313         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19314         [!POSIX] (posix_madvise): Likewise.
19315         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19316         && !UNIX98].
19317         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19318         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19319         (mode_t): Likewise.
19320         (posix_mem_offset): Likewise.
19321         (posix_typed_mem_get_info): Likewise.
19322         (posix_typed_mem_open): Likewise.
19324         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19325         Change condition to [XOPEN2K8].
19327         * conform/conformtest.pl: Preprocess allow-header data with -x c
19328         instead of from stdin.
19329         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19330         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19331         [C99-based standards] (cerfc): Likewise.
19332         [C99-based standards] (cexp2): Likewise.
19333         [C99-based standards] (cexpm1): Likewise.
19334         [C99-based standards] (clog10): Likewise.
19335         [C99-based standards] (clog1p): Likewise.
19336         [C99-based standards] (clog2): Likewise.
19337         [C99-based standards] (clgamma): Likewise.
19338         [C99-based standards] (ctgamma): Likewise.
19339         [C99-based standards] (cerff): Likewise.
19340         [C99-based standards] (cerfcf): Likewise.
19341         [C99-based standards] (cexp2f): Likewise.
19342         [C99-based standards] (cexpm1f): Likewise.
19343         [C99-based standards] (clog10f): Likewise.
19344         [C99-based standards] (clog1pf): Likewise.
19345         [C99-based standards] (clog2f): Likewise.
19346         [C99-based standards] (clgammaf): Likewise.
19347         [C99-based standards] (ctgammaf): Likewise.
19348         [C99-based standards] (cerfl): Likewise.
19349         [C99-based standards] (cerfcl): Likewise.
19350         [C99-based standards] (cexp2l): Likewise.
19351         [C99-based standards] (cexpm1l): Likewise.
19352         [C99-based standards] (clog10l): Likewise.
19353         [C99-based standards] (clog1pl): Likewise.
19354         [C99-based standards] (clog2l): Likewise.
19355         [C99-based standards] (clgammal): Likewise.
19356         [C99-based standards] (ctgammal): Likewise.
19357         * conform/data/inttypes.h-data [C99-based standards]: Include
19358         stdint.h-data.  Remove all expectations for stdint.h contents.
19359         [C99-based standards] (PRI*): Do not allow.
19360         [C99-based standards] (SCN*): Likewise.
19361         [C99-based standards] (*_t): Likewise.
19362         [C99-based-standards] (PRId8): Expect macro.
19363         [C99-based-standards] (PRIi8): Likewise.
19364         [C99-based-standards] (PRIo8): Likewise.
19365         [C99-based-standards] (PRIu8): Likewise.
19366         [C99-based-standards] (PRIx8): Likewise.
19367         [C99-based-standards] (PRIX8): Likewise.
19368         [C99-based-standards] (SCNd8): Likewise.
19369         [C99-based-standards] (SCNi8): Likewise.
19370         [C99-based-standards] (SCNo8): Likewise.
19371         [C99-based-standards] (SCNu8): Likewise.
19372         [C99-based-standards] (SCNx8): Likewise.
19373         [C99-based-standards] (PRIdLEAST8): Likewise.
19374         [C99-based-standards] (PRIiLEAST8): Likewise.
19375         [C99-based-standards] (PRIoLEAST8): Likewise.
19376         [C99-based-standards] (PRIuLEAST8): Likewise.
19377         [C99-based-standards] (PRIxLEAST8): Likewise.
19378         [C99-based-standards] (PRIXLEAST8): Likewise.
19379         [C99-based-standards] (SCNdLEAST8): Likewise.
19380         [C99-based-standards] (SCNiLEAST8): Likewise.
19381         [C99-based-standards] (SCNoLEAST8): Likewise.
19382         [C99-based-standards] (SCNuLEAST8): Likewise.
19383         [C99-based-standards] (SCNxLEAST8): Likewise.
19384         [C99-based-standards] (PRIdFAST8): Likewise.
19385         [C99-based-standards] (PRIiFAST8): Likewise.
19386         [C99-based-standards] (PRIoFAST8): Likewise.
19387         [C99-based-standards] (PRIuFAST8): Likewise.
19388         [C99-based-standards] (PRIxFAST8): Likewise.
19389         [C99-based-standards] (PRIXFAST8): Likewise.
19390         [C99-based-standards] (SCNdFAST8): Likewise.
19391         [C99-based-standards] (SCNiFAST8): Likewise.
19392         [C99-based-standards] (SCNoFAST8): Likewise.
19393         [C99-based-standards] (SCNuFAST8): Likewise.
19394         [C99-based-standards] (SCNxFAST8): Likewise.
19395         [C99-based-standards] (PRId16): Likewise.
19396         [C99-based-standards] (PRIi16): Likewise.
19397         [C99-based-standards] (PRIo16): Likewise.
19398         [C99-based-standards] (PRIu16): Likewise.
19399         [C99-based-standards] (PRIx16): Likewise.
19400         [C99-based-standards] (PRIX16): Likewise.
19401         [C99-based-standards] (SCNd16): Likewise.
19402         [C99-based-standards] (SCNi16): Likewise.
19403         [C99-based-standards] (SCNo16): Likewise.
19404         [C99-based-standards] (SCNu16): Likewise.
19405         [C99-based-standards] (SCNx16): Likewise.
19406         [C99-based-standards] (PRIdLEAST16): Likewise.
19407         [C99-based-standards] (PRIiLEAST16): Likewise.
19408         [C99-based-standards] (PRIoLEAST16): Likewise.
19409         [C99-based-standards] (PRIuLEAST16): Likewise.
19410         [C99-based-standards] (PRIxLEAST16): Likewise.
19411         [C99-based-standards] (PRIXLEAST16): Likewise.
19412         [C99-based-standards] (SCNdLEAST16): Likewise.
19413         [C99-based-standards] (SCNiLEAST16): Likewise.
19414         [C99-based-standards] (SCNoLEAST16): Likewise.
19415         [C99-based-standards] (SCNuLEAST16): Likewise.
19416         [C99-based-standards] (SCNxLEAST16): Likewise.
19417         [C99-based-standards] (PRIdFAST16): Likewise.
19418         [C99-based-standards] (PRIiFAST16): Likewise.
19419         [C99-based-standards] (PRIoFAST16): Likewise.
19420         [C99-based-standards] (PRIuFAST16): Likewise.
19421         [C99-based-standards] (PRIxFAST16): Likewise.
19422         [C99-based-standards] (PRIXFAST16): Likewise.
19423         [C99-based-standards] (SCNdFAST16): Likewise.
19424         [C99-based-standards] (SCNiFAST16): Likewise.
19425         [C99-based-standards] (SCNoFAST16): Likewise.
19426         [C99-based-standards] (SCNuFAST16): Likewise.
19427         [C99-based-standards] (SCNxFAST16): Likewise.
19428         [C99-based-standards] (PRId32): Likewise.
19429         [C99-based-standards] (PRIi32): Likewise.
19430         [C99-based-standards] (PRIo32): Likewise.
19431         [C99-based-standards] (PRIu32): Likewise.
19432         [C99-based-standards] (PRIx32): Likewise.
19433         [C99-based-standards] (PRIX32): Likewise.
19434         [C99-based-standards] (SCNd32): Likewise.
19435         [C99-based-standards] (SCNi32): Likewise.
19436         [C99-based-standards] (SCNo32): Likewise.
19437         [C99-based-standards] (SCNu32): Likewise.
19438         [C99-based-standards] (SCNx32): Likewise.
19439         [C99-based-standards] (PRIdLEAST32): Likewise.
19440         [C99-based-standards] (PRIiLEAST32): Likewise.
19441         [C99-based-standards] (PRIoLEAST32): Likewise.
19442         [C99-based-standards] (PRIuLEAST32): Likewise.
19443         [C99-based-standards] (PRIxLEAST32): Likewise.
19444         [C99-based-standards] (PRIXLEAST32): Likewise.
19445         [C99-based-standards] (SCNdLEAST32): Likewise.
19446         [C99-based-standards] (SCNiLEAST32): Likewise.
19447         [C99-based-standards] (SCNoLEAST32): Likewise.
19448         [C99-based-standards] (SCNuLEAST32): Likewise.
19449         [C99-based-standards] (SCNxLEAST32): Likewise.
19450         [C99-based-standards] (PRIdFAST32): Likewise.
19451         [C99-based-standards] (PRIiFAST32): Likewise.
19452         [C99-based-standards] (PRIoFAST32): Likewise.
19453         [C99-based-standards] (PRIuFAST32): Likewise.
19454         [C99-based-standards] (PRIxFAST32): Likewise.
19455         [C99-based-standards] (PRIXFAST32): Likewise.
19456         [C99-based-standards] (SCNdFAST32): Likewise.
19457         [C99-based-standards] (SCNiFAST32): Likewise.
19458         [C99-based-standards] (SCNoFAST32): Likewise.
19459         [C99-based-standards] (SCNuFAST32): Likewise.
19460         [C99-based-standards] (SCNxFAST32): Likewise.
19461         [C99-based-standards] (PRId64): Likewise.
19462         [C99-based-standards] (PRIi64): Likewise.
19463         [C99-based-standards] (PRIo64): Likewise.
19464         [C99-based-standards] (PRIu64): Likewise.
19465         [C99-based-standards] (PRIx64): Likewise.
19466         [C99-based-standards] (PRIX64): Likewise.
19467         [C99-based-standards] (SCNd64): Likewise.
19468         [C99-based-standards] (SCNi64): Likewise.
19469         [C99-based-standards] (SCNo64): Likewise.
19470         [C99-based-standards] (SCNu64): Likewise.
19471         [C99-based-standards] (SCNx64): Likewise.
19472         [C99-based-standards] (PRIdLEAST64): Likewise.
19473         [C99-based-standards] (PRIiLEAST64): Likewise.
19474         [C99-based-standards] (PRIoLEAST64): Likewise.
19475         [C99-based-standards] (PRIuLEAST64): Likewise.
19476         [C99-based-standards] (PRIxLEAST64): Likewise.
19477         [C99-based-standards] (PRIXLEAST64): Likewise.
19478         [C99-based-standards] (SCNdLEAST64): Likewise.
19479         [C99-based-standards] (SCNiLEAST64): Likewise.
19480         [C99-based-standards] (SCNoLEAST64): Likewise.
19481         [C99-based-standards] (SCNuLEAST64): Likewise.
19482         [C99-based-standards] (SCNxLEAST64): Likewise.
19483         [C99-based-standards] (PRIdFAST64): Likewise.
19484         [C99-based-standards] (PRIiFAST64): Likewise.
19485         [C99-based-standards] (PRIoFAST64): Likewise.
19486         [C99-based-standards] (PRIuFAST64): Likewise.
19487         [C99-based-standards] (PRIxFAST64): Likewise.
19488         [C99-based-standards] (PRIXFAST64): Likewise.
19489         [C99-based-standards] (SCNdFAST64): Likewise.
19490         [C99-based-standards] (SCNiFAST64): Likewise.
19491         [C99-based-standards] (SCNoFAST64): Likewise.
19492         [C99-based-standards] (SCNuFAST64): Likewise.
19493         [C99-based-standards] (SCNxFAST64): Likewise.
19494         [C99-based-standards] (PRIdMAX): Likewise.
19495         [C99-based-standards] (PRIiMAX): Likewise.
19496         [C99-based-standards] (PRIoMAX): Likewise.
19497         [C99-based-standards] (PRIuMAX): Likewise.
19498         [C99-based-standards] (PRIxMAX): Likewise.
19499         [C99-based-standards] (PRIXMAX): Likewise.
19500         [C99-based-standards] (SCNdMAX): Likewise.
19501         [C99-based-standards] (SCNiMAX): Likewise.
19502         [C99-based-standards] (SCNoMAX): Likewise.
19503         [C99-based-standards] (SCNuMAX): Likewise.
19504         [C99-based-standards] (SCNxMAX): Likewise.
19505         [C99-based-standards] (PRIdPTR): Likewise.
19506         [C99-based-standards] (PRIiPTR): Likewise.
19507         [C99-based-standards] (PRIoPTR): Likewise.
19508         [C99-based-standards] (PRIuPTR): Likewise.
19509         [C99-based-standards] (PRIxPTR): Likewise.
19510         [C99-based-standards] (PRIXPTR): Likewise.
19511         [C99-based-standards] (SCNdPTR): Likewise.
19512         [C99-based-standards] (SCNiPTR): Likewise.
19513         [C99-based-standards] (SCNoPTR): Likewise.
19514         [C99-based-standards] (SCNuPTR): Likewise.
19515         [C99-based-standards] (SCNxPTR): Likewise.
19516         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
19517         allow.
19518         * conform/data/stdint.h-data: Update comments to clarify
19519         requirements.
19520         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
19521         type.
19522         [C99-based standards] (INT8_MAX): Likewise.
19523         [C99-based standards] (INT16_MIN): Likewise.
19524         [C99-based standards] (INT16_MAX): Likewise.
19525         [C99-based standards] (INT32_MIN): Likewise.
19526         [C99-based standards] (INT32_MAX): Likewise.
19527         [C99-based standards] (INT64_MIN): Likewise.
19528         [C99-based standards] (INT64_MAX): Likewise.
19529         [C99-based standards] (UINT8_MAX): Likewise.
19530         [C99-based standards] (UINT16_MAX): Likewise.
19531         [C99-based standards] (UINT32_MAX): Likewise.
19532         [C99-based standards] (UINT64_MAX): Likewise.
19533         [C99-based standards] (INT_LEAST8_MIN): Likewise.
19534         [C99-based standards] (INT_LEAST8_MAX): Likewise.
19535         [C99-based standards] (INT_LEAST16_MIN): Likewise.
19536         [C99-based standards] (INT_LEAST16_MAX): Likewise.
19537         [C99-based standards] (INT_LEAST32_MIN): Likewise.
19538         [C99-based standards] (INT_LEAST32_MAX): Likewise.
19539         [C99-based standards] (INT_LEAST64_MIN): Likewise.
19540         [C99-based standards] (INT_LEAST64_MAX): Likewise.
19541         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
19542         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
19543         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
19544         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
19545         [C99-based standards] (INT_FAST8_MIN): Likewise.
19546         [C99-based standards] (INT_FAST8_MAX): Likewise.
19547         [C99-based standards] (INT_FAST16_MIN): Likewise.
19548         [C99-based standards] (INT_FAST16_MAX): Likewise.
19549         [C99-based standards] (INT_FAST32_MIN): Likewise.
19550         [C99-based standards] (INT_FAST32_MAX): Likewise.
19551         [C99-based standards] (INT_FAST64_MIN): Likewise.
19552         [C99-based standards] (INT_FAST64_MAX): Likewise.
19553         [C99-based standards] (UINT_FAST8_MAX): Likewise.
19554         [C99-based standards] (UINT_FAST16_MAX): Likewise.
19555         [C99-based standards] (UINT_FAST32_MAX): Likewise.
19556         [C99-based standards] (UINT_FAST64_MAX): Likewise.
19557         [C99-based standards] (INTPTR_MIN): Likewise.
19558         [C99-based standards] (INTPTR_MAX): Likewise.
19559         [C99-based standards] (UINTPTR_MAX): Likewise.
19560         [C99-based standards] (INTMAX_MIN): Likewise.
19561         [C99-based standards] (INTMAX_MAX): Likewise.
19562         [C99-based standards] (UINTMAX_MAX): Likewise.
19563         [C99-based standards] (PTRDIFF_MIN): Likewise.
19564         [C99-based standards] (PTRDIFF_MAX): Likewise.
19565         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
19566         [C99-based standards] (SIZE_MAX): Likewise.
19567         [C99-based standards] (WCHAR_MAX): Likewise.
19568         [C99-based standards] (WINT_MAX): Likewise.
19569         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
19570         constraint on value.
19571         [C99-based standards] (WCHAR_MIN): Likewise.
19572         [C99-based standards] (WINT_MIN): Likewise.
19573         [C99-based standards] (*_t): Allow.
19574         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
19575         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
19576         Include math.h-data and complex.h-data.  Remove all expectations
19577         of math.h and complex.h contents.
19578         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
19579         at end of line.
19580         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
19581         (struct tm): Expect tag.
19582         [C99-based-standards] (wcstof): Expect function.
19583         [C99-based-standards] (wcstold): Likewise.
19584         [C99-based-standards] (wcstoll): Likewise.
19585         [C99-based-standards] (wcstoull): Likewise.
19586         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
19587         macro-int-constant.  Specify type.
19588         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
19589         constraint on value.
19590         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19591         Specify type.
19592         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
19593         Specify value.
19594         [ISO C standards]: Do not allow headers.
19595         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
19596         wcs[abcdefghijklmnopqrstuvwxyz]*.
19597         [ISO C standards] (*_t): Do not allow.
19598         * conform/data/wctype.h-data [C99-based standards] (iswblank):
19599         Expect function.
19600         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
19601         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19602         Specify type.
19603         [ISO C standards]: Do not allow headers.
19604         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
19605         is[abcdefghijklmnopqrstuvwxyz]*.
19606         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
19607         to[abcdefghijklmnopqrstuvwxyz]*.
19608         [ISO C standards] (*_t): Do not allow.
19609         * conform/data/stdalign.h-data: New file.
19610         * conform/data/stdbool.h-data: Likewise.
19611         * conform/data/stdnoreturn.h-data: Likewise.
19613 2012-11-07  Roland McGrath  <roland@hack.frob.com>
19615         [BZ #14815]
19616         * manual/filesys.texi (Directory Entries): Typo fix.
19617         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
19619 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19621         * elf/elf.h (EM_AARCH64): New macro.
19622         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19623         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
19624         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
19625         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
19626         (R_AARCH64_TLSDESC): Likewise.
19627         (NT_ARM_TLS): Likewise.
19628         (NT_ARM_HW_BREAK): Likewise.
19629         (NT_ARM_HW_WATCH): Likewise.
19631 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19633         [BZ #14811]
19634         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
19635         (__ieee754_powl): Saturate nonzero exponents with absolute value
19636         below 0x1p-79 to +/- 0x1p-79.
19637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
19638         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
19639         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
19640         nonzero exponents with absolute value below 0x1p-32 to +/-
19641         0x1p-32.
19642         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
19643         (__ieee754_powl): Saturate nonzero exponents with absolute value
19644         below 0x1p-79 to +/- 0x1p-79.
19645         * math/libm-test.inc (pow_test): Add more tests.
19647 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19649         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
19650         _dl_s390_cap_flags with kernel. Increase string length.
19651         (_dl_s390_platforms): Add z196 and zEC12.
19653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19655         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
19656         Change XOPEN21K to XOPEN2K.
19658 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
19660         * string/memmove.c: Use memcpy when possible.
19662 2012-11-06  Andreas Jaeger  <aj@suse.de>
19664         * po/eo.po: Update from translation team.
19666 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
19668         [BZ #14793]
19669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
19670         exponent and small x and y exponents, scale x or y up.  Increase
19671         by 2 the exponent used in scaling up.
19672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19674         * math/libm-test.inc (fma_test): Add more tests.
19675         (fma_test_towardzero): Likewise.
19676         (fma_test_downward): Likewise.
19677         (fma_test_upward): Likewise.
19679 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #14805]
19682         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19683         fenv_t *.
19685         [BZ #14801]
19686         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19687         namespace for names of struct fields.
19688         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19689         fenv_t fields.
19690         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19691         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19693 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19695         [BZ #3665]
19696         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19698 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19700         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19701         PTR_DEMANGLE.
19703         [BZ #5246]
19704         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19705         PTR_DEMANGLE.
19707 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
19709         [BZ #14797]
19710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19711         definitely overflow as x * y not x * y + z.
19712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19714         * math/libm-test.inc (fma_test): Add more tests.
19715         (fma_test_towardzero): Likewise.
19716         (fma_test_downward): Likewise.
19717         (fma_test_upward): Likewise.
19719 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19721         [BZ #157]
19723         * include/stub-tag.h: Remove file.
19724         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19725         '#include' of it.
19726         * manual/maint.texi (Porting): Don't reference it.
19727         * Makerules ($(objpfx)stubs): Likewise.
19728         * dirent/closedir.c: Don't include <stub-tag.h>.
19729         * dirent/dirfd.c: Likewise.
19730         * dirent/fdopendir.c: Likewise.
19731         * dirent/getdents.c: Likewise.
19732         * dirent/getdents64.c: Likewise.
19733         * dirent/opendir.c: Likewise.
19734         * dirent/readdir.c: Likewise.
19735         * dirent/readdir64.c: Likewise.
19736         * dirent/readdir64_r.c: Likewise.
19737         * dirent/readdir_r.c: Likewise.
19738         * dirent/rewinddir.c: Likewise.
19739         * dirent/seekdir.c: Likewise.
19740         * dirent/telldir.c: Likewise.
19741         * gmon/profil.c: Likewise.
19742         * grp/setgroups.c: Likewise.
19743         * inet/if_index.c: Likewise.
19744         * io/access.c: Likewise.
19745         * io/chdir.c: Likewise.
19746         * io/chmod.c: Likewise.
19747         * io/chown.c: Likewise.
19748         * io/close.c: Likewise.
19749         * io/dup.c: Likewise.
19750         * io/dup2.c: Likewise.
19751         * io/dup3.c: Likewise.
19752         * io/euidaccess.c: Likewise.
19753         * io/faccessat.c: Likewise.
19754         * io/fchdir.c: Likewise.
19755         * io/fchmod.c: Likewise.
19756         * io/fchmodat.c: Likewise.
19757         * io/fchown.c: Likewise.
19758         * io/fchownat.c: Likewise.
19759         * io/fcntl.c: Likewise.
19760         * io/flock.c: Likewise.
19761         * io/fstatfs.c: Likewise.
19762         * io/fstatfs64.c: Likewise.
19763         * io/fstatvfs.c: Likewise.
19764         * io/fstatvfs64.c: Likewise.
19765         * io/futimens.c: Likewise.
19766         * io/fxstat.c: Likewise.
19767         * io/fxstat64.c: Likewise.
19768         * io/fxstatat.c: Likewise.
19769         * io/fxstatat64.c: Likewise.
19770         * io/getcwd.c: Likewise.
19771         * io/isatty.c: Likewise.
19772         * io/lchmod.c: Likewise.
19773         * io/lchown.c: Likewise.
19774         * io/link.c: Likewise.
19775         * io/linkat.c: Likewise.
19776         * io/lseek.c: Likewise.
19777         * io/lseek64.c: Likewise.
19778         * io/lxstat64.c: Likewise.
19779         * io/mkdir.c: Likewise.
19780         * io/mkdirat.c: Likewise.
19781         * io/mkfifo.c: Likewise.
19782         * io/mkfifoat.c: Likewise.
19783         * io/open.c: Likewise.
19784         * io/open64.c: Likewise.
19785         * io/openat.c: Likewise.
19786         * io/openat64.c: Likewise.
19787         * io/pipe.c: Likewise.
19788         * io/pipe2.c: Likewise.
19789         * io/poll.c: Likewise.
19790         * io/posix_fadvise.c: Likewise.
19791         * io/posix_fadvise64.c: Likewise.
19792         * io/posix_fallocate.c: Likewise.
19793         * io/posix_fallocate64.c: Likewise.
19794         * io/read.c: Likewise.
19795         * io/readlink.c: Likewise.
19796         * io/readlinkat.c: Likewise.
19797         * io/rmdir.c: Likewise.
19798         * io/sendfile.c: Likewise.
19799         * io/sendfile64.c: Likewise.
19800         * io/statfs.c: Likewise.
19801         * io/statfs64.c: Likewise.
19802         * io/statvfs.c: Likewise.
19803         * io/statvfs64.c: Likewise.
19804         * io/symlink.c: Likewise.
19805         * io/symlinkat.c: Likewise.
19806         * io/ttyname.c: Likewise.
19807         * io/ttyname_r.c: Likewise.
19808         * io/umask.c: Likewise.
19809         * io/unlink.c: Likewise.
19810         * io/unlinkat.c: Likewise.
19811         * io/utime.c: Likewise.
19812         * io/utimensat.c: Likewise.
19813         * io/write.c: Likewise.
19814         * io/xmknod.c: Likewise.
19815         * io/xmknodat.c: Likewise.
19816         * io/xstat.c: Likewise.
19817         * io/xstat64.c: Likewise.
19818         * login/getpt.c: Likewise.
19819         * login/grantpt.c: Likewise.
19820         * login/unlockpt.c: Likewise.
19821         * math/e_acoshl.c: Likewise.
19822         * math/e_acosl.c: Likewise.
19823         * math/e_asinl.c: Likewise.
19824         * math/e_atan2l.c: Likewise.
19825         * math/e_atanhl.c: Likewise.
19826         * math/e_coshl.c: Likewise.
19827         * math/e_expl.c: Likewise.
19828         * math/e_fmodl.c: Likewise.
19829         * math/e_gammal_r.c: Likewise.
19830         * math/e_hypotl.c: Likewise.
19831         * math/e_j0l.c: Likewise.
19832         * math/e_j1l.c: Likewise.
19833         * math/e_jnl.c: Likewise.
19834         * math/e_lgammal_r.c: Likewise.
19835         * math/e_log10l.c: Likewise.
19836         * math/e_log2l.c: Likewise.
19837         * math/e_logl.c: Likewise.
19838         * math/e_powl.c: Likewise.
19839         * math/e_rem_pio2l.c: Likewise.
19840         * math/e_sinhl.c: Likewise.
19841         * math/e_sqrtl.c: Likewise.
19842         * math/fclrexcpt.c: Likewise.
19843         * math/fedisblxcpt.c: Likewise.
19844         * math/feenablxcpt.c: Likewise.
19845         * math/fegetenv.c: Likewise.
19846         * math/fegetexcept.c: Likewise.
19847         * math/fegetround.c: Likewise.
19848         * math/feholdexcpt.c: Likewise.
19849         * math/fesetenv.c: Likewise.
19850         * math/fesetround.c: Likewise.
19851         * math/feupdateenv.c: Likewise.
19852         * math/fgetexcptflg.c: Likewise.
19853         * math/fraiseexcpt.c: Likewise.
19854         * math/fsetexcptflg.c: Likewise.
19855         * math/ftestexcept.c: Likewise.
19856         * math/k_cosl.c: Likewise.
19857         * math/k_rem_pio2l.c: Likewise.
19858         * math/k_sinl.c: Likewise.
19859         * math/k_tanl.c: Likewise.
19860         * math/s_asinhl.c: Likewise.
19861         * math/s_atanl.c: Likewise.
19862         * math/s_cbrtl.c: Likewise.
19863         * math/s_erfl.c: Likewise.
19864         * math/s_expm1l.c: Likewise.
19865         * math/s_log1pl.c: Likewise.
19866         * math/s_tanhl.c: Likewise.
19867         * misc/acct.c: Likewise.
19868         * misc/brk.c: Likewise.
19869         * misc/chflags.c: Likewise.
19870         * misc/chroot.c: Likewise.
19871         * misc/fchflags.c: Likewise.
19872         * misc/fgetxattr.c: Likewise.
19873         * misc/flistxattr.c: Likewise.
19874         * misc/fremovexattr.c: Likewise.
19875         * misc/fsetxattr.c: Likewise.
19876         * misc/fsync.c: Likewise.
19877         * misc/ftruncate.c: Likewise.
19878         * misc/futimes.c: Likewise.
19879         * misc/futimesat.c: Likewise.
19880         * misc/getdomain.c: Likewise.
19881         * misc/getdtsz.c: Likewise.
19882         * misc/gethostid.c: Likewise.
19883         * misc/gethostname.c: Likewise.
19884         * misc/getloadavg.c: Likewise.
19885         * misc/getpagesize.c: Likewise.
19886         * misc/getsysstats.c: Likewise.
19887         * misc/getxattr.c: Likewise.
19888         * misc/gtty.c: Likewise.
19889         * misc/ioctl.c: Likewise.
19890         * misc/lgetxattr.c: Likewise.
19891         * misc/listxattr.c: Likewise.
19892         * misc/llistxattr.c: Likewise.
19893         * misc/lremovexattr.c: Likewise.
19894         * misc/lsetxattr.c: Likewise.
19895         * misc/lutimes.c: Likewise.
19896         * misc/madvise.c: Likewise.
19897         * misc/mincore.c: Likewise.
19898         * misc/mlock.c: Likewise.
19899         * misc/mlockall.c: Likewise.
19900         * misc/mmap.c: Likewise.
19901         * misc/mprotect.c: Likewise.
19902         * misc/msync.c: Likewise.
19903         * misc/munlock.c: Likewise.
19904         * misc/munlockall.c: Likewise.
19905         * misc/munmap.c: Likewise.
19906         * misc/preadv.c: Likewise.
19907         * misc/preadv64.c: Likewise.
19908         * misc/ptrace.c: Likewise.
19909         * misc/pwritev.c: Likewise.
19910         * misc/pwritev64.c: Likewise.
19911         * misc/readv.c: Likewise.
19912         * misc/reboot.c: Likewise.
19913         * misc/remap_file_pages.c: Likewise.
19914         * misc/removexattr.c: Likewise.
19915         * misc/revoke.c: Likewise.
19916         * misc/select.c: Likewise.
19917         * misc/setdomain.c: Likewise.
19918         * misc/setegid.c: Likewise.
19919         * misc/seteuid.c: Likewise.
19920         * misc/sethostid.c: Likewise.
19921         * misc/sethostname.c: Likewise.
19922         * misc/setregid.c: Likewise.
19923         * misc/setreuid.c: Likewise.
19924         * misc/setxattr.c: Likewise.
19925         * misc/sstk.c: Likewise.
19926         * misc/stty.c: Likewise.
19927         * misc/swapoff.c: Likewise.
19928         * misc/swapon.c: Likewise.
19929         * misc/sync.c: Likewise.
19930         * misc/syncfs.c: Likewise.
19931         * misc/syscall.c: Likewise.
19932         * misc/truncate.c: Likewise.
19933         * misc/ualarm.c: Likewise.
19934         * misc/usleep.c: Likewise.
19935         * misc/ustat.c: Likewise.
19936         * misc/utimes.c: Likewise.
19937         * misc/vhangup.c: Likewise.
19938         * misc/writev.c: Likewise.
19939         * posix/_exit.c: Likewise.
19940         * posix/alarm.c: Likewise.
19941         * posix/execve.c: Likewise.
19942         * posix/fexecve.c: Likewise.
19943         * posix/fork.c: Likewise.
19944         * posix/fpathconf.c: Likewise.
19945         * posix/getaddrinfo.c: Likewise.
19946         * posix/getegid.c: Likewise.
19947         * posix/geteuid.c: Likewise.
19948         * posix/getgid.c: Likewise.
19949         * posix/getgroups.c: Likewise.
19950         * posix/getlogin.c: Likewise.
19951         * posix/getlogin_r.c: Likewise.
19952         * posix/getpgid.c: Likewise.
19953         * posix/getpid.c: Likewise.
19954         * posix/getppid.c: Likewise.
19955         * posix/getresgid.c: Likewise.
19956         * posix/getresuid.c: Likewise.
19957         * posix/getsid.c: Likewise.
19958         * posix/getuid.c: Likewise.
19959         * posix/glob64.c: Likewise.
19960         * posix/nanosleep.c: Likewise.
19961         * posix/pathconf.c: Likewise.
19962         * posix/pause.c: Likewise.
19963         * posix/posix_madvise.c: Likewise.
19964         * posix/pread.c: Likewise.
19965         * posix/pread64.c: Likewise.
19966         * posix/pwrite.c: Likewise.
19967         * posix/pwrite64.c: Likewise.
19968         * posix/sched_getaffinity.c: Likewise.
19969         * posix/sched_getp.c: Likewise.
19970         * posix/sched_gets.c: Likewise.
19971         * posix/sched_primax.c: Likewise.
19972         * posix/sched_primin.c: Likewise.
19973         * posix/sched_rr_gi.c: Likewise.
19974         * posix/sched_setaffinity.c: Likewise.
19975         * posix/sched_setp.c: Likewise.
19976         * posix/sched_sets.c: Likewise.
19977         * posix/sched_yield.c: Likewise.
19978         * posix/setgid.c: Likewise.
19979         * posix/setlogin.c: Likewise.
19980         * posix/setpgid.c: Likewise.
19981         * posix/setresgid.c: Likewise.
19982         * posix/setresuid.c: Likewise.
19983         * posix/setsid.c: Likewise.
19984         * posix/setuid.c: Likewise.
19985         * posix/sleep.c: Likewise.
19986         * posix/spawni.c: Likewise.
19987         * posix/sysconf.c: Likewise.
19988         * posix/times.c: Likewise.
19989         * posix/wait.c: Likewise.
19990         * posix/wait3.c: Likewise.
19991         * posix/wait4.c: Likewise.
19992         * posix/waitpid.c: Likewise.
19993         * resolv/gai_sigqueue.c: Likewise.
19994         * resource/getpriority.c: Likewise.
19995         * resource/getrlimit.c: Likewise.
19996         * resource/getrusage.c: Likewise.
19997         * resource/nice.c: Likewise.
19998         * resource/setpriority.c: Likewise.
19999         * resource/setrlimit.c: Likewise.
20000         * resource/ulimit.c: Likewise.
20001         * rt/aio_cancel.c: Likewise.
20002         * rt/aio_fsync.c: Likewise.
20003         * rt/aio_read.c: Likewise.
20004         * rt/aio_sigqueue.c: Likewise.
20005         * rt/aio_suspend.c: Likewise.
20006         * rt/aio_write.c: Likewise.
20007         * rt/clock_getres.c: Likewise.
20008         * rt/clock_gettime.c: Likewise.
20009         * rt/clock_nanosleep.c: Likewise.
20010         * rt/clock_settime.c: Likewise.
20011         * rt/lio_listio.c: Likewise.
20012         * rt/mq_close.c: Likewise.
20013         * rt/mq_getattr.c: Likewise.
20014         * rt/mq_notify.c: Likewise.
20015         * rt/mq_open.c: Likewise.
20016         * rt/mq_receive.c: Likewise.
20017         * rt/mq_send.c: Likewise.
20018         * rt/mq_setattr.c: Likewise.
20019         * rt/mq_timedreceive.c: Likewise.
20020         * rt/mq_timedsend.c: Likewise.
20021         * rt/mq_unlink.c: Likewise.
20022         * rt/shm_open.c: Likewise.
20023         * rt/shm_unlink.c: Likewise.
20024         * rt/timer_create.c: Likewise.
20025         * rt/timer_delete.c: Likewise.
20026         * rt/timer_getoverr.c: Likewise.
20027         * rt/timer_gettime.c: Likewise.
20028         * rt/timer_settime.c: Likewise.
20029         * setjmp/__longjmp.c: Likewise.
20030         * setjmp/setjmp.c: Likewise.
20031         * signal/kill.c: Likewise.
20032         * signal/killpg.c: Likewise.
20033         * signal/raise.c: Likewise.
20034         * signal/sigaction.c: Likewise.
20035         * signal/sigaltstack.c: Likewise.
20036         * signal/sigblock.c: Likewise.
20037         * signal/sigignore.c: Likewise.
20038         * signal/sigintr.c: Likewise.
20039         * signal/signal.c: Likewise.
20040         * signal/sigpause.c: Likewise.
20041         * signal/sigpending.c: Likewise.
20042         * signal/sigqueue.c: Likewise.
20043         * signal/sigreturn.c: Likewise.
20044         * signal/sigset.c: Likewise.
20045         * signal/sigsetmask.c: Likewise.
20046         * signal/sigstack.c: Likewise.
20047         * signal/sigsuspend.c: Likewise.
20048         * signal/sigtimedwait.c: Likewise.
20049         * signal/sigvec.c: Likewise.
20050         * signal/sigwait.c: Likewise.
20051         * signal/sigwaitinfo.c: Likewise.
20052         * signal/sysv_signal.c: Likewise.
20053         * socket/accept.c: Likewise.
20054         * socket/accept4.c: Likewise.
20055         * socket/bind.c: Likewise.
20056         * socket/connect.c: Likewise.
20057         * socket/getpeername.c: Likewise.
20058         * socket/getsockname.c: Likewise.
20059         * socket/getsockopt.c: Likewise.
20060         * socket/isfdtype.c: Likewise.
20061         * socket/listen.c: Likewise.
20062         * socket/recv.c: Likewise.
20063         * socket/recvfrom.c: Likewise.
20064         * socket/recvmsg.c: Likewise.
20065         * socket/send.c: Likewise.
20066         * socket/sendmsg.c: Likewise.
20067         * socket/sendto.c: Likewise.
20068         * socket/setsockopt.c: Likewise.
20069         * socket/shutdown.c: Likewise.
20070         * socket/sockatmark.c: Likewise.
20071         * socket/socket.c: Likewise.
20072         * socket/socketpair.c: Likewise.
20073         * stdio-common/ctermid.c: Likewise.
20074         * stdio-common/cuserid.c: Likewise.
20075         * stdio-common/remove.c: Likewise.
20076         * stdio-common/rename.c: Likewise.
20077         * stdio-common/renameat.c: Likewise.
20078         * stdio-common/tempname.c: Likewise.
20079         * stdlib/getcontext.c: Likewise.
20080         * stdlib/makecontext.c: Likewise.
20081         * stdlib/setcontext.c: Likewise.
20082         * stdlib/swapcontext.c: Likewise.
20083         * stdlib/system.c: Likewise.
20084         * streams/fattach.c: Likewise.
20085         * streams/fdetach.c: Likewise.
20086         * streams/getmsg.c: Likewise.
20087         * streams/getpmsg.c: Likewise.
20088         * streams/putmsg.c: Likewise.
20089         * streams/putpmsg.c: Likewise.
20090         * sysdeps/unix/bsd/getpt.c: Likewise.
20091         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20092         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20093         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20095         Likewise.
20096         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20097         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20098         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20099         * sysvipc/msgctl.c: Likewise.
20100         * sysvipc/msgget.c: Likewise.
20101         * sysvipc/msgrcv.c: Likewise.
20102         * sysvipc/msgsnd.c: Likewise.
20103         * sysvipc/semctl.c: Likewise.
20104         * sysvipc/semget.c: Likewise.
20105         * sysvipc/semop.c: Likewise.
20106         * sysvipc/semtimedop.c: Likewise.
20107         * sysvipc/shmat.c: Likewise.
20108         * sysvipc/shmctl.c: Likewise.
20109         * sysvipc/shmdt.c: Likewise.
20110         * sysvipc/shmget.c: Likewise.
20111         * termios/tcdrain.c: Likewise.
20112         * termios/tcflow.c: Likewise.
20113         * termios/tcflush.c: Likewise.
20114         * termios/tcgetattr.c: Likewise.
20115         * termios/tcgetpgrp.c: Likewise.
20116         * termios/tcsendbrk.c: Likewise.
20117         * termios/tcsetattr.c: Likewise.
20118         * termios/tcsetpgrp.c: Likewise.
20119         * time/adjtime.c: Likewise.
20120         * time/clock.c: Likewise.
20121         * time/getitimer.c: Likewise.
20122         * time/gettimeofday.c: Likewise.
20123         * time/setitimer.c: Likewise.
20124         * time/settimeofday.c: Likewise.
20125         * time/stime.c: Likewise.
20126         * time/time.c: Likewise.
20128 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20130         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20131         /usr/old/bin.
20133         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20134         instead of spaces.
20135         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20137 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20139         [BZ #14796]
20140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20141         FE_TONEAREST before applying Dekker multiplication and Knuth
20142         addition.  Clear inexact exceptions and check for exact zero
20143         results afterwards.
20144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20145         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20146         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20147         * math/libm-test.inc (fma_test): Add more tests.
20148         (fma_test_towardzero): Likewise.
20149         (fma_test_downward): Likewise.
20150         (fma_test_upward): Likewise.
20151         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20152         function.
20153         (libc_fesetround): New macro.
20154         (libc_fesetroundf): Likewise.
20155         (libc_fesetroundl): Likewise.
20156         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20157         function.
20158         (libc_fesetround_387): Likewise.
20159         (libc_fesetroundf): New macro.
20160         (libc_fesetround): Likewise.
20161         (libc_fesetroundl): Likewise.
20162         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20163         function.
20164         (libc_fesetroundf): New macro.
20165         (libc_fesetround): Likewise.
20166         (libc_fesetroundl): Likewise.
20167         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20168         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20169         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20170         libm_hidden_ver.
20171         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20172         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20173         libm_hidden_def.
20174         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20175         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20176         libm_hidden_ver.
20177         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20178         libm_hidden_def.
20180         [BZ #3439]
20181         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20182         integer constant usable in #if and use that to give value to enum
20183         constant.
20184         (FE_DIVBYZERO): Likewise.
20185         (FE_UNDERFLOW): Likewise.
20186         (FE_OVERFLOW): Likewise.
20187         (FE_INVALID): Likewise.
20188         (FE_INVALID_SNAN): Likewise.
20189         (FE_INVALID_ISI): Likewise.
20190         (FE_INVALID_IDI): Likewise.
20191         (FE_INVALID_ZDZ): Likewise.
20192         (FE_INVALID_IMZ): Likewise.
20193         (FE_INVALID_COMPARE): Likewise.
20194         (FE_INVALID_SOFTWARE): Likewise.
20195         (FE_INVALID_SQRT): Likewise.
20196         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20197         (FE_TONEAREST): Likewise.
20198         (FE_TOWARDZERO): Likewise.
20199         (FE_UPWARD): Likewise.
20200         (FE_DOWNWARD): Likewise.
20201         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20202         (FE_DIVBYZERO): Likewise.
20203         (FE_OVERFLOW): Likewise.
20204         (FE_UNDERFLOW): Likewise.
20205         (FE_INEXACT): Likewise.
20206         (FE_TONEAREST): Likewise.
20207         (FE_DOWNWARD): Likewise.
20208         (FE_UPWARD): Likewise.
20209         (FE_TOWARDZERO): Likewise.
20210         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20211         (FE_UNDERFLOW): Likewise.
20212         (FE_OVERFLOW): Likewise.
20213         (FE_DIVBYZERO): Likewise.
20214         (FE_INVALID): Likewise.
20215         (FE_TONEAREST): Likewise.
20216         (FE_TOWARDZERO): Likewise.
20217         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20218         (FE_OVERFLOW): Likewise.
20219         (FE_UNDERFLOW): Likewise.
20220         (FE_DIVBYZERO): Likewise.
20221         (FE_INEXACT): Likewise.
20222         (FE_TONEAREST): Likewise.
20223         (FE_TOWARDZERO): Likewise.
20224         (FE_UPWARD): Likewise.
20225         (FE_DOWNWARD): Likewise.
20226         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20227         (FE_DIVBYZERO): Likewise.
20228         (FE_OVERFLOW): Likewise.
20229         (FE_UNDERFLOW): Likewise.
20230         (FE_INEXACT): Likewise.
20231         (FE_TONEAREST): Likewise.
20232         (FE_DOWNWARD): Likewise.
20233         (FE_UPWARD): Likewise.
20234         (FE_TOWARDZERO): Likewise.
20236 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20238         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20240 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20242         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20243         commands.  Quote $PWD.
20244         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20245         -x" by "export".
20246         (remove_newlines): Remove.
20248 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20250         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20251         * stdlib/stdlib.h (atof): Moved to ...
20252         * include/bits/stdlib-float.h: Here.  New file.
20253         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20254         * stdlib/bits/stdlib-float.h: New file.
20255         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20256         -mno-sse -mno-mmx.
20257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20258         <xmmintrin.h>.
20260 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20262         * conform/conformtest.pl (@headers): Add fenv.h.
20263         * conform/data/fenv.h-data: New file.
20264         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20265         include of <math/fenv.h>.
20267         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20268         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20269         && !UNIX98].  Enables tests for XOPEN2K8.
20270         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20271         POSIX2008]: Likewise.
20273         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20274         (struct rusage): Do not expect type or its members.
20276         [BZ #3439]
20277         * math/math.h (FP_NAN): Define macro to integer constant usable in
20278         #if and use that to give value to enum constant.
20279         (FP_INFINITE): Likewise.
20280         (FP_ZERO): Likewise.
20281         (FP_SUBNORMAL): Likewise.
20282         (FP_NORMAL): Likewise.
20284 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20286         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20287         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20288         arguments.
20290 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20292         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20293         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20294         autoconf-time if not.
20295         * configure.in: Remove AC_PREREQ.
20297 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20299         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20300         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20301         of the internal implementation.
20303 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20305         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20306         except include of <misc/sys/syslog.h>.
20308 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20311         function returns with a NULL context exit with zero.
20313 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20315         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20317 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20319         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20320         (run_program_cmd): This.
20321         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20322         (tst_langinfo): New variable.  Use it.
20324 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20326         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20327         floating point opcodes.
20329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20331         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20332         variable.
20334         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20336         * sysdeps/mach/hurd/powerpc: Remove directory.
20337         * sysdeps/mach/powerpc: Likewise.
20339 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20341         * scripts/check-local-headers.sh: Ignore c++ headers.
20343 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20345         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20346         __libc_cleanup_region_start argument.
20348 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20350         [BZ #14784]
20351         [BZ #14785]
20352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20353         x * y using scaling, not as x * y + z.
20354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20356         * math/libm-test.inc (fma_test): Add more tests.
20357         (fma_test_towardzero): Likewise.
20358         (fma_test_downward): Likewise.
20359         (fma_test_upward): Likewise.
20361 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20363         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20365 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20367         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20368         New variable.
20370 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
20372         * rt/tst-shm.c (worker): Correct checking for mmap failure.
20374 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20377         Fix sort order.
20378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20379         Likewise.
20381 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20384         Fix the order of the list for glibc 2.17.
20385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20386         Likewise.
20388 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20392 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20394         [BZ #14610]
20395         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20396         for low part of x being zero before using __atanl (y).
20397         * math/libm-test.inc (atan2_test): Add another test.
20399         * manual/install.texi (Configuring and compiling): Document
20400         general use of test-wrapper and test-wrapper-env.
20401         * INSTALL: Regenerated.
20403         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20404         (__fma): Do not extract and scale down low bits on after-rounding
20405         systems when result rounded to normal precision would have normal
20406         exponent.
20407         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20408         (__fmal): Do not extract and scale down low bits on after-rounding
20409         systems when result rounded to normal precision would have normal
20410         exponent.
20411         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20412         (__fmal): Do not extract and scale down low bits on after-rounding
20413         systems when result rounded to normal precision would have normal
20414         exponent.
20415         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20416         macro.
20417         (fma_test): Add more tests.
20418         (fma_test_towardzero): Likewise.
20419         (fma_test_downward): Likewise.
20420         (fma_test_upward): Likewise.
20422 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
20424         * sysdeps/i386/tininess.h: Renamed to ...
20425         * sysdeps/x86/tininess.h: This.
20426         * sysdeps/x86_64/tininess.h: Removed.
20428 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20430         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20431         input.  Use $(build-program-cmd).
20432         ($(objpfx)tst-array1-static.out): Likewise.
20433         ($(objpfx)tst-array2.out): Likewise.
20434         ($(objpfx)tst-array3.out): Likewise.
20435         ($(objpfx)tst-array4.out): Likewise.
20436         ($(objpfx)tst-array5.out): Likewise.
20437         ($(objpfx)tst-array5-static.out): Likewise.
20439 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
20441         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
20442         if defined.
20444         * nss/nsswitch.h (nss_interface_function): Provide new
20445         macro for use with NSS functions.
20446         * grp/initgroups.c: Use new macro.
20447         * nss/getXXbyYY.c: Likewise.
20448         * nss/getXXbyYY_r.c: Likewise.
20449         * nss/getXXent.c: Likewise.
20450         * nss/getXXent_r.c: Likewise.
20451         * sysdeps/posix/getaddrinfo.c: Likewise.
20453 2012-10-30  Andreas Jaeger  <aj@suse.de>
20455         * po/ru.po: Update Russion translation from translation project.
20457 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20459         [BZ #14152]
20460         [BZ #14783]
20461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
20462         result and shift together with sticky bit instead of replicating
20463         round-to-nearest rounding.
20464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20466         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
20467         missing underflow exceptions.
20468         (fma_test_towardzero): Add more tests.
20469         (fma_test_downward): Likewise.
20470         (fma_test_upward): Likewise.
20472         [BZ #14047]
20473         * sysdeps/generic/tininess.h: New file.
20474         * sysdeps/i386/tininess.h: Likewise.
20475         * sysdeps/sh/tininess.h: Likewise.
20476         * sysdeps/x86_64/tininess.h: Likewise.
20477         * stdlib/tst-strtod-underflow.c: Likewise.
20478         * stdlib/tst-tininess.c: Likewise.
20479         * stdlib/strtod_l.c: Include <tininess.h>.
20480         (round_and_return): Do not set errno for exact underflow cases.
20481         Force an underflow exception when setting errno for underflow.
20482         Determine underflow based on rounding to normal precision if
20483         TININESS_AFTER_ROUNDING.
20484         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
20485         ERANGE for exact underflow cases.
20486         * stdlib/Makefile (tests): Add tst-tininess and
20487         tst-strtod-underflow.
20488         ($(objpfx)tst-tininess): Use $(link-libm).
20489         ($(objpfx)tst-strtod-underflow): Likewise.
20491 2012-10-30  Andreas Jaeger  <aj@suse.de>
20493         [BZ#14767]
20494         * elf/Makefile (tests): Remove conditional for have-initfini-array
20495         since this is now always required and the variable does not exist
20496         anymore.
20497         (tests-static): Likewise.
20498         (modules-names): Likewise.
20500         * po/eo.po: Add Esperanto translation from translation project.
20502         * elf/tst-array1.c (fini_array): Make writeable so that it can be
20503         merged with constructor/destructor.
20504         (init_array): Likewise.
20505         * elf/tst-array2dep.c (fini_array): Likewise.
20506         (init_array): Likewise.
20508 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
20510         * manual/message.texi: Delete @cartouche tags.
20512 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
20514         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
20515         EOPNOTSUPP.
20516         * sysdeps/mach/hurd/fsync.c: Likewise.
20518         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
20519         [_POSIX_REALTIME_SIGNALS]: Change condition to
20520         [_POSIX_REALTIME_SIGNALS > 0].
20522 2012-10-27  Andreas Jaeger  <aj@suse.de>
20524         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
20525         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
20526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20527         [__WORDSIZE != 64]: Likewise.
20529 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
20531         *  iconvdata/tst-table.sh: Remove ${SHELL}.
20532         *  iconvdata/tst-tables.sh: Likewise.
20534 2012-10-25  David S. Miller  <davem@davemloft.net>
20536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20537         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
20538         of strtoull.
20540         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
20541         ifunc-impl-list.c
20542         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20543         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
20544         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
20545         file.
20547 2012-10-25  Roland McGrath  <roland@hack.frob.com>
20549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20550         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
20551         __getdirentries.
20553 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20554             Jim Blandy  <jimb@codesourcery.com>
20556         * scripts/cross-test-ssh.sh: New file.
20557         * manual/install.texi (Configuring and compiling): Document use of
20558         cross-test-ssh.sh.
20559         * INSTALL: Regenerated.
20561 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
20563         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
20564         EOPNOTSUPP.
20566 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20568         * Makeconfig (run-program-prefix): Fix comment.
20570 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20571             Jim Blandy  <jimb@codesourcery.com>
20573         * Makeconfig (test-wrapper): New variable,
20574         (test-wrapper-env): Likewise.
20575         [$(cross-compiling) = yes && $(test-wrapper) != ""]
20576         (run-built-tests): Define to yes.
20577         (run-program-prefix): Use $(test-wrapper).
20578         (built-program-cmd): Likewise.
20579         * Rules (make-test-out): Use $(test-wrapper-env) and
20580         $(host-built-program-cmd).
20581         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
20582         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
20583         tst-pathopt.sh.
20584         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20585         $(test-wrapper-env) to tst-rtld-load-self.sh.
20586         ($(objpfx)order2.out): Use $(test-wrapper).
20587         ($(objpfx)tst-initorder.out): Likewise.
20588         ($(objpfx)tst-initorder2.out): Likewise.
20589         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
20590         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
20591         (test_wrapper_env): New variable.  Use it to run ld.so.
20592         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
20593         Use it to run ld.so.
20594         (test_wrapper_env): Likewise.
20595         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
20596         $(test-wrapper) to run-iconv-test.sh.
20597         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
20598         (ICONV): Use $test_wrapper.
20599         * posix/Makefile ($(objpfx)globtest.out): Pass
20600         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
20601         globtest.sh, not $(run-program-prefix).
20602         * posix/globtest.sh (run_via_rtld_prefix): New variable.
20603         (test_wrapper): Likewise.
20604         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
20605         set together with run_via_rtld_prefix.
20606         (run_program_prefix): Define in terms of test_wrapper and
20607         run_via_rtld_prefix.
20609 2012-10-24  Roland McGrath  <roland@hack.frob.com>
20611         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
20612         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
20613         Targets removed.
20615         [BZ #14743]
20616         * include/time.h: Remove librt_hidden_proto (clock_gettime).
20617         Declare __clock_getres, __clock_gettime, __clock_settime,
20618         __clock_nanosleep, and __clock_getcpuclockid.
20619         * rt/clock_gettime.c: Define __clock_gettime as an alias.
20620         Remove librt_hidden_def (clock_gettime).
20621         * sysdeps/unix/clock_gettime.c: Likewise.
20622         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
20623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20624         * rt/clock_getres.c: Define __clock_getres as an alias.
20625         * sysdeps/posix/clock_getres.c: Likewise.
20626         * rt/clock_settime.c: Define __clock_settime as an alias.
20627         * sysdeps/unix/clock_settime.c: Likewise.
20628         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
20629         * sysdeps/unix/clock_nanosleep.c: Likewise.
20630         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20631         * rt/clock-compat.c: New file.
20632         * rt/Makefile (librt-routines): Add clock-compat and move
20633         $(clock-routines) to ...
20634         (routines): ... here, new variable.
20635         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
20636         Don't add get_clockfreq here.
20637         * rt/Versions (libc: GLIBC_2.17): New version set.
20638         Add clock_* symbols here.
20639         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
20640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
20641         (GLIBC_2.17): Add clock_* symbols.
20642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20646         Likewise.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20648         Likewise.
20649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20653         * NEWS: Mention the move.
20655         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20656         Use __open, __read, __close rather than their public counterparts.
20657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20658         (__get_clockfreq_via_cpuinfo): Likewise.
20659         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
20660         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
20662         * config.h.in (HAVE_IFUNC): New #undef.
20663         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
20664         was successful.
20665         * configure: Regenerated.
20667 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20669         * configure.in: Move READELF check to start of file.
20670         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
20671         libc_cv_asm_gnu_indirect_function in the process.
20672         * configure: Regenerated.
20674 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20676         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20677         send the output to /dev/null.
20678         (libc_cv_cc_with_libunwind): Likewise.
20679         (libc_cv_as_noexecstack): Likewise.
20680         * configure: Regenerate.
20682 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20684         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20686         * posix/globtest.sh (TMPDIR): Do not set.
20687         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20688         (testout): Likewise.
20690 2012-10-24  Andreas Jaeger  <aj@suse.de>
20692         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20693         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20694         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20695         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20696         posix_fadvise64, posix_fallocate64.
20698         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20699         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20700         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20701         Likewise.
20702         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20703         Likewise.
20704         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20707         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20708         <bits/fcntl-linux.h>.
20709         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20712         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20713         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20714         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20715         [__WORDSIZE != 64]: Likewise.
20717 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20719         * Makeconfig (run-built-tests): New variable.
20720         * Rules [$(cross-compiling) = yes]: Change condition to
20721         [$(run-built-tests) = no].
20722         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20723         to [$(run-built-tests) = yes].
20724         * elf/Makefile [$(cross-compiling) = no]: Likewise
20725         * grp/Makefile [$(cross-compiling) = no]: Likewise.
20726         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20727         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20728         * intl/Makefile [$(cross-compiling) = no]: Likewise.
20729         * io/Makefile [$(cross-compiling) = no]: Likewise.
20730         * libio/Makefile [$(cross-compiling) = no]: Likewise.
20731         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20732         * misc/Makefile [$(cross-compiling) = no]: Likewise.
20733         * posix/Makefile [$(cross-compiling) = no]: Likewise.
20734         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20735         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20736         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20737         * string/Makefile [$(cross-compiling) = no]: Likewise.
20739         * posix/Makefile ($(objpfx)globtest.out): Pass
20740         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20741         $(rtld-installed-name).
20742         * posix/globtest.sh (elf_objpfx): Remove variable.
20743         (rtld_installed_name): Likewise.
20744         (library_path): Likewise.
20745         (run_program_prefix): New variable.  Use for running globtest
20746         binary.
20748 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
20749             Joseph Myers  <joseph@codesourcery.com>
20751         * Makeconfig (host-built-program-cmd): New variable.
20752         * elf/Makefile (tst-stackguard1-ARGS): Use
20753         $(host-built-program-cmd).
20754         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20755         (tst-spawn-ARGS): Likewise.
20756         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20758 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20759             Jim Blandy  <jimb@codesourcery.com>
20761         * Makeconfig (run-via-rtld-prefix): New variable.
20762         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20763         (built-program-cmd): Likewise.
20765 2012-10-22  Andreas Jaeger  <aj@suse.de>
20767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20768         __O_RSYNC if it exists, otherwise to O_SYNC.
20770 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
20771             Joseph Myers  <joseph@codesourcery.com>
20773         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20774         /dev/null.
20775         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20776         from /dev/null
20777         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20778         /dev/null.
20780 2012-10-22  Andreas Jaeger  <aj@suse.de>
20782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20783         Define always.
20784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20786         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20787         bits/fcntl-linux.h.
20789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20790         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20793         to __O_LARGEFILE.
20794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20795         to __O_LARGEFILE.
20797 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
20798             Joseph Myers  <joseph@codesourcery.com>
20800         * config.make.in (NM): New variable.
20802 2012-10-21  Andreas Jaeger  <aj@suse.de>
20804         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20805         definitions and declarations that are provided by
20806         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20808 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20810         [BZ #14683]
20811         * elf/Makefile (tests-static): Add tst-leaks1-static.
20812         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20813         ($(objpfx)tst-leaks1-static): New rule.
20814         ($(objpfx)tst-leaks1-static-mem): Likewise.
20815         (tst-leaks1-static-ENV): New macro.
20816         * elf/dl-open.c (dl_open_worker): Check the main application
20817         only if SHARED is defined.
20818         * elf/tst-leaks1-static.c: New file.
20820 2012-10-20  Andreas Jaeger  <aj@suse.de>
20822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20823         generic values for Linux.
20824         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20825         and declarations that are provided by <bits/fcntl-linux.h> and
20826         include <bits/fcntl-linux.h>.
20827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20830 2012-10-20  Roland McGrath  <roland@hack.frob.com>
20832         * io/fcntl.h: Move include of <bits/types.h> to the top and
20833         include it unconditionally.
20835 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20837         * wcsmbs/Makefile (tests-ifunc): New variable.
20838         (tests): Add $(tests-ifunc).
20839         * wcsmbs/test-wcschr-ifunc.c: New file.
20840         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20841         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20842         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20843         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20844         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20846         * string/Makefile (tests-ifunc): New variable.
20847         (tests): Add $(tests-ifunc).
20848         * string/test-memccpy.c (TEST_NAME): New macro.
20849         * string/test-memchr.c (TEST_NAME): Likewise.
20850         * string/test-memcmp.c (TEST_NAME): Likewise.
20851         * string/test-memcpy.c (TEST_NAME): Likewise.
20852         * string/test-memmem.c (TEST_NAME): Likewise.
20853         * string/test-memmove.c (TEST_NAME): Likewise.
20854         * string/test-memset.c (TEST_NAME): Likewise.
20855         * string/test-rawmemchr.c (TEST_NAME): Likewise.
20856         * string/test-stpcpy.c (TEST_NAME): Likewise.
20857         * string/test-stpncpy.c (TEST_NAME): Likewise.
20858         * string/test-strcasecmp.c (TEST_NAME): Likewise.
20859         * string/test-strcasestr.c (TEST_NAME): Likewise.
20860         * string/test-strcat.c (TEST_NAME): Likewise.
20861         * string/test-strchr.c (TEST_NAME): Likewise.
20862         * string/test-strcmp.c(TEST_NAME): Likewise.
20863         * string/test-strcpy.c (TEST_NAME): Likewise.
20864         * string/test-strcspn.c (TEST_NAME): Likewise.
20865         * string/test-strlen.c (TEST_NAME): Likewise.
20866         * string/test-strncasecmp.c (TEST_NAME): Likewise.
20867         * string/test-strncmp.c (TEST_NAME): Likewise.
20868         * string/test-strncpy.c (TEST_NAME): Likewise.
20869         * string/test-strnlen.c (TEST_NAME): Likewise.
20870         * string/test-strpbrk.c (TEST_NAME): Likewise.
20871         * string/test-strrchr.c (TEST_NAME): Likewise.
20872         * string/test-strspn.c (TEST_NAME): Likewise.
20873         * string/test-strstr.c (TEST_NAME): Likewise.
20874         * string/test-bcopy-ifunc.c: New file.
20875         * string/test-bzero-ifunc.c: Likewise.
20876         * string/test-memccpy-ifunc.c: Likewise.
20877         * string/test-memchr-ifunc.c: Likewise.
20878         * string/test-memcmp-ifunc.c: Likewise.
20879         * string/test-memcpy-ifunc.c: Likewise.
20880         * string/test-memmem-ifunc.c: Likewise.
20881         * string/test-memmove-ifunc.c: Likewise.
20882         * string/test-mempcpy-ifunc.c: Likewise.
20883         * string/test-memset-ifunc.c: Likewise.
20884         * string/test-rawmemchr-ifunc.c: Likewise.
20885         * string/test-stpcpy-ifunc.c: Likewise.
20886         * string/test-stpncpy-ifunc.c: Likewise.
20887         * string/test-strcasecmp-ifunc.c: Likewise.
20888         * string/test-strcasestr-ifunc.c: Likewise.
20889         * string/test-strcat-ifunc.c: Likewise.
20890         * string/test-strchr-ifunc.c: Likewise.
20891         * string/test-strchrnul-ifunc.c: Likewise.
20892         * string/test-strcmp-ifunc.c: Likewise.
20893         * string/test-strcpy-ifunc.c: Likewise.
20894         * string/test-strcspn-ifunc.c: Likewise.
20895         * string/test-strlen-ifunc.c: Likewise.
20896         * string/test-strncasecmp-ifunc.c: Likewise.
20897         * string/test-strncat-ifunc.c: Likewise.
20898         * string/test-strncmp-ifunc.c: Likewise.
20899         * string/test-strncpy-ifunc.c: Likewise.
20900         * string/test-strnlen-ifunc.c: Likewise.
20901         * string/test-strpbrk-ifunc.c: Likewise.
20902         * string/test-strrchr-ifunc.c: Likewise.
20903         * string/test-strspn-ifunc.c: Likewise.
20904         * string/test-strstr-ifunc.c: Likewise.
20906         * debug/Makefile (tests-ifunc): New variable.
20907         (tests): Add $(tests-ifunc).
20908         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20909         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20910         * debug/test-stpcpy_chk-ifunc.c: New file.
20911         * debug/test-strcpy_chk-ifunc.c: Likewise.
20913 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20915         [BZ #13601]
20916         * elf/dl-load.c (open_verify): Retry read if the entire ELF
20917         header is not read in.
20919 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
20921         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
20922         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
20923         directly.  Pass built executable to script as
20924         $(built-program-cmd).
20925         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
20926         $testprogram without using LD_LIBRARY_PATH and $ldso.
20928         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20929         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20930         $(rtld-installed-name).
20931         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20932         (rtld_installed_name): Likewise.
20933         (library_path): Likewise.
20934         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
20935         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20936         $(run-program-prefix) to tst-tables.sh.
20937         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
20938         it to run tst-table-from and tst-table-to.
20939         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20940         Pass it to tst-table.sh.
20941         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20942         $(run-program-prefix) to tst-gettext.sh.
20943         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20944         tst-translit.sh.
20945         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20946         tst-gettext2.sh.
20947         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
20948         to run tst-gettext.
20949         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
20950         to run tst-gettext2.
20951         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
20952         to run tst-translit.
20953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20954         $(run-program-prefix) to tst-mtrace.sh.
20955         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
20956         to run tst-mtrace.
20957         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20958         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20959         $(rtld-installed-name).
20960         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20961         (rtld_installed_name): Likewise.
20962         (run_program_prefix): New variable.  Use it to run wordexp-test.
20964         * Makeconfig (ARCH): Remove all definitions.
20965         (machine): Likewise.
20966         [ARCH]: Remove conditional code.
20967         [!objdir]: Give error.
20968         [!objdir] (objpfx): Remove.
20969         [!objdir] (common-objpfx): Likewise.
20970         [!objdir] (common-objdir): Likewise.
20971         * configure.in (config_makefile): Remove.  Hardcode Makefile in
20972         AC_CONFIG_FILES call.
20973         * configure: Regenerated.
20975         [BZ #13888]
20976         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20977         or TMPDIR.
20978         (testout): Likewise.
20980         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20981         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20982         $(rtld-installed-name).
20983         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20984         (rtld_installed_name): Likwise.
20985         (runit): Remove function.
20986         (run_getconf): New variable,  Use it for running getconf binary.
20988 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
20990         [BZ #14716]
20991         * string/test-memmem.c (check_result): New function.
20992         (do_one_test): Use it.
20993         (check1): New function.
20994         (test_main): Use it.
20996 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
20998         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21000 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21002         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21003         (_G_LSEEK64): Likewise.
21004         (_G_MMAP64): Likewise.
21005         (_G_FSTAT64): Likewise.
21006         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21007         (_G_LSEEK64): Likewise.
21008         (_G_MMAP64): Likewise.
21009         (_G_FSTAT64): Likewise.
21010         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21011         unconditional.  Call __mmap64 directly.
21012         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21013         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21014         __lseek64 directly.
21015         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21016         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21017         __mmap64 directly.
21018         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21019         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21020         __lseek64 directly.
21021         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21022         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21023         __lseek64 directly.
21024         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21025         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21026         __lseek64 directly.
21027         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21028         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21029         __fxstat64 directly.
21030         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21031         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21032         unconditional.
21033         (freopen64) [!_G_OPEN64]: Remove conditional code.
21034         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21035         unconditional.
21036         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21037         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21038         unconditional.
21039         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21040         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21041         unconditional.
21042         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21043         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21044         unconditional.
21045         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21046         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21047         unconditional.
21048         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21049         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21050         unconditional.
21051         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21052         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21053         unconditional.
21054         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21056 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21058         [BZ #12140]
21059         * manual/memory.texi (Malloc Tunable Parameters): Add note
21060         about free list pointers overwriting some perturb bytes.
21061         Wording suggested by Roland McGrath.
21063 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21065         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21066         (lgamma_test): Likewise.
21067         (tgamma_test): Likewise.
21069 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21071         [BZ #14700]
21072         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21073         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21075 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21077         * NEWS: Mention BZ #14716.
21078         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21079         when removing AVAILABLE1_USES_J macro.
21081 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21083         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21084         (__bswap_64): __uint64_t for unsigned 64-bit int.
21086 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21088         * include/string.h (memmem): Declare libc hidden alias.
21089         * string/memmem.c (memmem): Define libc hidden alias.
21090         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21091         __read, __close instead of open, read, close.
21093 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21096         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21097         global and hidden.
21098         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21099         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21100         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21101         Likewise.
21102         (__rawmemchr_sse2): Likewise.
21103         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21104         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21105         (__strchr_sse2): Likewise.
21106         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21107         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21108         (__strcasecmp_sse2): Likewise.
21109         (__strncasecmp_sse2): Likewise.
21110         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21111         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21112         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21113         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21114         (__strrchr_sse2): Likewise.
21115         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21116         ifunc-impl-list.c.
21117         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21118         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21119         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21120         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21121         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21122         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21123         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21124         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21125         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21126         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21127         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21128         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21129         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21130         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21131         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21132         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21133         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21134         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21135         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21136         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21137         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21138         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21139         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21140         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21141         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21143         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21144         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21145         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21146         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21148         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21149         global and hidden.
21150         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21151         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21152         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21153         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21154         Likewise.
21155         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21156         Likewise.
21157         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21158         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21159         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21160         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21161         ifunc-impl-list.c.
21162         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21163         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21164         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21165         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21166         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21167         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21168         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21169         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21170         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21171         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21172         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21173         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21174         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21175         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21176         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21177         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21178         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21179         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21180         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21181         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21182         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21183         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21184         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21185         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21187         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21188         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21189         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21190         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21191         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21192         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21193         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21194         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21195         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21196         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21197         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21198         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21199         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21200         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21201         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21204         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21205         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21206         * include/ifunc-impl-list.h: New file.
21207         * misc/ifunc-impl-list.c: Likewise.
21208         * misc/Makefile (routines): Add ifunc-impl-list.
21209         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21210         * string/test-string.h: Include <ifunc-impl-list.h>.
21211         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21212         impl_array): New variables.
21213         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21214         are defined.
21215         (test_init): Call __libc_ifunc_impl_list to initialize
21216         func_list if TEST_IFUNC and TEST_NAME are defined.
21218         * string/Makefile (strop-tests): Add bcopy and bzero.
21219         * string/test-bcopy.c: New file.
21220         * string/test-bzero.c: Likewise.
21221         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21222         defined.
21223         * string/test-memset.c: Support bzero test if TEST_BZERO is
21224         defined.
21225         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21226         __libc_memmove.
21227         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21228         __libc_memset.
21229         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21230         of memset.
21232 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21234         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21235         * configure: Regenerated.
21237         * Makeconfig (+link-static-before-libc): Don't include
21238         $(link-static-libc).
21240         * libio/libio.h (_IO_pos_t): Remove.
21242 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21244         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21245         McGrath.
21247 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21249         * crypt/crypt-entry.c: Include fips-private.h.
21250         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21251         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21252         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21253         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21255 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21257         * crypt/crypt-private.h: Include stdbool.h.
21258         (_ufc_setup_salt_r): Return bool.
21259         * crypt/crypt-entry.c: Include errno.h.
21260         (__crypt_r): Return NULL with EINVAL for bad salt.
21261         * crypt/crypt_util.c (bad_for_salt): New.
21262         (_ufc_setup_salt_r): Check that salt is long enough and within
21263         the specified alphabet.
21264         * crypt/badsalttest.c: New file.
21265         * crypt/Makefile (tests): Add it.
21266         ($(objpfx)badsalttest): New.
21268 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21270         * NEWS: Add entry for BZ #14602.
21272 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21274         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21275         type-generic.
21276         * math/libm-test.inc: Update comment listing what functions and
21277         macros are tested.
21278         (isgreater_test): New function.
21279         (isgreaterequal_test): Likewise.
21280         (isless_test): Likewise.
21281         (islessequal_test): Likewise.
21282         (islessgreater_test): Likewise.
21283         (isunordered_test): Likewise.
21284         (main): Call the new functions.
21286 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21288         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21289         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21290         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21291         * sysdeps/i386/configure: Regenerated.
21292         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21293         * sysdeps/mach/configure: Regenerated.
21294         * sysdeps/mach/hurd/configure: Regenerated.
21295         * sysdeps/powerpc/configure: Regenerated.
21296         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21297         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21298         * sysdeps/s390/s390-32/configure: Regenerated.
21299         * sysdeps/s390/s390-64/configure: Regenerated.
21300         * sysdeps/sh/configure: Regenerated.
21301         * sysdeps/sparc/configure: Regenerated.
21302         * sysdeps/unix/sysv/linux/configure: Regenerated.
21303         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21304         * sysdeps/x86_64/configure: Regenerated.
21306         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21307         defined.  Don't check if MAP is NULL.
21309 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21311         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21312         (_G_stat64): Likewise.
21313         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21314         (_G_stat64): Likewise.
21315         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21316         instead of struct _G_stat64.
21317         * libio/fileops.c (mmap_remap_check): Likewise.
21318         (decide_maybe_mmap): Likewise.
21319         (_IO_new_file_seekoff): Likewise.
21320         (_IO_file_stat): Likewise.
21321         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21322         _G_off64_t.
21323         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21324         instead of struct _G_stat64.
21325         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21327 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21329         [BZ #14602]
21330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21331         Replace with ...
21332         (CHECK_EOL): New macro.
21333         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21334         CHECK_EOL.
21335         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21336         Replace with CHECK_EOL.
21337         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21338         Replace with CHECK_EOL.
21340 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21342         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21343         type-generic.
21344         * math/libm-test.inc: Update comment listing what functions and
21345         macros are tested.
21346         (finite_test): New function.
21347         (isinf_test): Likewise.
21348         (isnan_test): Likewise.
21349         (fpclassify_test): Test subnormal input.
21350         (isfinite_test): Likewise.
21351         (isnormal_test): Likewise.
21352         (main): Call the new functions.
21354 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
21356         [BZ #14660]
21357         * Makerules (%.dynsym): Force C locale when running
21358         $(OBJDUMP) --dynamic-syms.
21360 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
21362         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21363         <stdint.h>.
21365 2012-10-06  David S. Miller  <davem@davemloft.net>
21367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21368         upper 32-bits of the length value in %o2 since we use branch-on-register
21369         tests which consider the entire 64-bit register.
21371 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
21373         * string/test-strstr.c (check2): Add a test for page boundary.
21375 2012-10-05  David S. Miller  <davem@davemloft.net>
21377         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21378         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21379         file.
21380         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21381         sysdep_routines.
21382         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21383         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21384         and bzero when HWCAP_SPARC_CRYPTO is present.
21386 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
21388         [BZ #14602]
21389         * string/test-strstr.c (check2): New function.
21390         (test_main): Call check2.
21392         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21393         and bug-strchr1.
21394         * string/bug-strcasestr1.c (do_test): Moved to ...
21395         * string/test-strcasestr.c (check1): Here.  New function.
21396         (do_one_test): Break out result checking code into ...
21397         (check_result): This.  New function.
21398         (do_one_test): Call check_result.
21399         (test_main): Call check1.
21400         * string/bug-strchr1.c (do_test): Moved to ...
21401         * string/test-strchr.c (check1): Here.  New function.
21402         (do_one_test): Break out result checking code into ...
21403         (check_result): This.  New function.
21404         (do_one_test): Call check_result.
21405         (test_main): Call check1.
21406         * string/bug-strstr1.c (main): Moved to ...
21407         * string/test-strstr.c (check1): Here.  New function.
21408         (do_one_test): Break out result checking code into ...
21409         (check_result): This.  New function.
21410         (do_one_test): Call check_result.
21411         (test_main): Call check1.
21412         * string/bug-strcasestr1.c: Removed.
21413         * string/bug-strchr1.c: Likewise.
21414         * string/bug-strstr1.c: Likewise.
21416         * elf/Makefile (dl-routines): Add hwcaps.
21417         * elf/dl-support.c (_dl_important_hwcaps): Removed.
21418         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21419         (_dl_important_hwcaps): Moved to ...
21420         * elf/dl-hwcaps.c: Here.  New file.
21421         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21423         [BZ #14557]
21424         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21425         if IS_IN_rtld isn't defined.
21427         * elf/dl-support.c (_dl_sysinfo_map): New.
21428         Include "get-dynamic-info.h" and "setup-vdso.h".
21429         (_dl_non_dynamic_init): Call setup_vdso.
21430         * elf/dynamic-link.h: Don't include <assert.h>.
21431         (elf_get_dynamic_info): Moved to ...
21432         * elf/get-dynamic-info.h: Here.  New file.
21433         * elf/dynamic-link.h: Include "get-dynamic-info.h".
21434         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21435         * elf/setup-vdso.h: Here.  New file.
21436         * elf/rtld.c: Include "setup-vdso.h".
21437         (dl_main): Call setup_vdso.
21439 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
21441         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21442         creal in comment listing functions tested.  List finite, isinf,
21443         isnan, isless, islessequal, isgreater, isgreaterequal,
21444         islessgreater, isunordered, lgamma_r and pow10 as functions and
21445         macros not tested.  Mention which functions not tested are aliases
21446         for other functions.  Fix typo.  Note that signs of NaNs are not
21447         tested.
21449         * scripts/config.guess: Update from config.git.
21450         * scripts/config.sub: Likewise.
21452 2012-10-04  Roland McGrath  <roland@hack.frob.com>
21454         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
21455         * misc/madvise.c (madvise): Renamed to __madvise.
21456         Make madvise a weak alias.
21457         * include/sys/mman.h: Declare __madvise.
21458         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
21459         * sysdeps/unix/syscalls.list
21460         (madvise): Make __madvise the strong name, and madvise a weak alias.
21461         * sysdeps/unix/sysv/linux/syscalls.list
21462         (madvise, mmap): Remove redundant entries.
21463         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
21464         * malloc/malloc.c (mtrim): Likewise.
21465         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
21467 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21469         * sysdeps/mach/hurd/dl-cache.c: File removed.
21470         * config.h.in (USE_LDCONFIG): New #undef.
21471         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
21472         * configure: Regenerated.
21473         * elf/Makefile (dl-routines): Add dl-cache only under
21474         [$(use-ldconfig) = yes].
21475         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
21476         cache on [USE_LDCONFIG].
21477         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
21478         [USE_LDCONFIG].
21479         * elf/rtld.c (dl_main): Likewise.
21481 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
21483         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
21484         _SC_LEVEL4_CACHE_LINESIZE.
21486 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21488         * sysdeps/unix/bsd/confstr.h: File removed.
21490 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
21492         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
21493         sys/sdt-config.h.
21495 2012-10-02  Roland McGrath  <roland@hack.frob.com>
21497         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
21498         Make 'mapoff' field ElfW(Off) rather than off_t.
21500 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
21502         * nscd/Makefile: Remove nscd-cflags and all its users.
21503         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
21504         (CFLAGS-nonlib): Add compiler flags for nscd modules.
21506         [BZ #10631]
21507         * malloc.c (malloc_printerr): Clarify error message.
21509 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
21511         [BZ #14648]
21512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21513         Set bit_FMA_Usable if FMA is supported.
21514         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
21515         macro.
21516         (bit_FMA4_Usable): Updated.
21517         (index_FMA_Usable): New macro.
21518         (CPUID_FMA): Likewise
21519         (HAS_FMA): Defined with bit_FMA_Usable.
21521 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21523         * bits/types.h (__swblk_t): Type removed.
21524         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
21525         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
21526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21527         (__SWBLK_T_TYPE): Likewise.
21528         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21529         (__SWBLK_T_TYPE): Likewise.
21530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21531         (__SWBLK_T_TYPE): Likewise.
21532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21533         (__SWBLK_T_TYPE): Likewise.
21535 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
21536             Honza Horak <hhorak@redhat.com>
21538         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
21539         (xdr_mapname): Use YPMAXMAP as maxsize.
21540         (xdr_peername): Use YPMAXPEER as maxsize.
21541         (xdr_keydat): Use YPAXRECORD as maxsize.
21542         (xdr_valdat): Use YPMAXRECORD as maxsize.
21544 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21546         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
21548         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
21549         * csu/init-first.c: ... here.
21550         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
21551         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21552         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21553         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21554         * sysdeps/i386/init-first.c: File removed.
21555         * sysdeps/sh/init-first.c: File removed.
21557 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
21559         [BZ #14645]
21560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
21561         if x * y might underflow to zero and z is zero.
21562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21564         * math/libm-test.inc (min_subnorm_value): New variable.
21565         (fma_test): Add more tests.
21566         (fma_test_towardzero): Likewise.
21567         (fma_test_downward): Likewise
21568         (fma_test_upward): Likewise.
21569         (initialize): Set min_subnorm_value.
21571 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
21573         [BZ #14638]
21574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
21575         0 + 0.
21576         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21577         mode for addition resulting in exact zero.
21578         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
21579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
21580         exact 0 + 0.
21581         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21583         * math/libm-test.inc (fma_test): Add more tests.
21584         (fma_test_towardzero): New function.
21585         (fma_test_downward): Likewise.
21586         (fma_test_upward): Likewise.
21587         (main): Call the new functions.
21589 2012-09-28  David S. Miller  <davem@davemloft.net>
21591         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
21593 2012-09-28  Roland McGrath  <roland@hack.frob.com>
21595         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
21596         instead of SIGALRM.
21598         * sysdeps/gnu/_G_config.h: Moved to ...
21599         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
21600         * sysdeps/mach/hurd/_G_config.h: Moved to ...
21601         * sysdeps/generic/_G_config.h: ... here.
21603         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
21605         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
21607         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
21608         Conditionalize target on [libnss_test1.so-version].
21610         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
21612         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
21613         (elfobjdir): Move out of conditionals.
21615         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
21616         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
21617         (__nss_lookup_function): Conditionalize label remove_from_tree on
21618         [!DO_STATIC_NSS || SHARED], matching its only use.
21620 2012-09-28  David S. Miller  <davem@davemloft.net>
21622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
21623         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
21624         file.
21625         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21626         sysdep_routines.
21627         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
21629         when HWCAP_SPARC_CRYPTO is present.
21631 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21633         * io/tst-mknodat.c: Create a FIFO instead of a socket.
21635 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
21637         [BZ #6530]
21638         * stdio-common/vfprintf.c (process_string_arg): Revert
21639         2000-07-22 change.
21641 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
21643         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
21644         for testcase.
21645         * stdio-common/tst-sprintf.c: Include <locale.h>
21646         (main): Test sprintf's handling of incomplete multibyte
21647         characters.
21649 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
21651         * elf/dl-runtime.c (VERSYMIDX): Removed.
21652         * elf/dl-version.c (VERSYMIDX): Likewise.
21653         * elf/do-rel.h (VERSYMIDX): Likewise.
21654         (VALIDX): Likewise.
21655         * elf/dynamic-link.h (VERSYMIDX): Likewise.
21656         * elf/rtld.c (VALIDX): Likewise.
21657         (ADDRIDX): Likewise.
21658         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
21659         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
21660         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
21661         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
21662         (VALIDX): Likewise.
21663         (ADDRIDX): Likewise.
21665 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21667         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21669 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
21671         [BZ #11438]
21672         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21673         to global scope.
21674         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21675         addresses are in the same scope as 192.0.2/24.
21676         * posix/gai.conf: Document new scope table defaults.
21678 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21680         [BZ #5298]
21681         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21682         for ftell.  Compute offsets from write pointers instead.
21683         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21685 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21687         [BZ #14543]
21688         * libio/Makefile (tests): New test case tst-fseek.
21689         * libio/tst-fseek.c: New test case to verify that fseek/ftell
21690         combination works in wide mode.
21691         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21692         state when the external buffer state changes.
21694 2012-09-27  David S. Miller  <davem@davemloft.net>
21696         [BZ #14376]
21697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21698         pass reloc->r_addend in as the 'high' argument to
21699         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21703 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21705         * rt/tst-aio2.c: Include <pthread.h>.
21706         * rt/tst-aio3.c: Likewise.
21708 2012-09-27  Steve Ellcey  <sellcey@mips.com>
21710         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21712 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
21714         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21715         contents on [SHARED].
21717 2012-09-26  Marek Polacek  <polacek@redhat.com>
21719         [BZ #14530]
21720         [BZ #13741]
21721         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21722         for C++ and GCC <4.3 as well as for non GCC compilers.
21724 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21728 2012-09-25  Roland McGrath  <roland@hack.frob.com>
21730         * Makefile.in (all, install): Declare with .PHONY.
21731         Reported by Michael Hope <michael.hope@linaro.org>.
21733 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21735         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21736         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21737         system header.
21738         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21739         Likewise.
21740         (sydep_routines): Add the new and the internal functions.
21741         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21742         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21744         (GLIBC_2.17): Add the new function.
21745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21746         (GLIBC_2.17): Likewise.
21747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21748         (GLIBC_2.17): Likewise.
21749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21750         (GLIBC_2.17): Likewise.
21751         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21753 2012-09-25  Alan Modra  <amodra@gmail.com>
21755         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21756         Add release barrier before setting once_control to say
21757         initialisation is done.  Add hints on lwarx.  Use macro in
21758         place of isync.
21759         (clear_once_control): Add release barrier.
21761 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #13629]
21764         * math/s_clog.c (__clog): Handle more values close to |z| = 1
21765         specially.
21766         * math/s_clog10.c (__clog10): Likewise.
21767         * math/s_clog10f.c (__clog10f): Likewise.
21768         * math/s_clog10l.c (__clog10l): Likewise.
21769         * math/s_clogf.c (__clogf): Likewise.
21770         * math/s_clogl.c (__clogl): Likewise.
21771         * math/Makefile (libm-calls): Add x2y2m1.
21772         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21773         (__x2y2m1): Likewise.
21774         (__x2y2m1l): Likewise.
21775         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21776         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21777         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21778         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21779         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21780         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21781         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21782         * sysdeps/i386/fpu/libm-test-ulps: Update.
21783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21785         [BZ #14621]
21786         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21787         int as type of variable DEPTH.
21788         (glob): Use size_t instead of int as type of variables NEWCOUNT
21789         and OLD_PATHC.
21791 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21793         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21794         Add s_sincosf-sse2.
21795         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21796         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21797         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21798         macros for using routine as __sincosf_ia32.
21799         Use macro for function declaration and weak_alias.
21800         * sysdeps/i386/fpu/libm-test-ulps: Update.
21802         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21805         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21806         subnormal argument.
21807         * math/s_cexpf.c (__cexpf): Likewise.
21808         * math/s_csinf.c (__csinf): Likewise.
21809         * math/s_csinhf.c (__csinhf): Likewise.
21810         * math/s_ctanf.c (__ctanf): Likewise.
21811         * math/s_ctanhf.c (__ctanhf): Likewise.
21812         * math/s_ccosh.c (__ccoshf): Likewise.
21813         * math/s_cexp.c (__cexpl): Likewise.
21814         * math/s_csin.c (__csin): Likewise.
21815         * math/s_csinh.c (__csinh): Likewise.
21816         * math/s_ctan.c (__ctan): Likewise.
21817         * math/s_ctanh.c (ctanh): Likewise.
21818         * math/s_ccoshl.c (__ccoshl): Likewise.
21819         * math/s_cexpl.c (__cexpl): Likewise.
21820         * math/s_csinl.c (__csinl): Likewise.
21821         * math/s_csinhl.c (__csinhl): Likewise.
21822         * math/s_ctanl.c (__ctanl): Likewise.
21823         * math/s_ctanhl.c (__ctanhl): Likewise.
21825 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21827         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21828         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21829         (_IO_off_t): Define to __off_t, not _G_off_t.
21830         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21831         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21832         (_IO_wint_t): Define to wint_t, not _G_wint_t.
21833         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21834         type of __dummy and __dummy2 fields.
21835         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21836         (_G_ssize_t): Likewise.
21837         (_G_off_t): Likewise.
21838         (_G_pid_t): Likewise.
21839         (_G_uid_t): Likewise.
21840         (_G_wchar_t): Likewise.
21841         (_G_wint_t): Likewise.
21842         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21843         (_G_ssize_t): Likewise.
21844         (_G_off_t): Likewise.
21845         (_G_pid_t): Likewise.
21846         (_G_uid_t): Likewise.
21847         (_G_wchar_t): Likewise.
21848         (_G_wint_t): Likewise.
21849         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21850         (_G_ssize_t): Likewise.
21851         (_G_off_t): Likewise.
21852         (_G_pid_t): Likewise.
21853         (_G_uid_t): Likewise.
21854         (_G_wchar_t): Likewise.
21855         (_G_wint_t): Likewise.
21857 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         * malloc/arena.c: Include malloc-sysdep.h.
21860         (shrink_heap): Use check_may_shrink_heap to decide if madvise
21861         is sufficient to shrink the heap or an unmap is needed.
21862         * sysdeps/generic/malloc-sysdep.h: New file.  Define
21863         new function check_may_shrink_heap.
21864         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
21865         new function check_may_shrink_heap.
21867 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21869         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21870         comments.
21872 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
21874         * catgets/test-gencat.sh: Add "set -e".
21875         * elf/tst-pathopt.sh: Likewise.
21876         * grp/tst_fgetgrent.sh: Likewise.
21877         * iconvdata/run-iconv-test.sh: Likewise.
21878         * intl/tst-gettext.sh: Likewise.
21879         * intl/tst-gettext2.sh: Likewise.
21880         * intl/tst-gettext4.sh: Likewise.
21881         * intl/tst-gettext6.sh: Likewise.
21882         * intl/tst-translit.sh: Likewise.
21883         * io/ftwtest-sh: Likewise.
21884         * libio/test-freopen.sh: Likewise.
21885         * malloc/tst-mtrace.sh: Likewise.
21886         * posix/globtest.sh: Likewise.
21887         * posix/tst-getconf.sh: Likewise.
21888         * posix/wordexp-tst.sh: Likewise.
21889         * stdio-common/tst-printf.sh: Likewise.
21890         * stdio-common/tst-unbputc.sh: Likewise.
21891         * stdlib/tst-fmtmsg.sh: Likewise.
21892         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21893         * catgets/Makefile: Do not specify -e option when running
21894         testsuite shell scripts.
21895         * elf/Makefile: Likewise.
21896         * grp/Makefile: Likewise.
21897         * iconvdata/Makefile: Likewise.
21898         * intl/Makefile: Likewise.
21899         * io/Makefile: Likewise.
21900         * libio/Makefile: Likewise.
21901         * malloc/Makefile: Likewise.
21902         * posix/Makefile: Likewise.
21903         * stdio-common/Makefile: Likewise.
21904         * stdlib/Makefile: Likewise.
21905         * sysdeps/x86_64/Makefile: Likewise.
21907         * io/ftwtest-sh: Add copyright header.
21908         * posix/globtest.sh: Likewise.
21909         * posix/tst-getconf.sh: Likewise.
21910         * posix/wordexp-tst.sh: Likewise.
21911         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21913 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
21915         [BZ #13679]
21916         * Makeconfig (+link): Defined as $(+link-static) if
21917         $(build-shared) isn't yes.
21918         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21919         isn't yes.
21920         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21922         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21924         [BZ #14562]
21925         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21926         new chunk size with MALLOC_ALIGN_MASK.
21928 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
21930         [BZ #5044]
21931         * stdio-common/printf_fphex.c: Include <stdbool.h> and
21932         <rounding-mode.h>.
21933         (__printf_fphex): Determine rounding using get_rounding_mode and
21934         round_away.
21935         * stdio-common/tst-printf-round.c (struct hex_test): New
21936         structure.
21937         (hex_tests): New variable.
21938         (test_hex_in_one_mode): New function.
21939         (do_test): Also run tests for hex float output.
21941 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
21943         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21944         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21945         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21946         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21947         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21948         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21949         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21950         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21952 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
21954         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21955         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21956         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21957         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21959 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
21961         [BZ #14579]
21962         * elf/rtld.c (dl_main): Limit the check for self loading to normal
21963         mode only.
21964         * elf/tst-rtld-load-self.sh: New test.
21965         * elf/Makefile: Run it.
21967 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
21969         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21970         (tst-writev-ENV): Remove.
21971         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21973 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
21975         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21977 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
21979         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21980         unconditional.
21981         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21982         Likewise.
21983         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21984         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21985         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21986         Likewise.
21988 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
21990         [BZ #14587]
21991         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21992         * config.make.in (have-cpp-asm-debuginfo): Removed.
21993         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21994         * configure: Regenerated.
21996 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
21998         [BZ #5044]
21999         * stdio-common/printf_fp.c: Include <stdbool.h> and
22000         <rounding-mode.h>.
22001         (___printf_fp): Determine rounding using get_rounding_mode and
22002         round_away.
22003         * stdio-common/tst-printf-round.c: New file.
22004         * stdio-common/Makefile (tests): Add tst-printf-round.
22005         (link-libm): New variable.
22006         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22008 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22010         [BZ #14576]
22011         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22012         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22013         Likewise.
22014         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22015         Likewise.
22017 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22019         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22020         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22021         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22022         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22024 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22026         [BZ #14518]
22027         * include/rounding-mode.h: New file.
22028         * sysdeps/generic/get-rounding-mode.h: Likewise.
22029         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22030         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22031         (MAX_VALUE): New macro.
22032         (MIN_VALUE): Likewise.
22033         (overflow_value): New function.
22034         (underflow_value): Likewise.
22035         (round_and_return): Use overflow_value and underflow_value to
22036         determine return values in overflow and underflow cases.  Use
22037         round_away to determine rounding depending on rounding mode.
22038         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22039         determine return values in overflow and underflow cases.
22040         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22041         (struct test_results): New structure.
22042         (struct test): Use struct test_results to store expected results
22043         for all rounding modes.
22044         (TEST): Include expected results for all rounding modes.
22045         (test_in_one_mode): New function.
22046         (do_test): Use test_in_one_mode to compute and check results.
22047         Check results for all rounding modes.
22048         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22049         $(link-libm).
22051 2012-12-09  Allan McRae  <allan@archlinux.org>
22053         * sysdeps/i386/fpu/libm-test-ulps: Update
22055 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22057         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22058         (_G_int32_t): Likewise.
22059         (_G_uint16_t): Likewise.
22060         (_G_uint32_t): Likewise.
22061         (_G_HAVE_BOOL): Likewise.
22062         (_G_HAVE_ATEXIT): Likewise.
22063         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22064         (_G_HAVE_IO_FILE_OPEN): Likewise.
22065         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22066         (_G_int32_t): Likewise.
22067         (_G_uint16_t): Likewise.
22068         (_G_uint32_t): Likewise.
22069         (_G_HAVE_BOOL): Likewise.
22070         (_G_HAVE_ATEXIT): Likewise.
22071         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22072         (_G_HAVE_IO_FILE_OPEN): Likewise.
22073         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22074         (_G_int32_t): Likewise.
22075         (_G_uint16_t): Likewise.
22076         (_G_uint32_t): Likewise.
22077         (_G_HAVE_BOOL): Likewise.
22078         (_G_HAVE_ATEXIT): Likewise.
22079         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22080         (_G_HAVE_IO_FILE_OPEN): Likewise.
22082 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22084         * csu/libc-tls.c: Update copyright years.
22086 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22088         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22089         [!_G_USING_THUNKS]: Remove conditional code.
22090         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22091         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22093         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22094         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22095         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22096         (_G_VTABLE_LABEL_PREFIX): Likewise.
22097         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22098         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22099         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22100         (_G_VTABLE_LABEL_PREFIX): Likewise.
22101         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22102         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22103         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22104         (_G_VTABLE_LABEL_PREFIX): Likewise.
22105         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22107 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22109         * libio/Makefile: Include ../Makeconfig before tests.
22110         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22111         only if $(build-shared) is yes.
22113         * iconv/gconv_db.c: Update copyright years.
22115 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22117         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22118         unwind info if defined PIC. Fix special cases description.
22119         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22121         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22122         DP_HI_MASK entry.
22123         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22125 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22127         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22129         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22130         is NULL.
22132         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22133         (LDLIBS-tst-chk4): This.
22134         (LDFLAGS-tst-chk5): Renamed to ...
22135         (LDLIBS-tst-chk5): This.
22136         (LDFLAGS-tst-chk6): Renamed to ...
22137         (LDLIBS-tst-chk6): This.
22138         (LDFLAGS-tst-lfschk4): Renamed to ...
22139         (LDLIBS-tst-lfschk4): This.
22140         (LDFLAGS-tst-lfschk5): Renamed to ...
22141         (LDLIBS-tst-lfschk5): This.
22142         (LDFLAGS-tst-lfschk6): Renamed to ...
22143         (LDLIBS-tst-lfschk6): This.
22145         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22146         on $(common-objpfx)soversions.mk.
22148 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22150         [BZ #10014]
22151         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22152         example host name.
22154 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22156         * malloc/arena.c (arena_get_retry): New function that gets
22157         another arena for the caller to try its request on.
22158         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22159         current arena cannot fulfill the request.
22160         (__libc_memalign): Likewise.
22161         (__libc_memalign): Likewise.
22162         (__libc_pvalloc): Likewise.
22163         (__libc_calloc): Likewise.
22165 2012-09-05  John Tobey  <john.tobey@gmail.com>
22167         [BZ #13542]
22168         * manual/arith.texi (Operations on Complex): Fix description
22169         of carg branch cut.
22171 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22173         [BZ #10014]
22174         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22175         host name.
22177         [BZ #10038]
22178         * manual/memory.texi (Memory): Make order of menu items match
22179         order of sections.
22181 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22183         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22184         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22185         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22187 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22189         * csu/libc-tls.c (static_dtv): Renamed to ...
22190         (_dl_static_dtv): This.  Make it global.
22191         (_dl_initial_dtv): Removed.
22192         (__libc_setup_tls): Updated.
22193         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22194         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22195         DL_INITIAL_DTV.
22197 2012-09-06  Petr Machata  <pmachata@redhat.com>
22199         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22200         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22201         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22202         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22204 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22206         [BZ #14545]
22207         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22208         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22209         freeing dtv[-1].
22211 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22213         [BZ #14544]
22214         * Makeconfig (link-static-before-libc): Replace $(+prector)
22215         with $(+prectorT).
22216         (link-static-after-libc): Replace $(+postctor) with
22217         $(+postctorT).
22218         (link-bounded): Replace $(+prector)/$(+postctor) with
22219         $(+prectorT)/$(+postctorT).
22220         (+prectorT): New macro.
22221         (+postctorT): Likewise.
22223 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22225         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22226         (round_str): Handle values above the maximum for IBM long double
22227         as inexact.
22228         * stdlib/tst-strtod-round.c (tests): Regenerated.
22230 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22232         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22233         assembler flag.
22234         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22235         zarch_nohighgprs around the zarch optimized routines.
22236         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22237         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22239         for zarch.
22241 2012-09-05  David S. Miller  <davem@davemloft.net>
22243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22245         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22246         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22247         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22248         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22249         entries.
22251 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22253         * malloc/arena.c: Fold copyright years.
22254         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22256 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22258         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22260 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22262         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22264 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22266         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22267         change internal state upon failure.
22269 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22271         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22272         * malloc/memusage.c (mmap): Likewise.
22273         (mmap64, mremap): Likewise.  Adjust name in comment.
22275 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22277         * libio/fileops.c: Fix typos in comments.
22278         * libio/oldfileops.c: Likewise.
22279         * libio/wfileops.c: Likewise.
22281 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22283         [BZ #1349]
22284         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22285         (tst-malloc-usable-ENV): Set environment for test case.
22286         * malloc/hooks.c (malloc_check_get_size): New function to get
22287         requested size.
22288         * malloc/malloc.c (musable): Use malloc_check_get_size.
22289         * malloc/tst-malloc-usable.c: New test case.
22291 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22293         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22295 2012-09-05  Allan McRae  <allan@archlinux.org>
22297         [BZ #13966]
22298         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22299         determine header location.
22300         * configure: Regenerated.
22302 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22304         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22305         float format.
22306         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22307         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22308         format.
22309         (test): Regenerate.
22311 2012-09-04  David S. Miller  <davem@davemloft.net>
22313         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22314         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22315         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22317 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22319         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22320         failures.
22322         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22324 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22326         [BZ #9914]
22327         * libio/iogetdelim.c: Include <limits.h>.
22328         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22329         + len + 1 would overflow.
22331 2012-09-03  Andreas Jaeger  <aj@suse.de>
22333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22334         * sysdeps/i386/fpu/libm-test-ulps: Update.
22336 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22338         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22339         Add s_sinf-sse2, s_conf-sse2.
22341         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22342         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22343         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22344         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22346         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22347         for using routine as __sinf_ia32.
22348         Use macro for function declaration and weak_alias.
22349         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22350         for using routine as __cosf_ia32.
22351         Use macro for function declaration and weak_alias.
22353         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22354         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22356         * sysdeps/x86_64/fpu/s_sinf.S: New file.
22357         * sysdeps/x86_64/fpu/s_cosf.S: New file.
22358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22360         * math/libm-test.inc (cos_test): Add more test cases.
22361         (sin_test): Likewise.
22362         (sincos_test): Likewise.
22364 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22367         (IFUNC_RESOLVE): Make pointers to the specialized implementations
22368         hidden.
22369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22371 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
22373         [BZ #14538]
22374         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22375         first element of the GOT.
22376         (elf_machine_load_address): Return the difference between
22377         the runtime address of _DYNAMIC and elf_machine_dynamic ().
22379 2012-09-01  Allan McRae  <allan@archlinux.org>
22381         [BZ #13412]
22382         * configure.in (AWK): Require gawk version 3.0 or later.
22383         * configure: Regenerated.
22385 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
22387         * sysdeps/unix/sysv/linux/kernel-features.h
22388         (__ASSUME_POSIX_CPU_TIMERS): Remove.
22389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22390         [__NR_clock_getres]: Make code unconditional.
22391         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22392         (clock_getcpuclockid): Remove code left unreachable by removal of
22393         conditionals.
22394         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22395         code unconditional.
22396         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22397         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22398         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22399         Make code unconditional.
22400         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22401         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22402         * sysdeps/unix/sysv/linux/clock_settime.c
22403         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22404         conditional code.
22405         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22406         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22408 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
22410         [BZ #14476]
22411         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22412         scripts/test-installation.pl.
22414         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22415         and $ld_so_version if it is set.
22417 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22419         [BZ #14516]
22420         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22421         failure if reading from procfs failed.
22422         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22424 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22426         * sysdeps/unix/sysv/linux/kernel-features.h
22427         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22428         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22429         Remove conditional code.
22430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22431         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22432         Remove conditional code.
22433         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22434         * sysdeps/unix/sysv/linux/i386/fxstat.c
22435         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22436         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22437         * sysdeps/unix/sysv/linux/i386/fxstatat.c
22438         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22439         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22440         * sysdeps/unix/sysv/linux/i386/lxstat.c
22441         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22442         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22443         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
22444         Remove conditional code.
22445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22446         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22447         Remove conditional code.
22448         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22449         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
22450         <kernel-features.h>.
22451         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
22452         Remove.
22453         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
22454         Remove conditional code.
22455         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22456         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
22457         Remove conditional.
22459 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
22461         [BZ #5400]
22462         * NEWS: Add fixed bug number.
22464 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22466         [BZ #14519]
22467         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
22468         underflowing exponent in case of negative sign.
22469         * stdlib/tst-strtod-round-data: Add more tests.
22470         * stdlib/tst-strtod-round.c (tests): Regenerated.
22472         [BZ #3479]
22473         * stdlib/strtod_l.c (NDIG): Remove.
22474         (HEXNDIG): Likewise.
22475         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
22476         smallest representable value.
22477         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
22478         lie within an exact representation of 1/2 ulp of the result.
22479         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22480         unconditionally.
22481         (TENS_P9_IDX): Define unconditionally.
22482         (TENS_P9_SIZE): Likewise.
22483         (TENS_P10_IDX): Likewise.
22484         (TENS_P10_SIZE): Likewise.
22485         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
22486         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
22487         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
22488         entries for 10^2^13 and 10^2^14.
22489         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
22490         (TENS_P13_IDX): Define.
22491         (TENS_P13_SIZE): Likewise.
22492         (TENS_P14_IDX): Likewise.
22493         (TENS_P14_SIZE): Likewise.
22494         (_fpioconst_pow10): Change array size to
22495         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
22496         unconditional.
22497         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
22498         1024]: Add entries for 10^2^13 and 10^2^14.
22499         [LAST_POW10 > _LAST_POW10]: Remove #error.
22500         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
22501         (_fpioconst_pow10): Change array size to
22502         FPIOCONST_POW10_ARRAY_SIZE.
22503         * stdlib/gen-fpioconst.c: New file.
22504         * stdlib/gen-tst-strtod-round.c: Likewise.
22505         * stdlib/tst-strtod-round-data: Likewise.
22506         * stdlib/tst-strtod-round.c: Likewise.
22507         * stdlib/Makefile (tests): Add tst-strtod-round.
22509         [BZ #14459]
22510         * stdlib/strtod_l.c: Include <stdint.h>.
22511         (NDEBUG): Do not define.
22512         (round_and_return): Change EXPONENT parameter to type intmax_t.
22513         Rearrange calculations to avoid internal overflow possibilities.
22514         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
22515         Rearrange calculations to avoid internal overflow possibilities.
22516         Assert that number fits inside MPNSIZE limbs.
22517         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
22518         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
22519         calculations and add assertions to avoid internal overflow
22520         possibilities.  Add casts to avoid signed/unsigned operations.
22521         * stdlib/tst-strtod-overflow.c: New file.
22522         * stdlib/Makefile (tests): Add tst-strtod-overflow.
22524 2012-08-25  Marek Polacek  <polacek@redhat.com>
22526         * time/time.h: Fix some typos in comments.
22528 2012-08-23  Roland McGrath  <roland@hack.frob.com>
22530         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
22531         * posix/tst-rfc3484-2.c: Likewise.
22532         * posix/tst-rfc3484-3.c: Likewise.
22534 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
22536         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
22537         (EF_ARM_ABI_FLOAT_HARD): Likewise.
22539 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
22541         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
22542         #include of fxstatat64.c.
22544 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22546         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
22547         * shadow/getspent_r.c: Likewise.
22548         * shadow/getspnam.c: Likewise.
22549         * shadow/getspnam_r.c: Likewise.
22550         * gshadow/getsgent.c: Likewise.
22551         * gshadow/getsgent_r.c: Likewise.
22552         * gshadow/getsgnam.c: Likewise.
22553         * gshadow/getsgnam_r.c: Likewise.
22554         * inet/getnetbyad.c: Likewise.
22555         * inet/getnetbyad_r.c: Likewise.
22556         * inet/getnetbynm.c: Likewise.
22557         * inet/getnetbynm_r.c: Likewise.
22558         * inet/getnetent.c: Likewise.
22559         * inet/getnetent_r.c: Likewise.
22560         * inet/getproto.c: Likewise.
22561         * inet/getproto_r.c: Likewise.
22562         * inet/getprtent.c: Likewise.
22563         * inet/getprtent_r.c: Likewise.
22564         * inet/getprtname.c: Likewise.
22565         * inet/getprtname_r.c: Likewise.
22566         * inet/getrpcbyname.c: Likewise.
22567         * inet/getrpcbyname_r.c: Likewise.
22568         * inet/getrpcbynumber.c: Likewise.
22569         * inet/getrpcbynumber_r.c: Likewise.
22570         * inet/getrpcent.c: Likewise.
22571         * inet/getrpcent_r.c: Likewise.
22572         * inet/getaliasent.c: Likewise.
22573         * inet/getaliasent_r.c: Likewise.
22574         * inet/getaliasname.c: Likewise.
22575         * inet/getaliasname_r.c: Likewise.
22576         * nscd/getgrgid_r.c: Likewise.
22577         * nscd/getgrnam_r.c: Likewise.
22578         * nscd/gethstbyad_r.c: Likewise.
22579         * nscd/gethstbynm3_r.c: Likewise.
22580         * nscd/getpwnam_r.c: Likewise.
22581         * nscd/getpwuid_r.c: Likewise.
22582         * nscd/getsrvbynm_r.c: Likewise.
22583         * nscd/getsrvbypt_r.c: Likewise.
22584         * nscd/gai.c: Likewise.
22586         * configure.in (build_nscd): New substituted variable, set
22587         by --disable-build-nscd and defaults to $use_nscd.
22588         * configure: Regenerated.
22589         * config.make.in (build-nscd): New substituted variable.
22590         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
22591         Change conditional to require [$(build-nscd) = yes] as well.
22592         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
22594         [BZ# 13696]
22595         * configure.in (use_nscd): New substituted variable, set by
22596         --disable-nscd.  If enabled, define USE_NSCD.
22597         * configure: Regenerated.
22598         * config.h.in: Add USE_NSCD.
22599         * config.make.in (use-nscd): New substituted variable.
22600         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22601         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
22602         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
22603         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
22604         (CFLAGS-getgrnam_r.c): Likewise.
22605         (CFLAGS-initgroups.c): Likewise.
22606         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
22607         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
22608         Variables removed.
22609         * inet/getnetgrent_r.c
22610         (nscd_setnetgrent): New function, broken out of ...
22611         (setnetgrent): ... here.  Call it.
22612         (innetgr): Conditionalize nscd bits on [USE_NSCD].
22613         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
22614         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
22615         * nscd/Makefile (routines, aux): Move definitions after include of
22616         Makeconfig.  Conditionalize on [$(use-nscd) != no].
22617         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
22618         Conditionalize on [USE_NSCD].
22619         (is_nscd, nscd_init_cb): Likewise.
22620         (nss_load_library): Conditionalize init callback on [USE_NSCD].
22621         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
22622         * nss/nss_db/db-init.c: Likewise.
22623         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
22624         [USE_NSCD].
22625         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
22626         (make_request): Use it.
22627         (cache_valid_p): New function.
22628         (__check_pf): Use it.
22629         * NEWS: Add item for --disable-nscd.
22631 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
22633         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
22634         to support sed >= 4.2.1-20-ga9bf076.
22635         * configure: Regenerated.
22637 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22639         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
22640         Conditionalize whole body on [IREL].
22642 2012-08-22  Jeff Law <law@redhat.com>
22644         [BZ #14505]
22645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
22646         if the family is PF_UNSPEC.
22648 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
22650         * Makerules (lib-version): Rename from V.
22651         (install-lib-nosubdir): Change V to lib-version.
22653 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
22655         [BZ #14252]
22656         * powerpc32/power6/wcschr.c: New file.
22657         * powerpc32/power6/wcscpy.c: New file.
22658         * powerpc32/power6/wcsrchr.c: New file.
22659         * powerpc64/power6/wcschr.c: New file.
22660         * powerpc64/power6/wcscpy.c: New file.
22661         * powerpc64/power6/wcsrchr.c: New file.
22663 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22665         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
22666         (two_way_short_needle): Use it.
22667         * string/strstr.c (AVAILABLE1_USES_J): Define.
22668         * string/strcasestr.c: Likewise.
22670         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
22671         array references.
22672         * string/strcasestr.c (TOLOWER): Make side-effect safe.
22674         [BZ #11607]
22675         * NEWS: Add an entry.
22676         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22677         define their defaults.
22678         (two_way_short_needle): Detect end-of-string on-the-fly.
22679         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22680         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22681         * string/bug-strcasestr1.c: New test.
22682         * string/Makefile: Run it.
22684 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22686         [BZ #11607]
22687         * string/str-two-way.h (two_way_short_needle): Optimize matching of
22688         the first character.
22690 2012-08-21  Roland McGrath  <roland@hack.frob.com>
22692         * csu/elf-init.c (__libc_csu_irel): Function removed.
22693         * csu/libc-start.c (apply_irel): New function.
22694         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22696 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
22698         * sysdeps/unix/sysv/linux/kernel-features.h
22699         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22700         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22701         <kernel-features.h>.
22702         [__NR_fadvise64_64]: Make code unconditional.
22703         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22704         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22705         !__NR_fadvise64_64)]: Likewise.
22706         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22707         !__NR_fadvise64_64))]: Likewise.
22708         [__NR_fadvise64]: Make code unconditional.
22709         [!__NR_fadvise64]: Remove conditional code.
22710         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22711         <kernel-features.h>.
22712         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22713         unconditional.
22714         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22715         conditional code.
22716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22717         not include <kernel-features.h>.
22718         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22719         unconditional.
22720         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22721         conditional code.
22722         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22723         include <kernel-features.h>.
22724         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22725         unconditional.
22726         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22727         conditional code.
22729 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22731         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22732         slight instruction rearrangements per scrollpipe analysis.
22733         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22735 2012-08-20  Roland McGrath  <roland@hack.frob.com>
22737         * manual/syslog.texi (syslog; vsyslog, closelog):
22738         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22739         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22741         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22742         DSOCAPS to match condition on defining it.
22744 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
22746         * sysdeps/unix/sysv/linux/kernel-features.h
22747         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22749         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22750         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22752         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22753         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22755         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22756         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22758         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22759         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22761         * sysdeps/unix/sysv/linux/kernel-features.h
22762         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22763         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22764         unconditional.
22765         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22766         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22767         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22768         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22769         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22770         Make code unconditional.
22771         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22772         (__mmap64) [!__NR_mmap2]: Likewise.
22773         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22774         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22775         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22776         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22777         [__NR_mmap2]: Make code unconditional.
22778         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22779         (__mmap64) [!__NR_mmap2]: Likewise.
22781 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22783         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22785 2012-08-18  Andreas Jaeger  <aj@suse.de>
22787         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22789 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22791         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22792         * include/unistd.h (__have_sock_cloexec): Likewise.
22793         (__have_pipe2): Likewise.
22794         (__have_dup3): Likewise.
22796 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22798         [BZ #9685]
22799         * include/unistd.h (__have_pipe2): Change define into an extern int.
22800         (__have_dup3): Likewise.
22801         * socket/have_sock_cloexec.c: Include fcntl.h.
22802         (__have_pipe2): New variable.
22803         (__have_dup3): Likewise.
22805 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
22807         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22809 2012-08-17  Marek Polacek  <polacek@redhat.com>
22811         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22812         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22814 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22816         * configure.in: Add AC_SUBST for sysheaders.
22817         * configure: Regenerated.
22818         * config.make.in (sysheaders): New substituted variable.
22820         * sysdeps/unix/mkfifo.c: Moved ...
22821         * sysdeps/posix/mkfifo.c: ... here.
22822         * sysdeps/unix/mkfifoat.c: Moved ...
22823         * sysdeps/posix/mkfifoat.c: ... here.
22825         * sysdeps/unix/utime.c: Moved ...
22826         * sysdeps/posix/utime.c: ... here.
22828         * sysdeps/unix/time.c: Moved ...
22829         * sysdeps/posix/time.c: ... here.
22830         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22831         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22833         * sysdeps/unix/nice.c: Moved ...
22834         * sysdeps/posix/nice.c: ... here.
22836         * sysdeps/unix/alarm.c: Moved ...
22837         * sysdeps/posix/alarm.c: ... here.
22839         * intl/Makefile ($(codeset_mo)): Depend on the input file.
22841 2012-08-17  Jeff Law <law@redhat.com>
22843         * intl/Makefile (codeset_mo): New variable.
22844         ($(codeset_mo)): New target.
22845         (tst-codeset.out): Depend on that.  Remove explicit rule.
22846         (tst-gettext3.out, tst-gettext5.out): Likewise.
22847         (LOCPATH-ENV, tst-codeset-ENV): New variables.
22848         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22849         * intl/tst-codeset.sh: Remove.
22850         * intl/tst-gettext3.sh: Likewise.
22851         * intl/tst-gettext5.sh: Likewise.
22853 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22855         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
22856         * sysdeps/unix/syscalls.list: ... here.
22858         * sysdeps/posix/getaddrinfo.c
22859         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22860         (gaiconf_init, gaiconf_reload): Use them.
22861         [!_STATBUF_ST_NSEC]
22862         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22863         Define using time_t rather than struct timespec.
22865         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22866         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22867         Macros removed.
22868         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22869         [!NO_THREADS].
22870         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22871         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22872         Likewise.
22874         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22875         __libc_cleanup_push argument.
22877         * bits/param.h: New file.
22878         * misc/sys/param.h: New file.
22879         * include/sys/param.h: New file.
22880         * misc/Makefile (headers): Add bits/param.h.
22881         * sysdeps/generic/sys/param.h: File removed.
22882         * sysdeps/unix/sysv/linux/bits/param.h: New file.
22883         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22884         * sysdeps/mach/hurd/bits/param.h: New file.
22885         * sysdeps/mach/hurd/sys/param.h: File removed.
22887         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22888         last change.
22890         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22891         [_IO_MTSAFE_IO].
22892         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22893         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22894         New macros.
22896         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22897         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22898         rather than -D_IO_MTSAFE_IO conditionally.
22899         * stdio-common/Makefile (CPPFLAGS): Likewise.
22900         * wcsmbs/Makefile (CPPFLAGS): Likewise.
22901         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22902         Use $(libio-mtsafe).
22903         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22904         of -D_IO_MTSAFE_IO.
22905         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22906         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22907         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22908         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22909         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22910         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22911         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22912         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22913         (CFLAGS-fread_u_chk.c): Likewise.
22914         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22915         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22916         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22917         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22918         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22919         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22920         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22921         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22922         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22924         * libio/Makefile: Test [$(libc-reentrant) = yes]
22925         instead of [$(filter %REENTRANT, $(defines)) nonempty].
22927         * Makeconfig
22928         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22929         * sysdeps/pthread/configure: File removed.
22930         * sysdeps/pthread/Makeconfig: New file.
22931         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22932         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22934 2012-08-16  Gary Benson  <gbenson@redhat.com>
22936         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22937         unmapping the first object in a namespace.
22939 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22941         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22942         (__internal_setnetgrent): ... this.  Add internal_function to
22943         definition.  Add libc_hidden_def.
22944         (setnetgrent): Update caller.
22945         (internal_endnetgrent): Renamed to ...
22946         (__internal_endnetgrent): ... this.  Add internal_function to
22947         definition.  Add libc_hidden_def.
22948         (endnetgrent): Update caller.
22949         (internal_getnetgrent_r): Renamed to ...
22950         (__internal_getnetgrent_r): ... this.  Add internal_function to
22951         definition.  Add libc_hidden_def.
22952         (__getnetgrent_r): Update caller.
22953         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
22955 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22957         * stdlib/longlong.h: Update from GCC.
22959 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22961         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22962         on _QL, which is set by umul_ppmm but never used.
22963         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22964         variables, which are set by GMP macros but never used.
22965         * stdio-common/_itowa.c (_itowa): Likewise.
22966         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22967         * stdlib/mod_1.c (mpn_mod_1): Likewise.
22969 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
22971         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22972         struct La_sh_regs is not constant.
22973         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22974         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22975         and struct La_sparc64_regs are not constant.
22977 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22979         * sysdeps/unix/sysv/linux/kernel-features.h
22980         (__ASSUME_POSIX_TIMERS): Remove.
22981         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22982         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22983         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22984         Make code unconditional.
22985         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22986         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22987         Make code unconditional.
22988         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22989         * sysdeps/unix/sysv/linux/clock_nanosleep.c
22990         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22991         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22992         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22993         Make code unconditional.
22994         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22995         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22996         (__libc_missing_posix_timers): Remove.
22998 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23000         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23001         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23003         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23005         * elf/dl-sym.c: Include <stdlib.h>.
23007         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23008         constants, which avoids warnings in 32-bit builds.
23010         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23011         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23013         * misc/lseek.c: File moved to ...
23014         * io/lseek.c: ... here.
23016         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23018         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23019         shifting LEN more than 31 bits at once.
23021 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23023         [BZ #14195]
23024         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23025         segmentation fault for a case of two empty input strings.
23026         * string/test-strncasecmp.c (check1): Renamed to...
23027         (bz12205): ...this.
23028         (bz14195): Add new testcase for two empty input strings and N > 0.
23029         (test_main): Call new testcase, adapt for renamed function.
23031 2012-08-15  Andreas Jaeger  <aj@suse.de>
23033         [BZ #14090]
23034         * crypt/md5test2.c: New test, based on test supplied by Serge
23035         Belyshev <belyshev@depni.sinp.msu.ru>.
23036         * crypt/Makefile (xtests): Add md5test-giant..
23037         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23039 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23041         [BZ #14090]
23042         * crypt/md5.c (md5_process_block): Don't assume the buffer
23043         length is less than 2**32.
23044         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23045         length is less than 2**64.
23047 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23049         * string/str-two-way.h: Include <sys/param.h>.
23050         (MAX): Macro removed.
23052         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23053         Move #define and #undef of memmove to just before and after
23054         including <string.h>.
23056         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23057         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23058         and after including <string.h>.  Move declarations of
23059         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23060         to before #include "string/memmove.c".
23062         * include/dirent.h: Declare __getdirentries.
23064         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23065         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23067 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23069         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23070         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23071         * sysdeps/i386/configure: Regenerated.
23072         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23073         STABS_CURRENT_FILE, and STABS_FUN.
23074         (END): Remove call to STABS_FUN_END.
23075         (STABS_CURRENT_FILE1): Delete.
23076         (STABS_CURRENT_FILE): Likewise.
23077         (STABS_FUN): Likewise.
23078         (STABS_FUN_END): Likewise.
23079         (STABS_FUN2): Likewise.
23080         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23081         * sysdeps/x86_64/configure: Regenerated.
23083 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23085         * elf/dl-open.c: Include <atomic.h>.
23086         * elf/dl-lookup.c: Likewise.
23088 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23090         * sysdeps/unix/sysv/linux/kernel-features.h
23091         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23092         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23093         unconditionally.
23094         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23095         unconditionally.
23096         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23097         condition on __ASSUME_CLONE_THREAD_FLAGS.
23099 2012-08-14  Andreas Jaeger  <aj@suse.de>
23101         * sysdeps/i386/fpu/libm-test-ulps: Update.
23103 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23105         * include/atomic.h (atomic_exchange_and_add): Split into ...
23106         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23107         New atomic macros.
23109 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23113 2012-08-13  Jeff Law <law@redhat.com>
23115         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23116         null byte in the output string.
23118 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23120         * sysdeps/unix/sysv/linux/kernel-features.h
23121         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23122         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23123         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23124         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23125         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23126         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23127         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23129 2012-08-09  Jeff Law <law@redhat.com>
23131         [BZ #13939]
23132         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23133         When avoid_arena is set, don't retry in the that arena.  Pick the
23134         next one, whatever it might be.
23135         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23136         (arena_lock): Pass in new parameter to arena_get2.
23137         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23138         arena_get2.
23139         (__libc_malloc): Unify retrying after main arena failure with
23140         __libc_memalign version.
23141         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23143 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23145         [BZ #14166]
23146         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23147         to __redirect_strstr.
23148         (__strstr_sse42): Use typeof __redirect_strstr.
23149         (__strstr_ia32): Likewise.
23150         (__libc_strstr): New prototype.
23151         (strstr): Renamed to ...
23152         (__libc_strstr): This.
23153         (strstr): New strong alias of __libc_strstr.
23154         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23155         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23156         __redirect_time.
23157         Include <time.h>.
23158         (__libc_time): New prototype.
23159         (time_ifunc): Replace time with __libc_time.
23160         (time): New strong alias and hidden definition of __libc_time.
23161         (__GI_time): Remove strong alias.
23162         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23163         Include <stddef.h>.
23164         (memmove): Redefined to __redirect_memmove.
23165         (__memmove_sse2): Use typeof __redirect_memmove.
23166         (__memmove_ssse3): Likewise.
23167         (__memmove_ssse3_back): Likewise.
23168         (__libc_memmove): New prototype.
23169         (memmove): Renamed to ...
23170         (__libc_memmove): This.
23171         (memmove): New strong alias of __libc_memmove.
23173 2012-08-08  Mark Salter  <msalter@redhat.com>
23175         * elf/elf.h
23176         (R_MN10300_TLS_GD): Define.
23177         (R_MN10300_TLS_LD): Likewise.
23178         (R_MN10300_TLS_LDO): Likewise.
23179         (R_MN10300_TLS_GOTIE): Likewise.
23180         (R_MN10300_TLS_IE): Likewise.
23181         (R_MN10300_TLS_LE): Likewise.
23182         (R_MN10300_TLS_DTPMOD): Likewise.
23183         (R_MN10300_TLS_DTPOFF): Likewise.
23184         (R_MN10300_TLS_TPOFF): Likewise.
23185         (R_MN10300_SYM_DIFF): Likewise.
23186         (R_MN10300_ALIGN): Likewise.
23187         (R_MN10300_NUM): Update.
23189 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23191         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23192         Remove.
23194 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23196         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23198         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23199         sysdeps/unix -> sysdeps/posix move.
23200         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23202 2012-08-07      Allan McRae     <allan@archlinux.org>
23204         [BZ #14303]
23205         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23206         (SUNOS_CPP): Likewise.
23207         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23208         not found.
23209         (open_input): Call CPP using execvp.
23211 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23213         * sysdeps/unix/sysv/linux/kernel-features.h
23214         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23215         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23216         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23217         (__ASSUME_WAITID_SYSCALL): Likewise.
23218         * sysdeps/unix/sysv/linux/dl-execstack.c
23219         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23220         code unconditional.
23221         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23222         conditional code.
23223         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23224         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23225         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23226         code.
23227         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23228         unconditional.
23229         [__ASSUME_WAITID_SYSCALL]: Likewise.
23230         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23232 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23234         * sysdeps/unix/closedir.c: Renamed to ...
23235         * sysdeps/posix/closedir.c: ... here.
23236         * sysdeps/unix/dirfd.c: Renamed to ...
23237         * sysdeps/posix/dirfd.c: ... here.
23238         * sysdeps/unix/dirstream.h: Renamed to ...
23239         * sysdeps/posix/dirstream.h: ... here.
23240         * sysdeps/unix/fdopendir.c: Renamed to ...
23241         * sysdeps/posix/fdopendir.c: ... here.
23242         * sysdeps/unix/opendir.c: Renamed to ...
23243         * sysdeps/posix/opendir.c: ... here.
23244         * sysdeps/unix/readdir.c: Renamed to ...
23245         * sysdeps/posix/readdir.c: ... here.
23246         * sysdeps/unix/readdir_r.c: Renamed to ...
23247         * sysdeps/posix/readdir_r.c: ... here.
23248         * sysdeps/unix/rewinddir.c: Renamed to ...
23249         * sysdeps/posix/rewinddir.c: ... here.
23250         * sysdeps/unix/seekdir.c: Renamed to ...
23251         * sysdeps/posix/seekdir.c: ... here.
23252         * sysdeps/unix/telldir.c: Renamed to ...
23253         * sysdeps/posix/telldir.c: ... here.
23254         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23255         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23256         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23257         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23259         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23260         * bits/fcntl.h: ... here.
23262         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23263         not 0.
23264         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23265         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23266         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23267         (struct flock): Move l_start, l_len to the beginning.
23268         Use __pid_t for l_pid.
23269         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23270         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23271         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23272         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23273         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23274         [__USE_LARGEFILE64] (struct flock64): New type.
23275         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23277         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23278         * bits/dirent.h: ... here.
23280         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23281         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23283 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23286         Change from 2.6.0 to 2.6.16.
23287         * sysdeps/unix/sysv/linux/configure: Regenerated.
23288         * sysdeps/unix/sysv/linux/kernel-features.h
23289         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23290         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23291         version.
23292         (__ASSUME_UTIMES): Likewise.
23293         (__ASSUME_CLONE_STOPPED): Remove.
23294         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23295         architectures, not kernel version.
23296         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23297         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23298         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23299         (__ASSUME_WAITID_SYSCALL): Likewise.
23300         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23301         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23302         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23303         refer to older versions.
23305 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23307         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23308         Define alphasort64 as an alias.
23309         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23310         Define versionsort64 as an alias.
23311         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23312         Define scandir64 as an alias.
23313         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23314         Define scandirat64 as an alias.
23315         * dirent/alphasort64.c (alphasort64):
23316         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23317         * dirent/versionsort64.c: Likewise.
23318         * dirent/scandir64.c: Likewise.
23319         * dirent/scandirat64.c: Likewise.
23320         * sysdeps/wordsize-64/alphasort.c: File removed.
23321         * sysdeps/wordsize-64/alphasort64.c: File removed.
23322         * sysdeps/wordsize-64/scandir.c: File removed.
23323         * sysdeps/wordsize-64/scandir64.c: File removed.
23324         * sysdeps/wordsize-64/scandirat.c: File removed.
23325         * sysdeps/wordsize-64/scandirat64.c: File removed.
23326         * sysdeps/wordsize-64/versionsort.c: File removed.
23327         * sysdeps/wordsize-64/versionsort64.c: File removed.
23328         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23329         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23330         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23331         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23332         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23333         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23334         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23335         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23337         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23338         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23339         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23340         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23341         [defined __arch64__ || defined __sparcv9]
23342         (__INO_T_MATCHES_INO64_T): New macro.
23343         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23344         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23345         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23346         * sysdeps/unix/sysv/linux/bits/dirent.h
23347         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23348         (_DIRENT_MATCHES_DIRENT64): New macro.
23350         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23351         Define lockf64 as an alias.
23352         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23353         Define fseeko64 as an alias.
23354         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23355         Define ftello64 as an alias.
23356         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23357         Define _IO_fgetpos64 and fgetpos64 as aliases.
23358         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23359         Define _IO_fsetpos64 and fsetpos64 as aliases.
23360         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23361         Conditionalize body on this.
23362         * libio/fseeko64.c: Likewise.
23363         * libio/ftello64.c: Likewise.
23364         * libio/iofgetpos64.c: Likewise.
23365         * libio/iofsetpos64.c: Likewise.
23366         * sysdeps/wordsize-64/lockf.c: File removed.
23367         * sysdeps/wordsize-64/lockf64.c: File removed.
23368         * sysdeps/wordsize-64/fseeko.c: File removed.
23369         * sysdeps/wordsize-64/fseeko64.c: File removed.
23370         * sysdeps/wordsize-64/ftello.c: File removed.
23371         * sysdeps/wordsize-64/ftello64.c: File removed.
23372         * sysdeps/wordsize-64/iofgetpos.c: File removed.
23373         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23374         * sysdeps/wordsize-64/iofsetpos.c: File removed.
23375         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23376         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23377         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23378         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23379         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23380         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23381         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23382         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23383         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23384         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23385         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23387         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23389         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23391         [defined __arch64__ || defined __sparcv9]
23392         (__OFF_T_MATCHES_OFF64_T): New macro.
23393         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23394         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23396         (__OFF_T_MATCHES_OFF64_T): New macro.
23398 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23400         * stdlib/secure-getenv.c (__secure_getenv): Replace
23401         GLIBC_2_16 with GLIBC_2_17.
23403 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23405         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23406         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23408 2012-08-03  David S. Miller  <davem@davemloft.net>
23410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23412 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23414         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23415         Remove.
23416         (__ASSUME_CORRECT_SI_PID): Likewise.
23417         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23418         (__ASSUME_TMPFS_NAME): Likewise.
23419         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23420         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23421         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23422         (HAVE_AUX_SECURE): Make definition unconditional.
23423         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23424         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23426 2012-08-03  Roland McGrath  <roland@hack.frob.com>
23428         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23429         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23430         * sysdeps/mach/hurd/eloop-threshold.h: New file.
23431         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23432         __eloop_threshold instead of SYMLOOP_MAX.
23434         * sysdeps/generic/eloop-threshold.h: New file.
23435         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23436         of MAXSYMLINKS.
23437         * elf/chroot_canon.c (chroot_canon): Likewise.
23439 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23441         [BZ #13717]
23442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23443         Change to 2.6.0 everywhere.
23444         * sysdeps/unix/sysv/linux/configure: Regenerated.
23445         * sysdeps/unix/sysv/linux/kernel-features.h
23446         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
23447         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
23448         kernel versions.
23449         (__ASSUME_POSIX_TIMERS): Define unconditionally.
23450         (__ASSUME_FUTEX_REQUEUE): Remove.
23451         (__ASSUME_STATFS64): Define unconditionally.
23452         (__ASSUME_AT_SECURE): Likewise.
23453         (__ASSUME_CORRECT_SI_PID): Likewise.
23454         (__ASSUME_TGKILL): Define without depending on kernel version for
23455         i386.
23456         (__ASSUME_UTIMES): Likewise.
23457         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
23458         kernel version.
23459         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
23460         (__ASSUME_TMPFS_NAME): Likewise.
23461         * README: Update reference to Linux kernel versions.
23463 2012-08-02  Marek Polacek  <polacek@redhat.com>
23465         [BZ# 14150]
23466         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
23467         libc_cv_asm_type_prefix with %.
23468         * configure: Regenerated.
23469         * include/libc-symbols.h: Remove comment about
23470         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23471         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
23472         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
23473         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
23474         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
23475         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23476         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
23477         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
23478         * elf/tst-unique2mod1.c: Likewise.
23479         * elf/tst-unique1mod2.c: Likewise.
23480         * elf/tst-unique1mod1.c: Likewise.
23481         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
23482         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
23483         Replace ASM_TYPE_DIRECTIVE with .type.
23484         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23485         * sysdeps/i386/sysdep.h: Likewise.
23486         * sysdeps/x86_64/sysdep.h: Likewise.
23487         * sysdeps/sh/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23489         Do not define ASM_TYPE_DIRECTIVE.
23490         * sysdeps/powerpc/sysdep.h: Likewise.
23491         * sysdeps/powerpc/powerpc32/sysdep.h:
23492         Replace ASM_TYPE_DIRECTIVE with .type.
23493         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23494         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23495         * sysdeps/i386/fpu/e_powf.S: Likewise.
23496         * sysdeps/i386/fpu/e_expl.S: Likewise.
23497         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23498         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23499         * sysdeps/i386/fpu/e_pow.S: Likewise.
23500         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23501         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23502         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23503         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23504         * sysdeps/i386/fpu/e_log2.S: Likewise.
23505         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23506         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23507         * sysdeps/i386/fpu/e_powl.S: Likewise.
23508         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23509         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23510         * sysdeps/i386/fpu/e_logl.S: Likewise.
23511         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23512         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23513         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23514         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23515         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23516         * sysdeps/i386/fpu/e_log.S: Likewise.
23517         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23518         * sysdeps/i386/fpu/e_logf.S: Likewise.
23519         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23520         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23521         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23522         * sysdeps/i386/fpu/e_log10.S: Likewise.
23523         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23524         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23525         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23526         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23527         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23528         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23529         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23530         * sysdeps/i386/i686/strtok.S: Likewise.
23531         * sysdeps/i386/i386-mcount.S: Likewise.
23532         * sysdeps/i386/strtok.S: Likewise.
23533         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
23534         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23535         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23536         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23537         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23538         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23539         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23540         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23541         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23542         * sysdeps/x86_64/_mcount.S: Likewise.
23543         * sysdeps/x86_64/strtok.S: Likewise.
23544         * sysdeps/sh/_mcount.S: Likewise.
23546 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23548         * libio/iofopen.c: Include <fcntl.h>.
23549         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
23550         (_IO_fopen64, fopen64): Define as aliases.
23551         * libio/iofopen64.c: Include <fcntl.h>.
23552         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
23553         Conditionalize body on this.
23554         * sysdeps/wordsize-64/iofopen.c: File removed.
23555         * sysdeps/wordsize-64/iofopen64.c: File removed.
23557 2012-08-01  Marek Polacek  <polacek@redhat.com>
23559         * libc/Makeconfig: Use elf in place of binfmt-subdir.
23560         Use dlfcn directly instead of a variable.
23561         (binfmt-subdir): Do not define.
23562         (dlfcn): Likewise.
23564 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
23566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
23567         Remove all definitions.
23568         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
23569         <kernel-features.h>.
23570         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23571         (miss_F_GETOWN_EX): Remove all definitions.
23572         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
23573         macro definition.
23574         [!__ASSUME_FCNTL64]: Remove conditional code.
23575         [__ASSUME_FCNTL64]: Make code unconditional.
23576         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
23577         <kernel-features.h>.
23578         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23579         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
23580         (lockf64) [__NR_fcntl64]: Make code unconditional.
23581         (lockf64) [__ASSUME_FCNTL64]: Likewise.
23583         * sysdeps/unix/sysv/linux/kernel-features.h
23584         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
23585         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23586         Make code unconditional.
23587         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23588         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
23590         [__NR_vfork]: Make code unconditional.
23591         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23592         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
23594         [__NR_vfork]: Make code unconditional.
23595         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23596         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23598 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23600         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
23601         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
23603         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23604         Define mkstemp64 as an alias.
23605         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23606         Define mkstemps64 as an alias.
23607         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23608         Define mkostemp64 as an alias.
23609         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23610         Define mkostemps64 as an alias.
23611         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
23612         Conditionalize body on this.
23613         * misc/mkostemp64.c: Likewise.
23614         * misc/mkostemps64.c: Likewise.
23615         * misc/mkstemps64.c: Likewise.
23616         * sysdeps/wordsize-64/mkstemp64.c: File removed.
23617         * sysdeps/wordsize-64/mkostemp64.c: File removed.
23618         * sysdeps/wordsize-64/mkostemp.c: File removed.
23619         * sysdeps/wordsize-64/mkstemp.c: File removed.
23620         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
23621         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
23622         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
23623         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
23625         [BZ #14138]
23626         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
23627         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
23628         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23629         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
23631         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
23632         compat_symbol macros from <shlib-compat.h> rather than the underlying
23633         default_symbol_version and symbol_version macros, so that DEFAULT
23634         lines in shlib-versions are respected.
23635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
23637 2012-08-01  Florian Weimer  <fweimer@redhat.com>
23639         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
23640         Declare with warn_unused_result.
23641         (setgid, setregid, setegid, setresgid): Likewise.
23642         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
23643         Likewise.
23644         * WUR-REPORT: Remove set*id functions.
23646 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
23648         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
23650 2012-07-31  Roland McGrath  <roland@hack.frob.com>
23652         [BZ #10191]
23653         * include/sys/socket.h (__libc_accept, __libc_accept4):
23654         Add attribute_hidden.
23655         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
23657         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
23658         use of PTR_MANGLE.
23659         * inet/getnetgrent_r.c (setup): Likewise.
23661         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
23663 2012-07-31  David S. Miller  <davem@davemloft.net>
23665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23667 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
23669         [BZ #13629]
23670         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
23671         value between 1.0 and 2.0 and smaller part has absolute value less
23672         than 1.0.
23673         * math/s_clog10.c (__clog10): Likewise.
23674         * math/s_clog10f.c (__clog10f): Likewise.
23675         * math/s_clog10l.c (__clog10l): Likewise.
23676         * math/s_clogf.c (__clogf): Likewise.
23677         * math/s_clogl.c (__clogl): Likewise.
23678         * math/libm-test.inc (clog_test): Add more tests.
23679         (clog10_test): Likewise.
23680         * sysdeps/i386/fpu/libm-test-ulps: Update.
23681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683 2012-07-31  Florian Weimer  <fweimer@redhat.com>
23685         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23686         Exit with zero in case no suitable GID is found, and write a
23687         message to standard error.
23689 2012-07-30  Roland McGrath  <roland@hack.frob.com>
23691         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23692         rather than to 1.
23693         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23694         (MAXPATHLEN): Removed.
23695         (NOGROUP, NODEV): New macros.
23696         (setbit, clrbit, isset, isclr): New macros.
23697         (howmany, roundup, powerof2): New macros.
23698         (DEV_BSIZE): New macro.
23700         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23701         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23703         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23704         definition on [!__NO_LONG_DOUBLE_MATH].
23706         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23707         PTR_MANGLE and PTR_DEMANGLE.
23709         * socket/accept4.c (accept4): Rename to __libc_accept4.
23710         Define accept4 as a weak alias.
23712         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23713         on [_DIRENT_HAVE_D_TYPE].
23714         * io/ftw.c (ftw_dir): Likewise.
23716         * io/xmknod.c (__xmknod): Don't check PATH for being null.
23718         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23720         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23721         Use the BSD numbers rather than the arbitrary ones we had.
23722         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23723         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23724         (SIGXCPU, SIGXFSZ): New macros.
23725         (_NSIG): Now 32.
23727         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23728         initializer on [_LIBC_REENTRANT].
23730         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23731         definitions inside [_POSIX_MAPPED_FILES].
23733         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23735         * dirent/opendir.c: Include <fcntl.h>.
23737         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23738         (__libc_getspecific): Likewise.
23739         (__libc_key_create): Likewise.
23741         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23742         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23743         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23744         (tmpfile64): Define as alias.
23745         * sysdeps/wordsize-64/tmpfile.c: File removed.
23746         * sysdeps/wordsize-64/tmpfile64.c: File removed.
23747         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23748         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23750         * stdio-common/vfscanf.c: Include <stdbool.h>.
23751         * nss/makedb.c: Likewise.
23752         * stdio-common/_i18n_number.h: Likewise.
23753         * argp/argp-help.c: Likewise.
23754         * posix/wordexp.c: Likewise.
23755         * sysdeps/posix/spawni.c: Likewise.
23756         * nss/nss_files/files-initgroups.c: Likewise.
23757         * stdio-common/reg-modifier.c: Include <stdlib.h>.
23758         * nss/nss_files/files-initgroups.c: Likewise.
23759         * nss/nss_db/db-netgrp.c: Likewise.
23760         * nss/nss_db/db-initgroups.c: Likewise.
23761         * io/fchmodat.c: Include <sys/stat.h>.
23763         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23764         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23766         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23767         [HAVE_MMAP].
23769         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23770         Add multiple inclusion protection.
23772 2012-07-27  David S. Miller  <davem@davemloft.net>
23774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23776 2012-07-27  Gary Benson  <gbenson@redhat.com>
23778         [BZ #14298]
23779         * elf/rtld.c: Include <stap-probe.h>.
23780         (dl_main): Added static probes "init_start" and "init_complete".
23781         * elf/dl-load.c: Include <stap-probe.h>.
23782         (lose): Take new parameter "nsid".
23783         Added static probe "map_failed".
23784         (_dl_map_object_from_fd): Pass namespace id to lose.
23785         Added static probe "map_start".
23786         (open_verify): Pass namespace id to lose.
23787         * elf/dl-open.c: Include <stap-probe.h>.
23788         (dl_open_worker) Added static probes "map_complete", "reloc_start"
23789         and "reloc_complete".
23790         * elf/dl-close.c: Include <stap-probe.h>.
23791         (_dl_close_worker): Added static probes "unmap_start" and
23792         "unmap_complete".
23793         * elf/rtld-debugger-interface.txt: New file documenting the above.
23795 2012-07-26  Roland McGrath  <roland@hack.frob.com>
23797         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23798         rather than a string variable.
23799         * sunrpc/rpc_main.c (h_output): Likewise.
23800         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23802 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
23804         * inet/check_native.c: New file.
23806 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
23808         [BZ #13629]
23809         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23810         if larger part has absolute value 1.0.
23811         * math/s_clog10.c (__clog10): Likewise.
23812         * math/s_clog10f.c (__clog10f): Likewise.
23813         * math/s_clog10l.c (__clog10l): Likewise.
23814         * math/s_clogf.c (__clogf): Likewise.
23815         * math/s_clogl.c (__clogl): Likewise.
23816         * math/libm-test.inc (clog_test): Add more tests.
23817         (clog10_test): Likewise.
23818         * sysdeps/i386/fpu/libm-test-ulps: Update.
23819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23821         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23822         (pltexit): Likewise.
23823         (La_regs): Likewise.
23824         (La_retval): Likewise.
23825         (int_retval): Likewise.
23826         Update #error for removed macros to refer only to definitions in
23827         tst-audit.h.
23828         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23829         macro.
23830         (pltexit): Likewise.
23831         (La_regs): Likewise.
23832         (La_retval): Likewise.
23833         (int_retval): Likewise.
23834         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23835         macro.
23836         (pltexit): Likewise.
23837         (La_regs): Likewise.
23838         (La_retval): Likewise.
23839         (int_retval): Likewise.
23840         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23841         macro.
23842         (pltexit): Likewise.
23843         (La_regs): Likewise.
23844         (La_retval): Likewise.
23845         (int_retval): Likewise.
23846         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23847         macro.
23848         (pltexit): Likewise.
23849         (La_regs): Likewise.
23850         (La_retval): Likewise.
23851         (int_retval): Likewise.
23852         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23853         macro.
23854         (pltexit): Likewise.
23855         (La_regs): Likewise.
23856         (La_retval): Likewise.
23857         (int_retval): Likewise.
23858         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23859         macro.
23860         (pltexit): Likewise.
23861         (La_regs): Likewise.
23862         (La_retval): Likewise.
23863         (int_retval): Likewise.
23864         * sysdeps/generic/tst-audit.h: Update comment to refer only to
23865         macro definitions in tst-audit.h.
23866         * sysdeps/i386/tst-audit.h: New file.
23867         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23868         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23869         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23870         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23871         * sysdeps/sh/tst-audit.h: Likewise.
23872         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23873         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23874         * sysdeps/x86_64/tst-audit.h: Likewise.
23876 2012-07-26  Andreas Jaeger  <aj@suse.de>
23878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23879         ptrace.
23881         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23882         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23883         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23884         PTRACE_O_MASK.
23885         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23886         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23887         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23889         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23890         value.
23892         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23893         _sigsys.
23894         (si_call_addr, si_syscall, si_arch): Define new macro.
23895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23896         _sigsys.
23897         (si_call_addr, si_syscall, si_arch): Define new marcro.
23898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23899         _sigsys.
23900         (si_call_addr, si_syscall, si_arch): Define new macro.
23901         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23902         _sigsys.
23903         (si_call_addr, si_syscall, si_arch): Define new macro.
23905 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23907         [BZ #13717]
23908         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23909         Change to 2.4.21 where previously 2.4.1.
23910         * sysdeps/unix/sysv/linux/configure: Regenerated.
23911         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23912         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23913         Linux kernel version.
23914         (__ASSUME_STD_AUXV): Remove.
23915         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23916         kernel version.
23917         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23918         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23919         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23920         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23921         (__ASSUME_NETLINK_SUPPORT): Likewise.
23922         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23923         (__no_netlink_support): Remove conditional definition.
23924         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23925         Remove.
23926         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23927         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23928         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23929         (if_nameindex_ioctl): Remove.
23930         (if_nameindex_netlink): Do not handle __no_netlink_support.
23931         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23932         code.
23933         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23934         Remove conditional code.
23935         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23936         code.
23937         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23938         unconditional.
23939         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23940         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23941         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23942         Remove.
23943         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23944         [!__ASSUME_STD_AUXV]: Remove conditional code.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23946         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23947         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23949         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23950         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23951         code.
23952         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23954         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23955         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23956         conditional code.
23957         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23959         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23960         code.
23961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23962         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23963         conditional code.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23965         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23966         code unconditional.
23967         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23968         conditional code.
23969         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23970         unconditional.
23971         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23972         conditional code.
23973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23974         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23975         unconditional.
23976         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23977         conditional code.
23978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23979         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23980         code unconditional.
23981         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23982         conditional code.
23983         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23984         unconditional.
23985         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23986         conditional code.
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23988         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23989         code unconditional.
23990         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23991         conditional code.
23992         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23993         unconditional.
23994         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23995         conditional code.
23997 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
23999         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24000         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24001         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24002         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24003         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24004         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24005         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24006         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24007         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24008         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24009         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24010         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24011         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24012         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24013         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24014         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24015         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24016         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24017         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24019         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24020         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24021         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24023 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24025         * Versions.def: Add GLIBC_2.17.
24026         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24027         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24028         Introduce __libc_secure_getenv.
24029         * stdlib/Versions (2.17): Add secure_getenv
24030         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24031         * stdlib/secure-getenv.c: Rename __secure_getenv to
24032         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24033         symbol __secure_getenv for GLIBC_2.0.
24034         * stdlib/tst-secure-getenv.c: New.
24035         * stdlib/Makefile (tests): Add testcase.
24036         * manual/startup.texi (Environment Access): Document
24037         secure_getenv.
24038         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24039         __libc_secure_getenv.
24040         * inet/ruserpass.c (ruserpass): Likewise.
24041         * malloc/mtrace.c (mtrace): Likewise.
24042         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24043         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24044         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24045         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24046         HAVE_SECURE_GETENV.
24047         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24048         __secure_getenv to __libc_secure_getenv.
24049         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24051         Likewise.
24052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24053         Likewise.
24054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24062 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24064         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24065         (struct La_i86_retval): Likewise.
24066         (struct La_x86_64_regs): Likewise.
24067         (struct La_x86_64_retval): Likewise.
24068         (struct La_x32_regs): Likewise.
24069         (struct La_x32_retval): Likewise.
24070         (struct La_ppc32_regs): Likewise.
24071         (struct La_ppc32_retval): Likewise.
24072         (struct La_ppc64_regs): Likewise.
24073         (struct La_ppc64_retval): Likewise.
24074         (struct La_sh_regs): Likewise.
24075         (struct La_sh_retval): Likewise.
24076         (struct La_s390_32_regs): Likewise.
24077         (struct La_s390_32_retval): Likewise.
24078         (struct La_s390_64_regs): Likewise.
24079         (struct La_s390_64_retval): Likewise.
24080         (struct La_sparc32_regs): Likewise.
24081         (struct La_sparc32_retval): Likewise.
24082         (struct La_sparc64_regs): Likewise.
24083         (struct La_sparc64_retval): Likewise.
24084         (struct audit_ifaces): Remove architecture-specific pltenter and
24085         pltexit members.
24086         * sysdeps/i386/ldsodefs.h: New file.
24087         * sysdeps/powerpc/ldsodefs.h: Likewise.
24088         * sysdeps/s390/ldsodefs.h: Likewise.
24089         * sysdeps/sh/ldsodefs.h: Likewise.
24090         * sysdeps/sparc/ldsodefs.h: Likewise.
24091         * sysdeps/x86_64/ldsodefs.h: Likewise.
24093 2012-07-25  Marek Polacek  <polacek@redhat.com>
24095         [BZ #6808]
24096         * math/libm-test.inc (yn_test): Add another test.
24097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24098         to ERANGE when the result is +-Inf.
24099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24100         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24101         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24102         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24104 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24106         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24107         equal to 0.
24108         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24109         clock_t.
24110         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24112 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24114         * configure.in <sysdeps resolving>: Correct printing
24115         Implies_before.
24116         * configure: Regenerate.
24118 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24120         * math/w_ilogb.c: Include <limits.h>.
24121         * math/w_ilogbl.c: Likewise.
24123 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24125         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24126         va_copy.  Document allowing for unavailable va_copy only as
24127         pre-C99 compatibility.
24128         * manual/string.texi (Copying and Concatenation): Use va_copy
24129         instead of __va_copy in concat example.
24131 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24133         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24134         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24135         it if not null.
24137         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24138         with O_NOLINK passed to __file_name_lookup.
24140         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24141         with O_NOLINK passed to __file_name_lookup.
24143         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24144         negative N or less than NGIDS.
24146         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24147         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24148         enough.  Use memcpy instead of strncpy.
24150 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24152         * elf/Makefile (check-data): Remove.
24153         (localplt.data): New vpath directive.
24154         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24155         instead of $(check-data).
24156         * scripts/data/localplt-generic.data: Move to ...
24157         * sysdeps/generic/localplt.data: ... here.
24158         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24159         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24160         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24162         ... here.
24163         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24165         ... here.
24166         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24168         ... here.
24169         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24171         ... here.
24172         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24174         ... here.
24175         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24177         ... here.
24179 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24181         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24182         PPC32 and PPC64 files.
24183         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24184         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24186 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24188         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24189         __makecontext_ret to ...
24190         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24191         ... here and call exit if uc_link is NULL.  New file.
24192         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24193         __makecontext_ret.S.
24194         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24195         __makecontext_ret to ...
24196         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24197         ... here and call exit if uc_link is NULL.  New file.
24198         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24199         __makecontext_ret.S.
24201 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24203         * elf/elf.h (R_390_IRELATIVE): New definition.
24204         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24205         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24206         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24208         (elf_machine_lazy_rel): Likewise.
24209         * sysdeps/s390/dl-irel.h: New file.
24210         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24211         * sysdeps/s390/s390-64/memset.S: New asm code.
24212         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24213         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24215         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24216         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24217         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24219         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24220         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24221         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24222         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24223         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24224         * sysdeps/s390/s390-32/memset.S: New asm code.
24225         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24227 2012-07-17  Marek Polacek  <polacek@redhat.com>
24229         [BZ #14349]
24230         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24231         * sysdeps/s390/s390-64/configure.in: Likewise.
24232         * sysdeps/sparc/configure.in: Likewise.
24233         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24234         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24235         * sysdeps/i386/configure.in: Likewise.
24236         * sysdeps/x86_64/configure.in: Likewise.
24237         * sysdeps/sh/configure.in: Likewise.
24238         * sysdeps/s390/s390-32/configure: Regenerated.
24239         * sysdeps/s390/s390-64/configure: Likewise.
24240         * sysdeps/x86_64/configure: Likewise.
24241         * sysdeps/sh/configure: Likewise.
24242         * sysdeps/powerpc/powerpc64/configure: Likewise.
24243         * sysdeps/powerpc/powerpc32/configure: Likewise.
24244         * sysdeps/sparc/configure: Likwise.
24245         * sysdeps/i386/configure: Likewise.
24247         * elf/dl-open.c: Comment fixes.
24249 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24251         * Makefile [CXX] (check-data): Remove.
24252         [CXX] (c++-types.data): New vpath directive.
24253         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24254         vpath.  Do not allow for C++ type data being missing.
24255         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24256         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24257         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24258         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24259         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24260         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24261         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24263         ... here.
24264         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24266         ... here.
24267         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24269         ... here.
24270         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24272         ... here.
24273         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24275         ... here.
24276         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24278         ... here.
24279         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24281         ... here.
24282         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24285         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24286         definitions to architecture-specific files.
24287         (TLS_IE): Likewise.
24288         (TLS_LD): Likewise.
24289         (TLS_GD): Likewise.
24290         * sysdeps/i386/tls-macros.h: New file.
24291         * sysdeps/powerpc/tls-macros.h: Likewise.
24292         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24293         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24294         * sysdeps/sh/tls-macros.h: Likewise.
24295         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24296         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24297         * sysdeps/x86_64/tls-macros.h: Likewise.
24299 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24301         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24302         zero value for regular exit case.
24304         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24305         (__start_context): Preserve zero value for regular exit case.
24307 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24308             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24310         * manual/setjmp.texi (setcontext): Clarify normal process
24311         termination when uc_link is the null pointer.
24312         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24313         exit call.
24315 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24317         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24318         preprocessor.  Test for each exception mask separately.
24320 2012-07-16  Andreas Jaeger  <aj@suse.de>
24322         * po/ru.po: Update from translation team.
24324 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24326         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24327         equal to 0.
24328         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24329         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24330         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24331         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24334 2012-07-13  Andreas Jaeger  <aj@suse.de>
24336         * po/fr.po: Update from translation team.
24338 2012-07-12  Marek Polacek  <polacek@redhat.com>
24340         [BZ #14173]
24341         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24343         loop condition.
24345 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24347         [BZ #13717]
24348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24349         Change to 2.4.1 where previously 2.4.0.
24350         * sysdeps/unix/sysv/linux/configure: Regenerated.
24351         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24352         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24353         version.
24354         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24355         (__ASSUME_AT_CLKTCK): Remove.
24356         (__ASSUME_AT_PAGESIZE): Likewise.
24357         (__ASSUME_AT_XID): Likewise.
24358         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24359         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24360         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24361         unconditionally.
24362         (HAVE_AUX_PAGESIZE): Likewise.
24363         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24364         [__ASSUME_AT_CLKTCK]: Make code unconditional.
24365         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24367 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
24369         [BZ #14307]
24370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24371         the temporary buffer used to invoke __gethostbyname2_r,
24372         __gethostbyaddr_r and gethostbyname4_r to make room for struct
24373         host_data / struct gaih_addrtuple.
24374         * resolv/nss_dns/dns-host.c (global scope): Move definition of
24375         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24376         header file nss/nsswitch.h.
24377         * nss/nsswitch.h (global scope): Add definition of implementation
24378         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24379         resolv/nss_dns/dns-host.c).
24381 2012-07-11  Andreas Jaeger  <aj@suse.de>
24383         * po/fr.po: Update from translation team.
24385         * po/sv.po: Update from translation team
24386         * po/fr.po: Another update from translation team.
24388 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24391         for subnormals or multiply small sinh result by itself.
24392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24395 2012-07-11  David S. Miller  <davem@davemloft.net>
24397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24399 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
24401         [BZ #14347]
24402         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24403         (INTERNAL_MARK): Shift it here.
24405 2012-07-10  Marek Polacek  <polacek@redhat.com>
24407         [BZ #14151]
24408         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
24409         libc_cv_asm_global_directive with .globl.
24410         * configure: Regenerated.
24411         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24412         with .globl.
24413         * sysdeps/i386/configure: Regenerated.
24414         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24415         with .globl.
24416         * sysdeps/x86_64/configure: Regenerated.
24417         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24418         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24419         * elf/tst-unique2mod2.c: Likewise.
24420         * elf/tst-unique2mod1.c: Likewise.
24421         * elf/tst-unique1mod2.c: Likewise.
24422         * elf/tst-unique1mod1.c: Likewise.
24423         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24424         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24425         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24426         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24427         * sysdeps/mach/sysdep.h: Likewise.
24428         * sysdeps/i386/sysdep.h: Likewise.
24429         * sysdeps/i386/i386-mcount.S: Likewise.
24430         * sysdeps/x86_64/_mcount.S: Likewise.
24431         * sysdeps/x86_64/sysdep.h: Likewise.
24432         * sysdeps/sh/_mcount.S: Likewise.
24433         * sysdeps/sh/sysdep.h: Likewise.
24434         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24435         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24436         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24437         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24438         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24439         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24440         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24441         * locale/localeinfo.h: Likewise.
24442         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
24443         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
24445 2012-07-09  Roland McGrath  <roland@hack.frob.com>
24447         [BZ #14336]
24448         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
24449         system".
24450         * manual/message.texi (The Uniforum approach): Likewise.
24451         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
24452         (glibc iconv Implementation): Likewise.
24454 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
24456         [BZ #14337]
24457         * math/s_clog.c (__clog): Avoid scaling a value down where that
24458         could result in underflow.
24459         * math/s_clog10.c (__clog10): Likewise.
24460         * math/s_clog10f.c (__clog10f): Likewise.
24461         * math/s_clog10l.c (__clog10l): Likewise.
24462         * math/s_clogf.c (__clogf): Likewise.
24463         * math/s_clogl.c (__clogl): Likewise.
24464         * math/libm-test.inc (clog_test): Add more tests.
24465         (clog10_test): Likewise.
24466         * sysdeps/i386/fpu/libm-test-ulps: Update.
24467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24469 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
24471         [BZ #14283]
24472         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
24473         by 7 not 8 to examine high bit of fractional part.
24475         [BZ #14042]
24476         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24477         for call to __mcount_internal.
24478         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
24479         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
24480         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
24482 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
24484         [BZ #14154]
24485         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
24486         approximation for values within 0x1p-13f of an odd multiple of
24487         pi/4.
24488         * math/libm-test.inc (tan_test): Do not allow spurious underflow
24489         exception.  Add more tests.
24490         * sysdeps/i386/fpu/libm-test-ulps: Update.
24492         [BZ #6778]
24493         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
24494         inputs and return -1 for them.  Do not check for +Inf in case not
24495         reachable for +Inf.
24496         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24497         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
24498         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24499         and return -1 for them.  Do not check for +Inf in case not
24500         reachable for +Inf.
24501         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
24502         define.
24503         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24504         and return -1 for them.  Do not check for +Inf in case not
24505         reachable for +Inf.
24506         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
24507         spurious underflow.
24508         * sysdeps/i386/fpu/libm-test-ulps: Update.
24509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24511 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
24513         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
24515 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
24517         [BZ #14157]
24518         [BZ #14331]
24519         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
24520         could result in spurious underflow.  Scale down values above
24521         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
24522         * math/s_csqrtf.c (__csqrtf): Likewise.
24523         * math/s_csqrtl.c (__csqrtl): Likewise.
24524         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
24525         spurious underflow.
24526         * sysdeps/i386/fpu/libm-test-ulps: Update.
24527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24529 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
24531         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
24532         xopen-msg.sed.
24533         * catgets/xopen-msg.awk: New file.
24534         * catgets/xopen-msg.sed: Removed.
24536         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
24537         po2text.sed.
24538         * intl/po2test.awk: New file.
24539         * intl/po2test.sed: Removed.
24541 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
24543         [BZ #14328]
24544         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
24545         or multiply small sinh result by itself.
24546         * math/s_ctanf.c (__ctanf): Likewise.
24547         * math/s_ctanh.c (__ctanh): Likewise.
24548         * math/s_ctanhf.c (__ctanhf): Likewise.
24549         * math/s_ctanhl.c (__ctanhl): Likewise.
24550         * math/s_ctanl.c (__ctanl): Likewise.
24551         * math/libm-test.inc (ctan_test_tonearest): New function.
24552         (ctan_test_towardzero): Likewise.
24553         (ctan_test_downward): Likewise.
24554         (ctan_test_upward): Likewise.
24555         (ctanh_test_tonearest): Likewise.
24556         (ctanh_test_towardzero): Likewise.
24557         (ctanh_test_downward): Likewise.
24558         (ctanh_test_upward): Likewise.
24559         (main): Call these new functions.
24560         * sysdeps/i386/fpu/libm-test-ulps: Update.
24561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24563 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
24565         * .gitignore: Delete /ports entry.
24567 2012-07-03  Andreas Jaeger  <aj@suse.de>
24569         * po/bg.po: Update from translation team.
24570         * po/cs.po: Likewise.
24571         * po/de.po: Likewise.
24572         * po/hr.po: Likewise.
24573         * po/nl.pl: Likewise.
24574         * po/pl.po: Likewise.
24575         * po/vi.po: Likewise.
24577 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
24579         * Makeconfig [!+link] (+link-before-libc): New variable.
24580         [!+link] (+link-after-libc): Likewise.
24581         [!+link] (+link-tests): Likewise.
24582         [!+link] (+link): Define in terms of $(+link-before-libc) and
24583         $(+link-after-libc).
24584         [!+link-static] (+link-static-before-libc): New variable.
24585         [!+link-static] (+link-static-after-libc): Likewise.
24586         [!+link-static] (+link-static-tests): Likewise.
24587         [!+link-static] (+link-static): Define in terms of
24588         $(+link-static-before-libc) and $(+link-static-after-libc).
24589         [build-shared] (link-libc-before-gnulib): New variable.
24590         [build-shared] (link-libc-tests): Likewise.
24591         [build-shared] (link-libc): Define in terms of
24592         $(link-libc-before-gnulib).
24593         [!build-shared] (link-libc-tests): New variable.
24594         (link-libc-static-tests): New variable.
24595         [!gnulib] (gnulib-arch): New variable.
24596         [!gnulib] (gnulib-tests): Likewise.
24597         [!gnulib] (static-gnulib-arch): Likewise.
24598         [!gnulib] (static-gnulib-tests): Likewise.
24599         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
24600         Define with "=" instead of ":=".
24601         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
24602         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
24603         * Rules (binaries-all-notests): New variable.
24604         (binaries-all-tests): Likewise.
24605         (binaries-static-notests): Likewise.
24606         (binaries-static-tests): Likewise.
24607         (binaries-all): Define using $(binaries-all-notests) and
24608         $(binaries-all-tests).
24609         (binaries-static): Define using $(binaries-static-notests) and
24610         $(binaries-static-tests).
24611         (binaries-shared-tests): New variable.
24612         (binaries-shared-notests): Likewise.
24613         (binaries-shared): Remove variable.
24614         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
24615         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
24616         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
24617         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
24618         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
24619         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
24620         * elf/Makefile (sln-modules): New variable.
24621         (extra-objs): Add $(sln-modules:=.o).
24622         (ldconfig-modules): Add static-stubs.
24623         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
24624         * elf/static-stubs.c: New file.
24626         [BZ #14283]
24627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
24628         by 7 not 8 to examine high bit of fractional part.  Use volatile
24629         variables when splitting into final array of floats if
24630         __FLT_EVAL_METHOD__ != 0.
24631         * math/libm-test.inc (cos_test): Add another test.
24632         (sin_test): Likewise.
24633         * sysdeps/i386/fpu/libm-test-ulps: Update.
24635         [BZ #14273]
24636         * math/libm-test.inc (cosh_test): Add more tests.
24638         * version.h (RELEASE): Set to "development".
24639         (VERSION): Set to "2.16.90".
24641 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
24643         * NEWS: Update copyright. Remove last-updated date.
24644         Mention math library bug fixes and timezone data changes.
24645         * README: Mention GNU/Hurd, x32, and HPPA support status.
24647 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
24649         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
24651 2012-06-27  Andreas Jaeger  <aj@suse.de>
24653         * manual/contrib.texi (Contributors): Add Samuel Thibault.
24655 2012-06-25  Andreas Jaeger  <aj@suse.de>
24657         * sysdeps/s390/fpu/libm-test-ulps: Update.
24659 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
24660             Thomas Schwinge  <thomas@codesourcery.com>
24662         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
24663         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
24664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
24665         fanotify_mark.
24667 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
24669         * sysdeps/mach/start.c: Remove file.
24670         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
24671         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
24672         * sysdeps/sh/init-first.c: Likewise.
24674         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24675         registers for frame unwinding purposes, add CFI directives.
24676         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24677         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24678         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24679         Likewise.
24681         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24682         __fortify_fail returning.
24683         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24685         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24686         sysdeps/sh/____longjmp_chk.S.
24687         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24688         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24689         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24690         (gen-as-const-headers): Append sigaltstack-offsets.sym.
24692         * sysdeps/sh/abort-instr.h: New file.
24693         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24694         process in case exit returns.
24696         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24697         initialize the GOT register before use.
24699         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24700         calculation of ARGC > 4.
24702         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24703         meaningful names to some local labels.
24705 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24706             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24708         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24709         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24710         (__arch_compare_and_exchange_val_16_acq): Likewise.
24711         (__arch_compare_and_exchange_val_32_acq): Likewise.
24712         (atomic_exchange_and_add): Fix gUSA sequence.
24713         (atomic_add): Likewise.
24714         (atomic_add_negative): Likewise.
24715         (atomic_add_zero): Likewise.
24716         (atomic_bit_test_set): Likewise.
24718 2012-06-22  Andreas Schwab  <schwab@redhat.com>
24720         [BZ #13579]
24721         * include/link.h (struct link_map): Add l_free_initfini.
24722         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24723         l_initfini.
24724         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24725         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24726         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24727         set.
24729 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
24731         * configure.in: Use AC_LANG_SOURCE.
24732         * configure: Regenerate.
24734 2012-06-22  Roland McGrath  <roland@hack.frob.com>
24736         * configure.in (libc_cv_localstatedir): New substituted variable.
24737         * configure: Regenerated.
24738         * config.make.in (localstatedir): New variable, substituted from
24739         libc_cv_localstatedir.
24740         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24741         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24742         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24743         * sysdeps/gnu/configure: Regenerated.
24745 2012-06-21  Jeff Law  <law@redhat.com>
24747         [BZ #14277]
24748         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24749         free.  Simplify list management for _LIBC case.
24751 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #14273]
24754         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24755         Clear sign bit of 64-bit integer value before comparing against
24756         overflow value.
24758         * sysdeps/mach/configure: Regenerated.
24760 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
24762         [BZ #14278]
24763         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24765 2012-06-21  Jeff Law  <law@redhat.com>
24767         [BZ #13882]
24768         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
24769         uint16_t for elements in the "seen" array to avoid char overflows.
24770         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24771         * elf/dl-open.c (dl_open_worker): Likewise.
24773 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
24775         * scripts/list-sources.sh: Scan PORTS for translations.
24776         * po/libc.pot: Regenerated.
24778 2012-06-21  Andreas Jaeger  <aj@suse.de>
24780         [BZ #12194]
24781         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24782         warning.
24783         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24784         * bits/byteswap-16.h (__bswap_16): Likewise.
24785         * bits/byteswap.h (__bswap_constant_16): Likewise.
24787 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
24789         [BZ #14117]
24790         * sysdeps/i386/fpu_control.h: Removed.
24791         * sysdeps/x86_64/fpu_control.h: Moved to ...
24792         * sysdeps/x86/fpu_control.h: Here.
24794         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24795         (_FPU_SETCW): Likewise.
24797 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
24799         [BZ #14117]
24800         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24801         * sysdeps/x86/fpu/bits/mathinline.h: This.
24802         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24804         [BZ #14050]
24805         [BZ #14117]
24806         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24807         functions if __x86_64__ is defined.
24809 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
24811         * string/endian.h: Add !__ASSEMBLER__ condition for including
24812         conversion interfaces.
24814 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
24816         [BZ #14241]
24817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24818         of ABS(x) in calculating zero to negative powers other than odd
24819         integers.
24820         * math/libm-test.inc (pow_test): Add more tests.
24822 2012-06-15  Andreas Jaeger  <aj@suse.de>
24824         * manual/contrib.texi (Contributors): Update entry of Liubov
24825         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24826         Machado Filho.
24828 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
24830         * string/string.h: Add __wur to GNU version of strerror_r.
24832 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
24834         [BZ #14229]
24835         * string/Makefile (tests): Add tst-strtok_r.
24836         * string/tst-strtok_r.c: New file.
24837         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24838         RAX_LP/RDX_LP on SAVE_PTR.
24840 2012-06-14  Roland McGrath  <roland@hack.frob.com>
24842         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24844 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
24846         * libm_test.inc (csqrt_test): Allow more spurious underflow
24847         exceptions.
24848         (j0_test): Likewise.
24849         (j1_test): Likewise.
24850         (y0_test): Likewise.
24851         (y1_test): Likewise.
24853 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
24855         * po/Makefile (libc.pot): Use UTF-8 charset.
24857 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
24859         [BZ #14210]
24860         Suppress sign-conversion warning from FD_SET.
24861         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24862         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24863         not unsigned long int.
24864         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24866 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
24868         [BZ #14050]
24869         [BZ #14117]
24870         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24871         __extern_always_inline instead of __extern_inline.
24872         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24873         (__signbit): Likewise.
24874         (__signbitl): Support C++ namespace.
24875         (lrintf): New inline function.
24876         (lrint): Likewise.
24877         (llrintf): Likewise.
24878         (llrint): Likewise.
24879         (fmaxf): Likewise.
24880         (fmax): Likewise.
24881         (fminf): Likewise.
24882         (fmin): Likewise.
24883         (rint): Likewise.
24884         (rintf): Likewise.
24885         (ceil): Likewise.
24886         (ceilf): Likewise.
24887         (floor): Likewise.
24888         (floorf): Likewise.
24889         (nearbyint): Likewise.
24890         (nearbyintf): Likewise.
24892 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
24894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24895         non-default versions.
24897 2012-06-11  Roland McGrath  <roland@hack.frob.com>
24899         [BZ #14218]
24900         * manual/argp.texi (Argp): Reword argp_parse description slightly.
24902 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
24904         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24905         (FE_UPWARD, FE_DOWNWARD): Don't define.
24906         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24907         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24909         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24910         reading it.
24911         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24912         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24914 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24916         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24918         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24919         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24921 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
24923         [BZ #14117]
24924         * sysdeps/i386/fpu/bits/fenv.h: Removed.
24925         * sysdeps/i386/fpu/Implies: New file.
24926         * sysdeps/x86_64/fpu/Implies: Likewise.
24927         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24928         * sysdeps/x86/fpu/bits/fenv.h: This.
24930         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24931         __SSE_MATH__.
24933 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24935         [BZ #14134]
24936         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24937         character 0xffff that matches the last element of the
24938         conversion table.
24940 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24943         fmodl commit.
24945 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24947         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24948         values higher than 25.6283.
24950 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24953         subnormal exponent extraction and add some __builtin_expect.
24954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24955         Fix for subnormal mantissa calculation.
24957 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
24959         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24960         cpu2 is -1 and errno is not ENOSYS.
24962 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
24964         [BZ #14117]
24965         * sysdeps/i386/i486/bits/string.h: Renamed to ...
24966         * sysdeps/x86/bits/string.h: This.
24967         * sysdeps/x86_64/bits/string.h: Removed.
24969         * sysdeps/i386/i486/bits/string.h: Define inline functions only
24970         if not compiling for x86-64, but compiling for >= i486.
24972         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24973         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24975         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24976         New macro from Linux kernel 3.4.0.
24977         (FP_XSTATE_MAGIC2): Likewise.
24978         (FP_XSTATE_MAGIC2_SIZE): Likewise.
24979         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24980         (struct _fpx_sw_bytes): New struct.
24981         (struct _xsave_hdr): Likewise.
24982         (struct _ymmh_state): Likewise.
24983         (struct _xstate): Likewise.
24985         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24986         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24988         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24989         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24990         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24992         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24994         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24995         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24996         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24997         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24999 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25001         [BZ #13743]
25002         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25003         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25004         (sysdep_headers): Include sys/platform/ppc.h.
25005         * sysdeps/powerpc/test-gettimebase.c: Test for
25006         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25007         * manual/Makefile (appendices): Include platform.texi.
25008         * manual/contrib.texi (Contributors): Update @node pointers.
25009         * manual/maint.texi (Maintenance): Likewise.
25010         (Platform): New node.
25011         * manual/platform.texi: New file.  Document the new features.
25013 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25014             Jakub Jelinek  <jakub@redhat.com>
25016         [BZ #14188]
25017         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25018         where __builtin_expect is unavailable.
25020 2012-06-03  David S. Miller  <davem@davemloft.net>
25022         * stdlib/longlong.h: Updated from GCC.
25024 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25026         [BZ #14042]
25027         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25028         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25029         __mcount_internal.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25031         (GLIBC_2.16): Likewise.
25033 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25035         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25037 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25040         (default-abi): New variable.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25042         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25043         variable.
25044         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25045         Likewise.
25046         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25047         Likewise.
25048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25049         Likewise.
25051         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25052         definition.  Document in comment.
25054 2012-06-01  David S. Miller  <davem@davemloft.net>
25056         * stdlib/longlong.h: Updated from GCC.
25058 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25060         [BZ #14117]
25061         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25062         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25063         sys/debugreg.h sys/io.h here.
25064         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25065         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25066         sys/io.h.
25067         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25068         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25069         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25070         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25071         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25072         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25074         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25075         Define only if __x86_64__ is defined.
25077 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25079         [BZ #14048]
25080         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25081         Use int64_t for variable i.
25082         * math/libm-test.inc (fmod_test): Add more tests.
25084         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25085         z computation is not scheduled after fetestexcept.
25086         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25087         Use math_force_eval instead of asm to ensure calculation scheduled
25088         before exception test.
25089         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25090         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25092 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25095         computation is not scheduled after fetestexcept.
25097 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25099         [BZ #14117]
25100         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25101         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25103 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25105         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25106         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25108 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25110         [BZ #14117]
25111         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25112         <bits/wordsize.h>.
25113         (__WCHAR_MIN): Support __WORDSIZE == 64.
25114         (__WCHAR_MAX): Likewise.
25116         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25117         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25119         [BZ #14183]
25120         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25121         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25123         [BZ #14117]
25124         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25125         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25127         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25128         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25130         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25131         Defined to 1 if __x86_64__ isn't defined.
25132         (_STAT_VER_LINUX_OLD): New.
25133         (st_atime): Remove duplicate.
25134         (st_mtime): Likewise.
25135         (st_ctime): Likewise.
25137 2012-05-31  David S. Miller  <davem@davemloft.net>
25139         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25140         entries.
25142 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25144         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25145         gen-libm-test.pl.
25147         [BZ #14132]
25148         * elf/dl-reloc.c: Include <_itoa.h>.
25149         (_dl_reloc_bad_type): Remove use of INTUSE.
25150         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25151         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25152         * stdio-common/psiginfo.c (psiginfo): Likewise.
25153         * stdio-common/psignal.c (psignal): Likewise.
25154         * string/strsignal.c (strsignal): Likewise.
25155         * include/signal.h (_sys_siglist): Declare hidden proto.
25156         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25157         INTVARDEF with libc_hidden_data_def.
25158         * stdio-common/itoa-udigits.c: Likewise.
25159         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25160         (_itoa_lower_digits_internal): Remove declaration.
25161         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25162         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25163         (_sys_sigabbrev_internal): Remove aliases.
25164         (_sys_siglist): Define hidden alias.
25166 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25169         bits/sysctl.h.
25171 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25173         [BZ #14117]
25174         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25175         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25177         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25178         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25179         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25180         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25181         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25182         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25184         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25185         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25186         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25188         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25189         with __addr.
25190         (insw): Likewise.
25191         (insl): Likewise.
25192         (outsb): Likewise.
25193         (outsw): Likewise.
25194         (outsl): Likewise.
25196         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25197         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25198         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25200         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25201         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25202         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25203         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25204         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25205         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25207         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25208         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25210         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25211         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25213         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25217         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25218         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25219         to ...
25220         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25222         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25223         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25224         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25226         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25227         for x86-64.
25228         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25230 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25232         * math/math.h (M_El): Use two more decimal places.
25233         (M_LOG2El): Likewise.
25234         (M_LOG10El): Likewise.
25235         (M_LN2l): Likewise.
25236         (M_LN10l): Likewise.
25237         (M_PIl): Likewise.
25238         (M_PI_2l): Likewise.
25239         (M_PI_4l): Likewise.
25240         (M_1_PIl): Likewise.
25241         (M_2_PIl): Likewise.
25242         (M_2_SQRTPIl): Likewise.
25243         (M_SQRT2l): Likewise.
25244         (M_SQRT1_2l): Likewise.
25246 2012-05-31  David S. Miller  <davem@davemloft.net>
25248         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25249         values between float registers.
25250         * sysdeps/sparc/sparc64/memset.S: Likewise.
25251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25253 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25255         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25256         -D_FORTIFY_SOURCE=1.
25257         (CPPFLAGS-tst-longjmp_chk.c): Define.
25258         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25259         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25260         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25261         CFLAGS-tst-wchar-h.c.
25263 2012-05-31  Marek Polacek  <polacek@redhat.com>
25265         [BZ #14132]
25266         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25267         __endmntent_internal): Remove declaration.
25268         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25269         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25270         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25272 2012-05-30  David S. Miller  <davem@davemloft.net>
25274         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25275         (___Q_simulate_exceptions): Use real FP ops rather than writing
25276         into the %fsr.
25277         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25278         Likewise.
25280 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25282         [BZ #14117]
25283         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25284         * sysdeps/x86/bits/xtitypes.h: This.
25286         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25287         * sysdeps/x86/bits/wordsize.h: This.
25289         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25290         * sysdeps/x86/bits/huge_vall.h: This.
25292         * sysdeps/i386/bits/select.h: Removed.
25293         * sysdeps/x86_64/bits/select.h: Renamed to ...
25294         * sysdeps/x86/bits/select.h: This.
25296         * sysdeps/i386/bits/setjmp.h: Removed.
25297         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25298         * sysdeps/x86/bits/setjmp.h: This.
25300         * sysdeps/i386/bits/mathdef.h: Removed.
25301         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25302         * sysdeps/x86/bits/mathdef.h: This.
25304 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25306         [BZ #14132]
25307         * include/sys/socket.h (__connect_internal)
25308         (__libc_sa_len_internal): Remove declaration.
25309         (__connect, __libc_sa_len): Declare hidden_proto.
25310         (SA_LEN): Remove use of INTUSE.
25311         * socket/connect.c: Add libc_hidden_def.
25312         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25313         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25314         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25315         alias.
25316         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25318         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25319         of adding _internal alias.
25321 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25323         [BZ #14117]
25324         * sysdeps/i386/bits/link.h: Removed.
25325         * sysdeps/i386/bits/linkmap.h: Likewise.
25326         * sysdeps/x86_64/bits/link.h: Renamed to ...
25327         * sysdeps/x86/bits/link.h: This.
25328         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25329         * sysdeps/x86/bits/linkmap.h: This.
25331         * sysdeps/i386/bits/endian.h: Removed.
25332         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25333         * sysdeps/x86/bits/endian.h: This.
25335         * sysdeps/i386/bits/byteswap.h: Removed.
25336         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25337         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25338         * sysdeps/x86/bits/byteswap.h: This.
25339         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25340         * sysdeps/x86/bits/byteswap-16.h: This.
25341         * sysdeps/i386/Implies: Add x86.
25342         * sysdeps/x86_64/Implies: Likewise.
25344 2012-05-30  David S. Miller  <davem@davemloft.net>
25346         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25347         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25348         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25349         (FP_TRAPPING_EXCEPTIONS): Define.
25350         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25351         (FP_TRAPPING_EXCEPTIONS): Define.
25352         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25353         subnormals only when inexact has been signalled or underflow
25354         exceptions are enabled.
25355         (_FP_PACK_CANONICAL): Likewise.
25357 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25359         [BZ #14183]
25360         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25361         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25363 2012-05-30  Richard Henderson  <rth@twiddle.net>
25365         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25366         with #ifndef NOT_IN_libc.
25368         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
25369         marked to avoid plt entry.
25371 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25373         [BZ #14112]
25374         * Makeconfig (default-abi): New macro.
25375         (abi-includes): Likewise.
25376         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
25377         $(abi-$(default-abi)-lib-soname) for soname if defined.
25378         ($(common-objpfx)gnu/lib-names.stmp): Generate from
25379         abi-variants.
25380         * Makefile (installed-stubs): Likewise.
25381         * include/stubs-biarch.h: Removed.
25382         * scripts/lib-names.awk: Only handle one library at a time.
25383         * scripts/soversions.awk: Remove WORDSIZE support.
25384         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25385         entries.
25386         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25387         Removed.
25388         (syscall-list-default-condition): Likewise.
25389         (syscall-list-default-condition): Likewise.
25390         (syscall-list-includes): Likewise.
25391         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25392         syscall-list-* with abi-*.  Handle undefined abi-variants.
25393         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25394         * sysdeps/unix/sysv/linux/i386/Implies: New file.
25395         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25396         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25397         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25398         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25399         Removed.
25400         (syscall-list-32-options): Likewise.
25401         (syscall-list-32-condition): Likewise.
25402         (syscall-list-64-options): Likewise.
25403         (syscall-list-64-condition): Likewise.
25404         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25405         macro.
25406         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25407         Renamed to ...
25408         (abi-*): This.
25409         (abi-64-ld-soname): New macro.
25410         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25411         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25412         Renamed to ...
25413         (abi-*): This.
25414         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25415         * sysdeps/x86_64/x32/shlib-versions: Likewise.
25417 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
25419         * sysdeps/unix/sysv/linux/kernel-features.h
25420         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25421         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25422         include <kernel-features.h>.
25423         [!__NR_ftruncate64]: Remove conditional code.
25424         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25425         [__NR_ftruncate64]: Make code unconditional.
25426         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25427         * sysdeps/unix/sysv/linux/truncate64.c: Do not
25428         include <kernel-features.h>.
25429         [!__NR_ftruncate64]: Remove conditional code.
25430         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25431         [__NR_ftruncate64]: Make code unconditional.
25432         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25434         include <kernel-features.h>.
25435         [!__NR_ftruncate64]: Remove conditional code.
25436         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25437         [__NR_ftruncate64]: Make code unconditional.
25438         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25440         include <kernel-features.h>.
25441         [!__NR_ftruncate64]: Remove conditional code.
25442         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25443         [__NR_ftruncate64]: Make code unconditional.
25444         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25446         * configure.in (libc_cv_fpie): Weaken to a compile test using
25447         LIBC_TRY_CC_OPTION.
25448         * configure: Regenerated.
25450 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
25453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
25454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
25455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25456         Refreshed.
25457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
25458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
25459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
25460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
25461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
25462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25463         Refreshed.
25465 2012-05-27  David S. Miller  <davem@davemloft.net>
25467         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
25468         (___Q_zero): New.
25469         (__Q_simulate_exceptions): Return void.  Change to simulate
25470         exceptions by writing into the %fsr.
25471         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
25472         (__Qp_handle_exceptions): Likewise.
25473         (numbers): Delete.
25474         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
25475         __Qp_handle_exceptions.
25476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
25477         __Qp_handle_exceptions.
25478         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25479         as unused and give dummy FP_RND_NEAREST initializer.
25480         (FP_INHIBIT_RESULTS): Define.
25481         (___Q_simulate_exceptions): Update declaration.
25482         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
25483         formatting.
25484         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25485         as unused and give dummy FP_RND_NEAREST initializer.
25486         (__Qp_handle_exceptions): Update declaration.
25487         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
25488         formatting.
25490 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
25492         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
25493         the temporary FPU control word.
25494         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25495         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
25496         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25497         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25498         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25499         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25500         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25502         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25503         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25504         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25506 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25508         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
25509         fields.
25511 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
25513         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25514         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
25515         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
25516         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
25517         Likewise.
25518         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
25519         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
25520         Likewise.
25522 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
25524         * po/h.po: Update from translation team.
25526 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
25528         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
25530         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
25531         handling of denormals.
25532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25533         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25534         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25535         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
25538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
25539         Likewise.
25541 2012-05-26  Marek Polacek  <polacek@redhat.com>
25543         [BZ #14152]
25544         * math/libm-test.inc (fma_test): Don't always expect underflow
25545         exception.
25547 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549         [BZ #12416]
25550         * elf/tst-execstack.c: Include stackinfo.h.
25551         (do_test): Adjust test case to ensure that pthread_getattr_np
25552         behaviour remains the same after marking stack executable.
25554 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25556         * sysdeps/unix/sysv/linux/kernel-features.h
25557         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
25558         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
25559         kernel-features.h.
25560         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25561         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25562         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
25563         kernel-features.h.
25564         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25565         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25567 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
25569         * configure.in: Define the default includes to being none.
25570         * configure: Regenerated.
25572 2012-05-25  Roland McGrath  <roland@hack.frob.com>
25574         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
25575         * sysdeps/x86_64/setjmp.S: Likewise.
25576         * sysdeps/i386/bsd-setjmp.S: Likewise.
25577         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25578         * sysdeps/i386/setjmp.S: Likewise.
25579         * sysdeps/i386/__longjmp.S: Likewise.
25580         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25581         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
25583         * include/stap-probe.h: New file.
25584         * configure.in: Handle --enable-systemtap.
25585         * configure: Regenerated.
25586         * config.h.in (USE_STAP_PROBE): New #undef.
25587         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
25588         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
25589         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25591 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25593         [BZ #13717]
25594         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25595         to 2.4.0 where earlier.
25596         * sysdeps/unix/sysv/linux/configure: Regenerated.
25597         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25598         <kernel-features.h>.
25599         [__ASSUME_32BITUIDS]: Make code unconditional.
25600         [!__ASSUME_32BITUIDS]: Remove conditional code.
25601         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
25602         <kernel-features.h>.
25603         [__ASSUME_32BITUIDS]: Make code unconditional.
25604         [!__ASSUME_32BITUIDS]: Remove conditional code.
25605         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
25606         [__ASSUME_32BITUIDS]: Make code unconditional.
25607         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
25608         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
25609         <kernel-features.h>.
25610         [__ASSUME_32BITUIDS]: Make code unconditional.
25611         [!__ASSUME_32BITUIDS]: Remove conditional code.
25612         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
25613         <kernel-features.h>.
25614         [__ASSUME_32BITUIDS]: Make code unconditional.
25615         [!__ASSUME_32BITUIDS]: Remove conditional code.
25616         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
25617         <kernel-features.h>.
25618         [__ASSUME_32BITUIDS]: Make code unconditional.
25619         [!__ASSUME_32BITUIDS]: Remove conditional code.
25620         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
25621         <kernel-features.h>.
25622         [__ASSUME_32BITUIDS]: Make code unconditional.
25623         [!__ASSUME_32BITUIDS]: Remove conditional code.
25624         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25625         <kernel-features.h>.
25626         [__ASSUME_32BITUIDS]: Make code unconditional.
25627         [!__ASSUME_32BITUIDS]: Remove conditional code.
25628         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25629         <kernel-features.h>.
25630         [__ASSUME_32BITUIDS]: Make code unconditional.
25631         [!__ASSUME_32BITUIDS]: Remove conditional code.
25632         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
25633         <kernel-features.h>.
25634         [__ASSUME_32BITUIDS]: Make code unconditional.
25635         [!__ASSUME_32BITUIDS]: Remove conditional code.
25636         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25637         <kernel-features.h>.
25638         [__ASSUME_32BITUIDS]: Make code unconditional.
25639         [!__ASSUME_32BITUIDS]: Remove conditional code.
25640         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25641         <kernel-features.h>.
25642         [__ASSUME_32BITUIDS]: Make code unconditional.
25643         [!__ASSUME_32BITUIDS]: Remove conditional code.
25644         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
25645         <kernel-features.h>.
25646         [__ASSUME_32BITUIDS]: Make code unconditional.
25647         [!__ASSUME_32BITUIDS]: Remove conditional code.
25648         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
25649         <kernel-features.h>.
25650         [__NR_setresgid] (__setresgid): Do not declare.
25651         [__ASSUME_32BITUIDS]: Make code unconditional.
25652         [!__ASSUME_32BITUIDS]: Remove conditional code.
25653         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
25654         <kernel-features.h>.
25655         [__NR_setresuid] (__setresuid): Do not declare.
25656         [__ASSUME_32BITUIDS]: Make code unconditional.
25657         [!__ASSUME_32BITUIDS]: Remove conditional code.
25658         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
25659         <kernel-features.h>.
25660         [__ASSUME_32BITUIDS]: Make code unconditional.
25661         [!__ASSUME_32BITUIDS]: Remove conditional code.
25662         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
25663         <kernel-features.h>.
25664         [__ASSUME_32BITUIDS]: Make code unconditional.
25665         [!__ASSUME_32BITUIDS]: Remove conditional code.
25666         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
25667         <kernel-features.h>.
25668         [__ASSUME_32BITUIDS]: Make code unconditional.
25669         [!__ASSUME_32BITUIDS]: Remove conditional code.
25670         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
25671         <kernel-features.h>.
25672         [__ASSUME_32BITUIDS]: Make code unconditional.
25673         [!__ASSUME_32BITUIDS]: Remove conditional code.
25674         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25675         <kernel-features.h>.
25676         [__ASSUME_32BITUIDS]: Make code unconditional.
25677         [!__ASSUME_32BITUIDS]: Remove conditional code.
25678         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25679         <kernel-features.h>.
25680         [__ASSUME_32BITUIDS]: Make code unconditional.
25681         [!__ASSUME_32BITUIDS]: Remove conditional code.
25682         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25683         <kernel-features.h>.
25684         [__ASSUME_32BITUIDS]: Make code unconditional.
25685         [!__ASSUME_32BITUIDS]: Remove conditional code.
25686         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25687         <kernel-features.h>.
25688         [__ASSUME_32BITUIDS]: Make code unconditional.
25689         [!__ASSUME_32BITUIDS]: Remove conditional code.
25690         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25691         <kernel-features.h>.
25692         [__ASSUME_32BITUIDS]: Make code unconditional.
25693         [!__ASSUME_32BITUIDS]: Remove conditional code.
25694         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25695         <kernel-features.h>.
25696         [__ASSUME_32BITUIDS]: Make code unconditional.
25697         [!__ASSUME_32BITUIDS]: Remove conditional code.
25698         * sysdeps/unix/sysv/linux/kernel-features.h
25699         (__ASSUME_SETRESUID_SYSCALL): Remove.
25700         (__ASSUME_SETRESGID_SYSCALL): Likewise.
25701         (__ASSUME_32BITUIDS): Likewise.
25702         (__ASSUME_LDT_WORKS): Likewise.
25703         (__ASSUME_O_DIRECTORY): Likewise.
25704         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25705         architecture but not kernel version.
25706         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25707         (__ASSUME_MMAP2_SYSCALL): Likewise.
25708         (__ASSUME_STAT64_SYSCALL): Likewise.
25709         (__ASSUME_IPC64): Likewise.
25710         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25711         <kernel-features.h>.
25712         [__ASSUME_32BITUIDS]: Make code unconditional.
25713         [!__ASSUME_32BITUIDS]: Remove conditional code.
25714         * sysdeps/unix/sysv/linux/opendir.c: Do not include
25715         <kernel-features.h>.
25716         [__ASSUME_O_DIRECTORY]: Make code unconditional.
25717         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25718         132096]: Remove conditional code.
25719         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25720         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25721         <kernel-features.h>.
25722         [__ASSUME_32BITUIDS]: Make code unconditional.
25723         [!__ASSUME_32BITUIDS]: Remove conditional code.
25724         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25725         <kernel-features.h>.
25726         [__ASSUME_32BITUIDS]: Make code unconditional.
25727         [!__ASSUME_32BITUIDS]: Remove conditional code.
25728         * sysdeps/unix/sysv/linux/setegid.c: Do not include
25729         <kernel-features.h>.
25730         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25731         unconditional.
25732         (__setresgid): Do not declare.
25733         [__ASSUME_32BITUIDS]: Make code unconditional.
25734         [!__ASSUME_32BITUIDS]: Remove conditional code.
25735         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25736         <kernel-features.h>.
25737         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25738         unconditional.
25739         (__setresuid): Do not declare.
25740         [__ASSUME_32BITUIDS]: Make code unconditional.
25741         [!__ASSUME_32BITUIDS]: Remove conditional code.
25742         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25743         <kernel-features.h>.
25744         [__ASSUME_32BITUIDS]: Make code unconditional.
25745         [!__ASSUME_32BITUIDS]: Remove conditional code.
25746         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25747         <kernel-features.h>.
25748         [__ASSUME_32BITUIDS]: Make code unconditional.
25749         [!__ASSUME_32BITUIDS]: Remove conditional code.
25751 2012-05-25  Richard Henderson  <rth@twiddle.net>
25753         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25754         dl_hwcap to ifunc resolver.
25755         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25756         elf_ifunc_invoke.
25757         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25758         dl_hwcap to ifunc resolver.
25759         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25761 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25763         [BZ #14153]
25764         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25765         for |x| <= 2**-26, not 2**-57.
25766         * math/libm-test.inc (acos_test): Do not allow spurious underflow
25767         exception.
25769 2012-05-24  Jeff Law  <law@redhat.com>
25771         * stdio-common/Makefile (tests): Add bug25.
25772         * stdio-common/bug25.c: New test.
25774 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25776         [BZ #13576]
25777         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25778         multiple of MALLOC_ALIGNMENT in size.
25779         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25783         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25784         Require >= 256.
25785         (FILENAME_MAX): Use macro-int-constant.
25786         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
25787         (_IOFBF): Use macro-int-constant.
25788         (_IOLBF): Likewise.
25789         (_IONBF): Likewise.
25790         (SEEK_CUR): Likewise.
25791         (SEEK_END): Likewise.
25792         (SEEK_SET): Likewise.
25793         (TMP_MAX): Likewise.
25794         (EOF): Use macro-int-constant.  Require < 0.
25795         (NULL): Use macro-constant.  Require == 0.
25796         (stdin): Require type to be FILE *.
25797         (stdout): Likewise.
25798         (stderr): Likewise.
25799         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25800         macro-int-constant.
25801         (EXIT_SUCCESS): Likewise.
25802         (NULL): Use macro-constant.  Require == 0.
25803         (RAND_MAX): Use macro-int-constant.
25804         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25805         [C99-based standards] (strtof): Require function.
25806         [C99-based standards] (strtold): Likewise.
25807         [C99-based standards] (strtoll): Likewise.
25808         [C99-based standards] (strtoull): Likewise.
25809         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25810         [ISO || ISO99 || ISO11] (limits.h): Likewise.
25811         [ISO || ISO99 || ISO11] (math.h): Likewise.
25812         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25813         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25814         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25816 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
25818         [BZ #14132]
25819         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25820         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25821         * intl/dgettext.c (DCGETTEXT): Likewise.
25822         * intl/gettext.c (DCGETTEXT): Likewise.
25823         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25824         * posix/regex_internal.h (gettext): Likewise.
25825         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25826         Remove declaration.
25827         * include/argz.h (__argz_count_internal)
25828         (__argz_stringify_internal): Remove declaration.
25829         (__argz_count, __argz_stringify): Declare hidden proto.
25830         * intl/dcgettext.c: Remove use of INTDEF.
25831         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25832         * string/argz-stringify.c: Likewise.
25833         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25834         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25835         Declare hidden proto.
25836         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25837         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25838         Declare hidden proto.
25839         * include/stdio.h (__asprintf_internal): Don't declare.
25840         (__asprintf): Don't define as macro.  Declare hidden proto.
25841         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25842         (__fsetlocking): Declare hidden proto.
25843         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25844         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25845         hidden proto.
25846         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25847         (_IO_setlinebuf): Remove use of INTUSE.
25848         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25849         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25850         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25851         Remove declaration.
25852         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25853         (_IO_do_flush): Remove use of INTUSE.
25854         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25855         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25856         (_IO_adjust_column, _IO_least_wmarker)
25857         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25858         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25859         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25860         (_IO_default_doallocate, _IO_wdefault_doallocate)
25861         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25862         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25863         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25864         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25865         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25866         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25867         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25868         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25869         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25870         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25871         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25872         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25873         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25874         proto.
25875         (_IO_flush_all_internal, _IO_adjust_column_internal)
25876         (_IO_default_uflow_internal, _IO_default_finish_internal)
25877         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25878         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25879         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25880         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25881         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25882         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25883         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25884         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25885         (_IO_file_close_internal, _IO_file_close_it_internal)
25886         (_IO_file_underflow_internal, _IO_file_overflow_internal)
25887         (_IO_file_init_internal, _IO_file_attach_internal)
25888         (_IO_file_fopen_internal, _IO_file_read_internal)
25889         (_IO_file_sync_internal, _IO_file_seek_internal)
25890         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25891         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25892         (_IO_str_underflow_internal, _IO_str_overflow_internal)
25893         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25894         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25895         (_IO_list_all_internal, _IO_link_in_internal)
25896         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25897         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25898         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25899         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25900         (_IO_do_write_internal, _IO_padn_internal)
25901         (_IO_getline_info_internal, _IO_getline_internal)
25902         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25903         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25904         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25905         (_IO_vfscanf_internal, _IO_vfprintf_internal)
25906         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25907         (_IO_init_internal, _IO_un_link_internal): Don't declare.
25908         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25909         with libc_hidden_ver, remove use of INTUSE.
25910         * libio/genops.c: Likewise.
25911         * libio/freopen.c: Likewise.
25912         * libio/freopen64.c: Likewise.
25913         * libio/iofclose.c: Likewise.
25914         * libio/iofdopen.c: Likewise.
25915         * libio/iofflush.c: Likewise.
25916         * libio/iofflush_u.c: Likewise.
25917         * libio/iofgets.c: Likewise.
25918         * libio/iofgets_u.c: Likewise.
25919         * libio/iofopen.c: Likewise.
25920         * libio/iofopncook.c: Likewise.
25921         * libio/iofread.c: Likewise.
25922         * libio/iofread_u.c: Likewise.
25923         * libio/ioftell.c: Likewise.
25924         * libio/iofwrite.c: Likewise.
25925         * libio/iogetline.c: Likewise.
25926         * libio/iogets.c: Likewise.
25927         * libio/iogetwline.c: Likewise.
25928         * libio/iopadn.c: Likewise.
25929         * libio/iopopen.c: Likewise.
25930         * libio/ioseekoff.c: Likewise.
25931         * libio/ioseekpos.c: Likewise.
25932         * libio/iosetbuffer.c: Likewise.
25933         * libio/iosetvbuf.c: Likewise.
25934         * libio/ioungetc.c: Likewise.
25935         * libio/ioungetwc.c: Likewise.
25936         * libio/iovdprintf.c: Likewise.
25937         * libio/iovsprintf.c: Likewise.
25938         * libio/iovsscanf.c: Likewise.
25939         * libio/memstream.c: Likewise.
25940         * libio/obprintf.c: Likewise.
25941         * libio/oldfileops.c: Likewise.
25942         * libio/oldiofclose.c: Likewise.
25943         * libio/oldiofdopen.c: Likewise.
25944         * libio/oldiofopen.c: Likewise.
25945         * libio/oldiopopen.c: Likewise.
25946         * libio/oldstdfiles.c: Likewise.
25947         * libio/putc.c: Likewise.
25948         * libio/setbuf.c: Likewise.
25949         * libio/setlinebuf.c: Likewise.
25950         * libio/stdfiles.c: Likewise.
25951         * libio/strops.c: Likewise.
25952         * libio/vasprintf.c: Likewise.
25953         * libio/vscanf.c: Likewise.
25954         * libio/vsnprintf.c: Likewise.
25955         * libio/vswprintf.c: Likewise.
25956         * libio/wfiledoalloc.c: Likewise.
25957         * libio/wfileops.c: Likewise.
25958         * libio/wgenops.c: Likewise.
25959         * libio/wmemstream.c: Likewise.
25960         * libio/wstrops.c: Likewise.
25961         * libio/__fpurge.c: Likewise.
25962         * libio/__fsetlocking.c: Likewise.
25963         * assert/assert.c: Likewise.
25964         * debug/fgets_chk.c: Likewise.
25965         * debug/fgets_u_chk.c: Likewise.
25966         * debug/fread_chk.c: Likewise.
25967         * debug/fread_u_chk.c: Likewise.
25968         * debug/gets_chk.c: Likewise.
25969         * debug/obprintf_chk.c: Likewise.
25970         * debug/vasprintf_chk.c: Likewise.
25971         * debug/vdprintf_chk.c: Likewise.
25972         * debug/vsnprintf_chk.c: Likewise.
25973         * debug/vsprintf_chk.c: Likewise.
25974         * malloc/mtrace.c: Likewise.
25975         * misc/error.c: Likewise.
25976         * misc/syslog.c: Likewise.
25977         * stdio-common/asprintf.c: Likewise.
25978         * stdio-common/fxprintf.c: Likewise.
25979         * stdio-common/getw.c: Likewise.
25980         * stdio-common/isoc99_fscanf.c: Likewise.
25981         * stdio-common/isoc99_scanf.c: Likewise.
25982         * stdio-common/isoc99_vfscanf.c: Likewise.
25983         * stdio-common/isoc99_vscanf.c: Likewise.
25984         * stdio-common/isoc99_vsscanf.c: Likewise.
25985         * stdio-common/printf-prs.c: Likewise.
25986         * stdio-common/printf_fp.c: Likewise.
25987         * stdio-common/printf_fphex.c: Likewise.
25988         * stdio-common/printf_size.c: Likewise.
25989         * stdio-common/putw.c: Likewise.
25990         * stdio-common/scanf.c: Likewise.
25991         * stdio-common/sprintf.c: Likewise.
25992         * stdio-common/tmpfile.c: Likewise.
25993         * stdio-common/vfprintf.c: Likewise.
25994         * stdio-common/vfscanf.c: Likewise.
25995         * stdlib/strfmon_l.c: Likewise.
25996         * sunrpc/openchild.c: Likewise.
25997         * sunrpc/xdr_stdio.c: Likewise.
25998         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25999         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26001 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26003         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26005         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26006         in the third column, to generate for the shared library an IFUNC
26007         that uses _dl_vdso_vsym.
26008         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26009         * Makeconfig (object-suffixes-noshared): New variable.
26011         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26012         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26013         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26014         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26016         [BZ #14132]
26017         * include/sys/time.h (__gettimeofday): Remove macro.
26018         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26019         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26020         Remove INTDEF.
26021         (__gettimeofday): Add libc_hidden_def.
26022         (gettimeofday): Add libc_hidden_weak.
26023         * sysdeps/mach/gettimeofday.c: Likewise.
26024         * sysdeps/posix/gettimeofday.c: Likewise.
26025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26026         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26028         (__gettimeofday_internal): Remove strong_alias.
26029         (__gettimeofday): Add libc_hidden_def.
26030         (gettimeofday): Add libc_hidden_weak.
26031         * sysdeps/unix/syscalls.list (gettimeofday):
26032         Remove __gettimeofday_internal alias.
26034 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26035             H.J. Lu  <hongjiu.lu@intel.com>
26037         [BZ #12495]
26038         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26039         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26040         (largebin_index_32_big): New.
26041         (largebin_index): Use it for 16-byte alignment.
26042         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26043         correction with front_misalign.
26045 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26049         Likewise.
26050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26051         Likewise.
26052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26053         Likewise.
26054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26055         Likewise.
26056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26057         Likewise.
26058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26059         Likewise.
26060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26061         Likewise.
26062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26063         Likewise.
26064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26065         Likewise.
26066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26067         Likewise.
26068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26069         Likewise.
26070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26071         Likewise.
26073         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26074         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26076 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26078         [BZ #10846]
26079         [BZ #14036]
26080         * math/libm-test.inc (exp_test): Add test from bug 14036.
26081         (pow_test): Add test from bug 10846.
26083         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26084         and other flags.
26085         (special_function): Do not include flags in test name.
26086         (parse_args): Likewise.
26087         * sysdeps/i386/fpu/libm-test-ulps: Update.
26088         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26089         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26090         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26094         exceptions.
26095         * math/libm-test.inc ("Philosophy"): Update comment about
26096         exception testing.
26097         (UNDERFLOW_EXCEPTION): New macro.
26098         (UNDERFLOW_EXCEPTION_OK): Likewise.
26099         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26100         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26101         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26102         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26103         (INVALID_EXCEPTION_OK): Update value.
26104         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26105         (OVERFLOW_EXCEPTION_OK): Likewise.
26106         (IGNORE_ZERO_INF_SIGN): Likewise.
26107         (test_exceptions): Handle underflow exceptions.
26108         (acos_test): Update for underflow exception expectations.
26109         (cexp_test): Likewise.
26110         (clog_test): Likewise.
26111         (clog10_test): Likewise.
26112         (csqrt_test): Likewise.
26113         (ctan_test): Likewise.
26114         (ctanh_test): Likewise.
26115         (exp_test): Likewise.
26116         (exp10_test): Likewise.
26117         (exp2_test): Likewise.
26118         (expm1_test): Likewise.
26119         (fma_test): Likewise.
26120         (j0_test): Likewise.
26121         (jn_test): Likewise.
26122         (nexttoward_test): Likewise.
26123         (pow_test): Likewise.
26124         (scalbn_test): Likewise.
26125         (scalbln_test): Likewise.
26126         (tan_test): Likewise.
26127         (y1_test): Likewise.
26128         * sysdeps/i386/fpu/libm-test-ulps: Update.
26129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26131 2012-05-23  David S. Miller  <davem@davemloft.net>
26133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26134         (__libc_sigaction): Remove unused local variables.
26136 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26138         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26140 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26142         mktime: avoid signed integer overflow
26143         * time/mktime.c (__mktime_internal): Do not mishandle the case
26144         where diff == INT_MIN.
26146         mktime: simplify computation of average
26147         * time/mktime.c (ranged_convert): Use new time_t_avg function
26148         instead of rolling our own (probably-slower) code.
26150         mktime: do not assume signed right shift propagates sign bit
26151         * time/mktime.c (isdst_differ): New static function.
26152         (__mktime_internal): No need to normalize tm_isdst now.
26153         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26154         tm_isdst values.
26156         mktime: merge another wrapv change from gnulib
26157         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26158         from some compilers.
26160         mktime: remove incorrect attempt at unusual arithmetics
26161         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26162         The code didn't really work on such machines anyway.
26163         (TYPE_MINIMUM): Assume two's complement.
26164         (twos_complement_arithmetic): Verify that long_int and time_t
26165         are two's complement (or unsigned, in the latter case).
26167         mktime: check signed shifts on long_int and time_t, too
26168         * time/mktime.c (SHR): Check that shifts work as desired
26169         on the types long_int and time_t too, as SHR is used on
26170         such types.
26172         mktime: do not assume 'long' is wide enough
26173         * time/mktime.c (verify): Move decl up.
26174         (long_int): New type.
26175         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26176         to remove assumption in the code that 'long' is wide enough to
26177         store year values.  This assumption is not true on x32 and on
26178         some non-glibc platforms.
26180         mktime: merge wrapv change from gnulib
26181         * time/mktime.c (WRAPV): New macro.
26182         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26183         (guess_time_tm, __mktime_internal): Do not assume that signed
26184         integer overflow wraps around; modern compilers generate code
26185         where this assumption is no longer valid.
26187 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26189         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26190         Replace "jmp L(pseudo_end)" with "ret".
26191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26192         Likewise.
26194 2012-05-23  Andreas Jaeger  <aj@suse.de>
26196         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26197         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26199 2012-05-23  Andreas Jaeger  <aj@suse.de>
26200             Maximilian Attems  <max@stro.at>
26202         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26203         New macros.
26205 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26207         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26208         code so that pseudo_end is just ret and the stack pointer is
26209         correct also for static library in error case.
26211 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26213         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26214         move to syscalls.list.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26220         * manual/install.texi (Running make install): Do not mention Linux
26221         kernel version for which pt_chown is not needed.
26222         (Linux): Do not mention problems with nscd with 2.0 kernels.
26223         * INSTALL: Regenerated.
26225 2012-05-23  Andreas Jaeger  <aj@suse.de>
26227         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26228         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26229         macro.
26230         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26231         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26232         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26233         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26234         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26235         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26238         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26239         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26240         * sysdeps/unix/sysv/linux/bits/in.h
26241         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26243 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26245         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26246         (PREPARE_VERSION): Just use assert instead, it will be elided
26247         under [NDEBUG] anyway.
26249 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26251         * sysdeps/unix/sysv/linux/Makefile: Include
26252         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26253         (sysdep_routines): Remove sysctl.
26254         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26255         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26256         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26257         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26258         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26260 2012-05-22  Andreas Jaeger  <aj@suse.de>
26262         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26263         that pseudo_end is just ret and the stack pointer is correct also
26264         for static library in error case.
26266 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26268         [BZ #14122]
26269         * nss/nsswitch.c (defconfig_entries): New variable.
26270         (__nss_database_lookup): Don't leak defconfig entries.
26271         (nss_parse_service_list): Don't leak on error paths.
26272         (free_database_entries): New function.
26273         (free_defconfig): New function.
26274         (free_mem): Move common code to free_database_entries.
26276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26278         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26279         Add arch_prctl.
26280         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26282         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26283         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26285         New macro.
26286         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26287         (INTERNAL_SYSCALL_TYPES): Likewise.
26288         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26289         (LOAD_REGS_TYPES_[1-6]): Likewise.
26290         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26291         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26293 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26295         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26296         copysignl for GLIBC_2_0.
26297         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26298         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26300         logbl for GLIBC_2_0.
26301         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26302         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26304 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26307         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26309         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26310         Use "neg %eax".
26312         * time/mktime.c: Update copyright years.
26314 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26316         mktime: merge comment-quoting-style change from gnulib
26317         * time/mktime.c: Quote 'like this' in comments.
26318         The GNU coding standards suggest that we no longer quote `like this',
26319         as "`" and "'" are typically rendered asymmetrically nowadays.
26320         The typical gnulib style is to quote 'like this' when quoting
26321         code, and "like this" when quoting English.
26323         * time/mktime.c (compile-command): Add "-I.".
26325         mktime: merge mktime-internal.h change from gnulib
26326         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26328         mktime: merge time_r change from gnulib
26329         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26331         mktime: merge DEBUG change from gnulib
26332         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26333         case system <time.h> has a #define.
26335         mktime: merge <sys/types.h> change from gnulib
26336         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26337         since <time.t> is now guaranteed to define time_t.
26339         mktime: merge HAVE_CONFIG_H change from gnulib
26340         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26345         Use "neg %eax".
26347         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26348         __rlim_t cast.
26349         (struct rusage): Use anonymous union to pad each field to
26350         __syscall_slong_t.
26352 2012-05-21  David S. Miller  <davem@davemloft.net>
26354         * Makefules (o-iterator): Remove .s cases.
26355         (compile-command.s): Delete.
26356         (COMPILE.s): Delete.
26357         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26359 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
26361         * configure.in (libc_cv_predef_stack_protector): Only consider
26362         "foobar" and "__stack_chk_fail" lines in libc_undefs.
26363         * configure: Regenerated.
26365 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26368         New macro.  Use R*LP on int and pointer.
26369         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26370         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26371         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26372         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26374         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26375         [__WORDSIZE_TIME64_COMPAT32] instead of
26376         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26377         (struct utmp): Likewise.
26378         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26379         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26380         Renamed to ...
26381         (__WORDSIZE_TIME64_COMPAT32): This.
26382         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26383         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26384         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26385         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26386         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26387         (__WORDSIZE_TIME64_COMPAT32): New macro.
26389 2012-05-21  Andreas Jaeger  <aj@suse.de>
26391         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26392         only if [SHARED]. Add prototype for __wcschr_ia32.
26394 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26396         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26397         of %rbp unmolested in the jmp_buf while mangling the low bits.
26398         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26399         unmolested high bits of %rbp while demangling the low bits.
26400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26402 2012-05-21  Andreas Jaeger  <aj@suse.de>
26404         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26405         * sunrpc/svc_simple.c: Use it for registerrpc.
26406         * sunrpc/xcrypt.c: Use it for passwd2des.
26408         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26410 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26412         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26413         Don't define if [__SYSCALL_WORDSIZE != 32].
26414         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26415         New macro.
26417 2012-05-21  Bruno Haible  <bruno@clisp.org>
26418             Andreas Jaeger  <aj@suse.de>
26420         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26421         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26422         inptr and inend for must_buffer_ch.
26423         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26424         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26425         * stdio-common/Makefile (tests): Remove bug15.
26426         (bug15-ENV): Remove macro.
26427         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26428         anymore.
26430 2012-05-19  Andreas Jaeger  <aj@suse.de>
26431             Roland McGrath  <roland@hack.frob.com>
26433         * manual/contrib.texi: Completely rewritten. It contains now an
26434         alphabetical list of contributors and their contributions.
26436 2012-05-21  Richard Henderson  <rth@twiddle.net>
26438         * misc/getauxval.c (__getauxval): Use unsigned long int.
26439         * misc/sys/auxv.h: Include <sys/cdefs.h>.
26440         (getauxval): Use unsigned long int.
26442 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26444         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26446 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26448         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
26449         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
26450         __alignof__ (long double).
26452 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26456 2012-05-20  Richard Henderson  <rth@twiddle.net>
26458         * misc/getauxval.c: New file.
26459         * misc/sys/auxv.h: New file.
26460         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26461         (routines): Add getauxval.
26462         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
26463         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
26464         * elf/dl-sysdep.c (_dl_auxv): Remove.
26465         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
26466         * elf/dl-support.c (_dl_auxv): New variable.
26467         (_dl_aux_init): Initialize it.
26468         * manual/startup.texi (Auxiliary Vector): New node.
26469         * sysdeps/generic/bits/hwcap.h: New file.
26470         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26471         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
26472         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
26473         * sysdeps/sparc/sysdep.h: ... here.  Include it.
26474         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
26475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
26476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26477         Update.
26478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
26479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
26480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
26481         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
26485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
26487 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26491 2012-05-19  David S. Miller  <davem@davemloft.net>
26493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26495 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #14123]
26498         * math/s_ccosh.c: Include <float.h>
26499         (__ccosh): Avoid internal overflow calculating sinh and cosh
26500         values before multiplying by sin and cos values.
26501         * math/s_ccoshf.c: Likewise.
26502         * math/s_ccoshl.c: Likewise.
26503         * math/s_csin.c: Likewise.
26504         * math/s_csinf.c: Likewise.
26505         * math/s_csinl.c: Likewise.
26506         * math/s_csinh.c: Likewise.
26507         * math/s_csinhf.c: Likewise.
26508         * math/s_csinhl.c: Likewise.
26509         * math/libm-test.inc (ccos_test): Add more tests.
26510         (ccosh_test): Likewise.
26511         (csin_test): Likewise.
26512         (csinh_test): Likewise.
26513         * sysdeps/i386/fpu/libm-test-ulps: Update.
26514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
26518         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
26519         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
26521         * sysdeps/x86_64/x32/_itoa.h: Add comment.
26523 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26525         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
26526         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
26527         * sysdeps/powerpc/soft-fp/Versions: Likewise.
26528         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
26529         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
26530         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
26531         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
26532         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
26533         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
26534         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
26535         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
26536         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
26537         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
26538         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
26539         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
26540         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
26541         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
26542         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
26543         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
26544         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
26545         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
26546         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
26547         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26548         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
26549         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
26550         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
26551         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
26552         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
26553         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
26554         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
26555         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
26557 2012-05-18  Andreas Jaeger  <aj@suse.de>
26559         * csu/.gitignore: Delete.
26561 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26563         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
26564         (timex): Use __syscall_slong_t.
26566 2012-05-18  Andreas Jaeger  <aj@suse.de>
26567             Carlos O'Donell  <carlos_odonell@mentor.com>
26569         * manual/install.texi (Configuring and compiling): Update
26570         description about files modified in the source directory.
26571         * INSTALL: Regenerated.
26573 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26575         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
26576         value.  Use "or" to set return value to -1.
26577         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
26578         negate return value.
26580 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26582         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
26583         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
26584         failure if the compiler has Graphite support disabled.
26585         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
26586         Likewise.
26587         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
26588         CFLAGS-memmove.c): Likewise.
26589         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
26590         Likewise.
26592 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26594         * sysdeps/x86_64/x32/_itoa.h: New file.
26596         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
26597         getdents system call only if kernel and user dirents have the
26598         same d_ino and d_off.
26600         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26601         LLONG_MAX != LONG_MAX.
26602         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26603         (_fitoa_word): Likewise.
26605         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
26606         years.
26607         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
26608         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
26609         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
26611         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
26612         include <bits/wordsize.h>.  Check __x86_64__ instead of
26613         __WORDSIZE.
26614         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
26615         if __x86_64__ is defined.  Use anonymous union on fpstate.
26617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
26618         anonymous union.
26620 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
26622         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26623         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
26624         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
26625         Refer to _rtld_local_ro instead of _rtld_global_ro.
26626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
26627         Likewise.
26628         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
26629         Likewise.
26630         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
26631         Likewise.
26632         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
26633         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
26634         of _rtld_global, and rtld_progname instead of _dl_argv[0].
26636         * sysdeps/powerpc/powerpc32/dl-machine.c
26637         (__elf_machine_runtime_setup) [PROF]: Don't reference
26638         _dl_prof_resolve.
26640 2012-05-18  Andreas Jaeger  <aj@suse.de>
26642         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
26643         function only available for GCCs before 3.4 since GCC 3.4
26644         introduced a builtin.
26645         (lrint): Likewise.
26646         (llrintf): Likewise.
26647         (llrint): Likewise.
26648         (fmaxf): Likewise.
26649         (fmax): Likewise.
26650         (fminf): Likewise.
26651         (fmin): Likewise.
26652         (rint): Likewise.
26653         (rintf): Likewise.
26654         (nearbyint): Likewise.
26655         (nearbyintf): Likewise.
26656         (ceil): Likewise.
26657         (ceilf): Likewise.
26658         (floor): Likewise.
26659         (floorf): Likewise.
26661 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26663         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
26664         on both fields and cast pointer to __syscall_ulong_t.
26666         * bits/types.h (__fsword_t): New type.
26667         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
26668         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
26669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26670         (__FSWORD_T_TYPE): Likewise.
26671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26672         (__FSWORD_T_TYPE): Likewise.
26673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26674         (__FSWORD_T_TYPE): Likewise.
26675         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26676         (__FSWORD_T_TYPE): Likewise.
26677         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26678         __SWORD_TYPE with __fsword_t.
26679         (statfs64): Likewise.
26681 2012-05-17  David S. Miller  <davem@davemloft.net>
26683         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26685 2012-05-17  Andreas Jaeger  <aj@suse.de>
26687         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26688         warning.
26690 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26692         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26694 2012-05-17  Andreas Jaeger  <aj@suse.de>
26696         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26697         when it is used.
26699 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26701         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26703 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26705         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26706         * sysdeps/x86_64/tst-mallocalign1.c: New file.
26708 2012-05-17  Andreas Jaeger  <aj@suse.de>
26709             Carlos O'Donell  <carlos_odonell@mentor.com>
26711         [BZ #14059]
26712         * sysdeps/x86_64/multiarch/init-arch.h
26713         (bit_YMM_Usable): Rename to...
26714         (bit_AVX_Usable): ... this.
26715         (bit_FMA4_Usable): New macro.
26716         (bit_XMM_state): New macro.
26717         (bit_YMM_state): New macro.
26718         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26719         [__ASSEMBLER__] (index_AVX_Usable): ... this.
26720         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26721         (CPUID_OSXSAVE): New macro.
26722         (CPUID_AVX): New macro.
26723         (CPUID_FMA4): New macro.
26724         (index_YMM_Usable): Rename to...
26725         (index_AVX_Usable): ... this.
26726         (HAS_AVX): Use HAS_ARCH_FEATURE.
26727         (HAS_FMA4): Likewise.
26728         (HAS_YMM_USABLE): Remove.
26729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26730         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26731         are present.
26732         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26733         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26734         * sysdeps/x86_64/multiarch/Makefile: Likewise.
26735         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26736         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26738 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26740         * math/libm-test.c: Support platforms without multiple rounding modes.
26741         * math/bug-nextafter.c: Support platforms without FP exceptions.
26742         * math/bug-nexttoward.c: Likewise.
26743         * math/test-fenv.c: Likewise.
26744         * math/test-misc.c: Likewise.
26745         * stdlib/bug-getcontext.c: Likewise.
26747 2012-05-17  Andreas Jaeger  <aj@suse.de>
26749         * manual/examples/search.c (critter_cmp): Change signature to
26750         avoid warnings.
26751         * manual/string.texi (Collation Functions): Likewise.
26753 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26755         * bits/types.h: Fold copyright years.
26756         * bits/typesizes.h: Likewise.
26757         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26758         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26761         * time/time.h: Likewise.
26763 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
26765         [BZ #208]
26766         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26767         in instead of returning them.  Return void.
26768         (__libc_mallinfo): Accumulate over all arenas.
26769         (__malloc_stats): Adjust for change in int_mallinfo interface.
26771 2012-05-16  Roland McGrath  <roland@hack.frob.com>
26773         [BZ #10375]
26774         * configure.in (NM): Add AC_CHECK_TOOL for it.
26775         (libc_extra_cflags): New substituted variable.
26776         Check for -fstack-protector being used implicitly.
26777         * configure: Regenerated.
26778         * config.make.in (config-extra-cflags): New variable,
26779         gets @libc_extra_cflags@.
26780         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26782         [BZ #10375]
26783         * configure.in: Check for _FORTIFY_SOURCE being predefined.
26784         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26785         * configure: Regenerated.
26786         * config.make.in (CPPUNDEFS): New substituted variable.
26787         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26788         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26789         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26793         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26794         (mq_attr): Use __syscall_slong_t.
26796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26798         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26799         Check __x86_64__ instead of __WORDSIZE.
26800         (_STAT_VER_LINUX): Likewise.
26801         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
26802         __syscall_ulong_t and __syscall_slong_t.
26803         (stat64): Likewise.
26805 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26809 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26811         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26813 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26815         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26816         __syscall_ulong_t.
26818         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26819         include <bits/wordsize.h>.  Check __x86_64__ instead of
26820         __WORDSIZE.
26821         (greg_t): Use "__extension__ long long int" if __x86_64__ is
26822         defined.
26823         (mcontext_t): Replace "unsigned long" with "unsigned long long".
26825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26826         include <bits/wordsize.h>.  Check __x86_64__ instead of
26827         __WORDSIZE.
26828         (user_regs_struct): Use "__extension__ unsigned long long"
26829         instead of "unsigned long" if __x86_64__ is defined.
26830         (user): Likewise.  Pad after pointer field if __ILP32__ is
26831         defined.
26833 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
26835         * configure.in (makeinfo): Require version 4.5 or later.  Allow
26836         versions 5 to 9.
26837         * configure: Regenerated.
26838         * manual/install.texi (texinfo): Increase version requirement to
26839         4.5 or later.
26840         * INSTALL: Regenerated.
26842         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26846         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26848         * sysdeps/x86_64/x32/ffs.c: New file.
26850         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26851         __syscall_ulong_t.
26852         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26853         defined.  Use __syscall_ulong_t.
26854         (shminfo): Use __syscall_ulong_t.
26855         (shm_info): Likewise.
26857         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26858         __syscall_ulong_t.
26860         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26861         <bits/wordsize.h>.
26862         (msgqnum_t): Use __syscall_ulong_t.
26863         (msglen_t): Likewise.
26864         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
26865         __syscall_ulong_t.
26867         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26868         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26870         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26872         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26873         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26875         * sysvipc/sys/msg.h (msgbuf): Replace long int with
26876         __syscall_slong_t.
26878         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26879         include <bits/wordsize.h>.  Check __x86_64__ instead of
26880         __WORDSIZE.
26882         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26883         "unsigned long long int" if __x86_64__ is defined.
26884         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26886         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26887         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26888         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26890         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26891         <stdint.h>.
26892         (GET_PC): Cast to uintptr_t first.
26893         (GET_FRAME): Likewise.
26894         (GET_STACK): Likewise.
26896         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26897         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26898         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26899         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26900         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26901         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26902         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26903         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26904         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26905         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26906         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26907         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26908         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26909         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26910         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26911         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26912         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26913         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26914         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26915         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26917         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26918         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26919         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26920         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26921         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26922         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26923         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26924         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26926 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
26928         * Makerules (+depfiles): Also collect depfiles from .oS in
26929         $(extra-objs).
26930         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26931         .oS, $(libnldbl-routines)).
26933         * Makerules (native-compile-mkdep-flags): Define.
26934         * sunrpc/Makefile (extra-objs): Add $(addprefix
26935         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26936         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26937         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
26938         calling $(make-target-directory).
26940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26942         * bits/types.h (__snseconds_t): Removed.
26943         * time/time.h (struct timespec): Replace __snseconds_t with
26944         __syscall_slong_t.
26945         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26946         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26947         Likewise.
26948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26949         (__SNSECONDS_T_TYPE): Likewise.
26950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26951         (__SNSECONDS_T_TYPE): Likewise.
26952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26953         (__SNSECONDS_T_TYPE): Likewise.
26955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/mach/hurd/bits/typesizes.h
26958         (__SYSCALL_SLONG_TYPE): New macro.
26959         (__SYSCALL_ULONG_TYPE): Likewise.
26961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26963         * bits/types.h (__syscall_slong_t): New type.
26964         (__syscall_ulong_t): Likewise.
26966         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26967         (__SYSCALL_ULONG_TYPE): Likewise.
26968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26969         (__SYSCALL_SLONG_TYPE): Likewise.
26970         (__SYSCALL_ULONG_TYPE): Likewise.
26971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26972         (__SYSCALL_SLONG_TYPE): Likewise.
26973         (__SYSCALL_ULONG_TYPE): Likewise.
26974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26975         (__SYSCALL_SLONG_TYPE): Likewise.
26976         (__SYSCALL_ULONG_TYPE): Likewise.
26978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26980         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26981         Add sigaltstack-offsets.sym.
26982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26983         <sigaltstack-offsets.h>.
26984         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
26985         longjmp_msg pointer.
26986         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
26987         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26988         signal stack.
26989         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26991 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26993         * elf/stackguard-macros.h: Remove file.
26994         * sysdeps/generic/stackguard-macros.h: New file.
26995         * sysdeps/i386/stackguard-macros.h: Likewise.
26996         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26997         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26998         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26999         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27000         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27001         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27002         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27003         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27004         <elf/stackguard-macros.h>.
27006         [BZ #14109]
27007         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27008         __aligned__ in attribute.
27009         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27010         (gregset_t): Likewise.
27012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27014         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27015         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27016         * sysdeps/x86_64/x32/Implies-after: New file.
27018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27020         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27021         and access return value for _dl_profile_fixup.  Use R10_LP to
27022         load frame size.
27024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27026         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27030         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27031         * sysdeps/x86_64/x32/sysdep.h: New file.
27033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27035         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27036         * sysdeps/x86_64/setjmp.S: Likewise.
27038 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27040         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27041         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27042         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27043         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27044         remove unused global constant.
27046 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27048         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27049         include of <not-cancel.h>.
27051 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27053         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27055 2012-05-15  Jeff Law  <law@redhat.com>
27056             Andreas Jaeger  <aj@suse.de>
27058         [BZ #13594]
27059         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27060         out from...
27061         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27062         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27063         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27064         code changing __hst_map_handle.map.
27066 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27068         * configure.in (sysnames): Look for Implies-before and Implies-after
27069         files.
27070         * configure: Regenerated.
27072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27075         8-byte data alignment with LP_SIZE alignment.
27077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27079         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27080         into R10_LP.
27082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27084         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27089         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27091         Likewise.
27092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27096         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27097         (stackinfo_sub_sp): Likewise.
27099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27102         RAX_LP.
27104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27107         into R*_LP.
27109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27111         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27112         sizes into R*_LP.
27114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27116         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27120         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27121         into R11_LP and load __x86_64_shared_cache_size_half into
27122         R8_LP.
27124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27126         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27127         R8_LP.
27129 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27132         logb for POWER7.
27133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27134         logbf for POWER7.
27135         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27136         logbl for POWER7.
27137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27138         powerpc32/power7/fpu/s_logb.c via #include.
27139         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27140         powerpc32/power7/fpu/s_logbf.c via #include.
27141         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27142         powerpc32/power7/fpu/s_logbl.c via #include.
27144 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27146         * README.libm: Remove file.
27148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27150         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27151         count for x32.  Use R*_LP and omit operand-size suffix.
27153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27155         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27156         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27157         * sysdeps/x86_64/x32/shlib-versions: New file.
27159 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27161         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27162         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27163         Use _dl_fatal_printf instead.
27165 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27167         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27168         set if not set by the user.  Do not allow for being unset.
27169         * sysdeps/unix/sysv/linux/configure: Regenerated.
27171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27173         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27174         the `q' suffix from lea and replace .quad with ASM_ADDR.
27176 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27179         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27180         instead of $17.
27181         (PTR_DEMANGLE): Likewise.
27183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27185         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27186         (LP_OP): Likewise.
27187         (ASM_ADDR): Likewise.
27188         (RAX_LP): Likewise.
27189         (RBP_LP): Likewise.
27190         (RBX_LP): Likewise.
27191         (RCX_LP): Likewise.
27192         (RDI_LP): Likewise.
27193         (RSI_LP): Likewise.
27194         (RSP_LP): Likewise.
27195         (R8_LP): Likewise.
27196         (R9_LP): Likewise.
27197         (R10_LP): Likewise.
27198         (R10_LP): Likewise.
27199         (R11_LP): Likewise.
27200         (R12_LP): Likewise.
27201         (R13_LP): Likewise.
27202         (R14_LP): Likewise.
27203         (R15_LP): Likewise.
27205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/x86_64/x32/dl-machine.h: New file.
27209 2012-05-14  Andreas Jaeger  <aj@suse.de>
27211         * manual/Makefile (subdir): Remove export of subdir.
27212         (all): Remove target.
27213         (.PHONY): Remove all from list.
27214         (mkinstalldirs): Remove.
27215         (.PHONY): Remove installdirs from list.
27216         ($(inst_infodir)/libc.info): Use make-target-directory.
27217         (installdirs): Remove.
27218         (subdir_%): Remove.
27219         (glibc-targets): Remove.
27220         (lib): Remove.
27221         (stubs): Remove.
27222         ($(objpfx)stubs ../po/manual.pot): Remove.
27223         ($(objpfx)stamp%): Remove.
27224         (make-target-directory): Remove.
27225         (subdir_install): Remove.
27226         (routines): Remove.
27227         (aux): Remove.
27228         (sources): Remove.
27229         (objects): Remove.
27230         (headers): Remove.
27232         [BZ #13750]
27233         * manual/.gitignore: Remove, it's not needed anymore.
27234         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27235         all files in it.
27236         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27237         directory.
27238         (texis): Renamed to $(objpfx)texis.
27239         (texis-path): New, contains path to generated files.
27240         (chapters.%): Use texis-path for complete path, add extra argument
27241         libc-texinfo.sh.
27242         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27243         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27244         (summary,texi, stamp-summary): Use complete path of
27245         files. Generate files in build dir.
27246         (dir-add.texi): Build in build dir.
27247         (libm-err.texi,stamp-libm-err): Likewise.
27248         (version.texi, stamp-version): Likewise.
27249         (.%c.texi): Likewise.
27250         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27251         (mostlyclean): Remove target.
27252         (realclean): Remove target.
27253         (generated): Add new variable with contents from mostlyclean and
27254         realclean, remove entries duplicated in common-mostlyclean, add
27255         stamp-libm-err and stamp-version.
27256         (generated-dirs): Add libc directory.
27257         ($(inst_infodir)/libc.info): Install files from build dir.
27259         * manual/install.texi (Configuring and compiling): Adjust since
27260         the info files are not part of the tar ball anymore.
27262 2012-05-14  Andreas Jaeger  <aj@suse.de>
27264         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27265         variable.
27267 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27269         [BZ #13717]
27270         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27271         to 2.2.0 where earlier.
27272         * sysdeps/unix/sysv/linux/configure: Regenerated.
27273         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27274         Remove conditional code.
27275         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27276         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27277         Remove conditional code.
27278         [!__NR_lchown]: Likewise.
27279         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27280         [__NR_lchown]: Likewise.
27281         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27282         comment referencing __ASSUME_LCHOWN_SYSCALL.
27283         * sysdeps/unix/sysv/linux/i386/sigaction.c
27284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27286         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27287         Remove conditional code.
27288         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27289         (__protocol_available): Remove #if 0 code.
27290         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27291         conditional code.
27292         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27293         * sysdeps/unix/sysv/linux/kernel-features.h
27294         (__ASSUME_GETCWD_SYSCALL): Don't define.
27295         (__ASSUME_REALTIME_SIGNALS): Likewise.
27296         (__ASSUME_PREAD_SYSCALL): Likewise.
27297         (__ASSUME_PWRITE_SYSCALL): Likewise.
27298         (__ASSUME_POLL_SYSCALL): Likewise.
27299         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27300         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27301         non-SPARC.
27302         (__ASSUME_SIOCGIFNAME): Don't define.
27303         (__ASSUME_MSG_NOSIGNAL): Likewise.
27304         (__ASSUME_SENDFILE): Define unconditionally.
27305         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27306         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27307         conditional code.
27308         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27309         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27310         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27311         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27312         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27313         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27314         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27316         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27319         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27320         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27322         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27323         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27325         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27326         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27328         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27329         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27331         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27334         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27335         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27337         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27339         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27340         Remove conditional code.
27341         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27342         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27343         Remove conditional code.
27344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27345         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27346         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27347         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27348         Remove conditional code.
27349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27350         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27351         Remove conditional code.
27352         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27353         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27354         Remove conditional code.
27355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27356         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27357         Remove conditional code.
27358         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27359         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27360         Remove conditional code.
27361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27362         * sysdeps/unix/sysv/linux/sh/pwrite64.c
27363         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27365         * sysdeps/unix/sysv/linux/sigaction.c
27366         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27367         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27368         * sysdeps/unix/sysv/linux/sigpending.c
27369         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27370         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27371         * sysdeps/unix/sysv/linux/sigprocmask.c
27372         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27373         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27374         * sysdeps/unix/sysv/linux/sigsuspend.c
27375         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27376         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27377         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27378         (__libc_missing_rt_sigs): Remove.
27379         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27380         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27381         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27382         Remove conditional code.
27383         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27384         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27385         return 1.
27386         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27387         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27388         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27389         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27391 2012-05-14  Andreas Jaeger  <aj@suse.de>
27393         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27394         it's not used in glibc.
27395         (__coshm1): Likewise.
27396         (__acosh1p): Likewise.
27397         (__sgn): Likewise.
27399         * manual/string.texi (Copying and Concatenation): Add missing
27400         variable in concat example.
27401         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27403 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27405         [BZ #14103]
27406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27407         __builtin_clzl with __builtin_clzll.
27409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27411         [BZ #14104]
27412         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27413         libc_freeres_ptr.
27415 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27417         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27418         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27419         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27420         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27422 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
27424         * NEWS: Update ia64 info.
27426 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
27428         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27429         used as bcopy.
27431 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
27433         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27434         * sysdeps/unix/syscalls.list (dup3): Likewise.
27435         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27436         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27438 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27440         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27441         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
27443 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27445         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
27446         thread pointer.
27447         (TLS_IE): Use mov/add instead of movq/addq to load thread
27448         pointer.
27449         (TLS_GD_PREFIX): New.
27450         (TLS_GD): Use it.
27452 2012-05-11  David S. Miller  <davem@davemloft.net>
27454         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
27455         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
27456         (_FPU_SETCW): Likewise.
27458 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27460         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
27461         is 32-byte aligned.
27463 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
27465         [BZ #11837]
27466         * iconvdata/gb18030.c: Update tables.
27467         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
27468         characters specially.
27469         (BODY for TO_LOOP): Add encoding of missing ranges.
27471 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
27473         [BZ #13673]
27474         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
27475         * sysdeps/mach/hurd/dup3.c: Likewise.
27476         * sysdeps/mach/hurd/readlinkat.c: Likewise.
27477         * sysdeps/powerpc/memmove.c:: Likewise.
27479 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
27482         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27484 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27486         * elf/elf.h (R_X86_64_RELATIVE64): New.
27487         (R_X86_64_NUM): Updated.
27488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27489         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
27490         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
27491         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
27492         tst-quad1pie tst-quad2pie
27493         (modules-names): Add tst-quadmod1 tst-quadmod2.
27494         ($(objpfx)tst-quad1): New dependency.
27495         ($(objpfx)tst-quad2): Likewise.
27496         ($(objpfx)tst-quad1pie): Likewise.
27497         ($(objpfx)tst-quad2pie): Likewise.
27498         * sysdeps/x86_64/tst-quad1.c: New file.
27499         * sysdeps/x86_64/tst-quad1pie.c: New file.
27500         * sysdeps/x86_64/tst-quad2.c: Likewise.
27501         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
27502         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
27503         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
27504         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27505         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
27507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27509         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27510         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
27511         * streams/stropts.h (t_scalar_t): Define type.
27513         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
27514         (_PATH_PRESERVE): Set to "/var/lib".
27515         (_PATH_RWHODIR): Set to "/var/spool/rwho".
27517         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
27518         instead of int.
27520         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
27521         if __dir_mkfile succeeded.
27523         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
27524         checking for _hurd_dtablesize.  Unlock it right after having
27525         finished _hurd_dtable allocation.
27527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27529         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
27530         * sysdeps/mach/hurd/configure: Regenerated.
27531         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
27532         special-casing to...
27533         * sysdeps/gnu/configure.in: ... this new file.
27534         * sysdeps/unix/sysv/linux/configure: Regenerated.
27535         * sysdeps/gnu/configure: New generated file.
27537         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
27538         for Linux: use nsec instead of usec, as well as:
27539         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
27540         members of type struct timespec.
27541         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
27542         New macros.
27543         (struct stat64): Likewise.
27544         (_STATBUF_ST_NSEC): New macro.
27545         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
27547         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27548         __strtoul_internal rather than strtoul.
27550 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27552         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27553         and reject them.
27555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27557         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
27558         which preserves existing values.
27559         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
27561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27563         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
27564         TIMEOUT values.  Return EINVAL for NFDS values either negative or
27565         greater than FD_SETSIZE.
27567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27569         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
27570         allocated, call __vm_protect to finish enabling the existing space, and
27571         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
27572         allocate the remainder.
27574 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27576         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
27577         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
27579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27581         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
27582         sysdeps/mach/hurd/readlink.c.
27584         * posix/tst-sysconf.c (posix_options): Only use
27585         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
27586         _POSIX_SYNCHRONIZED_IO when they are defined
27587         * sysdeps/mach/hurd/bits/posix_opt.h:
27588         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
27589         (_XOPEN_REALTIME): Undefine macro.
27590         (_XOPEN_REALTIME_THREADS): Undefine macro.
27591         (_XOPEN_SHM): Undefine macro.
27592         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
27593         macro to -1.
27594         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
27595         macro to -1.
27596         (_POSIX_ASYNC_IO): Undefine macro.
27597         (_POSIX_PRIORITIZED_IO): Undefine macro.
27598         (_POSIX_SPIN_LOCKS): Define macro to -1.
27600         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
27601         SA_NODEFER, SA_RESETHAND.
27602         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
27603         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
27604         F_DUPFD_CLOEXEC.
27606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27608         * elf/Makefile (pldd-modules): Define unconditionally.
27610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27612         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
27614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27616         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
27617         Return ENOENT when name is empty.
27618         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
27620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27622         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
27624         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
27626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27628         Fix mlock in all cases except non-readable pages.
27629         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
27630         instead of VM_PROT_ALL as parameter to __vm_wire function.
27632         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
27633         (__mkdir): When path is `/', just fail with EEXIST.
27634         * sysdeps/mach/hurd/mkdirat.c: Likewise.
27636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27638         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
27639         <sys/uio.h> (for writev).
27640         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
27641         and <sys/param.h> (for MIN).
27643 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27645         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
27646         REQUESTED_TIME.  Properly set the remaining time and return EINTR
27647         if interrupted.
27649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27651         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27652         Depend on against $(link-rpcuserlibs).
27654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27656         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
27657         (__libc_stack_end): Do not use attribute_relro.
27658         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
27659         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
27660         to libthread-provided value.
27661         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
27662         attribute_relro.
27664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27666         [BZ #3748]
27667         * bits/libc-lock.h (__libc_once_get): New macro.
27668         * sysdeps/mach/bits/libc-lock.h: Likewise.
27669         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
27670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
27671         instead of using implementation details.
27673         * libio/fileops.c: Unconditionally include <kernel-features.h>.
27674         * libio/freopen.c: Likewise.
27675         * libio/freopen64.c: Likewise.
27676         * misc/syslog.c: Likewise.
27677         * nscd/connections.c: Likewise.
27678         * nscd/netgroupcache.c: Likewise.
27679         * sysdeps/posix/getcwd.c: Likewise.
27681 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27683         * math/w_ilogbf.c: Add #include <limits.h>.
27685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27687         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27688         path instead of returning without unlocking.
27690         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27691         immediate-write ioctls.
27692         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27696         * sysdeps/mach/hurd/i386/init-first.c (init): Use
27697         __builtin_frame_address instead of making assumptions about the
27698         location of the return address relative to DATA.  Force early load of
27699         the return address.
27700         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27701         __builtin_frame_address.
27703         dup3 for GNU Hurd.
27704         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27705         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
27706         implement dup3 and do some further code clean-ups.
27707         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27708         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27712         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27714         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27715         HURD_CRITICAL_END around holding _hurd_dtable_lock.
27716         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27717         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27718         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27719         d->port.lock.
27721         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27722         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
27723         when handler == SIG_ERR, not when handler != SIG_ERR.
27725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27727         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27728         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27729         definitions.
27731         accept4 for GNU Hurd.
27732         * include/sys/socket.h (__libc_accept4): New prototype.
27733         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
27734         to implement __libc_accept4.
27735         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27736         __libc_accept4.
27737         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27739         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27740         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27741         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27742         signal-defines.sym.
27744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27746         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27750         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27751         assertion on O_CLOEXEC flag.
27752         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27753         * hurd/intern-fd.c: Likewise.
27754         * hurd/port2fd.c: Likewise.
27756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27758         [BZ #3906]
27759         * bits/in.h (IPV6_PKTINFO): Define new macro.
27760         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27762 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27764         [BZ #13954]
27765         [BZ #13955]
27766         [BZ #13956]
27767         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27768         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27769         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27770         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27772         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27773         * math/libm-test.inc (logb_test) : Additional logb tests.
27775 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
27776             Andreas Jaeger  <aj@suse.de>
27778         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27779         * configure: Regenerated.
27780         * config.h.in (LINK_OBSOLETE_RPC): New macro.
27781         * config.make.in (link-obsolete-rpc): New substituted variable.
27782         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27783         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27784         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27785         (shared-only-routines): Don't set it under [link-obsolete-rpc],
27786         so that libc.a contains the symbols.
27787         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27788         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27789         * sunrpc/auth_none.c: Likewise.
27790         * sunrpc/auth_unix.c: Likewise.
27791         * sunrpc/authdes_prot.c: Likewise.
27792         * sunrpc/authuxprot.c: Likewise.
27793         * sunrpc/clnt_gen.c: Likewise.
27794         * sunrpc/clnt_perr.c: Likewise.
27795         * sunrpc/clnt_raw.c: Likewise.
27796         * sunrpc/clnt_simp.c: Likewise.
27797         * sunrpc/clnt_tcp.c: Likewise.
27798         * sunrpc/clnt_udp.c: Likewise.
27799         * sunrpc/clnt_unix.c: Likewise.
27800         * sunrpc/des_crypt.c: Likewise.
27801         * sunrpc/des_soft.c: Likewise.
27802         * sunrpc/get_myaddr.c: Likewise.
27803         * sunrpc/key_call.c: Likewise.
27804         * sunrpc/key_prot.c: Likewise.
27805         * sunrpc/netname.c: Likewise.
27806         * sunrpc/pm_getmaps.c: Likewise.
27807         * sunrpc/pm_getport.c: Likewise.
27808         * sunrpc/pmap_clnt.c: Likewise.
27809         * sunrpc/pmap_prot.c: Likewise.
27810         * sunrpc/pmap_prot2.c: Likewise.
27811         * sunrpc/pmap_rmt.c: Likewise.
27812         * sunrpc/publickey.c: Likewise.
27813         * sunrpc/rpc_cmsg.c: Likewise.
27814         * sunrpc/rpc_common.c: Likewise.
27815         * sunrpc/rpc_dtable.c: Likewise.
27816         * sunrpc/rpc_prot.c: Likewise.
27817         * sunrpc/rpc_thread.c: Likewise.
27818         * sunrpc/rtime.c: Likewise.
27819         * sunrpc/svc.c: Likewise.
27820         * sunrpc/svc_auth.c: Likewise.
27821         * sunrpc/svc_raw.c: Likewise.
27822         * sunrpc/svc_run.c: Likewise.
27823         * sunrpc/svc_tcp.c: Likewise.
27824         * sunrpc/svc_udp.c: Likewise.
27825         * sunrpc/svc_unix.c: Likewise.
27826         * sunrpc/svcauth_des.c: Likewise.
27827         * sunrpc/xcrypt.c: Likewise.
27828         * sunrpc/xdr.c: Likewise.
27829         * sunrpc/xdr_array.c: Likewise.
27830         * sunrpc/xdr_float.c: Likewise.
27831         * sunrpc/xdr_intXX_t.c: Likewise.
27832         * sunrpc/xdr_mem.c: Likewise.
27833         * sunrpc/xdr_rec.c: Likewise.
27834         * sunrpc/xdr_ref.c: Likewise.
27835         * sunrpc/xdr_sizeof.c: Likewise.
27836         * sunrpc/xdr_stdio.c: Likewise.
27838 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27840         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27841         change.  Update copyright years.
27843 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27845         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27847 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
27848             Joseph Myers  <joseph@codesourcery.com>
27849             Paul Pluzhnikov  <ppluzhnikov@google.com>
27851         [BZ #14012]
27852         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27853         requiring rpcgen.
27854         [cross-compiling] (extra-libs): Likewise.
27855         [cross-compiling] (extra-libs-others): Likewise.
27856         [cross-compiling] (librpcsvc-routines): Likewise.
27857         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27858         [cross-compiling] (omit-deps): Likewise.
27859         (sunrpc-CPPFLAGS): New variable.
27860         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27861         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27862         (cross-rpcgen-objs): New variable.
27863         (extra-objs): Append $(cross-rpcgen-objs).
27864         ($(cross-rpcgen-objs)): New rule.
27865         ($(objpfx)cross-rpcgen): Likewise.
27866         (rpcgen-cmd): Define to use $(built-program-file).  Expand
27867         comment.
27868         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27869         ($(objpfx)x%.stmp): Likewise.
27870         * sunrpc/proto.h [IS_IN_build] (_): Define.
27871         [IS_IN_build] (_libc_intl_domainname): Likewise.
27873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27876         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27877         and R_X86_64_TPOFF64.
27879 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27881         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27882         sysdeps/unix/sysv/syscalls.list.
27883         (stime): Likewise.
27884         (utime): Likewise.
27885         * sysdeps/unix/sysv/syscalls.list: Remove file.
27887 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
27889         [BZ #3440]
27890         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27891         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27892         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27893         (__LC_IDENTIFICATION): Make these macros useful in #if
27894         expressions, as required by C99.
27896 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
27898         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27899         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
27900         after this.
27902 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
27904         * stdlib/longlong.h: Updated from GCC.
27906 2012-05-09  Andreas Jaeger  <aj@suse.de>
27908         * nscd/nscd.c (run_modes): Make named enum, reorder so that
27909         default is first entry.
27910         (run_mode): Set type.
27911         (main): Remove informal message about syslog.
27912         (options): Fix typo.
27914         [BZ #14053]
27915         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27916         to asm.
27917         (lrint): Likewise.
27918         (llrintf): Likewise.
27919         (llrint): Likewise.
27920         (rint): Likewise.
27921         (rintf): Likewise.
27922         (nearbyint): Likewise.
27923         (nearbyintf): Likewise.
27925 2012-05-09  Andreas Jaeger  <aj@suse.de>
27926             Pedro Alves  <palves@redhat.com>
27928         * nscd/nscd.c (run_mode): Use enum.
27929         (main): Cleanup coding style issue.
27931 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
27932             Andreas Jaeger  <aj@suse.de>
27934         * nscd/nscd.c (go_background): Replaced with...
27935         (run_mode): ... this.
27936         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27937         (options): Add -F --foreground.
27938         (main): Implement it.
27939         (parse_opt): Parse it.
27941 2012-05-09  Andreas Jaeger  <aj@suse.de>
27943         [BZ #14083]
27944         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27945         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27946         -Wconversion warning.
27947         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27948         Likewise.
27950 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
27952         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
27953         == 0.
27954         (LC_ALL): Use macro-int-constant.
27955         (LC_COLLATE): Likewise.
27956         (LC_CTYPE): Likewise.
27957         (LC_MESSAGES): Likewise.
27958         (LC_MONETARY): Likewise.
27959         (LC_NUMERIC): Likewise.
27960         (LC_TIME): Likewise.
27961         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27962         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27963         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27964         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27965         Specify type.
27966         [C99-based standards] (float_t): Expect type.
27967         [C99-based standards] (double_t): Expect type.
27968         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
27969         type.
27970         [C99-based standards] (HUGE_VALL): Likewise.
27971         [C99-based standards] (INFINITY): Likewise.
27972         [C99-based standards] (NAN): Likewise.
27973         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27974         [C99-based standards] (FP_NAN): Likewise.
27975         [C99-based standards] (FP_NORMAL): Likewise.
27976         [C99-based standards] (FP_SUBNORMAL): Likewise.
27977         [C99-based standards] (FP_ZERO): Likewise.
27978         [C99-based standards] (FP_FAST_FMA): Use
27979         optional-macro-int-constant.  Specify type.  Require == 1.
27980         [C99-based standards] (FP_FAST_FMAF): Likewise.
27981         [C99-based standards] (FP_FAST_FMAL): Likewise.
27982         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27983         [C99-based standards] (FP_ILOGBNAN): Likewise.
27984         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27985         Specify type.
27986         [C99-based standards] (MATH_ERREXCEPT): Likewise.
27987         [C99-based standards] (math_errhandling): Specify type.
27988         [ISO99 || ISO11] (signgam): Do not allow.
27989         [non-C99-based standards] (copysignf): Do not allow.
27990         [non-C99-based standards] (exp2f): Likewise.
27991         [non-C99-based standards] (log2f): Likewise.
27992         [non-C99-based standards] (modff): Allow.
27993         [non-C99-based standards] (erff): Do not allow.
27994         [non-C99-based standards] (erfcf): Likewise.
27995         [non-C99-based standards] (gammaf): Likewise.
27996         [non-C99-based standards] (hypotf): Likewise.
27997         [non-C99-based standards] (j0f): Likewise.
27998         [non-C99-based standards] (j1f): Likewise.
27999         [non-C99-based standards] (jnf): Likewise.
28000         [non-C99-based standards] (lgammaf): Likewise.
28001         [non-C99-based standards] (tgammaf): Likewise.
28002         [non-C99-based standards] (y0f): Likewise.
28003         [non-C99-based standards] (y1f): Likewise.
28004         [non-C99-based standards] (ynf): Likewise.
28005         [non-C99-based standards] (isnanf): Likewise.
28006         [non-C99-based standards] (acoshf): Likewise.
28007         [non-C99-based standards] (asinhf): Likewise.
28008         [non-C99-based standards] (atanhf): Likewise.
28009         [non-C99-based standards] (cbrtf): Likewise.
28010         [non-C99-based standards] (expm1f): Likewise.
28011         [non-C99-based standards] (ilogbf): Likewise.
28012         [non-C99-based standards] (log1pf): Likewise.
28013         [non-C99-based standards] (logbf): Likewise.
28014         [non-C99-based standards] (nextafterf): Likewise.
28015         [non-C99-based standards] (remainderf): Likewise.
28016         [non-C99-based standards] (rintf): Likewise.
28017         [non-C99-based standards] (scalbf): Likewise.
28018         [non-C99-based standards] (copysignl): Likewise.
28019         [non-C99-based standards] (exp2l): Likewise.
28020         [non-C99-based standards] (log2l): Likewise.
28021         [non-C99-based standards] (modfl): Allow.
28022         [non-C99-based standards] (erfl): Do not allow.
28023         [non-C99-based standards] (erfcl): Likewise.
28024         [non-C99-based standards] (gammal): Likewise.
28025         [non-C99-based standards] (hypotl): Likewise.
28026         [non-C99-based standards] (j0l): Likewise.
28027         [non-C99-based standards] (j1l): Likewise.
28028         [non-C99-based standards] (jnl): Likewise.
28029         [non-C99-based standards] (lgammal): Likewise.
28030         [non-C99-based standards] (tgammal): Likewise.
28031         [non-C99-based standards] (y0l): Likewise.
28032         [non-C99-based standards] (y1l): Likewise.
28033         [non-C99-based standards] (ynl): Likewise.
28034         [non-C99-based standards] (isnanl): Likewise.
28035         [non-C99-based standards] (acoshl): Likewise.
28036         [non-C99-based standards] (asinhl): Likewise.
28037         [non-C99-based standards] (atanhl): Likewise.
28038         [non-C99-based standards] (cbrtl): Likewise.
28039         [non-C99-based standards] (expm1l): Likewise.
28040         [non-C99-based standards] (ilogbl): Likewise.
28041         [non-C99-based standards] (log1pl): Likewise.
28042         [non-C99-based standards] (logbl): Likewise.
28043         [non-C99-based standards] (nextafterl): Likewise.
28044         [non-C99-based standards] (remainderl): Likewise.
28045         [non-C99-based standards] (rintl): Likewise.
28046         [non-C99-based standards] (scalbl): Likewise.
28047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28048         [non-C99-based standards] (FP_*): Do not allow.
28049         [C99-based standards] (FP_*): Change to
28050         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28051         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28052         allow.
28053         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28054         (SIG_ERR): Likewise.
28055         [X/Open-based standards] (SIG_HOLD): Likewise.
28056         (SIG_IGN): Likewise.
28057         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28058         positive value.
28059         (SIGFPE): Likewise.
28060         (SIGILL): Likewise.
28061         (SIGINT): Likewise.
28062         (SIGSEGV): Likewise.
28063         (SIGTER): Likewise.
28064         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28065         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28066         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28067         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28068         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28069         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28070         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28071         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28072         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28073         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28074         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28075         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28076         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28077         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28078         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28079         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28080         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28081         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28082         [X/Open-based standards] (SIGTRAP): Likewise.
28083         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28084         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28085         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28086         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28087         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28088         allow.
28090 2012-05-08  Ian Wienand  <ianw@vmware.com>
28092         [BZ #14080]
28093         * time/tzset.c (__tzset_parse_tz): Update default rules for
28094         daylight time changes in the Energy Policy Act of 2005.
28096 2012-05-09  Andreas Jaeger  <aj@suse.de>
28098         [BZ #13983]
28099         * elf/ldconfig.c (parse_conf): Change string to make clear that
28100         ldconfig only issued a warning if ld.so.conf does not exist.
28102 2012-05-08  David S. Miller  <davem@davemloft.net>
28104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28105         movxtod instead of popping the value on the stack.
28107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28109 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28111         * config.h.in: Add HAVE_ARM_PCS_VFP.
28113 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28115         [BZ #13979]
28116         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28117         checking but the checks are disabled for any reason.
28119 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28121         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28122         and ELF64_R_TYPE with ELFW(R_TYPE).
28124 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28126         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28127         (ulimit): Likewise.
28129         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28130         (settimeofday): Likewise.
28132 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28134         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28135         a struct th_u2 inside the union, and move tu_block/tu_code into
28136         a new th_u3 union of tu_block/tu_code inside of that.  Move
28137         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28138         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28139         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28140         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28141         (th_stuff): Change to th_u1.tu_stuff.
28142         (th_data): Define.
28143         (th_msg): Change to th_u1.th_u2.tu_data.
28145 2012-05-07  David S. Miller  <davem@davemloft.net>
28147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28149         [BZ #14074]
28150         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28151         (SETUP_PIC_REG): Use it.
28152         (SETUP_PIC_REG_LEAF): Use it.
28154 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28156         [BZ #13885]
28157         [BZ #13923]
28158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28159         USE_AS_EXPM1L.
28160         (EXPL_FINITE): Likewise.
28161         (FLDLOG): Likewise.
28162         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28163         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28164         e_expl.S.
28165         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28166         USE_AS_EXPM1L.
28167         (EXPL_FINITE): Likewise.
28168         (FLDLOG): Likewise.
28169         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28170         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28171         e_expl.S.
28172         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28173         test of -max_value argument for long double.
28174         * sysdeps/i386/fpu/libm-test-ulps: Update.
28175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28177 2012-05-06  David S. Miller  <davem@davemloft.net>
28179         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28180         quad soft-float symbols whose references which are compiler
28181         generated.
28182         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28184 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28186         [BZ #13884]
28187         [BZ #13914]
28188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28189         USE_AS_EXP10L.
28190         (EXPL_FINITE): Likewise.
28191         (FLDLOG): Likewise.
28192         (c0): Likewise.
28193         (c1): Likewise.
28194         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28195         Adjust comments for base varying.
28196         (__expl_finite): Change alias to EXPL_FINITE.
28197         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28198         e_expl.S.
28199         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28200         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28201         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28202         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28204         USE_AS_EXP10L.
28205         (EXPL_FINITE): Likewise.
28206         (FLDLOG): Likewise.
28207         (c0): Likewise.
28208         (c1): Likewise.
28209         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28210         Adjust comments for base varying.
28211         (__expl_finite): Change alias to EXPL_FINITE.
28212         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28213         tests for bugs.
28214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28216         [BZ #14064]
28217         * math/libm-test.inc (check_float_internal): Correct ulp
28218         calculation for subnormal expected results.
28220 2012-05-06  Andreas Jaeger  <aj@suse.de>
28222         * Makeconfig (+math-flags): New, set to -frounding-math.
28223         (+cflags): Add +math-flags so that all of glibc gets compiled with
28224         it.
28226         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28228 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28230         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28231         Disable one test.
28233         [BZ #13787]
28234         [BZ #13922]
28235         [BZ #14036]
28236         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28237         (__ieee754_expl): Allow for and saturate large arguments.
28238         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28239         (u_threshold): Likewise.
28240         (__exp): Call __ieee754_exp before checking for overflow and
28241         underflow.
28242         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28243         (u_threshold): Likewise.
28244         (__expf): Call __ieee754_expf before checking for overflow and
28245         underflow.
28246         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28247         (u_threshold): Likewise.
28248         (__expl): Call __ieee754_expl before checking for overflow and
28249         underflow.
28250         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28251         (__ieee754_expl): Allow for and saturate large arguments.
28252         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28253         missing overflow exception on overflow.
28254         (expm1_test): Do not allow missing overflow exception on overflow.
28256         * sysdeps/i386/fpu/e_expl.c: Move to ...
28257         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28258         rather than using inline asm.
28259         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28260         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28261         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28263         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28264         (nice): Likewise.
28265         (poll): Likewise.
28266         (signal): Likewise.
28267         (time): Likewise.
28268         (times): Likewise.
28270 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28272         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28273         sysdeps/unix/common/syscalls.list.
28274         (fchmod): Likewise.
28275         (fchown): Likewise.
28276         (ftruncate): Likewise.
28277         (getrusage): Likewise.
28278         (gettimeofday): Likewise.
28279         (setpgid): Likewise.
28280         (setregid): Likewise.
28281         (setreuid): Likewise.
28282         (sigaction): Likewise.
28283         (truncate): Likewise.
28284         (vhangup): Likewise.
28285         * sysdeps/unix/common/syscalls.list: Remove file.
28286         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28287         * sysdeps/unix/sysv/linux/Implies: Likewise.
28289 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28291         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28293         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28294         Moved to ...
28295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28296         Here.
28297         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28298         to ...
28299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28300         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28301         to ...
28302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28303         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28304         to ...
28305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28306         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28307         to ...
28308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28309         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28310         to ...
28311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28312         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28313         to ...
28314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28315         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28316         to ...
28317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28318         Here.
28319         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28320         to ...
28321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28322         Here.
28323         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28324         to ...
28325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28326         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28327         Moved to ...
28328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28329         Here.
28330         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28331         to ...
28332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28334 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28336         * sysdeps/unix/common/bits/dirent.h: Remove file.
28337         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28339         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28340         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28341         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28342         * sysdeps/unix/bsd/isatty.c: Likewise.
28343         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28344         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28345         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28347 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28349         [BZ #13563]
28350         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28351         long double comparison inaccuracies.
28352         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28355 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
28357         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28360 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28362         [BZ #14049]
28363         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28364         nonzero digits before rounding a hex value.
28365         * stdlib/tst-strtod.c (tests): Add another test.
28367 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28369         * sysdeps/s390/fpu/libm-test-ulps: Update.
28371 2012-05-03  Andreas Jaeger  <aj@suse.de>
28373         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28374         does not get optimized out.
28375         (malloc_opt_barrier): New.
28377 2012-05-03  Andreas Jaeger  <aj@suse.de>
28378             Roland McGrath  <roland@hack.frob.com>
28380         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28381         intermediate file deletion.
28382         (generated): Add .symlist files.
28384 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
28386         [BZ #13775]
28387         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28388         Redirect under this condition.
28389         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28390         [__USE_GNU] (__dprintf_chk): Not under this condition.
28391         [__USE_GNU] (__vdprintf_chk): Likewise.
28392         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28393         under this condition.
28394         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28395         [__USE_XOPEN2K8] (dprintf): Define under this condition.
28396         [__USE_XOPEN2K8] (vdprintf): Likewise.
28397         [__USE_GNU] (__dprintf_chk): Not under this condition.
28398         [__USE_GNU] (__vdprintf_chk): Likewise.
28399         [__USE_GNU] (dprintf): Likewise.
28400         [__USE_GNU] (vdprintf): Likewise.
28402 2012-05-03  Roland McGrath  <roland@hack.frob.com>
28404         * elf/Makefile (common-generated): Set this instead of generated for
28405         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
28406         $(all-built-dso)-derived lists.
28408 2012-05-03  Andreas Jaeger  <aj@suse.de>
28410         * sysdeps/i386/fpu/libm-test-ulps: Update.
28412         * FAQ: Removed.
28413         * FAQ.in: Likewise.
28414         * scripts/gen-FAQ.pl: Likewise.
28415         * manual/install.texi (Installation): Point to online location of
28416         FAQ.
28417         * Makefile (files-for-dist): Remove FAQ.
28418         (FAQ): Remove.
28420 2012-05-02  Allan McRae  <allan@archlinux.org>
28422         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28423         (LDFLAGS-reldepmod5.so): Likewise.
28424         (LDFLAGS-reldep6mod1.so): Likewise.
28425         (LDFLAGS-reldep6mod4.so): Likewise.
28426         (LDFLAGS-reldep8mod3.so): Likewise.
28427         (LDFLAGS-unload4mod1.so): Likewise.
28428         (LDFLAGS-unload4mod2.so): Likewise.
28429         (LDFLAGS-tst-initorder): Likewise.
28430         (LDFLAGS-tst-initordera2.so): Likewise.
28431         (LDFLAGS-tst-initordera3.so): Likewise.
28432         (LDFLAGS-tst-initordera4.so): Likewise.
28433         (LDFLAGS-tst-initorderb2.so): Likewise.
28434         (LDFLAGS-noload): Likewise.
28435         (LDFLAGS-next): Likewise.
28436         (LDFLAGS-order2mod1.so): Likewise.
28437         (LDFLAGS-order2mod2.so): Likewise.
28438         (LDFLAGS-tst-initorder2): Likewise.
28439         (LDFLAGS-tst-initorder2a.so): Likewise.
28440         (LDFLAGS-tst-initorder2b.so): Likewise.
28441         (LDFLAGS-tst-initorder2c.so): Likewise.
28442         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
28444 2012-05-02  David S. Miller  <davem@davemloft.net>
28446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28448 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28450         [BZ #14055]
28451         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
28453 2012-05-02  Andreas Jaeger  <aj@suse.de>
28455         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
28456         since we manipulate rounding mode.
28457         (CPPFLAGS-test-idouble.c): Likewise.
28458         (CPPFLAGS-test-ifloat.c): Likewise.
28459         (CFLAGS-test-ldouble.c): Likewise.
28460         (CFLAGS-test-double.c): Likewise.
28461         (CFLAGS-test-float.c): Likewise.
28462         (CFLAGS-test-misc.c): Likewise.
28463         (CFLAGS-test-test-fenv.c): Likewise.
28465 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28467         [BZ #2550]
28468         [BZ #2570]
28469         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
28470         comparisons to determine direction to adjust input.
28472 2012-05-01  Roland McGrath  <roland@hack.frob.com>
28474         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
28475         output to the target.
28477         * scripts/localplt.awk: New file.
28478         * elf/Makefile ($(objpfx)check-localplt): Target removed.
28479         (check-localplt-CFLAGS): Variable removed.
28480         ($(all-built-dso:=.jmprel)): New static pattern rule.
28481         (generated): Add those targets.
28482         (localplt-built-dso): New variable.
28483         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
28485         * elf/check-localplt.c: File removed.
28487         * scripts/check-execstack.awk: New file.
28488         * elf/Makefile ($(objpfx)check-execstack): Target removed.
28489         (check-execstack-CFLAGS): Variable removed.
28490         ($(objpfx)check-execstack.h): Target removed.
28491         ($(objpfx)execstack-default): New target.
28492         (generated): Add that instead of check-execstack.h.
28493         ($(all-built-dso:=.phdr)): New static pattern rule.
28494         (generated): Add those targets.
28495         * elf/check-execstack.c: File removed.
28497         * scripts/check-textrel.awk: New file.
28498         * elf/Makefile ($(objpfx)check-textrel): Target removed.
28499         (check-textrel-CFLAGS): Variable removed.
28500         (all-built-dso): Use := to define.o
28501         ($(all-built-dso:=.dyn)): New static pattern rule.
28502         (generated): Add those targets.
28503         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
28504         * config.make.in (READELF): New substituted variable.
28505         * elf/check-textrel.c: File removed.
28507 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28509         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28510         allow.
28511         * conform/data/ctype.h-data [C99-based standards] (isblank):
28512         Expect function.
28513         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
28514         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
28515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28516         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
28517         Specify type.  Require positive value.
28518         (EILSEQ): Likewise.
28519         (ERANGE): Likewise.
28520         [ISO || POSIX] (EILSEQ): Do not expect.
28521         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
28522         Specify type.  Require positive value.
28523         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
28524         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
28525         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
28526         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
28527         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
28528         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
28529         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
28530         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
28531         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
28532         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
28533         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28534         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
28535         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
28536         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
28537         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
28538         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
28539         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
28540         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
28541         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
28542         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
28543         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
28544         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
28545         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
28546         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
28547         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
28548         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
28549         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
28550         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
28551         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
28552         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
28553         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
28554         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
28555         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
28556         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
28557         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
28558         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
28559         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
28560         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
28561         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
28562         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
28563         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
28564         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
28565         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
28566         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
28567         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
28568         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
28569         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
28570         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
28571         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
28572         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
28573         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
28574         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
28575         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
28576         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
28577         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
28578         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
28579         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
28580         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
28581         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
28582         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
28583         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
28584         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
28585         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
28586         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
28587         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
28588         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
28589         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
28590         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
28591         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
28592         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
28593         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
28594         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
28595         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
28596         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
28597         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
28598         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
28599         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
28600         Require >= 2.
28601         (FLT_ROUNDS): Expect as macro, not constant.
28602         (FLT_MANT_DIG): Use macro-int-constant.
28603         (DBL_MANT_DIG): Likewise.
28604         (LDBL_MANT_DIG): Likewise.
28605         (FLT_DIG): Likewise.
28606         (DBL_DIG): Likewise.
28607         (LDBL_DIG): Likewise.
28608         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
28609         (DBL_MIN_EXP): Likewise.
28610         (LDBL_MIN_EXP): Likewise.
28611         (FLT_MAX_EXP): Use macro-int-constant.
28612         (DBL_MAX_EXP): Likewise.
28613         (LDBL_MAX_EXP): Likewise.
28614         (FLT_MAX_10_EXP): Likewise.
28615         (DBL_MAX_10_EXP): Likewise.
28616         (LDBL_MAX_10_EXP): Likewise.
28617         (FLT_MAX): Use macro-constant.
28618         (DBL_MAX): Likewise.
28619         (LDBL_MAX): Likewise.
28620         (FLT_EPSILON): Use macro-constant.  Give upper bound.
28621         (DBL_EPSILON): Likewise.
28622         (LDBL_EPSILON): Likewise.
28623         (FLT_MIN): Likewise.
28624         (DBL_MIN): Likewise.
28625         (LDBL_MIN): Likewise.
28626         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
28627         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
28628         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
28629         [ISO11] (FLT_HAS_SUBNORM): Likewise.
28630         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
28631         [ISO11] (DBL_DECIMAL_DIG): Likewise.
28632         [ISO11] (FLT_DECIMAL_DIG): Likewise.
28633         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
28634         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
28635         [ISO11] (FLT_TRUE_MIN): Likewise.
28636         [ISO11] (LDBL_TRUE_MIN): Likewise.
28637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28638         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
28639         (SCHAR_MIN): Use macro-int-constant.  Specify type.
28640         (SCHAR_MAX): Likewise.
28641         (UCHAR_MAX): Likewise.
28642         (CHAR_MIN): Likewise.
28643         (CHAR_MAX): Likewise.
28644         (MB_LEN_MAX): Use macro-int-constant.
28645         (SHRT_MIN): Use macro-int-constant.  Specify type.
28646         (SHRT_MAX): Likewise.
28647         (USHRT_MAX): Likewise.
28648         (INT_MAX): Likewise.
28649         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
28650         bound negative.
28651         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28652         bound with "U".
28653         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28654         bound with "L".
28655         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
28656         bound negative.  Suffix upper bound with "L".
28657         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28658         bound with "UL".
28659         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
28660         Specify type.
28661         [C99-based standards] (LLONG_MAX): Likewise.
28662         [C99-based standards] (ULLONG_MAX): Likewise.
28663         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
28664         == 0.
28665         [ISO11] (max_align_t): Require type.
28666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28668         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
28669         from $CFLAGS, without defining away __attribute__ calls.
28670         (checknamespace): Use $CFLAGS_namespace.
28672         * conform/conformtest.pl (@keywords): Only include C99 keywords
28673         for standards based on C99 or C11.
28675         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28676         Disable tests.
28677         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28678         UNIX98]: Likewise.
28680         * conform/conformtest.pl: Handle "macro-int-constant" and test for
28681         usability of symbols in #if.
28683         * conform/conformtest.pl: If macro or constant types start
28684         "promoted:", expect the symbol to be of the following type
28685         promoted by the integer promotions.
28687         * conform/conformtest.pl: Parse all "constant" and "macro" lines
28688         in one place.  Also handle "macro-constant".
28690         * conform/conformtest.pl: Only accept expected macro values with
28691         "==".  Parse all "macro" lines in one place.
28692         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28694         * conform/conformtest.pl: Handle braced types on "constant" lines
28695         instead of handling "typed-constant".
28696         * conform/data/signal.h-data: Use "constant" instead of
28697         "typed-constant".
28699         * conform/conformtest.pl: Handle "optional-" at start of lines in
28700         one place rather than duplicating several cases.  Handle each
28701         format of "macro" line with initial "optional-".
28703         * conform/conformtest.pl: Only accept expected constant or
28704         optional-constant values with "==".  Parse all "constant" lines in
28705         one place.  Parse all "optional-constant" lines in one place.
28706         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28707         * conform/data/fmtmsg.h-data: Likewise.
28708         * conform/data/netinet/in.h-data: Likewise.
28709         * conform/data/tar.h-data: Likewise.
28710         * conform/data/limits.h-data: Use "==" form on "constant" and
28711         "optional-constant" lines.
28713         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28714         Use -std=c99 for XOPEN2K.
28715         (@knownproblems): Remove.
28716         (newtoken): Don't check %isknown.
28718         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28719         Do not expect macro.
28720         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28721         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28722         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28723         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28724         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28725         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28726         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28727         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28728         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28729         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28730         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28731         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28732         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28733         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28734         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28735         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28736         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28737         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28738         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28739         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28740         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28741         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28742         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28743         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28744         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28745         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28746         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28747         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28748         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28749         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28750         [XPG3] (acosh): Likewise.
28751         [XPG3] (asinh): Likewise.
28752         [XPG3] (atanh): Likewise.
28753         [XPG3] (cbrt): Likewise.
28754         [XPG3] (expm1): Likewise.
28755         [XPG3] (ilogb): Likewise.
28756         [XPG3] (log1p): Likewise.
28757         [XPG3] (logb): Likewise.
28758         [XPG3] (nextafter): Likewise.
28759         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28760         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28761         [XPG3] (remainder): Likewise.
28762         [XPG3] (rint): Likewise.
28763         [XPG3 || XPG4 || UNIX98] (round): Likewise.
28764         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28765         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28766         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28767         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28768         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28769         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28770         [UNIX98 || XOPEN2K] (scalb): Expect.
28771         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28772         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28773         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28774         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28775         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28776         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28777         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28778         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28779         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28780         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28781         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28782         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28783         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28784         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28785         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28786         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28787         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28788         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28789         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28790         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28791         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28792         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28793         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28794         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28795         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28796         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28797         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28798         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28799         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28800         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28801         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28802         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28803         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28804         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28805         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28806         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28807         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28808         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28809         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28810         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28811         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28812         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28813         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28814         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28815         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28816         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28817         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28818         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28819         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28820         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28821         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28822         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28823         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28824         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28825         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28826         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28827         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28828         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28829         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28830         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28831         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28832         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28833         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28834         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28835         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28836         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28837         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28838         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28839         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28840         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28841         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28842         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28843         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28844         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28845         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28846         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28847         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28848         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28849         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28850         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28851         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28852         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28853         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28854         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28855         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28856         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28857         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28858         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28859         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28860         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28861         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28862         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28863         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28864         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28865         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28866         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28867         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28868         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28869         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28870         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28871         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28872         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28873         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28874         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28875         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28876         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28877         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28878         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28879         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28880         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28881         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28882         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28883         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28884         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28885         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28886         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28887         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28888         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28889         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28890         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28891         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28892         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28893         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28894         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28895         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28896         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28897         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28898         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28899         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28900         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28901         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28902         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28903         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28904         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28905         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28906         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28907         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28909         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28910         _XOPEN_SOURCE_EXTENDED for XPG4.
28912         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28914         * Makeconfig (localtime): Remove variable.
28915         (inst_localtime-file): Likewise.
28917 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28920         Update.
28921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28922         Update.
28923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28924         Update.
28925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28926         Update.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28928         Update.
28929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28930         Update.
28931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28932         Update.
28933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28934         Update.
28935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28936         Update.
28938 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28940         [BZ #2550]
28941         [BZ #2570]
28942         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28943         comparisons to determine direction to adjust input.
28944         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28945         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28946         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28947         Likewise.
28948         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28949         Likewise.
28950         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28951         Likewise.
28952         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28953         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28954         Likewise.
28955         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28956         Likewise.
28957         * math/libm-test.inc (nexttoward_test): Add more tests.
28959 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28961         [BZ #14040]
28962         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28963         in version GLIBC_2.1, not GLIBC_2.0.
28964         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28965         Likewise.
28967 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
28969         [BZ #13942]
28970         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28971         (1 - x) * (1 + x).
28972         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28973         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28974         * math/libm-test.inc (acos_test): Add more tests.
28975         (asin_test): Likewise.
28976         * sysdeps/i386/fpu/libm-test-ulps: Update.
28977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28979         [BZ #14034]
28980         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28981         of square root.
28982         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28983         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28984         * math/libm-test.inc (acos_test_tonearest): New function.
28985         (acos_test_towardzero): Likewise.
28986         (acos_test_downward): Likewise.
28987         (acos_test_upward): Likewise.
28988         (asin_test_tonearest): Likewise.
28989         (asin_test_towardzero): Likewise.
28990         (asin_test_downward): Likewise.
28991         (asin_test_upward): Likewise.
28992         (main): Call the new functions.
28993         * sysdeps/i386/fpu/libm-test-ulps: Update.
28994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28996         [BZ #13884]
28997         [BZ #13924]
28998         * math/e_exp10.c: Include <float.h>.
28999         (__ieee754_exp10): Handle underflow here rather than multiplying
29000         large negative argument by M_LN10.
29001         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29002         of __ieee754_expf.
29003         * math/e_exp10l.c: Include <float.h>.
29004         (__ieee754_exp10l): Handle underflow here rather than multiplying
29005         large negative argument by M_LN10l.
29006         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29007         spurious overflow exception on underflow.
29009 2012-04-29  Marek Polacek  <polacek@redhat.com>
29011         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29012         (__fortify_function): New macro.
29013         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29014         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29015         __extern_always_inline.
29016         * libio/bits/stdio2.h: Likewise.
29017         * libio/bits/stdio.h: Likewise.
29018         * string/string.h: Likewise.
29019         * string/bits/string3.h: Likewise.
29020         * include/stdio.h: Likewise.
29021         * stdlib/bits/stdlib.h: Likewise.
29022         * stdlib/stdlib.h: Likewise.
29023         * rt/bits/mqueue2.h: Likewise.
29024         * rt/mqueue.h: Likewise.
29025         * posix/bits/unistd.h: Likewise.
29026         * posix/unistd.h: Likewise.
29027         * io/bits/poll2.h: Likewise.
29028         * io/bits/fcntl2.h: Likewise.
29029         * io/fcntl.h: Likewise.
29030         * io/sys/poll.h: Likewise.
29031         * misc/bits/syslog.h: Likewise.
29032         * misc/bits/syslog-ldbl.h: Likewise.
29033         * misc/sys/syslog.h: Likewise.
29034         * socket/bits/socket2.h: Likewise.
29035         * socket/sys/socket.h: Likewise.
29036         * debug/tst-chk1.c: Likewise.
29037         * wcsmbs/bits/wchar2.h: Likewise.
29038         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29039         * wcsmbs/wchar.h: Likewise.
29041 2012-04-29  Andreas Jaeger  <aj@suse.de>
29043         * Makerules (tests): Remove enable-check-abi protection.
29044         (check-abi-warn): Remove.
29045         (check-abi-%): Remove check-abi-warn usage.
29047         * configure.in: Remove check-abi configure option.
29048         * configure: Regenerated.
29049         * config.make.in (enable-check-abi): Remove.
29051 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29053         [BZ #14033]
29054         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29055         double functions to double *_finite functions.
29057         [BZ #13941]
29058         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29059         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29060         LDBL_MIN_EXP.
29061         * stdio-common/Makefile (tests): Add tst-sprintf3.
29062         * stdio-common/tst-sprintf3.c: New file.
29064         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29065         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29067 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29069         * conform/conformtest.pl: Remove duplicate typed-constant
29070         handling.
29072 2012-04-28  David S. Miller  <davem@davemloft.net>
29074         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29075         (check-abi-%): Remove AWK script prerequisite and explicit
29076         abilist directory.
29077         (check-abi): Rewrite to just diff the symlist with the abilist.
29078         (config-tls, config-abi-config): Delete, no longer used.
29079         (update-abi-%): Remove AWK script and explicit abilist directory.
29080         (update-abi): Rewrite to simply compare and conditionally copy the
29081         symlist and the sysdep abilist file.  Remove update-abi-config
29082         checks.
29083         * abilist/ld.abilist: Remove.
29084         * abilist/libBrokenLocale.abilist: Remove.
29085         * abilist/libanl.abilist: Remove.
29086         * abilist/libcrypt.abilist: Remove.
29087         * abilist/libdl.abilist: Remove.
29088         * abilist/librt.abilist: Remove.
29089         * abilist/libthread_db.abilist: Remove.
29090         * abilist/libutil.abilist: Remove.
29091         * scripts/extract-abilist.awk: Remove.
29092         * scripts/merge-abilist.awk: Remove.
29093         * sysdeps/generic/libcidn.abilist: New file.
29094         * sysdeps/generic/libnss_compat.abilist: New file.
29095         * sysdeps/generic/libnss_db.abilist: New file.
29096         * sysdeps/generic/libnss_dns.abilist: New file.
29097         * sysdeps/generic/libnss_files.abilist: New file.
29098         * sysdeps/generic/libnss_hesiod.abilist: New file.
29099         * sysdeps/generic/libnss_nis.abilist: New file.
29100         * sysdeps/generic/libnss_nisplus.abilist: New file.
29101         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29102         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29103         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29104         file.
29105         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29106         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29107         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29108         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29109         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29110         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29111         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29112         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29113         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29114         file.
29115         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29116         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29117         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29118         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29119         file.
29120         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29121         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29122         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29123         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29124         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29125         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29126         file.
29127         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29128         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29129         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29130         file.
29131         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29133         New file.
29134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29135         New file.
29136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29137         New file.
29138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29139         New file.
29140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29141         New file.
29142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29143         New file.
29144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29145         New file.
29146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29147         New file.
29148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29149         New file.
29150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29151         New file.
29152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29153         New file.
29154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29155         New file.
29156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29157         New file.
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29159         file.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29161         New file.
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29163         New file.
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29165         file.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29167         New file.
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29169         New file.
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29171         file.
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29173         New file.
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29175         New file.
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29177         New file.
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29179         New file.
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29181         New file.
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29183         New file.
29184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29186         file.
29187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29188         New file.
29189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29190         file.
29191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29192         file.
29193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29194         file.
29195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29196         file.
29197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29198         file.
29199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29200         New file.
29201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29202         file.
29203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29204         file.
29205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29206         New file.
29207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29208         file.
29209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29211         file.
29212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29213         New file.
29214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29215         file.
29216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29217         file.
29218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29219         file.
29220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29221         file.
29222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29223         file.
29224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29225         New file.
29226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29227         file.
29228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29229         file.
29230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29231         New file.
29232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29233         file.
29234         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29235         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29236         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29237         file.
29238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29239         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29240         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29241         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29242         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29243         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29244         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29245         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29246         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29247         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29250         file.
29251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29252         New file.
29253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29254         file.
29255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29256         file.
29257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29258         file.
29259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29260         file.
29261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29262         file.
29263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29264         New file.
29265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29266         New file.
29267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29268         file.
29269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29270         New file.
29271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29272         file.
29273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29275         file.
29276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29277         New file.
29278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29279         file.
29280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29281         file.
29282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29283         file.
29284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29285         file.
29286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29287         file.
29288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29289         New file.
29290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29291         New file.
29292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29293         file.
29294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29295         New file.
29296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29297         file.
29299 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29301         * conform/conformtest.pl: Fix typo in handling typed-constant from
29302         allow-header.
29304 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29306         * README: Cut down references to pre-2.6 Linux kernels and
29307         Linuxthreads.  Update lists of configurations in libc and ports
29308         and sort alphabetically.  Say "or newer" with Linux kernel version
29309         requirements.
29311         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29313 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29315         [BZ #887]
29316         * math/libm-test.inc (logb_test_downward): New test to expose
29317         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29318         rounding mode.
29320 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #14027]
29323         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29324         to be done.
29325         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29326         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29328 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29330         * sysdeps/unix/i386/brk.S: Remove file.
29331         * sysdeps/unix/i386/dl-brk.S: Likewise.
29332         * sysdeps/unix/i386/pipe.S: Likewise.
29333         * sysdeps/unix/i386/sigreturn.S: Likewise.
29334         * sysdeps/unix/i386/syscall.S: Likewise.
29335         * sysdeps/unix/i386/vfork.S: Likewise.
29336         * sysdeps/unix/i386/wait.S: Likewise.
29338         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29339         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29341         * configure.in (arm*-none*): Do not allow without
29342         --enable-hacker-mode.
29343         (netbsd*): Remove case setting base_os.
29344         (386bsd*): Likewise.
29345         (freebsd*): Likewise.
29346         (bsdi*): Likewise.
29347         (osf*): Likewise.
29348         (sunos*): Likewise.
29349         (ultrix*): Likewise.
29350         (newsos*): Likewise.
29351         (dynix*): Likewise.
29352         (*bsd*): Likewise.
29353         (sysv*): Likewise.
29354         (isc*): Likewise.
29355         (esix*): Likewise.
29356         (sco*): Likewise.
29357         (minix*): Likewise.
29358         (irix4*): Likewise.
29359         (irix6*): Likewise.
29360         (solaris[2-9]*): Likewise.
29361         (none): Likewise.
29362         * configure: Regenerated.
29364 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29366         [BZ #11521]
29367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29368         overflow or cancellation in calculating denominator.
29369         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29371         down expression to avoid unexpected rounding in newer GCCs.
29372         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29374 2012-04-26  David S. Miller  <davem@davemloft.net>
29376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29377         long-double compat symbols.
29378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29392 2012-04-25  David S. Miller  <davem@davemloft.net>
29394         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29395         HWCAP_* values only after the memory barriers have been defined.
29396         (atomic_full_barrier): Define.
29397         (atomic_read_barrier): Define.
29398         (atomic_write_barrier): Define.
29400 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29402         * shlib-versions: Add libgcc_s version information.
29403         * sysdeps/generic/libgcc_s.h: Remove.
29404         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29405         libgcc_s.h.
29406         * sysdeps/gnu/unwind-resume.c: Likewise.
29407         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29409 2012-04-25  David S. Miller  <davem@davemloft.net>
29411         * sysdeps/unix/sparc/brk.S: Delete.
29412         * sysdeps/unix/sparc/dl-brk.S: Delete.
29413         * sysdeps/unix/sparc/pipe.S: Delete.
29414         * sysdeps/unix/sparc/sysdep.S: Delete.
29415         * sysdeps/unix/sparc/sysdep.h: Delete.
29416         * sysdeps/unix/sparc/vfork.S: Delete.
29417         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29418         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29419         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29420         ret_ERRVAL, r0, r1, MOVE): Define.
29421         (JUMPTARGET): Remove.
29422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29423         sysdeps/unix/sparc/sysdep.h
29424         (ENTRY, END): Remove.
29425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29427 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
29429         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29430         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29431         -DIS_IN_build.
29433         * timezone/README: Update upstream location and email address for
29434         tzcode and tzdata.
29435         * timezone/zdump.c: Update from tzcode 2012b.
29436         * timezone/zic.c: Likewise.
29438         * configure.in (libc_cv_as_needed): Remove test.
29439         * configure: Regenerated.
29440         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29441         conditional definition.
29442         [$(have-as-needed) != yes] (no-as-needed): Likewise.
29443         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
29444         * config.make.in (have-as-needed): Remove variable.
29446 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29447             Paul Pluzhnikov  <ppluzhnikov@google.com>
29449         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
29450         strings correctly.
29452 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
29454         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
29455         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
29456         * sysdeps/sh/strlen.S: Likewise.
29458 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29460         * sysdeps/unix/fork.S: Remove file.
29461         * sysdeps/unix/i386/fork.S: Likewise.
29462         * sysdeps/unix/sparc/fork.S: Likewise.
29464         * sysdeps/unix/system.c: Remove file.
29465         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
29467         * sysdeps/unix/getegid.S: Remove file.
29468         * sysdeps/unix/geteuid.S: Likewise.
29470 2012-04-24  Roland McGrath  <roland@hack.frob.com>
29472         * scripts/check-localplt.awk: New file.
29473         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
29474         of diff.
29475         * scripts/data/localplt-generic.data: Add a comment.
29477         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
29478         NODE when __dir_mkfile failed.
29479         * sysdeps/mach/hurd/symlinkat.c: Likewise.
29480         Reported by Ludovic Courtès <ludo@gnu.org>.
29482 2012-04-24  Andreas Jaeger  <aj@suse.de>
29484         * Makerules (common-clean): Also remove gen-as-const-headers
29485         files.
29487 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29489         * Makerules (native-compile): Do not change working directory for
29490         build.  Use $(OUTPUT_OPTION) in command.
29491         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29493 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29495         [BZ #13886]
29496         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
29497         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29498         * math/libm-test.inc (floor_test): Add more tests.
29499         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
29501 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29503         * sysdeps/unix/getdents.c: Remove file.
29504         * sysdeps/unix/sysv/getdents.c: Likewise.
29505         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
29507         * sysdeps/unix/syscalls.list (madvise): Add syscall from
29508         sysdeps/unix/mman/syscalls.list.
29509         (mmap): Likewise.
29510         (mprotect): Likewise.
29511         (msync): Likewise.
29512         (munmap): Likewise.
29513         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
29514         * sysdeps/unix/mman/syscalls.list: Remove.
29515         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
29517         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
29518         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
29519         * configure: Regenerated.
29520         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29521         $(libgcc_s_suffix).
29522         * config.make.in (libgcc_s_suffix): Remove variable.
29524 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
29526         * sysdeps/unix/sysv/gethostname.c: Move to ...
29527         * sysdeps/posix/gethostname.c: ... here.
29529         * sysdeps/unix/execve.S: Remove file.
29531         * sysdeps/unix/_exit.S: Remove file.
29533 2012-04-23  Andreas Jaeger  <aj@suse.de>
29535         [BZ #13739]
29536         * manual/Makefile: Remove make dist support, there's no
29537         need for a stand-alone documentation tar ball.
29538         (TEXI2DVI): Define always, it's not in Makeconfig.
29539         (dist): Removed.
29540         (tar-it): Removed.
29541         (edition): Removed.
29542         (glibc-doc-$(edition).tar): Removed
29543         (%.Z): Removed.
29544         (%.gz): Removed.
29545         (%.uu): Removed.
29546         (ETAGS): Remove, it's in Makeconfig.
29547         (move-if-change): Remove, it's in Makeconfig.
29549 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
29551         [BZ #13970]
29552         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
29553         (strtod, strtof, strtold, strtol, strtoul, strtoq)
29554         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
29555         (strtod_l, strtof_l, strtold_l): Remove __wur.
29556         It is not necessarily an error to ignore strtol's return value.
29557         One can reliably look at the stored endptr to decide whether
29558         the number had valid syntax.
29560 2012-04-21  Andreas Jaeger  <aj@suse.de>
29562         [BZ #13739]
29563         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
29565 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
29567         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
29568         * sysdeps/unix/sysv/Versions: Remove file.
29570 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
29572         [BZ #13927]
29573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29575 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
29577         [BZ #7064]
29578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
29579         version from __vm86.
29581 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
29583         * sysdeps/unix/common/lxstat.c: Remove file.
29584         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
29586         * sysdeps/unix/sysv/Makefile: Remove file.
29588         * sysdeps/unix/sysv/direct.h: Remove file.
29590         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
29591         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
29592         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
29593         * sysdeps/unix/sysv/bits/signum.h: Likewise.
29594         * sysdeps/unix/sysv/bits/stat.h: Likewise.
29595         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
29596         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
29598         * sysdeps/unix/sysv/setrlimit.c: Remove file.
29600         * sysdeps/unix/xmknod.c: Remove file.
29601         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
29603         * sysdeps/unix/sysv/settimeofday.c: Remove file.
29605         * sysdeps/unix/sysv/i386/time.S: Remove file.
29607         * sysdeps/unix/fxstat.c: Remove file.
29608         * sysdeps/unix/xstat.c: Likewise.
29609         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
29611         * sysdeps/unix/sysv/sigaction.c: Remove file.
29613         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
29614         (sysdep_headers): Remove variable.
29615         [termio.h not in sysdep_headers] (generated): Likewise.
29616         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
29617         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
29618         * sysdeps/unix/sysv/tcdrain.c: Likewise.
29619         * sysdeps/unix/sysv/tcflow.c: Likewise.
29620         * sysdeps/unix/sysv/tcflush.c: Likewise.
29621         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
29622         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
29623         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
29624         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
29625         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
29627         * sysdeps/unix/siglist.c: Remove file.
29629         * sysdeps/unix/getppid.S: Remove file.
29631         * sysdeps/unix/mkdir.c: Remove file.
29632         * sysdeps/unix/rmdir.c: Likewise.
29634 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
29636         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
29637         ERR_MAX value.
29638         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
29639         errlist-compat value.
29641 2012-04-18  David S. Miller  <davem@davemloft.net>
29643         * sysdeps/generic/memcopy.h (reg_char): Delete.
29644         * debug/strcat_chk.c: Use char, not reg_char.
29645         * debug/strcpy_chk.c: Likewise.
29646         * debug/strncat_chk.c: Likewise.
29647         * debug/strncpy_chk.c: Likewise.
29648         * string/memchr.c: Likewise.
29649         * string/memrchr.c: Likewise.
29650         * string/rawmemchr.c: Likewise.
29651         * string/strcat.c: Likewise.
29652         * string/strchr.c: Likewise.
29653         * string/strchrnul.c: Likewise.
29654         * string/strcmp.c: Likewise.
29655         * string/strcpy.c: Likewise.
29656         * string/strncat.c: Likewise.
29657         * string/strncmp.c: Likewise.
29658         * string/strncpy.c: Likewise.
29660 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29662         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
29663         __builtin_memcopy is called when src and dest ranges are known to not
29664         overlap.
29666 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29668         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29669         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
29670         fwd_align_merge macro call.
29671         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
29672         bwd_align_merge macro call.
29673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29675 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29677         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29678         bwd_align_merge macros.
29679         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29680         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29681         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29683 2012-04-18  David S. Miller  <davem@davemloft.net>
29685         * sysdeps/sparc/sparc64/memcopy.h: Delete.
29687 2012-04-18  Andreas Jaeger  <aj@suse.de>
29689         [BZ# 6794]
29690         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29691         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29692         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29694         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29695         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29696         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29698         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29699         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29700         Adjust for changed ldbl-128 files.
29702         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29703         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29704         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29706 2012-04-17  David S. Miller  <davem@davemloft.net>
29708         * sysdeps/sparc/sparc32/memcopy.h: Delete.
29710 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
29712         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29713         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29714         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29715         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29716         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29717         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29719 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29721         [BZ #6794]
29722         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29723         * math/libm-test.inc: Add ilogb errno and exception tests.
29724         * math/w_ilogb.c: New file: ilogb wrapper.
29725         * math/w_ilogbf.c: New file: ilogbf wrapper.
29726         * math/w_ilogbl.c: New file: ilogbl wrapper.
29727         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29728         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29729         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29730         exception being thrown with 0.0 as argument.
29731         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29732         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29733         exception being thrown with 0.0 as argument.
29734         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29735         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29736         exception being thrown with 0.0 as argument.
29737         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29738         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29739         exception being thrown with 0.0 as argument.
29740         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29741         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29742         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29743         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29744         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29745         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29746         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29747         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29748         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29750 2012-04-17  Petr Baudis  <pasky@ucw.cz>
29752         * include/sys/uio.h: Change __vector to __iovec to avoid clash
29753         with altivec.
29755 2012-04-16  Marek Polacek  <polacek@redhat.com>
29757         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29759 2012-04-16  Marek Polacek  <polacek@redhat.com>
29761         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29762         operands of fdivp instruction.
29764 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29766         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29767         * elf/tst-auditmod3b.c: Likewise.
29768         * elf/tst-auditmod4b.c: Likewise.
29769         * elf/tst-auditmod5b.c: Likewise.
29770         * elf/tst-auditmod6b.c: Likewise.
29771         * elf/tst-auditmod6c.c: Likewise.
29772         * elf/tst-auditmod7b.c: Likewise.
29773         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29774         * sysdeps/x86_64/preconfigure.in: Likewise.
29775         * sysdeps/x86_64/preconfigure: Regenerated.
29777 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29779         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29780         __ILP32__.
29782 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
29784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29785         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29787 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
29789         [BZ #13973]
29790         * locale/iso-639.def: Fix gl language name. Spotted by
29791         Yaron Shahrabani.
29793 2012-04-12  Roland McGrath  <roland@hack.frob.com>
29795         [BZ #2074]
29796         * libio/libio.h (__io_write_fn): Update comment.
29798 2012-04-12  Petr Baudis  <pasky@ucw.cz>
29800         [BZ #2074]
29801         * stdio.texi (Hook Functions): The user provided writer function
29802         is not allowed to return -1.
29804 2012-04-11  David S. Miller  <davem@davemloft.net>
29806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29808 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
29810         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29811         Add a leading slash to rtkaio.
29813 2012-04-11  Jim Meyering  <meyering@redhat.com>
29815         [BZ #11959]
29816         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29817         It is not necessarily an error to ignore fwrite's return
29818         value.  One can reliably use ferror to test for errors after
29819         the fact.
29821 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29823         * bits/types.h (__snseconds_t): New type.
29824         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29826         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29828         (__SNSECONDS_T_TYPE): Likewise.
29829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29830         (__SNSECONDS_T_TYPE): Likewise.
29831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29832         (__SNSECONDS_T_TYPE): Likewise.
29834 2012-04-10  Andreas Jaeger  <aj@suse.de>
29836         [BZ #2636]
29837         * manual/time.texi (Processor Time): Return type of times is
29838         elapsed real time since an arbitrary point in the past.
29839         (CPU Time): Move CLK_TCK from here...
29840         (Processor Time): ...to here.  Correct description.
29841         * manual/conf.texi (Constants for Sysconf): Correct description of
29842         _SC_CLK_TCK.
29844 2012-04-10  David S. Miller  <davem@davemloft.net>
29846         [BZ #13967]
29847         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29848         where the is a gap between DT_REL(A) and DT_JMPREL.
29850 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29852         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29853         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29854         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29856 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29858         * elf/dl-support.c (_dl_inhibit_cache): New variable.
29859         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29860         (dl_main): Handle --inhibit-cache.
29861         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29862         _dl_inhibit_cache.
29863         * elf/dl-load.c (_dl_map_object): Use it.
29864         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29866 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29868         [BZ #13872]
29869         * sysdeps/i386/fpu/e_powl.S (p78): New object.
29870         (__ieee754_powl): Saturate large exponents rather than testing for
29871         overflow of y*log2(x).
29872         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29873         * math/libm-test.inc (pow_test): Do not permit spurious overflow
29874         exceptions.
29876         [BZ #11521]
29877         * math/s_ctan.c: Include <float.h>.
29878         (__ctan): Avoid internal overflow or cancellation in calculating
29879         denominator.
29880         * math/s_ctanf.c: Likewise.
29881         * math/s_ctanl.c: Likewise.
29882         * math/s_ctanh.c: Likewise.
29883         * math/s_ctanhf.c: Likewise.
29884         * math/s_ctanhl.c: Likewise.
29885         * math/libm-test.inc (ctan_test): Add more tests.
29886         (ctanh_test): Likewise.
29887         * sysdeps/i386/fpu/libm-test-ulps: Update.
29888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29890 2012-04-09  Andreas Jaeger  <aj@suse.de>
29892         [BZ #6894]
29893         * manual/filesys.texi (Directory Entries): Mention that d_namlen
29894         is an optional BSD extension.
29896         [BZ #10254]
29897         * manual/stdio.texi (Opening Streams): Document additional fopen
29898         parameters.
29900 2012-04-09  Roland McGrath  <roland@hack.frob.com>
29902         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29903         %eax without telling the compiler.
29905 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
29907         [BZ # 13963]
29908         * manual/install.texi: Use sourceware.org.
29910 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29912         [BZ #13873]
29913         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29914         (__ieee754_pow): Generate overflow and underflow using huge*huge
29915         and tiny*tiny rather than just returning constant infinity or zero
29916         for large exponents.
29917         * math/libm-test.inc (pow_test): Require overflow exceptions for
29918         applicable cases of large exponents.
29920         [BZ #706]
29921         * sysdeps/i386/fpu/e_pow.S (p10): New object.
29922         (__ieee754_pow): Use iterative multiplication algorithm only for
29923         integer exponents with absolute value below 1024.  Check for odd
29924         integer exponents when using algorithm for real exponents.
29925         * math/libm-test.inc (pow_test): Add more tests.
29926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29928 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
29930         [BZ #13705]
29931         * math/libm-test.inc (exp_test): Do not allow overflow exception
29932         on underflow test.
29934 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
29936         [BZ #13705]
29937         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29938         instead of __kernel_standard_f.
29940 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
29942         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29943         * sysdeps/x86_64/memset_chk.S: Likewise.
29945 2012-04-08  Andreas Jaeger  <aj@suse.de>
29947         [BZ #10153]
29948         * manual/startup.texi (Environment Access): Describe return value
29949         for putenv and setenv.
29951         [BZ #6895]
29952         * manual/filesys.texi (Directory Entries): Add description for
29953         DT_LNK.
29955         [BZ #6890]
29956         * manual/filesys.texi (Directory Entries): Clarify that it's file
29957         system not operating system in the description of DT_UNKNOWN.
29959         [BZ #6578]
29960         * manual/syslog.texi (closelog): Fix reference, it's openlog.
29962 2012-04-08  Stephen Compall  <s11@member.fsf.org>
29964         [BZ #6649]
29965         * manual/llio.texi (Opening and Closing Files): Add cross
29966         reference to explain mode argument.
29968 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
29970         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29971         * sysdeps/x86_64/memset_chk.S: Likewise.
29973 2012-04-07  David S. Miller  <davem@davemloft.net>
29975         * elf/elf.h (R_SPARC_WDISP10): Define.
29976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29977         R_SPARC_SIZE32.
29978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29979         R_SPARC_SIZE64 and R_SPARC_H34.
29981 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
29983         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29984         conditions and remove no longer applicable assertion.
29986 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29988         * bits/byteswap.h: Include <features.h>.
29989         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29990         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29992 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29994         * bits/byteswap.h (__bswap_16): Removed.
29995         Include <bits/byteswap-16.h> to get __bswap_16.
29996         * sysdeps/i386/bits/byteswap.h: Likewise.
29997         * sysdeps/s390/bits/byteswap.h: Likewise.
29998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29999         * bits/byteswap-16.h: New file.
30000         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30001         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30002         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30003         * string/Makefile (headers): Add bits/byteswap-16.h.
30005 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30007         [BZ #13895]
30008         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30009         extra indirection.
30010         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30011         * nss/tst-nss-static.c: New.
30013 2012-04-06  Robert Millan  <rmh@gnu.org>
30015         [BZ #6486]
30016         * manual/llio.texi (File Position Primitive): lseek
30017         refers to WHENCE when it really means OFFSET.
30019 2012-04-06  Andreas Jaeger  <aj@suse.de>
30021         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30022         strncmp declarations.
30024         * abilist/libc.abilist: Add __poll and __ppoll.
30026 2012-04-05  David S. Miller  <davem@davemloft.net>
30028         * scripts/check-local-headers.sh: Accept a host triplet in the
30029         path matched by the exclude regexp.
30031         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30032         definition.
30033         * sysdeps/powerpc/powerpc32/dl-machine.h
30034         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30035         * sysdeps/s390/s390-32/dl-machine.h
30036         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30037         * sysdeps/sparc/sparc32/dl-machine.h
30038         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30039         * sysdeps/sparc/sparc64/dl-machine.h
30040         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30042         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30043         lazy binding.
30044         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30045         undefined symbol errors.
30047         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30048         DT_NEEDED entries.
30050 2012-04-05  Michael Matz  <matz@suse.de>
30052         [BZ #13592]
30053         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30055 2012-04-05  Andreas Jaeger  <aj@suse.de>
30057         [BZ #13908]
30058         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30059         comment.
30061 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30063         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30064         which ROUND is no valid rounding mode.
30066 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30068         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30069         read again.
30070         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30074         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30075         an exception using FPU order intentionally.
30077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30079         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30080         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30081         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30082         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30084 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30086         [BZ #12340]
30087         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30088         EINVAL when BUFLEN is too smal.
30090 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30092         [BZ #13553]
30093         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30094         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30096 2012-04-03  Andreas Jaeger  <aj@suse.de>
30098         [BZ #13938]
30099         * manual/setjmp.texi (System V contexts): Fix sentence.
30101         [BZ #13926]
30102         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30103         New macro for this case.
30104         [!__GNUC__] (__bswap_64): New inline function for this case.
30105         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30106         * bits/byteswap.h: Likewise.
30107         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30108         ull, guard with __GLIBC_HAVE_LONG_LONG.
30110         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30111         __GLIBC_HAVE_LONG_LONG.
30113         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30114         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30116 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30118         [BZ #13691]
30119         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30120         inptr and inend, rather than using last_ch.
30122 2012-04-02  David S. Miller  <davem@davemloft.net>
30124         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30125         * stdio-common/printf-parse.h (read_int): Change return type to
30126         'int', return -1 on INT_MAX overflow.
30127         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30128         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30129         overflows INT_MAX.  Check for overflow of in-format-string precision
30130         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30131         SIZE_MAX not INT_MAX for integer overflow test.
30132         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30133         skip the construct in the format string but do not record anything.
30134         * stdio-common/bug22.c: Adjust to test both width/prevision
30135         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30136         explicitly for proper errno values.
30138 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30140         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30141         CHAR_MAX.
30142         * string/test-strcmp.c [! WIDE]: Likewise.
30143         * time/tst-mktime2.c: Likewise for INT_MAX.
30144         * string/test-string.h: #include <sys/param.h> for MIN.
30146         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30147         * sysdeps/i386/init-first.c (init): Likewise.
30148         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30149         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30150         * sysdeps/sh/init-first.c (init): Likewise.
30152 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30154         * po/ru.po: Update from translation team.
30155         * po/vi.po: Likewise.
30157 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159         * resolv/nss_dns/dns-host.c: Merge copyright years.
30161 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30163         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30164         Optimize memcpy with prefetch if
30165         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30166         src, dst pointers have unequal 16 byte alignments.
30168 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30170         [BZ #13928]
30171         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30172         from a CNAME entry and return the minimum ttl for the query.
30173         (gaih_getanswer_slice): Likewise.
30175 2012-03-30  Jeff Law  <law@redhat.com>
30177         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30178         due to long keys.
30179         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30180         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30182         * resolv/nss_dns/dns-host.c: Update copyright year.
30184 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30186         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30187         requests to save a system call.  Fix check that all bytes are sent.
30189         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30190         comments for sendmmsg.
30192 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30194         [BZ #13691]
30195         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30196         with only 1 character between 0x0041 and 0x01b0.
30197         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30198         * wcsmbs/tst-mbsnrtowcs.c: New file.
30200 2012-03-29  David S. Miller  <davem@davemloft.net>
30202         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30203         small copies by hand.
30205 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30207         [BZ #13761]
30208         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30209         _nss_compat_initgroups_dyn): Fall back to malloc/free
30210         for large group memberships.
30212 2012-03-28  David S. Miller  <davem@davemloft.net>
30214         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30215         that branches into memcpy.
30216         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30219         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30221         bits.
30222         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30223         implementation too.
30224         * sysdeps/sparc/mempcpy.S: New file.
30226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30227         the IFUNC routine in the libc case.
30228         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30230         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30231         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30232         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30233         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30234         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30235         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30236         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30237         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30239         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30240         loop to 256 bytes instead of 64 bytes and fix test signedness.
30242         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30243         * sysdeps/sparc/sparc32/Makefile: rather than here...
30244         * sysdeps/sparc/sparc64/Makefile: and here.
30246 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30248         * malloc/mallocbug.c: Avoid warnings about unused variables.
30250 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252         [BZ #13760]
30253         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30254         in the right place. Discard and retry query if response is
30255         larger than input buffer size.
30257 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30259         [BZ #369]
30260         [BZ #2678]
30261         [BZ #3866]
30262         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30263         x for large integer exponent.
30264         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30265         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30266         sign of result as needed afterwards.
30267         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30268         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30269         result for underflowing pow the same as for overflow.
30270         (__kernel_standard_l): Handle powl overflow and underflow here
30271         rather than calling __kernel_standard.
30272         * math/libm-test.inc (pow_test): Add more tests.
30274         [BZ #3868]
30275         [BZ #13879]
30276         [BZ #13910]
30277         [BZ #13911]
30278         [BZ #13912]
30279         [BZ #13913]
30280         [BZ #13915]
30281         [BZ #13916]
30282         [BZ #13917]
30283         [BZ #13918]
30284         [BZ #13919]
30285         [BZ #13920]
30286         [BZ #13921]
30287         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30288         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30289         (__kernel_standard_l): New function.
30290         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30291         __kernel_standard.
30292         * math/w_acosl.c (__acosl): Likewise.
30293         * math/w_asinl.c (__asinl): Likewise.
30294         * math/w_atan2l.c (__atan2l): Likewise.
30295         * math/w_atanhl.c (__atanhl): Likewise.
30296         * math/w_coshl.c (__coshl): Likewise.
30297         * math/w_exp10l.c (__exp10l): Likewise.
30298         * math/w_exp2l.c (__exp2l): Likewise.
30299         * math/w_fmodl.c (__fmodl): Likewise.
30300         * math/w_hypotl.c (__hypotl): Likewise.
30301         * math/w_j0l.c (__j0l, __y0l): Likewise.
30302         * math/w_j1l.c (__j1l, __y1l): Likewise.
30303         * math/w_jnl.c (__jnl, __ynl): Likewise.
30304         * math/w_lgammal.c (__lgammal): Likewise.
30305         * math/w_log10l.c (__log10l): Likewise.
30306         * math/w_log2l.c (__log2l): Likewise.
30307         * math/w_logl.c (__logl): Likewise.
30308         * math/w_powl.c (__powl): Likewise.
30309         * math/w_remainderl.c (__remainderl): Likewise.
30310         * math/w_scalbl.c (sysv_scalbl): Likewise.
30311         * math/w_sinhl.c (__sinhl): Likewise.
30312         * math/w_sqrtl.c (__sqrtl): Likewise.
30313         * math/w_tgammal.c (__tgammal): Likewise.
30314         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30315         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30316         * math/libm-test.inc (acos_test): Add more tests.
30317         (acosh_test): Likewise.
30318         (asin_test): Likewise.
30319         (atanh_test): Likewise.
30320         (exp_test): Likewise.
30321         (exp10_test): Likewise.
30322         (exp2_test): Likewise.
30323         (expm1_test): Likewise.
30324         (lgamma_test): Likewise.
30325         (log_test): Likewise.
30326         (log10_test): Likewise.
30327         (log1p_test): Likewise.
30328         (log2_test): Likewise.
30329         (pow_test): Do not allow some spurious overflow exceptions.
30330         (sqrt_test): Add more tests.
30331         (tgamma_test): Likewise.
30332         (y0_test): Likewise.
30333         (y1_test): Likewise.
30334         (yn_test): Likewise.
30336 2012-03-27  Anton Blanchard  <anton@samba.org>
30338         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30339         MAP_HUGETLB.
30340         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30341         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30342         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30344 2012-03-27  David S. Miller  <davem@davemloft.net>
30346         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30348         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30349         have-as-vis3 check.
30351 2012-03-27  Andreas Jaeger  <aj@suse.de>
30353         * sysdeps/x86_64/elf/configure.in: Moved to ...
30354         * sysdeps/x86_64/configure.in: ... here.
30355         * sysdeps/x86_64/elf/start.S: Moved to ...
30356         * sysdeps/x86_64/start.S: ... here.
30357         * sysdeps/x86_64/elf/configure: Delete.
30359         * sysdeps/x86_64/configure.in: Merge contents from
30360         sysdeps/i386/configure.in (without i686 check).
30362         * sysdeps/i386/elf/Versions: Merge into ...
30363         * sysdeps/i386/Versions: ... this.
30364         * sysdeps/i386/elf/Versions: Delete file.
30365         * sysdeps/i386/elf/start.S: Moved to ...
30366         * sysdeps/i386/start.S: ...here.
30367         * sysdeps/i386/elf/configure.in: Merge into...
30368         * sysdeps/i386/configure.in: ...here.
30369         * sysdeps/i386/elf/configure.in: Delete file.
30370         * sysdeps/i386/elf/configure: Delete file.
30372         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30373         * debug/backtracesyms.c: ... here.
30374         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30375         * debug/backtracesymsfd.c: ... here.
30376         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30377         * sysdeps/generic/ifunc-sel.h: ... here.
30379         * sysdeps/unix/i386/start.c: Delete file.
30380         * sysdeps/unix/sparc/start.c: Delete file.
30381         * sysdeps/unix/start.c: Delete file.
30383         * sysdeps/sh/elf/configure.in: Moved to ...
30384         * sysdeps/sh/configure.in: ... here.
30385         * sysdeps/sh/elf/start.S: Moved to ...
30386         * sysdeps/sh/start.S: ... here.
30387         * sysdeps/sh/elf/configure: Delete file.
30389         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30390         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30391         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30392         * sysdeps/powerpc/powerpc64/entry.h: ... here.
30393         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30394         * sysdeps/powerpc/powerpc64/start.S: here.
30395         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30396         * sysdeps/powerpc/powerpc64/Makefile: ... this.
30397         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30398         * sysdeps/powerpc/powerpc64/configure.in: ... this.
30399         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30401         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30402         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30403         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30404         * sysdeps/powerpc/powerpc32/start.S: ... here.
30405         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30406         * sysdeps/powerpc/powerpc32/configure.in: ... this.
30407         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30409         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30410         * sysdeps/powerpc/ifunc-sel.h: ... here.
30411         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30412         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30414         * sysdeps/sparc/elf/configure.in: Moved to ...
30415         * sysdeps/sparc/configure.in: ... here.
30416         * sysdeps/sparc/elf/configure: Delete file.
30417         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30418         * sysdeps/sparc/sparc32/start.S: ... here.
30419         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30420         * sysdeps/sparc/sparc64/start.S: ... here.
30421         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30422         * sysdeps/sparc/sparc32/Makefile: ... this.
30423         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30424         * sysdeps/sparc/sparc64/Makefile: ... this.
30426         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30427         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30428         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30429         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30430         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30431         * sysdeps/s390/s390-32/setjmp.S: ... here.
30432         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30433         * sysdeps/s390/s390-32/configure.in: ... here.
30434         * sysdeps/s390/s390-32/elf/configure: Delete file.
30435         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30436         * sysdeps/s390/s390-32/start.S: ... here.
30438         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30439         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30440         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30441         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30442         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
30443         * sysdeps/s390/s390-64/setjmp.S: ... here.
30444         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
30445         * sysdeps/s390/s390-64/configure.in: ... here
30446         * sysdeps/s390/s390-64/elf/configure: Delete file.
30447         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
30448         * sysdeps/s390/s390-64/start.S: ... here.
30449         * sysdeps/s390/s390-64/elf/configure: Delete.
30451         * configure.in: Remove support for elf directories in sysdeps.
30453         * configure: Regenerated.
30454         * sysdeps/i386/configure: Regenerated.
30455         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30456         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30457         * sysdeps/s390/s390-32/configure: Regenerated.
30458         * sysdeps/s390/s390-64/configure: Regenerated.
30459         * sysdeps/sh/configure: Regenerated.
30460         * sysdeps/sparc/configure: Regenerated.
30461         * sysdeps/x86_64/configure: Regenerated.
30463 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
30465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
30468         denormal result into account.
30470 2012-03-25  Roland McGrath  <roland@hack.frob.com>
30472         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
30473         Reported by Allan McRae <allan@archlinux.org>.
30475 2012-03-23  Jeff Law  <law@redhat.com>
30477         * nss/getnssent.c (__nss_getent): Fix typo.
30479 2012-03-23  David S. Miller  <davem@davemloft.net>
30481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30483 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
30485         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
30486         to pad to uint64_t for each field.
30487         (dl_tls_index): Replace unsigned long with uint64_t.
30489 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
30490         Paul Pluzhnikov  <ppluzhnikov@google.com>
30492         [BZ #6528]
30493         * grp/Makefile (otherlibs): Don't set it.
30494         * inet/Makefile (otherlibs): Likewise.
30495         * login/Makefile (otherlibs): Likewise.
30496         * nscd/Makefile (otherlibs): Likewise.
30497         * posix/Makefile (otherlibs): Likewise.
30498         * pwd/Makefile (otherlibs): Likewise.
30499         * rt/Makefile (otherlibs): Likewise.
30500         * sunrpc/Makefile (otherlibs): Likewise.
30501         * nss/Makefile (otherlibs): Likewise.
30502         Add libnss_files to routines and static-only-routines.
30503         ($(objpfx)getent): Remove rule.
30504         * resolv/Makefile: Add libnss_dns and libresolv to routines and
30505         static-only-routines.
30507 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30509         [BZ #13892]
30510         * math/s_cexp.c: Include <float.h>.
30511         (__cexp): Handle exp result overflowing not necessarily
30512         overflowing both real and imaginary parts of result.
30513         * math/s_cexpf.c: Likewise.
30514         * math/s_cexpl.c: Likewise.
30515         * math/libm-test.inc (cexp_test): Add more tests.
30516         * sysdeps/i386/fpu/libm-test-ulps: Update.
30517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30519 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30521         * include/link.h (ELFW): New macro.
30522         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
30523         Replace ELF64_R_TYPE with ELFW(R_TYPE).
30525 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30527         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
30528         with uint64_t.
30530 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30532         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
30533         declaration.
30534         (struct La_x32_retval): Likewise.
30536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30538         * sysdeps/x86_64/preconfigure.in: New file.
30539         * sysdeps/x86_64/preconfigure: New generated file.
30541 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30543         [BZ #13824]
30544         * math/e_exp2l.c: Include <float.h>.
30545         (__ieee754_exp2l): Handle overflow and underflow cases
30546         separately.  Only pass fractional part of argument to
30547         __ieee754_expl.
30548         * math/libm-test.inc (exp2_test): Add more tests.
30550         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
30551         negating x to take absolute value.
30552         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30553         Likewise.
30554         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30555         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30556         Likewise.
30557         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
30558         computing low part if x was negated.
30559         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30561 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30563         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
30564         la_x32_gnu_pltexit.
30565         (pltexit): Cast int_retval to ptrdiff_t.
30566         * elf/tst-auditmod3b.c: Likewise.
30567         * elf/tst-auditmod4b.c: Likewise.
30568         * elf/tst-auditmod5b.c: Likewise.
30569         * elf/tst-auditmod6b.c: Likewise.
30570         * elf/tst-auditmod6c.c: Likewise.
30571         * elf/tst-auditmod7b.c: Likewise.
30573         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
30574         and x32_gnu_pltexit.
30576         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
30577         __ELF_NATIVE_CLASS.
30578         (La_x32_regs): New macro.
30579         (La_x32_retval): Likewise.
30580         (la_x32_gnu_pltenter): New function prototype.
30581         (la_x32_gnu_pltexit): Likewise.
30583 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
30585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
30586         exponent.
30588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30590         * configure.in (libc_cv_cc_nofma): Check for option to disable
30591         generation of FMA instructions.
30592         * configure: Regenerate.
30593         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
30594         * sysdeps/ieee754/dbl-64/Makefile: New file.
30595         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30596         Remove brandred-fma4.
30597         (CFLAGS-brandred-fma4.c): Remove.
30598         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
30599         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
30600         define.
30601         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
30602         define.
30604 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30606         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30607         LLONG_MAX != LONG_MAX.
30608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30609         (_fitoa_word): Likewise.
30610         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
30611         LLONG_MAX != LONG_MAX.
30612         * stdio-common/_itowa.h: Include <_itoa.h>.
30613         (_itowa_word): Use _ITOA_WORD_TYPE on value.
30614         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
30615         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
30616         only if not defined.
30617         (_ITOA_WORD_TYPE): Likewise.
30618         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30619         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
30621 2012-03-21  David S. Miller  <davem@davemloft.net>
30623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30625 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30627         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
30628         of x86_64 when setting libc_cv_slibdir, libdir and
30629         libc_cv_localedir.
30630         * sysdeps/unix/sysv/linux/configure: Regenerated.
30632 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30634         * manual/lang.texi (Old Varargs): Remove section.
30635         (How Variadic): Update menu.
30636         (va_start): Do not mention varargs.h.
30638 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30639             Joseph Myers  <joseph@codesourcery.com>
30641         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
30642         link test.
30643         * configure: Regenerated.
30645 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30647         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
30648         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
30649         conformtest.pl
30651 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30653         * NOTES: Remove.
30654         * Makefile (files-for-dist): Remove NOTES.
30655         (NOTES): Remove rule.
30656         * README: Don't refer to NOTES.
30657         * manual/creature.texi: Don't include macros.texi.
30658         * manual/intro.texi (creature.texi): Remove comment referring to
30659         NOTES.
30661         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
30662         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
30663         * configure: Regenerated.
30664         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
30665         LIBC_TRY_CC_OPTION.
30666         (libc_cv_as_i686): Likewise.
30667         (libc_cv_cc_avx): Likewise.
30668         (libc_cv_cc_sse2avx): Likewise.
30669         (libc_cv_cc_fma4): Likewise.
30670         (libc_cv_cc_novzeroupper): Likewise.
30671         * sysdeps/i386/configure: Regenerated.
30673         [BZ #13883]
30674         * sysdeps/i386/fpu/s_cexp.S: Remove.
30675         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30676         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30677         * math/libm-test.inc (cexp_test): Add more tests.
30678         * sysdeps/i386/fpu/libm-test-ulps: Update.
30679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30681 2012-03-21  Allan McRae  <allan@archlinux.org>
30683         * timezone/Makefile: Do not install iso3166.tab and zone.tab
30685 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30687         [BZ #13871]
30688         * math/w_exp2.c: Do not include <float.h>.
30689         (o_threshold, u_threshold): Remove.
30690         (__exp2): Calculate result before checking finiteness and calling
30691         __kernel_standard.
30692         * math/w_exp2f.c: Likewise.
30693         * math/w_exp2l.c: Likewise.
30694         * math/libm-test.inc (exp2_test): Require overflow exception for
30695         1e6 input.
30697         [BZ #3866]
30698         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30699         range of signed 64-bit integers before using fistpll.  Remove
30700         checks for whether integers fit in mantissa bits.
30701         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30702         the range of signed 32-bit integers before using fistpl.  Remove
30703         checks for whether integers fit in mantissa bits.
30704         * sysdeps/i386/fpu/e_powl.S (p64): New object.
30705         (__ieee754_powl): Test for y outside the range of signed 64-bit
30706         integers before using fistpll.  Reduce 64-bit values to 63-bit
30707         ones as needed.
30708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30709         divide-by-zero is raised for zero to large negative powers.
30710         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30711         (__ieee754_powl): Test for y outside the range of signed 64-bit
30712         integers before using fistpll.  Reduce 64-bit values to 63-bit
30713         ones as needed.
30714         * math/libm-test.inc (pow_test): Add more tests.
30716 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30718         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30719         <stdio-common/_itoa.h>.
30720         * debug/segfault.c: Likewise.
30721         * elf/dl-cache.c: Likewise.
30722         * elf/dl-minimal.c: Likewise.
30723         * elf/dl-misc.c: Likewise.
30724         * elf/dl-sysdep.c: Likewise.
30725         * elf/dl-version.c: Likewise.
30726         * elf/rtld.c: Likewise.
30727         * hurd/hurdsock.c: Likewise.
30728         * hurd/lookup-retry.c: Likewise.
30729         * malloc/malloc.c: Likewise.
30730         * malloc/mtrace.c: Likewise.
30731         * nscd/nscd_getgr_r.c: Likewise.
30732         * nscd/nscd_getpw_r.c: Likewise.
30733         * nscd/nscd_getserv_r.c: Likewise.
30734         * posix/getopt_init.c: Likewise.
30735         * posix/wordexp.c: Likewise.
30736         * stdio-common/_itoa.c: Likewise.
30737         * stdio-common/printf_fphex.c: Likewise.
30738         * stdio-common/vfprintf.c: Likewise.
30739         * string/_strerror.c: Likewise.
30740         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30741         * sysdeps/i386/i686/hp-timing.h: Likewise.
30742         * sysdeps/mach/_strerror.c: Likewise.
30743         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30744         * sysdeps/mach/hurd/sethostid.c: Likewise.
30745         * sysdeps/mach/hurd/xmknodat.c: Likewise.
30746         * sysdeps/mach/xpg-strerror.c: Likewise.
30747         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30748         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30749         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30750         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30751         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30752         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30754         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30755         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30756         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30757         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30758         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30759         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30760         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30761         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30762         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30763         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30764         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30765         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30766         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30767         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30769         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30771         * stdio-common/_itoa.h: Moved to ...
30772         * sysdeps/generic/_itoa.h: Here.
30774         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30776         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30777         instead of "_itoa.h" and "_itowa.h".
30778         * stdio-common/vfprintf.: Likewise.
30780 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30782         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30783         <bits/wordsize.h>.
30784         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30785         (__signbit): Likwise.
30786         (llrintf): Likwise.
30787         (llrint): Likwise.
30789 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30791         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30792         __WORDSIZE != 64.
30794 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
30796         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30797         OVERFLOW_EXCEPTION_OK.
30798         * math/libm-test.inc ("Philosophy"): Update comment about
30799         exception testing.
30800         (OVERFLOW_EXCEPTION): Define.
30801         (OVERFLOW_EXCEPTION_OK): Likewise.
30802         (INVALID_EXCEPTION_OK): Renumber.
30803         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30804         (IGNORE_ZERO_INF_SIGN): Likewise.
30805         (test_exceptions): Handle FE_OVERFLOW.
30806         (exp10_test): Expect overflow exceptions.
30807         (exp2_test): Likewise.
30808         (expm1_test): Likewise.
30809         (nextafter_test): Likewise.
30810         (pow_test): Likewise.
30811         (scalbn_test): Likewise.
30812         (scalbln_test): Likewise.
30814 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30816         * sysdeps/x86_64/bits/atomic.h
30817         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30818         64bit integer.
30819         (atomic_exchange_acq): Likewise.
30820         (__arch_exchange_and_add_body): Likewise.
30821         (__arch_add_body): Likewise.
30822         (atomic_add_negative): Likewise.
30823         (atomic_add_zero): Likewise.
30825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30827         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30828         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30832         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30833         Check __x86_64__ instead of __WORDSIZE.
30835 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30837         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30839 2012-03-19  David S. Miller  <davem@davemloft.net>
30841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30843         * sysdeps/sparc/fpu/fenv_private.h: New file.
30844         * sysdeps/sparc/fpu/math_private.h: Use it.
30845         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30846         Remove.
30847         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30848         (libc_feholdexcept_setroundl): Remove.
30849         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30850         Remove.
30851         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30852         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30854 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30856         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30857         int64_t instead of long int.
30858         (INSERT_WORDS64): Likwise.
30860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30862         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30863         _Unwind_GetCFA return to _Unwind_Ptr first.
30865 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
30867         [BZ #13629]
30868         * math/s_clog.c: Include <float.h>.
30869         (__clog): Scale large or subnormal inputs.
30870         * math/s_clogf.c: Likewise.
30871         * math/s_clogl.c: Likewise.
30872         * math/s_clog10.c: Include <float.h>.
30873         (M_LOG10_2): Define.
30874         (__clog10): Scale large or subnormal inputs.
30875         * math/s_clog10f.c: Likewise.
30876         * math/s_clog10l.c: Likewise.
30877         * math/libm-test.inc (clog_test): Add more tests.
30878         (clog10_test): Likewise.
30879         * sysdeps/i386/fpu/libm-test-ulps: Update.
30880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30882         [BZ #11451]
30883         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30884         x and y.
30885         * math/libm-test.inc (atan2_test): Add another test.
30887         * Makerules (common-objdir-compile): Remove.
30888         * sysdeps/unix/Makefile (config-generated): Do not add
30889         $(unix-generated) to variable.
30890         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30891         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30892         Remove rule.
30893         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30894         Likewise.
30895         [generic bits/local_lim.h] (before-compile): Do not append to
30896         variable.
30897         [generic bits/local_lim.h] (common-generated): Likewise.
30898         [generic sys/param.h] (before-compile): Do not append to variable.
30899         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30900         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30901         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30902         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30903         include.
30904         [generic sys/param.h] (sys/param.h-includes): Remove variable.
30905         [generic sys/param.h] (sys/param.h-includes): Remove rule.
30906         [generic sys/param.h] ($(addprefix
30907         $(common-objpfx),$(sys/param.h-includes))): Likewise.
30908         [generic sys/param.h] (common-generated): Do not append to
30909         variable.
30910         [generic sys/param.h] (sysdep_headers): Likewise.
30911         [generic bits/errno.h] (before-compile): Do not append to
30912         variable.
30913         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30914         rule.
30915         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30916         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30917         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30918         [generic bits/errno.h] (common-generated): Do not append to
30919         variable.
30920         [generic bits/ioctls.h] (before-compile): Do not append to
30921         variable.
30922         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30923         rule.
30924         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30925         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30926         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30927         rule.
30928         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30929         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30930         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30931         [generic bits/ioctls.h] (common-generated): Do not append to
30932         variable.
30933         [generic sys/syscall.h] (syscall.h): Remove variable.
30934         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30935         rule.
30936         [generic sys/syscall.h] (before-compile): Do not append to
30937         variable.
30938         [generic sys/syscall.h] (common-generated): Likewise.
30939         * sysdeps/unix/errnos-tmpl.c: Remove file.
30940         * sysdeps/unix/errnos.awk: Likewise.
30941         * sysdeps/unix/ioctls-tmpl.c: Likewise.
30942         * sysdeps/unix/ioctls.awk: Likewise.
30943         * sysdeps/unix/mk-local_lim.c: Likewise.
30944         * sysdeps/unix/snarf-ioctls: Likewise.
30946 2012-03-19  Richard Henderson  <rth@twiddle.net>
30948         * sysdeps/i386/fpu/fenv_private.h: New file.
30949         * sysdeps/i386/fpu/math_private.h: Use it.
30950         (math_opt_barrier, math_force_eval): Remove.
30951         (libc_feholdexcept_setround_53bit): Remove.
30952         (libc_feupdateenv_53bit): Remove.
30953         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30954         (math_opt_barrier, math_force_eval): Remove.
30955         (libc_feholdexcept): Remove.
30956         (libc_feholdexcept_setround): Remove.
30957         (libc_fetestexcept, libc_fesetenv): Remove.
30958         (libc_feupdateenv_test): Remove.
30959         (libc_feupdateenv, libc_feholdsetround): Remove.
30960         (libc_feresetround): Remove.
30962         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30963         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30965         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30966         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30967         (libc_feupdateenv_testl): New.
30968         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30969         (libc_feupdateenv_testf): New.
30970         (libc_feupdateenv): Use libc_feupdateenv_test.
30971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30972         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30974         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30975         (libc_feholdsetroundf, libc_feholdsetroundl): New.
30976         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30977         (libc_feresetround_noex): New.
30978         (libc_feresetround_noexf): New.
30979         (libc_feresetround_noexl): New.
30980         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30981         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30982         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30984         SET_RESTORE_ROUND.
30985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30987         (__cos): Likewise.
30988         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30989         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30990         SET_RESTORE_ROUND_NOEX.
30991         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30992         SET_RESTORE_ROUND_NOEXF.
30993         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30994         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30995         (libc_feholdsetroundf): New.
30996         (libc_feresetround, libc_feresetroundf): New.
30998         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30999         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31000         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31002         * sysdeps/generic/math_private.h: Include <fenv.h>.
31003         (default_libc_feholdexcept): New.
31004         (default_libc_feholdexcept_setround): New.
31005         (default_libc_fesetenv, default_libc_feupdateenv): New.
31006         (libc_feholdexcept): Only define if undefined.
31007         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31008         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31009         (libc_feholdexcept_setroundl): Likewise.
31010         (libc_feholdexcept_setround_53bit): Likewise.
31011         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31012         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31013         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31014         (libc_feupdateenv_53bit): Likewise.
31015         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31016         (libc_feholdexcept): Convert from macro to inline function.
31017         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31018         (libc_fesetenv, libc_feupdateenv): Likewise.
31020         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31021         not previously defined.
31022         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31023         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31024         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31025         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31026         * sysdeps/ieee754/flt-32/math_private.h: New file.
31027         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31028         math_private.h below SET_FLOAT_WORD.
31029         (__isnan, __isinf_ns, __finite): Remove.
31030         (__isnanf, __isinf_nsf, __finitef): Remove.
31032 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31036 2012-03-17  David S. Miller  <davem@davemloft.net>
31038         [BZ #6471]
31039         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31040         for 2.16.
31042 2012-03-16  David S. Miller  <davem@davemloft.net>
31044         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31045         warnings.
31047         [BZ #6471]
31048         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31049         properly.
31050         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31051         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31052         sysdep_routines when subdir is sysvipc.
31053         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31054         __getshmlba helper.
31056         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31060         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31061         [__LP64__].
31063 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31065         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31066         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31067         (__lround): Renamed to ...
31068         (__llround): This.  Replace long int with long long int.
31069         Define lround functions as aliases of llround functions.
31070         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31072 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31074         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31075         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31076         adresses to uintptr_t.  Replace "long int" and "unsigned long
31077         int" with "greg_t" on va_arg.
31079 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31081         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31082         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31084         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31085         Move e_machine check before EI_CLASS check.  Handle x32
31086         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31087         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31088         SKIP_EM_IA_64 and include
31089         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31091         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31092         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31093         (add_system_dir): New macro.
31095         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31096         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31098 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31100         [BZ #2551]
31101         [BZ #2552]
31102         [BZ #2553]
31103         [BZ #2554]
31104         [BZ #2562]
31105         [BZ #2563]
31106         [BZ #2565]
31107         [BZ #2566]
31108         [BZ #2576]
31109         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31110         (y0): Likewise.
31111         * math/w_j0f.c (j0f): Likewise.
31112         (y0f): Likewise.
31113         * math/w_j0l.c (__j0l): Likewise.
31114         (__y0l): Likewise.
31115         * math/w_j1.c (j1): Likewise.
31116         (y1): Likewise.
31117         * math/w_j1f.c (j1f): Likewise.
31118         (y1f): Likewise.
31119         * math/w_j1l.c (__j1l): Likewise.
31120         (__y1l): Likewise.
31121         * math/w_jn.c (jn): Likewise.
31122         (yn): Likewise.
31123         * math/w_jnf.c (jnf): Likewise.
31124         (ynf): Likewise.
31125         * math/w_jnl.c (__jnl): Likewise.
31126         (__ynl): Likewise.
31127         * math/libm-test.inc (j0_test): Add more tests.
31128         (j1_test): Likewise.
31129         (jn_test): Likewise.  Add trailing semicolon to existing test.
31130         (y0_test): Likewise.
31131         (y1_test): Likewise.
31132         * sysdeps/i386/fpu/libm-test-ulps: Update.
31133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31135         [BZ #13851]
31136         [BZ #13854]
31137         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31138         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31139         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31140         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31141         (__tanl): Set errno for infinite argument.
31142         * sysdeps/i386/fpu/mptan.c: Remove.
31143         * sysdeps/i386/fpu/s_tan.S: Likewise.
31144         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31145         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31146         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31147         * math/libm-test.inc (tan_test): Add more tests and enable more
31148         tests for double and long double.
31149         * sysdeps/i386/fpu/libm-test-ulps: Update.
31150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31152 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31154         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31155         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31157 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31159         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31160         * configure.in: Use it for both main tree and add-ons.
31161         * configure: Regenerated.
31163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31165         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31167 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31169         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31170         in comment.
31172         [BZ #13851]
31173         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31174         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31175         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31176         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31177         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31178         infinite argument.
31179         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31180         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31181         != 0 for prec == 2.
31182         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31183         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31184         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31185         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31186         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31187         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31188         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31189         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31190         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31191         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31192         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31193         * math/libm-test.inc (cos_test): Add more tests and enable more
31194         tests for long double.
31195         (sin_test): Likewise.
31196         (sincos_test): Likewise.
31197         * sysdeps/i386/fpu/libm-test-ulps: Update.
31198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31200 2012-03-16  David S. Miller  <davem@davemloft.net>
31202         * sysdeps/sparc/fpu/math_private.h: New file.
31204 2012-03-15  David S. Miller  <davem@davemloft.net>
31206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31207         file.
31208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31210         file.
31211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31216         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31217         sysdep routines.
31218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31220         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31221         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31223         * sysdeps/sparc/sparc-ifunc.h: New file.
31224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31225         sparc-ifunc.h
31226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31228         Likewise.
31229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31230         Likewise.
31231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31235         Likewise.
31236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31241         Likewise.
31242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31243         Likewise.
31244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31250         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31251         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31264         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31265         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31266         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31267         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31269 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31271         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31272         scaling.
31273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31275 2012-03-15  Andreas Jaeger  <aj@suse.de>
31277         [BZ #13852]
31278         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31279         ieee754/flt-32 implementation for sin, cos and sincos.
31280         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31281         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31282         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31283         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31284         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31285         ieee754/flt-32 implementation for tan.
31287         * math/libm-test.inc (cos_test): Enable some large input tests for
31288         float as well
31289         (sin_test): Likewise.
31290         (sincos_test): Likewise.
31291         (tan_test): Add tests for large input.
31293         * sysdeps/i386/fpu/libm-test-ulps: Update.
31295 2012-03-15  Andreas Jaeger  <aj@suse.de>
31297         [BZ #13658]
31298         * math/libm-test.inc (cos_test): Add more test cases.
31299         (sin_test): Likewise.
31300         (sincos_test): Likewise.
31302 2012-03-15  Andreas Jaeger  <aj@suse.de>
31304         [BZ #13837]
31305         * math/libm-test.inc (cos_test): Add a test case for large input
31306         value.
31307         (sin_test): Likewise.
31308         (sincos_test): Likewise.
31310 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31311         Joseph Myers  <joseph@codesourcery.com>
31313         [BZ #13658]
31314         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31315         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31316         * sysdeps/i386/fpu/branred.c: Likewise.
31317         * sysdeps/i386/fpu/dosincos.c: Likewise.
31318         * sysdeps/i386/fpu/mpa.c: Likewise.
31319         * sysdeps/i386/fpu/s_cos.S: Likewise.
31320         * sysdeps/i386/fpu/s_sin.S: Likewise.
31321         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31322         * sysdeps/i386/fpu/sincos32.c: Likewise.
31324         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31325         Define.
31326         (libc_feupdateenv_53bit): Define.
31327         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31328         Define.
31329         (libc_feupdateenv_53bit): Define.
31331         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31332         53 bit (without extend i386 double precision).
31334         * math/libm-test.inc (sincos_test): Add tests for large input.
31335         (sin): Likewise.
31336         (cos): Likewise.
31338         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31340 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31344 2012-03-15  David S. Miller  <davem@davemloft.net>
31346         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31347         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31348         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31349         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31362         file.
31363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31365         file.
31366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31368         file.
31369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31371         file.
31372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31374         fmin/fmax sysdep routines.
31375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31377 2012-03-14  David S. Miller  <davem@davemloft.net>
31379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31384         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31385         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31386         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31389         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31394         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31395         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31396         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31397         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31399         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31400         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31401         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31402         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31403         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31405         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31406         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31408         routines.
31409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31410         file.
31411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31413         file.
31414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31416         file.
31417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31419         file.
31420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31422         file.
31423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31425         file.
31426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31427         file.
31428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31429         file.
31430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31431         file.
31432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31433         New file.
31434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31435         file.
31436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31437         file.
31438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31440         file.
31441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
31443         file.
31444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
31445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
31446         file.
31447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
31448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
31449         VIS3 routines.
31451         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31452         New file.
31454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31456         * sysdeps/sparc/configure.in: New file.
31457         * sysdeps/sparc/configure: Generate.
31458         * configure.in (libc_cv_sparc_as_vis3): Substitute.
31459         * configure: Regenerate.
31460         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
31461         * config.make.in (have-as-vis3): New.
31462         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
31463         available use -Av9d instead of -Av9a.
31464         * sysdeps/sparc/sparc64/Makefile: Likewise.
31465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
31466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
31467         New file.
31468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
31469         file.
31470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
31471         New file.
31472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
31473         file.
31474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
31475         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
31476         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
31477         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
31478         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
31480         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
31481         fzeros/fnegs to load 0x80000000 into a float register instead of
31482         using the stack.
31483         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
31485 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31488         bits/syscall.h.
31489         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
31490         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
31491         ($(inst_includedir)/bits/syscall.h): Remove rule.
31492         ($(objpfx)bits/syscall.d): Include instead of
31493         $(objpfx)syscall-list.d.
31494         (generated): Change syscall-list.h and syscall-list.d to
31495         bits/syscall.h and bits/syscall.d.
31497 2012-03-14  Roland McGrath  <roland@hack.frob.com>
31499         [BZ #13846]
31500         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
31502 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31504         [BZ #13841]
31505         * math/s_csqrt.c: Include <float.h>.
31506         (__csqrt): Scale large or subnormal inputs.
31507         * math/s_csqrtf.c: Likewise.
31508         * math/s_csqrtl.c: Likewise.
31509         * math/libm-test.inc (csqrt_test): Add more tests.
31510         * sysdeps/i386/fpu/libm-test-ulps: Update.
31511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31513         [BZ #13840]
31514         * math/libm-test.inc (hypot_test): Add more tests.
31516 2012-03-13  David S. Miller  <davem@davemloft.net>
31518         [BZ #13840]
31519         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
31520         double-precision for the calculation instead of scaling.
31522 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
31524         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
31525         manipulate bits before adding and subtracting TWO52[sx].
31526         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
31527         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31528         Likewise.
31529         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
31531 2012-03-13  David S. Miller  <davem@davemloft.net>
31533         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
31534         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
31535         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
31536         rtld-global-offsets.h
31537         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31539         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
31540         large parameters.
31542         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
31544         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
31545         'err' in the ifdef scope in which it is actually used.
31547         * nss/nss_db/db-init.c: Include string.h
31549 2012-03-12  David S. Miller  <davem@davemloft.net>
31551         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31552         masking out of the most significant byte of random value used.
31553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31554         Fix coding style in previous change.
31556         * sysdeps/unix/sysv/linux/kernel-features.h
31557         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
31558         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
31559         expression.
31560         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
31561         later.
31563 2012-03-11  David S. Miller  <davem@davemloft.net>
31565         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31566         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
31567         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
31568         for 'resultvar' otherwise things get truncated on 64-bit.
31570         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31571         Fix masking out of the most significant byte of random value used.
31573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31575 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
31577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31579 2012-03-09  David S. Miller  <davem@davemloft.net>
31581         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
31582         variables with appropriate CPP guards.
31583         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
31584         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
31585         on resulting framesize and the management of the outregs buffer for pltexit.
31586         Preserve floating point return values across _dl_call_pltexit call.
31587         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
31588         framesize and the management of the outregs buffer for pltexit.
31589         Preserve floating point return values across _dl_call_pltexit
31590         call.
31591         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
31592         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
31593         (print_exit): Fix format string for return register value.
31595 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
31597         * sunrpc/Makefile (others): Add rpcgen.
31598         ($(objpfx)rpcgen): Remove special build rule and dependency on
31599         libc.
31600         * sunrpc/rpcgen.c: New file.
31602 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
31604         [BZ #13673]
31605         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
31606         * stdio-common/bug-vfprintf-nargs.c: Likewise.
31607         * sysdeps/i386/crti.S: Likewise.
31608         * sysdeps/i386/crtn.S: Likewise.
31609         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
31610         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
31611         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
31612         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
31613         * sysdeps/sh/crti.S: Likewise.
31614         * sysdeps/sh/crtn.S: Likewise.
31615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31617         [BZ #13673]
31618         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
31619         with URL.
31620         * locale/programs/locfile-kw.gperf: Likewise.
31621         * locale/programs/charmap-kw.h: Regenerated.
31622         * locale/programs/locfile-kw.h: Likewise.
31624         [BZ #13673]
31625         * intl/plural.y: Replace FSF snail mail address with URL.
31626         * intl/plural.c: Regenerated.
31628 2012-03-09  Richard Henderson  <rth@twiddle.net>
31630         * include/math_private.h: Remove file.
31631         * math/math_private.h: Move file ...
31632         * sysdeps/generic/math_private.h: ... here.
31634         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
31635         * sysdeps/powerpc/fpu/math_private.h: Likewise.
31636         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31638         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
31639         and <math_private.h>.
31640         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31641         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31642         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31643         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31644         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31645         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
31646         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31648         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31649         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31651         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31652         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31653         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31654         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31655         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31656         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31658         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31659         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31661         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31662         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31664         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31673         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31678         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31680         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31682         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31683         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31684         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31685         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31686         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31687         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31688         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31689         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31690         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31691         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31692         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31693         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31694         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31695         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31696         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31698         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31699         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31701         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31703         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31706         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31711         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31713         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31720         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31721         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31723         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31726         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31727         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31728         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31731         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31732         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31733         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31734         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31735         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31736         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31737         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31738         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31740         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31741         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31742         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31743         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31744         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31745         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31746         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31747         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31748         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31749         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31750         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31751         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31752         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31753         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31754         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31756         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31757         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31758         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31759         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31760         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31761         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31762         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31763         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31764         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31766         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31767         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31768         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31769         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31770         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31771         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31772         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31773         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31774         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31775         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31776         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31777         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31778         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31779         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31780         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31781         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31782         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31783         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31784         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31785         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31786         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31787         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31788         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31789         * sysdeps/ieee754/k_standard.c: Likewise.
31790         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31791         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31792         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31793         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31794         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31795         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31796         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31797         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31798         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31799         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31802         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31803         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31804         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31805         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31806         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31807         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31808         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31809         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31810         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31811         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31813         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31815         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31817         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31823         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31825         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31827         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31829         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31830         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31831         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31832         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31833         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31842         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31843         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31845         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31846         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31847         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31848         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31849         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31850         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31851         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31852         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31854         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31857         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31858         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31860         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31862         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31863         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31864         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31866         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31869         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31870         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31871         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31875         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31876         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31877         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31878         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31881         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31882         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31883         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31887         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31889         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31894         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31895         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31898         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31899         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31900         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31901         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31902         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31903         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31906         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31907         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31908         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31909         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31910         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31911         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31912         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31913         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31914         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31915         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31916         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31917         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31918         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31920         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31921         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31922         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31923         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31925         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31928         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31929         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31930         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31931         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31932         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31933         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31934         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31936         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31937         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31939         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31940         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31941         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31942         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31943         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31944         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31945         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31946         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31947         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31949         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31950         * sysdeps/ieee754/s_lib_version.c: Likewise.
31951         * sysdeps/ieee754/s_matherr.c: Likewise.
31952         * sysdeps/ieee754/s_signgam.c: Likewise.
31953         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31954         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31955         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31956         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31957         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31958         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31959         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31960         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31961         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31962         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31963         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31964         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31965         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31966         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31967         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31972         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31973         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31975 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31977         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31978         * sunrpc/rpc_main.c: Likewise.
31979         * sunrpc/rpc_svcout.c: Likewise.
31981 2012-03-09  David S. Miller  <davem@davemloft.net>
31983         * include/math_private.h: New file.
31985 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31987         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31988         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31989         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31990         from <bits/socket_type.h>.
31991         (enum __socket_type): Don't define here.
31992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31994         bits/socket_type.h.
31996         [BZ #13566]
31997         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31998         checking __USE_GNU.
32000         * Makerules ($(inst_includedir)/%.h): New rule.
32001         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32002         (install-others): Remove variable setting.
32003         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32005 2012-03-08  Richard Henderson  <rth@twiddle.net>
32007         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32008         from macro to inline function; merge with the
32009         !__LIBC_INTERNAL_MATH_INLINES version.
32010         (__ieee754_sqrtf): Likewise.
32012         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32013         to inline function.
32014         (__rintf, __floor, __floorf): Likewise.
32016         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32017         macro to inline function.
32018         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32021         not <math/math_private.h>.
32023 2012-03-08  David S. Miller  <davem@davemloft.net>
32025         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32026         copyright year.
32027         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32029 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32031         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32032         normalization.
32033         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32034         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32036 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32038         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32039         be defined individually, they must be defined as a block.  Define
32040         S for printing a string instead of hidint the different by using a
32041         macro for adding the 'l'.
32042         * stdio-common/tst-fphex-wide.c: Adjust.
32044 2012-03-07  Marek Polacek  <polacek@redhat.com>
32046         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32048 2012-03-08  Marek Polacek  <polacek@redhat.com>
32050         [BZ #13806]
32051         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32052         * stdio-common/tst-fphex.c: Define a few macros to make the
32053         test reusable.  Use them.
32054         * stdio-common/tst-fphex-wide.c: New file.
32056 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32058         [BZ #6911]
32059         * manual/macros.texi (gnusystems): New macro.
32060         (nongnusystems): Likewise.
32061         (gnulinuxhurdsystems): Likewise.
32062         (gnuhurdsystems): Likewise..
32063         (gnulinuxsystems): Likewise.
32064         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32065         variants of the GNU system, not "GNU system".
32066         * manual/conf.texi: Likewise.
32067         * manual/errno.texi: Likewise.  Update example of errno macro
32068         expansion.
32069         * manual/filesys.texi: Likewise.
32070         (getumask): Document as specific to GNU/Hurd.
32071         * manual/install.texi: Likewise.  Reword some references to
32072         GNU/Linux.
32073         * manual/intro.texi: Likewise.
32074         * manual/io.texi: Likewise.
32075         (File Name Portability): Detail which constraints are inapplicable
32076         to all GNU systems and which are only inapplicable to GNU/Hurd.
32077         * manual/job.texi: Likewise.
32078         * manual/llio.texi: Likewise.
32079         (O_NOCTTY): Document as present on GNU/Linux.
32080         * manual/maint.texi: Likewise.
32081         * manual/memory.texi: Likewise.
32082         * manual/pattern.texi: Likewise.
32083         * manual/pipe.texi: Likewise.
32084         * manual/process.texi: Likewise.
32085         * manual/resource.texi: Likewise.
32086         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32087         child on GNU/Hurd.
32088         * manual/setjmp.texi: Likewise.
32089         * manual/signal.texi: Likewise.
32090         * manual/startup.texi: Likewise.
32091         * manual/stdio.texi: Likewise.
32092         * manual/terminal.texi: Likewise.
32093         (ONLCR): Document as POSIX.
32094         (OXTABS): Document availability on GNU/Linux as XTABS.
32095         (ONOEOT): Document availability separately from other bits.
32096         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32097         * manual/time.texi: Likewise.
32098         * manual/users.texi: Likewise.
32099         * INSTALL: Regenerated.
32100         * sysdeps/gnu/errlist.c: Regenerated.
32102         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32103         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32104         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32105         puts.
32106         * configure: Regenerated.
32108 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32110         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32111         default includes instead of AC_HEADER_CHECK.
32112         * sysdeps/i386/configure: Regenerated.
32114         [BZ #10716]
32115         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32116         * math/s_cacoshf.c (__cacoshf): Likewise.
32117         * math/s_cacoshl.c (__cacoshl): Likewise.
32118         * math/s_casinh.c (__casinh): Set signs of result from argument.
32119         * math/s_casinhf.c (__casinhf): Likewise.
32120         * math/s_casinhl.c (__casinhl): Likewise.
32121         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32122         (casinh_test): Add more tests.
32123         * sysdeps/i386/fpu/libm-test-ulps: Update.
32124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32126 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32128         * po/zh_TW.po: Update from translation team.
32130         * login/Makefile (distribute): Remove variable.
32131         * catgets/Makefile: Likewise.
32132         * mach/Makefile: Likewise.
32133         * malloc/Makefile: Likewise.
32134         * misc/Makefile: Likewise.
32135         * iconv/Makefile: Likewise.
32136         * nscd/Makefile: Likewise.
32137         * hurd/Makefile: Likewise.
32138         * manual/Makefile: Likewise.
32139         * locale/Makefile: Likewise.
32140         * intl/Makefile: Likewise.
32141         * conform/Makefile: Likewise.
32142         * nss/Makefile: Likewise.
32143         * time/Makefile: Likewise.
32144         * soft-fp/Makefile: Likewise.
32145         * dirent/Makefile: Likewise.
32146         * gmon/Makefile: Likewise.
32147         * po/Makefile: Likewise.
32148         * rt/Makefile: Likewise.
32149         * socket/Makefile: Likewise.
32150         * math/Makefile: Likewise.
32151         * signal/Makefile: Likewise.
32152         * debug/Makefile: Likewise.
32153         * elf/Makefile: Likewise.
32154         * timezone/Makefile: Likewise.
32155         * stdlib/Makefile: Likewise.
32156         * iconvdata/Makefile: Likewise.
32157         * sunrpc/Makefile: Likewise.
32158         * io/Makefile: Likewise.
32159         * argp/Makefile: Likewise.
32160         * inet/Makefile: Likewise.
32161         * hesiod/Makefile: Likewise.
32162         * grp/Makefile: Likewise.
32163         * csu/Makefile: Likewise.
32164         * wctype/Makefile: Likewise.
32165         * crypt/Makefile: Likewise.
32166         * libio/Makefile: Likewise.
32167         * string/Makefile: Likewise.
32168         * nis/Makefile: Likewise.
32169         * resolv/Makefile: Likewise.
32170         * stdio-common/Makefile: Likewise.
32171         * wcsmbs/Makefile: Likewise.
32172         * dlfcn/Makefile: Likewise.
32173         * posix/Makefile: Likewise.
32175         [BZ #6959]
32176         * timezone/Makefile: Don't install timezone files, just the programs
32177         and scripts.
32179 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32181         * nss/databases.def: Add missing gshadow entry.
32183         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32185 2012-03-06  Marek Polacek  <polacek@redhat.com>
32187         [BZ #13726]
32188         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32189         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32190         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32191         * stdio-common/tst-long-dbl-fphex.c: New file.
32193 2012-03-06  David S. Miller  <davem@davemloft.net>
32195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32196         (set_obp_int): New function.
32197         (get_obp_int): New function.
32198         (__get_clockfreq_via_dev_openprom): Likewise.
32199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32200         Avoid unused variable warnings on 'val' and use builtin_expect.
32201         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32202         __builtin_expect.
32203         (INLINE_CLONE_SYSCALL): Likewise.
32205 2012-03-05  David S. Miller  <davem@davemloft.net>
32207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32209 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32214         only for |x| >= 40.
32215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32217 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32220         Replace gettimeofday with __vdso_gettimeofday.
32222         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32223         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32224         __vdso_clock_gettime and __vdso_getcpu.
32226         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32227         time with __vdso_time.
32229 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32231         * manual/lang.texi (size_t): Note types to which size_t may be
32232         equivalent with the GNU C Library, but do not describe when
32233         differences between them are significant.
32235 2012-03-05  Andreas Jaeger  <aj@suse.de>
32237         * sysdeps/i386/fpu/libm-test-ulps: Update.
32239 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32241         [BZ #3976]
32242         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32243         (__ieee754_pow): Save and restore rounding mode and use
32244         round-to-nearest for main computations.
32245         * math/libm-test.inc (pow_test_tonearest): New function.
32246         (pow_test_towardzero): Likewise.
32247         (pow_test_downward): Likewise.
32248         (pow_test_upward): Likewise.
32249         (main): Call the new functions.
32250         * sysdeps/i386/fpu/libm-test-ulps: Update.
32251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32253         [BZ #3976]
32254         * math/libm-test.inc (cosh_test_tonearest): New function.
32255         (cosh_test_towardzero): Likewise.
32256         (cosh_test_downward): Likewise.
32257         (cosh_test_upward): Likewise.
32258         (sinh_test_tonearest): Likewise.
32259         (sinh_test_towardzero): Likewise.
32260         (sinh_test_downward): Likewise.
32261         (sinh_test_upward): Likewise.
32262         (main): Call the new functions.
32263         * sysdeps/i386/fpu/libm-test-ulps: Update.
32264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32266 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32268         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32269         default stack guard is set in last bytes.
32270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32272 2012-03-05  Kees Cook  <keescook@chromium.org>
32274         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32276         [BZ #13656]
32277         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32278         possibly allocate from heap instead of stack.
32279         * stdio-common/bug-vfprintf-nargs.c: New file.
32280         * stdio-common/Makefile (tests): Add nargs overflow test.
32282 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32286 2012-03-03  Marek Polacek  <polacek@redhat.com>
32288         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32289         * math/math_private.h: Likewise.
32290         * stdlib/tst-strtod.c: Likewise.
32291         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32292         * sysdeps/x86_64/bits/atomic.h: Likewise.
32294 2012-03-02  David S. Miller  <davem@davemloft.net>
32296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32300         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32301         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32302         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32303         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32305 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32307         [BZ #13792]
32308         * manual/examples/README: New file, says the example source files
32309         can be used under GPL>=2.
32310         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32311         line containing just "*/".
32312         * manual/examples/add.c: Add copyright header (GPL>=2).
32313         * manual/examples/argp-ex1.c: Likewise.
32314         * manual/examples/argp-ex2.c: Likewise.
32315         * manual/examples/argp-ex3.c: Likewise.
32316         * manual/examples/argp-ex4.c: Likewise.
32317         * manual/examples/atexit.c: Likewise.
32318         * manual/examples/db.c: Likewise.
32319         * manual/examples/dir.c: Likewise.
32320         * manual/examples/dir2.c: Likewise.
32321         * manual/examples/execinfo.c: Likewise.
32322         * manual/examples/filecli.c: Likewise.
32323         * manual/examples/filesrv.c: Likewise.
32324         * manual/examples/fmtmsgexpl.c: Likewise.
32325         * manual/examples/genpass.c: Likewise.
32326         * manual/examples/inetcli.c: Likewise.
32327         * manual/examples/inetsrv.c: Likewise.
32328         * manual/examples/isockad.c: Likewise.
32329         * manual/examples/longopt.c: Likewise.
32330         * manual/examples/memopen.c: Likewise.
32331         * manual/examples/memstrm.c: Likewise.
32332         * manual/examples/mkfsock.c: Likewise.
32333         * manual/examples/mkisock.c: Likewise.
32334         * manual/examples/mygetpass.c: Likewise.
32335         * manual/examples/pipe.c: Likewise.
32336         * manual/examples/popen.c: Likewise.
32337         * manual/examples/rprintf.c: Likewise.
32338         * manual/examples/search.c: Likewise.
32339         * manual/examples/select.c: Likewise.
32340         * manual/examples/setjmp.c: Likewise.
32341         * manual/examples/sigh1.c: Likewise.
32342         * manual/examples/sigusr.c: Likewise.
32343         * manual/examples/stpcpy.c: Likewise.
32344         * manual/examples/strdupa.c: Likewise.
32345         * manual/examples/strftim.c: Likewise.
32346         * manual/examples/strncat.c: Likewise.
32347         * manual/examples/subopt.c: Likewise.
32348         * manual/examples/swapcontext.c: Likewise.
32349         * manual/examples/termios.c: Likewise.
32350         * manual/examples/testopt.c: Likewise.
32351         * manual/examples/testpass.c: Likewise.
32352         * manual/examples/timeval_subtract.c: Likewise.
32354         [BZ #13792]
32355         * manual/time.texi (Elapsed Time): Move timeval_subtract example
32356         function to ...
32357         * manual/timeval_subtract.c.texi: ... here, new file.
32359 2012-03-02  David S. Miller  <davem@davemloft.net>
32361         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32363 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
32365         [BZ #3976]
32366         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32367         (__sin): Save and restore rounding mode and use round-to-nearest
32368         for all computations.
32369         (__cos): Save and restore rounding mode and use round-to-nearest
32370         for all computations.
32371         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32372         <fenv.h>.
32373         (tan): Save and restore rounding mode and use round-to-nearest for
32374         all computations.
32375         * math/libm-test.inc (cos_test_tonearest): New function.
32376         (cos_test_towardzero): Likewise.
32377         (cos_test_downward): Likewise.
32378         (cos_test_upward): Likewise.
32379         (sin_test_tonearest): Likewise.
32380         (sin_test_towardzero): Likewise.
32381         (sin_test_downward): Likewise.
32382         (sin_test_upward): Likewise.
32383         (tan_test_tonearest): Likewise.
32384         (tan_test_towardzero): Likewise.
32385         (tan_test_downward): Likewise.
32386         (tan_test_upward): Likewise.
32387         (main): Call the new functions.
32388         * sysdeps/i386/fpu/libm-test-ulps: Update.
32389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32391         [BZ #10135]
32392         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32393         small n, then large n, before computing and testing k+n.
32394         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32395         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32396         Likewise.
32397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32398         Likewise.
32399         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32400         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32402         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32405         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32407         * math/libm-test.inc (scalbn_test): Add more tests.
32408         (scalbln_test): Likewise.
32410         * manual/filesys.texi (mode_t): Describe constraints on size and
32411         signedness, not exact equivalence to a particular type.
32412         (ino_t): Likewise.
32413         (ino64_t): Likewise.
32414         (dev_t): Likewise.
32415         (nlink_t): Likewise.
32416         (blkcnt_t): Likewise.
32417         (blkcnt64_t): Likewise.
32418         * manual/llio.texi (off_t): Likewise.
32420         [BZ #3976]
32421         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32422         (__ieee754_exp): Save and restore rounding mode and use
32423         round-to-nearest for all computations.
32424         * math/libm-test.inc (exp_test_tonearest): New function.
32425         (exp_test_towardzero): Likewise.
32426         (exp_test_downward): Likewise.
32427         (exp_test_upward): Likewise.
32428         (main): Call the new functions.
32429         * sysdeps/i386/fpu/libm-test-ulps: Update.
32430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32432 2012-03-01  Chris Demetriou  <cgd@google.com>
32434         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32435         have predictable order.
32437 2012-03-01  David S. Miller  <davem@davemloft.net>
32439         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32441         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32442         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
32443         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
32444         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
32446         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
32447         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
32448         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
32449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
32450         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
32451         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
32452         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
32453         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
32454         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
32456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
32459         * sysdeps/sparc/fpu/libm-test-ulps: to here.
32460         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
32462         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32463         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32464         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32465         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
32466         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
32467         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
32468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
32469         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32470         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32471         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
32472         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
32473         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32475         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32476         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32478         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
32479         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
32480         * sysdeps/sparc/elf/configure: Regenerated.
32482 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
32484         * configure.in (AS, LD): Require binutils 2.20 or later.
32485         * configure: Regenerated.
32486         * manual/install.texi (Tools for Compilation): Give binutils 2.20
32487         as required minimum version.
32488         * INSTALL: Regenerated.
32490         [BZ #2541]
32491         [BZ #4108]
32492         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
32493         before squaring exponent.
32494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
32495         bottom long double and 27 bits of top long double before squaring
32496         exponent.
32497         * math/libm-test.inc (erfc_test): Add more tests.
32498         * sysdeps/i386/fpu/libm-test-ulps: Update.
32499         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32502 2012-03-01  Kai Tietz  <ktietz@redhat.com>
32504         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
32505         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
32506         containing bit-fields.
32507         * soft-fp/extended.h (_FP_UNION_E): Likewise.
32508         * soft-fp/single.h (_FP_UNION_S): Likewise.
32509         * soft-fp/double.h (_FP_UNION_D): Likewise.
32511 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32513         [BZ #13786]
32514         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
32515         not include ../strcmp.S.
32516         [USE_AS_STRNCASECMP_L]: Likewise.
32517         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
32518         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
32519         * sysdeps/i386/i686/multiarch/strncase_l-c.c
32520         (__strncasecmp_l_ia32): Define as alias to
32521         __strncasecmp_l_nonascii.
32523         [BZ #5794]
32524         * math/libm-test.inc (expm1_test): Add test for bug 5794.
32525         * sysdeps/i386/fpu/libm-test-ulps: Update.
32526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32528         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
32529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32531 2012-02-29  Jeff Law  <law@redhat.com>
32533         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
32534         out of bounds read.
32536 2012-02-29  Marek Polacek  <polacek@redhat.com>
32538         [BZ #13706]
32539         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
32540         * elf/Makefile: Add rules to run tst-unused-dep.out.
32542 2012-02-28  David S. Miller  <davem@davemloft.net>
32544         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
32545         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
32546         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
32547         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
32548         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
32549         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
32551 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32553         * math/libm-test.inc (llround_test): Move one test from
32554         lround_test.  Use TEST_f_L in moved test.
32555         (lround_test): Move misplaced test to llround_test.  Add testcase
32556         from bug 2561.
32558 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
32560         * sysdeps/x86_64/fpu/e_expf.S: New file.
32561         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
32563 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
32565         [BZ #13637]
32566         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
32567         of remain_len that may cause incomplete multi-byte character and
32568         false match.
32569         * posix/bug-regex33.c: New file.
32570         * posix/Makefile (tests): Add bug-regex33.
32572 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
32574         * manual/macros.texi: New file.
32575         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
32576         * manual/libc.texinfo: Include macros.texi.
32577         * manual/creatute.texi: Likewise.
32578         * manual/install.texi: Likewise.
32579         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
32580         @glibcadj{} in references to the GNU C Library.
32581         * manual/charset.texi: Likewise.
32582         * manual/conf.texi: Likewise.
32583         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
32584         when not using those macros.
32585         * manual/creature.texi: Likewise.
32586         * manual/crypt.texi: Likewise.
32587         * manual/errno.texi: Likewise.
32588         * manual/filesys.texi: Likewise.
32589         * manual/header.texi: Likewise.
32590         * manual/install.texi: Likewise.
32591         * manual/intro.texi: Likewise.
32592         * manual/io.texi: Likewise.
32593         * manual/job.texi: Likewise.
32594         * manual/lang.texi: Likewise.
32595         * manual/libc.texiinfo: Likewise.
32596         * manual/llio.texi: Likewise.
32597         * manual/locale.texi: Likewise.
32598         * manual/maint.texi: Likewise.
32599         * manual/math.texi: Likewise.
32600         * manual/memory.texi: Likewise.
32601         * manual/message.texi: Likewise.
32602         * manual/nss.texi: Likewise.
32603         * manual/pattern.texi: Likewise.
32604         * manual/process.texi: Likewise.
32605         * manual/resource.texi: Likewise.
32606         * manual/search.texi: Likewise.
32607         * manual/setjmp.texi: Likewise.
32608         * manual/signal.texi: Likewise.
32609         * manual/socket.texi: Likewise.
32610         * manual/startup.texi: Likewise.
32611         * manual/stdio.texi: Likewise.
32612         * manual/string.texi: Likewise.
32613         * manual/sysinfo.texi: Likewise.
32614         * manual/syslog.texi: Likewise.
32615         * manual/terminal.texi: Likewise.
32616         * manual/time.texi: Likewise.
32617         * manual/users.texi: Likewise.
32618         * INSTALL: Regenerated.
32619         * NOTES: Regenerated.
32620         * sysdeps/gnu/errlist.c: Regenerated.
32622 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
32624         * include/dirent.h: Include <dirstream.h> before
32625         <dirent/dirent.h>.
32627 2012-02-28  David S. Miller  <davem@davemloft.net>
32629         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
32630         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
32631         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
32632         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
32634 2012-02-27  David S. Miller  <davem@davemloft.net>
32636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
32637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
32638         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
32639         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
32641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
32642         frame pointer instead of stack pointer relative arg slot.
32643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32644         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32645         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32647 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
32649         [BZ #3992]
32650         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
32652 2012-02-27  David S. Miller  <davem@davemloft.net>
32654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
32655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
32658         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32659         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32660         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
32661         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
32663 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32665         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
32666         later.  Allow versions 5-9.
32667         * configure: Regenerated.
32668         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
32669         required minimum version and 4.6 as recommended version.  Do not
32670         mention bugs in GCC 2.7 and 2.8.
32671         * INSTALL: Regenerated.
32673 2012-02-27  David S. Miller  <davem@davemloft.net>
32675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32679         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32680         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32681         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32682         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32685         manipulate bits before adding and subtracting TWO112[sx].
32686         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32688 2012-02-27  Roland McGrath  <roland@hack.frob.com>
32690         [BZ #13775]
32691         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32692         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32693         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32694         being in POSIX, because they are in 1003.1-2008.
32696         * rt/tst-aio.c: Include <fcntl.h>.
32697         * rt/tst-aio7.c: Likewise.
32698         * rt/tst-aio64.c: Likewise.
32700         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32702 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32704         * manual/install.texi (--with-headers): Describe headers as
32705         interface headers, not private headers.
32706         (Specific advice for GNU/Linux systems): Describe use of headers
32707         from "make headers_install", not private headers from older
32708         kernels.
32709         * INSTALL: Regenerated.
32710         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32711         Change to 2.6.19.
32712         * sysdeps/unix/sysv/linux/configure: Regenerated.
32714         * manual/llio.texi (fclean): Remove documentation.
32716         * manual/Makefile (libc-texi-generated): New variable.  Include
32717         version.texi.
32718         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32719         $(libc-texi-generated), not duplicated list of files.
32720         (version.texi, stamp-version): New rules.
32721         (realclean): Remove $(libc-texi-generated), not individual files
32722         from that list.  Do not remove dir-add.texinfo.
32723         * manual/libc.texinfo: Comment out uses of edition numbers and
32724         references to printed manual.  Remove last-updated dates.
32725         (EDITION): Comment out.
32726         (ISBN): Likewise.
32727         (VERSION, UPDATED): Remove.
32728         (version.texi): Include.
32730 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
32732         * sysdeps/posix/spawni.c: Include <signal.h>.
32733         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32734         * sysdeps/pthread/aio_fsync.c: Likewise.
32736 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
32738         * conform/Makefile (tests): Run only when not cross-compiling and
32739         when fast-check is not defined.
32741         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32742         * conform/data/limits.h-data: Fixes for POSIX2008.
32743         * conform/run-conformtest.sh: Run all tests.
32744         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32745         headers.
32746         * include/bits/dlfcn.h: Likewise.
32747         * include/langinfo.h: Likewise.
32748         * include/monetary.h: Likewise.
32749         * include/sys/poll.h: Likewise.
32751         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32752         for __USE_GNU.
32753         * posix/spawn.h: Define __need_sigset_t.
32754         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32755         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32756         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
32757         to get sigevent_t only.
32758         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32759         only for __USE_GNU.
32760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32761         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32762         process_vm_writev only for __USE_GNU.
32763         * termios/termios.h: Declare tcgetsid also for POSIX2008.
32765         * conform/Makefile: For now ignore errors from run-conformtest.
32766         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
32767         POSIX to avoid namespace pollution.  Don't prepend headers.
32768         * conform/data/aio.h-data: Fixes for POSIX testing.
32769         * conform/data/fcntl.h-data: Likewise.
32770         * conform/data/glob.h-data: Likewise.
32771         * conform/data/grp.h-data: Likewise.
32772         * conform/data/pthread.h-data: Likewise.
32773         * conform/data/pwd.h-data: Likewise.
32774         * conform/data/signal.h-data: Likewise.
32775         * conform/data/spawn.h-data: Likewise.
32776         * conform/data/stdio.h-data: Likewise.
32777         * conform/data/stdlib.h-data: Likewise.
32778         * conform/data/stropts.h-data: Likewise.
32779         * conform/data/sys/mman.h-data: Likewise.
32780         * conform/data/sys/stat.h-data: Likewise.
32781         * conform/data/sys/types.h-data: Likewise.
32782         * conform/data/sys/wait.h-data: Likewise.
32783         * conform/data/time.h-data: Likewise.
32784         * conform/data/unistd.h-data: Likewise.
32785         * conform/data/utime.h-data: Likewise.
32787         * io/sys/stat.h: fchmod was always in POSIX.
32788         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32789         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32790         * rt/aio.h: Define __need_timespec before including <time.h>.
32791         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32792         struct.  Add forward declaration of pthread_attr_t and use it in
32793         sigevent.
32794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32796         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32797         always remove CLK_TCK definition.
32799 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
32801         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32803 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
32805         * conform/run-conformtest.sh: New file.
32806         * conform/Makefile: Run run-conformtest for tests.
32807         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
32808         support.
32810         * conform/data/uchar.h-data: New file.
32811         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32812         * conform/data/arpa/inet.h-data: Likewise.
32813         * conform/data/assert.h-data: Likewise.
32814         * conform/data/complex.h-data: Likewise.
32815         * conform/data/cpio.h-data: Likewise.
32816         * conform/data/ctype.h-data: Likewise.
32817         * conform/data/dirent.h-data: Likewise.
32818         * conform/data/dlfcn.h-data: Likewise.
32819         * conform/data/errno.h-data: Likewise.
32820         * conform/data/fcntl.h-data: Likewise.
32821         * conform/data/float.h-data: Likewise.
32822         * conform/data/fmtmsg.h-data: Likewise.
32823         * conform/data/fnmatch.h-data: Likewise.
32824         * conform/data/ftw.h-data: Likewise.
32825         * conform/data/glob.h-data: Likewise.
32826         * conform/data/grp.h-data: Likewise.
32827         * conform/data/iconv.h-data: Likewise.
32828         * conform/data/inttypes.h-data: Likewise.
32829         * conform/data/langinfo.h-data: Likewise.
32830         * conform/data/libgen.h-data: Likewise.
32831         * conform/data/limits.h-data: Likewise.
32832         * conform/data/locale.h-data: Likewise.
32833         * conform/data/math.h-data: Likewise.
32834         * conform/data/monetary.h-data: Likewise.
32835         * conform/data/mqueue.h-data: Likewise.
32836         * conform/data/ndbm.h-data: Likewise.
32837         * conform/data/net/if.h-data: Likewise.
32838         * conform/data/netdb.h-data: Likewise.
32839         * conform/data/netinet/in.h-data: Likewise.
32840         * conform/data/nl_types.h-data: Likewise.
32841         * conform/data/poll.h-data: Likewise.
32842         * conform/data/pthread.h-data: Likewise.
32843         * conform/data/pwd.h-data: Likewise.
32844         * conform/data/regex.h-data: Likewise.
32845         * conform/data/sched.h-data: Likewise.
32846         * conform/data/search.h-data: Likewise.
32847         * conform/data/semaphore.h-data: Likewise.
32848         * conform/data/setjmp.h-data: Likewise.
32849         * conform/data/signal.h-data: Likewise.
32850         * conform/data/spawn.h-data: Likewise.
32851         * conform/data/stdarg.h-data: Likewise.
32852         * conform/data/stdio.h-data: Likewise.
32853         * conform/data/stdlib.h-data: Likewise.
32854         * conform/data/string.h-data: Likewise.
32855         * conform/data/strings.h-data: Likewise.
32856         * conform/data/stropts.h-data: Likewise.
32857         * conform/data/sys/ipc.h-data: Likewise.
32858         * conform/data/sys/mman.h-data: Likewise.
32859         * conform/data/sys/msg.h-data: Likewise.
32860         * conform/data/sys/resource.h-data: Likewise.
32861         * conform/data/sys/select.h-data: Likewise.
32862         * conform/data/sys/sem.h-data: Likewise.
32863         * conform/data/sys/shm.h-data: Likewise.
32864         * conform/data/sys/socket.h-data: Likewise.
32865         * conform/data/sys/stat.h-data: Likewise.
32866         * conform/data/sys/statvfs.h-data: Likewise.
32867         * conform/data/sys/time.h-data: Likewise.
32868         * conform/data/sys/timeb.h-data: Likewise.
32869         * conform/data/sys/times.h-data: Likewise.
32870         * conform/data/sys/types.h-data: Likewise.
32871         * conform/data/sys/uio.h-data: Likewise.
32872         * conform/data/sys/un.h-data: Likewise.
32873         * conform/data/sys/utsname.h-data: Likewise.
32874         * conform/data/sys/wait.h-data: Likewise.
32875         * conform/data/syslog.h-data: Likewise.
32876         * conform/data/tar.h-data: Likewise.
32877         * conform/data/termios.h-data: Likewise.
32878         * conform/data/utime.h-data: Likewise.
32879         * conform/data/utmpx.h-data: Likewise.
32880         * conform/data/varargs.h-data: Likewise.
32881         * conform/data/wchar.h-data: Likewise.
32882         * conform/data/wctype.h-data: Likewise.
32883         * conform/data/wordexp.h-data: Likewise.
32885         * include/stropts.h: New file.
32886         * include/uchar.h: New file.
32887         * include/aio.h: Changes to allow conformtest.pl to use the headers.
32888         * include/assert.h: Likewise.
32889         * include/ctype.h: Likewise.
32890         * include/dirent.h: Likewise.
32891         * include/dlfcn.h: Likewise.
32892         * include/fcntl.h: Likewise.
32893         * include/fnmatch.h: Likewise.
32894         * include/glob.h: Likewise.
32895         * include/grp.h: Likewise.
32896         * include/libio.h: Likewise.
32897         * include/locale.h: Likewise.
32898         * include/math.h: Likewise.
32899         * include/net/if.h: Likewise.
32900         * include/netdb.h: Likewise.
32901         * include/netinet/in.h: Likewise.
32902         * include/pthread.h: Likewise.
32903         * include/pwd.h: Likewise.
32904         * include/regex.h: Likewise.
32905         * include/sched.h: Likewise.
32906         * include/search.h: Likewise.
32907         * include/setjmp.h: Likewise.
32908         * include/signal.h: Likewise.
32909         * include/stdio.h: Likewise.
32910         * include/stdlib.h: Likewise.
32911         * include/string.h: Likewise.
32912         * include/sys/cdefs.h: Likewise.
32913         * include/sys/mman.h: Likewise.
32914         * include/sys/msg.h: Likewise.
32915         * include/sys/resource.h: Likewise.
32916         * include/sys/select.h: Likewise.
32917         * include/sys/socket.h: Likewise.
32918         * include/sys/stat.h: Likewise.
32919         * include/sys/statvfs.h: Likewise.
32920         * include/sys/time.h: Likewise.
32921         * include/sys/times.h: Likewise.
32922         * include/sys/uio.h: Likewise.
32923         * include/sys/utsname.h: Likewise.
32924         * include/sys/wait.h: Likewise.
32925         * include/termios.h: Likewise.
32926         * include/time.h: Likewise.
32927         * include/ulimit.h: Likewise.
32928         * include/unistd.h: Likewise.
32929         * include/utime.h: Likewise.
32930         * include/wchar.h: Likewise.
32931         * include/wctype.h: Likewise.
32932         * include/wordexp.h: Likewise.
32934         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32936         * time/time.h: TIME_UTC must be a macro.
32937         Make timespec_get available for ISO C11 only as well.
32939 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
32941         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32942         Reported by Peng Haitao <penght@cn.fujitsu.com>.
32944 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32946         * configure.in: Use -o not -a in test for unsupported multi-arch.
32948 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32950         * manual/texinfo.tex: Update to version 2012-01-19.16.
32952 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32954         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32956 2012-02-24  Roland McGrath  <roland@hack.frob.com>
32958         [BZ #13738]
32959         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32960         * manual/fdl-1.3.texi: New file.
32961         * manual/fdl-1.1.texi: File removed.
32963         [BZ #13738]
32964         * manual/libc.texinfo (FDL_VERSION): New @set.
32965         Use it for mention of FDL in cover text.
32966         (Documentation License): Use it in @include file name.
32968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32969             Roland McGrath  <roland@hack.frob.com>
32971         [BZ #5461]
32972         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32973         not LONG_LONG_MAX and LONG_LONG_MIN.
32974         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32975         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
32976         name.
32977         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32981         [BZ #2547]
32982         [BZ #11365]
32983         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32984         manipulate bits before adding and subtracting TWO23[sx].
32985         * math/libm-test.inc (nearbyint_test): Add more tests.
32987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32989         [BZ #2548]
32990         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32991         bits before adding and subtracting TWO23[sx].
32992         * math/libm-test.inc (rint_test): Add more tests.
32993         (rint_test_tonearest): Likewise.
32994         (rint_test_towardzero): Likewise.
32995         (rint_test_downward): Likewise.
32996         (rint_test_upward: Likewise.
32998 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33000         [BZ #10110]
33001         * include/stdc-predef.h: New file.  Extracted from features.h.
33002         * include/features.h: Include stdc-predef.h.
33003         * Makefile (headers): Add stdc-predef.h.
33004         * CONFORMANCE (Compiler limitations): Update.
33006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33008         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33010 2012-02-21  David S. Miller  <davem@davemloft.net>
33012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33015 2012-02-20  David S. Miller  <davem@davemloft.net>
33017         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33018         using a normal save/restore sequence, rather than allocating a
33019         dummy stack frame just to store a frame pointer and restore.
33020         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33024         * manual/install.texi: Fix stray word in line-wrapped comment.
33026 2012-02-20  David S. Miller  <davem@davemloft.net>
33028         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33029         both binutils and gcc support GOTDATA.
33031         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33032         "rd %pc" in the PIC register setup sequences.
33034         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33035         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33036         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33037         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33038         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33039         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33040         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33041         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33043         (SYSCALL_ERROR_HANDLER): Likewise.
33044         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33045         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33047         (SYSCALL_ERROR_HANDLER): Likewise.
33049         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33050         (HAVE_GCC_GOTDATA): New.
33051         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33052         relocation support in both binutils and gcc.
33053         * sysdeps/sparc/elf/configure: Regenerate.
33055         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33056         * sysdeps/sparc/sparc32/elf/configure: Delete.
33057         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33058         * sysdeps/sparc/sparc64/elf/configure: Delete.
33059         * sysdeps/sparc/elf/configure.in: New file.
33060         * sysdeps/sparc/elf/configure: Generate.
33062         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33063         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33064         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33065         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33066         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33068 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33070         * manual/install.texi: Do not mention specific glibc version
33071         numbers.
33072         * manual/libc.texinfo (VERSION, UPDATED): Update.
33073         (@copying): Use @copyright{} and range of years.
33075 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33077         [BZ #13695]
33078         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33079         [crti.S not in sysdirs] (generated): Do not append.
33080         [crti.S not in sysdirs] (omit-deps): Likewise.
33081         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33082         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33083         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33084         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33085         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33086         Likewise.
33087         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33088         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33089         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33090         * csu/defs.awk: Remove file.
33091         * sysdeps/generic/initfini.c: Likewise.
33092         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33093         variable.
33094         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33095         Likewise.
33097 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33099         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33100         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33101         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33103         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33104         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33105         <bits/epoll.h>.
33106         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33107         (__EPOLL_PACKED): Define to empty if not defined by
33108         <bits/epoll.h>.
33109         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33111         bits/epoll.h.
33113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33115         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33116         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33117         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33118         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33119         <bits/timerfd.h>.
33120         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33122         bits/timerfd.h.
33124 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33126         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33127         in C locale.
33128         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33129         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33130         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33133 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33138 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33140         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33141         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33142         defined.
33143         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33144         Likewise.
33145         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33146         entry for 2.16.
33148 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33150         * math/w_acos.c: Use non-signaling floating-point comparisons.
33151         * math/w_acosf.c: Likewise.
33152         * math/w_acosh.c: Likewise.
33153         * math/w_acoshf.c: Likewise.
33154         * math/w_acoshl.c: Likewise.
33155         * math/w_acosl.c: Likewise.
33156         * math/w_asin.c: Likewise.
33157         * math/w_asinf.c: Likewise.
33158         * math/w_asinl.c: Likewise.
33159         * math/w_atanh.c: Likewise.
33160         * math/w_atanhf.c: Likewise.
33161         * math/w_atanhl.c: Likewise.
33162         * math/w_exp2.c: Likewise.
33163         * math/w_exp2f.c: Likewise.
33164         * math/w_exp2l.c: Likewise.
33165         * math/w_j0.c: Likewise.
33166         * math/w_j0f.c: Likewise.
33167         * math/w_j0l.c: Likewise.
33168         * math/w_j1.c: Likewise.
33169         * math/w_j1f.c: Likewise.
33170         * math/w_j1l.c: Likewise.
33171         * math/w_jn.c: Likewise.
33172         * math/w_jnf.c: Likewise.
33173         * math/w_log.c: Likewise.
33174         * math/w_log10.c: Likewise.
33175         * math/w_log10f.c: Likewise.
33176         * math/w_log10l.c: Likewise.
33177         * math/w_log2.c: Likewise.
33178         * math/w_log2f.c: Likewise.
33179         * math/w_log2l.c: Likewise.
33180         * math/w_logf.c: Likewise.
33181         * math/w_logl.c: Likewise.
33182         * math/w_sqrt.c: Likewise.
33183         * math/w_sqrtf.c: Likewise.
33184         * math/w_sqrtl.c: Likewise.
33185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33186         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33187         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33188         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33189         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33191 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33193         [BZ #9739]
33194         * manual/string.texi (strnlen): Use correct parameter name in
33195         equivalent expression.
33197 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33199         [BZ #11174]
33200         * manual/users.texi (seteuid): Consistently use neweuid for
33201         argument name.
33203 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33205         [BZ #13704]
33206         * manual/nss.texi (Services in the NSS configuration): Correct
33207         list of services in example configuration file.
33209 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33211         [BZ #11322]
33212         * manual/arith.texi: Remove statements about negative zero
33213         behaving identically to zero.
33215 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33217         [BZ #5993]
33218         * manual/install.texi: Do not document upgrading from libc5.
33220 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33222         [BZ #4596]
33223         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33225 2012-02-18  David S. Miller  <davem@davemloft.net>
33227         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33228         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33229         %o7 across the call.
33230         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33231         instead.
33232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33233         SETUP_PIC_REG_LEAF.
33234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33235         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33236         * sysdeps/sparc/crtn.S: Likewise.
33238 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33240         * aout/Makefile: Remove.
33242 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33244         [BZ #13058]
33245         * manual/examples/argp-ex1.c (main): Format definition in GNU
33246         style.
33247         * manual/examples/argp-ex2.c (main): Likewise.
33248         * manual/examples/argp-ex3.c (main): Likewise.
33249         * manual/examples/argp-ex4.c (main): Likewise.
33250         * manual/examples/longopt.c (main): Use new-style prototype
33251         definition.
33252         * manual/examples/strncat.c (main): Specify return type and use
33253         (void) for arguments.
33254         * manual/examples/subopt.c (main): Use char **argv argument.
33256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33258         [BZ #5077]
33259         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33260         rounding modes.
33262 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33264         [BZ #6907]
33265         * manual/string.texi (strchr): Change when strchrnul is
33266         recommended.
33268 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33270         [BZ #174]
33271         * manual/locale.texi (setlocale): Document LOCPATH.
33273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33275         [BZ #10210]
33276         * manual/process.texi (execle): Move @dots{} before last argument.
33278 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33280         [BZ #12047]
33281         * manual/charset.texi (Generic Charset Conversion): Fix typo
33282         (LC_TYPE -> LC_CTYPE).
33284 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33286         [BZ #5805]
33287         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33288         (scalbnf): Likewise.
33289         (scalbnl): Likewise.
33290         (scalbln): Likewise.
33291         (scalblnf): Likewise.
33292         (scalblnl): Likewise.
33293         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33294         (vwarnx): Likewise.
33295         (verr): Likewise.
33296         (verrx): Likewise.
33297         * manual/filesys.texi (telldir): Use braces around return type.
33298         * manual/llio.texi (mmap): Add space after comma.
33299         (mmap64): Likewise.
33300         * manual/math.texi (jn): Use @var{} on parameter names.
33301         (jnf): Likewise.
33302         (jnl): Likewise.
33303         (yn): Likewise.
33304         (ynf): Likewise.
33305         (ynl): Likewise.
33306         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33307         line.
33308         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33309         "...".
33310         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33311         (sched_get_priority_max): Likewise.
33312         * manual/signal.texi (sigvec): Add space after comma.
33313         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33314         names.
33315         (if_indextoname): Likewise.
33316         (if_freenameindex): Likewise.
33317         (sendto): Use ',' instead of '.' in prototype.
33318         * manual/startup.texi (syscall): Use @dots{} instead of literal
33319         "...".
33320         * manual/stdio.texi (__fpending): Separate initial words of
33321         paragraph from @deftypefun line.
33322         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33323         "...".
33324         (vsyslog): Use @var{} on parameter names.
33325         * manual/terminal.texi (stty): Use @var{} on parameter names.
33326         * manual/users.texi (getutmp): Use @var{} on parameter names.
33327         (getutmpx): Likewise.
33329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33331         [BZ #6884]
33332         * manual/stdio.texi (fopen): Fix typos in description of
33333         ",ccs=STRING".
33335 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33337         [BZ #4026]
33338         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33339         get clock_id definition.
33341 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33343         [BZ #4822]
33344         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33345         (madvise): Cast every argument to void on its own.
33347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33349         [BZ #9902]
33350         * manual/startup.texi (Exit Status): Fix typo.
33352 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33354         [BZ #10140]
33355         * manual/examples/argp-ex1.c: Include <stdlib.h>.
33356         * manual/examples/argp-ex2.c: Likewise.
33357         * manual/examples/argp-ex3.c: Likewise.
33359 2012-02-16  Richard Henderson  <rth@redhat.com>
33361         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33362         * sysdeps/s390/s390-32/initfini.c: Remove.
33363         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33364         * sysdeps/s390/s390-64/initfini.c: Remove.
33366 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33368         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33369         compiler output for sysdeps/generic/initfini.c.
33370         * sysdeps/sh/elf/initfini.c: Remove file.
33372 2012-02-16  David S. Miller  <davem@davemloft.net>
33374         [BZ #11494]
33375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33377         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33378         * sysdeps/sparc/crti.S: New file.
33379         * sysdeps/sparc/crtn.S: New file.
33380         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33381         * sysdeps/sparc/sparc64/Makefile: Likewise.
33383 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
33385         [BZ #3335]
33386         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33388 2012-02-15  Roland McGrath  <roland@hack.frob.com>
33390         [BZ #4822]
33391         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33393         * mach/devstream.c (cookie_io_functions_t): Macro removed.
33394         (write, read, close): Likewise.
33395         Patch by Aurelien Jarno <aurelien@aurel32.net>.
33397 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
33399         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33400         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33401         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33402         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33403         <bits/signalfd.h>.
33404         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33406         bits/signalfd.h.
33408 2012-02-14  Marek Polacek  <polacek@redhat.com>
33410         * sysdeps/x86_64/crti.S: New file.
33411         * sysdeps/x86_64/crtn.S: New file.
33412         * sysdeps/x86_64/elf/initfini.c: Remove file.
33414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33416         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33417         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33418         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33419         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33420         <bits/inotify.h>.
33421         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33423         bits/inotify.h.
33425 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33427         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33428         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33429         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33430         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33431         <bits/eventfd.h>.
33432         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33434         bits/eventfd.h.
33436 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
33438         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33439         __feraiseexcept instead of feraiseexcept.
33441         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33442         nanosleep invocations.
33443         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
33444         strings, and add error checking for a nanosleep invocations.
33446 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
33448         Replace FSF snail mail address with URLs, as per GNU coding standards.
33449         Most of the snail mail addresses were wrong anyway, and omitting
33450         them makes the source code easier to maintain.  Almost all of the
33451         changes are to license notices and to locale LC_IDENTIFICATION
33452         addresses, except for this one:
33453         * manual/libc.texinfo: In "Published by", give the FSF's URL,
33454         not its snail mail address.
33456 2012-02-09  Richard Henderson  <rth@twiddle.net>
33458         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
33459         of kernel-features.h.
33461         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
33463 2012-02-08  Marek Polacek  <polacek@redhat.com>
33465         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
33466         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
33467         * sysdeps/gnu/_G_config.h: Likewise.
33468         * sysdeps/generic/_G_config.h: Likewise.
33470 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
33472         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
33473         tests.
33474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33476         * sysdeps/powerpc/powerpc32/crti.S: New file.
33477         * sysdeps/powerpc/powerpc32/crtn.S: New file.
33478         * sysdeps/powerpc/powerpc64/crti.S: New file.
33479         * sysdeps/powerpc/powerpc64/crtn.S: New file.
33481         * Makeconfig (have-initfini): Don't set.
33482         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
33483         * configure.in (nopic_initfini): Don't substitute.
33484         * config.h.in (HAVE_INITFINI): Don't #undef.
33485         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
33486         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
33488 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
33490         Support crti.S and crtn.S provided directly by architectures.
33491         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
33492         [crti.S in sysdirs] (omit-deps): Likewise.
33493         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
33494         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
33495         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
33496         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
33497         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
33498         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
33499         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
33500         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
33501         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
33502         compiler output for sysdeps/generic/initfini.c.
33503         * sysdeps/i386/elf/Makefile: Remove file.
33504         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
33506 2012-02-07  Marek Polacek  <polacek@redhat.com>
33508         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
33509         * sysdeps/gnu/_G_config.h: Likewise.
33510         * sysdeps/mach/hurd/_G_config.h: Likewise.
33512 2012-02-07  Marek Polacek  <polacek@redhat.com>
33514         * math/Makefile (tests): Add tst-CMPLX2.
33515         * math/tst-CMPLX2.c: New file.
33517 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
33519         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33521         * math/libm-test.inc (jn_test): Add missing L suffix.
33523 2012-02-06  Marek Polacek  <polacek@redhat.com>
33525         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
33526         * sysdeps/i386/fpu/e_powf.S: Likewise.
33527         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33530         * sysdeps/i386/fpu/e_pow.S: Likewise.
33531         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33533         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33534         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33535         * sysdeps/i386/fpu/e_log2.S: Likewise.
33536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33538         * sysdeps/i386/fpu/e_powl.S: Likewise.
33539         * sysdeps/i386/fpu/s_log1p.S: Likewise.
33540         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33541         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33542         * sysdeps/i386/fpu/e_logl.S: Likewise.
33543         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33544         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
33545         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33546         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33547         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33548         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33549         * sysdeps/i386/fpu/e_log.S: Likewise.
33550         * sysdeps/i386/fpu/s_cexp.S: Likewise.
33551         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33552         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
33553         * sysdeps/i386/fpu/e_logf.S: Likewise.
33554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33556         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
33557         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33558         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33559         * sysdeps/i386/fpu/e_log10.S: Likewise.
33560         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33561         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33562         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33563         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33564         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33565         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33566         * sysdeps/i386/asm-syntax.h: Likewise.
33567         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33568         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33570         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
33571         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
33572         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33573         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33574         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33575         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33576         * sysdeps/powerpc/sysdep.h: Likewise.
33577         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
33578         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33580 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33582         [BZ #411]
33583         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
33585 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33587         * sysdeps/i386/sysdep.h: Include <features.h>.
33588         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
33589         version.
33591 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
33593         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
33594         Define.
33595         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
33596         LOAD_PIC_REG_STR.
33598 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33600         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
33601         (SETUP_PIC_REG): Use GET_PC_THUNK.
33602         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
33603         macro.
33605 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33607         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
33608         for non-PIC compilation.
33609         (SETUP_PIC_REG): Add .p2align directive.
33610         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
33611         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33612         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33613         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33614         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33615         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33616         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33618         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33619         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33620         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33621         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33622         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33624         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33625         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33626         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33627         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33628         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33629         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33630         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33632         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33633         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33637         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33638         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33639         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33640         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33641         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33642         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33643         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33644         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33645         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33646         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33647         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33648         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33649         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33650         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33652 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33654         * math/tst-CMPLX.c: Include <stdio.h>.
33656 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
33658         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
33659         float.
33660         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33661         * sysdeps/sparc/bits/mathdef.h: Likewise.
33663 2012-01-31  Marek Polacek  <polacek@redhat.com>
33665         * libio/libio.h: Don't define _PARAMS.
33666         * locale/programs/config.h: Don't define PARAMS.
33667         * stdlib/strtol_l.c: Likewise.
33668         (__strtol_l): Remove PARAMS from the prototype.
33670 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
33672         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
33673         names.  Just use the correct names.  Remove unnecessary wrapper
33674         functions.
33675         * malloc/arena.c: Likewise.
33676         * malloc/hooks.c: Likewise.
33678         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33679         ARENA_TEST says not to.  Simplify test for creation of a new arena.
33680         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33682 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
33684         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33685         into tail calls.
33686         (update_get_addr): New function.
33687         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33688         GET_ADDR_MODULE parameter.
33690 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33692         * crypt/cert.c: Remove __STDC__ conditionals.
33693         * crypt/crypt-entry.c: Likewise.
33694         * crypt/crypt_util.c: Likewise.
33695         * libio/filedoalloc.c: Likewise.
33696         * libio/fileops.c: Likewise.
33697         * libio/genops.c: Likewise.
33698         * libio/iofclose.c: Likewise.
33699         * libio/iofdopen.c: Likewise.
33700         * libio/iofopen.c: Likewise.
33701         * libio/iofopen64.c: Likewise.
33702         * libio/iogetdelim.c: Likewise.
33703         * libio/iopopen.c: Likewise.
33704         * libio/obprintf.c: Likewise.
33705         * libio/oldfileops.c: Likewise.
33706         * libio/oldiofclose.c: Likewise.
33707         * libio/oldiofdopen.c: Likewise.
33708         * libio/oldiofopen.c: Likewise.
33709         * libio/oldiopopen.c: Likewise.
33710         * libio/wfiledoalloc.c: Likewise.
33711         * libio/wgenops.c: Likewise.
33712         * locale/programs/xmalloc.c: Likewise.
33713         * misc/syslog.c: Likewise.
33714         * stdio-common/xbug.c: Likewise.
33715         * string/memchr.c: Likewise.
33716         * string/memcmp.c: Likewise.
33717         * string/memrchr.c: Likewise.
33718         * string/rawmemchr.c: Likewise.
33719         * sysdeps/posix/getcwd.c: Likewise.
33720         * time/strftime_l.c: Likewise.
33722 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33724         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33725         * config.make.in (config-cflags-sse2avx): Define.
33726         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33727         Fix typo.
33729 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
33731         * scripts/config.guess: Update from upstream config git repository.
33732         * scripts/config.sub: Likewise.
33734 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
33736         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33737         (EM_NUM): Update.
33738         (R_TILEPRO_*, R_TILEGX_*): New macros.
33740         * scripts/firstversions.awk: Fix bug in version range handling.
33742         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33746         * include/sys/epoll.h: New file.
33747         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33748         libc_hidden_def.
33750 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
33752         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33753         Avoid unnecessary __WORDSIZE == 64 test.
33754         (fmaxf): Use VEX format if possible.
33755         (fmax): Likewise.
33756         (fminf): Likewise.
33757         (fmin): Likewise.
33759         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33760         * math/math_private.h: Remove libc_fegetround* and
33761         libc_fesetround*.
33762         * sysdeps/i386/configure.in: Check for -msse2avx.
33763         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33764         also if SSE2AVX is defined.
33765         Remove libc_fegetround* and libc_fesetround*.
33766         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33767         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
33768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33769         of HAS_YMM_USABLE.
33770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33772         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33773         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33776         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33778 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33780         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33781         size is not set.
33782         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33784 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
33786         [BZ #13618]
33787         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33788         relocation.
33789         * Makeconfig (libm): Define.
33790         * elf/Makefile: Add rules to build and run tst-relsort1.
33791         * elf/tst-relsort1.c: New file.
33792         * elf/tst-relsort1mod1.c: New file.
33793         * elf/tst-relsort1mod2.c: New file.
33795 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
33797         * math/s_ldexp.c: Remove __STDC__ conditionals.
33798         * math/s_ldexpf.c: Likewise.
33799         * math/s_ldexpl.c: Likewise.
33800         * math/s_nextafter.c: Likewise.
33801         * math/s_nexttowardf.c: Likewise.
33802         * math/s_significand.c: Likewise.
33803         * math/s_significandf.c: Likewise.
33804         * math/s_significandl.c: Likewise.
33805         * math/w_jnl.c: Likewise.
33806         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33807         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33808         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33809         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33810         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33812         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33813         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33815         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33820         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33821         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33822         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33825         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33826         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33827         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33828         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33830         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33831         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33832         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33833         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33834         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33835         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33836         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33837         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33838         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33840         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33841         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33842         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33843         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33844         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33845         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33846         * sysdeps/ieee754/k_standard.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33848         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33849         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33854         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33855         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33856         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33858         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33859         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33860         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33861         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33863         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33864         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33865         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33866         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33867         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33869         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33870         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33871         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33872         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33879         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33884         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33885         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33887         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33889         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33890         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33891         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33893         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33894         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33896         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33897         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33900         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33901         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33902         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33903         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33905         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33907         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33908         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33909         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33910         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33911         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33912         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33913         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33914         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33915         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33916         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33917         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33918         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33919         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33922         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33923         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33924         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33926         * sysdeps/ieee754/s_matherr.c: Likewise.
33927         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33928         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33929         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33932 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33934         * crypt/md5.h: Remove __STDC__ conditionals.
33935         * libio/libioP.h: Likewise.
33936         * locale/programs/config.h: Likewise.
33937         * sysdeps/generic/sysdep.h: Likewise.
33938         * sysdeps/i386/asm-syntax.h: Likewise.
33939         * sysdeps/s390/asm-syntax.h: Likewise.
33940         * sysdeps/unix/sysdep.h: Likewise.
33941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33944 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33946         * libio/libio.h: Remove __STDC__ conditionals.
33947         * malloc/obstack.h: Likewise.
33948         * math/complex.h: Likewise.
33949         * math/math.h: Likewise.
33950         * sysdeps/generic/_G_config.h: Likewise.
33951         * sysdeps/gnu/_G_config.h: Likewise.
33952         * sysdeps/mach/hurd/_G_config.h: Likewise.
33953         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33954         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33955         * sysdeps/sparc/bits/mathdef.h: Likewise.
33957 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
33959         [BZ #13583]
33960         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33961         Clean up HAS_* macros.
33962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33963         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33964         possible.
33965         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33966         HAS_AVX.
33967         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33968         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33973 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
33975         * elf/tst-unique3.cc (gets): Remove declaration.
33976         * elf/tst-unique3lib.cc (gets): Likewise.
33977         * elf/tst-unique3lib2.cc (gets): Likewise.
33978         * elf/tst-unique4.cc (gets): Likewise.
33980 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
33982         * include/stdio.h: Add C++ protection.  Add gets declarations and
33983         definitions.
33984         * debug/tst-chk1.c: Don't declare gets here.
33985         * stdio-common/tst-gets.c: Likewise.
33987 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33989         * posix/glob: Remove directory.
33991 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33993         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33995 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
33997         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33998         of the non-standard EPFNOSUPPORT.
34000 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34002         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34003         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34004         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34006 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34008         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34010 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34012         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34013         transient errors.
34014         * nscd/grpcache.c (cache_addgr): Likewise.
34015         * nscd/hstcache.c (cache_addhst): Likewise.
34016         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34017         * nscd/pwdcache.c (cache_addpw): Likewise.
34018         * nscd/servicescache.c (cache_addserv): Likewise.
34020 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34022         * malloc/malloc.c: Various cleanups.
34023         * malloc/hooks.c: Likewise.
34025         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34026         * stdlib/bug-fmtmsg1.c: New file.
34028         * stdlib/fmtmsg.c (init): Add missing unlock.
34029         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34031 2012-01-12  Marek Polacek  <polacek@redhat.com>
34033         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34034         and _GNU_SOURCE.
34036 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34038         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34039         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34040         macro to ensure uniqueness of label name.
34041         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34042         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34044 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34046         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34048         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34049         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34050         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34053 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34055         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34057         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34058         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34059         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34061         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34063         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34064         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34065         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34068         * math/bits/math-finite.h: Add ldexp support.
34070 2012-01-10  Marek Polacek  <polacek@redhat.com>
34072         * locale/programs/localedef.h (show_archive_content): Add noreturn
34073         attribute.
34075 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34077         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34081         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34083         * io/Makefile (headers): Add bits/poll2.h.
34085 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34088         typo #include statement.
34090 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34092         * include/sys/cdefs.h: Define __attribute_alloc_size.
34093         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34094         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34095         * elf/pldd.c: Likewise.
34096         * iconv/iconv_charmap.c: Likewise.
34097         * iconv/iconvconfig.c: Likewise.
34098         * iconv/strtab.c: Likewise.
34099         * locale/programs/locale.c: Likewise.
34100         * locale/programs/localedef.h: Likewise.
34101         * locale/programs/simple-hash.c: Likewise.
34102         * nscd/nscd.h: Likewise.
34103         * nss/makedb.c: Likewise.
34104         * sysdeps/generic/ldconfig.h: Likewise.
34105         * locale/programs/localedef.c: Remove xmalloc prototype.
34106         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34108 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34110         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34111         appropriate.
34113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34115         * math/Makefile (tests): Add tst-CMPLX.
34116         * math/tst-CMPLX.c: New file.
34118         * math/complex.h (CMPLXL): Fix typo.
34120         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34121         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34122         GLIBC_2.16.
34123         * debug/tst-chk1.c: Add poll and ppoll tests.
34124         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34125         * include/sys/poll.h: Add hidden proto for ppoll.
34126         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34127         * sysdeps/mach/hurd/ppoll.c: Likewise.
34128         * io/ppoll.c: Likewise.
34129         * debug/poll_chk.c: New file.
34130         * debug/ppoll_chk.c: New file.
34131         * include/bits/poll2.h: New file.
34132         * io/bits/poll2.h: New file.
34134         [BZ #1350]
34135         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34137         * configure.in: static is always set to yes.  Remove.
34138         * config.make.in: Don't set build-static.
34139         * Makeconfig: Remove use of build-static.
34140         * dlfcn/Makefile: Likewise.
34141         * elf/Makefile: Likewise.
34142         * math/Makefile: Likewise.
34143         * misc/Makefile: Likewise.
34144         * nptl/Makefile: Likewise.
34145         * sysdeps/mach/hurd/Makefile: Likewise.
34147         * configure.in: PWD_P is not used anymore.
34148         * config.make.in: Remove PWD_P entry.
34150         * configure.in: Remove last remnants of RANLIB.
34151         No need to check for signed size_t anymore.
34152         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34153         and IA-64.
34154         Remove __builtin_expect test because we require at least gcc 3.4.
34155         * aclocal.m4: Likewise.
34157         * wcsmbs/mbrtoc16.c: Implement using towc function.
34158         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34159         * wcsmbs/wcsmbsload.c: Likewise.
34160         * iconv/gconv_simple.c: Likewise.
34161         * iconv/gconv_int.h: Likewise.
34162         * iconv/gconv_builtin.h: Likewise.
34163         * iconv/iconv_prog.c: Remove CHAR16 handling.
34165         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34167         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34169         * configure.in: Remove --with-elf and --enable-bounded options.
34170         Dont set base_machine for ia64.  More non-ELF conditions removed.
34171         Remove testing and setting of leading underscore information.
34172         * config.make.in (build-bounded): Set to no.
34173         * config.h.in: Remove NO_UNDERSCORES entry.
34174         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34175         them.
34176         * csu/start.c: Remove !NO_UNDERSCORE code.
34177         * locale/localeinfo.h: Likewise.
34178         * sysdeps/generic/machine-gmon.h: Likewise.
34179         * sysdeps/generic/sysdep.h: Likewise.
34180         * sysdeps/i386/sysdep.h: Likewise.
34181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34182         * sysdeps/mach/sysdep.h: Likewise.
34183         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34184         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34185         * sysdeps/sh/sysdep.h: Likewise.
34186         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34187         * sysdeps/unix/i386/sysdep.S: Likewise.
34188         * sysdeps/unix/sparc/start.c: Likewise.
34189         * sysdeps/unix/sparc/sysdep.S: Likewise.
34190         * sysdeps/unix/sparc/sysdep.h: Likewise.
34191         * sysdeps/unix/start.c: Likewise.
34192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34193         * sysdeps/x86_64/sysdep.h: Likewise.
34195 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34197         [BZ #13553]
34198         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34199         for non-gcc.
34200         * argp/argp-fmtstream.h: Use const instead __const.
34201         * argp/argp.h: Likewise.
34202         * assert/assert.h: Likewise.
34203         * bits/fenv.h: Likewise.
34204         * bits/sched.h: Likewise.
34205         * bits/sigset.h: Likewise.
34206         * bits/sigthread.h: Likewise.
34207         * catgets/nl_types.h: Likewise.
34208         * conform/data/pthread.h-data: Likewise.
34209         * crypt/crypt-private.h: Likewise.
34210         * crypt/crypt.h: Likewise.
34211         * crypt/crypt_util.c: Likewise.
34212         * ctype/ctype.h: Likewise.
34213         * debug/execinfo.h: Likewise.
34214         * debug/mbsnrtowcs_chk.c: Likewise.
34215         * debug/mbsrtowcs_chk.c: Likewise.
34216         * debug/wcsnrtombs_chk.c: Likewise.
34217         * debug/wcsrtombs_chk.c: Likewise.
34218         * debug/wcstombs_chk.c: Likewise.
34219         * dirent/dirent.h: Likewise.
34220         * dlfcn/dlfcn.h: Likewise.
34221         * elf/neededtest4.c: Likewise.
34222         * grp/grp.h: Likewise.
34223         * gshadow/gshadow.h: Likewise.
34224         * iconv/gconv.h: Likewise.
34225         * iconv/gconv_int.h: Likewise.
34226         * iconv/gconv_simple.c: Likewise.
34227         * iconv/iconv.h: Likewise.
34228         * iconv/loop.c: Likewise.
34229         * iconv/skeleton.c: Likewise.
34230         * include/aio.h: Likewise.
34231         * include/aliases.h: Likewise.
34232         * include/argz.h: Likewise.
34233         * include/arpa/inet.h: Likewise.
34234         * include/assert.h: Likewise.
34235         * include/dirent.h: Likewise.
34236         * include/dlfcn.h: Likewise.
34237         * include/execinfo.h: Likewise.
34238         * include/fcntl.h: Likewise.
34239         * include/fenv.h: Likewise.
34240         * include/glob.h: Likewise.
34241         * include/grp.h: Likewise.
34242         * include/libintl.h: Likewise.
34243         * include/mntent.h: Likewise.
34244         * include/netdb.h: Likewise.
34245         * include/pwd.h: Likewise.
34246         * include/rpc/netdb.h: Likewise.
34247         * include/sched.h: Likewise.
34248         * include/search.h: Likewise.
34249         * include/shadow.h: Likewise.
34250         * include/signal.h: Likewise.
34251         * include/stdio.h: Likewise.
34252         * include/stdlib.h: Likewise.
34253         * include/string.h: Likewise.
34254         * include/sys/socket.h: Likewise.
34255         * include/sys/stat.h: Likewise.
34256         * include/sys/statfs.h: Likewise.
34257         * include/sys/statvfs.h: Likewise.
34258         * include/sys/syslog.h: Likewise.
34259         * include/sys/time.h: Likewise.
34260         * include/sys/uio.h: Likewise.
34261         * include/time.h: Likewise.
34262         * include/unistd.h: Likewise.
34263         * include/utmp.h: Likewise.
34264         * include/wchar.h: Likewise.
34265         * include/wctype.h: Likewise.
34266         * inet/aliases.h: Likewise.
34267         * inet/arpa/inet.h: Likewise.
34268         * inet/netinet/ether.h: Likewise.
34269         * inet/netinet/in.h: Likewise.
34270         * intl/libintl.h: Likewise.
34271         * io/bits/fcntl2.h: Likewise.
34272         * io/fcntl.h: Likewise.
34273         * io/ftw.h: Likewise.
34274         * io/sys/poll.h: Likewise.
34275         * io/sys/stat.h: Likewise.
34276         * io/sys/statfs.h: Likewise.
34277         * io/sys/statvfs.h: Likewise.
34278         * io/utime.h: Likewise.
34279         * libio/bits/stdio.h: Likewise.
34280         * libio/bits/stdio2.h: Likewise.
34281         * libio/libio.h: Likewise.
34282         * libio/libioP.h: Likewise.
34283         * libio/stdio.h: Likewise.
34284         * locale/lc-ctype.c: Likewise.
34285         * locale/locale.h: Likewise.
34286         * login/utmp.h: Likewise.
34287         * malloc/arena.c: Likewise.
34288         * malloc/malloc.c: Likewise.
34289         * malloc/malloc.h: Likewise.
34290         * malloc/mcheck.c: Likewise.
34291         * malloc/mtrace.c: Likewise.
34292         * math/bits/mathcalls.h: Likewise.
34293         * math/fenv.h: Likewise.
34294         * math/math_private.h: Likewise.
34295         * misc/bits/error.h: Likewise.
34296         * misc/bits/syslog.h: Likewise.
34297         * misc/err.h: Likewise.
34298         * misc/error.h: Likewise.
34299         * misc/fstab.h: Likewise.
34300         * misc/mntent.h: Likewise.
34301         * misc/regexp.h: Likewise.
34302         * misc/search.h: Likewise.
34303         * misc/sgtty.h: Likewise.
34304         * misc/sys/mman.h: Likewise.
34305         * misc/sys/syslog.h: Likewise.
34306         * misc/sys/uio.h: Likewise.
34307         * misc/sys/xattr.h: Likewise.
34308         * misc/ttyent.h: Likewise.
34309         * nis/rpcsvc/ypclnt.h: Likewise.
34310         * nss/nss.h: Likewise.
34311         * posix/bits/unistd.h: Likewise.
34312         * posix/fnmatch.h: Likewise.
34313         * posix/glob.h: Likewise.
34314         * posix/sched.h: Likewise.
34315         * posix/spawn.h: Likewise.
34316         * posix/sys/wait.h: Likewise.
34317         * posix/unistd.h: Likewise.
34318         * posix/wordexp.h: Likewise.
34319         * pwd/pwd.h: Likewise.
34320         * resolv/netdb.h: Likewise.
34321         * resource/sys/resource.h: Likewise.
34322         * rt/aio.h: Likewise.
34323         * rt/bits/mqueue2.h: Likewise.
34324         * rt/mqueue.h: Likewise.
34325         * shadow/shadow.h: Likewise.
34326         * signal/signal.h: Likewise.
34327         * socket/send.c: Likewise.
34328         * socket/sendto.c: Likewise.
34329         * socket/sys/socket.h: Likewise.
34330         * stdio-common/printf.h: Likewise.
34331         * stdlib/bits/stdlib.h: Likewise.
34332         * stdlib/fmtmsg.h: Likewise.
34333         * stdlib/monetary.h: Likewise.
34334         * stdlib/stdlib.h: Likewise.
34335         * stdlib/ucontext.h: Likewise.
34336         * streams/stropts.h: Likewise.
34337         * string/argz.h: Likewise.
34338         * string/bits/string2.h: Likewise.
34339         * string/string.h: Likewise.
34340         * string/strings.h: Likewise.
34341         * sunrpc/rpc/auth.h: Likewise.
34342         * sunrpc/rpc/auth_des.h: Likewise.
34343         * sunrpc/rpc/clnt.h: Likewise.
34344         * sunrpc/rpc/netdb.h: Likewise.
34345         * sunrpc/rpc/pmap_clnt.h: Likewise.
34346         * sunrpc/rpc/xdr.h: Likewise.
34347         * sysdeps/generic/inttypes.h: Likewise.
34348         * sysdeps/generic/net/if.h: Likewise.
34349         * sysdeps/generic/sys/swap.h: Likewise.
34350         * sysdeps/gnu/net/if.h: Likewise.
34351         * sysdeps/gnu/utmpx.h: Likewise.
34352         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34353         * sysdeps/i386/i486/bits/string.h: Likewise.
34354         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34355         * sysdeps/s390/bits/string.h: Likewise.
34356         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34357         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34358         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34359         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34360         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34361         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34362         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34363         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34364         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34365         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34366         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34368         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34369         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34370         * sysdeps/unix/sysv/linux/readv.c: Likewise.
34371         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34372         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34374         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34376         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34377         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34378         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34379         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34380         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34381         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34382         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34384         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34385         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34386         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34387         * sysvipc/sys/ipc.h: Likewise.
34388         * sysvipc/sys/msg.h: Likewise.
34389         * sysvipc/sys/sem.h: Likewise.
34390         * sysvipc/sys/shm.h: Likewise.
34391         * termios/termios.h: Likewise.
34392         * time/sys/time.h: Likewise.
34393         * time/time.h: Likewise.
34394         * wcsmbs/bits/wchar2.h: Likewise.
34395         * wcsmbs/uchar.h: Likewise.
34396         * wcsmbs/wchar.h: Likewise.
34397         * wctype/wctype.h: Likewise.
34399         [BZ #13551]
34400         * Makeconfig: Remove all but ELF support including AIX support.
34401         * Makerules: Likewise.
34402         * config.h.in: Likewise.
34403         * config.make.in: Likewise.
34404         * configure: Likewise.
34405         * configure.in: Likewise.
34406         * csu/Makefile: Likewise.
34407         * csu/version.c: Likewise.
34408         * debug/Makefile: Likewise.
34409         * dlfcn/Makefile: Likewise.
34410         * elf/Makefile: Likewise.
34411         * extra-lib.mk: Likewise.
34412         * iconv/Makefile: Likewise.
34413         * include/libc-symbols.h: Likewise.
34414         * include/shlib-compat.h: Likewise.
34415         * resolv/Makefile: Likewise.
34416         * resolv/res_libc.c: Likewise.
34417         * rt/Makefile: Likewise.
34418         * sysdeps/i386/asm-syntax.h: Likewise.
34419         * sysdeps/i386/sysdep.h: Likewise.
34420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34421         * sysdeps/mach/sysdep.h: Likewise.
34422         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34423         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34424         * sysdeps/s390/asm-syntax.h: Likewise.
34425         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34426         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34427         * sysdeps/sh/sysdep.h: Likewise.
34428         * sysdeps/unix/sparc/sysdep.h: Likewise.
34429         * sysdeps/wordsize-32/divdi3.c: Likewise.
34430         * sysdeps/x86_64/sysdep.h: Likewise.
34432         * argp/Versions: Remove _argp_unlock_xxx.
34434         [BZ #13559]
34435         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
34436         * abilist/libBrokenLocale.abilist: Likewise.
34437         * abilist/libanl.abilist: Likewise.
34438         * abilist/libc.abilist: Likewise.
34439         * abilist/libcrypt.abilist: Likewise.
34440         * abilist/libdl.abilist: Likewise.
34441         * abilist/libm.abilist: Likewise.
34442         * abilist/libnsl.abilist: Likewise.
34443         * abilist/libpthread.abilist: Likewise.
34444         * abilist/libresolv.abilist: Likewise.
34445         * abilist/librt.abilist: Likewise.
34446         * abilist/libthread_db.abilist: Likewise.
34447         * abilist/libutil.abilist: Likewise.
34448         * abilist/libnss_db.abilist: New file.
34450         * scripts/abilist.awk: Add support for indirect functions.
34452         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
34454         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
34456         * shlib-versions: Remove entries for ports architectures.
34458         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
34459         files in ports.
34460         * elf/stackguard-macros.h: Remove support for IA-64.
34461         * elf/tst-auditmod1.c: Likewise.
34462         * sysdeps/generic/ldsodefs.h: Likewise.
34464         * sysdeps/unix/sysv/linux/configure.in: Ports should define
34465         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
34466         configure files.
34468         [BZ #13552]
34469         * configure.in: Remove --enable-omitfp support.
34470         * FAQ.in: Adjust.
34471         * config.make.in: Likewise.
34472         * Makeconfig: Likewise.
34473         * manual/install.texi: Likewise.
34475         In case anyone cares, the IA-64 architecture could move to ports.
34476         * sysdeps/ia64/*: Removed.
34477         * sysdeps/unix/sysv/linux/ia64/*: Removed.
34478         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
34480         [BZ #13555]
34481         * configure.in: Remove entries for unsupported architectures.
34483         [BZ #13533]
34484         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
34485         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
34486         routines.
34487         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
34488         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
34489         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
34490         fall back to using wcrtomb.
34491         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
34492         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
34493         renaming.
34494         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
34495         * wcsmbs/tst-c16c32-1.c: New file.
34497         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
34498         local variable.
34500         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
34502         * elf/tst-unique3.cc: Add explicit declaration of gets.
34503         * elf/tst-unique3lib.cc: Likewise.
34504         * elf/tst-unique3lib2.cc: Likewise.
34505         * elf/tst-unique4.cc: Likewise.
34507         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
34509 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
34511         [BZ #13566]
34512         * assert/assert.h (static_assert): Don't define for C++.
34513         * libio/stdio.h (gets): Do declare for C++ <= C++11.
34514         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
34516 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
34518         * iconv/loop.c (single loop): Fix assertion in storing of
34519         remaining bytes.
34521         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
34523 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
34525         * posix/getconf.c: Update copyright year.
34526         * nss/getent.c: Likewise.
34527         * nss/makedb.c: Likewise.
34528         * iconv/iconvconfig.c: Likewise.
34529         * iconv/iconv_prog.c: Likewise.
34530         * elf/ldconfig.c: Likewise.
34531         * elf/pldd.c: Likewise.
34532         * elf/sotruss.ksh: Likewise.
34533         * catgets/gencat.c: Likewise.
34534         * csu/version.c: Likewise.
34535         * elf/ldd.bash.in: Likewise.
34536         * elf/sprof.c (print_version): Likewise.
34537         * locale/programs/locale.c: Likewise.
34538         * locale/programs/localedef.c: Likewise.
34539         * login/programs/pt_chown.c: Likewise.
34540         * nscd/nscd.c (print_version): Likewise.
34541         * debug/xtrace.sh: Likewise.
34542         * malloc/memusage.sh: Likewise.
34543         * malloc/mtrace.pl: Likewise.
34544         * debug/catchsegv.sh: Likewise.
34546 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
34548         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
34549         pure attribute.
34551 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
34553         [BZ #13533]
34554         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
34555         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
34556         transformations.
34557         * iconv/gconv_int.h: Likewise.
34558         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
34559         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
34560         from libc for GLIBC_2.16.
34561         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
34562         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
34563         * wcsmbs/uchar.h: Really define mbstate_t.
34564         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
34565         * wcsmbs/c16rtomb.c: New file.
34566         * wcsmbs/mbrtoc16.c: New file.
34567         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
34568         for C/POSIX locale.
34569         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
34570         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
34572         * wcsmbs/wchar.h: Add missing __restrict.
34574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34576         [BZ #13532]
34577         * time/Makefile (routines): Add timespec_get.
34578         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
34579         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
34580         timespec for ISO C11.
34581         * time/timespec_get.c: New file.
34582         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
34583         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
34585         [BZ #13531]
34586         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
34587         * stdlib/stdlib.h: Declare aligned_alloc.
34588         * Versions.def: Add GLIBC_2.16 for libc.
34589         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
34591         [BZ 13527]
34592         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
34593         ISO C11.
34595         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
34596         code.
34598         [BZ #13528]
34599         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
34601         [BZ #13529]
34602         * assert/assert.h (static_assert): Define.
34604         * version.h: Update for 2.16 development version.
34606         [BZ #13526]
34607         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
34608         _ISOC11_SOURCE.
34610         * version.h (RELEASE): Bump for 2.15 release.
34611         * include/features.h (__GLIBC_MINOR__): Bump to 15.
34613         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
34614         Patch by Marek Polacek <mpolacek@redhat.com>.
34616         * bits/byteswap.h: Protect long long constants with __extension__.
34617         * sysdeps/i386/bits/byteswap.h: Likewise.
34618         * sysdeps/ia64/bits/byteswap.h: Likewise.
34619         * sysdeps/s390/bits/byteswap.h: Likewise.
34620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34622 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34624         [BZ #13540]
34625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
34626         destination buffer.
34627         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34629 2011-12-23  Marek Polacek  <polacek@redhat.com>
34631         * elf/dl-addr.c (determine_info): Add inline keyword.
34632         * elf/tst-auditmod4b.c (check_avx): Likewise.
34633         * elf/tst-auditmod6b.c (check_avx): Likewise.
34634         * elf/tst-auditmod6c.c (check_avx): Likewise.
34635         * elf/tst-auditmod7b.c (check_avx): Likewise.
34637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34639         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
34640         !__SSE_MATH__.
34642 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34644         [BZ #13540]
34645         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
34646         processing for last bytes.
34648 2011-08-06  Bruno Haible  <bruno@clisp.org>
34650         [BZ #13061]
34651         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
34652         U+0385, not to U+1FEE.
34654         [BZ #13062]
34655         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
34656         entry for U+00A5 U+0301.
34658 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34660         [BZ #13166]
34661         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
34662         buffer for the output is too small.
34664         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
34665         optimization.
34667         [BZ #13185]
34668         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
34669         SSE flags if possible.
34671 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34673         [BZ #13540]
34674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34675         processing for last bytes.
34677 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
34679         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34680         (syscall-list-default-options, syscall-list-default-condition)
34681         (syscall-list-includes): Define.
34682         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34683         list of ABIs and options and #if conditions for each ABI.  Do not
34684         handle common syscalls between ABIs specially.
34685         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34686         Remove.
34687         (syscall-list-variants, syscall-list-32bit-options)
34688         (syscall-list-32bit-condition, syscall-list-64bit-options)
34689         (syscall-list-64bit-condition): Define.
34690         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34691         (syscall-list-variants, syscall-list-32bit-options)
34692         (syscall-list-32bit-condition, syscall-list-64bit-options)
34693         (syscall-list-64bit-condition): Define.
34694         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34695         Remove.
34696         (syscall-list-variants, syscall-list-32bit-options)
34697         (syscall-list-32bit-condition, syscall-list-64bit-options)
34698         (syscall-list-64bit-condition): Define.
34699         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34700         Remove.
34701         (syscall-list-variants, syscall-list-32bit-options)
34702         (syscall-list-32bit-condition, syscall-list-64bit-options)
34703         (syscall-list-64bit-condition): Define.
34705 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34707         * locale/iso-639.def: Add brx entry.
34709         [BZ #13328]
34710         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34711         Proposed by Mariusz_Cukr <marcukr@op.pl>.
34713         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34714         __feraiseexcept_renamed.
34716 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34718         [BZ #13538]
34719         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34720         EPOLLET with unsigned values.
34721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34724         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34725         to large cancellation.
34726         * math/s_cacoshf.c: Likewise.
34727         * math/s_cacoshl.c: Likewise.
34729 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
34731         [BZ #13305]
34732         [BZ #12786]
34733         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34734         * math/s_cacoshf.c: Likewise.
34735         * math/s_cacoshl.c: Likewise.
34737 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34739         [BZ #13439]
34740         * iconv/gconv.h: Define __GCONV_SWAP.
34741         * iconvdata/unicode.c: The swap bit must be stored in __flags.
34742         * iconvdata/utf-16.c: Likewise.
34743         * iconvdata/utf-32.c: Likewise.
34745 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34747         [BZ #13524]
34748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34749         numerator after shifting it by one limb.
34751 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
34753         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34754         under [__USE_EXTERN_INLINES].
34756 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34758         [BZ #13446]
34759         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34761 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34763         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34764         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34765         optimized code.
34766         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34767         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34768         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34769         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34770         for strncasecmp/strncasecmp_l compilation.
34771         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34772         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34774 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
34776         [BZ #13484]
34777         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34778         of __asm__.
34780 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34782         [BZ #13506]
34783         * time/tzfile.c (__tzfile_read): Check values from file header.
34785 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34787         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34788         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34789         * powerpc/powerpc32/dl-start.S: Likewise.
34790         * powerpc/powerpc32/elf/start.S: Likewise.
34791         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34792         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34793         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34794         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34795         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34796         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34797         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34798         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34799         * powerpc/powerpc32/fpu/s_round.S: Likewise.
34800         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34801         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34802         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34803         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34804         * powerpc/powerpc32/memset.S: Likewise.
34805         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34806         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34807         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34808         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34809         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34810         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34811         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34812         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34813         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34814         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34815         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34816         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34817         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34819 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34821         * math/libm-test.inc: Added more nearbyint tests.
34822         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34823         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34827 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
34829         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34830         FD_CLOEXEC.
34832 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34834         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34835         Add wcscpy-ssse3 wcscpy-c.
34836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34837         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34838         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34839         * sysdeps/x86_64/wcschr.S: New file.
34840         * sysdeps/x86_64/wcsrchr.S: New file.
34841         * string/test-strcmp.c: Remove checking of wcscmp function for
34842         wrong alignments.
34843         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34844         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34845         wcsrchr-sse2 wcsrchr-c.
34846         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34847         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34848         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34849         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34850         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34851         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34852         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34853         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34854         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34855         * wcsmbc/wcschr.c (WCSCHR): New macro.
34857 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34859         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34860         * wcsmbs/test-wcsrchr.c: New file.
34861         * string/test-strrchr.c: Add wcsrchr support.
34862         (WIDE): New macro.
34863         * wcsmbs/test-wcscpy.c: New file.
34864         * string/test-strcpy.c: Add wcscpy support.
34865         (WIDE): New macro.
34867 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
34869         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34870         the inner loop.
34872 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
34874         [BZ #13472]
34875         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34877 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
34879         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34880         Minor optimizations.
34882         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34883         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34884         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34886 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
34888         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34889         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34890         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34891         for gcc to avoid warnings.
34892         * inet/Makefile (tests): Add tst-checks.
34893         * inet/tst-checks.c: New file.
34895         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34896         warning.
34898         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34899         __wmemcmp_sse2.
34901         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34902         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34904         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34906 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
34908         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34909         problem.
34911         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34913 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
34915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34916         conditional on GCC version.
34917         (__arch_compare_and_exchange_val_8_acq)
34918         (__arch_compare_and_exchange_val_16_acq)
34919         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34920         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34921         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34923 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
34925         * sysdeps/sh/backtrace.c: New file.
34927 2011-12-02  Andreas Schwab  <schwab@redhat.com>
34929         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
34930         parenthesis.
34932 2011-12-01  Andreas Schwab  <schwab@redhat.com>
34934         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34935         falling back to utime.
34937 2011-11-30  Andreas Schwab  <schwab@redhat.com>
34939         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34940         expectations for float.
34942 2011-11-29  Andreas Schwab  <schwab@redhat.com>
34944         * locale/weight.h (findidx): Add parameter len.
34945         * locale/weightwc.h (findidx): Likewise.
34946         * posix/fnmatch_loop.c (FCT): Adjust caller.
34947         * posix/regcomp.c (build_equiv_class): Likewise.
34948         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34949         * posix/regexec.c (check_node_accept_bytes): Likewise.
34950         * string/strcoll_l.c (STRCOLL): Likewise.
34951         * string/strxfrm_l.c (STRXFRM): Likewise.
34953 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
34955         * Makefile.in: Remove CVSOPT handling.
34956         * configure.in: Remove use of AC_REVISION.
34957         * iconvdata/Makefile (distribute): No need to filter out CVS.
34958         * scripts/list-sources.sh: Remove CVS, subversion and monotone
34959         handling.
34961 2011-11-16  Andreas Schwab  <schwab@redhat.com>
34963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34964         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34965         [USE_AS_STRNCASECMP_L]: Likewise.
34966         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34967         NO_TLS_DIRECT_SEG_REFS.
34968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34969         Fix argument offsets for non-PIC.
34970         [USE_AS_STRNCASECMP_L]: Likewise.
34971         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34972         NO_TLS_DIRECT_SEG_REFS.
34974 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34976         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34977         O_CLOEXEC.
34978         * locale/loadlocale.c (_nl_load_locale): Likewise.
34980 2011-11-15  Andreas Schwab  <schwab@redhat.com>
34982         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34983         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34985         (SYSCALL_GETTIME): Set errno on error.
34987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34988         count references to noai6ai_cached.
34990 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34992         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34994         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34995         FD_CLOEXEC for /proc/self/maps.
34997         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34998         FD_CLOEXEC for /proc/meminfo.
35000         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35001         gai.conf.
35003         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35004         FD_CLOEXEC for given file.
35006         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35008         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35009         FD_CLOEXEC for /etc/hosts.
35010         (_gethtent): Likewise.
35012         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35014         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35015         cancellation and set FD_CLOEXEC for /etc/netgroup.
35017         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35018         reading /etc/publickey.
35020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35021         allow cancellation when reading /etc/group.
35023         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35024         cancellation.
35025         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35027         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35028         when using data file.
35030         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35032         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35033         (write_nis_obj): Use "c" and "e" in fopen.
35035         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35037         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35039         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35041         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35043         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35044         locale.alias.
35046         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35048         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35050         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35052         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35053         file parsing and set FD_CLOEXEC.
35055 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35057         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35059 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35061         * malloc/arena.c (arena_get2): Don't call reused_arena when
35062         _int_new_arena failed.
35064 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35066         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35067         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35069         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35072         to compile strcasecmp and strncasecmp.
35073         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35074         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35078 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35080         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35081         locale-defines.sym to gen-as-const-headers.
35082         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35083         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35085         to compile strcasecmp and strncasecmp.
35086         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35087         strcasecmp_l and strncasecmp_l.
35088         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35089         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35090         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35091         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35092         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35093         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35094         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35095         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35096         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35097         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35098         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35100 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35102         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35103         result of SYSDEP_GETTIME_CPU to retval.
35104         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35105         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35107         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35108         variable.
35110         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35111         mantissa words.
35112         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35115         from unused variable.
35117         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35118         DWARF definitions.
35119         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35120         for assembling.
35122         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35123         over namespaces.
35125         * sunrpc/rpc_prot.c (rejected): Fix case value.
35127         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35128         unsigned long long int to avoid warnings in shift.
35130         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35131         of use of trans.
35132         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35133         variable tmp.
35135         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35136         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35137         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35139         * nis/nis_table.c (nis_list): Use variable of correct type for
35140         result of __follow_path call.
35142 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35144         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35145         of math functions ceil, trunc, floor, round, and sqrt, when
35146         avaliable on the platform.
35147         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35148         name clash.
35149         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35150         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35151         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35153 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35155         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35158 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35160         * include/unistd.h: Fix __readlink return type.
35161         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35163 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35165         * stdlib/ucontext.h: Undo last change for makecontext.
35167 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35169         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35171         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35172         * setjmp/setjmp.h: Mark functions as non-leaf.
35173         * setjmp/bits/setjmp2.h: Likewise.
35174         * stdlib/ucontext.h: Likewise.
35176 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35178         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35179         (reused_arena): Don't check arena limit.
35180         (arena_get2): Atomically check arena limit.
35182 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35184         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35185         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35188         instructions.
35190 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35192         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35193         handler when locking.
35195         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35196         Fix size of allocated buffer.
35198 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35200         [BZ #10103]
35201         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35202         declarations for long double functions.
35203         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35205         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35207 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35209         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35210         installed.
35212         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35213         is disabled.
35215 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35217         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35219 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35221         * include/alloca.h (stackinfo_alloca_round): Define.
35222         (extend_alloca): Use it.
35223         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35224         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35225         here.
35227         * scripts/check-local-headers.sh: Ignore libaudit.h.
35229         * nscd/Makefile (extra-objs): Make recursively expanded.
35231 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35233         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35234         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35236         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35237         * posix/tst-rfc3484-2.c: Likewise.
35238         * posix/tst-rfc3484-3.c: Likewise.
35240         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35241         process_vm_writev.
35242         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35243         process_vm_writev.
35244         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35245         process_vm_writev from libc using GLIBC_2.15 version.
35247         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35249 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35251         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35252         stack usage.
35254 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35256         [BZ #13367]
35257         * nss/getent.c (initgroups_keys): Show error message in case no group
35258         names are given.
35260         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35261         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35262         __bump_nl_timestamp.
35263         * nscd/connections (nscd_init): When host database is served open
35264         netlink socket and request notification about configuration changes.
35265         (main_loop_poll): Track netlink file descriptor and bump timestamp
35266         in case data becomes available.
35267         (main_loop_epoll): Likewise.
35268         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35269         (database_pers_head): Add extra_data fileds.
35270         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35271         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35272         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35273         Adjust caller.
35274         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35275         in6ai data, call __free_in6ai.
35276         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35277         Add -DHAVE_NETLINK.
35278         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35279         interface information.  Reuse previous data if netlink timestamp
35280         is not changed.
35281         (__bump_nl_timestamp): New function.
35282         (__free_in6ai): New function.
35284 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35287         close_not_cancel_no_status here.
35288         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35290 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35292         [BZ #13276]
35293         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35294         return value.
35296         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35297         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35298         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35300 2011-07-03  Andreas Jaeger  <aj@suse.de>
35302         [BZ #10709]
35303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35304         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35305         * math/libm-test.inc (sin_test): Add test case.
35307 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35309         [BZ #13337]
35310         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35311         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35313         * elf/chroot_canon.c (chroot_canon): Cleanups.
35315         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35317         [BZ #13335]
35318         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35319         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35321         * string/test-strchr.c: Make usable for strchrnul testing.
35322         * string/test-strchrnul.c: New file.
35323         * string/Makefile (strop-tests): Add strchrnul.
35325         * po/it.po: Update from translation team.
35326         * po/es.po: Likewise.
35328 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35331         the three constants needed as parameters.  Drop the others.
35332         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35333         __m128i_strloadu_tolower.
35334         Create and initialize variable zero and use it in all the places
35335         where _mm_setzero_si128 was used.
35337         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35338         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35339         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35340         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35341         anymore.
35342         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35343         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35344         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35345         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35346         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35347         __mpranred, __mptan.
35348         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35349         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35350         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35351         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35352         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35353         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35356         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35358 2011-10-28  Andreas Schwab  <schwab@redhat.com>
35360         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35361         redefine if SHARED.
35362         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35365         wide char related routines to wcsmbs subdir.
35367 2011-10-27  Andreas Schwab  <schwab@redhat.com>
35369         [BZ #13344]
35370         * misc/sys/cdefs.h (__THROWNL): Define.
35371         * posix/unistd.h: Use __THREADNL instead of __THREAD
35372         for memory synchronization functions.
35374 2011-10-26  Roland McGrath  <roland@hack.frob.com>
35376         [BZ #13349]
35377         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35378         doesn't exist.
35379         * manual/stdio.texi (Obstack Streams): Node removed.
35381 2011-10-26  Andreas Schwab  <schwab@redhat.com>
35383         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35385         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35387         * math/math_private.h (math_force_eval): Allow non-addressable
35388         arguments.
35389         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35391 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35393         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35394         file is not needed.
35396         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35397         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35398         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35399         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35400         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35401         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35402         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35403         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35404         Add AVX variants.
35405         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35406         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35407         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35408         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35409         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35410         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35411         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35412         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35413         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35414         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35415         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35416         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35419         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35420         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35421         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35422         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35423         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35425         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35426         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
35428         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35429         place.  Use VEX encoding when compiling for AVX.
35431 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35433         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35434         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35436         * string/test-strchr.c (do_test): Don't generate NUL bytes.
35438 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35440         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35441         useless if() expression.
35442         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35443         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35445         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35448         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35451         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35452         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35453         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35454         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35455         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35456         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35457         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35458         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35459         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35460         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35462         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
35464 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35466         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
35467         condition.
35468         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35470 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35472         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
35473         .text section.  Avoid duplicate constants.
35474         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35476         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35478         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35482         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35483         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
35484         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35485         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35486         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35487         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35488         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35489         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35490         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35491         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35492         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35494         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35495         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35496         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35497         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
35498         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
35499         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
35500         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
35501         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
35502         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
35503         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
35504         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
35505         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
35506         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35507         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
35508         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
35509         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
35510         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
35511         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
35512         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
35513         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
35514         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
35515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
35516         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
35517         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
35518         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
35520 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
35522         * sysdeps/x86_64/dla.h: Move to ...
35523         * sysdeps/x86_64/fpu/dla.h: ...here.
35524         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
35525         situations.  Use __builtin_fma only for gcc 4.6 and up.
35527         * config.make.in: Add have-mfma4 entry.
35528         * configure.in: Substitute libc_cv_cc_fma4.
35529         * math/Makefile (dbl-only-routines): Add sincostab.
35530         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
35531         Use __sincostab not sincos.
35532         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
35533         name is a macro.
35534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
35538         using __copysign.
35539         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
35540         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
35541         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
35542         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
35543         and __inv.
35544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
35545         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
35546         __copysign.
35547         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
35548         define aliases when function name is a macro.
35549         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
35550         sysdeps/ieee754/dbl-64/sincos.tbl.
35551         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
35552         fma4-enabled routines.
35553         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
35554         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
35555         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
35556         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
35557         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
35558         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
35559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
35560         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
35561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
35562         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
35563         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
35564         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
35565         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
35566         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
35567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
35568         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
35569         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
35570         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
35571         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
35572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
35573         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
35574         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
35575         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
35576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
35577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
35578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
35579         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
35580         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
35581         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
35582         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
35584         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
35585         rename.
35586         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35587         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35592         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35595 2011-10-24  Andreas Schwab  <schwab@redhat.com>
35597         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
35599 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
35603         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
35604         prediction.
35605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
35607         * string/strnlen.c: Don't define STRNLEN, reverse logic.
35608         Remove unused variable magic_bits.
35609         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
35611         * string/strnlen.c: Define and use STRNLEN macro.
35612         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
35613         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
35614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
35615         * wcsmbs/wcslen.c: Define and use WCSLEN.
35616         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
35617         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
35618         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
35619         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
35620         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
35621         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
35622         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35624 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35627         strnlen-sse2-no-bsf.
35628         Rename strlen-no-bsf to strlen-sse2-no-bsf.
35629         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
35630         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
35631         Add strnlen support.
35632         (USE_AS_STRNLEN): New macro.
35633         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
35634         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
35635         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
35636         * sysdeps/x86_64/wcslen.S: New file.
35638 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
35640         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35641         XMM-moves are used for copying on small sizes.
35643 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35645         * wcsmbs/Makefile (strop-tests): Add wcschr.
35646         * wcsmbs/test-wcschr.c: New file.
35647         * string/test-strchr.c: Update.
35648         Add wcschr support.
35649         (WIDE): New macro.
35651 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35653         * wcsmbs/Makefile (strop-tests): Add wcslen.
35654         * wcsmbs/test-wcslen.c: New file.
35655         * string/test-strlen.c: Update.
35656         Add wcslen support.
35657         (WIDE): New macro.
35659 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35661         * po/it.po: Update from translation team.
35663 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35665         * sysdeps/x86_64/wcscmp.S: Update.
35666         Fix wrong comparison semantics.
35667         wcscmp shall use signed comparison not unsigned.
35668         Don't use substraction to avoid overflow bug.
35669         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35670         * wcsmbc/wcscmp.c: Likewise.
35671         * string/test-strcmp.c: Likewise.
35672         Add new tests to check cases with negative values.
35674 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35676         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35677         * sysdeps/x86_64/dla.h: ...here.  New file.
35678         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35679         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35681         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35682         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35683         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35688 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
35690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35691         __ynl_finite aliases.
35693 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35697         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35698         define DLA_FMA.
35699         [DLA_FMA] (EMULV): Use DLA_FMA.
35700         [DLA_FMA] (MUL12): Use EMULV.
35701         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35702         that are not needed.
35703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35707         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35708         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35711 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
35713         * math/s_nan.c: Undef __nan.
35714         * math/s_nanf.c: Undef __nanf.
35715         * math/s_nanl.c: Undef __nanl.
35716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35717         "math_private.h".
35719 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35721         * math/s_catan.c: Add branch predictions.
35722         * math/s_catanf.c: Likewise.
35723         * math/s_catanh.c: Likewise.
35724         * math/s_catanhf.c: Likewise.
35725         * math/s_catanhl.c: Likewise.
35726         * math/s_catanl.c: Likewise.
35727         * math/s_cexp.c: Likewise.
35728         * math/s_cexpf.c: Likewise.
35729         * math/s_cexpl.c: Likewise.
35730         * math/s_clog.c: Likewise.
35731         * math/s_clog10.c: Likewise.
35732         * math/s_clog10f.c: Likewise.
35733         * math/s_clog10l.c: Likewise.
35734         * math/s_clogf.c: Likewise.
35735         * math/s_clogl.c: Likewise.
35736         * math/s_csqrt.c: Likewise.
35737         * math/s_csqrtf.c: Likewise.
35738         * math/s_csqrtl.c: Likewise.
35739         * math/s_ctanf.c: Likewise.
35740         * math/s_ctanh.c: Likewise.
35741         * math/s_ctanhf.c: Likewise.
35742         * math/s_ctanhl.c: Likewise.
35743         * math/s_ctanl.c: Likewise.
35745         * math/math_private.h: Define __nan, __nanf, __nanl.
35746         * math/s_cacosh.c: Include <math_private.h>.
35747         * math/s_cacoshl.c: Likewise.
35748         * math/s_casinh.c: Likewise.
35749         * math/s_casinhf.c: Likewise.
35750         * math/s_casinhl.c: Likewise.
35751         * math/s_ccos.c: Rely entire on ccosh.
35752         * math/s_ccosf.c: Rely entire on ccoshf.
35753         * math/s_ccosl.c: Rely entirely on ccoshl.
35754         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
35755         Remove tests for FE_INVALID.
35756         * math/s_ccoshf.c: Likewise.
35757         * math/s_ccoshl.c: Likewise.
35758         * math/s_csin.c: Likewise.
35759         * math/s_csinf.c: Likewise.
35760         * math/s_csinh.c Likewise.
35761         * math/s_csinhf.c: Likewise.
35762         * math/s_csinhl.c: Likewise.
35763         * math/s_csinl.c: Likewise.
35764         * math/s_ctan.c: Likewise.
35765         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35766         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35767         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35769 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
35771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35772         compilation problems.
35774         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35775         __builtin_expect.
35777 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
35779         * sysdeps/i386/configure.in: Test for -mfma4 option.
35780         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35781         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35782         COMMON_CPUID_INDEX_80000001.
35783         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35784         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35785         use it if FMA3 is not supported.
35786         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35788         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35789         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35791 2011-10-20  Andreas Schwab  <schwab@redhat.com>
35793         [BZ #12892]
35794         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35795         it would create a cycle with a link time dependency.
35797 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
35799         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35800         instruction.
35801         * string/Makefile (strop-tests): Add rawmemchr.
35802         * string/test-rawmemchr.c: New file.
35804         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35805         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
35806         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
35807         when compiling str{,n}casecmp and when AVX is available.  Hook up
35808         new optimized code in initializers.
35810 2011-10-19  Andreas Schwab  <schwab@redhat.com>
35812         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35813         __feraiseexcept instead of feraiseexcept.
35815 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
35817         * math/math_private.h: Define defaults for libc_fetestexcept and
35818         libc_feupdateenv.
35819         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35820         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35821         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35822         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35823         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35824         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35825         libc_fetestexcept and libc_feupdateenv.
35827         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35828         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35829         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35830         * sysdeps/x86_64/fpu/math_private.h: Define special version of
35831         libc_feholdexcept_setround.
35833         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35834         Add s_nearbyint-c and s_nearbyintf-c.
35835         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35836         nearbyintf inlines.
35837         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35838         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35839         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35840         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35842         * math/math_private.h: Define defaults for libc_fegetround,
35843         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35844         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35845         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35847         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35848         standard functions.
35849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35850         Remove comments and hacks for old compiler versions.
35851         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35852         libc_fegetround, libc_fesetround, libc_feholdexcept, and
35853         libc_feholdexceptl.
35855 2011-10-18  Andreas Schwab  <schwab@redhat.com>
35857         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35858         (__feraiseexcept_renamed): Add __NTH.
35859         (feraiseexcept): Add __NTH.  Rename local variables to fix
35860         namespace violations.
35862 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
35864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35866         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35868         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35869         recently added interfaces.
35870         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35872         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35873         about macro parameter expansion.
35875         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35876         __NO_MATH_INLINES is defined.  Cleanups.
35878         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35879         and __floorf is target has SSE4.1.
35880         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35881         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35882         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35883         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35885         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35886         name.
35887         (floorf): Likewise.
35889         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35891 2011-10-17  Andreas Schwab  <schwab@redhat.com>
35893         * misc/sys/cdefs.h: Fix last change.
35895         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35896         database lookup.
35898 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
35900         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35902         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35903         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35905         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35906         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35907         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35908         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35909         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35910         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35911         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35912         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35913         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35914         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35915         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35916         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35917         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35918         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35919         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35920         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35921         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35922         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35923         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35925         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35926         ceil, ceilf, floor, floorf.
35928         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35929         Perform IRELATIVE relocations last.
35931         * elf/do-rel.h: Add another parameter nrelative, replacing the
35932         local variable with the same name.  Change name of the function
35933         to end in Rel or Rela (uppercase).
35934         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35935         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
35936         elf_dynamic_do_##reloc function.
35938 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35940         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35941         is sufficient, at least on modern CPUs.
35943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35945         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35948         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35949         __expl_finite.
35950         * math/bits/math-finite.h: Add entries for exp.
35951         * math/e_expl.c: Add __*_finite alias.
35952         * sysdeps/i386/fpu/e_exp.S: Likewise.
35953         * sysdeps/i386/fpu/e_expf.S: Likewise.
35954         * sysdeps/i386/fpu/e_expl.c: Likewise.
35955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35956         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35959         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35960         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35961         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35963         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35964         is sufficient, at least on modern CPUs.
35966         * ctype/ctype-info.c (__ctype_init): Define.
35967         * include/ctype.h (__ctype_init): Declare.
35968         (__ctype_b_loc): The variable is always initialized.
35969         (__ctype_toupper_loc): Likewise.
35970         (__ctype_tolower_loc): Likewise.
35971         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35972         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35974 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
35976         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35978         * configure.in: Also look in $cxxmachine/include for C++ system
35979         headers.
35981 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35983         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35984         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35985         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35986         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
35987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35988         (USE_AS_WMEMCMP): New macro.
35989         Fixing indents.
35990         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35991         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35992         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35993         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35994         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35995         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35996         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35997         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35998         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35999         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36000         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36001         (USE_AS_WMEMCMP): New macro.
36002         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36003         * sysdeps/string/test-memcmp.c: Update.
36004         Fix simple_wmemcmp.
36005         Add new tests.
36006         * wcsmbs/wmemcmp.c: Update.
36007         (WMEMCMP): New macro.
36008         Fix overflow bug.
36010 2011-10-12  Andreas Jaeger  <aj@suse.de>
36012         [BZ #13268]
36013         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36015 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36017         * libio/iofwide.c (do_length): Avoid warning.
36019         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36021 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36023         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36025         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36026         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36027         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36028         * sysdeps/i386/i686/fpu/e_log.S: New file.
36029         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36030         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36032         * ctype/ctype.h: Add support for inlined isXXX functions when
36033         compiling C++ code.
36035 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36037         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36039         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36041 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36043         [BZ #13291]
36044         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36046 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36049         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36050         feraiseexcept.
36052         * sysdeps/x86_64/memrchr.S: Check for zero size.
36054         * string/stratcliff.c: Add memrchr tests.
36056 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36059         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36060         rawmemchr-sse2 rawmemchr-sse2-bsf.
36061         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36062         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36063         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36064         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36065         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36066         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36067         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36068         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36069         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36070         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36071         * string/memrchr.c (MEMRCHR): New macro.
36073 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36075         Add integration with gcc's -ffinite-math-only and optimize wrapper
36076         functions in libm.
36077         * Versions.def: Define GLIBC_2.15 version for libm.
36078         * math/Makefile (headers): Add bits/math-finite.h.
36079         * math/bits/math-finite.h: New file.
36080         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36081         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36082         * math/e_acoshl.c: Add __*_finite alias.
36083         * math/e_acosl.c: Likewise.
36084         * math/e_asinl.c: Likewise.
36085         * math/e_atan2l.c: Likewise.
36086         * math/e_atanhl.c: Likewise.
36087         * math/e_coshl.c: Likewise.
36088         * math/e_exp10.c: Likewise.
36089         * math/e_exp10f.c: Likewise.
36090         * math/e_exp10l.c: Likewise.
36091         * math/e_exp2l.c: Likewise.
36092         * math/e_fmodl.c: Likewise.
36093         * math/e_gammal_r.c: Likewise.
36094         * math/e_hypotl.c: Likewise.
36095         * math/e_j0l.c: Likewise.
36096         * math/e_j1l.c: Likewise.
36097         * math/e_jnl.c: Likewise.
36098         * math/e_lgammal_r.c: Likewise.
36099         * math/e_log10l.c: Likewise.
36100         * math/e_log2l.c: Likewise.
36101         * math/e_logl.c: Likewise.
36102         * math/e_powl.c: Likewise.
36103         * math/e_sinhl.c: Likewise.
36104         * math/e_sqrtl.c: Likewise.
36105         * math/e_scalb.c: Completely rewritten and optimized.
36106         * math/e_scalbf.c: Likewise.
36107         * math/e_scalbl.c: Likewise.
36108         * math/w_acos.c: Likewise.
36109         * math/w_acosf.c: Likewise.
36110         * math/w_acosl.c: Likewise.
36111         * math/w_acosh.c: Likewise.
36112         * math/w_acoshf.c: Likewise.
36113         * math/w_acoshl.c: Likewise.
36114         * math/w_asin.c: Likewise.
36115         * math/w_asinf.c: Likewise.
36116         * math/w_asinl.c: Likewise.
36117         * math/w_atan2.c: Likewise.
36118         * math/w_atan2f.c: Likewise.
36119         * math/w_atan2l.c: Likewise.
36120         * math/w_atanh.c: Likewise.
36121         * math/w_atanhf.c: Likewise.
36122         * math/w_atanhl.c: Likewise.
36123         * math/w_exp10.c: Likewise.
36124         * math/w_exp10f.c: Likewise.
36125         * math/w_exp10l.c: Likewise.
36126         * math/w_fmod.c: Likewise.
36127         * math/w_fmodf.c: Likewise.
36128         * math/w_fmodl.c: Likewise.
36129         * math/w_j0.c: Likewise.
36130         * math/w_j0f.c: Likewise.
36131         * math/w_j0l.c: Likewise.
36132         * math/w_j1.c: Likewise.
36133         * math/w_j1f.c: Likewise.
36134         * math/w_j1l.c: Likewise.
36135         * math/w_jn.c: Likewise.
36136         * math/w_jnf.c: Likewise.
36137         * math/w_log.c: Likewise.
36138         * math/w_logf.c: Likewise.
36139         * math/w_logl.c: Likewise.
36140         * math/w_log10.c: Likewise.
36141         * math/w_log10f.c: Likewise.
36142         * math/w_log10l.c: Likewise.
36143         * math/w_log2.c: Likewise.
36144         * math/w_log2f.c: Likewise.
36145         * math/w_log2l.c: Likewise.
36146         * math/w_pow.c: Likewise.
36147         * math/w_powf.c: Likewise.
36148         * math/w_powl.c: Likewise.
36149         * math/w_remainder.c: Likewise.
36150         * math/w_remainderf.c: Likewise.
36151         * math/w_remainderl.c: Likewise.
36152         * math/w_scalb.c: Likewise.
36153         * math/w_scalbf.c: Likewise.
36154         * math/w_scalbl.c: Likewise.
36155         * math/w_sqrt.c: Likewise.
36156         * math/w_sqrtf.c: Likewise.
36157         * math/w_sqrtl.c: Likewise.
36158         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36159         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36160         used.
36161         * math/math_private.h: Declare __kernel_standard_f.
36162         * math/w_cosh.c: Remove cruft and optimize a bit.
36163         * math/w_coshf.c: Likewise.
36164         * math/w_coshl.c: Likewise.
36165         * math/w_exp2.c: Likewise.
36166         * math/w_exp2f.c: Likewise.
36167         * math/w_exp2l.c: Likewise.
36168         * math/w_hypot.c: Likewise.
36169         * math/w_hypotf.c: Likewise.
36170         * math/w_hypotl.c: Likewise.
36171         * math/w_lgamma.c: Likewise.
36172         * math/w_lgamma_r.c: Likewise.
36173         * math/w_lgammaf.c: Likewise.
36174         * math/w_lgammaf_r.c: Likewise.
36175         * math/w_lgammal.c: Likewise.
36176         * math/w_lgammal_r.c: Likewise.
36177         * math/w_sinh.c: Likewise.
36178         * math/w_sinhf.c: Likewise.
36179         * math/w_sinhl.c: Likewise.
36180         * math/w_tgamma.c: Likewise.
36181         * math/w_tgammaf.c: Likewise.
36182         * math/w_tgammal.c: Likewise.
36183         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36184         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36185         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36186         Minor optimizations.  Pretty printing.  Remove cruft.
36187         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36188         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36189         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36190         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36191         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36192         * sysdeps/i386/fpu/e_asin.S: Likewise.
36193         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36194         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36195         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36196         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36197         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36198         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36199         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36200         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36201         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36202         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36203         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36204         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36205         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36206         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36207         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36208         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36209         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36210         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36211         * sysdeps/i386/fpu/e_log.S: Likewise.
36212         * sysdeps/i386/fpu/e_log10.S: Likewise.
36213         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36214         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36215         * sysdeps/i386/fpu/e_log2.S: Likewise.
36216         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36218         * sysdeps/i386/fpu/e_logf.S: Likewise.
36219         * sysdeps/i386/fpu/e_logl.S: Likewise.
36220         * sysdeps/i386/fpu/e_pow.S: Likewise.
36221         * sysdeps/i386/fpu/e_powf.S: Likewise.
36222         * sysdeps/i386/fpu/e_powl.S: Likewise.
36223         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36224         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36225         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36226         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36227         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36228         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36229         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36230         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36231         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36232         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36235         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36237         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36248         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36249         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36252         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36253         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36254         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36255         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36256         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36257         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36258         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36259         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36260         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36270         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36271         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36272         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36273         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36274         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36275         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36277         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36278         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36279         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36280         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36282         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36283         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36284         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36285         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36287         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36288         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36289         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36290         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36291         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36292         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36296         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36300         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36302         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36303         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36306         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36307         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36309         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36311         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36313         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36315         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36316         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36317         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36320         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36321         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36322         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36323         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36324         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36325         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36326         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36327         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36328         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36329         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36330         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36331         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36332         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36333         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36334         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36335         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36336         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36337         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36340         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36341         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36342         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36343         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36344         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36345         (__isnanf): Likewise.
36346         (__isinf_ns): Likewise.
36347         (__isinf_nsf): Likewise.
36348         (__finite): Likewise.
36349         (__finitef): Likewise.
36350         (__ieee754_sqrt): Define as macro.
36351         (__ieee754_sqrtf): Define as macro.
36352         (__ieee754_sqrtl): Define as macro.
36353         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36354         inlined copy.
36355         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36356         __FINITE_MATH_ONLY__ consistent.
36357         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36359 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
36361         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36362         of rawmemchr.
36364         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36366 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
36368         * po/ja.po: Update from translation team.
36370 2011-10-08  Roland McGrath  <roland@hack.frob.com>
36372         * locale/programs/locarchive.c (prepare_address_space): New function.
36373         (create_archive, enlarge_archive, open_archive): Use it.
36375         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36376         inside [SHARED], where it is used.
36378         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36380         * nss/getent.c (netgroup_keys): Remove unused variable.
36381         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36383 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
36385         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36386         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36388         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36389         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36390         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36391         * math/Makefile (libm-calls): Add s_isinf_ns.
36392         * math/divtc3.c: Use __isinf_nsl instead of isinf.
36393         * math/multc3.c: Likewise.
36394         * math/s_casin.c: Likewise.
36395         * math/s_casinf.c: Likewise.
36396         * math/s_casinl.c: Likewise.
36397         * math/s_ccos.c: Likewise.
36398         * math/s_ccosf.c: Likewise.
36399         * math/s_ccosl.c: Likewise.
36400         * math/s_ctan.c: Likewise.
36401         * math/s_ctanf.c: Likewise.
36402         * math/s_ctanh.c: Likewise.
36403         * math/s_ctanhf.c: Likewise.
36404         * math/s_ctanhl.c: Likewise.
36405         * math/s_ctanl.c: Likewise.
36406         * math/w_fmod.c: Likewise.
36407         * math/w_fmodf.c: Likewise.
36408         * math/w_fmodl.c: Likewise.
36409         * math/w_remainder.c: Likewise.
36410         * math/w_remainderf.c: Likewise.
36411         * math/w_remainderl.c: Likewise.
36412         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36413         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36414         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36416         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36417         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36418         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36419         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36421         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36422         of the number.
36423         * stdio-common/printf_fphex.c: Likewise.
36424         * stdio-common/printf_size.c: Likewise.
36426         * math/e_exp10.c: Include math_private.h using <...> not "...".
36427         * math/e_exp10f.c: Likewise.
36428         * math/e_exp10l.c: Likewise.
36429         * math/e_exp2l.c: Likewise.
36430         * math/e_j0l.c: Likewise.
36431         * math/e_j1l.c: Likewise.
36432         * math/e_jnl.c: Likewise.
36433         * math/e_lgammal_r.c: Likewise.
36434         * math/e_rem_pio2l.c: Likewise.
36435         * math/e_scalb.c: Likewise.
36436         * math/e_scalbf.c: Likewise.
36437         * math/e_scalbl.c: Likewise.
36438         * math/k_cosl.c: Likewise.
36439         * math/k_sinl.c: Likewise.
36440         * math/k_tanl.c: Likewise.
36441         * math/s_cacoshf.c: Likewise.
36442         * math/s_catan.c: Likewise.
36443         * math/s_catanf.c: Likewise.
36444         * math/s_catanh.c: Likewise.
36445         * math/s_catanhf.c: Likewise.
36446         * math/s_catanhl.c: Likewise.
36447         * math/s_catanl.c: Likewise.
36448         * math/s_ccosh.c: Likewise.
36449         * math/s_ccoshf.c: Likewise.
36450         * math/s_ccoshl.c: Likewise.
36451         * math/s_cexp.c: Likewise.
36452         * math/s_cexpf.c: Likewise.
36453         * math/s_cexpl.c: Likewise.
36454         * math/s_clog.c: Likewise.
36455         * math/s_clog10.c: Likewise.
36456         * math/s_clog10f.c: Likewise.
36457         * math/s_clog10l.c: Likewise.
36458         * math/s_clogf.c: Likewise.
36459         * math/s_clogl.c: Likewise.
36460         * math/s_csin.c: Likewise.
36461         * math/s_csinf.c: Likewise.
36462         * math/s_csinh.c: Likewise.
36463         * math/s_csinhf.c: Likewise.
36464         * math/s_csinhl.c: Likewise.
36465         * math/s_csinl.c: Likewise.
36466         * math/s_csqrt.c: Likewise.
36467         * math/s_csqrtf.c: Likewise.
36468         * math/s_csqrtl.c: Likewise.
36469         * math/s_ctan.c: Likewise.
36470         * math/s_ctanf.c: Likewise.
36471         * math/s_ctanh.c: Likewise.
36472         * math/s_ctanhf.c: Likewise.
36473         * math/s_ctanhl.c: Likewise.
36474         * math/s_ctanl.c: Likewise.
36475         * math/s_ldexp.c: Likewise.
36476         * math/s_ldexpf.c: Likewise.
36477         * math/s_ldexpl.c: Likewise.
36478         * math/s_significand.c: Likewise.
36479         * math/s_significandf.c: Likewise.
36480         * math/s_significandl.c: Likewise.
36481         * math/w_acos.c: Likewise.
36482         * math/w_acosf.c: Likewise.
36483         * math/w_acosh.c: Likewise.
36484         * math/w_acoshf.c: Likewise.
36485         * math/w_acoshl.c: Likewise.
36486         * math/w_acosl.c: Likewise.
36487         * math/w_asin.c: Likewise.
36488         * math/w_asinf.c: Likewise.
36489         * math/w_asinl.c: Likewise.
36490         * math/w_atan2.c: Likewise.
36491         * math/w_atan2f.c: Likewise.
36492         * math/w_atan2l.c: Likewise.
36493         * math/w_atanh.c: Likewise.
36494         * math/w_atanhf.c: Likewise.
36495         * math/w_atanhl.c: Likewise.
36496         * math/w_cosh.c: Likewise.
36497         * math/w_coshf.c: Likewise.
36498         * math/w_coshl.c: Likewise.
36499         * math/w_dremf.c: Likewise.
36500         * math/w_exp10.c: Likewise.
36501         * math/w_exp10f.c: Likewise.
36502         * math/w_exp10l.c: Likewise.
36503         * math/w_exp2.c: Likewise.
36504         * math/w_exp2f.c: Likewise.
36505         * math/w_fmod.c: Likewise.
36506         * math/w_fmodf.c: Likewise.
36507         * math/w_fmodl.c: Likewise.
36508         * math/w_hypot.c: Likewise.
36509         * math/w_hypotf.c: Likewise.
36510         * math/w_hypotl.c: Likewise.
36511         * math/w_j0.c: Likewise.
36512         * math/w_j0f.c: Likewise.
36513         * math/w_j0l.c: Likewise.
36514         * math/w_j1.c: Likewise.
36515         * math/w_j1f.c: Likewise.
36516         * math/w_j1l.c: Likewise.
36517         * math/w_jn.c: Likewise.
36518         * math/w_jnf.c: Likewise.
36519         * math/w_jnl.c: Likewise.
36520         * math/w_lgamma.c: Likewise.
36521         * math/w_lgamma_r.c: Likewise.
36522         * math/w_lgammaf.c: Likewise.
36523         * math/w_lgammaf_r.c: Likewise.
36524         * math/w_lgammal.c: Likewise.
36525         * math/w_lgammal_r.c: Likewise.
36526         * math/w_log.c: Likewise.
36527         * math/w_log10.c: Likewise.
36528         * math/w_log10f.c: Likewise.
36529         * math/w_log10l.c: Likewise.
36530         * math/w_log2.c: Likewise.
36531         * math/w_log2f.c: Likewise.
36532         * math/w_log2l.c: Likewise.
36533         * math/w_logf.c: Likewise.
36534         * math/w_logl.c: Likewise.
36535         * math/w_pow.c: Likewise.
36536         * math/w_powf.c: Likewise.
36537         * math/w_powl.c: Likewise.
36538         * math/w_remainder.c: Likewise.
36539         * math/w_remainderf.c: Likewise.
36540         * math/w_remainderl.c: Likewise.
36541         * math/w_scalb.c: Likewise.
36542         * math/w_scalbf.c: Likewise.
36543         * math/w_scalbl.c: Likewise.
36544         * math/w_sinh.c: Likewise.
36545         * math/w_sinhf.c: Likewise.
36546         * math/w_sinhl.c: Likewise.
36547         * math/w_sqrt.c: Likewise.
36548         * math/w_sqrtf.c: Likewise.
36549         * math/w_sqrtl.c: Likewise.
36550         * math/w_tgamma.c: Likewise.
36551         * math/w_tgammaf.c: Likewise.
36552         * math/w_tgammal.c: Likewise.
36554         * po/ja.po: Update from translation team.
36556 2011-09-29  Andreas Jaeger  <aj@suse.de>
36558         [BZ #13179]
36559         * sunrpc/netname.c (netname2host): Fix logic.
36561         [BZ #6779]
36562         [BZ #6783]
36563         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
36564         correctly.
36565         * math/w_remainder.c (__remainder): Likewise.
36566         * math/w_remainderf.c (__remainderf): Likewise.
36567         * math/libm-test.inc (remainder_test): Add test cases.
36569 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36571         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
36572         sdiv_qrnnd.
36574 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36576         * string/test-memcmp.c: Avoid unncessary #defines.
36577         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36579 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36581         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
36582         Use new sse2 version for core i3 - i7 as it's faster
36583         than sse42 version.
36584         (bit_Prefer_PMINUB_for_stringop): New.
36585         * sysdeps/x86_64/rawmemchr.S: Update.
36586         Replace with faster SSE2 version.
36587         * sysdeps/x86_64/memrchr.S: New file.
36588         * sysdeps/x86_64/memchr.S: Update.
36589         Replace with faster SSE2 version.
36591 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
36593         * elf/dl-load.c (lose): Add cast to avoid warning.
36595 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36597         * po/ca.po: Update from translation team.
36599         * inet/getnetgrent_r.c: Hook up nscd.
36600         * nscd/Makefile (routines): Add nscd_netgroup.
36601         (nscd-modules): Add netgroupcache.
36602         (CFLAGS-netgroupcache.c): Define.
36603         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
36604         (cache_search): Add const to second parameter.
36605         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
36606         INNETGR.
36607         (dbs): Add netgrdb entry.
36608         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
36609         (verify_persistent_db): Handle netgrdb.
36610         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
36611         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
36612         GETFDNETGR.
36613         (netgroup_response_header): Define.
36614         (innetgroup_response_header): Define.
36615         (datahead): Add netgroup_response_header and innetgroup_response_header
36616         elements.
36617         * nscd/nscd.conf: Add entries for netgroup cache.
36618         * nscd/nscd.h (dbtype): Add netgrdb.
36619         (_PATH_NSCD_NETGROUP_DB): Define.
36620         (netgroup_iov_disabled): Declare.
36621         (xmalloc, xcalloc, xrealloc): Move declarations here.
36622         (cache_search): Adjust prototype.
36623         Add netgroup-related prototypes.
36624         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
36625         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
36626         (__nscd_innetgr): Declare.
36627         * nscd/selinux.c (perms): Use access_vector_t as element type and
36628         add netgroup-related initializers.
36629         * nscd/netgroupcache.c: New file.
36630         * nscd/nscd_netgroup.c: New file.
36631         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
36632         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
36633         For four parameters use innetgr.
36634         * nss/nss_files/files-init.c: Add definition and callback for netgr.
36635         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
36636         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
36637         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
36639         * nscd/connections.c (register_traced_file): Don't register file
36640         for disabled databases.
36642 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
36644         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
36646         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
36647         from tree and freeing node.
36649 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
36651         * nss/nsswitch.c (__nss_database_lookup): Handle
36652         nss_parse_service_list out of memory case.
36654 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
36656         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
36657         out of memory case.
36659 2011-10-04  Andreas Schwab  <schwab@redhat.com>
36661         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
36662         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
36663         pass it down.
36664         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
36665         elf_machine_rela, elf_machine_lazy_rel.
36666         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
36667         (ELF_DYNAMIC_DO_REL): Likewise.
36668         (ELF_DYNAMIC_DO_RELA): Likewise.
36669         (ELF_DYNAMIC_RELOCATE): Likewise.
36670         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
36671         to ELF_DYNAMIC_DO_REL.
36672         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36673         (dl_main): In trace mode always set __RTLD_NOIFUNC.
36674         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36675         elf_machine_rela.
36676         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36677         skip_ifunc, don't call ifunc function if non-zero.
36678         (elf_machine_rela): Likewise.
36679         (elf_machine_lazy_rel): Likewise.
36680         (elf_machine_lazy_rela): Likewise.
36681         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36682         (elf_machine_lazy_rel): Likewise.
36683         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36684         Likewise.
36685         (elf_machine_lazy_rel): Likewise.
36686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36687         Likewise.
36688         (elf_machine_lazy_rel): Likewise.
36689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36690         (elf_machine_lazy_rel): Likewise.
36691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36692         (elf_machine_lazy_rel): Likewise.
36693         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36694         (elf_machine_lazy_rel): Likewise.
36695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36696         (elf_machine_lazy_rel): Likewise.
36697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36698         (elf_machine_lazy_rel): Likewise.
36699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36700         (elf_machine_lazy_rel): Likewise.
36702 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
36704         * nss/nss_files/files-init.c (_nss_files_init): Use static
36705         initialization for all the *_traced_file variables.
36707 2011-09-28  Andreas Schwab  <schwab@redhat.com>
36709         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36711 2011-09-27  Roland McGrath  <roland@hack.frob.com>
36713         [BZ #13226]
36714         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36716 2011-09-27  Andreas Schwab  <schwab@redhat.com>
36718         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36719         Reread the line before reparsing it.
36721 2011-09-26  Andreas Schwab  <schwab@redhat.com>
36723         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36725 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
36726             Maxim Kuvyrkov  <maxim@codesourcery.com>
36727             Joseph Myers  <joseph@codesourcery.com>
36729         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36730         if needed for __stack_chk_guard.
36732 2011-09-19  Roland McGrath  <roland@hack.frob.com>
36734         * sysdeps/posix/spawni.c (script_execute): Always define it.
36735         It will be optimized away if unused.
36736         (maybe_script_execute): New function.
36737         (__spawni): Call it.
36739         * Makerules: Don't include tls.make.
36740         (config-tls): Always set to thread.
36741         * tls.make.c: File removed.
36743 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
36745         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36746         * config.make.in (CPPFLAGS-config): New substituted variable.
36748 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36752         [BZ #13192]
36753         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36754         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36756 2011-09-15  Roland McGrath  <roland@hack.frob.com>
36758         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36759         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36760         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36761         (CALL_FAIL): Likewise.
36762         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36763         (CALL_FAIL): Macro removed.
36764         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36766 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36768         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36769         for __FINITE_MATH_ONLY__ == 1.
36771 2011-09-15  Andreas Schwab  <schwab@redhat.com>
36773         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36774         __ieee754_sqrt instead of sqrt.
36775         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36776         __ieee754_sqrtf instead of sqrtf.
36777         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36778         __floorf instead of floorf.
36779         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36780         __floorf, __truncf instead of floorf, truncf.
36782 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
36784         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36786         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36787         __extern_always_inline.
36788         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36789         32-bit.
36791 2011-09-14  Andreas Schwab  <schwab@redhat.com>
36793         * elf/rtld.c (dl_main): Also relocate in dependency order when
36794         doing symbol dependency testing.
36796 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
36798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36799         Always define `refsym'.
36801 2011-09-13  Andreas Schwab  <schwab@redhat.com>
36803         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36804         (__FD_ELT): Renamed from __FDELT.
36805         * misc/bits/select2.h (__FD_ELT): Likewise.
36806         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36807         __FD_MASK instead of __FDELT, __FDMASK.
36808         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36809         Likewise.
36810         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36811         Likewise.
36813         * elf/Makefile (gen-ldd): Fix pattern.
36815         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36816         (init_tls): Likewise.
36818 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
36820         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36822 2011-09-12  Andreas Schwab  <schwab@redhat.com>
36824         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36825         `struct cmsghdr *' instead of `void *'.
36826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36827         Likewise.
36829 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
36831         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36832         if non-absolute.
36833         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36834         ldd_rewrite_script.
36836 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
36838         * configure.in: Remove --with-tls option.
36839         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36840         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36841         out in case it is missing.
36842         * sysdeps/ia64/elf/configure.in: Likewise.
36843         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36844         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36845         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36846         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36847         * sysdeps/sh/elf/configure.in: Likewise.
36848         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36849         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36850         * sysdeps/x86_64/elf/configure.in: Likewise.
36851         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36852         * sysdeps/mach/hurd/tls.h: Likewise.
36854         [BZ #13067]
36855         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36857         [BZ #13090]
36858         * configure.in: Fix use of AC_INIT.
36860         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36862 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
36864         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36865         __set_errno.
36866         * malloc/hooks.c: Likewise.
36868         [BZ #11929]
36869         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
36870         variables statically.
36871         (narenas): Initialize.
36872         (list_lock): Initialize.
36873         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
36874         initializtion of main_arena and list_lock.  Small cleanups.
36875         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36876         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
36877         Add initializers to main_arena and mp_.
36878         (malloc_state): Remove pagesize member.  Change all users to use
36879         GLRO(dl_pagesize).
36881         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36882         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
36883         is always initialized.
36885         * malloc/malloc.c: Removed unused configurations and dead code.
36886         * malloc/arena.c: Likewise.
36887         * malloc/hooks.c: Likewise.
36888         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36890         * include/tls.h: Removed.  USE___THREAD must always be defined.
36891         * bits/libc-tsd.h: Don't handle !USE___THREAD.
36892         * elf/dl-libc.c: Likewise.
36893         * elf/dl-tsd.c: Likewise.
36894         * include/errno.h: Likewise.
36895         * include/netdb.h: Likewise.
36896         * include/resolv.h: Likewise.
36897         * inet/herrno-loc.c: Likewise.
36898         * inet/herrno.c: Likewise.
36899         * malloc/arena.c: Likewise.
36900         * malloc/hooks.c: Likewise.
36901         * malloc/malloc.c: Likewise.
36902         * resolv/res-state.c: Likewise.
36903         * resolv/res_libc.c: Likewise.
36904         * sysdeps/i386/dl-machine.h: Likewise.
36905         * sysdeps/ia64/dl-machine.h: Likewise.
36906         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36907         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36908         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36909         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36910         * sysdeps/sh/dl-machine.h: Likewise.
36911         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36912         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36913         * sysdeps/unix/i386/sysdep.S: Likewise.
36914         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36915         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36920         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36924         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36925         * sysdeps/x86_64/dl-machine.h: Likewise.
36926         * tls.make.c: Likewise.
36928         * configure.in: Remove --with-__thread option.  Make tests for
36929         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36930         tls_model attribute fail if no support is available.  Remove
36931         USE_IN_LIBIO.
36932         * Makeconfig: Adjust for dropped configure option.  All features are
36933         now mandatory.
36934         * Makerules: Likewise.
36935         * Versions.def: Likewise.
36936         * argp/argp-fmtstream.c: Likewise.
36937         * argp/argp-fmtstream.h: Likewise.
36938         * argp/argp-help.c: Likewise.
36939         * assert/assert.c: Likewise.
36940         * config.h.in: Likewise.
36941         * config.make.in: Likewise.
36942         * configure: Likewise.
36943         * configure.in: Likewise.
36944         * csu/Versions: Likewise.
36945         * csu/init.c: Likewise.
36946         * elf/tst-audit2.c: Likewise.
36947         * elf/tst-tls10.c: Likewise.
36948         * elf/tst-tls10.h: Likewise.
36949         * elf/tst-tls11.c: Likewise.
36950         * elf/tst-tls12.c: Likewise.
36951         * elf/tst-tls14.c: Likewise.
36952         * elf/tst-tlsmod11.c: Likewise.
36953         * elf/tst-tlsmod12.c: Likewise.
36954         * elf/tst-tlsmod13.c: Likewise.
36955         * elf/tst-tlsmod13a.c: Likewise.
36956         * elf/tst-tlsmod14a.c: Likewise.
36957         * elf/tst-tlsmod15b.c: Likewise.
36958         * elf/tst-tlsmod16a.c: Likewise.
36959         * elf/tst-tlsmod16b.c: Likewise.
36960         * elf/tst-tlsmod7.c: Likewise.
36961         * elf/tst-tlsmod8.c: Likewise.
36962         * elf/tst-tlsmod9.c: Likewise.
36963         * gmon/gmon.c: Likewise.
36964         * grp/fgetgrent_r.c: Likewise.
36965         * grp/putgrent.c: Likewise.
36966         * hurd/fopenport.c: Likewise.
36967         * include/libc-symbols.h: Likewise.
36968         * include/tls.h: Likewise.
36969         * intl/gettextP.h: Likewise.
36970         * intl/loadinfo.h: Likewise.
36971         * locale/global-locale.c: Likewise.
36972         * locale/localeinfo.h: Likewise.
36973         * mach/devstream.c: Likewise.
36974         * malloc/arena.c: Likewise.
36975         * malloc/set-freeres.c: Likewise.
36976         * misc/err.c: Likewise.
36977         * misc/getttyent.c: Likewise.
36978         * misc/mntent_r.c: Likewise.
36979         * posix/getopt.c: Likewise.
36980         * posix/wordexp.c: Likewise.
36981         * pwd/fgetpwent_r.c: Likewise.
36982         * resolv/Versions: Likewise.
36983         * resolv/res_hconf.c: Likewise.
36984         * shadow/fgetspent_r.c: Likewise.
36985         * shadow/putspent.c: Likewise.
36986         * stdio-common/printf_fphex.c: Likewise.
36987         * stdio-common/tmpfile.c: Likewise.
36988         * stdlib/abort.c: Likewise.
36989         * stdlib/fmtmsg.c: Likewise.
36990         * sunrpc/auth_unix.c: Likewise.
36991         * sunrpc/clnt_perr.c: Likewise.
36992         * sunrpc/clnt_tcp.c: Likewise.
36993         * sunrpc/clnt_udp.c: Likewise.
36994         * sunrpc/clnt_unix.c: Likewise.
36995         * sunrpc/openchild.c: Likewise.
36996         * sunrpc/svc_simple.c: Likewise.
36997         * sunrpc/svc_tcp.c: Likewise.
36998         * sunrpc/svc_udp.c: Likewise.
36999         * sunrpc/svc_unix.c: Likewise.
37000         * sunrpc/xdr.c: Likewise.
37001         * sunrpc/xdr_array.c: Likewise.
37002         * sunrpc/xdr_rec.c: Likewise.
37003         * sunrpc/xdr_ref.c: Likewise.
37004         * sunrpc/xdr_stdio.c: Likewise.
37006 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37008         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37010 2011-07-03  Andreas Jaeger  <aj@suse.de>
37012         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37013         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37014         regenerate with gen-libm-tests.pl.
37016 2010-05-12  Petr Baudis  <pasky@suse.cz>
37018         [BZ #11589]
37019         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37020         around j0() zero points by switching to j1().
37021         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37024         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37026 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37028         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37029         instead of 0.
37030         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37031         instead of 0.
37032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37033         Patch in part by Pavel Roskin <proski@gnu.org>.
37035         [BZ #13138]
37036         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37037         realloc.
37038         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37039         Free memory block if necessary.
37041         [BZ #12847]
37042         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37043         be NULL.  Don't lock in this case.
37045 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37047         * elf/elf.h (ELFOSABI_GNU): New macro.
37048         (ELFOSABI_LINUX): Define to that.
37050 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37052         * string/strncat.c (strncat): Undef the symbol in case it has been
37053         defined in bits/string.h.
37055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37057         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37060         link map.
37062 2011-08-17  Andreas Jaeger  <aj@suse.de>
37064         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37066 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37067             Ian Lance Taylor  <iant@google.com>
37069         * math/libm-test.inc (lround_test): New testcase.
37070         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37072 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37074         * Makefile: Remove support for automatic cvs check-ins.
37075         * Makerules: Likewise.
37076         * config.make.in: Likewise.
37077         * configure.in: Likewise.
37078         * intl/Makefile: Likewise.
37079         * locale/Makefile: Likewise.
37080         * po/Makefile: Likewise.
37081         * posix/Makefile: Likewise.
37082         * sysdeps/gnu/Makefile: Likewise.
37083         * sysdeps/mach/hurd/Makefile: Likewise.
37084         * sysdeps/sparc/sparc32/Makefile: Likewise.
37086         [BZ #13118]
37087         * posix/Makefile (bug-regex32-ENV): Define.
37088         Patch by John Stanley <jpsinthemix@verizon.net>.
37090         * misc/Makefile (headers): Add bits/select2.h.
37091         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37092         * misc/bits/select2.h: New file.
37093         * include/bits/select2.h: New file.
37094         * debug/Makefile (routines): Add fdelt_chk.
37095         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37096         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37097         FD_ISSET.
37098         * debug/fdelt_chk.c: New file.
37100         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37101         * wcsmbs/test-wmemcmp.c: Likewise.
37102         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37103         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37105 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37107         * string/Makefile (strop-tests): Add memcmp.
37108         * string/test-wmemcmp.c: New file.
37109         * string/test-memcmp.c: Add wmemcmp support.
37111 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37113         [BZ #13153]
37114         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37115         2011-07-19 change.
37117         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37118         garbage value in a __mach_port_mod_refs call in the cases of the
37119         task-self and thread-self ports.
37121 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37123         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37125 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37127         * elf/dl-load.c (lose): Check for non-null L.
37129 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37131         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37133         * elf/dl-libc.c (dlerror_run): Pass back error code from
37134         dl_catch_error.
37136         [BZ #13123]
37137         * elf/dl-load.c (lose): Free l_origin if it is valid.
37139         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37140         names.
37141         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37143         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37144         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37145         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37146         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37148 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37150         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37151         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37152         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37153         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37154         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37155         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37156         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37157         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37158         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37159         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37161 2011-08-15  Alan Modra  <amodra@gmail.com>
37163         [BZ #13092]
37164         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37165         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37166         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37167         ppc_mcount to static-only-routines.
37168         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37169         __mcount_internal.
37170         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37171         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37173 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37175         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37176         for finite and infinity parameters.
37178 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37181         and add nop instructions for throughput optimization.
37182         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37184 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37187         aligned copy for power7 with vector-scalar instructions.
37188         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37190 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37193         AVX check.
37195 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37197         [BZ #13144]
37198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37199         last change.
37201 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37203         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37204         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37205         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37207         clock_gettime.
37209 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37211         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37212         Forgot to demangle the pointer.
37214         * sysdeps/i386/sysdep.h: Define atom_text_section.
37215         * sysdeps/x86_64/sysdep.h: Likewise.
37216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37217         section with atom_text_section.
37218         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37221         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37222         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37225         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37226         already be defined.  Change to take two parameters and don't assign
37227         result to variable.  Adjust all users.
37228         Define INTERNAL_GETTIME if not already defined.
37229         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37230         call.
37231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37232         HAVE_CLOCK_GETTIME_VSYSCALL.
37233         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37236         gettimeofday vsyscall, just use time.
37238 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37240         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37241         <errno.h>.
37243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37245         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37246         syscall on x86-64.
37247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37248         syscall.
37249         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37250         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37251         syscall if possible.
37253 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37255         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37256         e_ident.  Don't pass to find_mapsXX.
37257         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37259 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37262         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37263         * sysdeps/x86_64/multiarch/strchr.S: Update.
37264         Check bit_slow_BSF bit.
37265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37266         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37267         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37269 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37271         [BZ #13134]
37272         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37273         before glibc 2.15.
37274         (tryshell): Define.
37275         (__spawni): Change last parameter to be flag.  Test
37276         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37277         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37278         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37279         * posix/spawni.c: Likewise.
37280         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37281         * posix/spawnp.c: Likewise.  Change normal version to use
37282         SPAWN_XFLAGS_USE_PATH.
37283         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37284         SPAWN_XFLAGS_TRY_SHELL.
37286         [BZ #13150]
37287         * posix/glob.h: Remove gcc 1.x support.
37289         [BZ #13068]
37290         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37292 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37295         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37296         strrchr-sse2-bsf
37297         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37298         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37299         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37301         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37302         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37304 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37306         * sysdeps/x86_64/wcscmp.S: New file.
37308         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37309         wcscmp-c wcscmp-sse2
37310         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37311         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37312         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37313         * wcsmbs/wcscmp.c: Allow renaming.
37315 2011-09-05  David S. Miller  <davem@davemloft.net>
37317         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37318         stack slot, rather than the struct return pointer slot.
37319         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37320         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37322         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37326         * po/ja.po: Update from translation team.
37328         [BZ #13144]
37329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37330         kernel in 64-bit binaries.
37332 2011-09-01  David S. Miller  <davem@davemloft.net>
37334         * elf/elf.h (HWCAP_SPARC_*): Move to..
37335         * sysdeps/sparc/sysdep.h: this new file and add new values.
37336         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37337         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37338         _DL_HWCAP_COUNT to 24.
37339         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37340         entries.
37341         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37342         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37343         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37345         instead of magic constants.
37346         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37348 2011-08-31  David S. Miller  <davem@davemloft.net>
37350         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37352         Reimplement to do errno handling inline.
37353         (SYSCALL_ERROR_HANDLER): New macro.
37354         (__SYSCALL_STRING): Do not do errno handling in asm.
37355         (__CLONE_SYSCALL_STRING): Delete.
37356         (__INTERNAL_SYSCALL_STRING): Delete.
37357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37358         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37359         (PSEUDO): Reimplement to do errno handling inline.
37360         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37361         (SYSCALL_ERROR_HANDLER): New macro.
37362         (__SYSCALL_STRING): Do not do errno handling in asm.
37363         (__CLONE_SYSCALL_STRING): Delete.
37364         (__INTERNAL_SYSCALL_STRING): Delete.
37365         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37366         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37367         i386.
37368         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37369         (inline_syscall*): Add 'err' argument.
37370         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37371         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37372         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37373         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37375         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37376         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37378 2011-08-30  Andreas Schwab  <schwab@redhat.com>
37380         * elf/rtld.c (dl_main): Relocate objects in dependency order.
37382 2011-08-29  Jiri Olsa <jolsa@redhat.com>
37384         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37385         directive.
37387 2011-08-24  David S. Miller  <davem@davemloft.net>
37389         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37391 2011-08-24  Andreas Schwab  <schwab@redhat.com>
37393         * elf/Makefile: Add rules to build and run unload8 test.
37394         * elf/unload8.c: New file.
37395         * elf/unload8mod1.c: New file.
37396         * elf/unload8mod1x.c: New file.
37397         * elf/unload8mod2.c: New file.
37398         * elf/unload8mod3.c: New file.
37400         * elf/dl-close.c (_dl_close_worker): Reset private search list if
37401         it wasn't used.
37403 2011-08-23  David S. Miller  <davem@davemloft.net>
37405         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37406         subtract stack bias.
37407         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37408         %sp not %fp in calculations.
37409         (_JMPBUF_UNWINDS_ADJ): Likewise.
37411         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37412         (aio_suspend): Call it to force an exception region around the
37413         AIO_MISC_WAIT() invocation.
37415 2011-08-23  Andreas Schwab  <schwab@redhat.com>
37417         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37418         backslash.
37420 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
37422         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37423         protection macro.
37424         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37425         and <dl-machine.h>.
37426         (Elf64_FuncDesc): Remove.
37428 2011-08-22  David S. Miller  <davem@davemloft.net>
37430         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37431         sigaltstack check, add missing cfi directives.
37432         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37433         missing cfi directives, and sigaltstack handling.
37435 2011-08-16  Andreas Schwab  <schwab@redhat.com>
37437         [BZ #11724]
37438         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37439         object is seen twice.
37440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37442         * elf/Makefile (distribute): Add tst-initorder2.c.
37443         (tests): Add tst-initorder2.
37444         (modules-names): Add tst-initorder2a tst-initorder2b
37445         tst-initorder2c tst-initorder2d.  Add rules to build them.
37446         ($(objpfx)tst-initorder2.out): New rule.
37447         * elf/tst-initorder2.c: New file.
37448         * elf/tst-initorder2.exp: New file.
37450 2011-08-22  Andreas Schwab  <schwab@redhat.com>
37452         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
37454         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
37455         dependencies back to end of function.
37457         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37458         $(elfobjdir)/ld.so.
37460 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
37462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
37463         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
37465         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
37466         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
37467         of __vdso_gettimeofday.
37468         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
37469         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
37470         attribute_hidden.
37471         (_libc_vdso_platform_setup): Remove initialization of
37472         __vdso_gettimeofday and __vdso_time.
37474 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37476         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
37477         and fgetc_unlocked.
37478         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
37479         getc_unlocked.
37481         * elf/dl-open.c (add_to_global): Report additions to the global scope
37482         for LD_DEBUG=scopes.
37483         (dl_open_worker): Also print scope of newly loaded dependencies.
37484         (_dl_show_scope): Indicate if there is no scope.
37486         [BZ #13114]
37487         * stdio-common/Makefile (tests): Add bug24.
37488         * stdio-common/bug24.c: New file.
37490 2011-08-19  Andreas Jaeger  <aj@suse.de>
37492         [BZ #13114]
37493         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
37494         non-existant file when using close-on-exec mode.
37496 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
37499         the very first instruction.
37501         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
37502         the CFI state in the end.
37503         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
37504         inclusion of dl-trampoline.h.
37505         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
37507 2011-08-19  Andreas Schwab  <schwab@redhat.com>
37509         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
37510         expectations for long double.
37512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
37513         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
37515 2011-08-14  David S. Miller  <davem@davemloft.net>
37517         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
37518         artificual limit depends upon the system page size.
37520 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37522         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
37523         * resolv/Makefile: Define CFLAGS-libresolv.
37525 2011-08-17  Andreas Schwab  <schwab@redhat.com>
37527         * nss/makedb.c (compute_tables): Make variables used in nested
37528         function static.
37530 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37532         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
37533         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
37534         if buffer was too small.
37536         * elf/pldd.c (main): Attach to all threads in the process.
37537         Rewrite /proc handling to use *at functions.
37539 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
37541         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
37542         specifies first scope to show.
37543         (dl_open_worker): Update callers.  Move printing scope of new
37544         object to before the relocation.
37545         * elf/rtld.c (dl_main): Update _dl_show_scope call.
37546         * sysdeps/generic/ldsodefs.h: Update declaration.
37548         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
37549         string for the scope number.
37551 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
37553         * nscd/servicescache.c (cache_addserv): Make sure written is always
37554         initialized.
37556 2011-08-14  Roland McGrath  <roland@hack.frob.com>
37558         * sysdeps/i386/i486/bits/atomic.h
37559         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
37560         statement expression, so as to suppress "set but not used" warning.
37561         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
37563         * string/strncat.c (STRNCAT): Use prototype definition.
37565         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
37566         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
37567         -Iprograms here.
37568         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
37569         (localedef-modules): Add localedef.
37570         (locale-modules): Add locale.
37572         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
37573         * elf/rtld.c (dl_main): Invert order of assignment in last change,
37574         to avoid a warning.
37576 2011-08-14  David S. Miller  <davem@davemloft.net>
37578         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
37579         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
37581 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
37583         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
37584         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
37585         * elf/rtld.c (dl_main): Set l_name of vDSO.
37586         Call _dl_show_scope when DL_DEBUG_SCOPES.
37587         (process_dl_debug): Recognize scopes flag and also set it for all.
37588         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
37589         Declare _dl_show_scope.
37591         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
37592         (do_dlopen): Pass caller_dlopen to dl_open.
37593         (__libc_dlopen_mode): Initialize caller_dlopen.
37595         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
37596         of libc.  Make tolower call locale-independent.  Optimize a bit by
37597         using isdigit instead of isalnum.
37598         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
37600 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
37602         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
37603         was a dependency or dynamically loaded.
37605 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
37607         * intl/l10nflist.c: Allow architecture-specific pop function.
37608         * sysdeps/x86_64/l10nflist.c: New file.
37610         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
37611         classification.
37613 2011-08-10  Andreas Schwab  <schwab@redhat.com>
37615         * include/dirent.h: Add libc_hidden_proto for scandirat and
37616         scandirat64.  Don't declare __scandirat64.
37617         * dirent/scandirat.c: Add libc_hidden_def.
37618         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
37619         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
37621 2011-08-10  David S. Miller  <davem@davemloft.net>
37623         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
37624         enum.
37625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37627         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37629 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
37631         * Versions.def [libc]: Add GLIBC_2.15.
37632         * dirent/Makefile (routines): Add scandirat and scandirat64.
37633         * dirent/Versions [libc]: Export scandirat and scandirat64 for
37634         GLIBC_2.15.
37635         * dirent/dirent.h: Declare scandirat and scandirat64.
37636         * dirent/scandirat.c: New file.
37637         * dirent/scandirat64.c: New file.
37638         * sysdeps/wordsize-64/scandirat.c: New file.
37639         * sysdeps/wordsize-64/scandirat64.c: New file.
37640         * dirent/opendir.c: Define opendirat.
37641         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
37642         using scandirat.
37643         * dirent/scandir64.c: Adjust for scandir.c change.
37644         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
37645         __scandirat64, and __scandir_cancel_handler.
37646         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
37647         additional parameter and use openat instead of open (outside of ld.so).
37648         Add new __opendir as wrapper around __opendirat.
37649         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
37650         here without requiring old scandirat implementation.
37652 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
37654         * dirent/scandir.c (cancel_handler): Renamed to
37655         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
37656         defined.  Adjust users.
37657         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
37658         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
37660 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
37662         * string/test-string.h (IMPL): Use __STRING to expand name and then
37663         stringify it.
37665         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
37666         of cleanups.
37668 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37670         * string/Makefile: Update.
37671         (strop-tests): Append strncat.
37672         * string/test-wcscmp.c: New file.
37673         New comprehensive test for wcscmp.
37674         * string/test-strcmp.c: Update.
37675         (WIDE): New define.
37677 2011-07-22  Andreas Schwab  <schwab@redhat.com>
37679         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37680         line.
37682 2011-07-26  Andreas Schwab  <schwab@redhat.com>
37684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37685         encoding to ACE if AI_IDN.
37687 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
37689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37690         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37692 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37695         Fix overflow bug in strncat.
37696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37698         * string/test-strncat.c: Update.
37699         Add new tests for checking overflow bugs.
37701 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37704         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37705         * sysdeps/i386/i686/multiarch/strcat.S: New file.
37706         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37708         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37709         * sysdeps/i386/i686/multiarch/strncat.S: New file.
37710         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37711         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37714         (USE_AS_STRCAT): Define.
37715         Add strcat and strncat support.
37716         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37718 2011-07-25  Andreas Schwab  <schwab@redhat.com>
37720         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37721         __n bigger than INT_MAX+1.
37722         (__strncmp_g): Likewise.
37724 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
37726         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37727         * libio/stido.h: Likewise.
37729         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37730         (AF_NFC): Define.
37731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37732         (AF_NFC): Define.
37734         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37735         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37736         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37737         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37740         [BZ #13021]
37741         * scripts/test-installation.pl: Don't expect libnss_test1 to be
37742         installed.
37744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37745         typo.
37746         (_dl_x86_64_save_sse): Likewise.
37748 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
37750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37751         OSXSAVE.
37752         (_dl_x86_64_save_sse): Likewise.
37754         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37756         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37758 2011-07-21  Andreas Schwab  <schwab@redhat.com>
37760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37761         change.
37762         (_dl_x86_64_save_sse): Use correct AVX check.
37764 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37766         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37767         bug in strncpy/strncat.
37768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37770 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
37772         * string/tester.c (test_strcat): Add tests for different alignments
37773         of source and destination.
37774         (test_strncat): Likewise.
37776 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37778         [BZ #12852]
37779         * posix/glob.c (glob): Check passed in values before using them in
37780         expressions to avoid some overflows.
37781         (glob_in_dir): Likewise.
37783         [BZ #13007]
37784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37785         check for AVX enablement so that we don't crash with old kernels and
37786         new hardware.
37787         * elf/tst-audit4.c: Add same checks here.
37788         * elf/tst-audit6.c: Likewise.
37790         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37792 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
37794         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37796 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37798         * po/cs.po: Update from translation team.
37799         * po/bg.po: Likewise.
37801 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
37803         * misc/sys/cdefs.h: Add support for const attribute.
37804         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37805         to gnu_dev_{major,minor,makedev} functions.
37807 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
37809         * intl/dcigettext.c (get_output_charset): Add missing bracket.
37811 2011-07-20  Andreas Schwab  <schwab@redhat.com>
37813         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37814         strlen results.
37816 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37819         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37820         register in order to avoid conflicts with the soft frame pointer
37821         being held in r11 when necessary.
37822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37823         (INTERNAL_VSYSCALL_NCS): Likewise.
37825 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
37827         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37828         * elf/dl-fini.c (_dl_fini): Adjust caller.
37829         * elf/dl-close.c (_dl_close_worker): Likewise.
37830         * sysdeps/generic/ldsodefs.h: Adjust declaration.
37832 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37834         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37835         "aux_cache->nlibs < 0".
37837         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37838         in the reload-count case.
37840 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37843         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37844         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37845         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37846         * sysdeps/x86_64/multiarch/strcat.S: New file.
37847         * sysdeps/x86_64/multiarch/strncat.S: New file.
37848         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37849         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37850         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37851         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37853         (USE_AS_STRCAT): Define.
37854         Add strcat and strncat support.
37855         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37856         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37857         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37858         * string/strncat.c: Update.
37859         (USE_AS_STRNCAT): Define.
37860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37861         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37862         and i7.
37863         * sysdeps/x86_64/multiarch/init-arch.h
37864         (bit_Prefer_PMINUB_for_stringop): New.
37865         (index_Prefer_PMINUB_for_stringop): Likewise.
37866         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37867         bit_Prefer_PMINUB_for_stringop.
37869 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37871         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37872         buffer64.
37873         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37874         of casting of buffer.
37875         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37876         buffer32 and buffer64.
37877         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37878         writes instead of casting of buffer.
37879         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37880         buffer32.
37881         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37882         casting of buffer.
37884 2011-07-19  Andreas Schwab  <schwab@redhat.com>
37886         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37888 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37890         * nscd/nscd.c (termination_handler): Don't do anything for a database
37891         if it has not yet been initialized.
37893 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37895         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37897 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37899         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37901 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37903         * po/nl.po: Update from translation team.
37904         * po/sv.po: Likewise.
37906 2011-07-16  Roland McGrath  <roland@hack.frob.com>
37908         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37909         now disallowed by GCC.
37911         * configure.in (use-default-link): Default to yes if a test -shared
37912         link meets our qualifications.
37913         * configure: Regenerated.
37915         * config.make.in (output-format): New variable.
37916         * configure.in: Check for ld --print-output-format support.
37917         * configure: Regenerated.
37918         * Makerules ($(common-objpfx)format.lds)
37919         [$(output-format) != unknown]: Just use $(output-format),
37920         instead of the linker-script munging.
37922 2011-07-14  Roland McGrath  <roland@hack.frob.com>
37924         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37925         of $(common-objpfx)shlib.lds.
37926         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37928         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37929         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37931         * configure.in (-z relro check): Adjust test code to add a large
37932         writable data section after it.
37933         * configure: Regenerated.
37935 2011-07-11  Roland McGrath  <roland@hack.frob.com>
37937         * configure.in (-z relro check): Fix test code to make the variable
37938         truly const.
37939         * configure: Regenerated.
37941 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
37943         * nscd/nscd.h (struct traced_file): Define.
37944         (struct database_dyn): Remove inotify_descr, reset_res, and filename
37945         elements.  Add traced_files.
37946         (inotify_fd): Declare.
37947         (register_traced_file): Declare.
37948         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37949         (inotify_fd): Export.
37950         (resolv_conf_descr): Remove.
37951         (nscd_init): Move inotify descriptor creation to main.
37952         Don't register files for notification here.
37953         (register_traced_file): New function.
37954         (invalidate_cache): Don't use reset_res to determine whether to call
37955         res_init, go through the list of registered files.
37956         (main_loop_poll): The inotify descriptors are now stored in the
37957         structures for the traced files.
37958         (main_loop_epoll): Likewise
37959         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
37960         to __nss_disable_nscd.
37961         * nscd/cache.c (prune_cache): There is no single inotify descriptor
37962         for a database anymore.  Check the records for all the registered
37963         files instead.
37964         * nss/Makefile (libnss_files-routines): Add files-init.
37965         (libnss_db-routines): Add db-init.
37966         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37967         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37968         * nss/nss_db/db-init.c: New file.
37969         * nss/nss_files/files-init.c: New file.
37970         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
37971         __nss_lookup_function.
37972         (__nss_lookup_function): Call nss_load_library.
37973         (nss_load_all_libraries): New function.
37974         (__nss_disable_nscd): Take parameter with callback function for files
37975         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
37976         used for the cached services.
37977         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37978         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37979         options for features to all the files in nscd.
37981         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37983 2011-07-10  Roland McGrath  <roland@hack.frob.com>
37985         * csu/elf-init.c (__libc_csu_init): Comment typo.
37987 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
37989         * po/pl.po: Update from translation team.
37990         * po/ja.po: Likewise.
37991         * po/ru.po: Likewise.
37992         * po/ko.po: Likewise.
37993         * po/fr.po: Likewise.
37995 2011-07-09  Roland McGrath  <roland@hack.frob.com>
37997         * configure.in (.ctors/.dtors header and trailer check):
37998         Use an empirical test on a built program.
37999         * configure: Regenerated.
38001         * configure.in (-z relro check): Use an empirical test on a built DSO.
38002         Detect, but do not require, on ia64.
38003         * configure: Regenerated.
38005         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38006         Update tests that use readelf to use $READELF instead.
38007         * configure: Regenerated.
38009 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38011         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38012         if the result is not used.
38014 2011-07-05  Andreas Jaeger  <aj@suse.de>
38016         [BZ#9696]
38017         * stdlib/tst-strtod.c: Add testcase.
38019 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38021         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38022         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38023         The latter has a higher limit.  Take additional parameter to pass to
38024         the new function.
38025         (__pathconf): Pass file to __statfs_link_max.
38026         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38027         __statfs_link_max.
38028         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38029         __statfs_link_max.
38031         [BZ #12868]
38032         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38033         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38034         Handle Lustre.
38035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38036         (__statfs_filesize_max): Likewise.
38037         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38039 2011-07-05  Andreas Jaeger  <aj@suse.de>
38041         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38043 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38045         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38046         `status' variable.
38047         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38048         Likewise.
38050 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38052         * Makefile (strop-tests): Add strncat.
38053         * string/test-strncat.c: New file.
38055 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38057         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38059 2011-06-21  Andreas Jaeger  <aj@suse.de>
38061         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38062         Copy rule from iconvdata/Makefile.
38064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38066         [BZ #12922]
38067         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38068         but no long options are defined, just return 'W'.
38070 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38072         [BZ #9696]
38073         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38075 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38077         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38078         netgroups to read.
38079         (innetgr): Likewise.
38081 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38083         * config.make.in (install_root): Default to $(DESTDIR).
38085 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38087         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38089 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38091         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38093         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38094         containing directory rather than embedding absolute directory names.
38096         * scripts/check-local-headers.sh: Rewritten using awk.
38097         Match by word, not by line.  Print error messages for matches.
38098         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38100         * Makerules [shlib-lds-flags empty]:
38101         ($(common-objpfx)libc_pic.opts): New target.
38102         ($(common-objpfx)libc_pic.os.clean): New target.
38103         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38105         * config.make.in (OBJCOPY): New variable.
38106         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38107         * configure: Regenerated.
38109         * config.make.in (use-default-link): New variable.
38110         * configure.in (use_default_link): Grok --with-default-link to set it.
38111         * configure: Regenerated.
38112         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38113         (shlib-lds, shlib-lds-flags): Define to empty.
38115         * Makerules (shlib-lds): New variable.
38116         (shlib-lds-flags): New variable.
38117         (build-shlib, build-moduile, build-module-asneeded): Use it.
38118         ($(common-objpfx)libc.so): Use $(shlib-lds).
38119         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38120         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38122         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38123         DT_FLAGS/DT_FLAGS_1 with zero flags.
38125         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38126         linker script munging.
38128 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38130         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38131         as 128-bit value.
38132         * crypt/sha512.c (sha512_process_block): Perform total addition using
38133         128-bit if possible.
38134         (__sha512_finish_ctx): Likewise.
38135         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38136         as 64-bit value.
38137         * crypt/sha256.c (SWAP64): Define.
38138         (sha256_process_block): Perform total addition using 64-bit if
38139         possible.
38140         (__sha256_finish_ctx): Likewise.
38142 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38144         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38146         * nscd/hstcache.c (cache_addhst): Likewise.
38147         * nscd/grpcache.c (cache_addgr): Likewise.
38148         * nscd/aicache.c (addhstaiX): Likewise
38149         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38151 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38153         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38155         * nscd/hstcache.c (cache_addhst): Likewise.
38156         * nscd/grpcache.c (cache_addgr): Likewise.
38157         * nscd/aicache.c (addhstaiX): Likewise
38159 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38161         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38162         domain only when needed.
38164 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38167         is always restored.
38169 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38171         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38172         are re-adding the entry.
38173         * nscd/servicescache.c (cache_addserv): Likewise.
38175 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38177         * sysdeps/generic/dl-irel.h: fix protection against multiple
38178         inclusions.
38179         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38181 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38183         [BZ #12935]
38184         * malloc/memusage.sh: Fix quoting in message.
38185         * debug/xtrace.sh: Likewise.
38187         * configure.in: Remove support for --experimental-malloc option, make
38188         it the default.
38189         * config.make.in: Likewise.
38190         * malloc/Makefile: Likewise.
38192 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38194         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38195         two-byte characters.
38197 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38199         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38200         AC_CACHE_CHECK invocation.
38201         * configure: Regenerated.
38203         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38205 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38207         [BZ #12350]
38208         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38209         bit from old_res_options.
38211         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38213         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38214         value type for setfct.
38216 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38219         __gettimeofday instead of gettimeofday.
38221 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38223         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38225 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38229         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38230         info.
38232 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38235         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38236         strcpy-sse2-unaligned strncpy-sse2-unaligned
38237         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38238         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38239         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38240         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38241         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38242         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38244         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38245         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38246         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38247         (STRCPY): Support SSE2 and SSSE3 versions.
38249 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38251         [BZ #12874]
38252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38253         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38254         kernels which artificially limit size of requests.
38256 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38259         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38260         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38261         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38262         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38263         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38264         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38265         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38266         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38268         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38269         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38270         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38271         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38272         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38274         Enable unaligned load optimization for Intel Core i3, i5 and i7
38275         processors.
38276         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38277         Define.
38278         (index_Fast_Unaligned_Load): Define.
38279         (HAS_FAST_UNALIGNED_LOAD): Define.
38281 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38283         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38287         [BZ #12907]
38288         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38289         until it is clear that the information is realy needed.
38290         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38292 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38296 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38299         /sys/devices/system/cpu/online if it is usable.
38301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38302         reading the information from the /proc filesystem to once a second.
38304 2011-06-21  Andreas Jaeger  <aj@suse.de>
38306         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38307         NULL after inclusion of kernel headers.
38309 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38311         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38312         calls to internal_setent.
38314         [BZ #12885]
38315         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38316         addresses using gethostbyname4_r ignore IPv4 addresses.
38318         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38319         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38321         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38323 2011-06-20  David S. Miller  <davem@davemloft.net>
38325         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38326         inclusions.
38327         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38329         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38330         (elf_irel): Use it.
38331         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38332         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38333         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38334         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38335         * sysdeps/x86_64/dl-irel.h: Likewise.
38337         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38338         * elf/dl-sym.c: Likewise.
38340 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38342         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38343         need to dereference resplen2.
38345 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38347         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38349 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38351         * Makeconfig: Define vardbdir and inst_vardbdir.
38352         * nss/Makefile: Add rules to install db-Makefile.
38354         * nss/nss_db/db-XXX.c: Cleanup.
38356         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38357         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38358         GLIBC_PRIVATE.
38359         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38360         * nss/makedb.c: Implement -g option to specify that value strings
38361         are generated and should not be added to table iterated over for
38362         get*ent calls.
38363         * nss/nss_db/db-initgroups.c: New file.
38365         * nss/getent.c: Add support for initgroups lookups through getgrouplist
38366         interface.
38368         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38369         (internal_getgrouplist): Adjust to name change.
38370         Update use_initgroups_entry if this is not the first call.
38371         * nss/databases.def: Add initgroups entry.
38373         * nss/makedb.c (compute_tables): Check result of multiple hash table
38374         sizes to minimize maximum chain length.
38376 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
38378         * Versions.def: Add entry for libnss_db.
38379         * shlib-versions: Likewise.
38380         * nss/Makefile: Add rules to build libnss_db.
38381         * nss/Versions: Add libnss_db information.  Organize libnss_files
38382         entries better.
38383         * nss/db-Makefile: Add gshadow support.  Change rules for the new
38384         makedb progra.  Some minor improvements to generate smaller files.
38385         * nss/nss_db/nss_db.h: Move NSS database header data structures to
38386         here from...
38387         * nss/makedb.c: ...here.
38388         Improve database format to be smaller and require less memory at
38389         runtime.
38390         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
38391         db anymore.
38392         * nss/nss_db/db-netgrp.c: Likewise.
38393         * nss/nss_db/db-open.c: Likewise.
38394         * nss/nss_files/flies-XXX.x: Adjust comments.
38395         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38396         * nss/nss_files/files-grp.c: Likewise.
38397         * nss/nss_files/files-hosts.c: Likewise.
38398         * nss/nss_files/files-network.c: Likewise.
38399         * nss/nss_files/files-proto.c: Likewise.
38400         * nss/nss_files/files-pwd.c: Likewise.
38401         * nss/nss_files/files-rpc.c: Likewise.
38402         * nss/nss_files/files-service.c: Likewise.
38403         * nss/nss_files/files-sgrp.c: Likewise.
38404         * nss/nss_files/files-spwd.c: Likewise.
38405         * nss/nss_db/db-alias.c: Removed.
38406         * nss/nss_db/dummy-db.h: Removed.
38408 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
38410         * nss/makedb.c: Rewritten to not use database library.
38411         * nss/Makefile: Update to build new makedb program.
38413 2011-06-14  Andreas Jaeger  <aj@suse.de>
38415         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38416         memset declaration.
38418 2011-06-10  Andreas Schwab  <schwab@redhat.com>
38420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38421         tmpbuf.
38423 2011-06-10  Roland McGrath  <roland@hack.frob.com>
38425         * Makerules (shlib.lds): Fail if the linker script comes out empty.
38426         * elf/Makefile ($(objpfx)ld.so): Likewise.
38428         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38429         Don't list ld.so twice in dependencies.
38431         * posix/bug-regex31.c: Include <stdlib.h>.
38433         * nscd/hstcache.c (cache_addhst): Remove unused variable.
38435         * nis/nss_compat/compat-spwd.c
38436         (getspent_next_nss_netgr): Remove unused variable.
38437         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38439         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38440         nonmembers" output to use the right array.
38442         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
38444         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
38446         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
38447         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
38448         * catgets/gencat.c (read_input_file): Likewise.
38449         * locale/programs/locarchive.c (enlarge_archive): Likewise.
38451         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
38452         variable definition inside #if's controlling its use.
38454         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
38456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
38458         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
38460         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
38461         unreachable code.
38463         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
38465         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
38466         * configure: Regenerated.
38468         * Makerules: Revert last change.
38469         * elf/Makefile: Likewise.
38471 2011-06-09  Roland McGrath  <roland@hack.frob.com>
38473         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
38474         * elf/Makefile ($(objpfx)librtld.os): Likewise.
38475         (reloc-link): Likewise.
38477 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
38479         * elf/Makefile: Add rules to build pldd.
38480         * elf/pldd.c: New file.
38481         * elf/pldd-xx.c: New file.
38483 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
38485         * version.h: Update for 2.15 development version.
38487 2011-06-07  David S. Miller  <davem@davemloft.net>
38489         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
38490         ifuncs.
38491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
38492         elf_machine_lazy_rel): Likewise.
38493         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
38495         elf_machine_lazy_rel): Likewise.
38496         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
38497         dl_hwcap via passed in argument.
38498         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
38499         Likewise.
38501 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38503         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
38505 2011-06-06  Roland McGrath  <roland@hack.frob.com>
38507         [BZ #12849]
38508         * manual/fdl-1.1.texi: New file, verbatim from:
38509         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
38510         * manual/lgpl-2.1.texi: New file, verbatim from:
38511         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
38512         * manual/Makefile (licenses): New variable, list those new file names.
38513         (texis): Use it.
38514         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
38516         * manual/fdl.texi: File removed.
38517         * manual/lesser.texi: File removed.
38518         * manual/libc.texinfo (Copying, Documentation License):
38519         Use new @include file names, put @appendix directive before @include.
38521 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
38523         [BZ #12841]
38524         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
38525         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
38526         (mq_open): Add __NTH.
38528 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
38530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38531         Assume Intel Core i3/i5/i7 processor if AVX is available.
38533 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38536         typo.
38538 2011-05-31  Andreas Schwab  <schwab@redhat.com>
38540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
38541         memory.  Use alloca_account.  Fix memory leak when retrying.
38543 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38545         * version.h (RELEASE): Bump for 2.14 release.
38546         * include/features.h (__GLIBC_MINOR__): Bump to 14.
38548         * config.make.in (RANLIB): Remove entry.
38550 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
38552         * po/Makefile (po-sed-cmd): Add ksh to extensions.
38553         (libc.pot): Work around missing support for .ksh extension in xgettext.
38555         [BZ #12684]
38556         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
38557         if both request failed.
38558         (send_dg): In case of server errors clear resplen or *resplen2.
38560         [BZ #12454]
38561         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
38562         when there are multiple maps.
38563         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
38564         (_dl_fini): Remove test here.
38566         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
38568 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
38570         [BZ #12350]
38571         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
38572         bit from old_res_options.
38573         (gaih_inet): Likewise.
38575         [BZ #11099]
38576         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
38577         as signed.
38579         * resolv/res_init.c (res_setoptions): Make the code more compact.
38581         [BZ #11558]
38582         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
38583         set RES_USEVC.
38585         [BZ #11634]
38586         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
38588         * malloc/malloc.h: Mark malloc hook variables as deprecated.
38590         [BZ #11781]
38591         * malloc/malloc.h: Declare malloc hook variables as volatile.
38593         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
38594         in last patch.
38596         [BZ #11799]
38597         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
38598         raise in the comment.
38599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
38603 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
38605         [BZ #12811]
38606         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
38607         grow the buffers more if it already has to be sufficient.
38608         (build_wcs_upper_buffer): Likewise.
38609         * posix/regexec.c (check_matching): Likewise.
38610         (clean_state_log_if_needed): Likewise.
38611         (extend_buffers): Don't enlarge buffers beyond size of the input
38612         buffer.
38613         Patches mostly by Emil Wojak <emil@wojak.eu>.
38614         * posix/bug-regex32.c: New file.
38615         * posix/Makefile (tests): Add bug-regex32.
38617         * locale/findlocale.c (_nl_find_locale): Return right away if
38618         _nl_explode_name failed.
38619         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
38621         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
38623         * debug/xtrace.sh: Unify messages.
38624         * malloc/memusage.sh: Likewise.
38626         [BZ #12813]
38627         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
38628         time symbol from vDSO.  Substitute with vsyscall if not available.
38629         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
38630         __vdso_time.
38632         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
38633         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
38634         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
38635         Add sendmmsg and internal_sendmmsg.
38636         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
38637         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
38638         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
38640         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
38641         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
38642         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
38644 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
38646         [BZ #12813]
38647         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
38648         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
38649         available.
38650         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
38651         __vdso_getcpu.
38653         [BZ #12814]
38654         * iconvdata/Makefile (tests): Add bug-iconv9.
38655         * iconvdata/bug-iconv9.c: New file.
38657 2011-05-27  Andreas Schwab  <schwab@redhat.com>
38659         [BZ #12814]
38660         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
38662 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
38664         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38665         (struct user_regs_struct): Change intcs field back to cs.
38667 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
38669         * po/ja.po: Update from translation team.
38671 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
38673         [BZ #12795]
38674         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38675         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38677 2011-05-20  Andreas Schwab  <schwab@redhat.com>
38679         * stdlib/longlong.h: Update from GCC.
38681 2011-05-23  Andreas Schwab  <schwab@redhat.com>
38683         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38684         parameter name.
38685         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38686         Add parameter name.
38687         (__sysconf): Pass it down.
38689 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
38691         [BZ #12671]
38692         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38693         some situations.
38694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38695         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38696         add in in __libc_use_alloca calls.  Adjust callers.
38697         (glob): Use malloc in some situations.
38699         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38700         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38701         pltexit.
38703 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
38705         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38706         and CLOCK_BOOTTIME_ALARM.
38708         [BZ #12782]
38709         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38710         is returned.
38712         * string/_strerror.c (__strerror_r): Print negative errors as signed
38713         numbers.
38715         [BZ #12777]
38716         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38717         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38718         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38720         * configure.in: Fix typo in redirection and correct removal of test
38721         files in two cases.
38723         [BZ #12788]
38724         * locale/setlocale.c (new_composite_name): Fix test to check for
38725         identical name of all categories.
38727         [BZ #12792]
38728         * libio/filedoalloc.c (local_isatty): New function.
38729         (_IO_file_doallocate): Use local_isatty.
38730         * stdio-common/perror.c (perror): In case a new stream is used
38731         forward the stream error.
38732         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38733         error flag.
38735 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
38737         [BZ #11869]
38738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38739         alloca.
38740         * include/alloca.h (extend_alloca_account): Define.
38742         [BZ #11857]
38743         * posix/regex.h: Fix comments with documentation of user-accessible
38744         fields after compilation and describe correct free'ing of pattern
38745         after re_compile_pattern.
38746         Patch by Reuben Thomas <rrt@sc3d.org>.
38748 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
38750         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38751         and -mno-altivec to prevent the compiler from using Altivec and/or
38752         VSX instructions when the corresponding registers are not available.
38754 2011-05-19  Andreas Schwab  <schwab@redhat.com>
38756         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38758 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
38760         * libio/freopen.c (freopen): Use __dup2, not dup2.
38761         * libio/freopen64.c (freopen64): Likewise.
38763 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38765         [BZ #12775]
38766         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38767         * math/Makefile (tests): Add test-powl.
38768         (CFLAGS-test-powl.c): Define.
38769         * math/test-powl.c: New file.
38771 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38773         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38775 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
38777         [BZ #11837]
38778         * iconvdata/gb18030.c: Update to GB18020-2005.
38780 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
38782         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38783         RE_SYNTAX_POSIX_AWK): Update to match recent development.
38784         Patch by Aharon Robbins <arnold@skeeve.com>.
38786         [BZ #11892]
38787         * stdlib/putenv.c (putenv): Don't always create copy of the variable
38788         on the stack.
38790         [BZ #11895]
38791         * misc/pselect.c (__pselect): Handle timeout value errors hidden
38792         through underflows.
38794         [BZ #12766]
38795         * misc/error.c (error_at_line): Ensure file_name and old_file_name
38796         point to strings before performing equality test for error_one_per_line
38797         mode.
38799         [BZ #11697]
38800         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38802         [BZ #11820]
38803         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38804         (struct user_fpregs_struct): Avoid __uint*_t types.
38806         [BZ #6420]
38807         * malloc/mtrace.c (tr_where): Add additional parameter to point to
38808         symbol info.  Use it instead of calling _dl_addr locally.
38809         (lock_and_info): New function.
38810         (tr_freehook): Call lock_and_info and pass symbol info as additional
38811         parameter to tr_where.
38812         (tr_mallochook): Likewise.
38813         (tr_reallochook): Likewise.
38814         (tr_memalignhook): Likewise.
38816         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
38817         used and couldn't be at all thread-safe.
38819 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
38821         * libio/freopen.c (freopen): Don't close old file descriptor
38822         before the new one is opened.  Instead dup the new file descriptor
38823         to the old one after the new stream is created.
38824         * libio/freopen64.c (freopen64): Likewise.
38825         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38826         * libio/fileops.c (_IO_new_file_close_it): Handle new
38827         _IO_FLAGS2_NOCLOSE flag.
38828         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38829         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38830         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38831         _IO_FLAGS2_NOCLOSE flag.
38832         * include/unistd.h: Add hidden_proto for dup3.
38833         Define __have_dup3.
38834         * io/dup3.c: Define hidden symbol.
38835         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38837         [BZ #7101]
38838         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38839         when an incomplete long option is used.
38840         * posix/tst-getopt_long1.c: New file.
38841         * posix/Makefile (tests): Add tst-getopt_long1.
38843         [BZ #10138]
38844         * scripts/config.guess: Update from autoconf-2.68.
38845         * scripts/config.sub: Likewise.
38847         [BZ #10157]
38848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38849         tests into ...
38850         (has_cpuclock): ...this.  New function.
38851         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38852         macro here based on has_cpuclock code.
38854         [BZ #10149]
38855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38856         First byte (not low byte) is now always NUL.
38857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38860         Use non-cancelable interfaces.
38862         [BZ #9809]
38863         * locale/iso-639.def: Add entry for Sorani.
38865         [BZ #11901]
38866         * include/stdlib.h: Move include protection to the right place.
38867         Define abort_msg_s.  Declare __abort_msg with it.
38868         * stdlib/abort.c (__abort_msg): Adjust type.
38869         * assert/assert.c (__assert_fail_base): New function.  Majority
38870         of code from __assert_fail.  Allocate memory for __abort_msg with
38871         mmap.
38872         (__assert_fail): Now call __assert_fail_base.
38873         * assert/assert-perr.c: Remove bulk of implementation.  Use
38874         __assert_fail_base.
38875         * include/assert.hL Declare __assert_fail_base.
38876         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38877         mmap.
38878         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38880 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
38882         [BZ #11952]
38883         [BZ #12453]
38884         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38885         until all modules are registered in the DTV.
38886         * elf/Makefile: Add rules to build and run tst-tls19.
38887         * elf/tst-tls19.c: New file.
38888         * elf/tst-tls19mod1.c: New file.
38889         * elf/tst-tls19mod2.c: New file.
38890         * elf/tst-tls19mod3.c: New file.
38891         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38893         [BZ #12083]
38894         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38895         correctly.
38897         [BZ #12601]
38898         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38899         two-byte sequence errors.
38900         * iconvdata/Makefile (tests): Add bug-iconv8.
38901         * iconvdata/bug-iconv8.c: New file.
38903         [BZ #12626]
38904         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38905         buf2 definition.
38907         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38909         [BZ #12432]
38910         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38911         (dummy_getcfa): New function.
38912         (init): Get _Unwind_GetCFA address, use dummy if not found.
38913         (backtrace_helper): In recursion check, also check whether CFA changes.
38914         (__backtrace): Completely initialize arg.
38916         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38917         storing incomplete byte sequence in state object.  Avoid testing for
38918         guaranteed too small input if we know there is enough data available.
38920 2011-05-11  Andreas Schwab  <schwab@redhat.com>
38922         * Makeconfig (+link-pie): Indent.
38923         * Rules (binaries-pie): Define if $(have-fpie) and
38924         $(build-shared).
38925         (binaries-shared): Also filter out $(binaries-pie).
38926         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38927         * nscd/Makefile (others-pie): Add nscd.
38928         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38929         ($(objpfx)nscd): Remove command override.
38930         * login/Makefile (others-pie): Add pt_chown.
38931         ($(objpfx)pt_chown): Remove command override.
38932         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38933         remove command overrides.
38935 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
38937         * libio/tst_putwc.c: Fix error messages.
38939         [BZ #12724]
38940         * libio/fileops.c (_IO_new_file_close_it): Always flush when
38941         currently writing and seek to current position when not.
38942         * libio/Makefile (tests): Add bug-fclose1.
38943         * libio/bug-fclose1.c: New file.
38945 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
38947         [BZ #12511]
38948         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38949         don't set DF_1_NODELETE here.
38950         (do_lookup_x): When entering new entry test for copy relocation
38951         and if necessary set DF_1_NODELETE flag.
38952         * elf/tst-unique4.cc: New file.
38953         * elf/tst-unique4.h: New file.
38954         * elf/tst-unique4lib.cc: New file.
38955         * elf/Makefile: Add rules to build and run tst-unique4.
38956         Patch by Piotr Bury <pbury@goahead.com>.
38958 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
38960         [BZ #12052]
38961         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38963         [BZ #12625]
38964         * misc/mntent_r.c (addmntent): Flush the stream after the output
38966         [BZ #12393]
38967         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38968         (is_trusted_path_normalize): Skip initial colon.  Append slash
38969         to empty buffer.  Duplicate is_trusted_path code but allow
38970         constructed patch to be prefix.
38971         (is_dst): Allow $ORIGIN followed by /.
38972         (_dl_dst_substitute): Correct clearing of check_for_trusted.
38973         Correct testing of result of is_trusted_path_normalize
38974         (decompose_rpath): Fix warning.
38976 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
38978         [BZ #11257]
38979         * grp/initgroups.c (internal_getgrouplist): When we found the service
38980         list through the initgroups entry in nsswitch.conf do not always
38981         continue on a successful lookup.  Don't always use the
38982         __nss_group_database value if it is set.
38983         * nss/nsswitch.conf (initgroups): Change action for successful db
38984         lookup to continue for compatibility.
38986 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
38988         [BZ #11532]
38989         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38990         and CP774 modules.
38991         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38992         and CP774 modules.
38993         * iconvdata/tst-tables.sh: Likewise.
38994         * iconvdata/cp770.c: New file.
38995         * iconvdata/cp771.c: New file.
38996         * iconvdata/cp772.c: New file.
38997         * iconvdata/cp773.c: New file.
38998         * iconvdata/cp774.c: New file.
38999         * iconvdata/testdata/CP770: New file.
39000         * iconvdata/testdata/CP770..UTF8: New file.
39001         * iconvdata/testdata/CP771: New file.
39002         * iconvdata/testdata/CP771..UTF8: New file.
39003         * iconvdata/testdata/CP772: New file.
39004         * iconvdata/testdata/CP772..UTF8: New file.
39005         * iconvdata/testdata/CP773: New file.
39006         * iconvdata/testdata/CP773..UTF8: New file.
39007         * iconvdata/testdata/CP774: New file.
39008         * iconvdata/testdata/CP774..UTF8: New file.
39010         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39011         END CHARMAP line.
39012         * iconvdata/gen-8bit-gap.sh: Likewise.
39013         * iconvdata/gen-8bit.sh: Likewise.
39015         * locale/iso-639.def: Add ary entry.
39017         [BZ #11258]
39018         * locale/C-translit.h.in: Add U20A1 transliteration.
39020         [BZ #12178]
39021         * locale/iso-639.def: Add wae entry.
39022         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39024         [BZ #12545]
39025         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39026         for n.
39028         [BZ #12711]
39029         * locale/C-translit.h.in: Add entry for U20B9.
39030         Patch by pravin.d.s@gmail.com.
39032 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39034         [BZ #12713]
39035         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39036         ENAMETOOLONG use generic getcwd.
39037         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39038         in rtld.  Use *stat64.
39039         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39040         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39041         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39042         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39043         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39044         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39045         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39046         __fstatat64 macros.
39047         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39048         * dirent/rewinddir.c: Add libc_hidden_def.
39049         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39050         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39052         * include/dirent.h (__alloc_dir): Add flags parameter.
39053         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39054         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39055         __alloc_dir.
39056         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39057         from fdopendir if O_CLOEXEC is already set.
39059 2011-03-15  Alan Modra  <amodra@gmail.com>
39061         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39062         l_tls_firstbyte_offset non-zero.  Save padding offset in
39063         l_tls_firstbyte_offset for later use.
39064         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39065         freeing static tls block.
39067 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39069         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39070         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39071         being defined by the kernel headers.
39073 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39075         [BZ #12734]
39076         * resolv/resolv.h: Define RES_NOTLDQUERY.
39077         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39078         no-tld-query and set RES_NOTLDQUERY.
39079         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39080         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39081         modern BIND to search name as TLD unless forbidden.
39083 2011-05-07  Petr Baudis  <pasky@suse.cz>
39084             Ulrich Drepper  <drepper@gmail.com>
39086         [BZ #12393]
39087         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39088         (is_trusted_path): ...to here.
39089         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39090         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39091         using is_trusted_path_normalize() in setuid scripts.
39093 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39095         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39096         __BEGIN/__END_DECLS.
39098 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39101         NSS_STATUS_NOTFOUND if no record was found.
39103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39105         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39106         (headers-not-in-tirpc): Remove rpc/netdb.h
39107         * resolv/netdb.h: Revert last change.
39109 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39111         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39112         circular dependency between libgcc.a and libc.a.
39114 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39116         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39117         * nis/Makefile: Don't install rpcsvc/*.
39118         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39119         instead of <rpc/types.h>.
39120         (MAXHOSTNAMELEN): Define.
39122 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39124         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39126 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39128         [BZ #12714]
39129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39130         gethostbyname4_r when IPv6 results are possible.
39132 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39134         [BZ #12723]
39135         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39136         _PC_PIPE_BUF handling.
39138 2011-04-30  Bruno Haible  <bruno@clisp.org>
39140         [BZ #12717]
39141         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39142         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39143         to 'int'.
39144         * inet/getnameinfo.c (getnameinfo): Likewise.
39146 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39148         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39149         to groups setting in database lookup.
39150         * nss/nsswitch.conf: Add initgroups entry.
39152 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39154         [BZ #12685]
39155         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39156         mode string.
39157         Patch by Eric Blake <eblake@redhat.com>.
39159 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39161         * sunrpc/Makefile (need-export-routines): Add svc_run.
39162         (routines): Remove svc_run.
39163         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39164         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39165         * sunrpc/svc_run.c (svc_run): Likewise.
39166         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39168 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39170         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39171         problem in reallocation in last patch.
39173 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39175         * sunrpc/Makefile: Move inclusion of Rules.
39177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39179         * nss/nss_files/files-initgroups.c: New file.
39180         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39181         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39182         _nss_files_initgroups_dyn.
39184 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39186         * elf/elf.h (R_ARM_IRELATIVE): Define.
39188 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39190         * po/ru.po: Update from translation team.
39192 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39194         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39195         dependencies.
39197 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39199         [BZ #12653]
39200         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39201         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39206 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39208         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39209         differing bytes.
39210         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39211         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39214 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39216         [BZ #12420]
39217         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39218         storing it.
39219         * stdlib/bug-getcontext.c: New file.
39220         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39222 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39224         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39225         instructions into .machine "z9-109".
39226         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39227         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39229 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39231         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39232         between environment variables and auxiliary vector.
39234 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39236         * Makefile: Add rules to build linkobj/libc.so.
39237         * include/libc-symbols.h: Define libc_hidden_nolink.
39238         * include/rpc/auth.h: Mark functions which are to be hidden.
39239         * include/rpc/auth_des.h: Likewise.
39240         * include/rpc/auth_unix.h: Likewise.
39241         * include/rpc/clnt.h: Likewise.
39242         * include/rpc/des_crypt.h: Likewise.
39243         * include/rpc/key_prot.h: Likewise.
39244         * include/rpc/pmap_clnt.h: Likewise.
39245         * include/rpc/pmap_prot.h: Likewise.
39246         * include/rpc/pmap_rmt.h: Likewise.
39247         * include/rpc/rpc_msg.h: Likewise.
39248         * include/rpc/svc.h: Likewise.
39249         * include/rpc/svc_auth.h: Likewise.
39250         * include/rpc/xdr.h: Likewise.
39251         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39252         * nss/Makefile: Likewise.
39253         * sunrpc/Makefile: Don't install headers.  Build library with normal
39254         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39255         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39256         for the compat linking library.  Remove use of INTDEF/INTUSE.
39257         * sunrpc/auth_none.c: Likewise.
39258         * sunrpc/auth_unix.c: Likewise.
39259         * sunrpc/authdes_prot.c: Likewise.
39260         * sunrpc/authuxprot.c: Likewise.
39261         * sunrpc/clnt_gen.c: Likewise.
39262         * sunrpc/clnt_perr.c: Likewise.
39263         * sunrpc/clnt_raw.c: Likewise.
39264         * sunrpc/clnt_simp.c: Likewise.
39265         * sunrpc/clnt_tcp.c: Likewise.
39266         * sunrpc/clnt_udp.c: Likewise.
39267         * sunrpc/clnt_unix.c: Likewise.
39268         * sunrpc/des_crypt.c: Likewise.
39269         * sunrpc/des_soft.c: Likewise.
39270         * sunrpc/get_myaddr.c: Likewise.
39271         * sunrpc/key_call.c: Likewise.
39272         * sunrpc/key_prot.c: Likewise.
39273         * sunrpc/netname.c: Likewise.
39274         * sunrpc/pm_getmaps.c: Likewise.
39275         * sunrpc/pm_getport.c: Likewise.
39276         * sunrpc/pmap_clnt.c: Likewise.
39277         * sunrpc/pmap_prot.c: Likewise.
39278         * sunrpc/pmap_prot2.c: Likewise.
39279         * sunrpc/pmap_rmt.c: Likewise.
39280         * sunrpc/publickey.c: Likewise.
39281         * sunrpc/rpc_cmsg.c: Likewise.
39282         * sunrpc/rpc_common.c: Likewise.
39283         * sunrpc/rpc_dtable.c: Likewise.
39284         * sunrpc/rpc_prot.c: Likewise.
39285         * sunrpc/rpc_thread.c: Likewise.
39286         * sunrpc/rtime.c: Likewise.
39287         * sunrpc/svc.c: Likewise.
39288         * sunrpc/svc_auth.c: Likewise.
39289         * sunrpc/svc_authux.c: Likewise.
39290         * sunrpc/svc_raw.c: Likewise.
39291         * sunrpc/svc_run.c: Likewise.
39292         * sunrpc/svc_simple.c: Likewise.
39293         * sunrpc/svc_tcp.c: Likewise.
39294         * sunrpc/svc_udp.c: Likewise.
39295         * sunrpc/svc_unix.c: Likewise.
39296         * sunrpc/svcauth_des.c: Likewise.
39297         * sunrpc/xcrypt.c: Likewise.
39298         * sunrpc/xdr.c: Likewise.
39299         * sunrpc/xdr_array.c: Likewise.
39300         * sunrpc/xdr_float.c: Likewise.
39301         * sunrpc/xdr_intXX_t.c: Likewise.
39302         * sunrpc/xdr_mem.c: Likewise.
39303         * sunrpc/xdr_rec.c: Likewise.
39304         * sunrpc/xdr_ref.c: Likewise.
39305         * sunrpc/xdr_sizeof.c: Likewise.
39306         * sunrpc/xdr_stdio.c: Likewise.
39308 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39310         [BZ #12650]
39311         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39312         * sysdeps/ia64/dl-tls.h: Likewise.
39313         * sysdeps/powerpc/dl-tls.h: Likewise.
39314         * sysdeps/s390/dl-tls.h: Likewise.
39315         * sysdeps/sh/dl-tls.h: Likewise.
39316         * sysdeps/sparc/dl-tls.h: Likewise.
39317         * sysdeps/x86_64/dl-tls.h: Likewise.
39318         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39320 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39322         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39323         rpath element also skip the following colon.
39324         (expand_dynamic_string_token): Add is_path parameter and pass
39325         down to DL_DST_REQUIRED and _dl_dst_substitute.
39326         (decompose_rpath): Call expand_dynamic_string_token with
39327         non-zero is_path.  Ignore empty rpaths.
39328         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39329         with zero is_path.
39331 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39334         Make cancelable.
39336 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39338         [BZ #12655]
39339         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39340         Patch by Filipe David Manana <fdmanana@apache.org>.
39342 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39345         Maintain aligned stack.
39346         (CHECK_RSP): Remove unused macro.
39348 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39350         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39351         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39353 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
39355         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39357         * include/features.h: Mention __USE_XOPEN2K8 in comment.
39359 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
39361         [BZ #12518]
39362         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39363         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39364         * sysdeps/x86_64/memmove.c: New file.
39365         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39366         (memcpy): Renamed to ...
39367         (__new_memcpy): This.
39368         (memcpy): Provide GLIBC_2_14 memcpy.
39369         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39370         (memcpy): Provide GLIBC_2_2_5 memcpy.
39372 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39374         [BZ #12631]
39375         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39377 2011-03-30  Andreas Schwab  <schwab@redhat.com>
39379         * misc/syncfs.c: New file.
39380         * misc/Makefile (routines): Add syncfs.
39381         * posix/unistd.h: Declare syncfs.
39382         * sysdeps/unix/syscalls.list: Add syncfs.
39384 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39386         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39387         open_by_handle_at.
39388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39389         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39393         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39396 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39399         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39400         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39402         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39404         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39406         * io/Makefile: Compile fallocate.c, fallocate64.c, and
39407         sync_file_range.c with -fexceptions.
39408         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39409         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39410         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39411         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39412         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39413         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39414         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39415         sync_file_range as cancellation point
39416         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
39417         now a wrapper around __call_sync_file_range with cancellation handling.
39418         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
39420         function name to __call_sync_file_range.
39421         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39422         Add call_sync_file_range.
39424 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39427         bits/timex.h.
39429 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39431         * iconv/iconv.h: Fix typo in comment.
39432         * io/fcntl.h: Likewise.
39433         * libio/stdio.h: Likewise.
39434         * posix/spawn.h: Likewise.
39435         * posix/unistd.h: Likewise.
39436         * stdlib/stdlib.h: Likewise.
39437         * time/time.h: Likewise.
39438         * wcsmbs/wchar.h: Likewise.
39440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39441         open_by_handle): Add.
39442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
39443         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
39444         Augment a few comments.
39445         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39447         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39450         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
39451         open_by_handle.
39453         * io/fcntl.h (AT_EMPTY_PATH): Define.
39455 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
39457         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
39458         * sysdeps/unix/sysv/linux/bits/time.h: New file.
39459         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
39460         to...
39461         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
39462         * Versions.def: Add GLIBC_2.14.
39463         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
39464         Export.
39466 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
39468         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
39469         round counter.
39470         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39472 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39474         [BZ #12597]
39475         * string/test-strncmp.c (do_page_test): New function.
39476         (check2): Likewise.
39477         (test_main): Call check2.
39478         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
39480 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
39482         [BZ #12587]
39483         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
39484         Handle cache information in CPU leaf 4.
39485         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39487 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
39489         [BZ #12583]
39490         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
39491         character representation.
39492         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
39494 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
39496         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
39497         END(__isnan) to END(__isnanf) to match function entry point/label
39498         EALIGN(__isnanf,...).
39500 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
39502         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
39504 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
39506         [BZ #12510]
39507         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
39508         copy from the symbol referenced in the relocation to initialize the
39509         used variable.
39510         Patch by Piotr Bury <pbury@goahead.com>.
39511         * elf/Makefile: Add rules to build and tst-unique3.
39512         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
39513         * elf/tst-unique3.cc: New file.
39514         * elf/tst-unique3.h: New file.
39515         * elf/tst-unique3lib.cc: New file.
39516         * elf/tst-unique3lib2.cc: New file.
39518         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
39520 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
39522         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
39523         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
39524         to _start.
39526 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
39528         * elf/dl-load.c (_dl_map_object): If we are looking for the first
39529         to-be-loaded object along a path to loader is ld.so.
39531 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39532             Ulrich Drepper  <drepper@gmail.com>
39534         * sysdeps/x86_64/memset.S: After aligning destination, code
39535         branches to different locations depending on the value of
39536         misalignment, when multiarch is enabled. Fix this.
39538 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39540         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
39541         Set _x86_64_preferred_memory_instruction for AMD processsors.
39542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39543         Set bit_Prefer_SSE_for_memop for AMD processors.
39545 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
39547         * libio/fmemopen.c (fmemopen): Optimize a bit.
39549 2011-03-03  Andreas Schwab  <schwab@redhat.com>
39551         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
39553 2011-03-03  Roland McGrath  <roland@redhat.com>
39555         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
39557 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
39559         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
39560         __bzero_ultra1 instead of __memset_ultra1.
39562 2011-02-23  Andreas Schwab  <schwab@redhat.com>
39563             Ulrich Drepper  <drepper@gmail.com>
39565         [BZ #12509]
39566         * include/link.h (struct link_map): Add l_orig_initfini.
39567         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
39568         returning unsuccessfully.
39569         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
39570         close of a file loaded at startup, restore the original l_initfini
39571         list.
39572         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
39573         list, store the pointer.
39574         * elf/Makefile ($(objpfx)noload-mem): New rule.
39575         (noload-ENV): Define.
39576         (tests): Add $(objpfx)noload-mem.
39577         * elf/noload.c: Include <memcheck.h>.
39578         (main): Call mtrace.  Close all opened handles.
39580 2011-02-17  Andreas Schwab  <schwab@redhat.com>
39582         [BZ #12454]
39583         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
39584         dependencies are missing.
39586 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39588         Fix __if_freereq crash: Unlike the generic version which uses free,
39589         Hurd needs munmap.
39590         * sysdeps/mach/hurd/ifreq.h: New file.
39592 2011-01-27  Petr Baudis  <pasky@suse.cz>
39593             Ulrich Drepper  <drepper@gmail.com>
39595         [BZ 12445]#
39596         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
39597         to extend_alloca().
39598         * stdio-common/bug23.c: New file.
39599         * stdio-common/Makefile (tests): Add bug23.
39601 2010-09-28  Andreas Schwab  <schwab@redhat.com>
39602             Ulrich Drepper  <drepper@gmail.com>
39604         [BZ #12489]
39605         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
39606         before performing relro protection.  At old place add assertion
39607         to make sure nothing changed.
39609 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
39610             Glauber de Oliveira Costa  <glommer@gmail.com>
39612         * elf/elf.h: Add new ARM TLS relocs.
39614 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
39616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39617         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
39618         cast from r3.
39619         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
39620         'tests' variable.
39621         * sysdeps/wordsize-64/tst-writev.c: New file.
39623 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
39625         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
39626         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
39627         insns in _dl_start to prevent a TOC reference before relocs are
39628         resolved.
39630 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
39632         [BZ #12469]
39633         * Makeconfig: Remove RANLIB definition.
39634         * Makerules: Don't use RANLIB.
39635         * aclocal.m4: Remove ranlib test.
39636         * configure.in: No need to check for ranlib.
39637         * elf/rtld-Rules: Don't use RANLIB.
39639 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39641         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
39642         protection macro.
39643         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
39644         inclusion protection macro.
39646         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
39647         SIGRTMIN and SIGRTMAX and print information in that case only when
39648         SIGRTMIN is defined.
39650 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
39652         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
39653         arginfo fn returning -1.
39655         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
39656         and thousands string is zero terminated.
39658 2011-02-03  Andreas Schwab  <schwab@redhat.com>
39660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
39661         sysdeps/unix/sysv/linux/bits/socket.h.
39663 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39665         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
39666         (__CPU_COUNT): Remove old macros.
39667         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
39668         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
39669         (__CPU_ALLOC, __CPU_FREE): Add macros.
39670         (__sched_cpualloc, __sched_cpufree): Add declarations.
39672 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
39674         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39675         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39676         * nscd/aicache.c (addhstaiX): Return timeout of added value.
39677         (readdhstai): Return value of addhstaiX call.
39678         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39679         (addgrbyX): Return value returned by cache_addgr.
39680         (readdgrbyname): Return value returned by addgrbyX.
39681         (readdgrbygid): Likewise.
39682         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39683         (addpwbyX): Return value returned by cache_addpw.
39684         (readdpwbyname): Return value returned by addhstbyX.
39685         (readdpwbyuid): Likewise.
39686         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39687         (addservbyX): Return value returned by cache_addserv.
39688         (readdservbyname): Return value returned by addservbyX:
39689         (readdservbyport): Likewise.
39690         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39691         (addhstbyX): Return value returned by cache_addhst.
39692         (readdhstbyname): Return value returned by addhstbyX.
39693         (readdhstbyaddr): Likewise.
39694         (readdhstbynamev6): Likewise.
39695         (readdhstbyaddrv6): Likewise.
39696         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39697         (readdinitgroups): Return value returned by addinitgroupsX.
39698         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39699         (prune_cache): Keep track of timeout value of re-added entries.
39700         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39701         * nscd/nscd.h: Adjust prototypes of readd* functions.
39703 2011-02-04  Roland McGrath  <roland@redhat.com>
39705         * nis/nis_server.c (nis_servstate): Use the right name for 0.
39706         (nis_stats): Likewise.
39707         * nis/nis_modify.c (nis_modify): Likewise.
39708         * nis/nis_remove.c (nis_remove): Likewise.
39709         * nis/nis_add.c (nis_add): Likewise.
39711         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39713         * posix/fnmatch_loop.c: Add some consts.
39715         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39717 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
39719         [BZ #12460]
39720         * config.make.in (config-cflags-novzeroupper): Define.
39721         * configure.in: Substitute libc_cv_cc_novzeroupper.
39722         * elf/Makefile (AVX-CFLAGS): Define.
39723         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39724         (CFLAGS-tst-auditmod4a.c): Likewise.
39725         (CFLAGS-tst-auditmod4b.c): Likewise.
39726         (CFLAGS-tst-auditmod6b.c): Likewise.
39727         (CFLAGS-tst-auditmod6c.c): Likewise.
39728         (CFLAGS-tst-auditmod7b.c): Likewise.
39729         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39731 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
39733         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39734         function to the callback.
39735         Patch partly by Jiri Olsa <jolsa@redhat.com>.
39737 2011-02-02  Andreas Schwab  <schwab@redhat.com>
39739         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39740         of errno.
39742 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
39744         [BZ #11724]
39745         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39746         of constructors.
39747         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39748         of destructors.
39749         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39751         [BZ #11724]
39752         * elf/Makefile: Add rules to build and run new test.
39753         * elf/tst-initorder.c: New file.
39754         * elf/tst-initorder.exp: New file.
39755         * elf/tst-initordera1.c: New file.
39756         * elf/tst-initordera2.c: New file.
39757         * elf/tst-initordera3.c: New file.
39758         * elf/tst-initordera4.c: New file.
39759         * elf/tst-initorderb1.c: New file.
39760         * elf/tst-initorderb2.c: New file.
39761         * elf/tst-order-a1.c: New file.
39762         * elf/tst-order-a2.c: New file.
39763         * elf/tst-order-a3.c: New file.
39764         * elf/tst-order-a4.c: New file.
39765         * elf/tst-order-b1.c: New file.
39766         * elf/tst-order-b2.c: New file.
39767         * elf/tst-order-main.c: New file.
39768         New test case by George Gensure <werkt0@gmail.com>.
39770 2010-10-01  Andreas Schwab  <schwab@redhat.com>
39772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39773         decoding ACE if AI_CANONIDN.
39775 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
39777         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39779 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
39781         * version.h (RELEASE): Bump for 2.13 release.
39782         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39784         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39786         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39787         MADV_NOHUGEPAGE.
39788         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39789         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39790         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39791         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39792         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39795         * posix/getconf.c: Update copyright year.
39796         * catgets/gencat.c: Likewise.
39797         * csu/version.c: Likewise.
39798         * debug/catchsegv.sh: Likewise.
39799         * debug/xtrace.sh: Likewise.
39800         * elf/ldconfig.c: Likewise.
39801         * elf/ldd.bash.in: Likewise.
39802         * elf/sprof.c (print_version): Likewise.
39803         * iconv/iconv_prog.c: Likewise.
39804         * iconv/iconvconfig.c: Likewise.
39805         * locale/programs/locale.c: Likewise.
39806         * locale/programs/localedef.c: Likewise.
39807         * malloc/memusage.sh: Likewise.
39808         * malloc/mtrace.pl: Likewise.
39809         * nscd/nscd.c (print_version): Likewise.
39810         * nss/getent.c: Likewise.
39812         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39813         PF_CAIF, and PF_ALG.
39814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39816 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
39818         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39819         (modules-names): Use them.
39820         (ifunc-test-modules, ifunc-pie-tests): Define.
39821         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39822         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39823         (test-extras): Likewise.
39824         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39825         $(compile-command.c).
39826         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39827         (all-built-dso): Define.
39828         (check-textrel.out, check-execstack.out): Depend on it.
39830         * configure.in: Don't override --enable-multi-arch.
39832 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
39834         [BZ #6812]
39835         * nscd/hstcache.c (tryagain): Define.
39836         (cache_addhst): Return tryagain not notfound for temporary errors.
39837         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39838         failed.
39840 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
39842         [BZ #10563]
39843         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39844         to make the syscall.
39845         * sysdeps/unix/sysv/linux/setgroups.c: New file.
39847         [BZ #12378]
39848         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39849         and fall back to matching as normal character if the string ends before
39850         the matching ']' is found.  This is what POSIX requires.
39851         * posix/testfnm.c: Adjust test result.
39852         * posix/globtest.sh: Adjust test result.  Add new test.
39853         * posix/tst-fnmatch.input: Likewise.
39854         * posix/tst-fnmatch2.c: Add new test.
39856 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
39858         * elf/Makefile (check-execstack): Revert last change.  Depend on
39859         check-execstack.h.
39860         (check-execstack.h): New target.
39861         (generated): Add check-execstack.h.
39862         * elf/check-execstack.c: Include "check-execstack.h".
39863         (main): Revert last change.
39864         (handle_file): Return zero if GNU_STACK is absent and
39865         DEFAULT_STACK_PERMS doesn't include PF_X.
39867 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
39869         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39870         in child fails because the descriptor is already closed.
39871         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39872         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39873         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39875         [BZ #12397]
39876         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39877         syscall.
39879         [BZ #10484]
39880         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39881         temporary buffer used to handle multi lookups locally.
39882         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39884 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39886         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39887         loader is ld.so.
39889 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
39891         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39892         alignment for SSE2.
39894 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39896         [BZ #12394]
39897         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39898         characters.  When rounding increased number of integer digits recompute
39899         number of groups.
39900         * stdio-common/tst-grouping.c: New file.
39901         * stdio-common/Makefile: Add rules to build and run tst-grouping.
39903 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
39905         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39906         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
39908         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39909         void.
39910         * bits/select.h: Likewise.
39912 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
39914         * po/ja.po: Update from translation team.
39916 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
39918         [BZ #11155]
39919         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39920         implementation just like for lxstat, fxstatat, et al.
39922 2010-12-27  Jim Meyering  <meyering@redhat.com>
39924         [BZ #12348]
39925         * posix/regexec.c (build_trtable): Return failure indication upon
39926         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
39928 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
39930         [BZ #12201]
39931         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39932         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39934         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39936         [BZ #12207]
39937         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39939         [BZ #12204]
39940         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39941         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39943 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
39945         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39946         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39947         script has SORT_BY_INIT_PRIORITY.
39948         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39949         NO_CTORS_DTORS_SECTIONS is defined.
39950         * elf/soinit.c: Likewise.
39951         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39952         NO_CTORS_DTORS_SECTIONS is defined.
39953         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39954         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39955         * sysdeps/sh/init-first.c: Likewise.
39956         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39958 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
39960         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39961         always use the slow path.
39963 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
39965         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39966         similar rule which adds the sysdep directories to the header search in
39967         order to pick up the correct platform stackinfo.h.
39968         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39969         perform test if it is, otherwise return successfully without testing.
39970         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39971         DEFAULT_STACK_PERMS define in stackinfo.h.
39972         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39973         defined in stackinfo.h.
39974         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39975         DEFAULT_STACK_PERMS defined in stackinfo.h.
39976         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39977         * sysdeps/ia64/stackinfo.h: Likewise.
39978         * sysdeps/s390/stackinfo.h: Likewise.
39979         * sysdeps/sh/stackinfo.h: Likewise.
39980         * sysdeps/sparc/stackinfo.h: Likewise.
39981         * sysdeps/x86_64/stackinfo.h: Likewise.
39982         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39983         PF_X for powerpc64.  Retain PF_X for powerpc32.
39985 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
39987         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39988         accurately.
39989         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39990         GETDENTS_64BIT_ALIGNED.
39992 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
39994         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39996 2010-12-10  Andreas Schwab  <schwab@redhat.com>
39998         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39999         _GNU_SOURCE.
40001         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40002         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40003         Remove __restrict.
40004         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40005         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40007 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40009         [BZ #11655]
40010         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40011         are initialized.
40013 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40015         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40017 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40019         * po/it.po: Update from translation team.
40021 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40024         unused codes.
40026 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40028         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40030 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40032         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40033         specially.
40034         (gaih_getanswer_slice): Likewise.
40036 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40040 2010-05-31  Petr Baudis  <pasky@suse.cz>
40042         [BZ #11149]
40043         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40044         silently even in the chroot mode.
40046 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40048         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40049         last patch a bit.  Pretty printing
40051 2010-05-31  Petr Baudis <pasky@suse.cz>
40053         [BZ #10085]
40054         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40055         initialization of skip_initgroups_dyn.
40057 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40059         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40062 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40064         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40066 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40068         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40069         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40070         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40071         ($(objpfx)tst-fnmatch-mem): New rule.
40072         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40073         * posix/tst-fnmatch.c (main): Call mtrace.
40075 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40078         Support Intel processor model 6 and model 0x2c.
40080 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40082         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40083           signed comparison.
40085 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40087         [BZ #12205]
40088         * string/test-strncasecmp.c (check_result): New function.
40089         (do_one_test): Use it.
40090         (check1): New function.
40091         (test_main): Use it.
40092         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40093         Support strcasecmp and strncasecmp.
40095 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40097         [BZ #12194]
40098         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40099         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40101 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40103         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40104         IFUNC support.
40105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40106         memset-x86-64.
40107         * sysdeps/x86_64/multiarch/bzero.S: New file.
40108         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40109         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40110         * sysdeps/x86_64/multiarch/memset.S: New file.
40111         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40113         Set bit_Prefer_SSE_for_memop for Intel processors.
40114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40115         Define.
40116         (index_Prefer_SSE_for_memop): Define.
40117         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40119 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40121         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40124 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40126         [BZ #12191]
40127         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40128         (__x86_64_raw_data_cache_size_half): Likewise.
40129         (__x86_64_raw_shared_cache_size): Likewise.
40130         (__x86_64_raw_shared_cache_size_half): Likewise.
40132         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40133         (__x86_64_raw_data_cache_size_half): Likewise.
40134         (__x86_64_raw_shared_cache_size): Likewise.
40135         (__x86_64_raw_shared_cache_size_half): Likewise.
40136         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40137         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40138         and __x86_64_raw_shared_cache_size_half.  Round
40139         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40140         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40141         to multiple of 256 bytes.
40143 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40145         [BZ #12167]
40146         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40147         of inacessible symlinks.  Verify result of symlink before returning it.
40148         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40149         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40151 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40153         * math/math.h (isinf): Fix typo in comment.
40155 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40157         * po/da.po: Update from translation team.
40159 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40161         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40162         is added to the list.
40164 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40165             Ulrich Drepper  <drepper@gmail.com>
40167         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40168         the global list here.  Move code to...
40169         (_dl_add_to_namespace_list): ...here.  New function.
40170         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40171         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40172         * elf/dl-load.c (lose): Don't remove the element from the list.
40173         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40174         (_dl_map_object): Likewise.
40176 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40178         [BZ #12159]
40179         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40180         into all bytes of SSE register.
40181         Patch by Richard Li <richardpku@gmail.com>.
40183 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40185         [BZ #12140]
40186         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40187         perturbing.
40189 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40191         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40192         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40193         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40194         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40196         submachine.
40197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40199 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40201         * include/dlfcn.h (__RTLD_SECURE): Define.
40202         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40203         mode & __RTLD_SECURE instead.
40204         (open_path): Rename preloaded parameter to secure.
40205         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40206         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40207         * elf/dl-deps.c (openaux): Likewise.
40208         * elf/rtld.c (struct map_args): Remove is_preloaded.
40209         (map_doit): Don't use it.
40210         (dl_main): Likewise.
40211         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40212         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40214 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40216         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40217         (sysd-rules-targets): Remove duplicates.
40218         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40219         rtld-%.$o dependency.
40221 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40223         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40224         _dl_map_object do it.
40226 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40228         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40229         fast fma builtins, define the macros in the C99 standard.
40230         (FP_FAST_FMAF): Likewise.
40231         (FP_FAST_FMAL): Likewise.
40232         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40234         * bits/mathdef.h: Update copyright year.
40235         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40237 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40239         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40240         builtins, define the macros in the C99 standard.
40241         (FP_FAST_FMAF): Likewise.
40242         (FP_FAST_FMAL): Likewise.
40243         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40244         multiply/add.
40245         (FP_FAST_FMAF): Likewise.
40247 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40249         [BZ #3268]
40250         * math/libm-test.inc (fma_test): Some new testcases.
40251         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40252         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40253         y and infinite z.  Do multiplication by C already in long double.
40254         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40256         y and infinite z.  Do bitwise or of inexact bit into u.d.
40257         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40258         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40259         * sysdeps/i386/fpu/s_fma.S: Removed.
40260         * sysdeps/i386/fpu/s_fmal.S: Removed.
40262 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40264         [BZ #3268]
40265         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40267         computation is not scheduled after fetestexcept.  Fix value
40268         of minimum denormal long double.
40270 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40272         [BZ #3268]
40273         * math/libm-test.inc (fma_test): Add some more tests.
40274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40275         correctly.
40277 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40279         * scripts/data/localplt-s390-linux-gnu.data: New file.
40280         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40282 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40284         [BZ #3268]
40285         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40286         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40287         instead of dbl-64.
40288         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40289         inlines.
40290         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40292         if one of x and y is very large and the other is subnormal.
40293         * sysdeps/s390/fpu/s_fmaf.c: New file.
40294         * sysdeps/s390/fpu/s_fma.c: New file.
40295         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40296         * sysdeps/powerpc/fpu/s_fma.S: New file.
40297         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40298         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40299         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40301 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40303         [BZ #3268]
40304         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40305         fma tests.
40306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40307         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40308         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40309         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40310         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40311         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40314 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40316         [BZ #12078]
40317         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40318         * posix/bug-regex31.input: Add test case.
40320 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40322         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40323         * posix/bug-regex31.input: New file.
40325         [BZ #12078]
40326         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40327         (parse_sub_exp): Fix last change, use postorder.
40329         * posix/bug-regex31.c: New file.
40330         * posix/Makefile: Add rules to build and run bug-regex31.
40332         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40334         [BZ #12078]
40335         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40337         [BZ #12108]
40338         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40339         to have entries in sys_siglist.
40341         [BZ #12093]
40342         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40343         be NULL.
40345 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40347         [BZ #3268]
40348         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40349         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40350         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40351         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40352         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40353         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40354         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40355         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40356         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40357         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40358         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40359         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40360         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40361         * math/ftestexcept.c (fetestexcept): Likewise.
40362         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40363         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40364         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40365         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40366         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40367         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40368         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40370 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40372         [BZ #12107]
40373         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40374         newline.
40376 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
40378         * string/bug-strstr1.c: New file.
40379         * string/Makefile: Add rules to build and run bug-strstr1.
40381 2010-10-05  Eric Blake  <eblake@redhat.com>
40383         [BZ #12092]
40384         * string/str-two-way.h (two_way_long_needle): Always clear memory
40385         when skipping input due to the shift table.
40387 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
40389         [BZ #12005]
40390         * malloc/mcheck.c: Handle large requests.
40392         [BZ #12077]
40393         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40394         for strncmp and strncasecmp.
40395         * string/stratcliff.c: Add tests for strcmp and strncmp.
40396         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40398 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40400         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40401         __set_fpscr.
40403 2010-09-30  Andreas Jaeger  <aj@suse.de>
40405         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40406         (CGROUP_SUPER_MAGIC): Define.
40407         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40408         Handle btrfs and cgroup file systems.
40409         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40410         Likewise.
40412 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
40414         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40415         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40417 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40419         [BZ #12067]
40420         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40421         trying to locate the ELF header.
40423 2010-09-27  Andreas Schwab  <schwab@redhat.com>
40425         [BZ #11611]
40426         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40427         Mask out sign-bit copies when constructing f_fsid.
40429 2010-09-24  Petr Baudis <pasky@suse.cz>
40431         * debug/stack_chk_fail_local.c: Add missing licence exception.
40432         * debug/warning-nop.c: Likewise.
40434 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
40436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40437         implementing getdents64 using getdents syscall, set d_type if
40438         __ASSUME_GETDENTS32_D_TYPE.
40440 2010-09-16  Andreas Schwab  <schwab@redhat.com>
40442         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
40443         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
40445 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
40447         [BZ #12037]
40448         * posix/unistd.h: Undo change of feature selection for ftruncate from
40449         2010-01-11.
40451 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
40453         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
40454         detection.
40456 2010-09-20  Andreas Schwab  <schwab@redhat.com>
40458         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
40459         fanotify_mark.
40460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40462 2010-09-14  Andreas Schwab  <schwab@redhat.com>
40464         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
40465         variables after CHECK_SP call.
40466         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
40468 2010-09-13  Andreas Schwab  <schwab@redhat.com>
40469             Ulrich Drepper  <drepper@redhat.com>
40471         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
40472         re-relocationg ld.so.
40473         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
40474         _dl_init_paths call.
40475         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
40476         here anymore.
40478 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
40480         * resolv/res_init.c (__res_vinit): Count the default server we added.
40482 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
40483             Ulrich Drepper  <drepper@redhat.com>
40485         [BZ #11968]
40486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40487         (____longjmp_chk): Use %ebx for saving value across system call.
40488         Add unwind info.
40490 2010-09-06  Andreas Schwab  <schwab@redhat.com>
40492         * manual/Makefile: Don't mix pattern rules with normal rules.
40494 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40496         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
40497         operation.
40498         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
40499         * libio/iofopncook.c (_IO_cookie_init): Likewise.
40500         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
40501         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
40502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40503         Likewise.
40505 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
40507         [BZ #11979]
40508         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
40509         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
40511 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
40513         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40514         * sysdeps/x86_64/addmul_1.S: Likewise.
40515         * sysdeps/x86_64/lshift.S: Likewise.
40516         * sysdeps/x86_64/mul_1.S: Likewise.
40517         * sysdeps/x86_64/rshift.S: Likewise.
40518         * sysdeps/x86_64/sub_n.S: Likewise.
40519         * sysdeps/x86_64/submul_1.S: Likewise.
40521 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40523         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
40524         Define __sched_param instead of SCHED_* and sched_param when
40525         <bits/sched.h> is included with __need_schedparam defined.
40526         * bits/sched.h [__need_schedparam]
40527         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
40528         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
40529         (__defined_schedparam): Define to 1.
40530         (__sched_param): New structure, identical to sched_param.
40531         (__need_schedparam): Undefine.
40533 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
40535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
40536         (epoll_create1): Declare.
40538         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
40540 2010-08-31  Andreas Schwab  <schwab@redhat.com>
40542         [BZ #7066]
40543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40544         shifting retval into place.
40546 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
40548         * nis/rpcsvc/nis.h: Update copyright notice.
40549         * nis/rpcsvc/nis.x: Likewise.
40550         * nis/rpcsvc/nis_callback.h: Likewise.
40551         * nis/rpcsvc/nis_callback.x: Likewise.
40552         * nis/rpcsvc/nis_object.x: Likewise.
40553         * nis/rpcsvc/nis_tags.h: Likewise.
40554         * nis/rpcsvc/yp.h: Likewise.
40555         * nis/rpcsvc/yp.x: Likewise.
40556         * nis/rpcsvc/ypupd.h: Likewise.
40557         * nis/yp_xdr.c: Likewise.
40558         * nis/ypupdate_xdr.c: Likewise.
40560         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
40561         mainly the body of pmap_getport.  Add parameters to specify timeouts.
40562         (pmap_getport): Use __libc_rpc_getport.
40563         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
40564         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
40565         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
40567 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
40569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
40570         fanotify_mark.
40572 2010-08-27  Roland McGrath  <roland@redhat.com>
40574         * sysdeps/i386/i686/multiarch/Makefile
40575         (CFLAGS-varshift.c): New variable.
40577 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
40579         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
40580         * sysdeps/i386/i686/multiarch/varshift.c: New file.
40582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
40584         * sysdeps/x86_64/strlen.S: Minimal code improvement.
40586 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
40588         * sysdeps/x86_64/strlen.S: Unroll the loop.
40589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40590         strlen-sse2 strlen-sse2-bsf.
40591         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
40592         __strlen_no_bsf if bit_Slow_BSF is set.
40593         (__strlen_sse42): Removed.
40594         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
40595         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
40597 2010-08-25  Roland McGrath  <roland@redhat.com>
40599         * sysdeps/x86_64/multiarch/varshift.S: File removed.
40600         * sysdeps/x86_64/multiarch/varshift.c: New file.
40601         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
40602         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
40603         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
40604         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40606 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
40608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40609         strlen-sse2 strlen-sse2-bsf.
40610         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
40611         __strlen_sse2_bsf if bit_Slow_BSF is unset.
40612         (__strlen_sse2): Removed.
40613         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
40614         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
40615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40616         bit_Slow_BSF for Atom.
40617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
40618         (index_Slow_BSF): Define.
40619         (HAS_SLOW_BSF): Define.
40621 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
40623         [BZ #10851]
40624         * resolv/res_init.c (__res_vinit): When no server address at all
40625         is given default to loopback.
40627 2010-08-24  Roland McGrath  <roland@redhat.com>
40629         * configure.in: Remove config-name.h generation.
40630         * configure: Regenerated.
40631         * config-name.in: File removed.
40632         * scripts/config-uname.sh: New file.
40633         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
40634         ($(objdir)config-name.h): New target.
40636         * sunrpc/rpc_parse.h: Avoid nested comment.
40638 2010-08-24  Richard Henderson  <rth@redhat.com>
40639             Ulrich Drepper  <drepper@redhat.com>
40640             H.J. Lu  <hongjiu.lu@intel.com>
40642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
40643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
40644         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
40645         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
40646         _mm_alignr_epi8 with _mm_loadu_si128.
40647         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
40648         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
40649         (__m128i_shift_right): Removed.
40650         * sysdeps/i386/i686/multiarch/varshift.h: New file.
40651         * sysdeps/i386/i686/multiarch/varshift.S: New file.
40652         * sysdeps/x86_64/multiarch/varshift.h: New file.
40653         * sysdeps/x86_64/multiarch/varshift.S: New file.
40655 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
40657         * configure.in: Move assembler checks to before sysdep dir checking.
40659 2010-08-20  Petr Baudis  <pasky@suse.cz>
40661         * LICENSES: Sync the sunrpc license.
40663 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
40665         * sunrpc/auth_des.c: Update copyright notice once again.
40666         * sunrpc/auth_none.c: Likewise.
40667         * sunrpc/auth_unix.c: Likewise.
40668         * sunrpc/authdes_prot.c: Likewise.
40669         * sunrpc/authuxprot.c: Likewise.
40670         * sunrpc/bindrsvprt.c: Likewise.
40671         * sunrpc/clnt_gen.c: Likewise.
40672         * sunrpc/clnt_perr.c: Likewise.
40673         * sunrpc/clnt_raw.c: Likewise.
40674         * sunrpc/clnt_simp.c: Likewise.
40675         * sunrpc/clnt_tcp.c: Likewise.
40676         * sunrpc/clnt_udp.c: Likewise.
40677         * sunrpc/clnt_unix.c: Likewise.
40678         * sunrpc/des_crypt.c: Likewise.
40679         * sunrpc/des_soft.c: Likewise.
40680         * sunrpc/get_myaddr.c: Likewise.
40681         * sunrpc/getrpcport.c: Likewise.
40682         * sunrpc/key_call.c: Likewise.
40683         * sunrpc/key_prot.c: Likewise.
40684         * sunrpc/openchild.c: Likewise.
40685         * sunrpc/pm_getmaps.c: Likewise.
40686         * sunrpc/pm_getport.c: Likewise.
40687         * sunrpc/pmap_clnt.c: Likewise.
40688         * sunrpc/pmap_prot.c: Likewise.
40689         * sunrpc/pmap_prot2.c: Likewise.
40690         * sunrpc/pmap_rmt.c: Likewise.
40691         * sunrpc/rpc/auth.h: Likewise.
40692         * sunrpc/rpc/auth_unix.h: Likewise.
40693         * sunrpc/rpc/clnt.h: Likewise.
40694         * sunrpc/rpc/des_crypt.h: Likewise.
40695         * sunrpc/rpc/key_prot.h: Likewise.
40696         * sunrpc/rpc/netdb.h: Likewise.
40697         * sunrpc/rpc/pmap_clnt.h: Likewise.
40698         * sunrpc/rpc/pmap_prot.h: Likewise.
40699         * sunrpc/rpc/pmap_rmt.h: Likewise.
40700         * sunrpc/rpc/rpc.h: Likewise.
40701         * sunrpc/rpc/rpc_des.h: Likewise.
40702         * sunrpc/rpc/rpc_msg.h: Likewise.
40703         * sunrpc/rpc/svc.h: Likewise.
40704         * sunrpc/rpc/svc_auth.h: Likewise.
40705         * sunrpc/rpc/types.h: Likewise.
40706         * sunrpc/rpc/xdr.h: Likewise.
40707         * sunrpc/rpc_clntout.c: Likewise.
40708         * sunrpc/rpc_cmsg.c: Likewise.
40709         * sunrpc/rpc_common.c: Likewise.
40710         * sunrpc/rpc_cout.c: Likewise.
40711         * sunrpc/rpc_dtable.c: Likewise.
40712         * sunrpc/rpc_hout.c: Likewise.
40713         * sunrpc/rpc_main.c: Likewise.
40714         * sunrpc/rpc_parse.c: Likewise.
40715         * sunrpc/rpc_parse.h: Likewise.
40716         * sunrpc/rpc_prot.c: Likewise.
40717         * sunrpc/rpc_sample.c: Likewise.
40718         * sunrpc/rpc_scan.c: Likewise.
40719         * sunrpc/rpc_scan.h: Likewise.
40720         * sunrpc/rpc_svcout.c: Likewise.
40721         * sunrpc/rpc_tblout.c: Likewise.
40722         * sunrpc/rpc_util.c: Likewise.
40723         * sunrpc/rpc_util.h: Likewise.
40724         * sunrpc/rpcinfo.c: Likewise.
40725         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40726         * sunrpc/rpcsvc/key_prot.x: Likewise.
40727         * sunrpc/rpcsvc/klm_prot.x: Likewise.
40728         * sunrpc/rpcsvc/mount.x: Likewise.
40729         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40730         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40731         * sunrpc/rpcsvc/rex.x: Likewise.
40732         * sunrpc/rpcsvc/rstat.x: Likewise.
40733         * sunrpc/rpcsvc/rusers.x: Likewise.
40734         * sunrpc/rpcsvc/sm_inter.x: Likewise.
40735         * sunrpc/rpcsvc/spray.x: Likewise.
40736         * sunrpc/rpcsvc/yppasswd.x: Likewise.
40737         * sunrpc/rtime.c: Likewise.
40738         * sunrpc/svc.c: Likewise.
40739         * sunrpc/svc_auth.c: Likewise.
40740         * sunrpc/svc_authux.c: Likewise.
40741         * sunrpc/svc_raw.c: Likewise.
40742         * sunrpc/svc_run.c: Likewise.
40743         * sunrpc/svc_simple.c: Likewise.
40744         * sunrpc/svc_tcp.c: Likewise.
40745         * sunrpc/svc_udp.c: Likewise.
40746         * sunrpc/svc_unix.c: Likewise.
40747         * sunrpc/svcauth_des.c: Likewise.
40748         * sunrpc/xcrypt.c: Likewise.
40749         * sunrpc/xdr.c: Likewise.
40750         * sunrpc/xdr_array.c: Likewise.
40751         * sunrpc/xdr_float.c: Likewise.
40752         * sunrpc/xdr_mem.c: Likewise.
40753         * sunrpc/xdr_rec.c: Likewise.
40754         * sunrpc/xdr_ref.c: Likewise.
40755         * sunrpc/xdr_sizeof.c: Likewise.
40756         * sunrpc/xdr_stdio.c: Likewise.
40758         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40759         handling.
40761 2010-08-19  Andreas Schwab  <schwab@redhat.com>
40763         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40765 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
40767         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40768         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40769         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40770         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40771         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40772         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40774         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40776         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40777         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40778         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40779         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40780         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40782 2010-07-26  Anton Blanchard  <anton@samba.org>
40784         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40785         * malloc/arena.c (heap_trim): Likewise.
40787 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
40789         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40790         here.  Not...
40791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40792         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40794 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40796         * sysdeps/i386/elf/Makefile: New file.
40798 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40800         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40801         from fanotify_init.
40802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40805 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
40807         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40808         of strncasecmp_l.
40809         * sysdeps/multiarch/strcmp.S: Likewise.
40811 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
40813         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40814         strncase_l-nonascii.
40815         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40816         Add strncase_l-ssse3.
40817         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40818         * sysdeps/x86_64/strcmp.S: Likewise.
40819         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40820         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40821         * sysdeps/x86_64/strncase.S: New file.
40822         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40823         * sysdeps/x86_64/strncase_l.S: New file.
40824         * string/Makefile (strop-tests): Add strncasecmp.
40825         * string/test-strncasecmp.c: New file.
40827         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40828         warning.
40830         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40831         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40833 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40835         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40837 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
40839         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40840         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40843 2010-05-01  Alan Modra  <amodra@gmail.com>
40845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40846         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40847         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40848         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40849         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40850         tidying.  Don't tail-call __sigjmp_save for static lib.
40851         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40852         save location.
40853         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40854         (CALL_MCOUNT): Add eh info, and nop after bl.
40855         (TAIL_CALL_SYSCALL_ERROR): New macro.
40856         (PSEUDO_RET): Use it.
40857         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40858         Correct save location of integer regs and cr.
40859         (_dl_profile_resolve): Correct cr save location.  Delete nops
40860         after bl when SHARED.  Reduce cfi size a little by better
40861         placement of cfi directives.
40862         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40863         make a stack frame.  Instead use parm save area as a temp.
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40865         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40867         Don't make a stack frame for parent, use parm save area.
40868         Increase child stack frame to 112 bytes.  Don't save unused reg,
40869         and adjust reg usage.  Set up cfi on error recovery and
40870         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40872         (__makecontext): Add dummy nop after jump to exit.
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40874         Use correct parm save area and cr save, reduce stack frame.
40875         Correct cfi for possible PSEUDO_RET frame setup.
40876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40877         Branch to local label emitted by PSEUDO_RET rather than
40878         __syscall_error.
40880 2010-08-12  Andreas Schwab  <schwab@redhat.com>
40882         [BZ #11904]
40883         * locale/programs/locale.c (print_assignment): New function.
40884         (show_locale_vars): Use it.
40886 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
40888         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40889         field.
40890         (struct statfs64): Likewise.
40891         (_STATFS_F_FLAGS): Define.
40892         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40894         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40895         (ST_VALID): Define locally.
40896         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40897         __statvfs_getflags, use the provided value.
40898         * sysdeps/unix/sysv/linux/kernel-features.h: Define
40899         __ASSUME_STATFS_F_FLAGS.
40901         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40903         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40904         Add sys/fanotify.h.
40905         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40906         fanotify_mask for GLIBC_2.13.
40907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40908         fanotify_init and fanotify_mark.
40909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40910         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40912         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40913         Add prlimit.
40914         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40915         prlimit64 for GLIBC_2.13.
40916         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40917         prlimit64.
40918         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40919         syscall.
40920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40922         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40923         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
40925         add prlimit alias.
40926         * sysdeps/unix/sysv/linux/prlimit.c: New file.
40928         [BZ #11903]
40929         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40930         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40932         * nss/Makefile: Add rules to build and run tst-nss-test1.
40933         * shlib-versions: Add entry for libnss_test1.
40934         * nss/nss_test1.c: New file.
40935         * nss/tst-nss-test1.c: New file.
40937         * nss/nsswitch.c (__nss_database_custom): Define new variable.
40938         (__nss_configure_lookup): Set appropriate entry in
40939         __nss_configure_lookup to true.
40940         * nss/nsswitch.h: Define enum with indeces of databases in
40941         databases and __nss_database_custom arrays.  Declare
40942         __nss_database_custom.
40943         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40944         to avoid using nscd when custom rules are installed.
40945         * nss/getXXbyYY_r.c: Likewise.
40946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40948         * nss/nss_files/files-parse.c: Whitespace fixes.
40950 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
40952         [BZ #11883]
40953         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40954         * posix/fnmatch_loop.c: Likewise.
40956 2010-07-17  Andi Kleen  <ak@linux.intel.com>
40958         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40959         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40960         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40961         * Versions.def [GLIBC_2.13]: Add.
40963 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
40965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40966         Also fail if tpwd after pwuid call is NULL.
40968 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40970         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40971         when converting to ms.
40973 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40975         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40976         EOPNOTSUPP errors with ENOTTY.
40977         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40978         EOPNOTSUPP errors with ENOTTY.
40980 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
40982         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40983         Add strcasecmp_l-ssse3.
40984         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40985         strcasecmp.
40986         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40987         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40988         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40990 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
40992         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40994         * string/Makefile (strop-tests): Add strcasecmp.
40995         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40996         strcasecmp_l-nonascii.
40997         (gen-as-const-headers): Add locale-defines.sym.
40998         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40999         * sysdeps/x86_64/strcasecmp.S: New file.
41000         * sysdeps/x86_64/strcasecmp_l.S: New file.
41001         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41002         * sysdeps/x86_64/locale-defines.sym: New file.
41003         * string/test-strcasecmp.c: New file.
41005         * string/test-strcasestr.c: Test both ends of the range of characters.
41006         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41008 2010-07-29  Roland McGrath  <roland@redhat.com>
41010         [BZ #11856]
41011         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41013 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41015         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41016         for ld.so.
41018 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41020         * manual/memory.texi (Malloc Tunable Parameters): Document
41021         M_PERTURB.
41023 2010-07-26  Roland McGrath  <roland@redhat.com>
41025         [BZ #11840]
41026         * configure.in (-fgnu89-inline check): Set and substitute
41027         gnu89_inline, not libc_cv_gnu89_inline.
41028         * configure: Regenerated.
41029         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41031 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41033         * string/test-strnlen.c: New file.
41034         * string/Makefile (strop-tests): Add strnlen.
41035         * string/tester.c (test_strnlen): Add a few more test cases.
41036         * string/tst-strlen.c: Better error reporting.
41038         * sysdeps/x86_64/strnlen.S: New file.
41040 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41043         lower-latency instructions.
41045 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41047         * string/test-strcasestr.c: New file.
41048         * string/test-strstr.c: New file.
41049         * string/Makefile (strop-tests): Add strstr and strcasestr.
41050         * string/str-two-way.h: Don't undefine MAX.
41051         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41053 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41056         strcasestr-nonascii.
41057         (CFLAGS-strcasestr-nonascii.c): Define.
41058         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41060         Remove unused attribute.
41062 2010-07-20  Roland McGrath  <roland@redhat.com>
41064         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41065         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41066         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41067         like LD_HWCAP_MASK can disable hwcaps.
41069 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41071         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41073 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41075         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41076         call in strcasestr.
41077         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41078         __strcasestr_sse42_nonascii.
41079         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41080         strcasestr-nonascii.c.
41081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41083 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41085         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41086         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41087         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41088         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41090 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41093         fcntl.
41095 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41097         [BZ #11577]
41098         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41099         dl_signal_cerror.
41101 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41104         _PC_PIPE_BUF using F_GETPIPE_SZ.
41106 2010-07-05  Roland McGrath  <roland@redhat.com>
41108         * manual/arith.texi (Rounding Functions): Fix rint description
41109         implicit in round description.
41111 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41113         * elf/Makefile: Fix linking for a few tests to make recent linker
41114         happy.
41116 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41118         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41119         $(common-objpfx)libc_nonshared.a.
41121 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41123         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41124         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41125         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41126         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41127         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41128         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41129         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41130         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41145         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41146         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41147         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41148         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41149         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41150         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41151         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41152         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41153         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41154         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41155         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41156         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41172 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41174         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41175         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41176         * string/memmove.c (memmove): Renamed to ...
41177         (MEMMOVE): ...this.  Default to memmove.
41178         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41179         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41180         (END_CHK): Define.
41181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41182         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41183         mempcpy-ssse3-back memmove-ssse3-back.
41184         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41187         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41188         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41189         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41190         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41191         * sysdeps/x86_64/multiarch/memmove.c: New file.
41192         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41193         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41194         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41195         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41197         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41198         Define.
41199         (index_Fast_Copy_Backward): Define.
41200         (HAS_ARCH_FEATURE): Define.
41201         (HAS_FAST_REP_STRING): Define.
41202         (HAS_FAST_COPY_BACKWARD): Define.
41204 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41206         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41207         Restore proper fallback handling.
41209 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41211         [BZ #11701]
41212         * posix/group_member.c (__group_member): Correct checking loop.
41214         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41215         OOM in getpwuid_r correctly.  Return error number when the caller
41216         should return, otherwise -1.
41217         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41218         call returning > 0 value.
41219         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41221 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41223         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41224         libc_nonshared.a from targets in modules-names.
41226 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41228         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41229         requires it.
41231 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41234         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41235         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41236         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41238 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41240         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41242 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41244         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41245         and F_GETPIPE_SZ.
41246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41247         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41250         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41253 2010-06-14  Roland McGrath  <roland@redhat.com>
41255         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41257 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41259         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41260         __REDIRECT followed by __THROW.
41261         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41262         * posix/getopt.h (getopt): Likewise.
41264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41266         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41267         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41268         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41269         in AT_FLAGS.
41270         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41271         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41273 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41277 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41279         [BZ #11640]
41280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41281         Properly check family and model.
41283 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41285         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41287 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41289         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41291 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41293         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41294         symbol reference.
41296 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41298         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41299         symbol reference.
41301 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41304         and internal_recvmmsg.
41305         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41307         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41308         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41310         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41311         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41312         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41314 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41316         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41318 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41320         POWER7 optimizations.
41321         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41322         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41324 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41326         * version.h: Update for 2.13 development version.
41328 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41330         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41331         exceptions.  Return 0.
41333 2010-05-07  Roland McGrath  <roland@redhat.com>
41335         * elf/ldconfig.c (main): Add a const.
41337 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41339         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41340         (args_options): Add no-idn option.
41341         (ahosts_keys_int): Add idn_flags to ai_flags.
41342         (parse_option): Handle 'i' option to clear idn_flags.
41344         * malloc/malloc.c (_int_free): Possible race in the most recently
41345         added check.  Only act on the data if no current modification
41346         happened.
41348 See ChangeLog.17 for earlier changes.