Include all of <time.h> from <sched.h> for older standards (bug 16670).
[glibc.git] / ChangeLog
blobc0ebdc6de94752146d34ccc69dc4051e749d5094
1 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16670]
4         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5         before #include of <time.h>.
6         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8         (test-xfail-UNIX98/sched.h/conform): Likewise.
10 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13         error absence of trapping exception support.
14         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20         * timezone/Makefile (testdata): Move definition above include of
21         Rules.
22         (test-zones): New variable.
23         (tests-special): Add zone files.
24         (build-testdata): Use $(evaluate-test).
26         * elf/Makefile (tests-special): Rename tests to end with .out.
27         ($(objpfx)noload-mem): Likewise.
28         ($(objpfx)tst-leaks1-mem): Likewise.
29         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31         $(objpfx)test-iconvconfig.out.
32         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33         set -e inside subshell and redirect output to file.
34         * iconvdata/Makefile (generated): Rename tests to end with .out.
35         Correct type.
36         (tests-special): Rename tests to end with .out.
37         ($(objpfx)mtrace-tst-loading): Likewise.
38         * intl/Makefile (generated): Likewise.
39         (tests-special): Likewise.
40         ($(objpfx)mtrace-tst-gettext): Likewise.
41         * misc/Makefile (generated): Likewise.
42         (tests-special): Likewise.
43         ($(objpfx)tst-error1-mem): Likewise.
44         * nptl/Makefile (tests-special): Likewise.
45         ($(objpfx)tst-stack3-mem): Likewise.
46         (generated): Likewise.
47         * posix/Makefile (generated): Likewise.
48         (tests-special): Likewise.
49         (xtests-special): Likewise.
50         ($(objpfx)tst-fnmatch-mem): Likewise.
51         ($(objpfx)bug-regex2-mem): Likewise.
52         ($(objpfx)bug-regex14-mem): Likewise.
53         ($(objpfx)bug-regex21-mem): Likewise.
54         ($(objpfx)bug-regex31-mem): Likewise.
55         ($(objpfx)tst-vfork3-mem): Likewise.
56         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
57         ($(objpfx)tst-pcre-mem): Likewise.
58         ($(objpfx)tst-boost-mem): Likewise.
59         ($(objpfx)bug-ga2-mem): Likewise.
60         ($(objpfx)bug-glob2-mem): Likewise.
61         * resolv/Makefile (generate): Likewise.
62         (tests-special): Likewise.
63         (xtests-special): Likewise.
64         (generated): Likewise.
65         ($(objpfx)mtrace-tst-leaks): Likewise.
66         ($(objpfx)mtrace-tst-leaks2): Likewise.
68         * scripts/merge-test-results.sh: New file.
69         * Makefile (tests-special-notdir): New variable.
70         (tests): Run merge-test-results.sh.
71         (xtests): Likewise.
72         * Rules (tests-special-notdir): New variable.
73         (xtests-special-notdir): Likewise.
74         (tests): Run merge-test-results.sh
75         (xtests): Likewise.
77         * Makeconfig (test-xfail-name): New variable.
78         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
79         compute variable name for expected failures.
80         * conform/Makefile (conformtest-headers-data): New variable.
81         (conformtest-standards): Likewise.
82         (conformtest-headers-ISO): Likewise.
83         (conformtest-headers-ISO99): Likewise.
84         (conformtest-headers-ISO11): Likewise.
85         (conformtest-headers-POSIX): Likewise.
86         (conformtest-headers-XPG3): Likewise.
87         (conformtest-headers-XPG4): Likewise.
88         (conformtest-headers-UNIX98): Likewise.
89         (conformtest-headers-XOPEN2K): Likewise.
90         (conformtest-headers-POSIX2008): Likewise.
91         (conformtest-headers-XOPEN2K8): Likewise.
92         (conformtest-header-list-base): Likewise.
93         (conformtest-header-list-tests): Likewise.
94         (conformtest-header-base): Likewise.
95         (conformtest-header-tests): Likewise.
96         (tests-special): Add $(conformtest-header-list-tests).  If
97         [$(fast-check) && !$(cross-compiling)], add
98         $(conformtest-header-tests) instead of
99         $(objpfx)run-conformtest.out.
100         (generated): Add $(conformtest-header-list-base).  If
101         [$(fast-check) && !$(cross-compiling)], add
102         $(conformtest-header-base).  Remove previous setting.
103         ($(conformtest-header-list-tests)): New target.
104         (test-xfail-run-conformtest): Remove variable.
105         ($(objpfx)run-conformtest.out): Remove target.
106         (test-xfail-ISO11/complex.h/conform): New variable.
107         (test-xfail-ISO11/stdalign.h/conform): Likewise.
108         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
109         (test-xfail-XPG3/varargs.h/conform): Likewise.
110         (test-xfail-XPG4/varargs.h/conform): Likewise.
111         (test-xfail-UNIX98/varargs.h/conform): Likewise.
112         (test-xfail-XPG4/ndbm.h/conform): Likewise.
113         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
114         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
115         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
116         (test-xfail-XPG3/fcntl.h/conform): Likewise.
117         (test-xfail-XPG3/ftw.h/conform): Likewise.
118         (test-xfail-XPG3/grp.h/conform): Likewise.
119         (test-xfail-XPG3/langinfo.h/conform): Likewise.
120         (test-xfail-XPG3/limits.h/conform): Likewise.
121         (test-xfail-XPG3/pwd.h/conform): Likewise.
122         (test-xfail-XPG3/search.h/conform): Likewise.
123         (test-xfail-XPG3/signal.h/conform): Likewise.
124         (test-xfail-XPG3/stdio.h/conform): Likewise.
125         (test-xfail-XPG3/stdlib.h/conform): Likewise.
126         (test-xfail-XPG3/string.h/conform): Likewise.
127         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
128         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
129         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
130         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
131         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
132         (test-xfail-XPG3/sys/types.h/conform): Likewise.
133         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
134         (test-xfail-XPG3/termios.h/conform): Likewise.
135         (test-xfail-XPG3/time.h/conform): Likewise.
136         (test-xfail-XPG3/unistd.h/conform): Likewise.
137         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
138         (test-xfail-XPG4/fcntl.h/conform): Likewise.
139         (test-xfail-XPG4/langinfo.h/conform): Likewise.
140         (test-xfail-XPG4/netdb.h/conform): Likewise.
141         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
142         (test-xfail-XPG4/signal.h/conform): Likewise.
143         (test-xfail-XPG4/stdio.h/conform): Likewise.
144         (test-xfail-XPG4/stdlib.h/conform): Likewise.
145         (test-xfail-XPG4/stropts.h/conform): Likewise.
146         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
147         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
148         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
149         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
150         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
151         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
152         (test-xfail-XPG4/sys/time.h/conform): Likewise.
153         (test-xfail-XPG4/sys/types.h/conform): Likewise.
154         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
155         (test-xfail-XPG4/termios.h/conform): Likewise.
156         (test-xfail-XPG4/ucontext.h/conform): Likewise.
157         (test-xfail-XPG4/unistd.h/conform): Likewise.
158         (test-xfail-XPG4/utmpx.h/conform): Likewise.
159         (test-xfail-POSIX/sched.h/conform): Likewise.
160         (test-xfail-POSIX/signal.h/conform): Likewise.
161         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
162         (test-xfail-POSIX/tar.h/conform): Likewise.
163         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
164         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
165         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
166         (test-xfail-UNIX98/netdb.h/conform): Likewise.
167         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
168         (test-xfail-UNIX98/sched.h/conform): Likewise.
169         (test-xfail-UNIX98/signal.h/conform): Likewise.
170         (test-xfail-UNIX98/stdio.h/conform): Likewise.
171         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
172         (test-xfail-UNIX98/stropts.h/conform): Likewise.
173         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
174         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
175         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
176         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
177         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
178         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
179         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
180         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
181         (test-xfail-UNIX98/unistd.h/conform): Likewise.
182         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
183         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
184         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
185         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
186         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
187         (test-xfail-XOPEN2K/math.h/conform): Likewise.
188         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
189         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
190         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
191         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
192         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
193         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
194         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
195         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
196         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
197         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
198         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
199         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
200         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
201         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
202         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
203         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
204         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
205         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
206         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
207         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
208         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
209         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
210         (test-xfail-POSIX2008/signal.h/conform): Likewise.
211         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
212         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
213         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
214         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
215         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
216         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
217         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
218         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
219         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
220         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
221         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
222         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
223         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
224         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
225         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
226         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
227         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
228         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
229         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
230         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
231         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
232         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
233         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
234         (conformtest-cc-flags): Likewise.
235         ($(conformtest-header-tests): New target.
236         * conform/check-header-lists.sh: New file.
237         * conform/run-conformtest.sh: Remove.
239         * conform/conformtest.pl: Allow ' and \ in values given for
240         constants.
241         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
242         inclusion.
243         [POSIX] (sys/types.h): Likewise.
244         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
245         inclusion.
246         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
247         inclusion.
248         * conform/data/signal.h-data (SIGIO): Remove expectation.
249         [XPG3] (SIGBUS): Do not expect.
250         [POSIX || XPG3] (SIGPOLL): Likewise.
251         [POSIX || XPG3] (SIGPROF): Likewise.
252         [POSIX || XPG3] (SIGSYS): Likewise.
253         [XPG3] (SIGTRAP): Likewise.
254         [POSIX || XPG3] (SIGURG): Likewise.
255         [POSIX || XPG3] (SIGVTALRM): Likewise.
256         [POSIX || XPG3] (SIGXCPU): Likewise.
257         [POSIX || XPG3] (SIGXFSZ): Likewise.
258         [POSIX] (SA_SIGINFO): Expect.
259         [XPG3] (siginfo_t): Do not expect type or contents.
260         [POSIX] (si_pid): Do not expect element.
261         [POSIX] (si_uid): Likewise.
262         [POSIX] (si_addr): Likewise.
263         [POSIX] (si_status): Likewise.
264         [POSIX] (si_band): Likewise.
265         [XPG4] (si_value): Likewise.
266         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
267         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
268         [POSIX || XPG3] (ILL_ILLADR): Likewise.
269         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
270         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
271         [POSIX || XPG3] (ILL_PRVREG): Likewise.
272         [POSIX || XPG3] (ILL_COPROC): Likewise.
273         [POSIX || XPG3] (ILL_BADSTK): Likewise.
274         [POSIX || XPG3] (FPE_INTDIV): Likewise.
275         [POSIX || XPG3] (FPE_INTOVF): Likewise.
276         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
277         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
278         [POSIX || XPG3] (FPE_FLTUND): Likewise.
279         [POSIX || XPG3] (FPE_FLTRES): Likewise.
280         [POSIX || XPG3] (FPE_FLTINV): Likewise.
281         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
282         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
283         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
284         [POSIX || XPG3] (BUS_ADRALN): Likewise.
285         [POSIX || XPG3] (BUS_ADRERR): Likewise.
286         [POSIX || XPG3] (BUS_OBJERR): Likewise.
287         [POSIX || XPG3] (CLD_EXITED): Likewise.
288         [POSIX || XPG3] (CLD_KILLED): Likewise.
289         [POSIX || XPG3] (CLD_DUMPED): Likewise.
290         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
291         [POSIX || XPG3] (CLD_STOPPED): Likewise.
292         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
293         [POSIX || XPG3] (POLL_IN): Likewise.
294         [POSIX || XPG3] (POLL_OUT): Likewise.
295         [POSIX || XPG3] (POLL_MSG): Likewise.
296         [POSIX || XPG3] (POLL_ERR): Likewise.
297         [POSIX || XPG3] (POLL_PRI): Likewise.
298         [POSIX || XPG3] (POLL_HUP): Likewise.
299         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
300         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
301         (SIG*): Do not allow.
302         [XPG3] (si_*): Likewise.
303         [XPG3] (SI_*): Likewise.
304         [XPG3 || XPG4] (sigev_*): Likewise.
305         [XPG3 || XPG4] (SIGEV_*): Likewise.
306         [XPG3 || XPG4] (sival_*): Likewise.
307         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
308         [POSIX || XPG3] (BUS_*): Likewise.
309         [POSIX || XPG3] (CLD_*): Likewise.
310         [POSIX || XPG3] (FPE_*): Likewise.
311         [POSIX || XPG3] (ILL_*): Likewise.
312         [POSIX || XPG3] (POLL_*): Likewise.
313         [POSIX || XPG3] (SEGV_*): Likewise.
314         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
315         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
316         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
317         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
318         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
319         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
320         Specify type and value.
321         (TVERSLEN): Likewise.
322         (REGTYPE): Likewise.
323         (AREGTYPE): Likewise.
324         (LNKTYPE): Likewise.
325         (SYMTYPE): Likewise.
326         (CHRTYPE): Likewise.
327         (BLKTYPE): Likewise.
328         (DIRTYPE): Likewise.
329         (FIFOTYPE): Likewise.
330         (CONTTYPE): Likewise.
331         (TSUID): Likewise.
332         (TSGID): Likewise.
333         (TSVTX): Likewise.
334         (TUREAD): Likewise.
335         (TUWRITE): Likewise.
336         (TUEXEC): Likewise.
337         (TGREAD): Likewise.
338         (TGWRITE): Likewise.
339         (TGEXEC): Likewise.
340         (TOREAD): Likewise.
341         (TOWRITE): Likewise.
342         (TOEXEC): Likewise.
343         [POSIX] (TSVTX): Expect constant.
345 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
347         * Makefile (tests): Change dependencies to ....
348         (tests-special): ... additions to this variable.
349         (tests): Depend on $(tests-special).
350         * Makerules (check-abi-list): New variable.
351         (check-abi): Depend on $(check-abi-list).
352         [$(subdir) = elf] (tests-special): Add
353         $(objpfx)check-abi-libc.out.
354         [$(build-shared) = yes && subdir] (tests-special): Add
355         $(check-abi-list).
356         [$(build-shared) = yes && subdir] (tests): Do not depend on
357         check-abi.
358         * Rules (tests): Depend on $(tests-special).
359         (xtests): Depend on $(xtests-special).
360         * catgets/Makefile (tests): Change dependencies to ....
361         (tests-special): ... additions to this variable.
362         * conform/Makefile (tests): Change dependencies to ....
363         (tests-special): ... additions to this variable.
364         * elf/Makefile (tests): Change dependencies to ....
365         (tests-special): ... additions to this variable.
366         * grp/Makefile (tests): Change dependencies to ....
367         (tests-special): ... additions to this variable.
368         * iconv/Makefile (xtests): Change dependencies to ....
369         (xtests-special): ... additions to this variable.
370         * iconvdata/Makefile (tests): Change dependencies to ....
371         (tests-special): ... additions to this variable.
372         * intl/Makefile (tests): Change dependencies to ....
373         (tests-special): ... additions to this variable.  Also add
374         $(objpfx)tst-gettext.out.
375         * io/Makefile (tests): Change dependencies to ....
376         (tests-special): ... additions to this variable.
377         * libio/Makefile (tests): Change dependencies to ....
378         (tests-special): ... additions to this variable.
379         * malloc/Makefile (tests): Change dependencies to ....
380         (tests-special): ... additions to this variable.
381         * misc/Makefile (tests): Change dependencies to ....
382         (tests-special): ... additions to this variable.
383         * nptl/Makefile (tests): Change dependencies to ....
384         (tests-special): ... additions to this variable.
385         * nptl_db/Makefile (tests): Change dependencies to ....
386         (tests-special): ... additions to this variable.
387         * posix/Makefile (tests): Change dependencies to ....
388         (tests-special): ... additions to this variable.
389         (xtests): Change dependencies to ....
390         (xtests-special): ... additions to this variable.
391         * resolv/Makefile (tests): Change dependencies to ....
392         (tests-special): ... additions to this variable.
393         (xtests): Change dependencies to ....
394         (xtests-special): ... additions to this variable.
395         * stdio-common/Makefile (tests): Change dependencies to ....
396         (tests-special): ... additions to this variable.
397         (do-tst-unbputc): Remove target.
398         (do-tst-printf): Likewise.
399         * stdlib/Makefile (tests): Change dependencies to ....
400         (tests-special): ... additions to this variable.
401         * string/Makefile (tests): Change dependencies to ....
402         (tests-special): ... additions to this variable.
403         * sysdeps/x86/Makefile (tests): Change dependencies to ....
404         (tests-special): ... additions to this variable.
406         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
407         whole file.
408         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
409         whole file.
410         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
411         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
413         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
414         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
415         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
416         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
417         * conform/data/libgen.h-data [XPG3]: Likewise.
418         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
419         * conform/data/ndbm.h-data [XPG3]: Likewise.
420         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
421         * conform/data/netdb.h-data [XPG3]: Likewise.
422         * conform/data/netinet/in.h-data [XPG3]: Likewise.
423         * conform/data/poll.h-data [XPG3]: Likewise.
424         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
425         * conform/data/strings.h-data [XPG3]: Likewise.
426         * conform/data/stropts.h-data [XPG3]: Likewise.
427         * conform/data/sys/mman.h-data [XPG3]: Likewise.
428         * conform/data/sys/resource.h-data [XPG3]: Likewise.
429         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
430         Likewise.
431         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
432         * conform/data/sys/time.h-data [XPG3]: Likewise.
433         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
434         * conform/data/sys/uio.h-data [XPG3]: Likewise.
435         * conform/data/sys/un.h-data [XPG3]: Likewise.
436         * conform/data/syslog.h-data [XPG3]: Likewise.
437         * conform/data/ucontext.h-data [XPG3]: Likewise.
438         * conform/data/utmpx.h-data [XPG3]: Likewise.
439         * conform/data/varargs.h-data [UNIX98]: Enable file.
441         * manual/Makefile (INSTALL_INFO): Remove variable setting.
443         * math/libm-test.inc (struct test_f_f_data): Move expected results
444         into structure for each rounding mode.
445         (struct test_ff_f_data): Likewise.
446         (struct test_ff_f_data_nexttoward): Likewise.
447         (struct test_fi_f_data): Likewise.
448         (struct test_fl_f_data): Likewise.
449         (struct test_if_f_data): Likewise.
450         (struct test_fff_f_data): Likewise.
451         (struct test_c_f_data): Likewise.
452         (struct test_f_f1_data): Likewise.
453         (struct test_fF_f1_data): Likewise.
454         (struct test_ffI_f1_data): Likewise.
455         (struct test_c_c_data): Likewise.
456         (struct test_cc_c_data): Likewise.
457         (struct test_f_i_data): Likewise.
458         (struct test_ff_i_data): Likewise.
459         (struct test_f_l_data): Likewise.
460         (struct test_f_L_data): Likewise.
461         (struct test_fFF_11_data): Likewise.
462         (RM_): New macro.
463         (RM_FE_DOWNWARD): Likewise.
464         (RM_FE_TONEAREST): Likewise.
465         (RM_FE_TOWARDZERO): Likewise.
466         (RM_FE_UPWARD): Likewise.
467         (RUN_TEST_LOOP_f_f): Update references to expected results.
468         (RUN_TEST_LOOP_2_f): Likewise.
469         (RUN_TEST_LOOP_fff_f): Likewise.
470         (RUN_TEST_LOOP_c_f): Likewise.
471         (RUN_TEST_LOOP_f_f1): Likewise.
472         (RUN_TEST_LOOP_fF_f1): Likewise.
473         (RUN_TEST_LOOP_fI_f1): Likewise.
474         (RUN_TEST_LOOP_ffI_f1): Likewise.
475         (RUN_TEST_LOOP_c_c): Likewise.
476         (RUN_TEST_LOOP_cc_c): Likewise.
477         (RUN_TEST_LOOP_f_i): Likewise.
478         (RUN_TEST_LOOP_f_i_tg): Likewise.
479         (RUN_TEST_LOOP_ff_i_tg): Likewise.
480         (RUN_TEST_LOOP_f_b): Likewise.
481         (RUN_TEST_LOOP_f_b_tg): Likewise.
482         (RUN_TEST_LOOP_f_l): Likewise.
483         (RUN_TEST_LOOP_f_L): Likewise.
484         (RUN_TEST_LOOP_fFF_11): Likewise.
485         * math/gen-libm-test.pl (parse_args): Output four copies of
486         expected results for each test.
488         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
489         (__ASSUME_UTIMES): Remove.
490         * sysdeps/unix/sysv/linux/tile/kernel-features.h
491         (__ASSUME_UTIMES): Likewise.
493         * math/gen-auto-libm-tests.c: Update comment on output format.
494         (output_for_one_input_case): Generate before-rounding and
495         after-rounding information as conditions on output flags not
496         floating-point format.
497         * math/auto-libm-test-out: Regenerated.
498         * math/gen-libm-test.pl (cond_value): New function.
499         (or_cond_value): Use cond_value.
500         (generate_testfile): Handle conditional exceptions.
502 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
504         * math/libm-test.inc (max_valid_error): New variable.
505         (init_max_error): Take new argument specifying whether function
506         results are exactly determined.  Set max_valid_error and bound
507         other variables for errors based on this argument.
508         (set_max_error): Do not record results above max_valid_error.
509         (check_float_internal): Only accept errors of up to 0.5ulps if
510         also at most max_valid_error.
511         (START): Take new argument EXACT and pass it to init_max_error.
512         (acos_test): Update call to START.
513         (acos_test_tonearest): Likewise.
514         (acos_test_towardzero): Likewise.
515         (acos_test_downward): Likewise.
516         (acos_test_upward): Likewise.
517         (acosh_test): Likewise.
518         (asin_test): Likewise.
519         (asin_test_tonearest): Likewise.
520         (asin_test_towardzero): Likewise.
521         (asin_test_downward): Likewise.
522         (asin_test_upward): Likewise.
523         (asinh_test): Likewise.
524         (atan_test): Likewise.
525         (atanh_test): Likewise.
526         (atan2_test): Likewise.
527         (cabs_test): Likewise.
528         (cacos_test): Likewise.
529         (cacosh_test): Likewise.
530         (carg_test): Likewise.
531         (casin_test): Likewise.
532         (casinh_test): Likewise.
533         (catan_test): Likewise.
534         (catanh_test): Likewise.
535         (cbrt_test): Likewise.
536         (ccos_test): Likewise.
537         (ccosh_test): Likewise.
538         (ceil_test): Likewise.
539         (cexp_test): Likewise.
540         (cimag_test): Likewise.
541         (clog_test): Likewise.
542         (clog10_test): Likewise.
543         (conj_test): Likewise.
544         (copysign_test): Likewise.
545         (cos_test): Likewise.
546         (cos_test_tonearest): Likewise.
547         (cos_test_towardzero): Likewise.
548         (cos_test_downward): Likewise.
549         (cos_test_upward): Likewise.
550         (cosh_test): Likewise.
551         (cosh_test_tonearest): Likewise.
552         (cosh_test_towardzero): Likewise.
553         (cosh_test_downward): Likewise.
554         (cosh_test_upward): Likewise.
555         (cpow_test): Likewise.
556         (cproj_test): Likewise.
557         (creal_test): Likewise.
558         (csin_test): Likewise.
559         (csinh_test): Likewise.
560         (csqrt_test): Likewise.
561         (ctan_test): Likewise.
562         (ctan_test_tonearest): Likewise.
563         (ctan_test_towardzero): Likewise.
564         (ctan_test_downward): Likewise.
565         (ctan_test_upward): Likewise.
566         (ctanh_test): Likewise.
567         (ctanh_test_tonearest): Likewise.
568         (ctanh_test_towardzero): Likewise.
569         (ctanh_test_downward): Likewise.
570         (ctanh_test_upward): Likewise.
571         (erf_test): Likewise.
572         (erfc_test): Likewise.
573         (exp_test): Likewise.
574         (exp_test_tonearest): Likewise.
575         (exp_test_towardzero): Likewise.
576         (exp_test_downward): Likewise.
577         (exp_test_upward): Likewise.
578         (exp10_test): Likewise.
579         (exp10_test_tonearest): Likewise.
580         (exp10_test_towardzero): Likewise.
581         (exp10_test_downward): Likewise.
582         (exp10_test_upward): Likewise.
583         (pow10_test): Likewise.
584         (exp2_test): Likewise.
585         (expm1_test): Likewise.
586         (expm1_test_tonearest): Likewise.
587         (expm1_test_towardzero): Likewise.
588         (expm1_test_downward): Likewise.
589         (expm1_test_upward): Likewise.
590         (fabs_test): Likewise.
591         (fdim_test): Likewise.
592         (floor_test): Likewise.
593         (fma_test): Likewise.
594         (fma_test_towardzero): Likewise.
595         (fma_test_downward): Likewise.
596         (fma_test_upward): Likewise.
597         (fmax_test): Likewise.
598         (fmin_test): Likewise.
599         (fmod_test): Likewise.
600         (fpclassify_test): Likewise.
601         (frexp_test): Likewise.
602         (hypot_test): Likewise.
603         (ilogb_test): Likewise.
604         (isfinite_test): Likewise.
605         (finite_test): Likewise.
606         (isgreater_test): Likewise.
607         (isgreaterequal_test): Likewise.
608         (isinf_test): Likewise.
609         (isless_test): Likewise.
610         (islessequal_test): Likewise.
611         (islessgreater_test): Likewise.
612         (isnan_test): Likewise.
613         (isnormal_test): Likewise.
614         (issignaling_test): Likewise.
615         (isunordered_test): Likewise.
616         (j0_test): Likewise.
617         (j1_test): Likewise.
618         (jn_test): Likewise.
619         (ldexp_test): Likewise.
620         (lgamma_test): Likewise.
621         (gamma_test): Likewise.
622         (lrint_test): Likewise.
623         (lrint_test_tonearest): Likewise.
624         (lrint_test_towardzero): Likewise.
625         (lrint_test_downward): Likewise.
626         (lrint_test_upward): Likewise.
627         (llrint_test): Likewise.
628         (llrint_test_tonearest): Likewise.
629         (llrint_test_towardzero): Likewise.
630         (llrint_test_downward): Likewise.
631         (llrint_test_upward): Likewise.
632         (log_test): Likewise.
633         (log10_test): Likewise.
634         (log1p_test): Likewise.
635         (log2_test): Likewise.
636         (logb_test): Likewise.
637         (logb_test_downward): Likewise.
638         (lround_test): Likewise.
639         (llround_test): Likewise.
640         (modf_test): Likewise.
641         (nearbyint_test): Likewise.
642         (nextafter_test): Likewise.
643         (nexttoward_test): Likewise.
644         (pow_test): Likewise.
645         (pow_test_tonearest): Likewise.
646         (pow_test_towardzero): Likewise.
647         (pow_test_downward): Likewise.
648         (pow_test_upward): Likewise.
649         (remainder_test): Likewise.
650         (drem_test): Likewise.
651         (remainder_test_tonearest): Likewise.
652         (drem_test_tonearest): Likewise.
653         (remainder_test_towardzero): Likewise.
654         (drem_test_towardzero): Likewise.
655         (remainder_test_downward): Likewise.
656         (drem_test_downward): Likewise.
657         (remainder_test_upward): Likewise.
658         (drem_test_upward): Likewise.
659         (remquo_test): Likewise.
660         (rint_test): Likewise.
661         (rint_test_tonearest): Likewise.
662         (rint_test_towardzero): Likewise.
663         (rint_test_downward): Likewise.
664         (rint_test_upward): Likewise.
665         (round_test): Likewise.
666         (scalb_test): Likewise.
667         (scalbn_test): Likewise.
668         (scalbln_test): Likewise.
669         (signbit_test): Likewise.
670         (sin_test): Likewise.
671         (sin_test_tonearest): Likewise.
672         (sin_test_towardzero): Likewise.
673         (sin_test_downward): Likewise.
674         (sin_test_upward): Likewise.
675         (sincos_test): Likewise.
676         (sinh_test): Likewise.
677         (sinh_test_tonearest): Likewise.
678         (sinh_test_towardzero): Likewise.
679         (sinh_test_downward): Likewise.
680         (sinh_test_upward): Likewise.
681         (sqrt_test): Likewise.
682         (sqrt_test_tonearest): Likewise.
683         (sqrt_test_towardzero): Likewise.
684         (sqrt_test_downward): Likewise.
685         (sqrt_test_upward): Likewise.
686         (tan_test): Likewise.
687         (tan_test_tonearest): Likewise.
688         (tan_test_towardzero): Likewise.
689         (tan_test_downward): Likewise.
690         (tan_test_upward): Likewise.
691         (tanh_test): Likewise.
692         (tgamma_test): Likewise.
693         (trunc_test): Likewise.
694         (y0_test): Likewise.
695         (y1_test): Likewise.
696         (yn_test): Likewise.
697         (significand_test): Likewise.
699         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
700         individual tests in comment.
701         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
702         (prev_max_error): New variable.
703         (prev_real_max_error): Likewise.
704         (prev_imag_max_error): Likewise.
705         (compare_ulp_data): Don't refer to test names in comment.
706         (find_test_ulps): Remove function.
707         (find_function_ulps): Likewise.
708         (find_complex_function_ulps): Likewise.
709         (init_max_error): Take function name as argument.  Look up ulps
710         for that function.
711         (print_ulps): Remove function.
712         (print_max_error): Use prev_max_error instead of calling
713         find_function_ulps.
714         (print_complex_max_error): Use prev_real_max_error and
715         prev_imag_max_error instead of calling find_complex_function_ulps.
716         (check_float_internal): Take max_ulp parameter instead of calling
717         find_test_ulps.  Don't call print_ulps.
718         (check_float): Update call to check_float_internal.
719         (check_complex): Update calls to check_float_internal.
720         (START): Pass argument to init_max_error.
721         * math/gen-libm-test.pl (%results): Don't include "kind"
722         information.
723         (parse_ulps): Don't handle ulps of individual tests.
724         (print_ulps_file): Likewise.
725         (output_ulps): Likewise.
726         * math/README.libm-test: Update.
727         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
728         individual tests.
729         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
730         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
731         * sysdeps/arm/libm-test-ulps: Likewise.
732         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
733         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
734         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
735         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
736         * sysdeps/microblaze/libm-test-ulps: Likewise.
737         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
738         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
740         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
741         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
742         * sysdeps/sh/libm-test-ulps: Likewise.
743         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
744         * sysdeps/tile/libm-test-ulps: Likewise.
745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
747 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
749         * math/libm-test.inc (print_complex_max_error): Check separately
750         whether real and imaginary errors are within allowed range and
751         pass 0 to print_complex_function_ulps instead of value within
752         allowed range.
754 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
757         formatting.
758         (get_handles_fopen): Likewise.
759         (do_write_test): Likewise.
761         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
763         * libio/fileops.c (do_ftell): Use cached offset when
764         available.
765         * libio/iofwide.c (do_ftell_wide): Likewise.
766         * libio/iofdopen.c (_IO_new_fdopen): Don't use
767         _IO_file_attach.
768         * libio/wfileops.c (_IO_fwide): Don't cache offset.
770         [BZ #16532]
771         * libio/libioP.h (get_file_offset): New function.
772         * libio/fileops.c (get_file_offset): Likewise.
773         (do_ftell): Likewise.
774         (_IO_new_file_seekoff): Split out ftell logic.
775         * libio/wfileops.c (do_ftell_wide): Likewise.
776         (_IO_wfile_seekoff): Split out ftell logic.
777         * libio/tst-ftell-active-handler.c: New test case.
778         * libio/Makefile (tests): Add it.
780 2014-03-03  Roland McGrath  <roland@hack.frob.com>
782         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
783         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
785 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
787         [BZ #16639]
788         * nscd/connections.c (nscd_init): Call do_exit.
789         (start_threads): Call do_exit and notify_parent.
790         (begin_drop_privileges): Call do_exit.
791         (finish_drop_privileges): Likewise.
792         * nscd/selinux.c (preserve_capabilities): Likewise.
793         (install_real_capabilities): Likewise.
794         (nscd_selinux_enabled): Likewise.
795         (avc_create_thread): Likewise.
796         (avc_alloc_lock): Likewise.
797         (nscd_avc_init): Likewise.
798         * nscd/nscd.c (parent_fd): New static variable.
799         (main): Create a pipe between parent and child processes.
800         Skip closing parent_fd.
801         (monitor_child): New function.
802         (do_exit): Likewise.
803         (notify_parent): Likewise.
804         * nscd/nscd.h (notify_parent): Likewise.
805         (do_exit): Likewise.
807 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
809         * malloc/malloc.c (__libc_calloc): Revert last change.
811 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
815 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
817         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
819         implementation.
820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
821         (__libc_ifunc_impl_list): Likewise.
822         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
823         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
824         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
825         * string/strrchr.c: Define STRRCHR.
827 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
829         * benchtest/bench-strtok.c (simple_strtok): Delete.
830         (strtok_string): Use as benchmark.
831         * string/strtok (STRTOK): New macro.
833 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
835         * manual/threads.texi: Add header and standard comments to all
836         functions.
838         * elf/dl-lookup.c (check_match): New function.
839         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
840         (do_lookup_x): Remove nested function check_match. Use non-nested
841         function check_match.
843 2014-02-28  Roland McGrath  <roland@hack.frob.com>
845         * csu/Makefile (generated, before-compile): Use += rather than =.
846         * catgets/Makefile (generated, generated-dirs): Likewise.
847         * debug/Makefile (generated): Likewise.
848         * dlfcn/Makefile (generated): Likewise.
849         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
850         * iconvdata/Makefile (before-compile, generated): Likewise.
851         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
852         * libio/Makefile (generated): Likewise.
853         * malloc/Makefile (generated): Likewise.
854         * manual/Makefile (generated, generated-dirs): Likewise.
855         * misc/Makefile (generated): Likewise.
856         * posix/Makefile (generated): Likewise.
857         * resolv/Makefile (generated): Likewise.
858         * sunrpc/Makefile (generated, generated-dirs): Likewise.
859         * timezone/Makefile (generated, generated-dirs): Likewise.
861         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
863 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
866         implementation.
867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
868         POWER8 llround ifunc implementation.
869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
870         POWER8 implementation.
871         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
872         POWER8 llround implementation.
874 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
877         implementation.
878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
879         POWER8 llrint ifunc implementation.
880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
881         POWER8 implementation.
882         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
883         POWER8 llrint implementation.
885 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
888         implementation.
889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
890         POWER8 finite ifunc implementation.
891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
892         POWER8 implementation.
893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
894         Likewise.
895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
896         POWER8 finite implementation.
897         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
899 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
902         implementation.
903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
904         POWER8 isinf ifunc implementation.
905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
906         POWER8 implementation.
907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
908         Likewise.
909         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
910         POWER8 isinf implementation.
911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
913 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
915         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
916         Add hwcap2 initialization.
917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
918         implementation.
919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
920         POWER8 isnan ifunc implementation.
921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
922         POWER8 implementation.
923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
924         Likewise.
925         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
926         POWER8 isnan implementation.
927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
929 2014-02-27  Joey Ye  <joey.ye@arm.com>
931         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
932         (_FP_NANFRAC_Q): Set to zero.
934 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
936         [BZ #16623]
937         * math/auto-libm-test-in: New test inputs.
938         * math/auto-libm-test-out: Regenerate.
939         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
940         and DA.
941         (__cos): Likewise.
942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
944 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
946         * scripts/evaluate-test.sh: Take new argument indicating whether
947         failure is expected.
948         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
949         indicating whether failure is expected.
950         * conform/Makefile (test-xfail-run-conformtest): New variable.
951         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
952         level.
953         * posix/Makefile (test-xfail-annexc): New variable.
954         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
956 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
958         * argp/Makefile: Include Makeconfig immediately after defining
959         subdir.
960         * assert/Makefile: Likewise.
961         * benchtests/Makefile: Likewise.
962         * catgets/Makefile: Likewise.
963         * conform/Makefile: Likewise.
964         * crypt/Makefile: Likewise.
965         * csu/Makefile: Likewise.
966         (all): Remove target.
967         * ctype/Makefile: Include Makeconfig immediately after defining
968         subdir.
969         * debug/Makefile: Likewise.
970         * dirent/Makefile: Likewise.
971         * dlfcn/Makefile: Likewise.
972         * gmon/Makefile: Likewise.
973         * gnulib/Makefile: Likewise.
974         * grp/Makefile: Likewise.
975         * gshadow/Makefile: Likewise.
976         * hesiod/Makefile: Likewise.
977         * hurd/Makefile: Likewise.
978         (all): Remove target.
979         * iconvdata/Makefile: Include Makeconfig immediately after
980         defining subdir.
981         * inet/Makefile: Likewise.
982         * intl/Makefile: Likewise.
983         * io/Makefile: Likewise.
984         * libio/Makefile: Likewise.
985         (all): Remove target.
986         * locale/Makefile: Include Makeconfig immediately after defining
987         subdir.
988         * login/Makefile: Likewise.
989         * mach/Makefile: Likewise.
990         (all): Remove target.
991         * malloc/Makefile: Include Makeconfig immediately after defining
992         subdir.
993         (all): Remove target.
994         * manual/Makefile: Include Makeconfig immediately after defining
995         subdir.
996         * math/Makefile: Likewise.
997         * misc/Makefile: Likewise.
998         * nis/Makefile: Likewise.
999         * nss/Makefile: Likewise.
1000         * po/Makefile: Likewise.
1001         (all): Remove target.
1002         * posix/Makefile: Include Makeconfig immediately after defining
1003         subdir.
1004         * pwd/Makefile: Likewise.
1005         * resolv/Makefile: Likewise.
1006         * resource/Makefile: Likewise.
1007         * rt/Makefile: Likewise.
1008         * setjmp/Makefile: Likewise.
1009         * shadow/Makefile: Likewise.
1010         * signal/Makefile: Likewise.
1011         * socket/Makefile: Likewise.
1012         * soft-fp/Makefile: Likewise.
1013         * stdio-common/Makefile: Likewise.
1014         * stdlib/Makefile: Likewise.
1015         * streams/Makefile: Likewise.
1016         * string/Makefile: Likewise.
1017         * sunrpc/Makefile: Likewise.
1018         (all): Remove target.
1019         * sysvipc/Makefile: Include Makeconfig immediately after defining
1020         subdir.
1021         * termios/Makefile: Likewise.
1022         * time/Makefile: Likewise.
1023         * timezone/Makefile: Likewise.
1024         (all): Remove target.
1025         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1026         subdir.
1027         * wctype/Makefile: Likewise.
1029 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1031         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1032         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1033         (libc_feholdexcept_setround_mips): Ditto.
1034         (libc_feholdsetround): New.
1035         (libc_feholdsetroundf): New.
1036         (libc_feholdsetroundl): New.
1037         (libc_feupdateenv_test_mips): New.
1038         (libc_feupdateenv_test): New.
1039         (libc_feupdateenv_testf): New.
1040         (libc_feupdateenv_testl): New.
1041         (libc_feresetround): New.
1042         (libc_feresetroundf): New.
1043         (libc_feresetroundl): New.
1044         (libc_fetestexcept_mips): New.
1045         (libc_fetestexcept): New.
1046         (libc_fetestexceptf): New.
1047         (libc_fetestexceptl): New.
1048         (HAVE_RM_CTX): New.
1049         (libc_feholdexcept_setround_mips_ctx): New.
1050         (libc_feholdexcept_setround_ctx): New.
1051         (libc_feholdexcept_setroundf_ctx): New.
1052         (libc_feholdexcept_setroundl_ctx): New.
1053         (libc_fesetenv_mips_ctx): New.
1054         (libc_fesetenv_ctx): New.
1055         (libc_fesetenv_ctxf): New.
1056         (libc_fesetenv_ctxl): New.
1057         (libc_feupdateenv_mips_ctx): New.
1058         (libc_feupdateenv_ctx): New.
1059         (libc_feupdateenvf_ctx): New.
1060         (libc_feupdateenvl_ctx): New.
1061         (libc_feholdsetround_mips_ctx): New.
1062         (libc_feholdsetround_ctx): New.
1063         (libc_feholdsetroundf_ctx): New.
1064         (libc_feholdsetroundl_ctx): New.
1065         (libc_feresetround_mips_ctx): New.
1066         (libc_feresetround_ctx): New.
1067         (libc_feresetroundf_ctx): New.
1068         (libc_feresetroundl_ctx): New.
1070 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1072         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1074         * manual/ipc.texi: New file.
1075         * manual/Makefile (chapters): Add ipc.
1076         * manual/job.texi: Add "Inter-Process Communication" to next.
1077         * manual/process.texi: Add "Inter-Process Communication" to prev.
1079 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1083 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1085         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1087         * manual/arith.texi: Fix spaces after sentences.
1088         * manual/charset.texi: Likewise.
1089         * manual/errno.texi: Likewise.
1090         * manual/install.texi: Likewise.
1091         * manual/llio.texi: Likewise.
1092         * manual/locale.texi: Likewise.
1093         * manual/maint.texi: Likewise.
1094         * manual/math.texi: Likewise.
1095         * manual/memory.texi: Likewise.
1096         * manual/message.texi: Likewise.
1097         * manual/probes.texi: Likewise.
1098         * manual/resource.texi: Likewise.
1099         * manual/signal.texi: Likewise.
1100         * manual/socket.texi: Likewise.
1101         * manual/stdio.texi: Likewise.
1102         * manual/string.texi: Likewise.
1103         * manual/time.texi: Likewise.
1104         * manual/users.texi: Likewise.
1106 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1108         [BZ #16632]
1109         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1110         _DEFAULT_SOURCE is defined.
1112 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1113             Carlos O'Donell  <carlos@redhat.com>
1115         [BZ #16613]
1116         * elf/dl-tls.c (_dl_count_modids): New function.
1117         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1118         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1119         audit library and increment generation counter.
1120         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1121         * elf/tst-audit9.c: New file.
1122         * elf/tst-auditmod9a.c: New file.
1123         * elf/tst-auditmod9b.c: New file.
1124         * elf/Makefile: Add rules to build and run tst-audit9.
1126 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1128         [BZ #15347]
1129         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1131 2014-02-25  Will Newton  <will.newton@linaro.org>
1133         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1134         (__longjmp): Restore sp and lr before restoring callee
1135         saved registers.  Add longjmp and longjmp_target
1136         SystemTap probe point.
1137         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1138         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1139         Define to zero to match jmpbuf layout.
1140         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1141         (__sigsetjmp): Save sp and lr before saving callee
1142         saved registers.  Add setjmp SystemTap probe point.
1144 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1146         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1148 2014-02-24  Andreas Schwab  <schwab@suse.de>
1150         [BZ #15804]
1151         * elf/pldd.c (wait_for_ptrace_stop): New function.
1152         (main): Call it after attaching.
1154 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1156         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1157         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1158         Versions files is now verboten.
1159         * hurd/Versions (libc: GLIBC_2.0):
1160         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1161         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1162         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1163         * mach/Versions: Likewise.
1165         * csu/Versions: Remove unused %include.
1166         * resolv/Versions: Likewise.
1168 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1170         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1171         ($(objpfx)check-local-headers.out): Likewise.
1172         ($(objpfx)begin-end-check.out): Likewise.
1173         * Makerules (check-abi-%.out): Likewise.
1174         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1175         ($(objpfx)test2.cat): Likewise.
1176         ($(objpfx)de/libc.cat): Likewise.
1177         ($(objpfx)test-gencat.out): Likewise.
1178         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1179         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1180         ($(objpfx)noload-mem): Likewise.
1181         ($(objpfx)tst-pathopt.out): Likewise.
1182         ($(objpfx)tst-rtld-load-self.out): Likewise.
1183         ($(objpfx)tst-array1-cmp.out): Likewise.
1184         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1185         ($(objpfx)tst-array2-cmp.out): Likewise.
1186         ($(objpfx)tst-array3-cmp.out): Likewise.
1187         ($(objpfx)tst-array4-cmp.out): Likewise.
1188         ($(objpfx)tst-array5-cmp.out): Likewise.
1189         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1190         ($(objpfx)check-textrel.out): Likewise.
1191         ($(objpfx)check-execstack.out): Likewise.
1192         ($(objpfx)check-localplt.out): Likewise.
1193         ($(objpfx)order2-cmp.out): Likewise.
1194         ($(objpfx)tst-leaks1-mem): Likewise.
1195         ($(objpfx)tst-leaks1-static-mem): Likewise.
1196         ($(objpfx)tst-initorder-cmp.out): Likewise.
1197         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1198         ($(objpfx)tst-unused-dep.out): Likewise.
1199         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1200         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1201         * iconv/Makefile (test-iconvconfig): Likewise.
1202         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1203         ($(objpfx)iconv-test.out): Likewise.
1204         ($(objpfx)tst-tables.out): Likewise.
1205         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1206         ($(objpfx)tst-gettext.out): Likewise.
1207         ($(objpfx)tst-translit.out): Likewise.
1208         ($(objpfx)tst-gettext2.out): Likewise.
1209         ($(objpfx)tst-gettext4.out): Likewise.
1210         ($(objpfx)tst-gettext6.out): Likewise.
1211         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1212         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1213         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1214         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1215         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1216         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1217         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1218         ($(objpfx)wordexp-tst.out): Likewise.
1219         ($(objpfx)annexc.out): Likewise.
1220         ($(objpfx)tst-fnmatch-mem): Likewise.
1221         ($(objpfx)bug-regex2-mem): Likewise.
1222         ($(objpfx)bug-regex14-mem): Likewise.
1223         ($(objpfx)bug-regex21-mem): Likewise.
1224         ($(objpfx)bug-regex31-mem): Likewise.
1225         ($(objpfx)tst-vfork3-mem): Likewise.
1226         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1227         ($(objpfx)tst-pcre-mem): Likewise.
1228         ($(objpfx)tst-boost-mem): Likewise.
1229         ($(objpfx)tst-getconf.out): Likewise.
1230         ($(objpfx)bug-ga2-mem): Likewise.
1231         ($(objpfx)bug-glob2-mem): Likewise.
1232         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1233         ($(objpfx)mtrace-tst-leaks2): Likewise.
1234         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1235         ($(objpfx)tst-printf.out): Likewise.
1236         ($(objpfx)tst-setvbuf1.out): Likewise.
1237         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1238         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1239         ($(objpfx)tst-fmtmsg.out): Likewise.
1240         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1241         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1243         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1244         * bits/sigaction.h [__USE_MISC]: Likewise.
1245         * bits/waitstatus.h: Update #endif comments.
1246         * ctype/ctype.h: Likewise.
1247         * dirent/dirent.h: Likewise.
1248         [__USE_MISC]: Remove redundant conditionals.
1249         * grp/grp.h: Update #endif comments.
1250         [__USE_GNU]: Remove redundant conditionals.
1251         [__USE_MISC]: Likewise.
1252         * inet/netinet/in.h [__USE_GNU]: Likewise.
1253         * io/sys/stat.h [__USE_MISC]: Likewise.
1254         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1255         * libio/bits/stdio.h: Update #endif comments.
1256         [__USE_MISC]: Remove redundant conditionals.
1257         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1258         * libio/stdio.h: Update #endif comments.
1259         [__USE_MISC]: Remove redundant conditionals.
1260         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1261         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1262         * math/math.h: Update #else and #endif comments.
1263         [__USE_MISC]: Remove redundant conditionals.
1264         * misc/sys/uio.h: Update #endif comments.
1265         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1266         * posix/glob.h [__USE_MISC]: Likewise.
1267         * posix/sys/types.h: Update #endif comments.
1268         [__USE_MISC]: Remove redundant conditionals.
1269         * posix/sys/wait.h: Update #endif comments.
1270         [__USE_MISC]: Remove redundant conditionals.
1271         * posix/unistd.h: Update #endif comments.
1272         [__USE_MISC]: Remove redundant conditionals.
1273         * pwd/pwd.h [__USE_GNU]: Likewise.
1274         [__USE_MISC]: Likewise.
1275         * resolv/netdb.h [__USE_GNU]: Likewise.
1276         * signal/signal.h: Update #endif comments.
1277         [__USE_MISC]: Remove redundant conditionals.
1278         * stdlib/stdlib.h: Update #else and #endif comments.
1279         [__USE_MISC]: Remove redundant conditionals.
1280         [__USE_GNU]: Likewise.
1281         * string/bits/string2.h [__USE_MISC]: Likewise.
1282         * string/string.h: Update #endif comments.
1283         [__USE_MISC]: Remove redundant conditionals.
1284         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1285         Likewise.
1286         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1287         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1288         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1291         Likewise.
1292         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1293         comments.
1294         [__USE_MISC]: Remove redundant conditionals.
1295         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1296         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1297         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1298         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1299         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1300         Likewise.
1301         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1302         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1303         Likewise.
1304         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1305         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1306         Likewise.
1307         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1308         Likewise.
1309         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1310         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1315         * sysdeps/x86/bits/string.h: Update #endif comments.
1316         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1317         conditionals.
1318         * time/sys/time.h: Update #endif comments.
1319         * time/time.h: Likewise.
1320         [__USE_MISC]: Remove redundant conditionals.
1322 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1324         [BZ #16600]
1325         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1327 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1329         * Versions.def (librt): Add GLIBC_2.17.
1331 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1333         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1334         synonym for _SYS_AUXV_H to allow direct inclusion.
1335         * sysdeps/sparc/bits/hwcap.h: Likewise.
1336         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1337         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1338         * sysdeps/sparc/sysdep.h: Likewise.
1340 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1342         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1344 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1346         * benchtests/bench-strrchr.c: Print length instead of position.
1348 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1350         [BZ #16611]
1351         * sysdeps/unix/sysv/linux/kernel-features.h
1352         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1353         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1354         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1355         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1356         Likewise.
1357         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1358         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1359         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1360         (__ASSUME_SENDMMSG): Define instead of using previous
1361         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1363         (__ASSUME_SENDMMSG_SYSCALL): Define.
1364         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1365         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1366         Likewise.
1367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1374         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1375         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1376         [__ASSUME_SENDMMSG]: Change conditionals to
1377         [__ASSUME_SENDMMSG_SOCKETCALL].
1378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1379         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1380         Define.
1381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1382         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1383         Likewise.
1384         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1385         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1386         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1387         [!__ASSUME_SENDMMSG]: Change conditional to
1388         [!__ASSUME_SENDMMSG_SOCKETCALL].
1389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1390         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1391         Define.
1393         [BZ #16610]
1394         * sysdeps/unix/sysv/linux/kernel-features.h
1395         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1396         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1397         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1398         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1399         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1400         [__i386__ || __sparc__]
1401         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1402         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1403         (__ASSUME_RECVMMSG): Define instead of using previous
1404         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1405         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1406         (__ASSUME_RECVMMSG_SYSCALL): Define.
1407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1408         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1409         Likewise.
1410         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1412         Likewise.
1413         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1415         Likewise.
1416         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1417         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1418         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1419         [__ASSUME_RECVMMSG]: Change condition to
1420         [__ASSUME_RECVMMSG_SOCKETCALL].
1421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1423         Define.
1424         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1425         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1426         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1427         Likewise.
1428         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1429         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1430         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1431         [!__ASSUME_RECVMMSG]: Change condition to
1432         [!__ASSUME_RECVMMSG_SOCKETCALL].
1433         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1434         (__ASSUME_RECVMMSG_SYSCALL): Define.
1436         [BZ #16609]
1437         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1438         __powerpc__ || __s390__ || __sh__ || __sparc__]
1439         (__ASSUME_SOCKETCALL): Define.
1440         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1441         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1442         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1443         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1444         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1445         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1446         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1447         (__ASSUME_ACCEPT4): Define instead of using previous
1448         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1449         __powerpc__ || __sparc__ || __s390__)] condition.
1450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1451         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1452         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1453         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1454         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1455         [!__ASSUME_ACCEPT4]: Change condition to
1456         [!__ASSUME_ACCEPT4_SOCKETCALL].
1457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1458         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
1459         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1461         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1462         __ASSUME_ACCEPT4_SYSCALL.
1463         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1464         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1466         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
1467         __ASSUME_ACCEPT4_SYSCALL.
1468         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
1469         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1470         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1471         [__ASSUME_ACCEPT4]: Change condition to
1472         [__ASSUME_ACCEPT4_SOCKETCALL].
1473         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1474         (__ASSUME_SOCKETCALL): Define.
1475         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
1476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1477         (__ASSUME_SOCKETCALL): Define.
1478         (__ASSUME_ACCEPT4): Remove.
1479         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
1480         Define.
1481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1482         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1485         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1487         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
1488         macro.
1489         (HWCAP_ARM_LPAE): Likewise.
1490         (HWCAP_ARM_EVTSTRM): Likewise.
1491         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
1492         Add vpfd32, lpae and evtstrm.
1493         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1494         Increase to 22.
1496 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
1498         * math/auto-libm-test-in: Add tests of clog10.
1499         * math/auto-libm-test-out: Regenerated.
1500         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
1501         * sysdeps/i386/fpu/libm-test-ulps: Update.
1502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1504 2014-02-18  Andreas Schwab  <schwab@suse.de>
1506         [BZ #16574]
1507         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
1508         Store non-zero if the second buffer was newly allocated.
1509         (send_dg): Likewise.
1510         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
1511         to send_vc and send_dg.
1512         (res_nsend): Pass NULL for ansp2_malloced.
1513         * resolv/res_query.c (__libc_res_nquery): Add parameter
1514         answerp2_malloced and pass it down to __libc_res_nsend.
1515         (res_nquery): Pass additional NULL to __libc_res_nquery.
1516         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
1517         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
1518         second answer buffer if answerp2_malloced was set.
1519         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
1520         (__libc_res_nquerydomain): Add parameter
1521         answerp2_malloced and pass it down to __libc_res_nquery.
1522         (res_nquerydomain): Pass additional NULL to
1523         __libc_res_nquerydomain.
1524         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
1525         additional NULL to __libc_res_nsend and __libc_res_nquery.
1526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
1527         additional NULL to __libc_res_nsearch.
1528         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
1529         parameter of __libc_res_nsearch to check for separately allocated
1530         second buffer.
1531         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
1532         __libc_res_nquery.
1533         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
1534         additional NULL to __libc_res_nquery.
1535         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
1536         __libc_res_nsearch.
1537         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
1538         * include/resolv.h: Update prototypes of __libc_res_nquery,
1539         __libc_res_nsearch, __libc_res_nsend.
1541 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
1543         * math/auto-libm-test-in: Add tests of fma.
1544         * math/auto-libm-test-out: Regenerated.
1545         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
1546         (fma_towardzero_test_data): Likewise.
1547         (fma_downward_test_data): Likewise.
1548         (fma_upward_test_data): Likewise.
1549         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
1550         mpc_mode.
1551         (rounding_modes): Add values for new field.
1552         (func_calc_method): Add value mpfr_fff_f.
1553         (func_calc_desc): Add mpfr_fff_f union field.
1554         (test_function): Add field exact_args.
1555         (FUNC): Add macro argument EXACT_ARGS.
1556         (FUNC_mpfr_f_f): Update call to FUNC.
1557         (FUNC_mpfr_f_f): Likewise.
1558         (FUNC_mpfr_ff_f): Likewise.
1559         (FUNC_mpfr_if_f): Likewise.
1560         (FUNC_mpc_c_f): Likewise.
1561         (FUNC_mpc_c_c): Likewise.
1562         (test_functions): Add fma.  Update calls to FUNC.
1563         (handle_input_arg): Add argument exact_args.
1564         (add_test): Update call to handle_input_arg.
1565         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
1566         (output_for_one_input_case): Update call to calc_generic_results.
1567         Recalculate exact zero results in each rounding mode.
1569         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
1570         non-negative before setting low bit.
1571         * math/auto-libm-test-in: Mark one asin test possibly having
1572         spurious underflow.
1573         * math/auto-libm-test-out: Regenerated.
1574         * sysdeps/i386/fpu/libm-test-ulps: Update.
1575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1577 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
1579         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
1580         * sysdeps/unix/sysv/linux/microblaze: Move directory from
1581         ports/sysdeps/unix/sysv/linux/microblaze.
1582         * README: Add missing listing for microblaze*-*-linux-gnu.
1584 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
1586         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
1587         * sysdeps/unix/sysv/linux/ia64: Move directory from
1588         ports/sysdeps/unix/sysv/linux/ia64.
1589         * README: Update listing for ia64-*-linux-gnu.
1591 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
1592             Joseph Myers  <joseph@codesourcery.com>
1594         * Makeconfig (test-name): New variable.
1595         (evaluate-test): Likewise.
1596         * Makerules (do-test-clean): Remove .test-result files.
1597         (common-mostlyclean): Likewise.
1598         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
1599         * scripts/evaluate-test.sh: New file.
1601 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
1603         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
1604         separate $(objpfx)tst-fopenloc-cmp.out and
1605         $(objpfx)tst-fopenloc-mem.out targets.
1606         (tests): Update dependencies.
1607         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
1608         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
1609         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
1610         (tst-rxspencer-no-utf8-ARGS): New variable.
1611         (tst-rxspencer-no-utf8-ENV): Likewise.
1612         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
1613         instead of $(objpfx)tst-rxspencer-mem.
1614         ($(objpfx)tst-rxspencer-mem): Change target to
1615         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
1616         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
1617         * posix/tst-rxspencer-no-utf8.c: New file.
1619         * elf/Makefile ($(objpfx)order.out): Remove rule.
1620         [$(run-built-tests) = yes] (tests): Depend on
1621         $(objpfx)order-cmp.out.
1622         ($(objpfx)order-cmp.out): New rule.
1623         [$(run-built-tests) = yes] (tests): Depend on
1624         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
1625         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
1626         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
1627         $(objpfx)tst-array5-static-cmp.out.
1628         ($(objpfx)tst-array1.out): Remove rule.
1629         ($(objpfx)tst-array1-cmp.out): New rule.
1630         ($(objpfx)tst-array1-static.out): Remove rule.
1631         ($(objpfx)tst-array1-static-cmp.out): New rule.
1632         ($(objpfx)tst-array2.out): Remove rule.
1633         ($(objpfx)tst-array2-cmp.out): New rule.
1634         ($(objpfx)tst-array3.out): Remove rule.
1635         ($(objpfx)tst-array3-cmp.out): New rule.
1636         ($(objpfx)tst-array4.out): Remove rule.
1637         ($(objpfx)tst-array4-cmp.out): New rule.
1638         ($(objpfx)tst-array5.out): Remove rule.
1639         ($(objpfx)tst-array5-cmp.out): New rule.
1640         ($(objpfx)tst-array5-static.out): Remove rule.
1641         ($(objpfx)tst-array5-static-cmp.out): New rule.
1642         [$(run-built-tests) = yes] (tests): Depend on
1643         $(objpfx)order2-cmp.out.
1644         ($(objpfx)order2.out): Remove rule.
1645         ($(objpfx)order2-cmp.out): New rule.
1646         ($(objpfx)tst-initorder.out): Remove rule.
1647         [$(run-built-tests) = yes] (tests): Depend on
1648         $(objpfx)tst-initorder-cmp.out.
1649         ($(objpfx)tst-initorder-cmp.out): New rule.
1650         ($(objpfx)tst-initorder2.out): Remove rule.
1651         [$(run-built-tests) = yes] (tests): Depend on
1652         $(objpfx)tst-initorder2-cmp.out.
1653         ($(objpfx)tst-initorder2-cmp.out): New rule.
1654         [$(run-built-tests) = yes] (tests): Depend on
1655         $(objpfx)tst-unused-dep-cmp.out.
1656         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
1657         ($(objpfx)tst-unused-dep-cmp.out): New rule.
1658         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
1659         on $(objpfx)tst-setvbuf1-cmp.out.
1660         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
1661         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
1662         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
1663         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
1664         ($(objpfx)tst-svc.out): Remove rule.
1665         ($(objpfx)tst-svc-cmp.out): New rule.
1667 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
1669         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
1670         * ctype/ctype.h [__USE_MISC]: Likewise.
1671         * dirent/dirent.h [__USE_MISC]: Likewise.
1672         * grp/grp.h [__USE_MISC]: Likewise.
1673         * io/fcntl.h [__USE_MISC]: Likewise.
1674         * io/sys/stat.h [__USE_MISC]: Likewise.
1675         * libio/stdio.h [__USE_MISC]: Likewise.
1676         * posix/unistd.h [__USE_MISC]: Likewise.
1677         * pwd/pwd.h [__USE_MISC]: Likewise.
1678         * stdlib.h [__USE_MISC]: Likewise.
1679         * string/bits/string2.h [__USE_MISC]: Likewise.
1680         * string/string.h [__USE_MISC]: Likewise.
1681         * time/time.h [__USE_MISC]: Likewise.
1683 2014-02-13  Andreas Schwab  <schwab@suse.de>
1685         [BZ #16574]
1686         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
1687         second answer buffer if it was separately allocated.
1689 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1691         * sysdeps/mips/math-tests.h: Include <features.h>.
1692         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1693         (ROUNDING_TESTS_long_double): Do not define.
1694         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1695         (EXCEPTION_TESTS_long_double): Likewise.
1696         * sysdeps/mips/mips64/libm-test-ulps: Update.
1698         * include/features.h (__USE_BSD): Remove macro definitions.
1699         (__USE_SVID): Likewise.
1700         (_BSD_SOURCE): Likewise.
1701         (_SVID_SOURCE): Likewise.
1702         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1703         from definition of _DEFAULT_SOURCE.
1704         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1705         [_DEFAULT_SOURCE].
1706         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1707         * bits/mman.h [__USE_BSD]: Likewise.
1708         * bits/termios.h [__USE_BSD]: Likewise.
1709         * bits/waitstatus.h [__USE_BSD]: Likewise.
1710         * ctype/ctype.h [__USE_SVID]: Likewise.
1711         * dirent/dirent.h [__USE_BSD]: Likewise.
1712         * grp/grp.h [__USE_SVID]: Likewise.
1713         [__USE_BSD]: Likewise.
1714         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1715         * io/fcntl.h [__USE_BSD]: Likewise.
1716         * io/ftw.h [__USE_BSD]: Likewise.
1717         * io/sys/stat.h [__USE_BSD]: Likewise.
1718         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1719         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1720         * libio/stdio.h [__USE_SVID]: Likewise.
1721         [__USE_BSD]: Likewise.
1722         * math/math.h [__USE_SVID]: Likewise.
1723         [__USE_BSD]: Likewise.
1724         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1725         * misc/bits/syslog.h [__USE_BSD]: Likewise.
1726         * misc/search.h [__USE_SVID]: Likewise.
1727         * misc/sys/mman.h [__USE_BSD]: Likewise.
1728         * misc/sys/syslog.h [__USE_BSD]: Likewise.
1729         * misc/sys/uio.h [__USE_BSD]: Likewise.
1730         * posix/bits/unistd.h [__USE_BSD]: Likewise.
1731         * posix/glob.h [__USE_BSD]: Likewise.
1732         * posix/regex.h [__USE_BSD]: Likewise.
1733         * posix/sys/types.h [__USE_BSD]: Likewise.
1734         [__USE_SVID]: Likewise.
1735         * posix/sys/utsname.h [__USE_SVID]: Likewise.
1736         * posix/sys/wait.h [__USE_BSD]: Likewise.
1737         [__USE_SVID]: Likewise.
1738         * posix/unistd.h [__USE_BSD]: Likewise.
1739         [__USE_SVID]: Likewise.
1740         * pwd/pwd.h [__USE_SVID]: Likewise.
1741         * resolv/netdb.h [__USE_BSD]: Likewise.
1742         * setjmp/setjmp.h [__USE_BSD]: Likewise.
1743         * signal/signal.h [__USE_BSD]: Likewise.
1744         [__USE_SVID]: Likewise.
1745         * socket/sys/socket.h [__USE_BSD]: Likewise.
1746         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1747         * stdlib/stdlib.h [__USE_BSD]: Likewise.
1748         [__USE_SVID]: Likewise.
1749         * string/bits/string2.h [__USE_BSD]: Likewise.
1750         [__USE_SVID]: Likewise.
1751         * string/bits/string3.h [__USE_BSD]: Likewise.
1752         * string/endian.h [__USE_BSD]: Likewise.
1753         * string/string.h [__USE_SVID]: Likewise.
1754         [__USE_BSD]: Likewise.
1755         * string/strings.h [__USE_BSD]: Likewise.
1756         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1757         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1758         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1759         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1760         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1761         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1762         Likewise.
1763         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1764         Likewise.
1765         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1766         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1769         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1770         Likewise.
1771         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1772         Likewise.
1773         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1774         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1776         Likewise.
1777         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1778         Likewise.
1779         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1780         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1781         * termios/termios.h [__USE_BSD]: Likewise.
1782         * time/sys/time.h [__USE_BSD]: Likewise.
1783         * time/time.h [__USE_BSD]: Likewise.
1784         [__USE_SVID]: Likewise.
1786         * Makefile (subdir_targets): Remove subdir_lint.out.
1788         * stdio-common/Makefile (do-tst-unbputc): Remove target.
1789         (do-tst-printf): Likewise.
1790         (tests): Depend directly on $(objpfx)tst-unbputc.out and
1791         $(objpfx)tst-printf.out.
1793         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1795         * Makerules (check-abi-%): Change target to
1796         $(objpfx)check-abi-%.out.
1797         (check-abi target): Update dependencies.
1798         (check-abi-pattern variable): Redirect output of diff to $@.
1799         (check-abi variable): Likewise.
1800         * elf/Makefile (check-abi): Update dependencies.
1802         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1803         unused.
1804         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1805         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1806         subnormal range.
1807         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1808         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1809         value has largest subnormal exponent.
1810         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1811         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1812         * sysdeps/aarch64/soft-fp/sfp-machine.h
1813         (_FP_TININESS_AFTER_ROUNDING): New macro.
1814         * sysdeps/alpha/soft-fp/sfp-machine.h
1815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1816         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1817         Likewise.
1818         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1819         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1820         * sysdeps/mips/soft-fp/sfp-machine.h
1821         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1822         * sysdeps/powerpc/soft-fp/sfp-machine.h
1823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1824         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1825         Likewise.
1826         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1827         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1828         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1829         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1830         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1831         Likewise.
1833 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
1835         [BZ #16545]
1836         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1837         model 1.
1839 2014-02-12  Richard Henderson  <rth@redhat.com>
1841         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1842         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1843         * sysdeps/unix/sysv/linux/alpha: Move directory from
1844         ports/sysdeps/unix/sysv/linux/alpha.
1845         * README: Update listing for alpha-*-linux-gnu.
1847 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
1849         * include/features.h: Update comment documenting feature test
1850         macros.
1851         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
1852         _DEFAULT_SOURCE.
1853         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1854         (_SVID_SOURCE): Likewise.
1855         (_DEFAULT_SOURCE): Update description of default features.
1856         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1857         with _GNU_SOURCE.
1858         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1859         (S_ISVTX): Likewise.
1860         * manual/math.texi (Mathematical Constants): Likewise.
1861         * manual/signal.texi (Interrupted Primitives): Likewise.
1862         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1863         * math/test-matherr.c (_SVID_SOURCE): Do not define.
1864         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1865         Don't refer to _SVID_SOURCE in warning text.
1867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1869         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1870         already defined.
1871         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1872         * sysdeps/mips/dl-lookup.c: Remove.
1873         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1875 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1877         [BZ #16447]
1878         * math/auto-libm-test-in: Add testcase for expl.
1879         * math/auto-libm-test-out: Regenerate.
1880         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1881         calculation of unsafe.
1882         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1884 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1886         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1887         * sysdeps/unix/sysv/linux/aarch64: Move directory from
1888         ports/sysdeps/unix/sysv/linux/aarch64.
1889         * README: Update listing for aarch64*-*-linux-gnu.
1891 2014-02-11  Will Newton  <will.newton@linaro.org>
1893         * manual/probes.texi (Mathematical Function Probes): Use
1894         "triggered" instead of "hit".
1896 2014-02-11  Will Newton  <will.newton@linaro.org>
1898         * manual/probes.texi (Internal Probes): Add documentation
1899         of setjmp, longjmp and longjmp_target probes.
1901 2014-02-11  Will Newton  <will.newton@linaro.org>
1903         * include/stap-probe.h: Add comment about probe argument
1904         format.
1906 2014-02-11  Will Newton  <will.newton@linaro.org>
1908         * malloc/mtrace.c (attribute_hidden): Remove unused macro
1909         definition.  (tr_where, tr_freehook, tr_mallochook,
1910         tr_reallochook, tr_memalignhook): Use ANSI protoype.
1912 2014-02-11  David S. Miller  <davem@davemloft.net>
1914         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1915         processing int_tests.
1917 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
1919         * sysdeps/mips: Move directory from ports/sysdeps/mips.
1920         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1921         * sysdeps/unix/sysv/linux/mips: Move directory from
1922         ports/sysdeps/unix/sysv/linux/mips.
1923         * README: Update listing for mips-*-linux-gnu and
1924         mips64-*-linux-gnu.
1926 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
1928         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1929         * sysdeps/unix/sysv/linux/m68k: Move directory from
1930         ports/sysdeps/unix/sysv/linux/m68k.
1931         * README: Update listing for m68k-*-linux-gnu.
1933 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
1935         * sysdeps/tile: Move directory from ports/sysdeps/tile.
1936         * sysdeps/unix/sysv/linux/generic: Move directory from
1937         ports/sysdeps/unix/sysv/linux/generic.
1938         * sysdeps/unix/sysv/linux/tile: Move directory from
1939         ports/sysdeps/unix/sysv/linux/tile.
1940         * README: Update listing for tile*-*-linux-gnu.
1942 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1944         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1945         * benchtests/bench-memmem.c (simple_memmem): Likewise.
1946         * catgets/open_catalog.c (__open_catalog): Likewise.
1947         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1948         * debug/confstr_chk.c: Likewise.
1949         * debug/fread_chk.c (__fread_chk): Likewise.
1950         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1951         * debug/getgroups_chk.c: Likewise.
1952         * debug/mbsnrtowcs_chk.c: Likewise.
1953         * debug/mbsrtowcs_chk.c: Likewise.
1954         * debug/mbstowcs_chk.c: Likewise.
1955         * debug/memcpy_chk.c: Likewise.
1956         * debug/memmove_chk.c: Likewise.
1957         * debug/mempcpy_chk.c: Likewise.
1958         * debug/memset_chk.c: Likewise.
1959         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1960         * debug/strcat_chk.c (__strcat_chk): Likewise.
1961         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1962         * debug/strncat_chk.c (__strncat_chk): Likewise.
1963         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1964         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1965         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1966         * debug/wcpncpy_chk.c: Likewise.
1967         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1968         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1969         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1970         * debug/wcsncpy_chk.c: Likewise.
1971         * debug/wcsnrtombs_chk.c: Likewise.
1972         * debug/wcsrtombs_chk.c: Likewise.
1973         * debug/wcstombs_chk.c: Likewise.
1974         * debug/wmemcpy_chk.c: Likewise.
1975         * debug/wmemmove_chk.c: Likewise.
1976         * debug/wmempcpy_chk.c: Likewise.
1977         * debug/wmemset_chk.c: Likewise.
1978         * dirent/scandirat.c (SCANDIRAT): Likewise.
1979         * dlfcn/dladdr1.c (dladdr1): Likewise.
1980         * dlfcn/dladdr.c (dladdr): Likewise.
1981         * dlfcn/dlclose.c (dlclose_doit): Likewise.
1982         * dlfcn/dlerror.c (__dlerror): Likewise.
1983         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1984         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1985         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1986         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1987         * dlfcn/dlsym.c (dlsym_doit): Likewise.
1988         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1989         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1990         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1991         Likewise.
1992         * elf/dl-conflict.c: Likewise.
1993         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1994         * elf/dl-dst.h: Likewise.
1995         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1996         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1997         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1998         * elf/dl-init.c (call_init, _dl_init): Likewise.
1999         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2000         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2001         _dl_map_object_from_fd, open_verify, open_path,
2002         _dl_map_object): Likewise.
2003         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2004         Likewise.
2005         * elf/dl-minimal.c (__libc_memalign): Likewise.
2006         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2007         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2008         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2009         * elf/dl-sym.c (do_sym): Likewise.
2010         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2011         _dl_tls_get_addr_soft): Likewise.
2012         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2013         * elf/dl-writev.h (_dl_writev): Likewise.
2014         * elf/ldconfig.c (search_dir): Likewise.
2015         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2016         dl_main): Likewise.
2017         * elf/setup-vdso.h (setup_vdso): Likewise.
2018         * grp/compat-initgroups.c (compat_call): Likewise.
2019         * grp/fgetgrent.c (fgetgrent): Likewise.
2020         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2021         * grp/putgrent.c (putgrent): Likewise.
2022         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2023         Likewise.
2024         * hurd/hurdinit.c: Likewise.
2025         * iconvdata/8bit-gap.c (struct): Likewise.
2026         * iconvdata/ansi_x3.110.c : Likewise.
2027         * iconvdata/big5.c : Likewise.
2028         * iconvdata/big5hkscs.c : Likewise.
2029         * iconvdata/cp1255.c: Likewise.
2030         * iconvdata/cp1258.c : Likewise.
2031         * iconvdata/cp932.c : Likewise.
2032         * iconvdata/euc-cn.c: Likewise.
2033         * iconvdata/euc-jisx0213.c : Likewise.
2034         * iconvdata/euc-jp.c: Likewise.
2035         * iconvdata/euc-jp-ms.c : Likewise.
2036         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2037         * iconvdata/gb18030.c : Likewise.
2038         * iconvdata/gbbig5.c (const): Likewise.
2039         * iconvdata/gbgbk.c: Likewise.
2040         * iconvdata/gbk.c : Likewise.
2041         * iconvdata/ibm1364.c : Likewise.
2042         * iconvdata/ibm930.c : Likewise.
2043         * iconvdata/ibm932.c: Likewise.
2044         * iconvdata/ibm933.c : Likewise.
2045         * iconvdata/ibm935.c : Likewise.
2046         * iconvdata/ibm937.c : Likewise.
2047         * iconvdata/ibm939.c : Likewise.
2048         * iconvdata/ibm943.c: Likewise.
2049         * iconvdata/iso_11548-1.c: Likewise.
2050         * iconvdata/iso-2022-cn.c : Likewise.
2051         * iconvdata/iso-2022-cn-ext.c : Likewise.
2052         * iconvdata/iso-2022-jp-3.c: Likewise.
2053         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2054         * iconvdata/iso-2022-kr.c : Likewise.
2055         * iconvdata/iso646.c (gconv_end): Likewise.
2056         * iconvdata/iso_6937-2.c : Likewise.
2057         * iconvdata/iso_6937.c : Likewise.
2058         * iconvdata/iso8859-1.c: Likewise.
2059         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2060         * iconvdata/shift_jisx0213.c : Likewise.
2061         * iconvdata/sjis.c : Likewise.
2062         * iconvdata/t.61.c : Likewise.
2063         * iconvdata/tcvn5712-1.c : Likewise.
2064         * iconvdata/tscii.c: Likewise.
2065         * iconvdata/uhc.c : Likewise.
2066         * iconvdata/unicode.c (gconv_end): Likewise.
2067         * iconvdata/utf-16.c (gconv_end): Likewise.
2068         * iconvdata/utf-32.c (gconv_end): Likewise.
2069         * iconvdata/utf-7.c (base64): Likewise.
2070         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2071         * iconv/gconv_close.c (__gconv_close): Likewise.
2072         * iconv/gconv_open.c (__gconv_open): Likewise.
2073         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2074         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2075         internal_ucs4le_loop_single, ucs4le_internal_loop,
2076         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2077         * iconv/iconv.c (iconv): Likewise.
2078         * iconv/iconv_close.c: Likewise.
2079         * iconv/loop.c (SINGLE): Likewise.
2080         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2081         * include/atomic.h: Likewise.
2082         * inet/inet6_option.c (option_alloc): Likewise.
2083         * intl/bindtextdom.c (set_binding_values): Likewise.
2084         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2085         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2086         * intl/localealias.c (read_alias_file): Likewise.
2087         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2088         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2089         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2090         * libio/fmemopen.c (fmemopen): Likewise.
2091         * libio/iofgets.c (_IO_fgets): Likewise.
2092         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2093         * libio/iofgetws.c (fgetws): Likewise.
2094         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2095         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2096         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2097         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2098         * locale/findlocale.c (_nl_find_locale): Likewise.
2099         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2100         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2101         Likewise.
2102         * locale/setlocale.c (setlocale): Likewise.
2103         * login/programs/pt_chown.c (main): Likewise.
2104         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2105         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2106         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2107         mmap, mmap64, mremap, munmap): Likewise.
2108         * math/e_exp2l.c: Likewise.
2109         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2110         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2111         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2112         * math/s_catan.c (__catan): Likewise.
2113         * math/s_catanf.c (__catanf): Likewise.
2114         * math/s_catanh.c (__catanh): Likewise.
2115         * math/s_catanhf.c (__catanhf): Likewise.
2116         * math/s_catanhl.c (__catanhl): Likewise.
2117         * math/s_catanl.c (__catanl): Likewise.
2118         * math/s_ccosh.c (__ccosh): Likewise.
2119         * math/s_ccoshf.c (__ccoshf): Likewise.
2120         * math/s_ccoshl.c (__ccoshl): Likewise.
2121         * math/s_cexp.c (__cexp): Likewise.
2122         * math/s_cexpf.c (__cexpf): Likewise.
2123         * math/s_cexpl.c (__cexpl): Likewise.
2124         * math/s_clog10.c (__clog10): Likewise.
2125         * math/s_clog10f.c (__clog10f): Likewise.
2126         * math/s_clog10l.c (__clog10l): Likewise.
2127         * math/s_clog.c (__clog): Likewise.
2128         * math/s_clogf.c (__clogf): Likewise.
2129         * math/s_clogl.c (__clogl): Likewise.
2130         * math/s_csin.c (__csin): Likewise.
2131         * math/s_csinf.c (__csinf): Likewise.
2132         * math/s_csinh.c (__csinh): Likewise.
2133         * math/s_csinhf.c (__csinhf): Likewise.
2134         * math/s_csinhl.c (__csinhl): Likewise.
2135         * math/s_csinl.c (__csinl): Likewise.
2136         * math/s_csqrt.c (__csqrt): Likewise.
2137         * math/s_csqrtf.c (__csqrtf): Likewise.
2138         * math/s_csqrtl.c (__csqrtl): Likewise.
2139         * math/s_ctan.c (__ctan): Likewise.
2140         * math/s_ctanf.c (__ctanf): Likewise.
2141         * math/s_ctanh.c (__ctanh): Likewise.
2142         * math/s_ctanhf.c (__ctanhf): Likewise.
2143         * math/s_ctanhl.c (__ctanhl): Likewise.
2144         * math/s_ctanl.c (__ctanl): Likewise.
2145         * math/w_pow.c: Likewise.
2146         * math/w_powf.c: Likewise.
2147         * math/w_powl.c: Likewise.
2148         * math/w_scalb.c (sysv_scalb): Likewise.
2149         * math/w_scalbf.c (sysv_scalbf): Likewise.
2150         * math/w_scalbl.c (sysv_scalbl): Likewise.
2151         * misc/error.c (error_tail): Likewise.
2152         * misc/pselect.c (__pselect): Likewise.
2153         * nis/nis_callback.c (__nis_create_callback): Likewise.
2154         * nis/nis_call.c (__nisfind_server): Likewise.
2155         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2156         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2157         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2158         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2159         * nis/nis_lookup.c (nis_lookup): Likewise.
2160         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2161         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2162         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2163         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2164         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2165         internal_getgrgid_r): Likewise.
2166         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2167         Likewise.
2168         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2169         internal_getpwuid_r): Likewise.
2170         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2171         internal_getspnam_r): Likewise.
2172         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2173         _nss_nis_getaliasbyname_r): Likewise.
2174         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2175         _nss_nis_getntohost_r): Likewise.
2176         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2177         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2178         Likewise.
2179         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2180         internal_nis_gethostent_r, internal_gethostbyname2_r,
2181         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2182         _nss_nis_gethostbyname4_r): Likewise.
2183         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2184         initgroups_netid): Likewise.
2185         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2186         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2187         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2188         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2189         _nss_nis_getprotobynumber_r): Likewise.
2190         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2191         _nss_nis_getsecretkey): Likewise.
2192         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2193         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2194         Likewise.
2195         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2196         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2197         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2198         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2199         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2200         _nss_nis_getspnam_r): Likewise.
2201         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2202         Likewise.
2203         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2204         _nss_nisplus_getntohost_r): Likewise.
2205         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2206         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2207         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2208         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2209         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2210         Likewise.
2211         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2212         _nss_nisplus_getnetbyaddr_r): Likewise.
2213         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2214         _nss_nisplus_getprotobynumber_r): Likewise.
2215         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2216         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2217         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2218         Likewise.
2219         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2220         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2221         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2222         _nss_nisplus_getspnam_r): Likewise.
2223         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2224         * nscd/aicache.c (addhstaiX): Likewise.
2225         * nscd/cache.c (cache_search, prune_cache): Likewise.
2226         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2227         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2228         * nscd/grpcache.c (addgrbyX): Likewise.
2229         * nscd/hstcache.c (addhstbyX): Likewise.
2230         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2231         * nscd/mem.c (gc, mempool_alloc): Likewise.
2232         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2233         Likewise.
2234         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2235         Likewise.
2236         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2237         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2238         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2239         Likewise.
2240         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2241         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2242         * nscd/nscd_helper.c (__readvall, open_socket,
2243         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2244         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2245         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2246         * nscd/pwdcache.c (addpwbyX): Likewise.
2247         * nscd/selinux.c (preserve_capabilities): Likewise.
2248         * nscd/servicescache.c (addservbyX): Likewise.
2249         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2250         * posix/fnmatch.c (fnmatch): Likewise.
2251         * posix/getopt.c (_getopt_internal_r): Likewise.
2252         * posix/glob.c (glob, glob_in_dir): Likewise.
2253         * posix/wordexp.c (exec_comm_child): Likewise.
2254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2255         gaih_getanswer_slice): Likewise.
2256         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2257         * resolv/res_init.c: Likewise.
2258         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2259         * resolv/res_query.c (__libc_res_nquery): Likewise.
2260         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2261         Likewise.
2262         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2263         * stdio-common/perror.c (perror): Likewise.
2264         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2265         * stdio-common/tmpnam.c (tmpnam): Likewise.
2266         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2267         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2268         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2269         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2270         * stdlib/putenv.c (putenv): Likewise.
2271         * stdlib/setenv.c (__add_to_environ): Likewise.
2272         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2273         * stdlib/strtol_l.c (INTERNAL): Likewise.
2274         * string/memmem.c (memmem): Likewise.
2275         * string/strerror.c (strerror): Likewise.
2276         * string/strnlen.c (__strnlen): Likewise.
2277         * string/test-memmem.c (simple_memmem): Likewise.
2278         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2279         * sunrpc/pm_getport.c (__get_socket): Likewise.
2280         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2281         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2282         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2283         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2284         Likewise.
2285         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2287         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2288         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2289         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2290         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2291         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2292         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2293         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2295         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2296         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2298         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2299         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2300         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2301         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2302         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2303         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2304         Likewise.
2305         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2306         Likewise.
2307         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2308         Likewise.
2309         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2310         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2311         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2312         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2313         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2314         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2315         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2318         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2319         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2321         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2322         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2324         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2325         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2326         Likewise.
2327         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2328         Likewise.
2329         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2330         Likewise.
2331         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2333         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2334         Likewise.
2335         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2336         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2337         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2338         * sysdeps/posix/sleep.c: Likewise.
2339         * sysdeps/posix/tempname.c: Likewise.
2340         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2341         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2342         Likewise.
2343         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2344         elf_machine_rela): Likewise.
2345         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2347         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2349         Likewise.
2350         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2352         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2354         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2355         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2356         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2357         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2358         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2359         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2361         elf_machine_lazy_rel): Likewise.
2362         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2364         elf_machine_lazy_rel): Likewise.
2365         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2366         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2367         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2368         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2369         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2370         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2371         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2373         Likewise.
2374         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2375         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2376         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2377         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2378         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2379         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2380         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2381         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2382         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2383         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2384         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2385         Likewise.
2386         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2387         (__posix_fallocate64_l64): Likewise.
2388         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2389         (posix_fallocate): Likewise.
2390         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2392         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2393         getifaddrs_internal): Likewise.
2394         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2395         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2396         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2397         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2398         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2399         (__posix_fallocate64_l64): Likewise.
2400         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2401         Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2404         Likewise.
2405         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2406         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2407         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2410         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2411         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2412         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2413         Likewise.
2414         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2415         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2416         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2417         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2418         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2419         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2420         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2421         Likewise.
2422         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2423         (posix_fallocate): Likewise.
2424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2425         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2426         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2427         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2428         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2429         Likewise.
2430         * time/asctime.c (asctime_internal): Likewise.
2431         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2432         * time/tzset.c (__tzset_parse_tz): Likewise.
2433         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2434         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2435         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2436         * wcsmbs/wcsmbsload.h: Likewise.
2438 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2440         [BZ #15894]
2441         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2443 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2445         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2446         arena_get2): Remove THREAD_STATS conditionals.
2447         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2448         __malloc_stats, int): Likewise.
2450 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2452         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2453         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
2455 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2457         * manual/setjmp.texi: Fix typos/grammar errors.
2459 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2461         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2462         Only return early when n is <= 0.  Delete unused return statement.
2464 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2466         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
2467         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2468         * debug/tst-longjmp_chk3.c: New file.
2470 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2472         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
2473         (test_main): Replace code with set_fortify_handler call.
2474         * debug/test-strcpy_chk.c: Likewise.
2475         * debug/tst-chk1.c: Likewise.
2476         * debug/tst-longjmp_chk.c: Likewise.
2477         * test-skeleton.c: Include fcntl.h & paths.h
2478         (set_fortify_handler): Define.
2480 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2482         * debug/tst-longjmp_chk.c: Add header comment and include
2483         ../test-skeleton.c.
2484         (do_test): Mark static.
2485         (TEST_FUNCTION): Define.
2487 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2489         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
2490         (IP_PMTUDISC_INTERFACE): Likewise.
2491         (IP_MULTICAST_IF): Likewise.
2492         (IP_MULTICAST_TTL): Likewise.
2493         (IP_MULTICAST_LOOP): Likewise.
2494         (IP_ADD_MEMBERSHIP): Likewise.
2495         (IP_DROP_MEMBERSHIP): Likewise.
2496         (IP_UNBLOCK_SOURCE): Likewise.
2497         (IP_BLOCK_SOURCE): Likewise.
2498         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
2499         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
2500         (IP_MSFILTER): Likewise.
2501         (MCAST_JOIN_GROUP): Likewise.
2502         (MCAST_BLOCK_SOURCE): Likewise.
2503         (MCAST_UNBLOCK_SOURCE): Likewise.
2504         (MCAST_LEAVE_GROUP): Likewise.
2505         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2506         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2507         (MCAST_MSFILTER): Likewise.
2508         (IP_MULTICAST_ALL): Likewise.
2509         (IP_UNICAST_IF): Likewise.
2511 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2513         * timezone/Makefile: Delete $(have-ksh) check.
2514         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
2515         * timezone/tzselect.ksh: Add +x mode bits.
2517 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2519         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
2520         (ANON_INODE_FS_MAGIC): Likewise.
2521         (BDEVFS_MAGIC): Likewise.
2522         (BINFMTFS_MAGIC): Likewise.
2523         (BTRFS_TEST_MAGIC): Likewise.
2524         (CRAMFS_MAGIC_WEND): Likewise.
2525         (DEBUGFS_MAGIC): Likewise.
2526         (ECRYPTFS_SUPER_MAGIC): Likewise.
2527         (EXT3_SUPER_MAGIC): Likewise.
2528         (EXT4_SUPER_MAGIC): Likewise.
2529         (FUTEXFS_SUPER_MAGIC): Likewise.
2530         (HOSTFS_SUPER_MAGIC): Likewise.
2531         (HUGETLBFS_MAGIC): Likewise.
2532         (MINIX3_SUPER_MAGIC): Likewise.
2533         (MTD_INODE_FS_MAGIC): Likewise.
2534         (NILFS_SUPER_MAGIC): Likewise.
2535         (OPENPROM_SUPER_MAGIC): Likewise.
2536         (PIPEFS_MAGIC): Likewise.
2537         (PSTOREFS_MAGIC): Likewise.
2538         (QNX6_SUPER_MAGIC): Likewise.
2539         (RAMFS_MAGIC): Likewise.
2540         (REISERFS_SUPER_MAGIC_STRING): Likewise.
2541         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
2542         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
2543         (SECURITYFS_MAGIC): Likewise.
2544         (SELINUX_MAGIC): Likewise.
2545         (SMACK_MAGIC): Likewise.
2546         (SOCKFS_MAGIC): Likewise.
2547         (SQUASHFS_MAGIC): Likewise.
2548         (STACK_END_MAGIC): Likewise.
2549         (TMPFS_MAGIC): Likewise.
2550         (USBDEVICE_SUPER_MAGIC): Likewise.
2551         (V9FS_MAGIC): Likewise.
2552         (XENFS_SUPER_MAGIC): Likewise.
2553         (CRAMFS_MAGIC): Fix typo in comment.
2554         (EXT2_SUPER_MAGIC): Update comment.
2555         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
2557 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
2559         * sysdeps/arm: Move directory from ports/sysdeps/arm.
2560         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
2561         * sysdeps/unix/sysv/linux/arm: Move directory from
2562         ports/sysdeps/unix/sysv/linux/arm.
2563         * README: Update listing for arm-*-linux-gnueabi.
2565         * README: Remove mention of am33.
2567 2014-02-07  Roland McGrath  <roland@hack.frob.com>
2569         * bits/sigset.h (__sigemptyset): Use a statement expression rather
2570         than the comma operator, to avoid "rhs of comma has no effect"
2571         compiler warnings.
2572         (__sigfillset, __sigandset, __sigorset): Likewise.
2573         * include/signal.h (__sigemptyset): Likewise.
2574         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
2576 2014-02-07  Allan McRae  <allan@archlinux.org>
2578         * version.h (RELEASE): Set to "development".
2579         (VERSION): Set to "2.19.90"
2580         * NEWS: Add 2.20 section.
2582 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
2584         [BZ #16529]
2585         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
2587 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2589         * manual/contrib.texi: Update entry for Carlos O'Donell,
2590         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
2592 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
2594         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
2596         * sysdeps/unix/sysv/linux/kernel-features.h
2597         [__LINUX_KERNEL_VERSION >= 0x020621]
2598         (__ASSUME_PROC_PID_TASK_COMM): Define.
2600 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2602         [BZ #16398]
2603         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
2604         conversion when destination buffer does not have enough space.
2605         * libio/tst-ftell-partial-wide.c: New test case.
2606         * libio/Makefile (tests): Add tst-ftell-partial-wide.
2608         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
2609         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
2610         Leonard and Allan McRae.
2612 2014-02-04  David S. Miller  <davem@davemloft.net>
2614         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
2615         32-bit.
2617 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
2620         file
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2622         New file
2623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
2624         file.
2625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
2626         file.
2627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2628         New file.
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
2630         file.
2631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
2632         file.
2633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2634         New file.
2635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2636         New file.
2637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2638         New file.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2640         New file.
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2642         New file.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2644         New file.
2646 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2648         * nptl/shlib-versions: Change powerpc*le start to 2.17.
2649         * shlib-versions: Likewise.
2651 2014-02-04  Roland McGrath  <roland@hack.frob.com>
2652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2654         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
2655         (abilist-pattern): New variable, set to %-le.abilist.
2657         * Makerules (abilist-pattern): New variable.
2658         (vpath): Use $(abilist-pattern) in place of %.abilist.
2659         (check-abi-% pattern rule): Likewise.
2660         (check-abi, update-abi): Likewise.
2662 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2666 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2670 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
2672         * manual/startup.texi: Add next, previous, and top entries for
2673         the `Program Arguments' and `Environment Variables' nodes.
2675 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
2677         * manual/macros.texi: Add comments before MTASC-safety macros.
2679         * manual/users.texi: Document MTASC-safety properties.
2681         * manual/threads.texi (pthread_key_create, pthread_key_delete,
2682         pthread_getspecific, pthread_setspecific): Format with
2683         @deftypefun, and add @safety note.
2684         * manual/signal.texi: Move comments that analyze the above
2685         functions to their home place.
2687 2014-02-03  Allan McRae  <allan@archlinux.org>
2689         * po/sl.po: Update Slovenian translation from translation project.
2691 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
2693         * manual/time.texi (timegm): Add missing blank after @c.
2694         Reported by Joseph Myers <joseph@codesourcery.com>.
2696 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
2698         * manual/check-safety.sh: New.
2699         * manual/Makefile ($(objpfx)stamp-summary): Run it.
2701         * manual/terminal.texi: Document MTASC-safety properties.
2703         * manual/filesys.texi: Document MTASC-safety properties.
2705         * manual/errno.texi: Document MTASC-safety properties.
2707         * manual/intro.texi: Document safety identifiers and
2708         conditionals.
2710         * manual/string.texi (wcstok): Fix prototype.
2711         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2713         * manual/time.texi: Document MTASC-safety properties.
2715         * manual/string.texi: Document MTASC-safety properties.
2717         * manual/threads.texi: Document MTASC-safety properties.
2719         * manual/stdio.texi: Document MTASC-safety properties.
2721         * manual/syslog.texi: Document MTASC-safety properties.
2723         * manual/sysinfo.texi: Document MTASC-safety properties.
2725         * manual/startup.texi: Document MTASC-safety properties.
2727         * manual/socket.texi: Document MTASC-safety properties.
2729         * manual/signal.texi: Document MTASC-safety properties.
2731 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
2733         * manual/setjmp.texi: Document MTASC-safety properties.
2735         * manual/search.texi: Document MTASC-safety properties.
2737         * manual/resource.texi: Document MTASC-safety properties.
2739         * manual/process.texi: Document MTASC-safety properties.
2741         * manual/platform.texi: Document MTASC-safety properties.
2743         * manual/pipe.texi: Document MTASC-safety properties.
2745         * manual/pattern.texi: Document MTASC-safety properties.
2747         * manual/message.texi: Document MTASC-safety properties.
2749         [BZ #12751]
2750         * manual/memory.texi: Document MTASC-safety properties.
2752         * manual/math.texi: Document MTASC-safety properties.
2754         * manual/locale.texi: Document MTASC-safety properties.
2756         * manual/llio.texi: Document MTASC-safety properties.
2758         * manual/libdl.texi: New.
2760         * manual/lang.texi: Document MTASC-safety properties.
2762         * manual/job.texi: Document MTASC-safety properties.
2764         * manual/getopt.texi: Document MTASC-safety properties.
2766         * manual/ctype.texi: Document MTASC-safety properties.
2768 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
2770         [BZ #16046]
2771         * csu/libc-tls.c (static_map): Remove variable.
2772         (__libc_setup_tls): Use main executable's link map for TLS data.
2773         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2774         casing for LM_ID_BASE and GL(dl_nns).
2775         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2776         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
2777         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2778         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2779         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2780         member.
2781         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2782         l_phnum members.
2784 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
2786         * manual/debug.texi: Document MTASC-safety properties.
2788 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2790         [BZ #16510]
2791         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2792         of __x86_64__ when disabling x87 inline functions.
2794 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
2796         * manual/charset.texi: Document MTASC-safety properties.
2798         * manual/crypt.texi: Document MTASC-safety properties.
2800         * manual/conf.texi: Document MTASC-safety properties.
2802         * manual/arith.texi: Document MTASC-safety properties.
2804         * manual/argp.texi: Document MTASC-safety properties.
2806         * manual/macros.texi: Introduce macros to document multi
2807         thread, asynchronous signal and asynchronous cancellation
2808         safety properties.
2809         * manual/intro.texi: Introduce the properties themselves.
2811 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2813         * sysdeps/sh/sh4/Makefile: New file.
2815 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
2817         * math/gen-libm-test.pl ($srcdir): New variable.
2818         ($auto_input): Use it.
2820 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2822         [BZ #16506]
2823         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2824         access beyond array bounds when parsing netgroups file.
2826         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2827         the old buffer before realloc.
2829 2014-01-27  Allan McRae  <allan@archlinux.org>
2831         * po/fr.po: Update French translation from translation project.
2833 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2835         * sysdeps/sh/libm-test-ulps: Regenerate.
2837 2014-01-24  David S. Miller  <davem@davemloft.net>
2839         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2841 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2843         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2844         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2846 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2848         [BZ #16474]
2849         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2850         string pointers after reallocation.
2852 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2854         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2855         __SH4A__ instead of __SH_FPU_ANY__.
2857 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2859         * sysdeps/sh/fpu_control.h: New file.
2860         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2861         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2862         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2863         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2864         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2865         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2866         * sysdeps/sh/sys/ucontext.h: Remove.
2867         * sysdeps/sh/sys: Remove directory.
2869 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2871         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2872         s390/sys/ucontext.h.
2873         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2874         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2876 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
2878         [BZ #15605]
2879         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2881 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2883         [BZ#16431]
2884         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2885         Adjust the vDSO correctly for internal calls.
2886         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2888 2014-01-20  Allan McRae  <allan@archlinux.org>
2890         * po/ca.po: Update Catalan translation from translation project.
2892 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
2894         * sysdeps/s390/sotruss-lib.c: New file.
2896 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         [BZ#16430]
2899         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2900         (__GI___gettimeofday): Alias for a different internal symbol to avoid
2901         local calls issues by not having a PLT stub required for IFUNC calls.
2902         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2904 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
2906         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2907         * math/test-fpucw-static.c: Likewise.
2909 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2911         [BZ #16453]
2912         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2914 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2917         implementation for powerpc.
2919 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
2921         [BZ #14782]
2922         * sysdeps/posix/system.c (__libc_system): Do not enable
2923         asynchronous cancellation.
2925 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2927         [BZ #16427]
2928         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2929         handling only for numbers special also in the IEEE case.
2931 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2933         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2935 2014-01-11  Allan McRae  <allan@archlinux.org>
2937         * po/bg.po: Update Bulgarian translation from translation project.
2939         * po/de.po: Update German translation from translation project.
2941 2014-01-10  Roland McGrath  <roland@hack.frob.com>
2943         * sysdeps/generic/gcc-compat.h: New file.
2945 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2947         * benchtests/asin-inputs: Correct slow inputs.
2948         * benchtests/acos-inputs: Likewise.
2950 2014-01-10  Allan McRae  <allan@archlinux.org>
2952         * po:sv.po: Update Swedish translation from translation project.
2954         * po/vi.po: Update Vietnamese translation from translation project.
2956         * po/eo.po: Update Esperanto translation from translation project.
2958         * po/cs.po: Update Czech translation from translation project.
2960         * po/nl.po: Update Dutch translation from translation project.
2962         * po/pl.po: Update Polish translation from translation project.
2964         * po/ru.po: Update Russian translation from translation project.
2966         * po/uk.po: Update Ukrainian translation from translation project.
2968 2014-01-08  Brooks Moses  <bmoses@google.com>
2970         * elf/dl-load.c: Fix comment typo.
2972 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
2974         * po/header.pot: Rename to...
2975         * po/pot.header: ... this.
2976         * po/Makefile: Use pot.header.
2978 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
2979             Maxim Kuvyrkov  <maxim@kugelworks.com>
2981         [BZ #16394]
2982         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2983         SRC and DEST against LEN.
2985 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2987         [BZ #16414]
2988         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2989         implementation.
2990         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2992 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2996 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
2998         [BZ #16408]
2999         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3000         for large positive arguments.
3002 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3004         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3006         * math/auto-libm-test-in: Mark various tests with
3007         xfail-rounding:ldbl-128ibm.
3008         * math/auto-libm-test-out: Regenerated.
3010         [BZ #16407]
3011         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3012         Increase overflow threshold.
3014 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3016         [BZ #14286]
3017         * stdio-common/vfprintf.c: Check for integer overflow.
3019 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3021         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3022         the first argument and return value of __tls_get_addr_internal.
3024 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3026         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3027         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3029 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3031         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3032         * sysdeps/s390/rtld-global-offsets.sym: New file.
3033         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3034         GLIBC_2.19 symbol.
3035         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3037         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3038         ... this.
3039         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3040         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3041         ... this.
3042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3043         Regenerate.
3044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3045         Regenerate.
3046         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3047         halfs of GPRs for high_gprs contexts.
3048         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3049         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3050         field.
3051         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3052         uc_flags field.
3053         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3054         64 bit versions:
3055         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3056         for high GPRs (uc_high_gprs) and for future extensions
3057         (__reserved).
3058         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3059         for future extensions (__reserved).
3060         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3061         64 bit versions:
3062         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3063         SC_HIGHGPRS offset definition.
3064         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3065         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3067 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3069         * Versions.def: Add GLIBC_2.19 for libpthread.
3070         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3071         siglongjmp for libpthread with GLIBC_2.19 symver.
3072         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3073         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3074         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3075         * sysdeps/s390/__longjmp.c: New file.
3076         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3077         * sysdeps/s390/longjmp.c: New file.
3078         * sysdeps/s390/setjmp.S: New file.
3079         * sysdeps/s390/sigjmp.S: New file.
3080         * sysdeps/s390/v1-longjmp.c: New file.
3081         * sysdeps/s390/v1-setjmp.h: New file.
3082         * sysdeps/s390/v1-sigjmp.c: New file.
3083         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3084         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3085         GLIBC_2.19 version.
3086         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3087         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3088         versioned symbols for ____longjmp_chk.
3089         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3092         Regenerate.
3093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3094         Regenerate.
3095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3096         Regenerate.
3097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3098         Regenerate.
3099         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3100         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3101         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3102         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3103         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3104         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3105         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3106         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3107         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3108         * sysdeps/s390/rtld-__longjmp.c: New file.
3109         * sysdeps/s390/rtld-setjmp.S: New file.
3111 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #16400]
3114         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3115         Return -__logl (x) for small positive arguments without evaluating
3116         a polynomial.
3118 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3120         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3121         Rename to ...
3122         (__ptrace_peeksiginfo_args): ... this.
3123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3125         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3127 2014-01-06  Allan McRae  <allan@archlinux.org>
3129         * inet/netinet/in.h: Fix typo in comment.
3131 2014-01-05  Andreas Jaeger  <aj@suse.de>
3133         * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 2014-01-05  Allan McRae  <allan@archlinux.org>
3137         * po/libc.pot: Regenerated.
3139         * malloc/memusagestat.c: Fix gettext call formatting.
3141 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3143         * nscd/nscd.c: Improve usage() output.
3145 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3147         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3148         * sysdeps/unix/sysv/linux/configure: Regenerated.
3149         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3150         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3152 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3154         [BZ #16390]
3155         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3156         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3158 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3161         extra tokens at end of #undef directive.
3162         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3163         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3166 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3168         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3170         * math/auto-libm-test-in: Mark various tests with
3171         xfail-rounding:ldbl-128ibm.
3172         * math/auto-libm-test-out: Regenerated.
3174 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3176         [BZ #16386]
3177         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3178         numbers with subnormal high part when calculating exponent.
3180         [BZ #16385]
3181         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3182         fabs.
3184         [BZ #16384]
3185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3186         M_LN2l.
3187         (__ieee754_acoshl): Use __log1pl not __log1p.
3189 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3191         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3192         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3193         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3194         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3195         Convert to GNU style.
3196         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3197         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3198         memalign_check, __malloc_set_state): Likewise.
3199         * malloc/mallocbug.c (main): Likewise.
3200         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3201         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3202         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3203         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3204         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3205         * malloc/malloc.h: Likewise.
3206         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3207         memalignhook, reallochook, mabort): Likewise.
3208         * malloc/mcheck.h: Likewise.
3209         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3210         mmap64, mremap, munmap, dest): Likewise.
3211         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3212         * malloc/morecore.c (__default_morecore): Likewise.
3213         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3214         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3215         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3216         print_and_abort): Likewise.
3217         * malloc/obstack.h: Likewise.
3218         * malloc/set-freeres.c (__libc_freeres): Likewise.
3219         * malloc/tst-mallocstate.c (main): Likewise.
3220         * malloc/tst-mtrace.c (main): Likewise.
3221         * malloc/tst-realloc.c (do_test): Likewise.
3223 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3225         [BZ #16366]
3226         * nscd/netgroupcache.c (do_notfound): New function.
3227         (addgetnetgrentX): Use it.
3229         [BZ # 16365]
3230         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3231         NSS_STATUS_NOTFOUND.
3233 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3235         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3238 2014-01-01  Allan McRae  <allan@archlinux.org>
3240         * scripts/update-copyrights: Update configure input file suffix.
3242         * NEWS: Update copyright year.
3243         * catgets/gencat.c: Likewise.
3244         * csu/version.c: Likewise.
3245         * debug/catchsegv.sh: Likewise.
3246         * debug/pcprofiledump.c: Likewise.
3247         * debug/xtrace.sh: Likewise.
3248         * elf/ldconfig.c: Likewise.
3249         * elf/ldd.bash.in: Likewise.
3250         * elf/pldd.c: Likewise.
3251         * elf/sotruss.ksh: Likewise.
3252         * elf/sprof.c: Likewise.
3253         * iconv/iconv_prog.c: Likewise.
3254         * iconv/iconvconfig.c: Likewise.
3255         * locale/programs/locale.c: Likewise.
3256         * locale/programs/localedef.c: Likewise.
3257         * login/programs/pt_chown.c: Likewise.
3258         * malloc/memusage.sh: Likewise.
3259         * malloc/memusagestat.c: Likewise.
3260         * malloc/mtrace.pl: Likewise.
3261         * manual/libc.texinfo: Likewise.
3262         * nscd/nscd.c: Likewise.
3263         * nss/getent.c: Likewise.
3264         * nss/makedb.c: Likewise.
3265         * posix/getconf.c: Likewise.
3266         * scripts/test-installation.pl: Likewise.
3268         * All files with FSF copyright notices: Update copyright dates
3269         using scripts/update-copyrights.
3270         * intl/plural.c: Regenerated.
3271         * locale/programs/charmap-kw.h: Likewise.
3272         * locale/programs/locfile-kw.h: Likewise.
3274 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3276         * sysdeps/unix/sysv/linux/configure: Regenerated.
3277         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3278         the linux/fanotify.h header.
3279         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3280         HAVE_LINUX_FANOTIFY_H is defined.
3282 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3284         * benchtests/cos-inputs: New inputs.
3285         * benchtests/sin-inputs: Likewise.
3287         * benchtests/atan-inputs: New inputs. Fix name of multiple
3288         precision fallback inputs.
3290         * benchtests/atanh-inputs: New inputs.
3291         * benchtests/tanh-inputs: Likewise.
3293         * benchtests/acosh-inputs: New inputs.
3294         * benchtests/asinh-inputs: Likewise.
3296         * benchtests/cosh-inputs: New inputs.
3297         * benchtests/sinh-inputs: Likewise.
3299         * benchtests/acos-inputs: Add more inputs.
3300         * benchtests/asin-inputs: Likewise.
3302 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3304         [BZ #16375]
3305         * manual/arith.texi: Fix spelling.
3306         * manual/charset.texi: Likewise.
3307         * manual/errno.texi: Likewise.
3308         * manual/filesys.texi: Likewise.
3309         * manual/lang.texi: Likewise.
3310         * manual/llio.texi: Likewise.
3311         * manual/locale.texi: Likewise.
3312         * manual/message.texi: Likewise.
3313         * manual/resource.texi: Likewise.
3314         * manual/search.texi: Likewise.
3315         * manual/setjmp.texi: Likewise.
3316         * manual/stdio.texi: Likewise.
3317         * manual/string.texi: Likewise.
3318         * manual/sysinfo.texi: Likewise.
3319         * manual/time.texi: Likewise.
3321 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3323         * po/sl.po: New file.
3325 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3327         * .gitignore: Add core/.gdbinit/.gdb_history.
3329 2013-12-27  Allan McRae  <allan@archlinux.org>
3331         [BZ #16369]
3332         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3333         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3335 2013-12-24  Brooks Moses  <bmoses@google.com>
3337         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3338         all compilers that claim C++98 compliance, not just GCC.
3339         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3340         Likewise.
3342 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3344         * NEWS: Restore accidentally deleted bug-fix entries.
3346 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3347             Ondřej Bílka  <neleai@seznam.cz>
3349         [BZ #15073]
3350         * malloc/malloc.c (_int_free): Perform sanity check only if we
3351         have_lock.
3353 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3355         [BZ #12986]
3356         * manual/stdio.texi (String Input Conversions): Clarify that character
3357         classes are not supported.
3359 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3363 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3365         [BZ #16337]
3366         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3367         Calculate results for small negative arguments directly rather
3368         than using reflection formula with special underflow handling.
3370         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3371         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3372         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3373         (fchflags): Likewise.
3374         (revoke): Likewise.
3375         (setlogin): Likewise.
3376         (sigaltstack): Likewise.
3377         (wait4): Likewise.
3378         (sigblock): Remove.
3379         (sigsetmask): Likewise.
3380         (wait3): Likewise.
3381         (waitpid): Likewise.
3382         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3383         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3384         file.
3385         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3386         * sysdeps/unix/bsd/Makefile: ... here.
3387         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3388         * sysdeps/unix/bsd/Versions: ... here.
3389         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3390         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3391         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3392         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3393         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3394         * sysdeps/unix/bsd/sigblock.c: ... here.
3395         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3396         * sysdeps/unix/bsd/sigsetmask.c: ... here.
3397         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3398         * sysdeps/unix/bsd/sigvec.c: ... here.
3399         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3400         * sysdeps/unix/bsd/tcdrain.c: ... here.
3401         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3402         * sysdeps/unix/bsd/tcgetattr.c: ... here.
3403         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3404         * sysdeps/unix/bsd/tcsetattr.c: ... here.
3405         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3406         * sysdeps/unix/bsd/wait.c: ... here.
3407         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3408         * sysdeps/unix/bsd/wait3.c: ... here.
3409         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3410         * sysdeps/unix/bsd/waitpid.c: ... here.
3412 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
3414         [BZ #16356]
3415         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3416         round-to-nearest for [!USE_AS_EXPM1L].
3417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3418         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
3419         more tests of exp and exp10.  Expect some exp10 tests to miss
3420         exceptions or fail in directed rounding modes.
3421         * math/auto-libm-test-out: Regenerated.
3422         * math/libm-test.inc (exp10_tonearest_test_data): New array.
3423         (exp10_test_tonearest): New function.
3424         (exp10_towardzero_test_data): New array.
3425         (exp10_test_towardzero): New function.
3426         (exp10_downward_test_data): New array.
3427         (exp10_test_downward): New function.
3428         (exp10_upward_test_data): New array.
3429         (exp10_test_upward): New function.
3430         (main): Call the new functions.
3431         * sysdeps/i386/fpu/libm-test-ulps: Update.
3432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
3436         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3437         asinh, atan, atan2, atanh, cbrt, cos and cosh.
3438         * math/auto-libm-test-out: Regenerated.
3439         * math/libm-test.inc (acosh_test_data): Add more tests.
3440         (atanh_test_data): Likewise.
3441         (ceil_test_data): Likewise.
3442         (copysign_test_data): Likewise.
3443         * sysdeps/i386/fpu/libm-test-ulps: Update.
3444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3446         * timezone/checktab.awk: Update from tzcode 2013i.
3447         * timezone/private.h: Likewise.
3448         * timezone/scheck.c: Likewise.
3449         * timezone/tzfile.h: Likewise.
3450         * timezone/tzselect.ksh: Likewise.
3451         * timezone/zdump.c: Likewise.
3452         * timezone/zic.c: Likewise.
3454         * math/auto-libm-test-in: Add tests of cpow.
3455         * math/auto-libm-test-out: Regenerated.
3456         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3457         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3458         mpc_cc_c.
3459         (func_calc_desc): Add mpc_cc_c union field.
3460         (test_functions): Add cpow.
3461         (special_fill_2pi): New function.
3462         (special_real_inputs): Add 2pi.
3463         (calc_generic_results): Handle mpc_cc_c.
3464         * sysdeps/i386/fpu/libm-test-ulps: Update.
3465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3467         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
3468         csqrt, ctan and ctanh.
3469         * math/auto-libm-test-out: Regenerated.
3470         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3471         (TEST_COND_x86): Likewise.
3472         (ccos_test_data): Use AUTO_TESTS_c_c.
3473         (ccosh_test_data): Likewise.
3474         (cexp_test_data): Likewise.
3475         (clog_test_data): Likewise.
3476         (csqrt_test_data): Likewise.
3477         (ctan_test_data): Likewise.
3478         (ctan_tonearest_test_data): Likewise.
3479         (ctan_towardzero_test_data): Likewise.
3480         (ctan_downward_test_data): Likewise.
3481         (ctan_upward_test_data): Likewise.
3482         (ctanh_test_data): Likewise.
3483         (ctanh_tonearest_test_data): Likewise.
3484         (ctanh_towardzero_test_data): Likewise.
3485         (ctanh_downward_test_data): Likewise.
3486         (ctanh_upward_test_data): Likewise.
3487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3488         mpc_c_c.
3489         (func_calc_desc): Add mpc_c_c union field.
3490         (FUNC_mpc_c_c): New macro.
3491         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
3492         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
3493         ctanh.
3494         (special_fill_min_subnorm_p120): New function.
3495         (special_real_inputs): Add min_subnorm_p120.
3496         (calc_generic_results): Handle mpc_c_c.
3497         * sysdeps/i386/fpu/libm-test-ulps: Update.
3498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3500 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3502         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
3503         do_sin_slow): New functions.
3504         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
3505         cslow2, csloww1, csloww2): Use the new functions.
3507         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
3508         Use M to change sign of result instead of X.  Assume X is
3509         positive.
3510         (csloww1): Likewise.
3511         (__sin): Adjust.
3512         (__cos): Adjust.
3514         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
3515         arguments A and DA.
3516         (__sin): Adjust.
3517         (__cos): Likewise.
3519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
3520         (__cos): Likewise.
3521         (sloww1): Don't adjust sign of DX.
3522         (csloww1): Likewise.
3523         (sloww2): Use X directly and don't adjust sign of DX.
3524         (csloww2): Likewise.
3526 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3528         * math/auto-libm-test-in: Add tests of cabs and carg.
3529         * math/auto-libm-test-out: Regenerated.
3530         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
3531         (carg_test_data): Likewise.
3532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3533         mpc_c_f.
3534         (func_calc_desc): Add mpc_c_f union field.
3535         (test_functions): Add cabs and carg.
3536         (calc_generic_results): Handle mpc_c_f.
3538         * sysdeps/powerpc/powerpc32/libgcc-compat.S
3539         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
3540         as a macro and a compat symbol.
3541         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3542         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3543         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3544         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3545         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
3546         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
3547         not use .hidden.
3548         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
3549         Likewise.
3550         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
3551         Likewise.
3552         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
3553         Likewise.
3554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
3555         Likewise.
3556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
3557         Likewise.
3558         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
3559         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
3560         from GLIBC_2.3.2.
3562 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3566 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3568         * manual/texinfo.tex: Update to version 2013-11-26.10 with
3569         trailing whitespace removed.
3570         * scripts/config.guess: Update to version 2013-11-29.
3571         * scripts/config.sub: Update to version 2013-10-01.
3573         * math/auto-libm-test-in: Add tests of sincos.
3574         * math/auto-libm-test-out: Regenerated.
3575         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
3576         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3577         mpfr_f_11.
3578         (func_calc_desc): Add mpfr_f_11 union field.
3579         (test_functions): Add sincos.
3580         (calc_generic_results): Handle mpfr_f_11.
3581         * sysdeps/i386/fpu/libm-test-ulps: Update.
3582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3584 2013-12-19  Andreas Schwab  <schwab@suse.de>
3586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
3587         CALL_MCOUNT.
3588         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3589         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
3590         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
3592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3594         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
3595         * sysdeps/i386/fpu/libm-test-ulps: Update.
3596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3598         [BZ #16293]
3599         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
3600         round-to-nearest mode when using frndint.
3601         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
3602         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3603         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3604         Likewise.
3605         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
3606         sinh test to fail.
3607         * math/auto-libm-test-out: Regenerated.
3608         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
3609         (TEST_COND_x86): Likewise.
3610         (expm1_tonearest_test_data): New array.
3611         (expm1_test_tonearest): New function.
3612         (expm1_towardzero_test_data): New array.
3613         (expm1_test_towardzero): New function.
3614         (expm1_downward_test_data): New array.
3615         (expm1_test_downward): New function.
3616         (expm1_upward_test_data): New array.
3617         (expm1_test_upward): New function.
3618         (main): Run the new test functions.
3619         * sysdeps/i386/fpu/libm-test-ulps: Update.
3620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3622         * include/features.h: Update comment documenting feature test
3623         macros.  Mention _DEFAULT_SOURCE in comment.
3624         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
3625         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
3626         _BSD_SOURCE and _SVID_SOURCE.
3627         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
3628         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
3629         !_SVID_SOURCE]: Likewise.
3630         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3631         (__USE_POSIX_IMPLICITLY): Define.
3632         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3633         (_POSIX_SOURCE): Undefine and redefine.
3634         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3635         (_POSIX_C_SOURCE): Likewise.
3636         * manual/creature.texi (_DEFAULT_SOURCE): Document.
3637         (Feature Test Macros): Update documentation of default features.
3639 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3641         * benchtests/Makefile: Add bench-strtok.
3642         * benchtests/bench-strtok.c: New file: strtok benchtest.
3644 2013-12-19  Allan McRae  <allan@archlinux.org>
3646         * manual/install.texi: Suppress menu for plain text output.
3647         * INSTALL: Regenerated.
3649 2013-12-18  Brooks Moses  <bmoses@google.com>
3651         [BZ #15846]
3652         * misc/getauxval.c: Include errno.h.
3653         (__getauxval): Set errno to ENOENT if the requested type is not
3654         found.
3655         * misc/sys/auxv.h (getauxval): Document that it may set errno;
3656         don't declare with __attribute_const__.
3657         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
3658         * manual/startup.texi: Document that getauxval sets errno.
3660 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3662         * math/auto-libm-test-in: Add tests of jn and yn.
3663         * math/auto-libm-test-out: Regenerated.
3664         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
3665         (yn_test_data): Likewise.
3666         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3667         mpfr_if_f.
3668         (func_calc_desc): Add mpfr_if_f union field.
3669         (FUNC_mpfr_if_f): New macro.
3670         (test_functions): Add jn and yn.
3671         (calc_generic_results): Assert type of second input for
3672         mpfr_ff_f.  Handle mpfr_if_f.
3673         (output_for_one_input_case): Disable all checking for arguments
3674         fitting floating-point types in case of an integer argument.
3675         * sysdeps/i386/fpu/libm-test-ulps: Update.
3676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3679         Don't expect fegetround reference in libm.so.
3681 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3683         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
3684         $(config-cflags-nofma).
3686 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3688         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
3689         * math/auto-libm-test-out: Regenerated.
3691         [BZ #16338]
3692         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
3693         to determine exponent and adjust argument to have exponent of -1.
3694         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3695         log2.
3696         * math/auto-libm-test-out: Regenerated.
3697         * sysdeps/i386/fpu/libm-test-ulps: Update.
3698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3700 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
3702         * manual/probes.texi: Remove cases when per-thread arenas are
3703         disabled.
3705 2013-12-18  Andreas Schwab  <schwab@suse.de>
3707         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3708         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3709         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3710         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3711         * sysdeps/i386/i686/multiarch/Makefile: Update.
3712         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3714 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3716         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3717         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3719 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3721         [BZ #15968]
3722         Support TZ transition times < 00:00:00.
3723         This is needed for version-3 tz-format files; it supports time
3724         stamps past 2037 for America/Godthab (the only entry in the tz
3725         database for which this change is relevant).
3726         * manual/time.texi (TZ Variable): Document transition times
3727         from -167:59:59 through -00:00:01.
3728         * time/tzset.c (tz_rule): Time of day is now signed.
3729         (__tzset_parse_tz): Parse negative time of day.
3731         Document TZ transition times >= 25:00:00.
3732         * manual/time.texi (TZ Variable): Document transition times from
3733         25:00:00 through 167:59:59.  These are already supported, and this
3734         support will help with version-3 tz-format files.
3736         * manual/time.texi (TZ Variable): Modernize North America example
3737         to reflect current (i.e., 2007-and-later) daylight saving rules.
3739         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3741 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3743         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3744         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3747         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3748         * sysdeps/unix/bsd/bsdstat.h: Likewise.
3749         * sysdeps/unix/bsd/clock.c: Likewise.
3750         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3751         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3752         * sysdeps/unix/bsd/init-posix.c: Likewise.
3753         * sysdeps/unix/bsd/poll.c: Likewise.
3754         * sysdeps/unix/bsd/ptsname.c: Likewise.
3755         * sysdeps/unix/bsd/seekdir.c: Likewise.
3756         * sysdeps/unix/bsd/setegid.c: Likewise.
3757         * sysdeps/unix/bsd/seteuid.c: Likewise.
3758         * sysdeps/unix/bsd/setgid.c: Likewise.
3759         * sysdeps/unix/bsd/setrgid.c: Likewise.
3760         * sysdeps/unix/bsd/setruid.c: Likewise.
3761         * sysdeps/unix/bsd/setsid.c: Likewise.
3762         * sysdeps/unix/bsd/setuid.c: Likewise.
3763         * sysdeps/unix/bsd/sigaction.c: Likewise.
3764         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3765         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3766         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3767         * sysdeps/unix/bsd/telldir.c: Likewise.
3768         * sysdeps/unix/bsd/times.c: Likewise.
3769         * sysdeps/unix/bsd/usleep.c: Likewise.
3771         * misc/Makefile (install-lib): Remove libbsd-compat.a.
3772         ($(objpfx)libbsd-compat.a): Remove rule.
3774         * include/features.h (__FAVOR_BSD): Do not define.
3775         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3776         features conflicting with POSIX.
3777         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3778         (_BSD_SOURCE): Remove description of not being a subset of other
3779         feature test macros.
3780         * manual/job.texi (getpgrp): Do not document BSD version.
3781         (getpgid): Do not document by reference to BSD getpgrp.
3782         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3783         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3784         * signal/signal.h [__FAVOR_BSD]: Likewise.
3785         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3786         instead of making contents conditional on [__FAVOR_BSD].
3787         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3789 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3793 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3795         [BZ #16314]
3796         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3797         values below 2**-450, not 2**-500.
3798         * math/auto-libm-test-in: Don't allow spurious underflow from
3799         hypot.
3800         * math/auto-libm-test-out: Regenerated.
3802         [BZ #16316]
3803         [BZ #16330]
3804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3805         values of ha and hb and sort them after adjusting subnormal
3806         arguments.
3807         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3808         Likewise.
3809         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3810         values of ea and eb and sort them after adjusting subnormal
3811         arguments.
3812         * math/auto-libm-test-in: Do not expect some hypot tests of
3813         subnormals to fail.  Add more hypot tests.
3814         * math/auto-libm-test-out: Regenerated.
3816 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3818         [BZ #13304]
3819         * sysdeps/sh/s_fma.c: New file.
3820         * sysdeps/sh/s_fmaf.c: New file.
3821         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
3822         version.
3823         * sysdeps/sh/Implies: Add sh/soft-fp.
3825 2013-12-16  Roland McGrath  <roland@hack.frob.com>
3827         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
3828         level of indirection to members `objname', `errstring', `malloced'.
3829         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3830         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
3831         it as the __longjmp argument (just pass 1 instead).
3832         (_dl_catch_error): Initialize C with argument pointers and address of
3833         volatile local ERRCODE rather than copying values out of C at return.
3835 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
3837         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3838         * math/auto-libm-test-out: Regenerated.
3839         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3840         (hypot_test_data): Likewise.
3841         (pow_test_data): Likewise.
3842         (pow_tonearest_test_data): Likewise.
3843         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3844         mpfr_ff_f.
3845         (func_calc_desc): Add mpfr_ff_f union field.
3846         (FUNC_mpfr_ff_f): New macro.
3847         (test_functions): Add atan2, hypot and pow.
3848         (special_fill_min): New function.
3849         (special_fill_minus_min): Likewise.
3850         (special_fill_min_subnorm): Likewise.
3851         (special_fill_minus_min_subnorm): Likewise.
3852         (special_real_inputs): Add min, -min, min_subnorm and
3853         -min_subnorm.
3854         (calc_generic_results): Handle mpfr_ff_f.
3855         * sysdeps/i386/fpu/libm-test-ulps: Update.
3856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3858 2013-12-16  Will Newton  <will.newton@linaro.org>
3860         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3861         (Aligned Memory Blocks): Add documentation for aligned_alloc
3862         and suggest it as an alternative to posix_memalign.
3863         (Hooks for Malloc): Document __memalign_hook is also called
3864         for aligned_alloc.  (Summary of Malloc): Add summary for
3865         aligned alloc.  Document __memalign_hook is also called
3866         for aligned_alloc.
3868 2013-12-16  Will Newton  <will.newton@linaro.org>
3870         * manual/memory.texi (Malloc Examples): Clarify default
3871         alignment documentation.  Suggest posix_memalign rather
3872         than memalign or valloc.
3873         (Aligned Memory Blocks): Remove suggestion to use memalign
3874         or valloc.  Remove obsolete comment about BSD.
3875         Document memalign errno values and mark the function obsolete.
3876         Document posix_memalign returned error codes.  Mark valloc
3877         as obsolete.  (Hooks for Malloc): __memalign_hook is also
3878         called for posix_memalign and valloc.
3879         (Summary of Malloc): Add posix_memalign to function summary.
3880         __memalign_hook is also called for posix_memalign and valloc.
3882 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3884         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3885         TAYLOR_SIN.
3886         (__sin): Adjust.
3887         (__cos): Likewise.
3888         (sloww): Use mynumber union.  Expand ternary operator into
3889         if-else statements.
3890         (cslow): use mynumber union.
3892 2013-12-16  Allan McRae  <allan@archlinux.org>
3894         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3895         * configure: Regenerated.
3897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3899         [BZ #14120]
3900         * configure.ac: Added --enable-maintainer-mode. Check for
3901         autoconf when enabled.
3902         * configure: Regenerated.
3904         * nscd/nscd.service: New file.
3905         * nscd/nscd.tmpfiles: New file.
3907 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
3909         [BZ #12100]
3910         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3911         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3912         * sysdeps/x86_64/multiarch/strstr.c: ... here.
3913         (strstr): Add __strstr_sse2_unaligned ifunc.
3914         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3915         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3916         (strcasestr): Remove __strcasestr_sse42 ifunc.
3917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3921 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3923         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3924         * sysdeps/sh/bits/fenv.h: ... here.
3925         * sysdeps/sh/sh4/fpu/bits: Remove directory.
3927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3929         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3931 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3934         hypotf multiarch implementations.
3935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3938         multiarch hypot for PPC64.
3939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3942         multiarch hypotf for PPC64.
3944 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3947         modff multiarch implementations.
3948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3951         multiarch modf for PPC64.
3952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3955         multiarch modff for PPC64.
3957 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3960         and logl multiarch implementations.
3961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3964         multiarch logb for PPC64.
3965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3968         multiarch logb for PPC64.
3969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3972         multiarch logb for PPC64.
3974 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3977         isinff multiarch implementation.
3978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3979         file.
3980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3982         multiarch isinf for PPC64.
3983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3984         file.
3985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3986         multiarch isinff for PPC64.
3988 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3991         finitef multiarch implementation.
3992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3993         file.
3994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3996         multiarch finite for PPC64.
3997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3998         file.
3999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4000         multiarch finitef for PPC64.
4002 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4005         lrint multiarch implementation.
4006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4007         file.
4008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4010         multiarch llrint for PPC64.
4011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4012         multiarch lrint for PPC64.
4014 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4017         copysignf multiarch implementation.
4018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4019         file.
4020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4021         file.
4022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4023         multiarch copysign for PPC64.
4024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4025         multiarch copysignf for PPC64.
4027 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4030         multiarch implementation.
4031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4032         file.
4033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4034         file.
4035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4036         file.
4037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4038         file.
4039         multiarch llround for PPC64.
4040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4041         multiarch trunc for PPC64.
4042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4043         multiarch truncf for PPC64.
4045 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4048         multiarch implementation.
4049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4050         file.
4051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4052         file.
4053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4054         file.
4055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4056         file.
4057         multiarch llround for PPC64.
4058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4059         multiarch round for PPC64.
4060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4061         multiarch roundf for PPC64.
4063 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4066         multiarch implementation.
4067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4068         file.
4069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4070         file.
4071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4072         file.
4073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4074         file.
4075         multiarch llround for PPC64.
4076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4077         multiarch floor for PPC64.
4078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4079         multiarch floorf for PPC64.
4081 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4084         multiarch implementation.
4085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4086         file.
4087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4088         file.
4089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4090         file.
4091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4092         file.
4093         multiarch llround for PPC64.
4094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4095         multiarch ceil for PPC64.
4096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4097         multiarch ceilf for PPC64.
4099 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4102         multiarch implementation.
4103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4104         file.
4105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4106         file.
4107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4108         file.
4109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4110         multiarch llround for PPC64.
4111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4112         multiarch lround for PPC64.
4114 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4117         multiarch implementation.
4118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4121         file.
4122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4125         multiarch isnan for PPC64.
4126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4127         multiarch isnanf for PPC64.
4129 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4131         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4132         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4133         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4134         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4135         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4138 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4140         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4141         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4142         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4145 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4148         multiarch implementations.
4149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4150         (__libc_ifunc_impl_list): Likewise.
4151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4154         multiarch stpcpy for PPC64.
4156 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4159         multiarch implementations.
4160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4161         (__libc_ifunc_impl_list): Likewise.
4162         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4163         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4164         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4165         multiarch strcpy for PPC64.
4167 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4169         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4170         redefine function name.
4171         (_wordcopy_fwd_dest_aligned): Likewise.
4172         (_wordcopy_bwd_aligned): Likewise.
4173         (_wordcopy_bwd_dest_aligned): Likewise.
4174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4175         multiarch implementations.
4176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4177         (__libc_ifunc_impl_list): Likewise.
4178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4179         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4181         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4182         multiarch wcscpy for PPC64.
4184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4187         multiarch implementations.
4188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4189         (__libc_ifunc_impl_list): Likewise.
4190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4191         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4192         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4193         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4194         multiarch wcscpy for PPC64.
4196 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4199         multiarch implementations.
4200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4201         (__libc_ifunc_impl_list): Likewise.
4202         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4203         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4204         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4205         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4206         multiarch wcsrchr for PPC64.
4208 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4211         multiarch implementations.
4212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4213         (__libc_ifunc_impl_list): Likewise.
4214         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4215         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4216         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4217         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4218         multiarch wcschr for PPC64.
4220 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4223         multiarch implementations.
4224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4225         (__libc_ifunc_impl_list): Likewise.
4226         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4228         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4229         multiarch strchrnul for PPC64.
4231 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4234         implementations.
4235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4236         (__libc_ifunc_impl_list): Likewise.
4237         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4238         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4239         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4240         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4241         strchr for PPC64.
4243 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4246         implementations.
4247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4248         (__libc_ifunc_impl_list): Likewise.
4249         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4250         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4251         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4252         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4253         strncmp for PPC64.
4255 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4258         multiarch implementations.
4259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4260         (__libc_ifunc_impl_list): Likewise.
4261         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4262         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4263         strncasecmp for PPC64.
4264         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4265         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4266         multiarch strncasecmp_l for PPC64.
4268 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4271         multiarch implementations.
4272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4273         (__libc_ifunc_impl_list): Likewise.
4274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4275         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4276         multiarch strcasecmp for PPC64.
4277         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4278         file.
4279         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4280         multiarch strcasecmp_l for PPC64.
4282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4285         implementations.
4286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4287         (__libc_ifunc_impl_list): Likewise.
4288         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4289         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4290         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4291         strnlen for PPC64.
4293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4296         implementations.
4297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4298         (__libc_ifunc_impl_list): Likewise.
4299         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4300         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4301         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4302         strlen for PPC64.
4304 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4307         implementations.
4308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4309         (__libc_ifunc_impl_list): Likewise.
4310         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4311         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4312         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4313         rawmemrchr for PPC64.
4315 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4318         implementation.
4319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4320         (__libc_ifunc_impl_list): Likewise.
4321         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4322         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4323         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4324         memrchr for PPC64.
4326 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4329         implementation.
4330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4331         (__libc_ifunc_impl_list): Likewise.
4332         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4333         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4334         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4335         memchr for PPC64.
4337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4340         implementation.
4341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4342         (__libc_ifunc_impl_list): Likewise.
4343         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4344         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4345         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4346         mempcpy for PPC64.
4348 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4350         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4351         avoid cretion of __bzero symbol.
4352         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4353         Likewise.
4354         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4355         Likewise.
4356         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4357         Likewise.
4358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4359         multiarch implementations.
4360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4361         (__libc_ifunc_impl_list): Likewise.
4362         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4366         bzero for PPC32.
4367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4368         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4369         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4372         memset for PPC64.
4373         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4375 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4377         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4379         implementations.
4380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4381         (__libc_ifunc_impl_list): Likewise.
4382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4383         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4384         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4385         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4386         memcmp for PPC64.
4388 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4391         multiarch for POWER/PPC64.
4392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4393         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4398         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4400         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4401         memcpy for PPC64.
4403 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4405         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4406         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4407         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4408         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4409         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4410         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4411         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4412         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4413         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4414         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4415         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4416         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4417         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4418         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4419         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4428 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4430         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4432 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4434         * benchtests/Makefile (bench): Add exp2 and log2.
4435         (LDLIBS-bench-exp2): Add -lm.
4436         (LDLIBS-bench-log2): Likewise.
4437         * benchtests/exp2-inputs: New inputs file.
4438         * benchtests/log2-inputs: New inputs file.
4439         * benchtests/log-inputs: Add new inputs.
4440         * benchtests/tan-inputs: Likewise.
4442 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4444         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4445         definition...
4446         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4447         csloww1, csloww2): ... from here.
4449         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4450         instead of structures.
4451         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4452         (POLYNOMIAL): Likewise.
4453         (TAYLOR_SLOW): Likewise.
4454         (__sin): Likewise.
4455         (__cos): Likewise.
4456         (slow1): Likewise.
4457         (slow2): Likewise.
4458         (sloww): Likewise.
4459         (sloww1); Likewise.
4460         (sloww2): Likewise.
4461         (bsloww1): Likewise.
4462         (bsloww2): Likewise.
4463         (cslow2): Likewise.
4464         (csloww): Likewise.
4465         (csloww1): Likewise.
4466         (csloww2): Likewise.
4468 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4470         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4471         (__malloc_assert, __libc_realloc, __libc_calloc,
4472         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
4473         memcpy and memset.
4474         * malloc/hooks.c (realloc_check): Likewise.
4476 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4478         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
4479         * malloc/arena.c: Remove PER_THREAD conditional.
4480         [!PER_THREAD]: Remove code.
4481         (ptmalloc_unlock_all2): Likewise.
4482         (ptmalloc_init): Likewise.
4483         (_int_new_arena): Likewise.
4484         (arena_get2): Likewise.
4485         * malloc/hooks.c (__malloc_get_state): Likewise.
4486         (__malloc_set_state): Likewise.
4487         * malloc/malloc.c: Likewise.
4488         (struct malloc_state): Likewise.
4489         (struct malloc_par): Likewise.
4490         (__libc_realloc): Likewise.
4491         (__libc_mallopt): Likewise.
4493 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4495         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
4497 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4499         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
4500         macro to a function.  Check for zero perturb_byte.
4501         (_int_malloc, _int_free): Remove zero perturb_byte checks.
4503 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4505         * malloc/malloc.c: (force_reg): Remove.
4506         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
4507         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
4508         force_reg by atomic_forced_read.
4509         * malloc/arena.c (ptmalloc_init): Likewise.
4510         * malloc/hooks.c (top_check): Likewise.
4512 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4516 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
4518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4520 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
4522         * math/auto-libm-test-in: Add tests of lgamma.
4523         * math/auto-libm-test-out: Regenerated.
4524         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
4525         (M_LOG_2_SQRT_PIl): Likewise.
4526         (lgamma_test_data): Use AUTO_TESTS_f_f1.
4527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4528         mpfr_f_f1.
4529         (func_calc_desc): Add mpfr_f_f1 union field.
4530         (ARGS1): New macro.
4531         (ARGS2): Likewise.
4532         (ARGS3): Likewise.
4533         (ARGS4): Likewise.
4534         (RET1): Likewise.
4535         (RET2): Likewise.
4536         (CALC): Likewise.
4537         (FUNC): Likewise.
4538         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
4539         (test_functions): Add lgamma.
4540         (calc_generic_results): Handle mpfr_f_f1.
4541         * sysdeps/i386/fpu/libm-test-ulps: Update.
4542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4546         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
4547         __mpn_add_n for PowerPC64/POWER7.
4548         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
4549         __mpn_sub_n for PowerPC64/POWER7.
4551 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4553         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
4554         __mpn_addmul_1 for PowerPC64.
4555         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
4556         __mpn_submul_1 for PowerPC64.
4557         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
4558         for PowerPC64.
4559         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
4560         for PowerPC64.
4562 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
4564         [BZ #15089]
4565         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
4567 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4569         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
4571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4573         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
4574         add multiarch folders.
4575         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
4576         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
4577         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
4578         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
4579         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
4580         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
4581         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
4582         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
4583         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
4584         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
4585         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
4593 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4596         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
4597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
4598         New file.
4599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
4600         New file.
4601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
4602         multiarch __ieee754_hypot for PowerPC32.
4603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
4604         New file.
4605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
4606         New file.
4607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
4608         multiarch __ieee754_hypotf for PowerPC32.
4610 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4612         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
4613         long_double_symbol only if __logbl is defined.
4614         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
4615         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
4616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
4617         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
4618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
4619         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
4620         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
4621         path for implementation.
4622         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
4623         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
4624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
4625         logb, and logbl multiarch implementations for PowerPC32.
4626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
4627         file.
4628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
4629         file.
4630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
4631         multiarch logb for PowerPC32.
4632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
4633         file.
4634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
4635         file.
4636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
4637         multiarch logbf for PowerPC32.
4638         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
4639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
4640         file.
4641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
4642         multiarch logbl implementation for PowerPC32.
4644 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
4647         and modff multiarch implementations.
4648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
4649         New file.
4650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
4651         New file.
4652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
4653         multiarch modf for PowerPC32.
4654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
4655         New file.
4656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
4657         New file.
4658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
4659         multiarch modff for PowerPC32.
4661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4664         and lrintf multiarch implementations.
4665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
4666         New file.
4667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
4668         New file.
4669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
4670         multiarch lrint for PowerPC32.
4671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
4672         file: multiarch lrintf for PowerPC32.
4674 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
4677         and lroundf multiarch implementations.
4678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
4679         New file.
4680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
4681         New file.
4682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
4683         New file.
4684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
4685         multiarch lround for PowerPC32.
4686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
4687         file: multiarch lroundf for PowerPC32.
4689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4692         copysign and copysignf multiarch implementations.
4693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4694         New file.
4695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4696         New file.
4697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4698         file: multiarch copysign for PowerPC32.
4699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4700         file: multiarch copysignf for PowerPC32.
4702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4705         and truncf multiarch implementations.
4706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4707         New file.
4708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4709         file.
4710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4711         multiarch trunc for PowerPC32.
4712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4713         New file.
4714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4715         New file.
4716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4717         multiarch truncf for PowerPC32.
4719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4722         and roundf multiarch implementations.
4723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4724         New file.
4725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4726         file.
4727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4728         multiarch round for PowerPC32.
4729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4730         New file.
4731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4732         New file.
4733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4734         multiarch roundf for PowerPC32.
4736 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4739         and floorf multiarch implementations.
4740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4741         New file.
4742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4743         file.
4744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4745         multiarch floor for PowerPC32.
4746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4747         New file.
4748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4749         New file.
4750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4751         multiarch floorf for PowerPC32.
4753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4756         and ceilf multiarch implementations.
4757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4758         New file.
4759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4760         file.
4761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4762         multiarch ceil for PowerPC32.
4763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4764         New file.
4765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4766         file.
4767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4768         multiarch ceilf for PowerPC32.
4770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4772         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4773         is defined.
4774         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4775         FINITEF is defined.
4776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4777         and finitef multiarch implementations.
4778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4779         New file.
4780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4781         file.
4782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4783         multiarch finite for PowerPC32.
4784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4785         New file.
4786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4787         file: multiarch finitef for PowerPC32.
4789 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4792         and isinff multiarch implementations.
4793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4794         file.
4795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4796         file.
4797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4798         multiarch isinf for PowerPC32.
4799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4800         New file.
4801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4802         multiarch isinff for PowerPC32.
4804 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4806         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4807         alias when __isnan is defined.
4808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4809         and isnanf multiarch implementations.
4810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4811         file.
4812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4813         file.
4814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4815         file.
4816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4817         file.
4818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4819         multiarch isnan for PowerPC32.
4820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4821         New file.
4822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4823         New file.
4824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4825         multiarch isnanf for PowerPC32.
4827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4830         and sqrtf multiarch implementations.
4831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4832         file.
4833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4834         file.
4835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4836         multiarch sqrt for PowerPC32.
4837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4838         file.
4839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4840         file.
4841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4842         multiarch sqrtf for PowerPC32.
4844 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4847         and llroundf multiarch implementations.
4848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4849         New file.
4850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4851         New file.
4852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4853         New file.
4854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4855         file: multiarch llround for PowerPC32.
4856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4857         file: multiarch llroundf for PowerPC32.
4859 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4862         multiarch PowerPC32 fpu implementations.
4863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4864         New file.
4865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4866         New file.
4867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4868         multiarch llrint for PowerPC32.
4869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4870         New file.
4871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4872         New file.
4873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4874         file.
4876 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4880 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4883         file.
4884         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4885         file.
4886         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4887         file.
4888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4889         multiarch wordcopy for PPC32.
4890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4891         wordcopy objects.
4892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4893         (__libc_ifunc_impl_list): Likewise.
4894         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4895         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4896         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4897         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4899         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4901 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4903         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4905         file.
4906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4907         file.
4908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4909         file.
4910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4911         multiarch wcscpy for PPC32.
4912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4913         multiarch objects.
4914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4915         (__libc_ifunc_impl_list): Likewise.
4916         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4917         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4918         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4919         sysdeps/powerpc/power6/wcscpy.c.
4921 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4923         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4925         file.
4926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4927         file.
4928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4929         file.
4930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4931         multiarch wcsrchr for PPC32.
4932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4933         multiarch objects.
4934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4935         (__libc_ifunc_impl_list): Likewise.
4936         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4937         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4938         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4939         sysdeps/powerpc/power6/wcsrchr.c.
4941 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4944         file.
4945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4946         file.
4947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4949         multiarch wcschr for PPc32.
4950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4951         multiarch objects.
4952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4953         (__libc_ifunc_impl_list): Likewise.
4954         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4955         * sysdeps/powerpc/power6/wcschr.c: ... to here.
4956         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4957         sysdeps/powerpc/power6/wcschr.c.
4959 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4961         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4962         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4963         file.
4964         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4965         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4966         file: multiarch strchr for PPC32.
4967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4968         multiarch objects.
4969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4970         (__libc_ifunc_impl_list): Likewise.
4972 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4974         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4975         name.
4976         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4977         file.
4978         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4979         file.
4980         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4981         multiarch strchrnul for PPC32.
4982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4983         multiarch objects.
4984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4985         (__libc_ifunc_impl_list): Likewise.
4987 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4990         file.
4991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4992         multiarch strncasecmp for PPC32.
4993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4994         file.
4995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4996         multiarch strncasecmp_l for PPC32.
4997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4998         strncasecmp multiarch objects.
4999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5000         (__libc_ifunc_impl_list): Likewise.
5002 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5005         file.
5006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5007         multiarch strncasecmp for PPC32.
5008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5009         New file.
5010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5011         multiarch strcasecmp_l for PPC32.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5013         multiarch objects.
5014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5015         (__libc_ifunc_impl_list): Likewise.
5017 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5020         file.
5021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5022         file.
5023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5024         multiarch strncmp for PPC32.
5025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5026         multiarch objects.
5027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5028         (__libc_ifunc_impl_list): Likewise.
5030 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5032         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5033         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5034         file.
5035         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5036         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5038         multiarch objects.
5039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5040         (__libc_ifunc_impl_list): Likewise.
5042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5044         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5045         file.
5046         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5047         file.
5048         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5050         multiarch objects.
5051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5052         (__libc_ifunc_impl_list): Likewise.
5054 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5056         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5057         file.
5058         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5059         file.
5060         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5061         multiarch rawmemchr for PPC32.
5062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5063         multiarch objects.
5064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5065         (__libc_ifunc_impl_list): Likewise.
5067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5069         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5070         file.
5071         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5072         file.
5073         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5074         file: memrchr multiarch for PPC32.
5075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5076         multiarch objects.
5077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5078         (__libc_ifunc_impl_list): Likewise.
5080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5082         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5083         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5084         file.
5085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5087         multiarch memchr for PPC32.
5088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5089         multiarch objects.
5090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5091         (__libc_ifunc_impl_list): Likewise.
5093 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5095         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5096         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5097         file.
5098         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5099         file.
5100         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5101         file: multiarch mempcpy for PPC32.
5102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5103         multiarch objects.
5104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5105         (__libc_ifunc_impl_list): Likewise.
5107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5112         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5113         multiarch bzero for PPC32.
5114         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5115         file.
5116         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5117         file.
5118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5119         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5120         file: multiarch memset for PPC32.
5121         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5123         memset multiarch objects.
5124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5125         (__libc_ifunc_impl_list): Likewise.
5127 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5130         file.
5131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5133         memcmp for PPC32.
5134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5136         multiarch objects.
5137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5138         (__libc_ifunc_impl_list): Likewise.
5140 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5145         file.
5146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5147         file.
5148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5149         file.
5150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5151         multiarch memcpy for PPC32.
5152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5153         multiarch objects.
5154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5155         (__libc_ifunc_impl_list): Likewise.
5157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5160         support multiarch for POWER/PPC32.
5161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5162         Likewise.
5163         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5165         Implies file to make multiarch folder appers before the fpu and
5166         default folder for power4 configuration.
5168 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5170         * scripts/bench.pl: Append volatile keyword to type.
5172 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5174         * sysdeps/sh/sotruss-lib.c: New file.
5175         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5177 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5181 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5183         [BZ #6810]
5184         * math/w_tgamma.c: Include <errno.h>.
5185         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5186         * math/w_tgammaf.c: Include <errno.h>.
5187         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5188         * math/w_tgammal.c: Include <errno.h>.
5189         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5190         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5191         underflow.  Add more tgamma tests.
5192         * math/auto-libm-test-out: Regenerated.
5193         * sysdeps/i386/fpu/libm-test-ulps: Update.
5194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5196         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5197         sin, sinh, tan, tanh, tgamma, y0 and y1.
5198         * math/auto-libm-test-out: Regenerated.
5199         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5200         (TEST_COND_x86): Likewise.
5201         (M_E2l): Remove macro.
5202         (M_E3l): Likewise.
5203         (M_2_SQRT_PIl): Likewise.
5204         (M_SQRT_PIl): Likewise.
5205         (M_1_DIV_El): Likewise.
5206         (log_test_data): Use AUTO_TESTS_f_f.
5207         (log10_test_data): Likewise.
5208         (log1p_test_data): Likewise.
5209         (log2_test_data): Likewise.
5210         (sin_test_data): Likewise.
5211         (sin_tonearest_test_data): Likewise.
5212         (sin_towardzero_test_data): Likewise.
5213         (sin_downward_test_data): Likewise.
5214         (sin_upward_test_data): Likewise.
5215         (sinh_test_data): Likewise.
5216         (sinh_tonearest_test_data): Likewise.
5217         (sinh_towardzero_test_data): Likewise.
5218         (sinh_downward_test_data): Likewise.
5219         (sinh_upward_test_data): Likewise.
5220         (tan_test_data): Likewise.
5221         (tan_tonearest_test_data): Likewise.
5222         (tan_towardzero_test_data): Likewise.
5223         (tan_downward_test_data): Likewise.
5224         (tan_upward_test_data): Likewise.
5225         (tanh_test_data): Likewise.
5226         (tgamma_test_data): Likewise.
5227         (y0_test_data): Likewise.
5228         (y1_test_data): Likewise.
5229         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5230         (special_real_inputs): Add pi/4.
5231         * sysdeps/i386/fpu/libm-test-ulps: Update.
5232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5234 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5237         "longjmp_target" static probes.
5238         (__longjmp): Rename to __longjmp_symbol.
5239         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5240         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5241         on which longjmp to generate.
5242         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5243         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5244         probe.
5245         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5246         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5247         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5248         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5249         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5252         __longjmp_symbol based on which __longjmp to generate.
5253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5254         probe.
5255         (setjmp): Rename to setjmp_symbol.
5256         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5257         (_setjmp): Rename to _setjmp_symbol.
5258         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5259         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5260         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5261         which setjmp to generate.
5262         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5263         "longjmp_target" static probes.
5265 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5267         * benchtests/README: Add note about output arguments.
5268         * benchtests/bench-sincos.c: Remove file.
5269         * benchtests/sincos-inputs: New file.
5270         * scripts/bench.pl: Identify output arguments and define
5271         static variables for them.
5273         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5275         [BZ #15941]
5276         * Makefile (INSTALL): Add install-plain.texi as the primary
5277         dependency.
5278         * manual/install-plain.texi: New file.
5279         * manual/install.texi: Include node directive only for
5280         non-plaintext output.
5282 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5284         * stdlib/longlong.h: Update from GCC.
5286         [BZ #6807]
5287         [BZ #15901]
5288         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5289         * math/w_j0f.c (y0f): Likewise.
5290         * math/w_j0l.c (__y0l): Likewise.
5291         * math/w_j1.c (y1): Likewise.
5292         * math/w_j1f.c (y1f): Likewise.
5293         * math/w_j1l.c (__y1l): Likewise
5294         * math/w_jn.c (yn): Likewise.
5295         * math/w_jnf.c (ynf): Likewise.
5296         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5297         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5298         value for Bessel function domain errors outside _SVID_ mode.
5299         Adjust sign of return value for yn (negative integer, 0).
5300         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5301         by zero in return for negative x and set sign appropriately for
5302         negative n.
5303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5305         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5306         expectations in error cases.
5307         (y1_test_data): Likewise.
5308         (yn_test_data): Likewise.
5309         * sysdeps/i386/fpu/libm-test-ulps: Update.
5310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5314         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5315         "64" to "64-v1".  Add "64-v2".
5316         (abi-64-options): Rename to ...
5317         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5318         (abi-64-condition): Rename to ...
5319         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5320         (abi-64-ld-soname): Rename to ...
5321         (abi-64-v1-ld-soname): ... this.
5322         (abi-64-v2-options): Define.
5323         (abi-64-v2-condition): Likewise.
5324         (abi-64-v2-ld-soname): Likewise.
5325         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5326         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5331 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5332             Alan Modra  <amodra@gmail.com>
5334         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5335         New versions for use with the ELFv2 ABI.
5336         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5337         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5338         declaration.
5339         (struct La_ppc64v2_retval): Likewise.
5340         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5341         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5342         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5343         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5344         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5345         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5346         Do not save or restore CR.
5347         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5348         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5349         return values for ELFv2 ABI.  Fix location of FPR return registers.
5350         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5351         updated values for _CALL_ELF == 2.
5352         (La_regs, La_retval, int_retval): Likewise.
5354 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5356         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5357         (FRAME_MIN_SIZE_PARM): Likewise.
5358         (FRAME_BACKCHAIN): Likewise.
5359         (FRAME_CR_SAVE): Likewise.
5360         (FRAME_LR_SAVE): Likewise.
5361         (FRAME_TOC_SAVE): Likewise.
5362         (FRAME_PARM_SAVE): Likewise.
5363         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5364         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5365         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5366         (call_mcount_parm_offset): New macro.
5367         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5368         (PROF): Use symbolic stack frame offsets.
5369         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5370         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5371         Redefine in terms of FRAME_MIN_SIZE.
5372         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5373         (_dl_profile_resolve): Likewise.  Update comment.
5374         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5375         symbols stack frame offsets.
5376         (__sigsetjmp): Likewise.
5377         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5378         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5379         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5380         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5383         (FRAME_BACKCHAIN): Remove.
5384         (FRAME_CR_SAVE): Likewise.
5385         (FRAME_LR_SAVE): Likewise.
5386         (FRAME_COMPILER_DW): Likewise.
5387         (FRAME_LINKER_DW): Likewise.
5388         (FRAME_TOC_SAVE): Likewise.
5389         (FRAME_PARM_SAVE): Likewise.
5390         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5391         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5392         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5394         (CHECK_SP): Use symbolic stack frame offsets.
5395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5396         zone" instead of caller's parameter save area for temp storage.
5397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5398         Likewise.  Also, use symbolic stack frame offsets.
5399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5400         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5401         our own stack frame instead of the caller's.
5402         (__socket): Use symbolic stack frame offsets.
5404 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5405             Alan Modra  <amodra@gmail.com>
5407         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5408         Define.
5409         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5410         PPC64_LOCAL_ENTRY_OFFSET): Define.
5411         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5412         New function.
5413         (elf_machine_fixup_plt): Call it.
5414         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
5415         reloc arguments.
5416         (elf_machine_rela): Update call to elf_machine_plt_conflict.
5417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5418         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5419         r2 before calling target.
5421 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5422             Alan Modra  <amodra@gmail.com>
5424         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5425         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5426         versions of macros to support ELFv2 ABI.
5427         (LOCALENTRY): New macro.
5428         (ENTRY, EALIGN): Use it.
5429         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5430         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5431         fall through into ENTRY entry point.
5432         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5433         Only define if _CALL_ELF != 2.
5435         (elf_machine_matches_host): Verify ABI version matches.
5436         (RTLD_START): Use LOCALENTRY.
5437         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5438         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5439         (PLT_ENTRY_WORDS): New macro.
5440         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5441         (elf_machine_runtime_setup): Support ELFv2 ABI.
5442         (elf_machine_fixup_plt): Likewise.
5443         (elf_machine_plt_conflict): Likewise.
5444         (resolve_ifunc): Likewise.
5445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5447         Likewise.
5448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5449         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5451         (makecontext): Support ELFv2 ABI.
5452         * elf/elf.h (EF_PPC64_ABI): Define.
5454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5456         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5457         New assembler macro.
5458         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5459         [ASSEMBLER] (ENTRY): ... but instead here ...
5460         [ASSEMBLER] (EALIGN): ... and here.
5461         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5462         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5463         [!ASSEMBLER] (ENTRY_2): Use it.
5464         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5465         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
5466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5467         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
5468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
5469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
5470         Use PPC64_LOAD_FUNCPTR.
5472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5474         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
5476 2013-12-04  Alan Modra  <amodra@gmail.com>
5478         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
5479         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5480         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
5481         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
5483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
5484         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
5485         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
5486         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
5487         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
5488         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
5490 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5493         (__makecontext): Fix incorrect CFI when backtracing out of
5494         context created via makecontext.
5495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
5496         (__setcontext): Fix incorrect CFI during switch to new context.
5497         (__novec_setcontext): Likewise.
5499 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5501         [BZ #4772]
5502         * time/strptime_l.c (__strptime_internal): Allow modifiers
5503         in strptime.
5504         * time/tst-strptime.c (day_tests): Add testcase.
5507 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5509         * scripts/bench.pl: Skip over blank lines.
5511 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5513         [BZ #926]
5514         * manual/time.texi (Calendar Time): Clarify what timezone functions
5515         use.
5517 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5521 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5523         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5524         implementation.
5525         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5526         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5527         * debug/memset_chk.c (__memset_chk): Likewise.
5528         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
5529         * debug/strncpy_chk.c: Likewise.
5531 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5533         [BZ #15268]
5534         [BZ #15425]
5535         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
5536         (__ieee754_exp): For possibly underflowing results, check size of
5537         result and force underflow exception if required.
5538         * math/auto-libm-test-in: Add more tests of exp.
5539         * math/auto-libm-test-out: Regenerated.
5540         * sysdeps/i386/fpu/libm-test-ulps: Update.
5541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5543         [BZ #16283]
5544         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
5545         * math/w_exp2f.c (__exp2f): Likewise.
5546         * math/w_exp2l.c (__exp2l): Likewise.
5547         * math/auto-libm-test-in: Do not allow missing errno on exp2
5548         underflow.
5549         * math/auto-libm-test-out: Regenerated.
5551 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
5553         [BZ #16274]
5554         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5555         handle filename validation.
5556         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
5557         (do_open): Delete.
5559 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #6786]
5562         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5563         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
5564         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
5565         <float.h>.
5566         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
5567         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
5568         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
5570         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5571         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
5572         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5573         * math/auto-libm-test-in: Don't allow missing errno from erfc.
5574         Add more erfc tests.
5575         * math/auto-libm-test-out: Regenerated.
5576         * sysdeps/i386/fpu/libm-test-ulps: Update.
5577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
5580         exp2, expm1, j0 and j1.
5581         * math/auto-libm-test-out: Regenerated.
5582         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
5583         (erfc_test_data): Likewise.
5584         (exp_test_data): Likewise.
5585         (exp_tonearest_test_data): Likewise.
5586         (exp_towardzero_test_data): Likewise.
5587         (exp_downward_test_data): Likewise.
5588         (exp_upward_test_data): Likewise.
5589         (exp10_test_data): Likewise.
5590         (exp2_test_data): Likewise.
5591         (expm1_test_data): Likewise.
5592         (j0_test_data): Likewise.
5593         (j1_test_data): Likewise.
5594         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
5595         (input_flag_type): Add flag_xfail_rounding.
5596         (input_flags): Add xfail-rounding.
5597         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
5598         (output_for_one_input_case): Handle flag_xfail_rounding.
5599         * sysdeps/i386/fpu/libm-test-ulps: Update.
5600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5602 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
5604         [BZ #16289]
5605         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5606         division by 0.
5608 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5610         [BZ #16195]
5611         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5612         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
5613         (STAP_PROBE0): New macro.
5614         (STAP_PROBE1): Likewise.
5615         (STAP_PROBE2): Likewise.
5616         (STAP_PROBE3): Likewise.
5617         (STAP_PROBE4): Likewise.
5619 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
5621         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5623 2013-12-02  Steve Ellcey  <sellcey@mips.com>
5625         * benchtests/Makefile (bench): Add sqrt.
5626         (LDLIBS-bench-sqrt): New.
5627         * benchtests/sqrt-input: New.
5629 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
5631         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
5632         (GAIH_EAI): Likewise.
5633         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
5634         (gaih_inet): Likewise.
5635         (getaddrinfo): Don't use GAIH_EAI.
5637         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
5638         (struct gaih): Remove definition.
5640 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5642         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
5643         Use HERRNOP directly.
5645 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5649 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
5651         * math/gen-auto-libm-tests.c (test_functions): Add more
5652         single-argument functions.
5653         (special_fill_pi_2): New function.
5654         (special_fill_minus_pi_2): Likewise.
5655         (special_fill_pi_6): Likewise.
5656         (special_fill_minus_pi_6): Likewise.
5657         (special_fill_pi_3): Likewise.
5658         (special_fill_2pi_3): Likewise.
5659         (special_fill_e): Likewise.
5660         (special_fill_1_e): Likewise.
5661         (special_fill_e_minus_1): Likewise.
5662         (special_real_inputs): Add more special inputs.
5663         (output_for_one_input_case): Do not require ERANGE on underflow to
5664         zero if round-to-nearest result does not underflow to zero, unless
5665         exact results required.
5666         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
5667         atan, atanh, cbrt, cos and cosh.
5668         * math/auto-libm-test-out: Regenerated.
5669         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
5670         (acos_tonearest_test_data): Likewise.
5671         (acos_towardzero_test_data): Likewise.
5672         (acos_downward_test_data): Likewise.
5673         (acos_upward_test_data): Likewise.
5674         (acosh_test_data): Likewise.
5675         (asin_test_data): Likewise.
5676         (asin_tonearest_test_data): Likewise.
5677         (asin_towardzero_test_data): Likewise.
5678         (asin_upward_test_data): Likewise.
5679         (asinh_test_data): Likewise.
5680         (atan_test_data): Likewise.
5681         (atanh_test_data): Likewise.
5682         (cbrt_test_data): Likewise.
5683         (cos_test_data): Likewise.
5684         (cos_tonearest_test_data): Likewise.
5685         (cos_towardzero_test_data): Likewise.
5686         (cos_downward_test_data): Likewise.
5687         (cos_upward_test_data): Likewise.
5688         (cosh_test_data): Likewise.
5689         (cosh_tonearest_test_data): Likewise.
5690         (cosh_towardzero_test_data): Likewise.
5691         (cosh_downward_test_data): Likewise.
5692         (cosh_upward_test_data): Likewise.
5693         * sysdeps/i386/fpu/libm-test-ulps: Update.
5694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5696 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
5698         [BZ #6787]
5699         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5700         * math/w_exp10f.c (__exp10f): Likewise.
5701         * math/w_exp10l.c (__exp10l): Likewise.
5702         * math/libm-test.inc (exp10_test_data): Add more tests and expect
5703         errno settings in existing tests.
5705         [BZ #14032]
5706         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5707         precision control set to double precision.
5708         * sysdeps/i386/fpu/w_sqrt.c: New file.
5709         * math/auto-libm-test-in: Add more tests.
5710         * math/auto-libm-test-out: Update.
5712         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5713         (sqrt_test_tonearest): New function.
5714         (sqrt_towardzero_test_data): New variable.
5715         (sqrt_test_towardzero): New function.
5716         (sqrt_downward_test_data): New variable.
5717         (sqrt_test_downward): New function.
5718         (sqrt_upward_test_data): New variable.
5719         (sqrt_test_upward): New function.
5720         (main): Call the new functions.
5722         * math/gen-auto-libm-tests.c: New file.
5723         * math/auto-libm-test-in: Likewise.
5724         * math/auto-libm-test-out: New generated file.
5725         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5726         variables.
5727         (%beautify): Add generated representations of zero.
5728         (top level): Set $auto_input and call parse_auto_input.
5729         (beautify): Remove trailing "f" from hex float constants.
5730         (parse_args): Handle XFAIL_TEST.
5731         (convert_condition): New function.
5732         (or_value): Likewise.
5733         (or_cond_value): Likewise.
5734         (generate_testfile): Handle AUTO_TESTS_* lines.
5735         (parse_auto_input): New function.
5736         * math/libm-test.inc (XFAIL_TEST): New macro.
5737         (ERRNO_UNCHANGED): Update value.
5738         (ERRNO_EDOM): Likewise.
5739         (ERRNO_ERANGE): Likewise.
5740         (IGNORE_RESULT): Likewise.
5741         (TEST_COND_flt_32): New macro.
5742         (TEST_COND_dbl_64): Likewise.
5743         (TEST_COND_ldbl_96_intel): Likewise.
5744         (TEST_COND_ldbl_96_m68k): Likewise.
5745         (TEST_COND_ldbl_128): Likewise.
5746         (TEST_COND_ldbl_128ibm): Likewise.
5747         (TEST_COND_long32): Likewise.
5748         (TEST_COND_long64): Likewise.
5749         (TEST_COND_before_rounding): Likewise.
5750         (TEST_COND_after_rounding): Likewise.
5751         (enable_test): Handle XFAIL_TEST flag.
5752         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5753         with finite results.
5754         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5755         auto-libm-test-out.
5757 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5758             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5760         [BZ #16214]
5761         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5762         __tls_get_addr_internal instead of __tls_get_offset in order to
5763         avoid GOT pointer dependency.  Make rtld export
5764         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5765         __tls_get_addr since we are a __tls_get_offset platform.
5766         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5767         GOT pointer being set up before.
5768         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5770 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
5772         * manual/math.texi (Errors in Math Functions): Document accuracy
5773         goals.
5775         [BZ #15004]
5776         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5777         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5778         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5779         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5780         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5781         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5782         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5783         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5784         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5786         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5787         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5788         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5789         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5790         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5791         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5793         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5794         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5795         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5796         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5797         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5798         Likewise.
5799         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5800         Likewise.
5801         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5802         Likewise.
5803         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5804         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5805         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5806         atomic-feupdateenv and flt-rounds.
5807         * sysdeps/powerpc/nofpu/Versions (libc): Add
5808         __atomic_feholdexcept, __atomic_feclearexcept,
5809         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5810         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5811         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5812         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5813         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5814         here.
5815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5816         Update.
5818         * manual/arith.texi (FP Exceptions): Document that exceptions may
5819         not be raised when matherr is used.
5820         (Math Error Reporting): Document overflow in directed rounding
5821         modes.  Document that errno may not be set when finite values are
5822         returned on overflow.  Document intent to set errno on underflow
5823         only for underflow to zero.
5825         [BZ #16271]
5826         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5827         round-to-nearest then adjust result for other rounding modes.
5828         * include/fenv.h (fegetround): Use libm_hidden_proto.
5829         * math/fegetround.c (fegetround): Use libm_hidden_def.
5830         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5831         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5832         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5833         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5834         Likewise.
5835         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5836         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5837         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5838         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5840 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5842         [BZ #16077]
5843         * nss/Versions (libnss_files): Add
5844         _nss_files_gethostbyname3_r.
5845         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5846         New function.
5847         (HOST_DB_LOOKUP): Remove macro.
5848         (_nss_files_gethostbyname_r): Implement function without the
5849         HOST_DB_LOOKUP macro.
5850         (_nss_files_gethostbyname2_r): Likewise.
5852 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
5854         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5856 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
5858         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5859         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5860         warning.
5862 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5864         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5865         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5866         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5867         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5868         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5869         __fe_nomask_env_priv and attribute_hidden.
5870         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5871         (libc_feupdateenv_test_ppc): Likewise.
5872         (libc_feresetround_ppc): Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5874         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5875         compat_symbol macro.
5876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5877         (__fe_nomask_env): Likewise.
5878         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5880 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5882         * string/Makefile: Remove ifunc tests.
5883         * string/test-string.h: Define TEST_IFUNC.
5884         * string/test-bcopy-ifunc.c: Remove.
5885         * string/test-bzero-ifunc.c: Likewise.
5886         * string/test-memccpy-ifunc.c: Likewise.
5887         * string/test-memchr-ifunc.c: Likewise.
5888         * string/test-memcmp-ifunc.c: Likewise.
5889         * string/test-memcpy-ifunc.c: Likewise.
5890         * string/test-memmem-ifunc.c: Likewise.
5891         * string/test-memmove-ifunc.c: Likewise.
5892         * string/test-mempcpy-ifunc.c: Likewise.
5893         * string/test-memrchr-ifunc.c: Likewise.
5894         * string/test-memset-ifunc.c: Likewise.
5895         * string/test-rawmemchr-ifunc.c: Likewise.
5896         * string/test-stpcpy-ifunc.c: Likewise.
5897         * string/test-stpncpy-ifunc.c: Likewise.
5898         * string/test-strcasecmp-ifunc.c: Likewise.
5899         * string/test-strcasestr-ifunc.c: Likewise.
5900         * string/test-strcat-ifunc.c: Likewise.
5901         * string/test-strchr-ifunc.c: Likewise.
5902         * string/test-strchrnul-ifunc.c: Likewise.
5903         * string/test-strcmp-ifunc.c: Likewise.
5904         * string/test-strcpy-ifunc.c: Likewise.
5905         * string/test-strcspn-ifunc.c: Likewise.
5906         * string/test-strlen-ifunc.c: Likewise.
5907         * string/test-strncasecmp-ifunc.c: Likewise.
5908         * string/test-strncat-ifunc.c: Likewise.
5909         * string/test-strncmp-ifunc.c: Likewise.
5910         * string/test-strncpy-ifunc.c: Likewise.
5911         * string/test-strnlen-ifunc.c: Likewise.
5912         * string/test-strpbrk-ifunc.c: Likewise.
5913         * string/test-strrchr-ifunc.c: Likewise.
5914         * string/test-strspn-ifunc.c: Likewise.
5915         * string/test-strstr-ifunc.c: Likewise.
5917 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5919         * benchtests/Makefile: Remove ifunc tests.
5920         * benchtests/bench-string.h: Define TEST_IFUNC.
5921         * benchtests/bench-bcopy-ifunc.c: Remove.
5922         * benchtests/bench-bzero-ifunc.c: Likewise.
5923         * benchtests/bench-memccpy-ifunc.c: Likewise.
5924         * benchtests/bench-memchr-ifunc.c: Likewise.
5925         * benchtests/bench-memcmp-ifunc.c: Likewise.
5926         * benchtests/bench-memcpy-ifunc.c: Likewise.
5927         * benchtests/bench-memmem-ifunc.c: Likewise.
5928         * benchtests/bench-memmove-ifunc.c: Likewise.
5929         * benchtests/bench-mempcpy-ifunc.c: Likewise.
5930         * benchtests/bench-memrchr-ifunc.c: Likewise.
5931         * benchtests/bench-memset-ifunc.c: Likewise.
5932         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5933         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5934         * benchtests/bench-stpcpy-ifunc.c: Likewise.
5935         * benchtests/bench-stpncpy-ifunc.c: Likewise.
5936         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5937         * benchtests/bench-strcasestr-ifunc.c: Likewise.
5938         * benchtests/bench-strcat-ifunc.c: Likewise.
5939         * benchtests/bench-strchr-ifunc.c: Likewise.
5940         * benchtests/bench-strchrnul-ifunc.c: Likewise.
5941         * benchtests/bench-strcmp-ifunc.c: Likewise.
5942         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5943         * benchtests/bench-strcpy-ifunc.c: Likewise.
5944         * benchtests/bench-strcspn-ifunc.c: Likewise.
5945         * benchtests/bench-strlen-ifunc.c: Likewise.
5946         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5947         * benchtests/bench-strncat-ifunc.c: Likewise.
5948         * benchtests/bench-strncmp-ifunc.c: Likewise.
5949         * benchtests/bench-strncpy-ifunc.c: Likewise.
5950         * benchtests/bench-strnlen-ifunc.c: Likewise.
5951         * benchtests/bench-strpbrk-ifunc.c: Likewise.
5952         * benchtests/bench-strrchr-ifunc.c: Likewise.
5953         * benchtests/bench-strsep-ifunc.c: Likewise.
5954         * benchtests/bench-strspn-ifunc.c: Likewise.
5955         * benchtests/bench-strstr-ifunc.c: Likewise.
5957 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5959         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5961 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5963         * resolv/netdb.h: Use __glibc_reserved instead __unused.
5964         * rt/aio.h: Likewise.
5965         * sysdeps/gnu/bits/utmp.h: Likewise.
5966         * sysdeps/gnu/bits/utmpx.h: Likewise.
5967         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5968         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5969         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5970         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5971         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5972         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5973         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5974         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5975         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5976         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5977         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5978         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5979         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5981         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5982         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5983         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5984         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5985         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5986         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5987         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5988         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5989         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5990         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5991         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5993         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5994         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5995         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5996         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5997         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5998         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5999         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6000         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6001         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6002         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6003         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6004         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6005         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6006         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6007         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6008         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6010 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6012         [BZ #16245]
6013         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6014         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6016 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6018         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6019         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6020         Likewise.
6022 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6024         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6025         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6026         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6027         (__fesetround): Remove define.
6028         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6029         rounding and exceptions handling.
6030         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6031         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6032         (__fe_nomask_env): Likewise.
6033         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6034         __fegetround instead of fegetround.
6035         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6036         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6038 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6040         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6041         it's there.
6043         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6045 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6047         [BZ #11157]
6048         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6049         (encrypt_r): Likewise.
6050         * malloc/obstack.h (obstack_free): Likewise.
6051         * posix/unistd.h (encrypt): Likewise.
6053 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6055         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6056         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6057         DL_CALL_DT_FINI() that call the functions directly.
6058         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6059         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6060         * elf/dl-fini.c: Likewise.
6062 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6064         * malloc/hooks.c (memalign_check): Add alignment rounding.
6065         * malloc/malloc.c (_mid_memalign): New function.
6066         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6067         Implement by calling _mid_memalign.
6068         * manual/probes.texi (Memory Allocation Probes): Remove
6069         memory_valloc_retry and memory_pvalloc_retry.
6071 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6073         * locale/programs/locarchive.c (open_archive): Add const
6074         qualifier to ARCHIVEFNAME and copy default fname to
6075         DEFAULT_FNAME.
6077         [BZ #15601]
6078         * libio/tst-widetext.input: Rename Oriya to Odia.
6079         * locale/iso-639.def: Likewise.
6081         * manual/probes.texi (Mathematical Function Probes): Add
6082         documentation for sin, cos, asin and acos probes.
6083         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6084         (__sin32): Add slowasin probe.
6085         (__cos32): Add slowacos probe.
6086         (__mpsin): Add slowsin probe.
6087         (__mpcos): Add slowcos probe.
6089 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6091         [BZ #15483]
6092         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6093         thread-local __sim_exceptions_thread and global
6094         __sim_exceptions_global.
6095         (__sim_disabled_exceptions): Change to thread-local
6096         __sim_disabled_exceptions_thread and global
6097         __sim_disabled_exceptions_global.
6098         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6099         and global __sim_round_mode_global.
6100         (__simulate_exceptions): Use thread-local floating-point state and
6101         set global state from it as needed.
6102         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6103         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6104         __sim_round_mode_thread.
6105         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6106         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6107         and global __sim_exceptions_global.
6108         (__sim_disabled_exceptions): Change to thread-local
6109         __sim_disabled_exceptions_thread and global
6110         __sim_disabled_exceptions_global.
6111         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6112         and global __sim_round_mode_global.
6113         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6114         (SIM_SET_GLOBAL): Likewise.
6115         * sysdeps/powerpc/soft-fp/sfp-machine.h
6116         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6117         __sim_round_mode_thread.
6118         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6119         __sim_disabled_exceptions_thread.
6120         (__sim_exceptions): Change to __sim_exceptions_thread.
6121         (__sim_disabled_exceptions): Change to
6122         __sim_disabled_exceptions_thread.
6123         (__sim_round_mode): Change to __sim_round_mode_thread.
6124         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6125         thread-local floating-point state and set global state from it as
6126         needed.
6127         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6128         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6129         (__sim_disabled_exceptions): Remove extern declaration.
6130         (feenableexcept): Use thread-local floating-point state and set
6131         global state from it as needed.
6132         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6133         extern declaration.
6134         (__sim_disabled_exceptions): Likewise.
6135         (__sim_round_mode): Likewise.
6136         (__fegetenv): Use thread-local floating-point state.
6137         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6138         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6139         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6140         floating-point state and set global state from it as needed.
6141         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6142         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6143         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6144         Likewise.
6145         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6146         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6147         Likewise.
6148         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6149         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6150         Use __sim_round_mode_thread.
6151         * math/test-fenv-tls.c: New file.
6152         * math/Makefile (tests): Add test-fenv-tls.
6153         ($(objpfx)test-fenv-tls): Depend on
6154         $(common-objpfx)nptl/libpthread.so.
6156 2013-11-19  Andreas Schwab  <schwab@suse.de>
6158         * locale/programs/locale.c (show_info): Decode wordarray elements.
6159         * locale/categories.def (LC_MONETARY): Add element for
6160         _NL_MONETARY_CRNCYSTR.
6161         * locale/C-monetary.c (conversion_rate): New variable.
6162         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6163         element.
6165 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6167         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6168         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6170 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6172         * elf/Makefile (tst-auxv): New test.
6173         * elf/tst-auxv.c: New
6174         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6176 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6178         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6179         (hidden_proto): Caller changed.
6180         (hidden_tls_proto): New macro.
6181         (libc_hidden_tls_proto): Likewise.
6182         (rtld_hidden_tls_proto): Likewise.
6183         (libm_hidden_tls_proto): Likewise.
6184         (libresolv_hidden_tls_proto): Likewise.
6185         (librt_hidden_tls_proto): Likewise.
6186         (libdl_hidden_tls_proto): Likewise.
6187         (libnss_files_hidden_tls_proto): Likewise.
6188         (libnsl_hidden_tls_proto): Likewise.
6189         (libnss_nisplus_hidden_tls_proto): Likewise.
6190         (libutil_hidden_tls_proto): Likewise.
6192 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6194         [BZ #10253]
6195         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6196         (decompose_rpath): Defer expansion to fillin_rpath.
6197         (_dl_init_paths): Pass linkmap to fillin_rpath.
6199 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6201         * benchtests/Makefile: Add strsep.
6202         * benchtests/bench-strsep.c: New file: strsep benchtest.
6203         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6205 2013-11-18  Andreas Schwab  <schwab@suse.de>
6207         * locale/programs/locale.c (show_info) [case byte]: Check for
6208         '\377' instead of '\177'.
6209         * locale/C-monetary.c (not_available): Always use "\377".
6210         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6211         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6212         detect unavailable sign_posn locale elements.
6213         * locale/localeconv.c (__localeconv): For grouping and
6214         mon_grouping handle "\177" and "\377" like no grouping.
6215         (INT_ELEM): New macro.  Use it to set all numeric members.
6216         * locale/programs/ld-monetary.c (monetary_read)
6217         <tok_mon_grouping>: Normalize single -1 to the empty string.
6218         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6219         Likewise.
6221 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6223         [BZ #16055]
6224         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6225         when we match (nil).
6226         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6228 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6230         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6231         (NO_TEST_INLINE): Update value.
6232         (ERRNO_UNCHANGED): Likewise.
6233         (ERRNO_EDOM): Likewise.
6234         (ERRNO_ERANGE): Likewise.
6235         (IGNORE_RESULT): Likewise.
6236         (check_float_internal): Check signs of NaN results if
6237         TEST_NAN_SIGN used.
6238         (check_complex): Pass TEST_NAN_SIGN flag through to second
6239         check_float_internal call.
6240         (copysign_test_data): Add tests with quiet NaNs as second
6241         argument.  Use TEST_NAN_SIGN.
6242         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6243         TEST_NAN_SIGN.
6244         (signbit_test_data): Add tests of quiet NaN argument.
6245         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6247         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6248         $ignore_result.
6249         (parse_args): Handle function results specified as IGNORE.
6250         * math/libm-test.inc (IGNORE_RESULT): New macro.
6251         (check_float_internal): Do not check numerical result if flag
6252         IGNORE_RESULT set.
6253         (check_complex): Pass through IGNORE_RESULT to second
6254         check_float_internal call.
6255         (check_int): Do not check numerical result if flag IGNORE_RESULT
6256         set.
6257         (check_long): Likewise.
6258         (check_bool): Likewise.
6259         (check_longlong): Likewise.
6260         (lrint_test_data): Add tests of infinite and NaN arguments.
6261         (lrint_tonearest_test_data): Likewise.
6262         (lrint_towardzero_test_data): Likewise.
6263         (lrint_downward_test_data): Likewise.
6264         (lrint_upward_test_data): Likewise.
6265         (llrint_test_data): Likewise.
6266         (llrint_tonearest_test_data): Likewise.
6267         (llrint_towardzero_test_data): Likewise.
6268         (llrint_downward_test_data): Likewise.
6269         (llrint_upward_test_data): Likewise.
6270         (lround_test_data): Likewise.
6271         (llround_test_data): Likewise.
6273         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6274         (ERRNO_UNCHANGED): Update value.
6275         (ERRNO_EDOM): Likewise.
6276         (ERRNO_ERANGE): Likewise.
6277         (NO_TEST_INLINE_FLOAT): New macro.
6278         (NO_TEST_INLINE_DOUBLE): Likewise.
6279         (enable_test): New function.
6280         (RUN_TEST_f_f): Check enable_test before running test.
6281         (RUN_TEST_2_f): Likewise.
6282         (RUN_TEST_fff_f): Likewise.
6283         (RUN_TEST_c_f): Likewise.
6284         (RUN_TEST_f_f1): Likewise.
6285         (RUN_TEST_fF_f1): Likewise.
6286         (RUN_TEST_fI_f1): Likewise.
6287         (RUN_TEST_ffI_f1): Likewise.
6288         (RUN_TEST_c_c): Likewise.
6289         (RUN_TEST_cc_c): Likewise.
6290         (RUN_TEST_f_i): Likewise.
6291         (RUN_TEST_f_i_tg): Likewise.
6292         (RUN_TEST_ff_i_tg): Likewise.
6293         (RUN_TEST_f_b): Likewise.
6294         (RUN_TEST_f_b_tg): Likewise.
6295         (RUN_TEST_f_l): Likewise.
6296         (RUN_TEST_f_L): Likewise.
6297         (RUN_TEST_fFF_11): Likewise.
6298         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6299         conditionals.
6300         (cosh_test_data): Likewise.
6301         (exp_test_data): Likewise.
6302         (expm1_test_data): Likewise.
6303         (hypot_test_data): Likewise.
6304         (pow_test_data): Likewise.
6305         (sinh_test_data): Likewise.
6306         (tanh_test_data): Likewise.
6307         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6308         flags argument.
6310         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6311         tests with quiet NaN input and output.
6312         (acosh_test_data): Likewise.
6313         (asin_test_data): Likewise.
6314         (asinh_test_data): Likewise.
6315         (atan_test_data): Likewise.
6316         (atanh_test_data): Likewise.
6317         (atan2_test_data): Likewise.
6318         (cbrt_test_data): Likewise.
6319         (cos_test_data): Likewise.
6320         (cosh_test_data): Likewise.
6321         (erf_test_data): Likewise.
6322         (erfc_test_data): Likewise.
6323         (exp_test_data): Likewise.
6324         (exp10_test_data): Likewise.
6325         (exp2_test_data): Likewise.
6326         (expm1_test_data): Likewise.
6327         (hypot_test_data): Likewise.
6328         (j0_test_data): Likewise.
6329         (j1_test_data): Likewise.
6330         (jn_test_data): Likewise.
6331         (lgamma_test_data): Likewise.
6332         (log_test_data): Likewise.
6333         (log10_test_data): Likewise.
6334         (log1p_test_data): Likewise.
6335         (log2_test_data): Likewise.
6336         (pow_test_data): Likewise.
6337         (scalb_test_data): Likewise.
6338         (sin_test_data): Likewise.
6339         (sincos_test_data): Likewise.
6340         (sinh_test_data): Likewise.
6341         (tan_test_data): Likewise.
6342         (tanh_test_data): Likewise.
6343         (tgamma_test_data): Likewise.
6344         (y0_test_data): Likewise.
6345         (y1_test_data): Likewise.
6346         (yn_test_data): Likewise.
6348         [BZ #16167]
6349         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6350         argument being NaN and avoid computations with second argument in
6351         that case.
6352         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6353         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6354         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6356 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6358         * locale/iso-639.def: Add Chitwani Tharu (the).
6360 2013-11-14  Andreas Schwab  <schwab@suse.de>
6362         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6363         word instead of empty string.
6365 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6368         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6370         (__fe_nomask_env): Likewise.
6372 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6374         * benchtests/bench-timing.h: Include time.h.
6376 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6378         [BZ #15997]
6379         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6380         to 3.4.0 for x32.
6381         * sysdeps/unix/sysv/linux/configure: Regenerated.
6383 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
6385         [BZ #16151]
6386         * stdlib/strtod_l.c (round_and_return): Do not consider
6387         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6388         exponent one less than half the least subnormal exponent.
6389         * stdlib/test-strtod-round-data: Add more tests.
6390         * stdlib/tst-strtod-round.c (tests): Regenerated.
6392 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6394         [BZ #14143]
6395         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6396         (__fe_mask_env): Likewise.
6397         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6398         libm_hidden_proto and add function prototype.
6399         (__fe_mask_env): Add function prototype.
6400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6401         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6403         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6405         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6407 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6409         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6410         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6412 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6414         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6415         of htab_find_slot().
6417 2013-11-11  David S. Miller  <davem@davemloft.net>
6419         [BZ #16150]
6420         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6421         symbol in the non-vis3 case in static builds.
6422         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6423         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6424         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6425         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6427 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6429         [BZ #387]
6430         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6431         it is empty.
6433 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6435         * benchtests/Makefile: Add bench-strtod.
6436         * benchtests/bench-strtod.c: New file: strtod benchtest
6438 2013-11-11  Andreas Schwab  <schwab@suse.de>
6440         [BZ #16153]
6441         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6442         terminating NUL in key length.
6444 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6447         Add artificial ODP entry for vDSO symbol for PPC64.
6448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6449         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6451 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6453         [BZ #15374]
6454         * nss/getent.c (services_keys): Recognize services starting with digit.
6456 2013-11-06  David S. Miller  <davem@davemloft.net>
6458         [BZ #15985]
6459         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6460         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6462 2013-11-06  Will Newton  <will.newton@linaro.org>
6464         * manual/memory.texi (Malloc Examples): Remove register
6465         keyword from examples.
6467 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
6469         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
6471 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
6473         [BZ #6981]
6474         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
6475         depending on [__GCC_IEC_559 > 0].
6476         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
6477         depending on [__GCC_IEC_559_COMPLEX > 0].
6479 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
6481         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
6482         to iso-639.def.
6484 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
6486         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
6488 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
6490         [BZ #16112]
6491         * malloc/malloc (malloc_info): Do not handle first bin as
6492         special case.
6494 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
6496         * locale/iso-639.def: Add Central Nahuatl (nhn).
6498 2013-11-01  Bruno Haible  <bruno@clisp.org>
6500         [BZ #7003]
6501         * manual/math.texi (BSD Random): Specify range upper bound as
6502         in POSIX.
6504 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
6506         * locale/iso-639.def: Add Meadow Mari (mhr).
6508 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
6510         [BZ #14752], [BZ #15763]
6511         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
6512         Validate name.
6513         * rt/tst_shm.c: Add test for escaping directory.
6515 2013-10-31  Andreas Schwab  <schwab@suse.de>
6517         [BZ #15917]
6518         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
6519         followed by 'x' as part of digit sequence.
6520         * stdio-common/tst-sscanf.c (double_tests2): New tests.
6522 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6524         [BZ #16037]
6525         * configure.ac: allow GNU Make 4.0 and greater.
6526         * configure: Regenerated.
6528 2013-10-30  Will Newton  <will.newton@linaro.org>
6530         [BZ #16038]
6531         * malloc/hooks.c (memalign_check): Limit alignment to the
6532         maximum representable power of two.
6533         * malloc/malloc.c (__libc_memalign): Likewise.
6534         * malloc/tst-memalign.c (do_test): Add test for very
6535         large alignment values.
6536         * malloc/tst-posix_memalign.c (do_test): Likewise.
6538 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6540         [BZ #11087]
6541         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
6542         (munmap_chunk): Likewise.
6543         (mremap_chunk): Likewise.
6545 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6547         [BZ #15799]
6548         * stdlib/div.c (div): Remove obsolete code.
6549         * stdlib/ldiv.c (ldiv): Likewise.
6550         * stdlib/lldiv.c (lldiv): Likewise.
6552 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6554         [BZ #16071]
6555         * nss/nss_files/files-XXX.c (get_contents_ret): New
6556         enumerator.
6557         (get_contents): New function.
6558         (internal_getent): Use it.  Expand size of LINEBUFLEN.
6560 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
6562         * configure.in: Moved to ...
6563         * configure.ac: ... here. Change reference to configure.in
6564         to configure.ac.
6565         * sysdeps/arm/preconfigure.ac: ... here.
6566         configure.in to configure.ac.
6567         * sysdeps/gnu/configure.in: Moved to ...
6568         * sysdeps/gnu/configure.ac: ... here.
6569         * sysdeps/i386/configure.in: Moved to ...
6570         * sysdeps/i386/configure.ac: ... here.
6571         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
6572         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
6573         * sysdeps/mach/configure.in: Moved to ...
6574         * sysdeps/mach/configure.ac: ... here.
6575         * sysdeps/mach/hurd/configure.in: Moved to ...
6576         * sysdeps/mach/hurd/configure.ac: ... here.
6577         * sysdeps/powerpc/configure.in: Moved to ...
6578         * sysdeps/powerpc/configure.ac: ... here.
6579         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
6580         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
6581         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
6582         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
6583         * sysdeps/s390/s390-32/configure.in: Moved to ...
6584         * sysdeps/s390/s390-32/configure.ac: ... here.
6585         * sysdeps/s390/s390-64/configure.in: Moved to ...
6586         * sysdeps/s390/s390-64/configure.ac: ... here.
6587         * sysdeps/sh/configure.in: Moved to ...
6588         * sysdeps/sh/configure.ac: ... here.
6589         * sysdeps/sparc/configure.in: Moved to ...
6590         * sysdeps/sparc/configure.ac: ... here.
6591         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
6592         * sysdeps/unix/sysv/linux/configure.ac: ... here.
6593         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
6594         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
6595         * sysdeps/x86_64/configure.in: Moved to ...
6596         * sysdeps/x86_64/configure.ac: ... here.
6597         * sysdeps/x86_64/preconfigure.in: Moved to ...
6598         * sysdeps/x86_64/preconfigure.ac: ... here.
6599         * aclocal.m4: Change reference to configure.in to configure.ac.
6600         * config.h.in: Likewise.
6601         * manual/install.texi: Likewise.
6602         * manual/maint.texi: Likewise.
6603         * Makefile: Likewise.
6604         * malloc/Makefile: Likewise.
6605         * nscd/Makefile: Likewise.
6606         * Makeconfig: Change reference to configure.in and
6607         preconfigure.in to configure.ac and preconfigure.ac
6608         respectively.
6609         * INSTALL: Regenerated.
6610         * configure: Likewise.
6611         * sysdeps/gnu/configure: Likewise.
6612         * sysdeps/i386/configure: Likewise.
6613         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
6614         * sysdeps/mach/configure: Likewise.
6615         * sysdeps/mach/hurd/configure: Likewise.
6616         * sysdeps/powerpc/configure: Likewise.
6617         * sysdeps/powerpc/powerpc32/configure: Likewise.
6618         * sysdeps/powerpc/powerpc64/configure: Likewise.
6619         * sysdeps/s390/s390-32/configure: Likewise.
6620         * sysdeps/s390/s390-64/configure: Likewise.
6621         * sysdeps/sh/configure: Likewise.
6622         * sysdeps/sparc/configure: Likewise.
6623         * sysdeps/unix/sysv/linux/configure: Likewise.
6624         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
6625         * sysdeps/x86_64/configure: Likewise.
6626         * sysdeps/x86_64/preconfigure: Likewise.
6628 2013-10-29  Andreas Schwab  <schwab@suse.de>
6630         * stdio-common/Makefile (tst-swscanf-ENV): Define.
6632 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6634         * benchtests/pow-inputs: Add new inputs.
6636         * benchtests/exp-inputs: Add new inputs.
6638         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
6639         conditional check for return value.
6640         (__cos32): Likewise.
6642 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6644         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
6645         to provide a boost for large inputs with word alignment.
6646         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
6647         implementation based on optimized PPC64 strcpy.
6648         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
6649         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
6650         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
6651         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
6653 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6655         [BZ #2801]
6656         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
6658 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6660         [BZ #14876]
6661         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
6662         * time/tst-strptime.c (day_tests): Add testcase.
6664 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6666         [BZ #14029]
6667         * manual/pattern.texi: Acknowledge that fnmatch can fail.
6669 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
6671         [BZ #16074]
6672         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
6673         MAP_FAILED on error.
6675 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6677         [BZ #16072]
6678         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
6679         heap for large requests.
6681 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
6683         [BZ #9954]
6684         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
6685         result if the result has no associated interface.
6686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
6687         interface for all 127.X.Y.Z addresses.
6689 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
6691         * locale/iso-639.def: Add Ligurian (lij)
6693 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
6695         [BZ #15825]
6696         * sunrpc/rpc_main.c: Document rpcgen -5.
6698 2013-10-19  Michael Stahl  <mstahl@redhat.com>
6700         * elf/rtld.c (do_preload): Print the reason why preloading failed.
6702 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6704         [BZ #10278]
6705         * posix/glob.c: Match only directories when trailing slash is present.
6706         * posix/tst-gnuglob.c (my_opendir): Do not open files.
6707         (main): Add testcase.
6709 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6711         [BZ #15670]
6712         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6714 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
6716         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6717         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6718         AUTH_DES and cindex for FIPS 140-2.
6719         (DES Encryption): Add cindex FIPS 46-3.
6721         * locale/locarchive.h (struct locarhandle): Add fname.
6722         * locale/programs/localedef.c (main): Pass ARGV[remaining]
6723         if an optional argument was specified to --list-archive,
6724         otherwise NULL.
6725         * locale/programs/locarchive.c (show_archive_content): Take new
6726         argument fname and pass it via ah.fname to open_archive.
6727         * locale/programs/localedef.h: Update decl.
6728         (open_archive): If AH->fname is non-null, open that file
6729         rather than the default file name, and don't ignore ENOENT.
6730         (create_archive): Set AH.fname to NULL.
6731         (delete_locales_from_archive): Likewise.
6732         (add_locales_to_archive): Likewise.
6733         * locale/programs/locfile.c (write_all_categories): Likewise.
6735 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
6736             Aldy Hernandez  <aldyh@redhat.com>
6738         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6739         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6740         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6741         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6742         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6744         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6745         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6746         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6747         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6748         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6749         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6750         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6751         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6752         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6753         Likewise.
6754         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6755         Likewise.
6756         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6757         Likewise.
6758         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6759         Likewise.
6760         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6761         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6762         Likewise.
6763         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6764         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6765         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6766         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6767         Likewise.
6768         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6769         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6770         * sysdeps/powerpc/preconfigure: Likewise.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6772         Likewise.
6773         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6774         Replace contents of file by #include of <fenv_libc.h>.
6775         * sysdeps/powerpc/soft-fp/sfp-machine.h
6776         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6777         and <sys/prctl.h>.
6778         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6781         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6791         Allow copysignl PLT reference to be missing.
6793 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
6794             Joseph Myers  <joseph@codesourcery.com
6796         [BZ #15948]
6797         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6798         single character.
6799         (add_to_tablewc): Assert sequence of wide characters is nonempty.
6801 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6803         * elf/tst-tls-dlinfo.c: Don't include tls.h.
6804         * elf/tst-tls1.c: Likewise.
6805         * elf/tst-tls10.h: Likewise.
6806         * elf/tst-tls14.c: Likewise.
6807         * elf/tst-tls2.c: Likewise.
6808         * elf/tst-tls3.c: Likewise.
6809         * elf/tst-tls4.c: Likewise.
6810         * elf/tst-tls5.c: Likewise.
6811         * elf/tst-tls6.c: Likewise.
6812         * elf/tst-tls7.c: Likewise.
6813         * elf/tst-tls8.c: Likewise.
6814         * elf/tst-tls9.c: Likewise.
6815         * elf/tst-tlsmod1.c: Likewise.
6816         * elf/tst-tlsmod13.c: Likewise.
6817         * elf/tst-tlsmod13a.c: Likewise.
6818         * elf/tst-tlsmod14a.c: Likewise.
6819         * elf/tst-tlsmod16a.c: Likewise.
6820         * elf/tst-tlsmod16b.c: Likewise.
6821         * elf/tst-tlsmod2.c: Likewise.
6822         * elf/tst-tlsmod3.c: Likewise.
6823         * elf/tst-tlsmod4.c: Likewise.
6824         * elf/tst-tlsmod5.c: Likewise.
6825         * elf/tst-tlsmod6.c: Likewise.
6827 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
6829         [BZ #12486]
6830         * malloc/malloc.c: remove checks for statistics.
6832 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6834         [BZ #15277]
6835         * inet/inet_net.c (inet_network): Detect additional invalid strings.
6836         * inet/tst-network.c: Add testcase.
6838 2013-10-17  Andreas Schwab  <schwab@suse.de>
6840         [BZ #15218]
6841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6842         to determine canonical name.
6844 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6846         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6847         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6849         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6850         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6851         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6852         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6853         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6854         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6855         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6856         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6857         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6858         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6859         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6860         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6861         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6862         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6863         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6864         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6865         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6866         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6867         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6868         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6869         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6870         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6871         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6872         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6873         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6874         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6875         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6876         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6877         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6878         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6879         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6880         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6881         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6882         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6883         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6884         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6885         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6886         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6887         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6888         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6889         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6890         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6891         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6892         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6893         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6894         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6895         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6896         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6897         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6898         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6899         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6900         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6901         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6903         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6905 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
6907         [BZ #16041]
6908         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6909         make result into a quiet NaN.
6911 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
6913         * soft-fp/adddf3.c: Fix horizontal whitespace.
6914         * soft-fp/addsf3.c: Likewise.
6915         * soft-fp/addtf3.c: Likewise.
6916         * soft-fp/divdf3.c: Likewise.
6917         * soft-fp/divsf3.c: Likewise.
6918         * soft-fp/divtf3.c: Likewise.
6919         * soft-fp/double.h: Likewise.
6920         * soft-fp/eqdf2.c: Likewise.
6921         * soft-fp/eqsf2.c: Likewise.
6922         * soft-fp/eqtf2.c: Likewise.
6923         * soft-fp/extenddftf2.c: Likewise.
6924         * soft-fp/extended.h: Likewise.
6925         * soft-fp/extendsfdf2.c: Likewise.
6926         * soft-fp/extendsftf2.c: Likewise.
6927         * soft-fp/extendxftf2.c: Likewise.
6928         * soft-fp/fixdfdi.c: Likewise.
6929         * soft-fp/fixdfsi.c: Likewise.
6930         * soft-fp/fixdfti.c: Likewise.
6931         * soft-fp/fixsfdi.c: Likewise.
6932         * soft-fp/fixsfsi.c: Likewise.
6933         * soft-fp/fixsfti.c: Likewise.
6934         * soft-fp/fixtfdi.c: Likewise.
6935         * soft-fp/fixtfsi.c: Likewise.
6936         * soft-fp/fixtfti.c: Likewise.
6937         * soft-fp/fixunsdfdi.c: Likewise.
6938         * soft-fp/fixunsdfsi.c: Likewise.
6939         * soft-fp/fixunsdfti.c: Likewise.
6940         * soft-fp/fixunssfdi.c: Likewise.
6941         * soft-fp/fixunssfsi.c: Likewise.
6942         * soft-fp/fixunssfti.c: Likewise.
6943         * soft-fp/fixunstfdi.c: Likewise.
6944         * soft-fp/fixunstfsi.c: Likewise.
6945         * soft-fp/fixunstfti.c: Likewise.
6946         * soft-fp/floatdidf.c: Likewise.
6947         * soft-fp/floatdisf.c: Likewise.
6948         * soft-fp/floatditf.c: Likewise.
6949         * soft-fp/floatsidf.c: Likewise.
6950         * soft-fp/floatsisf.c: Likewise.
6951         * soft-fp/floatsitf.c: Likewise.
6952         * soft-fp/floattidf.c: Likewise.
6953         * soft-fp/floattisf.c: Likewise.
6954         * soft-fp/floattitf.c: Likewise.
6955         * soft-fp/floatundidf.c: Likewise.
6956         * soft-fp/floatundisf.c: Likewise.
6957         * soft-fp/floatunditf.c: Likewise.
6958         * soft-fp/floatunsidf.c: Likewise.
6959         * soft-fp/floatunsisf.c: Likewise.
6960         * soft-fp/floatunsitf.c: Likewise.
6961         * soft-fp/floatuntidf.c: Likewise.
6962         * soft-fp/floatuntisf.c: Likewise.
6963         * soft-fp/floatuntitf.c: Likewise.
6964         * soft-fp/fmadf4.c: Likewise.
6965         * soft-fp/fmasf4.c: Likewise.
6966         * soft-fp/fmatf4.c: Likewise.
6967         * soft-fp/gedf2.c: Likewise.
6968         * soft-fp/gesf2.c: Likewise.
6969         * soft-fp/getf2.c: Likewise.
6970         * soft-fp/ledf2.c: Likewise.
6971         * soft-fp/lesf2.c: Likewise.
6972         * soft-fp/letf2.c: Likewise.
6973         * soft-fp/muldf3.c: Likewise.
6974         * soft-fp/mulsf3.c: Likewise.
6975         * soft-fp/multf3.c: Likewise.
6976         * soft-fp/negdf2.c: Likewise.
6977         * soft-fp/negsf2.c: Likewise.
6978         * soft-fp/negtf2.c: Likewise.
6979         * soft-fp/op-1.h: Likewise.
6980         * soft-fp/op-2.h: Likewise.
6981         * soft-fp/op-4.h: Likewise.
6982         * soft-fp/op-8.h: Likewise.
6983         * soft-fp/op-common.h: Likewise.
6984         * soft-fp/quad.h: Likewise.
6985         * soft-fp/single.h: Likewise.
6986         * soft-fp/soft-fp.h: Likewise.
6987         * soft-fp/sqrtdf2.c: Likewise.
6988         * soft-fp/sqrtsf2.c: Likewise.
6989         * soft-fp/sqrttf2.c: Likewise.
6990         * soft-fp/subdf3.c: Likewise.
6991         * soft-fp/subsf3.c: Likewise.
6992         * soft-fp/subtf3.c: Likewise.
6993         * soft-fp/truncdfsf2.c: Likewise.
6994         * soft-fp/trunctfdf2.c: Likewise.
6995         * soft-fp/trunctfsf2.c: Likewise.
6996         * soft-fp/trunctfxf2.c: Likewise.
6997         * soft-fp/unorddf2.c: Likewise.
6998         * soft-fp/unordsf2.c: Likewise.
6999         * soft-fp/unordtf2.c: Likewise.
7001 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7003         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7004         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7006 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7008         * elf/dl-libc.c: Clear initfini list after freeing.
7010 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7012         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7013         * soft-fp/addsf3.c: Likewise.
7014         * soft-fp/addtf3.c: Likewise.
7015         * soft-fp/divdf3.c: Likewise.
7016         * soft-fp/divsf3.c: Likewise.
7017         * soft-fp/divtf3.c: Likewise.
7018         * soft-fp/double.h: Likewise.
7019         * soft-fp/eqdf2.c: Likewise.
7020         * soft-fp/eqsf2.c: Likewise.
7021         * soft-fp/eqtf2.c: Likewise.
7022         * soft-fp/extenddftf2.c: Likewise.
7023         * soft-fp/extended.h: Likewise.
7024         * soft-fp/extendsfdf2.c: Likewise.
7025         * soft-fp/extendsftf2.c: Likewise.
7026         * soft-fp/extendxftf2.c: Likewise.
7027         * soft-fp/fixdfdi.c: Likewise.
7028         * soft-fp/fixdfsi.c: Likewise.
7029         * soft-fp/fixdfti.c: Likewise.
7030         * soft-fp/fixsfdi.c: Likewise.
7031         * soft-fp/fixsfsi.c: Likewise.
7032         * soft-fp/fixsfti.c: Likewise.
7033         * soft-fp/fixtfdi.c: Likewise.
7034         * soft-fp/fixtfsi.c: Likewise.
7035         * soft-fp/fixtfti.c: Likewise.
7036         * soft-fp/fixunsdfdi.c: Likewise.
7037         * soft-fp/fixunsdfsi.c: Likewise.
7038         * soft-fp/fixunsdfti.c: Likewise.
7039         * soft-fp/fixunssfdi.c: Likewise.
7040         * soft-fp/fixunssfsi.c: Likewise.
7041         * soft-fp/fixunssfti.c: Likewise.
7042         * soft-fp/fixunstfdi.c: Likewise.
7043         * soft-fp/fixunstfsi.c: Likewise.
7044         * soft-fp/fixunstfti.c: Likewise.
7045         * soft-fp/floatdidf.c: Likewise.
7046         * soft-fp/floatdisf.c: Likewise.
7047         * soft-fp/floatditf.c: Likewise.
7048         * soft-fp/floatsidf.c: Likewise.
7049         * soft-fp/floatsisf.c: Likewise.
7050         * soft-fp/floatsitf.c: Likewise.
7051         * soft-fp/floattidf.c: Likewise.
7052         * soft-fp/floattisf.c: Likewise.
7053         * soft-fp/floattitf.c: Likewise.
7054         * soft-fp/floatundidf.c: Likewise.
7055         * soft-fp/floatundisf.c: Likewise.
7056         * soft-fp/floatunsidf.c: Likewise.
7057         * soft-fp/floatunsisf.c: Likewise.
7058         * soft-fp/floatuntidf.c: Likewise.
7059         * soft-fp/floatuntisf.c: Likewise.
7060         * soft-fp/floatuntitf.c: Likewise.
7061         * soft-fp/fmadf4.c: Likewise.
7062         * soft-fp/fmasf4.c: Likewise.
7063         * soft-fp/fmatf4.c: Likewise.
7064         * soft-fp/gedf2.c: Likewise.
7065         * soft-fp/gesf2.c: Likewise.
7066         * soft-fp/getf2.c: Likewise.
7067         * soft-fp/ledf2.c: Likewise.
7068         * soft-fp/lesf2.c: Likewise.
7069         * soft-fp/letf2.c: Likewise.
7070         * soft-fp/muldf3.c: Likewise.
7071         * soft-fp/mulsf3.c: Likewise.
7072         * soft-fp/multf3.c: Likewise.
7073         * soft-fp/negdf2.c: Likewise.
7074         * soft-fp/negsf2.c: Likewise.
7075         * soft-fp/negtf2.c: Likewise.
7076         * soft-fp/op-1.h: Likewise.
7077         * soft-fp/op-2.h: Likewise.
7078         * soft-fp/op-4.h: Likewise.
7079         * soft-fp/op-8.h: Likewise.
7080         * soft-fp/op-common.h: Likewise.
7081         * soft-fp/quad.h: Likewise.
7082         * soft-fp/single.h: Likewise.
7083         * soft-fp/soft-fp.h: Likewise.
7084         * soft-fp/sqrtdf2.c: Likewise.
7085         * soft-fp/sqrtsf2.c: Likewise.
7086         * soft-fp/sqrttf2.c: Likewise.
7087         * soft-fp/subdf3.c: Likewise.
7088         * soft-fp/subsf3.c: Likewise.
7089         * soft-fp/subtf3.c: Likewise.
7090         * soft-fp/truncdfsf2.c: Likewise.
7091         * soft-fp/trunctfdf2.c: Likewise.
7092         * soft-fp/trunctfsf2.c: Likewise.
7093         * soft-fp/trunctfxf2.c: Likewise.
7094         * soft-fp/unorddf2.c: Likewise.
7095         * soft-fp/unordsf2.c: Likewise.
7096         * soft-fp/unordtf2.c: Likewise.
7098 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7100         [BZ #15672]
7101         * misc/error.c (error_tail): Fix possible buffer overflow.
7103 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7105         [BZ #13028]
7106         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7107         address.
7109 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7111         [BZ #832]
7112         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7113         testing pipefail option.
7115 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7117         * soft-fp/double.h: Indent preprocessor directives inside #if.
7118         * soft-fp/extended.h: Likewise.
7119         * soft-fp/op-2.h: Likewise.
7120         * soft-fp/op-4.h: Likewise.
7121         * soft-fp/op-common.h: Likewise.
7122         * soft-fp/quad.h: Likewise.
7123         * soft-fp/single.h: Likewise.
7124         * soft-fp/soft-fp.h: Likewise.
7126 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7128         * iconv/iconv_prog.c: Fix typos.
7129         * stdio-common/psiginfo-data.h: Likewise.
7131 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7133         [BZ #15764]
7134         * locale/setlocale.c: Fix typo.
7136 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #16036]
7139         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7140         signaling NaN arguments.
7141         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7142         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7144         [BZ #14910]
7145         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7146         unordered operands.
7147         * soft-fp/gesf2.c (__gesf2): Likewise.
7148         * soft-fp/getf2.c (__getf2): Likewise.
7149         * soft-fp/ledf2.c (__ledf2): Likewise.
7150         * soft-fp/lesf2.c (__lesf2): Likewise.
7151         * soft-fp/letf2.c (__letf2): Likewise.
7153         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7154         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7155         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7156         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7157         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7158         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7159         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7160         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7161         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7162         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7163         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7164         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7165         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7166         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7167         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7168         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7169         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7170         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7171         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7172         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7173         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7174         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7175         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7176         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7177         * soft-fp/floattidf.c (__floattidf): Likewise.
7178         * soft-fp/floattisf.c (__floattisf): Likewise.
7179         * soft-fp/floattitf.c (__floattitf): Likewise.
7180         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7181         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7182         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7183         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7184         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7185         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7186         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7187         * soft-fp/gesf2.c (__gesf2): Likewise.
7188         * soft-fp/getf2.c (__getf2): Likewise.
7189         * soft-fp/ledf2.c (__ledf2): Likewise.
7190         * soft-fp/lesf2.c (__lesf2): Likewise.
7191         * soft-fp/letf2.c (__letf2): Likewise.
7193         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7194         Undefine and redefine.
7195         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7196         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7197         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7198         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7199         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7200         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7201         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7202         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7203         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7204         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7205         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7206         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7207         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7208         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7209         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7211         [BZ #16032]
7212         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7213         without decrementing exponent if mantissa >= that for the
7214         denominator, not >.
7215         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7216         denominator, not >.  Decrement exponent in < case instead of
7217         incrementing in >= case.
7218         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7219         without decrementing exponent if mantissa >= that for the
7220         denominator, not >.
7222         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7223         computing saturated result for unsigned overflow.
7225 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226             Jeff Law  <law@redhat.com>
7228         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7229         (atan2Mp): Add systemtap probe marker.
7230         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7231         (__ieee754_log): Add systemtap probe marker.
7232         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7233         (atanMp): Add systemtap probe marker.
7234         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7235         (tanMp): Add systemtap probe marker.
7236         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7237         (__slowexp): Add systemtap probe marker.
7238         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7239         (__slowpow): Add systemtap probe marker.
7240         * manual/probes.texi: Document probes.
7242 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7244         [BZ #15362]
7245         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7246         written.
7247         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7248         written.
7249         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7250         written to buffer but not flushed.
7251         * libio/iofwrite_u.c:  Likewise.
7252         * libio/iopadn.c:  Return bytes returned even if EOF was
7253         encountered.
7254         * libio/iowpadn.c:  Likewise.
7255         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7256         if _IO_padn does not write the whole buffer.
7257         [!COMPILE_WPRINTF] (PAD): Likewise.
7259 2013-10-10  David S. Miller  <davem@davemloft.net>
7261         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7262         directory block.
7264 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7266         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7267         instead of FSF address.
7268         * soft-fp/fixdfti.c: Likewise.
7269         * soft-fp/fixsfti.c: Likewise.
7270         * soft-fp/fixtfti.c: Likewise.
7271         * soft-fp/fixunsdfti.c: Likewise.
7272         * soft-fp/fixunssfti.c: Likewise.
7273         * soft-fp/fixunstfti.c: Likewise.
7274         * soft-fp/floattidf.c: Likewise.
7275         * soft-fp/floattisf.c: Likewise.
7276         * soft-fp/floattitf.c: Likewise.
7277         * soft-fp/floatuntidf.c: Likewise.
7278         * soft-fp/floatuntisf.c: Likewise.
7279         * soft-fp/floatuntitf.c: Likewise.
7280         * soft-fp/trunctfxf2.c: Likewise.
7282         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7283         * soft-fp/fixdfti.c: Likewise.
7284         * soft-fp/fixsfti.c: Likewise.
7285         * soft-fp/fixtfti.c: Likewise.
7286         * soft-fp/fixunsdfti.c: Likewise.
7287         * soft-fp/fixunssfti.c: Likewise.
7288         * soft-fp/fixunstfti.c: Likewise.
7289         * soft-fp/floattidf.c: Likewise.
7290         * soft-fp/floattisf.c: Likewise.
7291         * soft-fp/floattitf.c: Likewise.
7292         * soft-fp/floatuntidf.c: Likewise.
7293         * soft-fp/floatuntisf.c: Likewise.
7294         * soft-fp/floatuntitf.c: Likewise.
7295         * soft-fp/trunctfxf2.c: Likewise.
7297 2013-10-10  David S. Miller  <davem@davemloft.net>
7299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7301 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7303         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7304         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7305         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7306         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7307         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7308         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7309         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7312         for NaNs before doing comparisons on argument.
7313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7314         Likewise.
7316 2013-10-10  Will Newton  <will.newton@linaro.org>
7318         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7319         passed to _int_memalign does not overflow.
7321 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7323         * scripts/bench.pl: Add include-sources directive.
7324         * benchtests/README: Update documentation.
7326 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7328         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7329         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7330         instead of FP_INIT_ROUNDMODE.
7331         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7332         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7334         [BZ #16034]
7335         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7336         copy class of input value.
7337         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7338         not handle exceptions.
7339         * soft-fp/negsf2.c (__negsf2): Likewise.
7340         * soft-fp/negtf2.c (__negtf2): Likewise.
7341         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7343 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7345         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7346         semicolon.  From Linux kernel.
7348 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7350         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7352 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7354         [BZ #156]
7355         * manual/socket.texi: Added statement about buffer
7356         for gethostbyname2_r.
7358 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7360         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7361         Use .p2align directive instead, throughout.
7362         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7363         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7364         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7365         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7366         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7367         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7368         * sysdeps/x86_64/strchr.S: Likewise.
7369         * sysdeps/x86_64/strrchr.S: Likewise.
7371 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7373         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7375         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7377         * sysdeps/generic/math_private.h (__mpsin1): Remove
7378         declaration.
7379         (__mpcos1): Likewise.
7380         (__mpsin): New argument __range_reduce.
7381         (__mpcos): Likewise.
7382         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7383         (slow): Use __mpsin and __mpcos.
7384         (slow1): Likewise.
7385         (slow2): Likewise.
7386         (sloww): Likewise.
7387         (sloww1): Likewise.
7388         (sloww2): Likewise.
7389         (bsloww): Likewise.
7390         (bsloww1): Likewise.
7391         (bsloww2): Likewise.
7392         (cslow2): Likewise.
7393         (csloww): Likewise.
7394         (csloww1): Likewise.
7395         (csloww2): Likewise.
7396         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7397         range_reduce.  Merge in __mpsin1.
7398         (__mpcos): Likewise.
7399         (__mpsin1): Remove.
7400         (__mpcos1): Likewise.
7402 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
7404         * locale/loadlocale.c (_nl_intern_locale_data): Use
7405         LOCFILE_ALIGNED_P.
7406         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7407         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7408         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7409         obstack data is appropriately aligned.
7410         (obstack_int32_grow_fast): Likewise.
7411         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7412         * locale/programs/locfile.c (add_locale_uint32): Likewise.
7413         (add_locale_uint32_array): Likewise.
7415 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7417         * benchtests/Makefile: Remove ARGLIST and RET variables.
7418         ($(objpfx)bench-%.c): Pass only function name to the script.
7419         * benchtests/README: Update documentation.
7420         * benchtests/acos-inputs: Add new directives.
7421         * benchtests/acosh-inputs: Likewise.
7422         * benchtests/asin-inputs: Likewise.
7423         * benchtests/asinh-inputs: Likewise.
7424         * benchtests/atan-inputs: Likewise.
7425         * benchtests/atanh-inputs: Likewise.
7426         * benchtests/cos-inputs: Likewise.
7427         * benchtests/cosh-inputs: Likewise.
7428         * benchtests/exp-inputs: Likewise.
7429         * benchtests/log-inputs: Likewise.
7430         * benchtests/pow-inputs: Likewise.
7431         * benchtests/rint-inputs: Likewise.
7432         * benchtests/sin-inputs: Likewise.
7433         * benchtests/sinh-inputs: Likewise.
7434         * benchtests/tan-inputs: Likewise.
7435         * benchtests/tanh-inputs: Likewise.
7436         * scripts/bench.pl: Add support for new directives.
7438 2013-10-07  Alan Modra  <amodra@gmail.com>
7440         * README: Fix careless merge.
7442 2013-10-05  Alan Modra  <amodra@gmail.com>
7444         * NEWS: Mention powerpc64le support and bugs fixed.
7445         * README: Both big-endian and little-endian powerpc64 supported.
7447 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7449         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7450         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7451         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7452         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7454 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
7456         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7457         match prototype.
7459 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
7461         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7462         Move -mhard-float appending from
7463         ports/sysdeps/powerpc/powerpc32/Makefile.
7464         [$(with-fp) = yes] (ASFLAGS): Likewise.
7465         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
7466         * sysdeps/powerpc/nofpu: Move directory from
7467         ports/sysdeps/powerpc/nofpu.
7468         * sysdeps/powerpc/soft-fp: Move directory from
7469         ports/sysdeps/powerpc/soft-fp.
7470         * sysdeps/powerpc/powerpc32/405: Move directory from
7471         ports/sysdeps/powerpc/powerpc32/405.
7472         * sysdeps/powerpc/powerpc32/440: Move directory from
7473         ports/sysdeps/powerpc/powerpc32/440.
7474         * sysdeps/powerpc/powerpc32/464: Move directory from
7475         ports/sysdeps/powerpc/powerpc32/464.
7476         * sysdeps/powerpc/powerpc32/476: Move directory from
7477         ports/sysdeps/powerpc/powerpc32/476.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
7479         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
7481         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
7482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
7483         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
7485         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
7487         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
7488         * README: Update for powerpc-*-linux-gnu software floating point
7489         support in libc.
7491         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
7492         case to powerpc/powerpc32*.
7493         * sysdeps/unix/sysv/linux/configure: Regenerated.
7495         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
7496         (_FPU_MASK_OM): Define as 0x04.
7497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
7498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
7499         0x00c10080.
7500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
7501         0x0000003c.
7502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
7505         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7506         getcontext_e500.
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
7508         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7509         setcontext_e500.
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7511         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
7512         and setcontext_e500.
7514 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
7516         * locale/iso-3166.def: Update iso-1366.def and related occurrences
7518 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7520         * manual/threads.texi (Default Thread Attributes): Fix typo.
7522 2013-10-04  Will Newton  <will.newton@linaro.org>
7524         * malloc/Makefile: Add tst-memalign.
7525         * malloc/tst-memalign.c: New file.
7527         * malloc/tst-posix_memalign.c: Add comments.
7528         (do_test): Add comments and call free on all potentially
7529         allocated pointers. Add space after cast.
7531         * malloc/tst-pvalloc.c: Add comments.
7532         (do_test): Add comments and call free on all potentially
7533         allocated pointers. Remove duplicate check for NULL pointer.
7534         Add space after cast.
7536         * malloc/tst-valloc.c: Add comments.
7537         (do_test): Add comments and call free on all potentially
7538         allocated pointers. Remove duplicate check for NULL pointer.
7539         Add space after cast.
7541 2013-10-04  Alan Modra  <amodra@gmail.com>
7543         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7544         Use stdint types in rather than __attribute__((mode())).
7545         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7547 2013-10-04  Alan Modra  <amodra@gmail.com>
7549         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7550         Correct handling of unaligned relocs for little-endian.
7551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7553 2013-10-04  Alan Modra  <amodra@gmail.com>
7555         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
7556         * configure: Regenerate.
7557         * nptl/shlib-versions: Powerpc*le starts at 2.18.
7558         * shlib-versions: Likewise.
7560 2013-10-04  Alan Modra  <amodra@gmail.com>
7562         * string/tester.c (test_memrchr): Increment reported test cycle.
7564 2013-10-04  Alan Modra  <amodra@gmail.com>
7566         * string/test-memcpy.c (do_one_test): When reporting errors, print
7567         string address and don't overrun end of string.
7569 2013-10-04  Alan Modra  <amodra@gmail.com>
7571         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
7572         insrdi.  Make better use of reg selection to speed exit slightly.
7573         Schedule entry path a little better.  Remove useless "are we done"
7574         checks on entry to main loop.  Handle wrapping around zero address.
7575         Correct main loop count.  Handle single left-over word from main
7576         loop inline rather than by using loop_small.  Remove extra word
7577         case in loop_small caused by wrong loop count.  Add little-endian
7578         support.
7579         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
7581         cache hint.
7582         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7583         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
7584         support.  Avoid rlwimi.
7585         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
7587 2013-10-04  Alan Modra  <amodra@gmail.com>
7589         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
7590         insrdi.  Formatting.
7591         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
7592         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7593         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7594         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7595         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7596         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
7598 2013-10-04  Alan Modra  <amodra@gmail.com>
7600         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
7601         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7602         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7603         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7604         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7605         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7606         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7607         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7608         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
7609         use of regs.  Use power7 mtocrf.  Tidy function tails.
7611 2013-10-04  Alan Modra  <amodra@gmail.com>
7613         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
7614         Formatting.  Consistently use rXXX register defines or rN defines.
7615         Use early exit labels that avoid restoring unused non-volatile regs.
7616         Make cr field use more consistent with rWORDn compares.  Rename
7617         regs used as shift registers for unaligned loop, using rN defines
7618         for short lifetime/multiple use regs.
7619         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7620         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
7621         addi 1,1,64 to pop stack frame.  Simplify return value code.
7622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7624 2013-10-04  Alan Modra  <amodra@gmail.com>
7626         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
7627         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
7628         rather than rlwimi.
7629         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7630         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
7631         little-endian support.  Correct typos.
7632         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
7633         rather than rlwimi.
7634         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
7635         in loop and entry code to keep "and." results.
7636         (strchr): Add little-endian support.  Comment.  Move cntlzd
7637         earlier in tail.
7638         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
7640 2013-10-04  Alan Modra  <amodra@gmail.com>
7642         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
7643         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
7644         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7645         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
7647 2013-10-04  Alan Modra  <amodra@gmail.com>
7649         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
7650         (rTMP): Define as r11.
7651         (strcmp): Add little-endian support.  Optimise tail.
7652         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
7653         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7654         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7655         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7656         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7657         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7658         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7660 2013-10-04  Alan Modra  <amodra@gmail.com>
7662         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
7663         little-endian support.  Remove unnecessary "are we done" tests.
7664         Handle "s" wrapping around zero and extremely large "size".
7665         Correct main loop count.  Handle single left-over word from main
7666         loop inline rather than by using small_loop.  Correct comments.
7667         Delete "zero" tail, use "end_max" instead.
7668         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
7670 2013-10-04  Alan Modra  <amodra@gmail.com>
7672         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
7673         support.  Don't branch over align.
7674         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
7675         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
7676         support.  Rearrange tmp reg use to suit.  Comment.
7677         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
7679 2013-10-04  Alan Modra  <amodra@gmail.com>
7681         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
7683 2013-10-04  Alan Modra  <amodra@gmail.com>
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
7686         conditional form of branch and link when obtaining pc.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7689 2013-10-04  Alan Modra  <amodra@gmail.com>
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
7692         HIWORD/LOWORD.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
7694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7696 2013-10-04  Alan Modra  <amodra@gmail.com>
7698         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7699         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7700         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7701         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7702         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7703         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7704         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7705         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7706         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7707         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7709 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7710             Alistair Popple <alistair@ozlabs.au.ibm.com>
7711             Alan Modra <amodra@gmail.com>
7713         [BZ #15723]
7714         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7715         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7716         _dl_hwcap access for little-endian.
7717         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
7718         destroy vmx regs when saving unaligned.
7719         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7720         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
7721         destroy vmx regs when saving unaligned.
7723 2013-10-04  Alan Modra  <amodra@gmail.com>
7725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7726         Don't use a union to pack hi/low value.
7728 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7730         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7731         for little-endian.
7732         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7733         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7734         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7735         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7736         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7738 2013-10-04  Alan Modra  <amodra@gmail.com>
7740         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7741         constants to usual value for .cst8 section, and remove redundant
7742         high address load.
7743         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7744         constant for 0x1p52.  Load little-endian words of double from
7745         correct stack offsets.
7747 2013-10-04  Alan Modra  <amodra@gmail.com>
7749         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7750         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7751         words of double from correct stack offsets.
7752         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7753         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7754         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7755         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7757         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7758         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7759         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7760         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7761         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7762         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7763         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7764         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7765         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7766         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7767         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7768         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7770 2013-10-04  Alan Modra  <amodra@gmail.com>
7772         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7773         64-bit int/double union.
7774         (_FPU_SETCW): Likewise.
7775         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7776         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7778 2013-10-04  Alan Modra  <amodra@gmail.com>
7780         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7781         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7783 2013-10-04  Alan Modra  <amodra@gmail.com>
7785         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7786         use vector int constants.
7787         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7789 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7791         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7792         array with long long.
7793         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7794         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7795         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7796         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7797         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7798         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7799         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7800         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7801         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7802         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7803         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7804         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7805         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7807 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7809         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7810         (__signbit): Likewise.  Correct for little-endian.
7811         (__signbitl): Call __signbit.
7812         (lrint): Correct for little-endian.
7813         (lrintf): Call lrint.
7815 2013-10-04  Alan Modra  <amodra@gmail.com>
7817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7818         union 32-bit int array member with 64-bit int array.
7819         (t515, tm256): Double rather than long double.
7820         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7822 2013-10-04  Alan Modra  <amodra@gmail.com>
7824         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7825         Delete.
7826         (IEEE854_LONG_DOUBLE_BIAS): Delete.
7827         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7828         version of math_ldbl.h.
7830 2013-10-04  Alan Modra  <amodra@gmail.com>
7832         [BZ #15734], [BZ #15735]
7833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7834         all uses of ieee875 long double macros and unions.  Simplify test
7835         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
7836         ldbl_extract_mantissa value for ix,iy exponents.  Properly
7837         normalize after ldbl_extract_mantissa, and don't add hidden bit
7838         already handled.  Don't treat low word of ieee854 mantissa like
7839         low word of IBM long double and mask off bit when testing for
7840         zero.
7841         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7842         all uses of ieee875 long double macros and unions.  Simplify tests
7843         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
7844         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
7845         two1022, instead use their values.  Recognise that tests for large
7846         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
7847         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7848         Rewrite all uses of ieee875 long double macros and unions.  Simplify
7849         test for 0.0L and nan.  Correct negation.
7850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7851         ieee875 long double macros and unions.  Correct output for large
7852         magnitude x.  Correct absolute value calculation.
7853         (__erfcl): Likewise.
7854         * math/libm-test.inc: Add tests for errors discovered in IBM long
7855         double versions of fmodl, remainderl, erfl and erfcl.
7857 2013-10-04  Alan Modra  <amodra@gmail.com>
7859         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7860         all uses of ieee854 long double macros and unions.  Simplify tests
7861         for long doubles that are fully specified by the high double.
7862         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7863         Likewise.
7864         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7865         Remove dead code too.
7866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7867         (__ieee754_ynl): Likewise.
7868         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7869         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7870         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7871         Remove dead code too.
7872         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7873         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7874         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7875         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7876         Simplify.
7877         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7878         Simplify.
7879         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7882         Comment on variable precision.
7883         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7885         Likewise.
7886         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7890         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7892 2013-10-04  Alan Modra  <amodra@gmail.com>
7894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7895         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7896         all uses of ieee854 long double macros and unions.
7897         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7900         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7901         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7902         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7903         Likewise.
7904         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7905         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7906         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7907         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7908         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7909         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7910         Simplify sign and nan test too.
7911         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7912         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7913         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7914         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7915         Likewise.
7916         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7917         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7918         Likewise.
7919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7921         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7922         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7923         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7924         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7926 2013-10-04  Alan Modra  <amodra@gmail.com>
7928         * stdio-common/printf_size.c (__printf_size): Don't use
7929         union ieee854_long_double in fpnum union.
7930         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
7931         signbit macro to retrieve sign from long double.
7932         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7933         retrieve sign from long double.
7934         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7935         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7936         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7937         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7938         * math/test-misc.c (main): Don't use union ieee854_long_double.
7940 2013-10-04  Alan Modra  <amodra@gmail.com>
7942         [BZ #15680]
7943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7944         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7945         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7946         calculation.  Remove unnecessary test for denormal exponent.
7947         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7948         Correct handling of denormals.  Avoid undefined shift behaviour.
7949         Correct normalisation of low mantissa when low double is denormal.
7950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7951         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
7952         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7953         Correct normalisation of low mantissa.  Test for overflow of high
7954         mantissa and normalise.
7955         (ldbl_nearbyint): Use more readable constant for two52.
7956         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7957         (__mpn_construct_long_double): Fix test for overflow of high
7958         mantissa and correct normalisation.  Avoid undefined shift.
7960 2013-10-04  Alan Modra  <amodra@gmail.com>
7962         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7963         (union ibm_extended_long_double): Define as an array of ieee754_double.
7964         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7965         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7966         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7967         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7969         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7972         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7973         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7974         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7976 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
7978         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7979         page size instead of calling getpagesize.
7981         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7982         (LOCFILE_ALIGN_MASK): Likewise.
7983         (LOCFILE_ALIGN_UP): Likewise.
7984         (LOCFILE_ALIGNED_P): Likewise.
7985         * locale/programs/ld-collate.c (collate_output): Use the new
7986         macros instead of __alignof__ (int32_t).
7987         * locale/weight.h (findidx): Likewise.
7989 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
7991         [BZ #431]
7992         * manual/string.texi: Fix strncat and wcsncat.
7994 2013-10-03  Brooks Moses  <bmoses@google.com>
7996         [BZ #15915]
7997         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7998         * Makerules: ...here, and adjust associated comments.
8000 2013-10-02  Will Newton  <will.newton@linaro.org>
8002         * malloc/Makefile: Add tst-pvalloc.
8003         * malloc/tst-pvalloc.c: New file.
8005 2013-10-02  Will Newton  <will.newton@linaro.org>
8007         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8008         improve test coverage.
8010 2013-10-02  Will Newton  <will.newton@linaro.org>
8012         * malloc/Makefile: Add tst-posix_memalign.
8013         * malloc/tst-posix_memalign.c: New file.
8015 2013-10-01  Eric Blake  <eblake@redhat.com>
8017         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8018         Use __THROWNL rather than __THROW on static functions.
8020 2013-09-30  Petr Machata  <pmachata@redhat.com>
8022         * elf/elf.h (R_AARCH64_ABS16): New macro.
8023         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8024         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8025         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8026         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8027         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8028         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8029         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8030         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8031         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8032         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8033         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8034         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8035         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8036         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8037         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8038         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8039         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8040         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8041         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8042         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8043         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8044         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8045         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8046         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8047         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8048         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8049         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8050         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8051         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8052         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8053         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8054         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8055         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8056         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8057         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8058         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8059         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8060         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8061         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8062         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8063         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8064         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8065         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8066         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8067         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8068         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8069         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8070         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8071         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8072         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8073         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8074         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8075         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8076         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8077         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8078         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8079         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8080         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8081         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8082         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8083         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8084         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8085         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8086         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8087         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8088         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8089         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8090         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8091         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8092         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8093         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8094         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8095         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8096         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8097         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8098         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8099         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8100         (R_AARCH64_TLSDESC_LDR): Likewise.
8101         (R_AARCH64_TLSDESC_ADD): Likewise.
8102         (R_AARCH64_TLSDESC_CALL): Likewise.
8104 2013-09-30  Andreas Schwab  <schwab@suse.de>
8106         [BZ #15048]
8107         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8108         the nss database lookup.
8109         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8112 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8114         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8116 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8118         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8119         ${Bash-specific parameter/pattern/string} parameter expansion.
8120         * sysdeps/unix/make-syscalls.sh: Likewise.
8122 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8124         * sysdeps/sh/stackguard-macros.h: New file.
8126 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8130         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8131         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8132         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8133         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8135 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8137         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8138         Fix thread ID register.
8140 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8142         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8143         [POSIX || UNIX98]: Require rather than permitting all symbols from
8144         <time.h>.
8145         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8146         element of struct sched_param.
8147         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8148         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8149         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8150         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8151         constant.
8153 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8155         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8156         argument calculation.
8158 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8160         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8161         Expect macro.
8162         [POSIX] (pthread_attr_t): Do not require type.
8163         [POSIX] (pthread_cond_t): Likewise.
8164         [POSIX] (pthread_condattr_t): Likewise.
8165         [POSIX] (pthread_key_t): Likewise.
8166         [POSIX] (pthread_mutex_t): Likewise.
8167         [POSIX] (pthread_mutexattr_t): Likewise.
8168         [POSIX] (pthread_once_t): Likewise.
8169         [POSIX] (pthread_t): Likewise.
8170         [POSIX-based standards] (pthread_atfork): Expect function.
8172 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8173             Richard Sandiford  <richard@codesourcery.com>
8175         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8176         (swap_endianness_p): New extern variable.
8177         (set_big_endian): New inline function.
8178         (maybe_swap_uint32): Likewise.
8179         (maybe_swap_uint32_array): Likewise.
8180         (maybe_swap_uint32_obstack): Likewise.
8181         * locale/programs/locfile.c: Include <stdbool.h>.
8182         (swap_endianness_p): New variable.
8183         (add_locale_uint32): Call maybe_swap_uint32.
8184         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8185         (write_locale_data): Call maybe_swap_uint32_array.
8186         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8187         maybe_swap_uint32.
8188         (obstack_int32_grow_fast): Likewise.
8189         (output_weightwc): Call maybe_swap_uint32_obstack.
8190         (collate_output): Likewise.
8191         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8192         (OPT_LITTLE_ENDIAN): Likewise.
8193         (options): Add --little-endian and --big-endian options.
8194         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8195         * locale/programs/locarchive.c: Include "locfile.h".
8196         (GET): New macro.
8197         (SET): Likewise.
8198         (INC): Likewise.
8199         (create_archive): Use the new macros to access fields of
8200         structures directly mapped from or written to locale archives.
8201         (oldlocrecentcmp): Likewise.
8202         (enlarge_archive): Likewise.
8203         (insert_name): Likewise.
8204         (add_alias): Likewise.
8205         (add_locale): Likewise.
8206         (delete_locales_from_archive): Likewise.
8207         (show_archive_content): Likewise.
8208         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8209         locale data.
8211 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8213         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8214         http://www.gnu.org/doc/freemanuals.texi.
8215         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8217 2013-09-24  Will Newton  <will.newton@linaro.org>
8219         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8220         macro.
8222 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8224         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8225         unsigned char.
8227 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8229         * manual/threads.texi (POSIX Threads): Fix a typo.
8231 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8233         [BZ #14547]
8234         * string/tst-strcoll-overflow.c: New test case.
8235         * string/Makefile (xtests): Add tst-strcoll-overflow.
8236         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8237         cache if string sizes may cause integer overflow.
8239         [BZ #14547]
8240         * string/strcoll_l.c (coll_seq): New members rule, idx,
8241         save_idx and back_us.
8242         (get_next_seq_nocache): New function.
8243         (do_compare_nocache): New function.
8244         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8245         when malloc fails.
8247 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8249         [BZ #15754]
8250         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8251         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8252         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8254         [BZ #15754]
8255         * elf/Makefile (tests): Add tst-ptrguard1.
8256         (tests-static): Add tst-ptrguard1-static.
8257         (tst-ptrguard1-ARGS): Define.
8258         (tst-ptrguard1-static-ARGS): Define.
8259         * elf/tst-ptrguard1.c: New file.
8260         * elf/tst-ptrguard1-static.c: New file.
8261         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8262         * sysdeps/i386/stackguard-macros.h: Likewise.
8263         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8264         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8265         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8266         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8267         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8268         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8270 2013-09-23  Hector Marco  <hecmargi@upv.es>
8271             Ismael Ripoll  <iripoll@disca.upv.es>
8272             Carlos O'Donell  <carlos@redhat.com>
8274         [BZ #15754]
8275         * sysdeps/generic/stackguard-macros.h: Define
8276         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8277         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8278         Define __pointer_chk_guard_local.
8279         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8280         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8282 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8284         [BZ #15859]
8285         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8287 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8289         * include/string.h (__ffs): Declare as hidden.
8290         * string/ffs.c (__ffs): Define as hidden.
8291         * sysdeps/i386/ffs.c (__ffs): Likewise.
8292         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8293         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8294         * sysdeps/s390/ffs.c (__ffs): Likewise.
8295         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8297 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8299         * NEWS: Mention malloc probes.
8301         * malloc/arena.c (new_heap): New memory_heap_new probe.
8302         (grow_heap): New memory_heap_more probe.
8303         (shrink_heap): New memory_heap_less probe.
8304         (heap_trim): New memory_heap_free probe.
8305         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8306         (systrim): New memory_sbrk_less probe.
8307         * manual/probes.texi: Document them.
8309         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8310         * manual/probes.texi: Document it.
8312         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8313         (__libc_realloc): Add memory_realloc_retry probe.
8314         (__libc_memalign): Add memory_memalign_retry probe.
8315         (__libc_valloc): Add memory_valloc_retry probe.
8316         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8317         (__libc_calloc): Add memory_calloc_retry probe.
8318         * manual/probes.texi: Document them.
8320         * malloc/arena.c (get_free_list): Add probe
8321         memory_arena_reuse_free_list.
8322         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8323         and memory_arena_reuse.
8324         (arena_get2) [!PER_THREAD]: Likewise.
8325         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8326         memory_arena_reuse_realloc.
8327         * manual/probes.texi: Document them.
8329         * malloc/malloc.c (__libc_free): Add
8330         memory_mallopt_free_dyn_thresholds probe.
8331         (__libc_mallopt): Add multiple memory_mallopt probes.
8332         * manual/probes.texi: Document them.
8334         * malloc/malloc.c: Include stap-probe.h.
8335         (__libc_mallopt): Add memory_mallopt probe.
8336         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8337         * manual/probes.texi: New.
8338         * manual/Makefile (chapters): Add probes.
8339         * manual/threads.texi: Set next node.
8341 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8343         [BZ #15963, #13985]
8344         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8345         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8346         Add `Chinese' to `nan' entry name.
8348 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8351         (POLYNOMIAL): Likewise.
8352         (TAYLOR_SINCOS): Likewise.
8353         (TAYLOR_SLOW): Likewise.
8354         (__sin): Use TAYLOR_SINCOS.
8355         (__cos): Likewise.
8356         (slow): Use TAYLOR_SLOW.
8357         (sloww): Likewise.
8358         (bsloww): Likewise.
8359         (csloww): Likewise.
8361 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8363         * stdlib/strtod_l.c: Fix buffer overrun.
8365 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8367         * benchtests/Makefile (bench): Add sincos.
8368         * benchtests/bench-sincos.c: New file.
8370         * math/libm-test.inc (cos_test_data): New test inputs.
8371         (sin_test_data): Likewise.
8373         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8374         macro.
8375         (__sin): Use it.
8376         (__cos): Likewise.
8377         (slow1): Likewise.
8378         (slow2): Likewise.
8379         (sloww1): Likewise.
8380         (sloww2): Likewise.
8381         (bsloww1): Likewise.
8382         (bsloww2): Likewise.
8383         (cslow2): Likewise.
8384         (csloww1): Likewise.
8385         (csloww2): Likewise.
8387         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8388         function.
8389         (__sin): Use it.
8390         (__cos): Likewise.
8392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8393         gotos.
8394         (__cos): Likewise.
8396 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
8398         * config.h.in (HAVE_MIPS_NAN2008): New macro.
8399         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8400         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8401         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8402         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8403         * elf/cache.c (print_entry): Handle the new cache flags.
8405 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8406             Aldy Hernandez  <aldyh@redhat.com>
8408         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8409         Change condition to [_SOFT_FLOAT].
8410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8422         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8425         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8426         declaration.
8428 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8430         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8431         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8432         (__longjmp): Use LOAD_GP to load saved GPRs.
8433         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8434         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8435         (__sigsetjmp): Use SAVE_GP to save GPRs.
8437         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8438         Do not append -msoft-float.
8439         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8441 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8443         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8445 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
8447         [BZ #15966]
8448         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8449         (_FPU_GETCW): Use initial "__" on variable and field names but not
8450         on macro parameter name.
8451         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
8452         parentheses around reference to macro parameter.
8454 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
8456         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8457         prototype.
8458         (ctype_startup): Use uint32_t in cast and sizeof for
8459         ctype->charnames.
8461 2013-09-11  Jia Liu  <proljc@gmail.com>
8463         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8464         __daddr_t_defined.
8465         [__FreeBSD__]: Likewise.
8467 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
8469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8470         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
8471         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
8472         (strchr): Remove __strchr_sse42 ifunc selection.
8473         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
8474         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
8476 2013-09-11  Will Newton  <will.newton@linaro.org>
8478         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
8479         parameter to RES. Remove hardcoded 1000 value.
8480         * benchtests/bench-skeleton.c (main): Pass RES parameter
8481         to TIMING_INIT and multiply result by 1000.
8483 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8487 2013-09-11  Andreas Schwab  <schwab@suse.de>
8489         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8490         if not defined.
8491         (O_TMPFILE) [__USE_GNU]: Define.
8492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
8493         Define.
8495 2013-09-11  Will Newton  <will.newton@linaro.org>
8497         [BZ #15857]
8498         * malloc/malloc.c (__libc_memalign): Check the value of bytes
8499         does not overflow.
8501 2013-09-11  Will Newton  <will.newton@linaro.org>
8503         [BZ #15856]
8504         * malloc/malloc.c (__libc_valloc): Check the value of bytes
8505         does not overflow.
8507 2013-09-11  Will Newton  <will.newton@linaro.org>
8509         [BZ #15855]
8510         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
8511         does not overflow.
8513 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
8515         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
8516         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8517         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8518         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8519         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8521 2013-09-10  Allan McRae  <allan@archlinux.org>
8523         [BZ #15748]
8524         * manual/arith.texi (Parsing of Floats): Clarify
8525         cross-reference.
8527         [BZ #15849]
8528         * manual/install.texi (Running make install): Mention
8529         --enable-pt-chown.
8530         * INSTALL: Regenerated.
8532 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
8534         * csu/init-first.c (_init): Remove the !SHARED condition around
8535         FPU control word initialization.
8536         * elf/dl-support.c (_dl_fpu_control): New variable.
8537         (_dl_aux_init) <AT_FPUCW>: Initialize it.
8538         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8539         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
8540         * math/test-fpucw-static.c: New file.
8541         * math/test-fpucw-ieee.c: New file.
8542         * math/test-fpucw-ieee-static.c: New file.
8543         * math/Makefile (tests): Add `test-fpucw-ieee' and
8544         `$(tests-static)'.
8545         (tests-static): New variable.
8546         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
8547         dependency to...
8548         [($(build-shared),yes)]
8549         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8550         ... this.
8551         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
8552         New dependency.
8554 2013-09-09  Allan McRae  <allan@archlinux.org>
8556         [BZ #15939]
8557         * manual/string.texi (Collation Functions): Fix typo in
8558         strcoll example.
8559         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
8561         [BZ #15893]
8562         * stdlib/isomac.c (get_null_defines): Fix memory leak.
8564         [BZ #15892]
8565         * libio/memstream.c (open_memstream): Fix memory leak.
8566         * libio/wmemstream.c (open_wmemstream): Likewise.
8568         [BZ #15895]
8569         * nscd/netgroupcache.c: Fix nesting of ifdefs.
8571 2013-09-09  Will Newton  <will.newton@linaro.org>
8573         * malloc/Makefile: Add tst-realloc to tests.
8574         * malloc/tst-realloc.c: New file.
8576 2013-09-09  Allan McRae  <allan@archlinux.org>
8578         [BZ #15844]
8579         * COPYING: Update from GNU website to fix FSF address.
8580         * COPYING.LIB: Likewise.
8582 2013-09-06  David S. Miller  <davem@davemloft.net>
8584         * po/zh_TW.po: Update Chinese (traditional) translation from
8585         translation project.
8587 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
8588             Joseph Myers  <joseph@codesourcery.com>
8590         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
8591         "localeinfo.h".
8592         (obstack_chunk_alloc): New macro.
8593         (obstack_chunk_free): Likewise.
8594         (record_offset): New function.
8595         (init_locale_data): Likewise.
8596         (align_locale_data): Likewise.
8597         (add_locale_empty): Likewise.
8598         (add_locale_raw_data): Likewise.
8599         (add_locale_raw_obstack): Likewise.
8600         (add_locale_string): Likewise.
8601         (add_locale_wstring): Likewise.
8602         (add_locale_uint32): Likewise.
8603         (add_locale_uint32_array): Likewise.
8604         (add_locale_char): Likewise.
8605         (start_locale_structure): Likewise.
8606         (end_locale_structure): Likewise.
8607         (start_locale_prelude): Likewise.
8608         (end_locale_prelude): Likewise.
8609         (write_locale_data): Take locale_file structure rather than an
8610         iovec.
8611         * locale/programs/locfile.h: Include "obstack.h".
8612         (struct locale_file): Change to store locale file contents instead
8613         of header.
8614         (init_locale_data): New prototype.
8615         (align_locale_data): Likewise.
8616         (add_locale_empty): Likewise.
8617         (add_locale_raw_data): Likewise.
8618         (add_locale_raw_obstack): Likewise.
8619         (add_locale_string): Likewise.
8620         (add_locale_wstring): Likewise.
8621         (add_locale_uint32): Likewise.
8622         (add_locale_uint32_array): Likewise.
8623         (add_locale_char): Likewise.
8624         (start_locale_structure): Likewise.
8625         (end_locale_structure): Likewise.
8626         (start_locale_prelude): Likewise.
8627         (end_locale_prelude): Likewise.
8628         (write_locale_data): Update prototype.
8629         * locale/programs/3level.h (struct TABLE): Remove result field.
8630         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
8631         Use new locale_file interface.
8632         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
8633         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
8634         * locale/programs/ld-address.c (address_output): Use new
8635         locale_file interface.
8636         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
8637         NO_ADD_LOCALE.
8638         (collate_finish): Don't call collseq_table_finalize.
8639         (collate_output): Use new locale_file interface.
8640         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
8641         in file.
8642         (NO_FINALIZE): Change to NO_ADD_LOCALE.
8643         (TABLE): Move defines earlier in file.
8644         (ELEMENT): Likewise.
8645         (DEFAULT): Likewise.
8646         (wctrans_table_add): Move macro and inline function earlier in
8647         file.
8648         (struct wctype_table): Move type earlier in file.
8649         (add_locale_wctype_table): New static prototype.
8650         (struct locale_ctype_t): Use logical types instead of struct iovec
8651         pointers for members.
8652         (ctype_output): Use new locale_file interface.
8653         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
8654         new locale_file interface.
8655         (allocate_arrays): Update for use of new locale_file interface.
8656         * locale/programs/ld-identification.c (identification_output): Use
8657         new locale_file interface.
8658         * locale/programs/ld-measurement.c (measurement_output): Likewise.
8659         * locale/programs/ld-messages.c (messages_output): Likewise.
8660         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8661         * locale/programs/ld-name.c (name_output): Likewise.
8662         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8663         * locale/programs/ld-paper.c (paper_output): Likewise.
8664         * locale/programs/ld-telephone.c (telephone_output): Likewise.
8665         * locale/programs/ld-time.c (time_output): Likewise.
8667 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8669         * benchtests/Makefile: Add memrchr benchmark.
8670         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
8671         benchmark as memrchr.
8672         * benchtests/bench-memrchr-ifunc.c: New file.
8673         * benchtests/bench-memrchr.c: New file.
8675 2013-09-06   Will Newton  <will.newton@linaro.org>
8677         * benchtests/Makefile (string-bench): Add memcpy.
8679 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
8680             Cong Wang  <amwang@redhat.com>
8682         [BZ #15850]
8683         * sysdeps/unix/sysv/linux/bits/in.h
8684         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
8685         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
8686         before __USE_KERNEL_IPV6_DEFS uses.
8687         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
8688         IPPROTO_BEETPH.
8689         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
8690         sockaddr_in6, or ipv6_mreq.
8692 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8694         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
8695         memory access for final bytes in some large inputs.
8696         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8698 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8700         * string/test-memrchr.c: New file.
8701         * string/test-memrchr-ifunc.c: New file.
8702         * string/Makefile: Add new memrchr testcase.
8704 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
8706         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8707         fanotify_init returns EPERM.
8709 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8711         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8712         errors.
8713         (top level): Treat second token from macro or constant entries for
8714         allowed headers as allowed.
8715         * include/complex.h: Condition internal declarations on
8716         [!_ISOMAC].
8717         * include/fenv.h: Condition include of <stdbool.h> and internal
8718         declarations on [!_ISOMAC].
8720 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
8722         [BZ #15923]
8723         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8725 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8727         * configure.in (--enable-versioning): Remove configure option.
8728         (libc_cv_asm_symver_directive): Remove configure test.
8729         (libc_cv_ld_version_script_option): Likewise.
8730         (VERSIONING): Remove variable and AC_SUBST.
8731         (DO_VERSIONING): Remove AC_DEFINE.
8732         * configure: Regenerated.
8733         * config.h.in (DO_VERSIONING): Remove macro.
8734         * Makerules [$(versioning) = yes]: Change conditionals to
8735         [$(build-shared) = yes].
8736         * config.make.in (versioning): Remove variable.
8737         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8738         [$(build-shared) = yes].
8739         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8740         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8741         * elf/Makefile [$(versioning) = yes]: Change conditionals to
8742         [$(build-shared) = yes].
8743         * extra-lib.mk [$(versioning) = yes]: Likewise.
8744         * hurd/Makefile [$(versioning) = yes]: Likewise.
8745         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8746         [SHARED].
8747         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8748         [SHARED].
8749         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8750         [SHARED && !NO_HIDDEN].
8751         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8752         [SHARED].
8753         [SHARED && DO_VERSIONING]: Likewise..
8754         * libio/Makefile [$(versioning) = yes]: Change conditionals to
8755         [$(build-shared) = yes].
8756         * manual/install.texi (--disable-versioning): Remove
8757         documentation.
8758         * INSTALL: Regenerated.
8759         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8760         to [SHARED].
8761         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8762         [$(build-shared) = yes].
8763         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8764         * sysdeps/i386/i686/multiarch/strstr-c.c
8765         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8766         [SHARED && !NO_HIDDEN].
8767         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8768         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8769         * sysdeps/powerpc/powerpc32/dl-machine.c
8770         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8771         * sysdeps/powerpc/powerpc32/sysdep.h
8772         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8773         to [SHARED && PIC && !NO_HIDDEN].
8774         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8775         conditional to [SHARED].
8777 2013-09-04   Will Newton  <will.newton@linaro.org>
8779         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8780         * benchtests/bench-string.h: Include bench-timing.h instead
8781         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8782         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8783         call to HP_TIMING_DIFF_INIT.
8784         * benchtests/bench-memccpy.c: Use bench-timing.h macros
8785         instead of hp-timing.h macros.
8786         * benchtests/bench-memchr.c: Likewise.
8787         * benchtests/bench-memcmp.c: Likewise.
8788         * benchtests/bench-memcpy.c: Likewise.
8789         * benchtests/bench-memmem.c: Likewise.
8790         * benchtests/bench-memmove.c: Likewise.
8791         * benchtests/bench-memset.c: Likewise.
8792         * benchtests/bench-rawmemchr.c: Likewise.
8793         * benchtests/bench-strcasecmp.c: Likewise.
8794         * benchtests/bench-strcasestr.c: Likewise.
8795         * benchtests/bench-strcat.c: Likewise.
8796         * benchtests/bench-strchr.c: Likewise.
8797         * benchtests/bench-strcmp.c: Likewise.
8798         * benchtests/bench-strcpy.c: Likewise.
8799         * benchtests/bench-strcpy_chk.c: Likewise.
8800         * benchtests/bench-strlen.c: Likewise.
8801         * benchtests/bench-strncasecmp.c: Likewise.
8802         * benchtests/bench-strncat.c: Likewise.
8803         * benchtests/bench-strncmp.c: Likewise.
8804         * benchtests/bench-strncpy.c: Likewise.
8805         * benchtests/bench-strnlen.c: Likewise.
8806         * benchtests/bench-strpbrk.c: Likewise.
8807         * benchtests/bench-strrchr.c: Likewise.
8808         * benchtests/bench-strspn.c: Likewise.
8809         * benchtests/bench-strstr.c: Likewise.
8811 2013-09-04  Will Newton  <will.newton@linaro.org>
8813         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8815 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
8817         [BZ #15427]
8818         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8819         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8820         * math/libm-test.inc (lgamma_test_data): Add more tests.
8821         * sysdeps/i386/fpu/libm-test-ulps: Update.
8822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8824 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
8826         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8828         Add ifunc.
8829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8830         Add strcmp-sse2-unaligned
8831         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8833 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8835         * Versions.def (libc): Add GLIBC_2.19.
8837 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8839         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8840         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8842 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
8844         [BZ #14155]
8845         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8846         intermediate calculations in recurrence.
8847         (__ieee754_ynf): Likewise.
8848         * math/libm-test.inc (jn_test_data): Do not allow spurious
8849         underflow exception.  Add more tests.
8850         (yn_test_data): Add more tests.
8851         * sysdeps/i386/fpu/libm-test-ulps: Update.
8852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
8856         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8858 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8860         * csu/init-first.c: Fix then/than typos.
8861         * locale/programs/ld-collate.c: Likewise.
8862         * locale/programs/linereader.h: Likewise.
8863         * manual/charset.texi: Likewise.
8864         * manual/filesys.texi: Likewise.
8865         * manual/stdio.texi: Likewise.
8866         * manual/string.texi: Likewise.
8867         * stdlib/fmtmsg.c: Likewise.
8868         * sysdeps/i386/stpncpy.S: Likewise.
8869         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8870         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8871         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8872         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8874 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8876         * elf/dl-open.c: Fix typos.
8877         * iconvdata/gbbig5.c: Likewise.
8878         * iconvdata/iso-2022-jp.c: Likewise.
8879         * iconv/gconv_int.h: Likewise.
8880         * iconv/loop.c: Likewise.
8881         * nis/rpcsvc/nis.h: Likewise.
8882         * resolv/ns_name.c: Likewise.
8883         * stdio-common/vfscanf.c: Likewise.
8884         * streams/stropts.h: Likewise.
8885         * sunrpc/rpc_thread.c: Likewise.
8886         * sysdeps/i386/strpbrk.S: Likewise.
8887         * sysdeps/ieee754/k_standard.c: Likewise.
8888         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8890         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8891         * sysdeps/mach/hurd/profil.c: Likewise.
8892         * sysdeps/s390/dl-procinfo.h: Likewise.
8893         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8894         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8895         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8896         * sysdeps/x86_64/dl-trampoline.S: Likewise.
8897         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8899 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
8901         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8904 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
8906         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8907         aix specific files.
8908         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8909         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8910         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8911         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8912         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8913         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8914         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8917 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8918             Roland McGrath  <roland@hack.frob.com>
8920         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8921         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8923 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8925         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8926         __executable_start symbol instead of _start.
8928 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8930         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8931         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8932         Move macros to...
8933         * sysdeps/gnu/ldsodefs.h: ... this new file.
8935         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8936         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8937         instead of ELFOSABI_LINUX.
8939         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8940         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8941         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8942         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8943         Likewise.
8944         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8945         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8946         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8947         Likewise.
8948         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8949         (ibm_extended_long_double): Add ieee_nan member.
8950         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8951         (do_test): New function.
8953         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8954         TEST_TRUNC.
8955         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8956         functions, renamed from truncdfsf_test, trunctfsf_test,
8957         trunctfdf_test.
8958         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8959         functions.
8960         (do_test): Run all these.
8962 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
8964         * argp/argp-help.c: Fix typos.
8965         * argp/argp-parse.c: Likewise.
8966         * debug/backtracesyms.c: Likewise.
8967         * elf/elf.h: Likewise.
8968         * malloc/malloc.c: Likewise.
8969         * nis/nis_print.c: Likewise.
8970         * resolv/res_comp.c: Likewise.
8971         * stdlib/stdlib.h: Likewise.
8972         * sunrpc/clnt_tcp.c: Likewise.
8973         * sunrpc/clnt_udp.c: Likewise.
8974         * sunrpc/clnt_unix.c: Likewise.
8975         * sysdeps/unix/bsd/ptsname.c: Likewise.
8976         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8977         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8979         Likewise.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8981         Likewise.
8982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8983         Likewise.
8984         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8986 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8988         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8991 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
8993         [BZ #15897]
8994         * dlfcn/Makefile (tests): Add bug-dl-leaf.
8995         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8996         ($(objpfx)bug-dl-leaf): New rule.
8997         ($(objpfx)bug-dl-leaf.so): Likewise.
8998         ($(objpfx)bug-dl-leaf.out): Likewise.
8999         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9000         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9001         * dlfcn/bug-dl-leaf.c: New test.
9002         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9003         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9004         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9005         (dlclose): Likewise.
9006         (dlmopen): Likewise.
9008 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9010         * include/netdb.h [!_ISOMAC]:
9011         Don't include <tls.h>.
9012         (h_errno, __libc_h_errno): Move declaration and macros out of
9013         [_LIBC_REENTRANT].
9015         * include/resolv.h [_RESOLV_H_]:
9016         Don't include <tls.h>.
9017         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9018         * resolv/res_libc.c: Don't include <tls.h>.
9019         (_res): Use __attribute__ ((nocommon)) in place of
9020         __attribute__ ((section (".bss"))).
9022         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9023         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9025         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9027         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9028         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9030         * resolv/res_mkquery.c: Include <sys/time.h>.
9032         * inet/ifreq.c: Moved to ...
9033         * sysdeps/unix/ifreq.c: ... here.
9034         * inet/ifreq.c: New file, true stub version.
9036         * socket/sa_len.c: New file.
9037         * socket/Makefile (aux): Add it.
9038         * sysdeps/unix/sysv/linux/Makefile
9039         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9040         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9041         and #include <socket/sa_len.c>.
9042         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9043         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9045         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9046         * bits/socket.h: ... here.
9048         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9049         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9050         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9052 2013-08-27  Andreas Schwab  <schwab@suse.de>
9054         [BZ #15736]
9055         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9056         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9057         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9058         * string/test-strcasecmp.c (test_main): Run tests in several
9059         locales.
9060         * string/test-strncasecmp.c (test_main): Likewise.
9062         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9063         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9064         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9066         (__strncasecmp_ssse3) [PIC]: Likewise.
9068 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9070         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9072         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9073         instead of explicitly declaring xdecrypt.
9074         * nis/nss_nis/nis-publickey.c: Likewise.
9076 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9078         [BZ #15890]
9079         * nscd/aicache.c: Include res_hconf.h.
9080         (addhstaiX): Initialize res_hconf.
9082 2013-08-26  Andreas Schwab  <schwab@suse.de>
9084         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9085         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9087 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9089         * nscd/aicache.c (addhstaiX): Fix indentation.
9091 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9093         * configure.ac: Quote $build_pt_chown test.
9094         * configure: Regenerated.
9096 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9098         [BZ #15532]
9099         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9100         * math/s_cexpf.c (__cexpf): Likewise.
9101         * math/s_cexpl.c (__cexpl): Likewise.
9102         * math/libm-test.inc (cexp_test_data): Correct expected return
9103         value for NaN + i0.  Add another test.
9105 2013-08-22  David S. Miller  <davem@davemloft.net>
9107         * po/ca.po: Update Catalan translation from translation project.
9108         * po/uk.po: Add Ukrainian translations from translation project.
9110 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9112         [BZ #15797]
9113         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9114         is infinite, not alongside NaN test.
9115         * math/s_fdimf.c (__fdimf): Likewise.
9116         * math/s_fdiml.c (__fdiml): Likewise.
9117         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9118         errno is unchanged.
9120 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9122         * argp/argp-help.c: Fix typos.
9123         * crypt/speeds.c: Likewise.
9124         * csu/check_fds.c: Likewise.
9125         * elf/dl-load.c: Likewise.
9126         * elf/dl-open.c: Likewise.
9127         * elf/reldep3.c: Likewise.
9128         * elf/reldep.c: Likewise.
9129         * elf/sprof.c: Likewise.
9130         * iconv/iconv_charmap.c: Likewise.
9131         * iconv/skeleton.c: Likewise.
9132         * iconv/strtab.c: Likewise.
9133         * io/lockf64.c: Likewise.
9134         * libio/libioP.h: Likewise.
9135         * resolv/gai_notify.c: Likewise.
9136         * resolv/ns_name.c: Likewise.
9137         * resolv/ns_samedomain.c: Likewise.
9138         * resolv/res_send.c: Likewise.
9139         * stdlib/random.c: Likewise.
9140         * sunrpc/rpc/xdr.h: Likewise.
9141         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9142         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9143         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9144         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9145         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9146         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9148         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9149         * sysdeps/mach/hurd/check_fds.c: Likewise.
9150         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9151         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9152         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9153         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9154         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9155         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9156         * sysdeps/pthread/aio_notify.c: Likewise.
9157         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9158         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9159         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9160         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9161         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9163 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9165         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9166         version if bit_Slow_SSE4_2 is set.
9167         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9168         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9170 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9172         [BZ #15867]
9173         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9174         trampoline stack frame information.
9175         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9177         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9178         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9179         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9180         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9181         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9182         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9183         sa_flags value.
9184         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9185         interrupting a syscall and set with option SA_SIGINFO.
9187 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9189         [BZ #15531]
9190         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9191         argument is infinite.
9192         * math/s_cprojf.c (__cprojf): Likewise.
9193         * math/s_cprojl.c (__cprojl): Likewise.
9194         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9195         * math/libm-test.inc (cproj_test_data): Add more tests.
9197         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9199         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9200         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9201         size.  Use __ffs to determine corresponding shift.
9203 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9204             Roland McGrath  <roland@hack.frob.com>
9206         * Makefile (INSTALL): Remove trailing blank lines from output of
9207         makeinfo.
9209 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9211         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9212         Align 32 bit compat elf_greg to 8 bytes.
9214 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9216         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9218 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9220         * string/strcoll_l.c (coll_seq): New structure.
9221         (get_next_seq_cached): New function.
9222         (get_next_seq): New function.
9223         (do_compare): New function.
9224         (STRCOLL): Use GNU style definition.  Simplify implementation
9225         by using get_next_seq, get_next_seq_cached and do_compare.
9227 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9229         [BZ #14699]
9230         CVE-2013-4237
9231         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9232         member.
9233         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9234         member.
9235         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9236         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9237         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9238         conditional.
9239         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9240         GETDENTS_64BIT_ALIGNED.
9241         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9242         * manual/filesys.texi (Reading/Closing Directory): Document
9243         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9244         strongly.
9245         * manual/conf.texi (Limits for Files): Add portability note to
9246         NAME_MAX, PATH_MAX.
9247         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9249 2013-08-13  Andreas Schwab  <schwab@suse.de>
9251         [BZ #15749]
9252         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9253         of fabs.
9254         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9255         LDBL_MAX_EXP >= 16384]: Add tests for it.
9257 2013-08-12  David S. Miller  <davem@davemloft.net>
9259         * version.h (RELEASE): Set to "development".
9260         (VERSION): Set to "2.18.90".
9261         * NEWS: Add 2.19 section.
9263 2013-08-03  David S. Miller  <davem@davemloft.net>
9265         * po/ko.po: Update Korean translation from translation project.
9267 2013-08-01  David S. Miller  <davem@davemloft.net>
9269         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9270         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9271         Bilka.
9273 2013-07-30  David S. Miller  <davem@davemloft.net>
9275         * po/fr.po: Update French translation from translation project.
9277 2013-07-28  David S. Miller  <davem@davemloft.net>
9279         * po/cs.po: Update Czech translation from translation project.
9281         * po/sv.po: Update Swedish translation from translation project.
9283 2013-07-27  David S. Miller  <davem@davemloft.net>
9285         * po/eo.po: Update Esperanto translation from translation project.
9287         * po/vi.po: Update Vietnamese translation from translation project.
9289         * po/de.po: Update German translation from translation project.
9291 2013-07-26  David S. Miller  <davem@davemloft.net>
9293         * po/bg.po: Update Bulgarian translation from translation project.
9295         * po/nl.po: Update Dutch translation from translation project.
9296         * po/pl.po: Update Polish translation from translation project.
9297         * po/ru.po: Update Russian translation from translation project.
9299 2013-07-24  David S. Miller  <davem@davemloft.net>
9301         * po/libc.pot: Update.
9303 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9305         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9306         variable page size.
9307         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9308         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9309         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9311 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9313         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9315 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9316             Andreas Schwab  <schwab@suse.de>
9317             Roland McGrath  <roland@hack.frob.com>
9318             Joseph Myers  <joseph@codesourcery.com>
9319             Carlos O'Donell  <carlos@redhat.com>
9321         [BZ #15755]
9322         * config.h.in: Define HAVE_PT_CHOWN.
9323         * config.make.in (build-pt-chown): New variable.
9324         * configure.in (--enable-pt_chown): New configure option.
9325         * configure: Regenerate.
9326         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9327         build-pt-chown is enabled.
9328         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9329         pt_chown to fix pty ownership.
9330         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9331         CLOSE_ALL_FDS.
9332         * manual/install.texi (Configuring and compiling): Mention
9333         --enable-pt_chown. Add @findex for grantpt.
9334         * INSTALL: Regenerate.
9336 2013-07-20  David S. Miller  <davem@davemloft.net>
9338         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9339         difference between 32-bit and 64-bit.
9341 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9343         [BZ #15711]
9344         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9345         Avoid system header dependency with -ffreestanding.
9346         ($(objpfx)bits/syscall%d): Likewise.
9348 2013-07-13  David S. Miller  <davem@davemloft.net>
9350         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9351         underflows from atanl/atan2l due to bug 15319.
9352         (casinh_test_data): Likewise.
9354 2013-07-07  David S. Miller  <davem@davemloft.net>
9356         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9358 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9360         * sysdeps/i386/fpu/libm-test-ulps: Update.
9361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9363 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9365         * configure.in (--enable-lock-elision): Fix message text.
9366         * INSTALL: Regenerate.
9367         * configure: Regenerate.
9369 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9373 2013-07-03  Andreas Jaeger  <aj@suse.de>
9375         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9376         define.
9377         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9378         (ptrace_peeksiginfo_args): Add.
9379         (__ptrace_peeksiginfo_flags): Add.
9380         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9381         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9382         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9384 2013-07-03  Allan McRae  <allan@archlinux.org>
9386         * sysdeps/i386/fpu/libm-test-ulps: Update.
9388 2013-07-02  David S. Miller  <davem@davemloft.net>
9390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9392 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
9394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9396 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9398         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401 2013-07-02  Andi Kleen <ak@linux.intel.com>
9403         * config.h.in (ENABLE_LOCK_ELISION): Add.
9404         * configure.in (--enable-lock-elision): Add option.
9405         * manual/install.texi: Document --enable lock elision.
9406         * configure: Regenerate
9407         * INSTALL: Regenerate.
9409 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9411         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9412         SSE4.2 strcasecmp for libc.a.
9413         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9415 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9417         [BZ #13304]
9418         * soft-fp/op-common.h (_FP_FMA): New macro.
9419         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9420         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
9421         (_FP_MUL_MEAT_1_imm): ... here.
9422         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
9423         (_FP_MUL_MEAT_1_wide): ... here.
9424         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
9425         (_FP_MUL_MEAT_1_hard): ... here.
9426         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9427         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
9428         (_FP_MUL_MEAT_2_wide): ... here.
9429         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
9430         (_FP_MUL_MEAT_2_wide_3mul): ... here.
9431         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
9432         (_FP_MUL_MEAT_2_gmp): ... here.
9433         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9434         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
9435         (_FP_MUL_MEAT_4_wide): ... here.
9436         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
9437         (_FP_MUL_MEAT_4_gmp): ... here.
9438         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9439         (_FP_WFRACBITS_DW_S): Likewise.
9440         (_FP_WFRACXBITS_DW_S): Likewise.
9441         (_FP_HIGHBIT_DW_S): Likewise.
9442         (FP_FMA_S): Likewise.
9443         (_FP_FRAC_HIGH_DW_S): Likewise.
9444         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9445         (_FP_WFRACBITS_DW_D): Likewise.
9446         (_FP_WFRACXBITS_DW_D): Likewise.
9447         (_FP_HIGHBIT_DW_D): Likewise.
9448         (FP_FMA_D): Likewise.
9449         (_FP_FRAC_HIGH_DW_D): Likewise.
9450         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9451         (_FP_WFRACBITS_DW_E): Likewise.
9452         (_FP_WFRACXBITS_DW_E): Likewise.
9453         (_FP_HIGHBIT_DW_E): Likewise.
9454         (FP_FMA_E): Likewise.
9455         (_FP_FRAC_HIGH_DW_E): Likewise.
9456         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9457         (_FP_WFRACBITS_DW_Q): Likewise.
9458         (_FP_WFRACXBITS_DW_Q): Likewise.
9459         (_FP_HIGHBIT_DW_Q): Likewise.
9460         (FP_FMA_Q): Likewise.
9461         (_FP_FRAC_HIGH_DW_Q): Likewise.
9462         * soft-fp/fmasf4.c: New file.
9463         * soft-fp/fmadf4.c: Likewise.
9464         * soft-fp/fmatf4.c: Likewise.
9466 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9469         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
9470         Silvermont.
9471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
9472         macro.
9473         (index_Slow_SSE4_2): Likewise.
9474         (index_Prefer_PMINUB_for_stringop): Likewise.
9475         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
9476         bit_Slow_SSE4_2 is set.
9477         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9478         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9480 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9482         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
9483         rtld_global._dl_hwcap2.
9484         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
9485         POWER8.
9486         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
9487         POWER8 feature descriptions defined in _dl_hwcap2.
9488         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
9489         string handling for POWER8 feature bits.
9490         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
9491         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
9492         _dl_powerpc_cap_flags.
9493         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
9494         * sysdeps/powerpc/rtld-global-offsets.sym
9495         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
9496         _dl_hwcap2 in the rtld_global_ro structure.
9498 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9500         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
9501         hardware capabilities in support of AT_HWCAP2.
9502         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
9503         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
9504         GLRO(dl_hwcap2).
9505         (_dl_show_auxv): Add support for calling _dl_procinfo to display
9506         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
9507         explicitly the unknown a_type display mechanism is used.
9508         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
9509         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
9510         struct member.
9511         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
9512         to macro prototype for AT_HWCAP2 support.
9513         * sysdeps/i386/dl-procinfo.h: Likewise.
9514         * sysdeps/s390/dl-procinfo.h: Likewise.
9515         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
9516         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
9517         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
9518         return -1 for unknown a_type display fallback.
9519         * sysdeps/sparc/dl-procinfo.h: Likewise.
9520         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
9521         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
9523 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
9525         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
9526         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
9528 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
9530         [BZ #12492]
9531         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
9532         mprotect making __stack_prot writable.
9534 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
9535             Joseph Myers  <joseph@codesourcery.com>
9537         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
9538         as being properly aligned.
9540 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
9542         * dlfcn/modstatic5.c: New file.
9543         * dlfcn/tststatic5.c: New file.
9544         * dlfcn/Makefile (tests): Add tststatic5.
9545         (tests-static): Likewise.
9546         (modules-names): Add modstatic5.
9547         (tststatic5-ENV): New variable.
9548         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
9550         [BZ #15022]
9551         * elf/dl-support.c (_dl_main_map): New variable.
9552         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
9553         (_dl_nns, _dl_load_adds): Set to 1.
9554         (_dl_initial_searchlist): Refer to _dl_main_map.
9555         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
9556         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
9557         call to _dl_get_origin.
9558         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
9559         around call_map.
9560         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
9561         * dlfcn/modstatic3.c: New file.
9562         * dlfcn/tststatic3.c: New file.
9563         * dlfcn/tststatic4.c: New file.
9564         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
9565         (tests-static): Likewise.
9566         (modules-names): Add modstatic3.
9567         (tststatic3-ENV, tststatic4-ENV): New variables.
9568         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
9569         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
9571 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
9573         * configure.in (CC): Require GCC version 4.4 or later.
9574         * configure: Regenerated.
9575         * manual/install.texi (Tools for Compilation): Update GCC version
9576         requirement.
9577         * INSTALL: Regenerated.
9579 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9581         [BZ #15674]
9582         * string/test-memcmp.c (check2): New.
9583         (main): Call check2.
9585         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9587 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
9589         [BZ #15022]
9590         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
9591         over to...
9592         (dl_open_worker) [!SHARED]: ... here.
9594 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9596         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
9598 2013-06-25  Richard Henderson  <rth@redhat.com>
9600         * locale/programs/locarchive.c: Include <libc-internal.h>
9602 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
9604         * manual/texinfo.tex: Update to version 2013-06-21.17, with
9605         trailing whitespace removed.
9607 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9609         [BZ #10283]
9610         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
9611         * locale/programs/locarchive.c: Include libc-mmap.h.
9612         (prepare_address_space): Take two new outputs (the mmap base and len).
9613         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
9614         values.
9615         (create_archive): Declare new mmap base and len values for
9616         prepare_address_space, and store the result in ah.
9617         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
9618         (enlarge_archive): If ah->mmap_base is not NULL, use that and
9619         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9620         Declare new mmap base and len values for
9621         prepare_address_space, and store the result in new_ah.
9622         (open_archive): Declare new mmap base and len values for
9623         prepare_address_space, and store the result in ah.
9624         (close_archive): If ah->mmap_base is not NULL, use that and
9625         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9626         * sysdeps/generic/libc-mmap.h: New file.
9628 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9630         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
9631         (ALIGN_UP): Likewise.
9632         (PTR_ALIGN_DOWN): Likewise.
9633         (PTR_ALIGN_UP): Likewise.
9635 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9637         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
9638         entry mapped to PPC_PLATFORM_POWER8.
9639         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
9640         POWER8.
9641         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
9642         (_dl_string_platform): Add case for exporting platform position for
9643         POWER8.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
9645         search path to sysdeps/powerpc/powerpc32/power8 directory.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
9647         search path to sysdeps/powerpc/powerpc64/power8 directory.
9648         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
9649         power7 directories.
9650         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
9651         power7 directories.
9653 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9655         * INSTALL: Regenerate.
9657         * nscd/connections.c (nscd_init): Fix comment.
9659 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
9661         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
9663         [BZ #15667]
9664         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
9665         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9667 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9669         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
9670         DL_DST_REQ_STATIC.
9671         (DL_DST_REQ_STATIC): Remove macro.
9673 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
9675         [BZ #7006]
9676         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
9677         with a shift of 0 bits.
9679 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9681         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
9682         $(tststatic-ENV).
9684 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9686         [BZ #15655]
9687         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
9689 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9691         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9692         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
9693         accepts -fno-tree-loop-distribute-patterns.
9694         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
9695         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9696         recursive call.
9697         * string/memset.c (memset): Likewise.
9698         * string/test-memmove.c (simple_memmove): Disable loop transformation
9699         to library calls.
9700         * string/test-memset.c (simple_memset): Likewise.
9701         * benchtests/bench-memmove.c (simple_memmove): Likewise.
9702         * benchtests/bench-memset.c (simple_memset): Likewise.
9703         * configure: Regenerated.
9705 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
9707         * math/test-misc.c (main): Ignore fesetround failure when failures
9708         of subsequent rounding tests would be ignored.
9710         [BZ #15654]
9711         * math/fedisblxcpt.c (fedisableexcept): Return 0.
9712         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9713         * math/fegetenv.c (__fegetenv): Return 0.
9714         * math/fegetexcept.c (fegetexcept): Return 0.
9715         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9716         FE_TONEAREST.
9717         * math/feholdexcpt.c (feholdexcept): Return 0.
9718         * math/fesetenv.c (__fesetenv): Return 0.
9719         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9720         argument FE_TONEAREST.
9721         * math/feupdateenv.c (__feupdateenv): Return 0.
9722         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9724 2013-06-18  Roland McGrath  <roland@hack.frob.com>
9726         * elf/rtld-Rules (rtld-compile-command.S): New variable.
9727         (rtld-compile-command.s, rtld-compile-command.c): New variables.
9728         ($(objpfx)rtld-%.os rules): Use them.
9730 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9732         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9733         fields.
9735 2013-06-17  Roland McGrath  <roland@hack.frob.com>
9737         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9738         length of target pattern, then descending length of dependency pattern.
9739         * configure.in (AWK): Require gawk 3.1.2 or newer.
9740         * manual/install.texi (Tools for Compilation): Say that we do.
9741         * configure: Regenerated.
9743         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9744         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9745         * scripts/sysd-rules.awk: ... this new script.
9746         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9747         than a glob-style pattern.
9749 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
9751         * math/test-misc.c (main): Do not treat incorrectly rounded
9752         conversions as failure unless ROUNDING_TESTS passes.
9754 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
9756         [BZ #15631]
9757         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9758         restore exception state around main square root computation, then
9759         check for inexactness explicitly.
9761         * math/libm-test.inc (fma_test_data): Add another test.
9763 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9765         * manual/threads.texi (Non-POSIX Extensions): New document
9766         node.  Document pthread_getattr_default_np and
9767         pthread_setattr_default_np.
9769         * Versions.def (libpthread): Add GLIBC_2.18.
9770         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9774         Likewise.
9775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9776         Likewise.
9777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9780         Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9784         Likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9786         Likewise.
9787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9788         Likewise.
9790 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9793         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9795 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9796             H.J. Lu  <hjl.tools@gmail.com>
9798         [BZ #15627]
9799         * sysdeps/x86_64/rtld-memset.c: Remove file.
9800         * sysdeps/x86_64/rtld-memset.S: New file.
9802 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
9804         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9805         (test_in_one_mode): Take arguments for whether the rounding mode
9806         is supported for each floating-point type.
9807         (do_test): Pass new arguments to test_in_one_mode using
9808         ROUNDING_TESTS.
9810 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9812         * posix/tst-waitid.c (do_test): Distinguish different instances of
9813         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
9814         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9815         before entering the kernel for waitpid.
9817 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9819         * NEWS: Fix note on clock function precision.  Text by Roland
9820         McGrath.
9822 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9824         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9825         it into place only when and if the sanity check passes.
9827 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
9829         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9830         output for whether conversion result is exact.  Take argument
9831         indicating whether type is IBM long double.
9832         (round_for_all): Change need_exact field to ibm_ld.
9833         * stdlib/tst-strtod-round.c (struct exactness): New type.
9834         (struct test): Change bool ld_ok field to struct exactness exact.
9835         (TEST): Update all definitions for change to field.
9836         (tests): Regenerate array contents.
9837         (test_in_one_mode): Take pointer to new field instead of old ld_ok
9838         field value.  Check for IBM long double here.
9839         (do_test): Update calls to test_in_one_mode.
9841 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9843         [BZ #12515]
9844         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9845         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9847 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9849         [BZ #15605]
9850         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9851         generated by the compiler on loop optimizations.
9852         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9853         general definitions.
9855 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
9857         * math/bug-nextafter.c: Include <math-tests.h>.
9858         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9859         the relevant type.
9860         * math/bug-nexttoward.c: Include <math-tests.h>.
9861         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9862         the relevant type.
9863         * math/test-misc.c: Include <math-tests.h>.
9864         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9865         the relevant type.
9867 2013-06-12  Andreas Jaeger  <aj@suse.de>
9869         * po/ia.po: Update Interlingua translation from translation
9870         project.
9872 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9874         * include/fenv.h: Include stdbool.h.
9875         (struct rm_ctx): New structure.
9876         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9877         Define macro.
9878         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9879         (SET_RESTORE_ROUNDF): Likewise.
9880         (SET_RESTORE_ROUNDL): Likewise.
9881         (SET_RESTORE_ROUND_NOEX): Likewise.
9882         (SET_RESTORE_ROUND_NOEXF): Likewise.
9883         (SET_RESTORE_ROUND_NOEXL): Likewise.
9884         (SET_RESTORE_ROUND_53BIT): Likewise.
9885         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9886         (libc_feresetround_noexf_ctx): Likewise.
9887         (libc_feresetround_noexl_ctx): Likewise.
9888         (libc_feholdsetround_53bit_ctx): Likewise.
9889         (libc_feresetround_53bit_ctx): Likewise.
9890         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9891         (libc_feholdexcept_setround_sse_ctx): New function.
9892         (libc_fesetenv_sse_ctx): Likewise.
9893         (libc_feupdateenv_sse_ctx): Likewise.
9894         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9895         (libc_feholdexcept_setround_387_ctx): Likewise.
9896         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9897         (libc_feholdsetround_387_prec_ctx): Likewise.
9898         (libc_feholdsetround_387_ctx): Likewise.
9899         (libc_feholdsetround_387_53bit_ctx): Likewise.
9900         (libc_feholdsetround_sse_ctx): Likewise.
9901         (libc_feresetround_sse_ctx): Likewise.
9902         (libc_feresetround_387_ctx): Likewise.
9903         (libc_feupdateenv_387_ctx): Likewise.
9904         (libc_feholdexcept_setroundf_ctx): Define macro.
9905         (libc_fesetenvf_ctx): Likewise.
9906         (libc_feupdateenvf_ctx): Likewise.
9907         (libc_feholdsetroundf_ctx): Likewise.
9908         (libc_feresetroundf_ctx): Likewise.
9909         (libc_feholdexcept_setround_ctx): Likewise.
9910         (libc_fesetenv_ctx): Likewise.
9911         (libc_feupdateenv_ctx): Likewise.
9912         (libc_feholdsetround_ctx): Likewise.
9913         (libc_feresetround_ctx): Likewise.
9914         (libc_feholdexcept_setroundl_ctx): Likewise.
9915         (libc_feupdateenvl_ctx): Likewise.
9916         (libc_feholdsetroundl_ctx): Likewise.
9917         (libc_feresetroundl_ctx): Likewise.
9918         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9919         (libc_feresetround_53bit_ctx): Likewise.
9921 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9923         * locale/iso-639.def: Convert to UTF-8.
9925 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
9927         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9928         (EXCEPTION_TESTS_double): Likewise.
9929         (EXCEPTION_TESTS_long_double): Likewise.
9930         (EXCEPTION_TESTS): Likewise.
9931         * math/libm-test.inc (test_exceptions): Only test exceptions if
9932         EXCEPTION_TESTS (FLOAT).
9934 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9936         * benchtests/Makefile (string-bench): Add strcpy_chk and
9937         stpcpy_chk.
9938         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9939         * benchtests/bench-stpcpy_chk.c: New file.
9940         * benchtests/bench-strcpy_chk-ifunc.c: New file.
9941         * benchtests/bench-strcpy_chk.c: New file.
9942         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9943         code.
9944         (do_test): Likewise.
9946 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9948         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9949         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9950         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9951         with tabs where appropriate.
9952         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9953         dl-procinfo.h.
9954         [PPC_PLATFORM_PPC440]: Likewise.
9955         [PPC_PLATFORM_PPC464]: Likewise.
9956         [PPC_PLATFORM_PPC476]: Likewise.
9957         (_dl_string_platform): Add support for detecting ppc405, ppc440,
9958         ppc464, and ppc476 platform strings merging from ports/
9959         dl-procinfo.h.
9961 2013-06-11  Andreas Schwab  <schwab@suse.de>
9963         [BZ #14991]
9964         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9965         (from_ucs4_idx): Regenerate.
9966         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9967         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9968         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9969         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9970         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9971         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9972         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9973         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9974         from FROM_LOOP and TO_LOOP specific macros.
9975         (BODY): Handle combining characters.
9976         * iconvdata/BIG5HKSCS.irreversible: Update.
9977         * iconvdata/BIG5HKSCS.precomposed: New file.
9978         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9979         characters.
9980         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9982 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9984         * include/sys/time.h: Fix indentation and add copyright header.
9986         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9987         (do_test): Likewise.
9988         * string/test-memchr.c (do_one_test): Likewise.
9989         (do_test): Likewise.
9990         * string/test-memcmp.c (do_one_test): Likewise.
9991         (do_test): Likewise.
9992         * string/test-memcpy.c (do_one_test): Likewise.
9993         (do_test): Likewise.
9994         * string/test-memmem.c (do_one_test): Likewise.
9995         (do_test): Likewise.
9996         (do_random_tests): Likewise.
9997         * string/test-memmove.c (do_one_test): Likewise.
9998         (do_test): Likewise.
9999         * string/test-memset.c (do_one_test): Likewise.
10000         (do_test): Likewise.
10001         * string/test-rawmemchr.c (do_one_test): Likewise.
10002         (do_test): Likewise.
10003         * string/test-strcasecmp.c (do_one_test): Likewise.
10004         (do_test): Likewise.
10005         * string/test-strcasestr.c (do_one_test): Likewise.
10006         (do_test): Likewise.
10007         * string/test-strcat.c (do_one_test): Likewise.
10008         (do_test): Likewise.
10009         * string/test-strchr.c (do_one_test): Likewise.
10010         (do_test): Likewise.
10011         * string/test-strcmp.c (do_one_test): Likewise.
10012         (do_test): Likewise.
10013         * string/test-strcpy.c (do_one_test): Likewise.
10014         (do_test): Likewise.
10015         * string/test-string.h: Likewise.
10016         (test_init): Likewise.
10017         * string/test-strlen.c (do_one_test): Likewise.
10018         (do_test): Likewise.
10019         * string/test-strncasecmp.c (do_one_test): Likewise.
10020         (do_test): Likewise.
10021         * string/test-strncat.c (do_one_test): Likewise.
10022         (do_test): Likewise.
10023         * string/test-strncmp.c (do_one_test): Likewise.
10024         (do_test_limit): Likewise.
10025         (do_test): Likewise.
10026         * string/test-strncpy.c (do_one_test): Likewise.
10027         (do_test): Likewise.
10028         * string/test-strnlen.c (do_one_test): Likewise.
10029         (do_test): Likewise.
10030         * string/test-strpbrk.c (do_one_test): Likewise.
10031         (do_test): Likewise.
10032         * string/test-strrchr.c (do_one_test): Likewise.
10033         (do_test): Likewise.
10034         * string/test-strspn.c (do_one_test): Likewise.
10035         (do_test): Likewise.
10036         * string/test-strstr.c (do_one_test): Likewise.
10037         (do_test): Likewise.
10039         * benchtests/Makefile (string-bench): Add string benchmarks.
10040         * benchtests/bench-bcopy-ifunc.c: New file.
10041         * benchtests/bench-bcopy.c: New file.
10042         * benchtests/bench-bzero-ifunc.c: New file.
10043         * benchtests/bench-bzero.c: New file.
10044         * benchtests/bench-memccpy-ifunc.c: New file.
10045         * benchtests/bench-memccpy.c: New file.
10046         * benchtests/bench-memchr-ifunc.c: New file.
10047         * benchtests/bench-memchr.c: New file.
10048         * benchtests/bench-memcmp-ifunc.c: New file.
10049         * benchtests/bench-memcmp.c: New file.
10050         * benchtests/bench-memmem-ifunc.c: New file.
10051         * benchtests/bench-memmem.c: New file.
10052         * benchtests/bench-memmove-ifunc.c: New file.
10053         * benchtests/bench-memmove.c: New file.
10054         * benchtests/bench-mempcpy-ifunc.c: New file.
10055         * benchtests/bench-mempcpy.c: New file.
10056         * benchtests/bench-memset-ifunc.c: New file.
10057         * benchtests/bench-memset.c: New file.
10058         * benchtests/bench-rawmemchr-ifunc.c: New file.
10059         * benchtests/bench-rawmemchr.c: New file.
10060         * benchtests/bench-stpcpy-ifunc.c: New file.
10061         * benchtests/bench-stpcpy.c: New file.
10062         * benchtests/bench-stpncpy-ifunc.c: New file.
10063         * benchtests/bench-stpncpy.c: New file.
10064         * benchtests/bench-strcasecmp-ifunc.c: New file.
10065         * benchtests/bench-strcasecmp.c: New file.
10066         * benchtests/bench-strcasestr-ifunc.c: New file.
10067         * benchtests/bench-strcasestr.c: New file.
10068         * benchtests/bench-strcat-ifunc.c: New file.
10069         * benchtests/bench-strcat.c: New file.
10070         * benchtests/bench-strchr-ifunc.c: New file.
10071         * benchtests/bench-strchr.c: New file.
10072         * benchtests/bench-strchrnul-ifunc.c: New file.
10073         * benchtests/bench-strchrnul.c: New file.
10074         * benchtests/bench-strcmp-ifunc.c: New file.
10075         * benchtests/bench-strcmp.c: New file.
10076         * benchtests/bench-strcpy-ifunc.c: New file.
10077         * benchtests/bench-strcpy.c: New file.
10078         * benchtests/bench-strcspn-ifunc.c: New file.
10079         * benchtests/bench-strcspn.c: New file.
10080         * benchtests/bench-strlen-ifunc.c: New file.
10081         * benchtests/bench-strlen.c: New file.
10082         * benchtests/bench-strncasecmp-ifunc.c: New file.
10083         * benchtests/bench-strncasecmp.c: New file.
10084         * benchtests/bench-strncat-ifunc.c: New file.
10085         * benchtests/bench-strncat.c: New file.
10086         * benchtests/bench-strncmp-ifunc.c: New file.
10087         * benchtests/bench-strncmp.c: New file.
10088         * benchtests/bench-strncpy-ifunc.c: New file.
10089         * benchtests/bench-strncpy.c: New file.
10090         * benchtests/bench-strnlen-ifunc.c: New file.
10091         * benchtests/bench-strnlen.c: New file.
10092         * benchtests/bench-strpbrk-ifunc.c: New file.
10093         * benchtests/bench-strpbrk.c: New file.
10094         * benchtests/bench-strrchr-ifunc.c: New file.
10095         * benchtests/bench-strrchr.c: New file.
10096         * benchtests/bench-strspn-ifunc.c: New file.
10097         * benchtests/bench-strspn.c: New file.
10098         * benchtests/bench-strstr-ifunc.c: New file.
10099         * benchtests/bench-strstr.c: New file.
10101         * benchtests/Makefile: Disable parallel execution of targets.
10102         (string-bench): Add memcpy.
10103         (benchset): New variable to store a list of benchmark sets.
10104         (bench-func): Renamed from bench.
10105         (bench-set): New target.
10106         (bench): Depend on bench-func and bench-set.
10107         * benchtests/README: Add section on benchmark sets.
10108         * benchtests/bench-memcpy-ifunc.c: New file.
10109         * benchtests/bench-memcpy.c: New file.
10110         * benchtests/bench-string.h: New file.
10112 2013-06-11  Andreas Schwab  <schwab@suse.de>
10114         [BZ #15577]
10115         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10116         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10117         values in the triple.
10118         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10119         terminator in the group key.
10121 2013-06-11  Andreas Jaeger  <aj@suse.de>
10123         * po/zh_TW.po: Update Chinese (traditional) translation from
10124         translation project.
10126 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10128         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10129         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10130         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10131         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10132         (clock_getcpuclockid): Likewise.
10133         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10134         Add weak_alias and libc_hidden_def.
10135         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10136         * rt/clock_gettime.c (clock_gettime): Rename to
10137         __clock_gettime.  Add weak_alias and libc_hidden_def.
10138         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10139         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10140         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10141         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10142         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10143         Likewise.
10144         * rt/clock_settime.c (clock_settime): Rename to
10145         __clock_settime.  Add weak_alias and libc_hidden_def.
10146         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10148 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10150         * mach/err_boot.sub: Remove trailing whitespace.
10151         * mach/err_ipc.sub: Likewise.
10152         * mach/err_mach.sub: Likewise.
10154         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10155         (ROUNDING_TESTS_double): Likewise.
10156         (ROUNDING_TESTS_long_double): Likewise.
10157         (ROUNDING_TESTS): Likewise.
10158         * math/libm-test.inc: Include <math-tests.h>.
10159         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10160         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10161         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10162         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10164 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10166         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10167         of assigning.
10169 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10171         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10172         otherwise empty TRANS lines.
10173         * sysdeps/gnu/errlist.c: Regenerated.
10175         * catgets/gencat.c (error_print): Use (void) in function
10176         definition.
10177         * crypt/crypt_util.c (__init_des): Likewise.
10178         * crypt/speeds.c (Stop): Likewise.
10179         (main): Likewise.
10180         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10181         * inet/ruserpass.c (token): Likewise.
10182         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10183         * intl/localealias.c (extend_alias_table): Likewise.
10184         * intl/plural-exp.c (init_germanic_plural): Likewise.
10185         * libio/fcloseall.c (__fcloseall): Likewise.
10186         * libio/genops.c (_IO_flush_all): Likewise.
10187         (_IO_flush_all_linebuffered): Likewise.
10188         (_IO_cleanup): Likewise.
10189         (_IO_iter_begin): Likewise.
10190         (_IO_iter_end): Likewise.
10191         (_IO_list_lock): Likewise.
10192         (_IO_list_unlock): Likewise.
10193         (_IO_list_resetlock): Likewise.
10194         * libio/getchar.c (getchar): Likewise.
10195         * libio/getchar_u.c (getchar_unlocked): Likewise.
10196         * libio/getwchar.c (getwchar): Likewise.
10197         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10198         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10199         * login/getpt.c (__getpt): Likewise.
10200         * login/tst-utmp.c (main): Likewise.
10201         * malloc/hooks.c (__malloc_check_init): Likewise.
10202         * malloc/malloc.c (__malloc_stats): Likewise.
10203         * malloc/mtrace.c (tr_break): Likewise.
10204         (mtrace): Likewise.
10205         (muntrace): Likewise.
10206         * misc/fstab.c (endfsent): Likewise.
10207         * misc/getclktck.c (__getclktck): Likewise.
10208         * misc/getdtsz.c (__getdtablesize): Likewise.
10209         * misc/gethostid.c (gethostid): Likewise.
10210         * misc/getpagesize.c (__getpagesize): Likewise.
10211         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10212         (__get_nprocs): Likewise.
10213         (__get_phys_pages): Likewise.
10214         (__get_avphys_pages): Likewise.
10215         * misc/getttyent.c (getttyent): Likewise.
10216         (setttyent): Likewise.
10217         (endttyent): Likewise.
10218         * misc/getusershell.c (getusershell): Likewise.
10219         (endusershell): Likewise.
10220         (setusershell): Likewise.
10221         (initshells): Likewise.
10222         * misc/hsearch.c (__hdestroy): Likewise.
10223         * misc/sync.c (sync): Likewise.
10224         * misc/syslog.c (closelog_internal): Likewise.
10225         (closelog): Likewise.
10226         * misc/ttyslot.c (ttyslot): Likewise.
10227         * misc/vhangup.c (vhangup): Likewise.
10228         * posix/fork.c (__fork): Likewise.
10229         * posix/getegid.c (__getegid): Likewise.
10230         * posix/geteuid.c (__geteuid): Likewise.
10231         * posix/getgid.c (__getgid): Likewise.
10232         * posix/getpid.c (__getpid): Likewise.
10233         * posix/getppid.c (__getppid): Likewise.
10234         * posix/getuid.c (__getuid): Likewise.
10235         * posix/pause.c (pause): Likewise.
10236         * posix/setpgrp.c (setpgrp): Likewise.
10237         * posix/setsid.c (__setsid): Likewise.
10238         * posix/test-vfork.c (noop): Likewise.
10239         * resolv/gethnamaddr.c (_endhtent): Likewise.
10240         (_gethtent): Likewise.
10241         (ht_endhostent): Likewise.
10242         (gethostent): Likewise.
10243         (dns_service): Likewise.
10244         * stdlib/drand48.c (drand48): Likewise.
10245         * stdlib/lrand48.c (lrand48): Likewise.
10246         * stdlib/mrand48.c (mrand48): Likewise.
10247         * stdlib/rand.c (rand): Likewise.
10248         * stdlib/random.c (__random): Likewise.
10249         * stdlib/setenv.c (clearenv): Likewise.
10250         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10251         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10252         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10253         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10254         (__get_nprocs): Likewise.
10255         (__get_phys_pages): Likewise.
10256         (__get_avphys_pages): Likewise.
10257         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10258         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10259         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10260         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10261         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10262         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10263         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10264         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10265         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10266         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10267         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10268         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10269         * sysdeps/posix/clock.c (clock): Likewise.
10270         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10271         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10272         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10273         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10274         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10275         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10276         (__get_nprocs_conf): Likewise.
10277         (__get_phys_pages): Likewise.
10278         (__get_avphys_pages): Likewise.
10279         * time/clock.c (clock): Likewise.
10280         * time/tzset.c (__tzname_max): Likewise.
10282 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10284         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10285         (__bswap_32): Do not use "register".
10286         * crypt/crypt.c (_ufc_doit_r): Likewise.
10287         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10288         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10289         * gmon/gmon.c (__monstartup): Likewise.
10290         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10291         * hurd/hurdmalloc.c (more_memory): Likewise.
10292         (malloc): Likewise.
10293         (free): Likewise.
10294         (realloc): Likewise.
10295         (malloc_fork_prepare): Likewise.
10296         (malloc_fork_parent): Likewise.
10297         (malloc_fork_child): Likewise.
10298         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10299         (_svcauth_des): Likewise.
10300         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10301         * inet/inet_net.c (inet_network): Likewise.
10302         * inet/inet_netof.c (inet_netof): Likewise.
10303         * inet/rcmd.c (__validuser2_sa): Likewise.
10304         * io/fts.c (fts_open): Likewise.
10305         (fts_load): Likewise.
10306         (fts_close): Likewise.
10307         (fts_read): Likewise.
10308         (fts_children): Likewise.
10309         (fts_build): Likewise.
10310         (fts_stat): Likewise.
10311         (fts_sort): Likewise.
10312         (fts_alloc): Likewise.
10313         (fts_lfree): Likewise.
10314         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10315         (_IO_file_xsgetn): Likewise.
10316         (_IO_file_xsgetn_mmap): Likewise.
10317         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10318         (_IO_cookie_write): Likewise.
10319         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10320         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10321         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10322         * malloc/obstack.c (_obstack_begin): Likewise.
10323         (_obstack_begin_1): Likewise.
10324         (_obstack_newchunk): Likewise.
10325         (_obstack_allocated_p): Likewise.
10326         (obstack_free): Likewise.
10327         (_obstack_memory_used): Likewise.
10328         * misc/getttyent.c (getttynam): Likewise.
10329         (getttyent): Likewise.
10330         (skip): Likewise.
10331         (value): Likewise.
10332         * misc/getusershell.c (initshells): Likewise.
10333         * misc/syslog.c (__vsyslog_chk): Likewise.
10334         * misc/ttyslot.c (ttyslot): Likewise.
10335         * nis/nis_hash.c (__nis_hash): Likewise.
10336         * posix/fnmatch_loop.c (FCT): Likewise.
10337         * posix/getconf.c (print_all): Likewise.
10338         (main): Likewise.
10339         * posix/getopt.c (exchange): Likewise.
10340         * posix/glob.c (globfree): Likewise.
10341         (prefix_array): Likewise.
10342         (__glob_pattern_type): Likewise.
10343         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10344         (NS_GET32): Likewise.
10345         (NS_PUT16): Likewise.
10346         (NS_PUT32): Likewise.
10347         * resolv/gethnamaddr.c (getanswer): Likewise.
10348         (gethostbyname2): Likewise.
10349         (gethostbyaddr): Likewise.
10350         (_gethtent): Likewise.
10351         (_gethtbyname2): Likewise.
10352         (_gethtbyaddr): Likewise.
10353         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10354         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10355         * resolv/res_init.c (__res_vinit): Likewise.
10356         (net_mask): Likewise.
10357         * resolv/res_mkquery.c (outchar): Likewise.
10358         (PRINT): Likewise.
10359         * stdio-common/printf_fp.c (outchar): Likewise.
10360         (PRINT): Likewise.
10361         * stdio-common/printf_fphex.c (outchar): Likewise.
10362         (PRINT): Likewise.
10363         * stdio-common/printf_size.c (outchar): Likewise.
10364         (PRINT): Likewise.
10365         * stdio-common/test_rdwr.c (main): Likewise.
10366         * stdio-common/tfformat.c (matches): Likewise.
10367         * stdio-common/vfprintf.c (outchar): Likewise.
10368         (printf_unknown): Likewise.
10369         (buffered_vfprintf): Likewise.
10370         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10371         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10372         (ReadFile): Likewise.
10373         * stdlib/qsort.c (SWAP): Likewise.
10374         (_quicksort): Likewise.
10375         * stdlib/setenv.c (__add_to_environ): Likewise.
10376         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10377         * stdlib/strtol_l.c (__strtol_l): Likewise.
10378         * stdlib/tst-strtod.c (main): Likewise.
10379         * stdlib/tst-strtol.c (main): Likewise.
10380         * stdlib/tst-strtoll.c (main): Likewise.
10381         * string/bits/string2.h (__strcmp_cc): Likewise.
10382         (__strcmp_cg): Likewise.
10383         (__strcspn_c1): Likewise.
10384         (__strcspn_c2): Likewise.
10385         (__strcspn_c3): Likewise.
10386         (__strspn_c1): Likewise.
10387         (__strspn_c2): Likewise.
10388         (__strspn_c3): Likewise.
10389         (__strsep_1c): Likewise.
10390         (__strsep_2c): Likewise.
10391         (__strsep_3c): Likewise.
10392         * string/memccpy.c (__memccpy): Likewise.
10393         * string/stpcpy.c (__stpcpy): Likewise.
10394         * string/strcmp.c (strcmp): Likewise.
10395         * string/strrchr.c (strrchr): Likewise.
10396         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10397         Likewise.
10398         * sysdeps/mach/hurd/getcwd.c
10399         (_hurd_canonicalize_directory_name_internal): Likewise.
10400         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10401         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10402         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10403         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10404         Likewise, in both definitions.
10405         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10406         definitions.
10407         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10408         64] (__bswap_64): Likewise.
10409         * time/test_time.c (main): Likewise.
10410         * time/tzfile.c (__tzfile_read): Likewise.
10411         (__tzfile_compute): Likewise.
10412         * time/tzset.c (__tzset_parse_tz): Likewise.
10413         (tzset_internal): Likewise.
10414         (compute_change): Likewise.
10415         * wcsmbs/wcscat.c (__wcscat): Likewise.
10416         * wcsmbs/wcschr.c (wcschr): Likewise.
10417         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10418         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10419         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10420         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10421         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10422         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10423         * wcsmbs/wmemchr.c (wmemchr): Likewise.
10424         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10425         * wcsmbs/wmemset.c (wmemset): Likewise.
10427 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
10429         * scripts/config.guess: Update to version 2013-05-16.
10430         * scripts/config.sub: Update to version 2013-04-24.
10431         * scripts/install-sh: Update to version 2011-11-20.07.
10432         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10433         * scripts/move-if-change: Update to version 2012-01-06 07:23.
10435 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
10437         * debug/fgetws_u_chk.c: Fix leading whitespaces.
10438         * elf/sln.c: Likewise.
10439         * hurd/hurd/ioctl.h: Likewise.
10440         * hurd/hurdmalloc.c: Likewise.
10441         * hurd/xattr.c: Likewise.
10442         * include/shlib-compat.h: Likewise.
10443         * inet/ruserpass.c: Likewise.
10444         * libio/iofgets_u.c: Likewise.
10445         * libio/iofgetws_u.c: Likewise.
10446         * locale/programs/ld-identification.c: Likewise.
10447         * locale/programs/ld-time.c: Likewise.
10448         * mach/msg-destroy.c: Likewise.
10449         * nss/nss_files/files-netgrp.c: Likewise.
10450         * resolv/res_data.c: Likewise.
10451         * soft-fp/op-1.h: Likewise.
10452         * soft-fp/op-2.h: Likewise.
10453         * soft-fp/op-4.h: Likewise.
10454         * soft-fp/op-common.h: Likewise.
10455         * stdio-common/printf_fphex.c: Likewise.
10456         * stdlib/strtod_l.c: Likewise.
10457         * sunrpc/rpc/clnt.h: Likewise.
10458         * sysdeps/generic/framestate.c: Likewise.
10459         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10460         * sysdeps/i386/bsd-setjmp.S: Likewise.
10461         * sysdeps/i386/__longjmp.S: Likewise.
10462         * sysdeps/i386/setjmp.S: Likewise.
10463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10464         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10465         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10466         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10468         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10469         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10470         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10471         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10472         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10473         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10474         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10475         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10476         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10477         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10478         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10479         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10480         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
10481         * sysdeps/ieee754/support.c: Likewise.
10482         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10483         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
10484         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
10485         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
10486         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
10487         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
10488         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
10489         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
10490         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
10491         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
10492         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
10493         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
10494         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
10495         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
10496         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
10497         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
10498         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10501 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
10503         * posix/transbug.c: Remove executable mode.
10505 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
10507         * crypt/speeds.c: Remove trailing whitespace.
10508         * dlfcn/default.c: Likewise.
10509         * elf/ifuncdep2.c: Likewise.
10510         * elf/ifuncmain1.c: Likewise.
10511         * elf/ifuncmain1vis.c: Likewise.
10512         * elf/testobj.h: Likewise.
10513         * elf/tst-stackguard1.c: Likewise.
10514         * gmon/sys/gmon.h: Likewise.
10515         * hurd/hurdmsg.c: Likewise.
10516         * hurd/new-fd.c: Likewise.
10517         * hurd/ports-get.c: Likewise.
10518         * iconvdata/ibm1008_420.c: Likewise.
10519         * inet/tst-getni1.c: Likewise.
10520         * inet/tst-getni2.c: Likewise.
10521         * libio/ioungetc.c: Likewise.
10522         * libio/wfiledoalloc.c: Likewise.
10523         * manual/libm-err-tab.pl: Likewise.
10524         * math/w_dremf.c: Likewise.
10525         * misc/ftruncate.c: Likewise.
10526         * posix/bug-glob2.c: Likewise.
10527         * posix/tst-pcre.c: Likewise.
10528         * posix/wait4.c: Likewise.
10529         * resolv/README: Likewise.
10530         * resolv/res_debug.h: Likewise.
10531         * resolv/tst-inet_ntop.c: Likewise.
10532         * setjmp/bug269-setjmp.c: Likewise.
10533         * soft-fp/extended.h: Likewise.
10534         * soft-fp/op-1.h: Likewise.
10535         * soft-fp/op-2.h: Likewise.
10536         * soft-fp/op-4.h: Likewise.
10537         * soft-fp/op-8.h: Likewise.
10538         * soft-fp/testit.c: Likewise.
10539         * stdio-common/bug16.c: Likewise.
10540         * stdlib/random.c: Likewise.
10541         * sunrpc/rpcsvc/rquota.x: Likewise.
10542         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
10543         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10545         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10546         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10547         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10548         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10549         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10550         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10551         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10552         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10553         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10554         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10555         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10556         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10557         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10558         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10560         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10563         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10564         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10565         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10566         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10567         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10570         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10571         * sysdeps/ieee754/s_lib_version.c: Likewise.
10572         * sysdeps/mach/hurd/check_fds.c: Likewise.
10573         * sysdeps/mach/hurd/getsockname.c: Likewise.
10574         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
10575         * sysdeps/mach/hurd/recvfrom.c: Likewise.
10576         * sysdeps/powerpc/bits/link.h: Likewise.
10577         * sysdeps/powerpc/dl-procinfo.c: Likewise.
10578         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
10579         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
10580         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
10581         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10582         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10583         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
10584         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10585         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
10586         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10587         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10588         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10589         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
10590         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10591         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10592         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10593         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10594         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10595         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10596         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10597         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10598         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
10599         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10600         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10601         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
10602         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10603         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10604         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10605         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10606         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10607         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10608         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10609         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10610         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10611         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
10612         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10613         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
10614         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10615         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10616         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
10617         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
10618         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
10619         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
10620         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
10621         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10622         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
10623         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
10624         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10625         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
10626         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
10627         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10629         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10630         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10631         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
10632         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10633         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10635         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
10636         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10637         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
10638         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
10639         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
10640         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10641         * sysdeps/powerpc/sysdep.h: Likewise.
10642         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10643         * sysdeps/s390/s390-64/sub_n.S: Likewise.
10644         * sysdeps/sh/dl-trampoline.S: Likewise.
10645         * sysdeps/sh/memset.S: Likewise.
10646         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
10647         * sysdeps/sh/strlen.S: Likewise.
10648         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
10649         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
10650         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
10651         * sysdeps/sparc/sparc32/rem.S: Likewise.
10652         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
10653         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
10654         * sysdeps/sparc/sparc32/strchr.S: Likewise.
10655         * sysdeps/sparc/sparc32/udiv.S: Likewise.
10656         * sysdeps/sparc/sparc32/urem.S: Likewise.
10657         * sysdeps/sparc/sparc64/add_n.S: Likewise.
10658         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10659         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
10660         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
10661         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
10662         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
10663         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10664         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
10665         * sysdeps/unix/bsd/times.c: Likewise.
10666         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
10667         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10671         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10672         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10673         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10674         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
10675         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
10676         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
10677         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10678         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
10679         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10680         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10681         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10682         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10683         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
10684         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
10685         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
10686         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10687         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
10688         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10689         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
10690         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
10691         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10692         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10694         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
10695         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10696         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10697         * sysdeps/x86_64/strcspn.S: Likewise.
10699 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10701         * locale/C-translit.h: Revert #include <stdint.h> because this is a
10702         generated file.  Regenerate properly from gen-translit.pl.
10703         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
10704         locale/C-translit.h.
10706 2013-06-05  Andreas Schwab  <schwab@suse.de>
10708         [BZ #15100]
10709         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10710         week as 6 instead of -1.
10711         * time/tst-strptime.c (day_tests): Add test case.
10713 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10715         * sysdeps/generic/math_private.h
10716         (libc_feholdexcept_setround_53bit): Replace with
10717         libc_feholdsetround_53bit.
10718         (libc_feupdateenv_53bit): Replace with
10719         libc_feresetround_53bit.
10720         (SET_RESTORE_ROUND_53BIT): Adjust.
10722 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10724         * string/test-strchrnul.c: Add copyright header.
10726         * posix/tst-getaddrinfo4.c: Increase test timeout.
10728 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
10730         [BZ #15536]
10731         * math/libm-test.inc (MAX_EXP): Remove
10732         (MIN_EXP): Define.
10733         (ulp): Use MIN_EXP - MANT_DIG.
10734         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10736 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
10738         * po/be.po: Revert last change.
10739         * po/zh_CN.po: Likewise.
10740         * po/header.pot: Likewise.
10742 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
10744         * Makefile ($(common-objpfx)linkobj/libc.so): Define
10745         link-libc-deps to empty as target-specific variable.
10746         * Makerules (link-libc-args): New variable.
10747         (libc-for-link): Likewise.
10748         (link-libc-deps): Likewise.
10749         (lib%.so): Depend on $(link-libc-deps).  Link with
10750         $(link-libc-args).
10751         (build-module): Link with $(link-libc-args).
10752         (build-module-asneeded): Likewise.
10753         (build-module-helper-objlist): Filter out $(link-libc-deps) from
10754         list of objects.
10755         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10756         target-specific variable.
10757         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10758         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10759         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10760         libc.
10761         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10762         libc and ld.so.
10763         ($(objpfx)libpcprofile.so): Likewise.
10764         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10765         libc_nonshared.a.
10766         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10767         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10768         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10769         $(link-libc-deps).
10770         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10771         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10772         * login/Makefile ($(objpfx)libutil.so): Likewise.
10773         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10774         * math/Makefile ($(objpfx)libm.so): Likewise.
10775         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10776         $(objpfx)libnsl.so): Define libc-for-link as target-specific
10777         variable instead of depending directly on libc.
10778         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10779         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10780         $(link-libc-deps).
10781         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10782         libc.
10783         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10784         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10785         ($(objpfx)libanl.so): Likewise.
10786         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10787         ld.so.
10788         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10789         $(link-libc-deps).
10790         * sysdeps/i386/fpu/Makefile: Remove file.
10791         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10792         ($(objpfx)libm.so): Remove dependency on ld.so.
10794 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
10796         [BZ # 15553]
10797         * nis/yp_xdr.c (XDRMAXNAME): Define.
10798         (XDRMAXRECORD): Define.
10799         (xdr_domainname): Use XDRMAXNAME.
10800         (xdr_mapname): Likewise.
10801         (xdr_peername): Likewise.
10802         (xdr_keydat): Use XDRMAXRECORD.
10803         (xdr_valdat): Likewise.
10805 2013-05-30  Jeff Law  <law@redhat.com>
10807         [BZ #14256]
10808         * manual/errno.texi (ESTALE): Update to account for more than
10809         just NFS file systems.
10810         * sysdeps/gnu/errlist.c: Regenerated.
10812 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10814         [BZ #15465]
10815         * elf/Makefile (tests): Add tst-null-argv.
10816         (modules-names):  Add tst-null-argv-lib.
10817         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10818         (tst-null-argv-ENV): Set environment for tst-null-argv.
10819         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10820         (RTLD_PROGNAME): New macro.
10821         * elf/tst-null-argv.c: New test case.
10822         * elf/tst-null-argv-lib.c: Library for test case.
10823         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10824         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10825         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10826         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10827         * elf/dl-init.c (call_init): Likewise.
10828         (_dl_init): Likewise.
10829         * elf/dl-load.c (print_search_path): Likewise.
10830         (_dl_map_object): Likewise.
10831         * elf/dl-lookup.c (do_lookup_x): Likewise.
10832         (add_dependency): Likewise.
10833         (_dl_lookup_symbol_x): Likewise.
10834         (_dl_debug_bindings): Likewise.
10835         * elf/dl-open.c (_dl_show_scope): Likewise.
10836         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10837         * elf/dl-version.c (match_symbol): Likewise.
10838         (_dl_check_map_versions): Likewise.
10839         * elf/rtld.c (dl_main): Likewise.
10840         (print_unresolved): Use RTLD_PROGNAME.
10841         (print_missing_version): Likewise.
10842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10843         (elf_machine_rela): Likewise.
10844         * sysdeps/powerpc/powerpc32/dl-machine.c
10845         (__process_machine_rela): Likewise.
10846         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10847         Likewise.
10848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10849         Likewise.
10850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10851         Likewise.
10852         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10854         Likewise.
10855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10856         Likewise.
10857         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10859 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
10861         * po/be.po: Add descriptive title.
10862         * po/zh_CN.po: Likewise.
10863         * po/header.pot: Likewise.
10865 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
10867         * locale/programs/locarchive.c (create_archive): Inlucde fname in
10868         error message.
10869         (enlarge_archive): Likewise.
10871 2013-05-28  Ben North  <ben@redfrontdoor.org>
10873         * manual/arith.texi (frexp): It is the magnitude of the return
10874         value which lies in [0.5, 1), not the return value itself.
10876 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10880 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
10882         * stdio-common/bug26.c (main): Correct fscanf template.
10884         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10885         declare _dl_skip_args.
10887         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10888         Don't declare.
10890         * manual/platform.texi: Add missing @end deftypefun.
10892 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10894         [BZ #15529]
10895         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10896         bit of mantissa of 2^16382.
10897         * math/libm-test.inc (hypot_test_data): Add more tests.
10899         * math/libm-test.inc: Add drem and pow10 to list of tested
10900         functions.
10901         (pow10_test): New function.
10902         (drem_test): Likewise.
10903         (drem_test_tonearest): Likewise.
10904         (drem_test_towardzero): Likewise.
10905         (drem_test_downward): Likewise.
10906         (drem_test_upward): Likewise.
10907         (main): Call the new functions.
10909         * math/libm-test.inc (finite_test_data): Remove.
10910         (finite_test): Run tests from isfinite_test_data.
10911         (gamma_test_data): Remove.
10912         (gamma_test): Run tests from lgamma_test_data.
10913         * sysdeps/i386/fpu/libm-test-ulps: Update.
10914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10918         * manual/platform.texi: Add PowerPC PPR function set documentation.
10919         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10920         implementation.
10922 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
10924         * math/libm-test.inc (MAX_EXP): Define.
10925         (ULPDIFF): Define.
10926         (ulp): New function.
10927         (check_float_internal): Use ULPDIFF.
10928         (cpow_test): Disable failing test.
10929         (check_ulp): Test ulp() implemetnation.
10930         (main): Call check_ulp before starting tests.
10932 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10934         * math/gen-libm-test.pl (generate_testfile): Do not handle
10935         START_DATA and END_DATA.
10936         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10937         END_DATA.
10938         (acos_tonearest_test_data): Likewise.
10939         (acos_towardzero_test_data): Likewise.
10940         (acos_downward_test_data): Likewise.
10941         (acos_upward_test_data): Likewise.
10942         (acosh_test_data): Likewise.
10943         (asin_test_data): Likewise.
10944         (asin_tonearest_test_data): Likewise.
10945         (asin_towardzero_test_data): Likewise.
10946         (asin_downward_test_data): Likewise.
10947         (asin_upward_test_data): Likewise.
10948         (asinh_test_data): Likewise.
10949         (atan_test_data): Likewise.
10950         (atanh_test_data): Likewise.
10951         (atan2_test_data): Likewise.
10952         (cabs_test_data): Likewise.
10953         (cacos_test_data): Likewise.
10954         (cacosh_test_data): Likewise.
10955         (carg_test_data): Likewise.
10956         (casin_test_data): Likewise.
10957         (casinh_test_data): Likewise.
10958         (catan_test_data): Likewise.
10959         (catanh_test_data): Likewise.
10960         (cbrt_test_data): Likewise.
10961         (ccos_test_data): Likewise.
10962         (ccosh_test_data): Likewise.
10963         (ceil_test_data): Likewise.
10964         (cexp_test_data): Likewise.
10965         (cimag_test_data): Likewise.
10966         (clog_test_data): Likewise.
10967         (clog10_test_data): Likewise.
10968         (conj_test_data): Likewise.
10969         (copysign_test_data): Likewise.
10970         (cos_test_data): Likewise.
10971         (cos_tonearest_test_data): Likewise.
10972         (cos_towardzero_test_data): Likewise.
10973         (cos_downward_test_data): Likewise.
10974         (cos_upward_test_data): Likewise.
10975         (cosh_test_data): Likewise.
10976         (cosh_tonearest_test_data): Likewise.
10977         (cosh_towardzero_test_data): Likewise.
10978         (cosh_downward_test_data): Likewise.
10979         (cosh_upward_test_data): Likewise.
10980         (cpow_test_data): Likewise.
10981         (cproj_test_data): Likewise.
10982         (creal_test_data): Likewise.
10983         (csin_test_data): Likewise.
10984         (csinh_test_data): Likewise.
10985         (csqrt_test_data): Likewise.
10986         (ctan_test_data): Likewise.
10987         (ctan_tonearest_test_data): Likewise.
10988         (ctan_towardzero_test_data): Likewise.
10989         (ctan_downward_test_data): Likewise.
10990         (ctan_upward_test_data): Likewise.
10991         (ctanh_test_data): Likewise.
10992         (ctanh_tonearest_test_data): Likewise.
10993         (ctanh_towardzero_test_data): Likewise.
10994         (ctanh_downward_test_data): Likewise.
10995         (ctanh_upward_test_data): Likewise.
10996         (erf_test_data): Likewise.
10997         (erfc_test_data): Likewise.
10998         (exp_test_data): Likewise.
10999         (exp_tonearest_test_data): Likewise.
11000         (exp_towardzero_test_data): Likewise.
11001         (exp_downward_test_data): Likewise.
11002         (exp_upward_test_data): Likewise.
11003         (exp10_test_data): Likewise.
11004         (exp2_test_data): Likewise.
11005         (expm1_test_data): Likewise.
11006         (fabs_test_data): Likewise.
11007         (fdim_test_data): Likewise.
11008         (finite_test_data): Likewise.
11009         (floor_test_data): Likewise.
11010         (fma_test_data): Likewise.
11011         (fma_towardzero_test_data): Likewise.
11012         (fma_downward_test_data): Likewise.
11013         (fma_upward_test_data): Likewise.
11014         (fmax_test_data): Likewise.
11015         (fmin_test_data): Likewise.
11016         (fmod_test_data): Likewise.
11017         (fpclassify_test_data): Likewise.
11018         (frexp_test_data): Likewise.
11019         (gamma_test_data): Likewise.
11020         (hypot_test_data): Likewise.
11021         (ilogb_test_data): Likewise.
11022         (isfinite_test_data): Likewise.
11023         (isgreater_test_data): Likewise.
11024         (isgreaterequal_test_data): Likewise.
11025         (isinf_test_data): Likewise.
11026         (isless_test_data): Likewise.
11027         (islessequal_test_data): Likewise.
11028         (islessgreater_test_data): Likewise.
11029         (isnan_test_data): Likewise.
11030         (isnormal_test_data): Likewise.
11031         (issignaling_test_data): Likewise.
11032         (isunordered_test_data): Likewise.
11033         (j0_test_data): Likewise.
11034         (j1_test_data): Likewise.
11035         (jn_test_data): Likewise.
11036         (ldexp_test_data): Likewise.
11037         (lgamma_test_data): Likewise.
11038         (lrint_test_data): Likewise.
11039         (lrint_tonearest_test_data): Likewise.
11040         (lrint_towardzero_test_data): Likewise.
11041         (lrint_downward_test_data): Likewise.
11042         (lrint_upward_test_data): Likewise.
11043         (llrint_test_data): Likewise.
11044         (llrint_tonearest_test_data): Likewise.
11045         (llrint_towardzero_test_data): Likewise.
11046         (llrint_downward_test_data): Likewise.
11047         (llrint_upward_test_data): Likewise.
11048         (log_test_data): Likewise.
11049         (log10_test_data): Likewise.
11050         (log1p_test_data): Likewise.
11051         (log2_test_data): Likewise.
11052         (logb_test_data): Likewise.
11053         (logb_downward_test_data): Likewise.
11054         (lround_test_data): Likewise.
11055         (llround_test_data): Likewise.
11056         (modf_test_data): Likewise.
11057         (nearbyint_test_data): Likewise.
11058         (nextafter_test_data): Likewise.
11059         (nexttoward_test_data): Likewise.
11060         (pow_test_data): Likewise.
11061         (pow_tonearest_test_data): Likewise.
11062         (pow_towardzero_test_data): Likewise.
11063         (pow_downward_test_data): Likewise.
11064         (pow_upward_test_data): Likewise.
11065         (remainder_test_data): Likewise.
11066         (remainder_tonearest_test_data): Likewise.
11067         (remainder_towardzero_test_data): Likewise.
11068         (remainder_downward_test_data): Likewise.
11069         (remainder_upward_test_data): Likewise.
11070         (remquo_test_data): Likewise.
11071         (rint_test_data): Likewise.
11072         (rint_tonearest_test_data): Likewise.
11073         (rint_towardzero_test_data): Likewise.
11074         (rint_downward_test_data): Likewise.
11075         (rint_upward_test_data): Likewise.
11076         (round_test_data): Likewise.
11077         (scalb_test_data): Likewise.
11078         (scalbn_test_data): Likewise.
11079         (scalbln_test_data): Likewise.
11080         (signbit_test_data): Likewise.
11081         (sin_test_data): Likewise.
11082         (sin_tonearest_test_data): Likewise.
11083         (sin_towardzero_test_data): Likewise.
11084         (sin_downward_test_data): Likewise.
11085         (sin_upward_test_data): Likewise.
11086         (sincos_test_data): Likewise.
11087         (sinh_test_data): Likewise.
11088         (sinh_tonearest_test_data): Likewise.
11089         (sinh_towardzero_test_data): Likewise.
11090         (sinh_downward_test_data): Likewise.
11091         (sinh_upward_test_data): Likewise.
11092         (sqrt_test_data): Likewise.
11093         (tan_test_data): Likewise.
11094         (tan_tonearest_test_data): Likewise.
11095         (tan_towardzero_test_data): Likewise.
11096         (tan_downward_test_data): Likewise.
11097         (tan_upward_test_data): Likewise.
11098         (tanh_test_data): Likewise.
11099         (tgamma_test_data): Likewise.
11100         (trunc_test_data): Likewise.
11101         (y0_test_data): Likewise.
11102         (y1_test_data): Likewise.
11103         (yn_test_data): Likewise.
11104         (significand_test_data): Likewise.
11106         * math/gen-libm-test.pl (@functions): Remove variable.
11107         (generate_testfile): Don't handle START and END lines.
11108         * math/libm-test.inc (START): New macro.
11109         (END): Likewise.
11110         (END_COMPLEX): Likewise.
11111         (acos_test): Use END macro without arguments.
11112         (acos_test_tonearest): Likewise.
11113         (acos_test_towardzero): Likewise.
11114         (acos_test_downward): Likewise.
11115         (acos_test_upward): Likewise.
11116         (acosh_test): Likewise.
11117         (asin_test): Likewise.
11118         (asin_test_tonearest): Likewise.
11119         (asin_test_towardzero): Likewise.
11120         (asin_test_downward): Likewise.
11121         (asin_test_upward): Likewise.
11122         (asinh_test): Likewise.
11123         (atan_test): Likewise.
11124         (atanh_test): Likewise.
11125         (atan2_test): Likewise.
11126         (cabs_test): Likewise.
11127         (cacos_test): Use END_COMPLEX macro without arguments.
11128         (cacosh_test): Likewise.
11129         (carg_test): Use END macro without arguments.
11130         (casin_test): Use END_COMPLEX macro without arguments.
11131         (casinh_test): Likewise.
11132         (catan_test): Likewise.
11133         (catanh_test): Likewise.
11134         (cbrt_test): Use END macro without arguments.
11135         (ccos_test): Use END_COMPLEX macro without arguments.
11136         (ccosh_test): Likewise.
11137         (ceil_test): Use END macro without arguments.
11138         (cexp_test): Use END_COMPLEX macro without arguments.
11139         (cimag_test): Use END macro without arguments.
11140         (clog_test): Use END_COMPLEX macro without arguments.
11141         (clog10_test): Likewise.
11142         (conj_test): Likewise.
11143         (copysign_test): Use END macro without arguments.
11144         (cos_test): Likewise.
11145         (cos_test_tonearest): Likewise.
11146         (cos_test_towardzero): Likewise.
11147         (cos_test_downward): Likewise.
11148         (cos_test_upward): Likewise.
11149         (cosh_test): Likewise.
11150         (cosh_test_tonearest): Likewise.
11151         (cosh_test_towardzero): Likewise.
11152         (cosh_test_downward): Likewise.
11153         (cosh_test_upward): Likewise.
11154         (cpow_test): Use END_COMPLEX macro without arguments.
11155         (cproj_test): Likewise.
11156         (creal_test): Use END macro without arguments.
11157         (csin_test): Use END_COMPLEX macro without arguments.
11158         (csinh_test): Likewise.
11159         (csqrt_test): Likewise.
11160         (ctan_test): Likewise.
11161         (ctan_test_tonearest): Likewise.
11162         (ctan_test_towardzero): Likewise.
11163         (ctan_test_downward): Likewise.
11164         (ctan_test_upward): Likewise.
11165         (ctanh_test): Likewise.
11166         (ctanh_test_tonearest): Likewise.
11167         (ctanh_test_towardzero): Likewise.
11168         (ctanh_test_downward): Likewise.
11169         (ctanh_test_upward): Likewise.
11170         (erf_test): Use END macro without arguments.
11171         (erfc_test): Likewise.
11172         (exp_test): Likewise.
11173         (exp_test_tonearest): Likewise.
11174         (exp_test_towardzero): Likewise.
11175         (exp_test_downward): Likewise.
11176         (exp_test_upward): Likewise.
11177         (exp10_test): Likewise.
11178         (exp2_test): Likewise.
11179         (expm1_test): Likewise.
11180         (fabs_test): Likewise.
11181         (fdim_test): Likewise.
11182         (finite_test): Likewise.
11183         (floor_test): Likewise.
11184         (fma_test): Likewise.
11185         (fma_test_towardzero): Likewise.
11186         (fma_test_downward): Likewise.
11187         (fma_test_upward): Likewise.
11188         (fmax_test): Likewise.
11189         (fmin_test): Likewise.
11190         (fmod_test): Likewise.
11191         (fpclassify_test): Likewise.
11192         (frexp_test): Likewise.
11193         (gamma_test): Likewise.
11194         (hypot_test): Likewise.
11195         (ilogb_test): Likewise.
11196         (isfinite_test): Likewise.
11197         (isgreater_test): Likewise.
11198         (isgreaterequal_test): Likewise.
11199         (isinf_test): Likewise.
11200         (isless_test): Likewise.
11201         (islessequal_test): Likewise.
11202         (islessgreater_test): Likewise.
11203         (isnan_test): Likewise.
11204         (isnormal_test): Likewise.
11205         (issignaling_test): Likewise.
11206         (isunordered_test): Likewise.
11207         (j0_test): Likewise.
11208         (j1_test): Likewise.
11209         (jn_test): Likewise.
11210         (ldexp_test): Likewise.
11211         (lgamma_test): Likewise.
11212         (lrint_test): Likewise.
11213         (lrint_test_tonearest): Likewise.
11214         (lrint_test_towardzero): Likewise.
11215         (lrint_test_downward): Likewise.
11216         (lrint_test_upward): Likewise.
11217         (llrint_test): Likewise.
11218         (llrint_test_tonearest): Likewise.
11219         (llrint_test_towardzero): Likewise.
11220         (llrint_test_downward): Likewise.
11221         (llrint_test_upward): Likewise.
11222         (log_test): Likewise.
11223         (log10_test): Likewise.
11224         (log1p_test): Likewise.
11225         (log2_test): Likewise.
11226         (logb_test): Likewise.
11227         (logb_test_downward): Likewise.
11228         (lround_test): Likewise.
11229         (llround_test): Likewise.
11230         (modf_test): Likewise.
11231         (nearbyint_test): Likewise.
11232         (nextafter_test): Likewise.
11233         (nexttoward_test): Likewise.
11234         (pow_test): Likewise.
11235         (pow_test_tonearest): Likewise.
11236         (pow_test_towardzero): Likewise.
11237         (pow_test_downward): Likewise.
11238         (pow_test_upward): Likewise.
11239         (remainder_test): Likewise.
11240         (remainder_test_tonearest): Likewise.
11241         (remainder_test_towardzero): Likewise.
11242         (remainder_test_downward): Likewise.
11243         (remainder_test_upward): Likewise.
11244         (remquo_test): Likewise.
11245         (rint_test): Likewise.
11246         (rint_test_tonearest): Likewise.
11247         (rint_test_towardzero): Likewise.
11248         (rint_test_downward): Likewise.
11249         (rint_test_upward): Likewise.
11250         (round_test): Likewise.
11251         (scalb_test): Likewise.
11252         (scalbn_test): Likewise.
11253         (scalbln_test): Likewise.
11254         (signbit_test): Likewise.
11255         (sin_test): Likewise.
11256         (sin_test_tonearest): Likewise.
11257         (sin_test_towardzero): Likewise.
11258         (sin_test_downward): Likewise.
11259         (sin_test_upward): Likewise.
11260         (sincos_test): Likewise.
11261         (sinh_test): Likewise.
11262         (sinh_test_tonearest): Likewise.
11263         (sinh_test_towardzero): Likewise.
11264         (sinh_test_downward): Likewise.
11265         (sinh_test_upward): Likewise.
11266         (sqrt_test): Likewise.
11267         (tan_test): Likewise.
11268         (tan_test_tonearest): Likewise.
11269         (tan_test_towardzero): Likewise.
11270         (tan_test_downward): Likewise.
11271         (tan_test_upward): Likewise.
11272         (tanh_test): Likewise.
11273         (tgamma_test): Likewise.
11274         (trunc_test): Likewise.
11275         (y0_test): Likewise.
11276         (y1_test): Likewise.
11277         (yn_test): Likewise.
11278         (significand_test): Likewise.
11280 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11282         [BZ #15381]
11283         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11285 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11287         [BZ #14894]
11288         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11289         __ppc_mdoio and __ppc_mdoom.
11290         * manual/platform.texi: Document new functions __ppc_yield,
11291         __ppc_mdoio and __ppc_mdoom.
11293 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11295         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11296         (main): Mention "tls" pseudo-hwcap is legacy.
11297         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11299 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11301         * math/gen-libm-test.pl (parse_args): Output only string of
11302         arguments as text for test name, not full call or descriptions of
11303         tests for extra outputs.
11304         (generate_testfile): Do not pass function name to parse_args.
11305         Generate this_func variable from START.
11306         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11307         field to arg_str.
11308         (struct test_ff_f_data): Likewise.
11309         (test_ff_f_data_nexttoward): Likewise.
11310         (struct test_fi_f_data): Likewise.
11311         (struct test_fl_f_data): Likewise.
11312         (struct test_if_f_data): Likewise.
11313         (struct test_fff_f_data): Likewise.
11314         (struct test_c_f_data): Likewise.
11315         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11316         (struct test_fF_f1_data): Likewise.
11317         (struct test_ffI_f1_data): Likewise.
11318         (struct test_c_c_data): Rename test_name field to arg_str.
11319         (struct test_cc_c_data): Likewise.
11320         (struct test_f_i_data): Likewise.
11321         (struct test_ff_i_data): Likewise.
11322         (struct test_f_l_data): Likewise.
11323         (struct test_f_L_data): Likewise.
11324         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11325         and extra2_name.
11326         (COMMON_TEST_SETUP): New macro.
11327         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11328         (COMMON_TEST_CLEANUP): Likewise.
11329         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11330         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11331         macros.
11332         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11333         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11334         macros.
11335         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11336         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11337         cleanup macros.
11338         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11339         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11340         macros.
11341         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11342         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11343         macros.
11344         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11345         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11346         cleanup macros.
11347         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11348         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11349         cleanup macros.
11350         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11351         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11352         cleanup macros.
11353         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11354         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11355         macros.
11356         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11357         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11358         macros.
11359         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11360         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11361         macros.
11362         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11363         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11364         cleanup macros.
11365         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11366         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11367         cleanup macros.
11368         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11369         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11370         macros.
11371         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11372         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11373         cleanup macros.
11374         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11375         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
11376         macros.
11377         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11378         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
11379         macros.
11380         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11381         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
11382         cleanup macros.
11383         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11385 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11387         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11388         to _sifields.sigfault.
11389         (si_addr_lsb): Define new macro.
11390         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11392         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11394 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
11396         [BZ #15441]
11397         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11398         returns -1.
11399         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11400         null return -1.
11401         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11402         loading the domain.
11404 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11406         * math/gen-libm-test.pl (parse_args): Do not include expected
11407         result in test name.
11408         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11409         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11410         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11411         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11412         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11415 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11417         * benchtests/Makefile: Sort function entries.
11419         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11420         tanh, asinh, acosh, atanh.
11421         * benchtests/acos-inputs: New file.
11422         * benchtests/acosh-inputs: New file.
11423         * benchtests/asin-inputs: New file.
11424         * benchtests/asinh-inputs: New file.
11425         * benchtests/atanh-inputs: New file.
11426         * benchtests/cosh-inputs: New file.
11427         * benchtests/log-inputs: New file.
11428         * benchtests/sinh-inputs: New file.
11429         * benchtests/tanh-inputs: New file.
11431 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
11433         [BZ #15339]
11434         * posix/tst-getaddrinfo4.c: New test.
11435         * posix/Makefile (tests): Add it.
11437 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11439         [BZ #15339]
11440         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11441         when no services were used.
11442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11443         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11445 2013-05-21  Andreas Schwab  <schwab@suse.de>
11447         [BZ #15014]
11448         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11449         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11450         successful.
11451         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11452         redundant variable declarations and reallocation of buffer when
11453         parsing as IPv6 address.  Always set NSS status when called from
11454         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
11455         buffer too small.  Correct computation of needed size.
11456         * nss/Makefile (tests): Add test-digits-dots.
11457         * nss/test-digits-dots.c: New test.
11459 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11461         * benchtests/Makefile: Remove instructions for adding
11462         benchmark tests.
11463         * benchtests/README: New file to explain how to execute and
11464         enhance the benchmark tests.
11466 2013-05-21  Andreas Schwab  <schwab@suse.de>
11468         [BZ #15493]
11469         * setjmp/Makefile (tests): Add tst-sigsetjmp.
11470         * setjmp/tst-sigsetjmp.c: New test.
11472 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11474         * sysdeps/x86_64/memset.S (memset): New implementation.
11475         (__bzero): Likewise.
11476         (__memset_tail): New function.
11478 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11480         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
11481         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11482         __memcpy_sse2_unaligned ifunc selection.
11483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11484         Add memcpy-sse2-unaligned.S.
11485         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11486         Add: __memcpy_sse2_unaligned.
11488 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
11490         [BZ #15490]
11491         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11492         math_force_eval before restoring floating-point envrionment.
11493         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
11494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11495         Likewise.
11496         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
11497         <math_private.h>.
11498         (__nearbyintl): Use math_force_eval before restoring
11499         floating-point environment.
11500         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
11502         * math/gen-libm-test.pl (special_functions): Remove.
11503         (parse_args): Don't handle TEST_extra.  Handle functions with no
11504         return value.
11505         * math/libm-test.inc (struct test_sincos_data): Replace with
11506         struct test_fFF_11_data.
11507         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
11508         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
11509         (sincos_test_data): Change element type to struct
11510         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
11511         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
11512         RUN_TEST_LOOP_sincos.
11513         * math/README.libm-test: Don't mention special handling of
11514         individual functions.
11515         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
11516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11517         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11518         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11519         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11522         * math/gen-libm-test.pl (get_variable): Remove function.
11523         (parse_args): Don't show pointer parameters to call in test
11524         names.  Use "extra output N" in test names for extra outputs
11525         rather than naming variables.
11527 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
11529         [BZ #15488]
11530         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
11531         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
11532         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
11533         double tests.
11534         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
11535         disable.
11536         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
11537         check_long_double.
11539         * math/gen-libm-test.pl (@tests): Remove variable.
11540         ($count): Likewise.
11541         (new_test): Remove function.
11542         (show_exceptions): New function.
11543         (special_functions): Use show_exceptions instead of new_test.
11544         (parse_args): Likewise.
11545         (generate_testfile): Pass only function name in generated call to
11546         print_max_error or print_complex_max_error.
11547         (get_ulps): Do not handle complex tests specially.
11548         (output_test): Rename to ...
11549         (get_all_ulps_for_test): ... this.  Return a string rather than
11550         printing to a file.  Require ulps to be present.
11551         (output_ulps): Generate arrays rather than #defines.
11552         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
11553         (struct ulp_data): New type.
11554         (BUILD_COMPLEX_ULP): Remove macro.
11555         (compare_ulp_data): New function.
11556         (find_ulps): Likewise.
11557         (find_test_ulps): Likewise.
11558         (find_function_ulps): Likewise.
11559         (find_complex_function_ulps): Likewise.
11560         (print_max_error): Determine allowed ulps using
11561         find_function_ulps.
11562         (print_complex_max_error): Determine allowed ulps using
11563         find_complex_function_ulps.
11564         (check_float_internal): Determine max ulps using find_test_ulps.
11565         (check_float): Do not take max_ulp parameter.  Update call to
11566         check_float_internal.
11567         (check_complex): Likewise.
11568         (check_int): Do not take max_ulp parameter.
11569         (check_long): Likewise.
11570         (check_bool): Likewise.
11571         (check_longlong): Likewise.
11572         (struct test_f_f_data): Remove max_ulp field.
11573         (struct test_ff_f_data): Likewise.
11574         (struct test_ff_f_data_nexttoward): Likewise.
11575         (struct test_fi_f_data): Likewise.
11576         (struct test_fl_f_data): Likewise.
11577         (struct test_if_f_data): Likewise.
11578         (struct test_fff_f_data): Likewise.
11579         (struct test_c_f_data): Likewise.
11580         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
11581         (struct test_fF_f1_data): Likewise.
11582         (struct test_ffI_f1_data): Likewise.
11583         (struct test_c_c_data): Remove max_ulp field.
11584         (struct test_cc_c_data): Likewise.
11585         (struct test_f_i_data): Likewise.
11586         (struct test_ff_i_data): Likewise.
11587         (struct test_f_l_data): Likewise.
11588         (struct test_f_L_data): Likewise.
11589         (struct test_sincos_data): Likewise.
11590         (RUN_TEST_f_f): Do not handle ulps.
11591         (RUN_TEST_LOOP_f_f): Likewise.
11592         (RUN_TEST_2_f): Likewise.
11593         (RUN_TEST_LOOP_2_f): Likewise.
11594         (RUN_TEST_fff_f): Likewise.
11595         (RUN_TEST_LOOP_fff_f): Likewise.
11596         (RUN_TEST_c_f): Likewise.
11597         (RUN_TEST_LOOP_c_f): Likewise.
11598         (RUN_TEST_f_f1): Likewise.
11599         (RUN_TEST_LOOP_f_f1): Likewise.
11600         (RUN_TEST_fF_f1): Likewise.
11601         (RUN_TEST_LOOP_fF_f1): Likewise.
11602         (RUN_TEST_fI_f1): Likewise.
11603         (RUN_TEST_LOOP_fI_f1): Likewise.
11604         (RUN_TEST_ffI_f1): Likewise.
11605         (RUN_TEST_LOOP_ffI_f1): Likewise.
11606         (RUN_TEST_c_c): Likewise.
11607         (RUN_TEST_LOOP_c_c): Likewise.
11608         (RUN_TEST_cc_c): Likewise.
11609         (RUN_TEST_LOOP_cc_c): Likewise.
11610         (RUN_TEST_f_i): Likewise.
11611         (RUN_TEST_LOOP_f_i): Likewise.
11612         (RUN_TEST_f_i_tg): Likewise.
11613         (RUN_TEST_LOOP_f_i_tg): Likewise.
11614         (RUN_TEST_ff_i_tg): Likewise.
11615         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11616         (RUN_TEST_f_b): Likewise.
11617         (RUN_TEST_LOOP_f_b): Likewise.
11618         (RUN_TEST_f_b_tg): Likewise.
11619         (RUN_TEST_LOOP_f_b_tg): Likewise.
11620         (RUN_TEST_f_l): Likewise.
11621         (RUN_TEST_LOOP_f_l): Likewise.
11622         (RUN_TEST_f_L): Likewise.
11623         (RUN_TEST_LOOP_f_L): Likewise.
11624         (RUN_TEST_sincos): Likewise.
11625         (RUN_TEST_LOOP_sincos): Likewise.
11627 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #15480]
11630         [BZ #15485]
11631         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
11632         main case of finite arguments, set rounding mode to FE_TONEAREST
11633         and discard exceptions.
11634         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
11635         exceptions.
11636         (remainder_tonearest_test_data): New variable.
11637         (remainder_test_tonearest): New function.
11638         (remainder_towardzero_test_data): New variable.
11639         (remainder_test_towardzero): New function.
11640         (remainder_downward_test_data): New variable.
11641         (remainder_test_downward): New function.
11642         (remainder_upward_test_data): New variable.
11643         (remainder_test_upward): New function.
11644         (main): Call the new test functions.
11646         * math/libm-test.inc (struct test_f_f1_data): Remove field
11647         extra_init.
11648         (struct test_fF_f1_data): Likewise.
11649         (struct test_ffI_f1_data): Likewise.
11650         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
11651         based on value of EXTRA_EXPECTED.
11652         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11653         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
11654         EXTRA_VAR based on value of EXTRA_EXPECTED.
11655         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11656         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
11657         EXTRA_VAR based on value of EXTRA_EXPECTED.
11658         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11659         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
11660         EXTRA_VAR based on value of EXTRA_EXPECTED.
11661         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11662         * math/gen-libm-test.pl (parse_args): Don't output initializers
11663         for extra output values.
11665         * math/libm-test.inc (check_int): Expect result to be exactly
11666         equal to expected value and do not handle ulps.
11667         (check_long): Likewise.
11668         (check_longlong): Likewise.
11670         * math/libm-test.inc (ceil_test_data): Test for "inexact"
11671         exceptions.
11672         (cimag_test_data): Likewise.
11673         (conj_test_data): Likewise.
11674         (copysign_test_data): Likewise.
11675         (cproj_test_data): Likewise.
11676         (creal_test_data): Likewise.
11677         (fabs_test_data): Likewise.
11678         (fdim_test_data): Likewise.
11679         (finite_test_data): Likewise.
11680         (floor_test_data): Likewise.
11681         (fmax_test_data): Likewise.
11682         (fmin_test_data): Likewise.
11683         (fmod_test_data): Likewise.
11684         (fpclassify_test_data): Likewise.
11685         (frexp_test_data): Likewise.
11686         (ilogb_test_data): Likewise.
11687         (isfinite_test_data): Likewise.
11688         (isgreater_test_data): Likewise.
11689         (isgreaterequal_test_data): Likewise.
11690         (isinf_test_data): Likewise.
11691         (isless_test_data): Likewise.
11692         (islessequal_test_data): Likewise.
11693         (islessgreater_test_data): Likewise.
11694         (isnan_test_data): Likewise.
11695         (isnormal_test_data): Likewise.
11696         (issignaling_test_data): Likewise.
11697         (isunordered_test_data): Likewise.
11698         (ldexp_test_data): Likewise.
11699         (lrint_test_data): Likewise.
11700         (lrint_test_data) [TEST_FLOAT]: Disable one test.
11701         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11702         (lrint_tonearest_test_data): Test for "inexact" exceptions.
11703         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11704         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11705         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11706         test input.
11707         (lrint_towardzero_test_data): Test for "inexact" exceptions.
11708         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11709         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11710         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11711         that test input.
11712         (lrint_downward_test_data): Test for "inexact" exceptions.
11713         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11714         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11715         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11716         test input.
11717         (lrint_upward_test_data): Test for "inexact" exceptions.
11718         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11719         test input.
11720         (llrint_test_data): Test for "inexact" exceptions.
11721         (llrint_test_data) [TEST_FLOAT]: Disable one test.
11722         (llrint_tonearest_test_data): Test for "inexact" exceptions.
11723         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11724         (llrint_towardzero_test_data): Test for "inexact" exceptions.
11725         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11726         (llrint_downward_test_data): Test for "inexact" exceptions.
11727         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11728         (llrint_upward_test_data): Test for "inexact" exceptions.
11729         (logb_test_data): Likewise.
11730         (logb_downward_test_data): Likewise.
11731         (nextafter_test_data): Likewise.
11732         (nexttoward_test_data): Likewise.
11733         (remainder_test_data): Likewise.
11734         (remquo_test_data): Likewise.
11735         (scalbn_test_data): Likewise.
11736         (scalbln_test_data): Likewise.
11737         (signbit_test_data): Likewise.
11738         (sqrt_test_data): Likewise.
11739         (significand_test_data): Likewise.
11741 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11743         [BZ #15424]
11744         * benchtests/bench-modf.c (struct args): Mark arg0 as
11745         volatile.
11746         * scripts/bench.pl: Mark members of struct args as volatile.
11748 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11750         [BZ # 15497]
11751         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11752         negative infinity on POWER6 or lower.
11753         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11755 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11757         [BZ #15442]
11758         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11759         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11760         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11761         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11762         (_FP_SETQNAN): New macro.
11763         (_FP_SETQNAN_SEMIRAW): Likewise.
11764         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11765         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11766         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11767         (FP_EXTEND): Use _FP_FRAC_SNANP.
11768         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11769         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11770         into account.
11771         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11772         New macro.
11773         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11774         Likewise.
11776 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11778         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11779         with DIVIDE_BY_ZERO_EXCEPTION.
11780         (gamma_test_data): Likewise.
11781         (lgamma_test_data): Likewise.
11782         (log_test_data): Likewise.
11783         (log10_test_data): Likewise.
11784         (log2_test_data): Likewise.
11785         (tgamma_test_data): Likewise.
11787         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11788         (acos_test_tonearest): Likewise.
11789         (acos_test_towardzero): Likewise.
11790         (acos_test_downward): Likewise.
11791         (acos_test_upward): Likewise.
11792         (acosh_test): Likewise.
11793         (asin_test): Likewise.
11794         (asin_test_tonearest): Likewise.
11795         (asin_test_towardzero): Likewise.
11796         (asin_test_downward): Likewise.
11797         (asin_test_upward): Likewise.
11798         (asinh_test): Likewise.
11799         (atan_test): Likewise.
11800         (atanh_test): Likewise.
11801         (atan2_test): Likewise.
11802         (cabs_test): Likewise.
11803         (cacos_test): Likewise.
11804         (cacosh_test): Likewise.
11805         (casin_test): Likewise.
11806         (casinh_test): Likewise.
11807         (catan_test): Likewise.
11808         (catanh_test): Likewise.
11809         (cbrt_test): Likewise.
11810         (ccos_test): Likewise.
11811         (ccosh_test): Likewise.
11812         (cexp_test): Likewise.
11813         (clog_test): Likewise.
11814         (clog10_test): Likewise.
11815         (cos_test): Likewise.
11816         (cos_test_tonearest): Likewise.
11817         (cos_test_towardzero): Likewise.
11818         (cos_test_downward): Likewise.
11819         (cos_test_upward): Likewise.
11820         (cosh_test): Likewise.
11821         (cosh_test_tonearest): Likewise.
11822         (cosh_test_towardzero): Likewise.
11823         (cosh_test_downward): Likewise.
11824         (cosh_test_upward): Likewise.
11825         (cpow_test): Likewise.
11826         (csin_test): Likewise.
11827         (csinh_test): Likewise.
11828         (csqrt_test): Likewise.
11829         (ctan_test): Likewise.
11830         (ctan_test_tonearest): Likewise.
11831         (ctan_test_towardzero): Likewise.
11832         (ctan_test_downward): Likewise.
11833         (ctan_test_upward): Likewise.
11834         (ctanh_test): Likewise.
11835         (ctanh_test_tonearest): Likewise.
11836         (ctanh_test_towardzero): Likewise.
11837         (ctanh_test_downward): Likewise.
11838         (ctanh_test_upward): Likewise.
11839         (erf_test): Likewise.
11840         (erfc_test): Likewise.
11841         (exp_test): Likewise.
11842         (exp_test_tonearest): Likewise.
11843         (exp_test_towardzero): Likewise.
11844         (exp_test_downward): Likewise.
11845         (exp_test_upward): Likewise.
11846         (exp10_test): Likewise.
11847         (exp2_test): Likewise.
11848         (expm1_test): Likewise.
11849         (fmod_test): Likewise.
11850         (gamma_test): Likewise.
11851         (hypot_test): Likewise.
11852         (j0_test): Likewise.
11853         (j1_test): Likewise.
11854         (jn_test): Likewise.
11855         (lgamma_test): Likewise.
11856         (log_test): Likewise.
11857         (log10_test): Likewise.
11858         (log1p_test): Likewise.
11859         (log2_test): Likewise.
11860         (logb_test_downward): Likewise.
11861         (pow_test): Likewise.
11862         (pow_test_tonearest): Likewise.
11863         (pow_test_towardzero): Likewise.
11864         (pow_test_downward): Likewise.
11865         (pow_test_upward): Likewise.
11866         (remainder_test): Likewise.
11867         (remquo_test): Likewise.
11868         (sin_test): Likewise.
11869         (sin_test_tonearest): Likewise.
11870         (sin_test_towardzero): Likewise.
11871         (sin_test_downward): Likewise.
11872         (sin_test_upward): Likewise.
11873         (sincos_test): Likewise.
11874         (sinh_test): Likewise.
11875         (sinh_test_tonearest): Likewise.
11876         (sinh_test_towardzero): Likewise.
11877         (sinh_test_downward): Likewise.
11878         (sinh_test_upward): Likewise.
11879         (sqrt_test): Likewise.
11880         (tan_test): Likewise.
11881         (tan_test_tonearest): Likewise.
11882         (tan_test_towardzero): Likewise.
11883         (tan_test_downward): Likewise.
11884         (tan_test_upward): Likewise.
11885         (tanh_test): Likewise.
11886         (tgamma_test): Likewise.
11887         (y0_test): Likewise.
11888         (y1_test): Likewise.
11889         (yn_test): Likewise.
11891         * math/gen-libm-test.pl (adjust_arg): Remove function.
11892         (special_function): Remove argument $in_func.  Only handle
11893         generating output for tables of tests, not inside functions.
11894         (parse_args): Likewise.
11895         (generate_testfile): Remove variable $in_func.  Update call to
11896         parse_args.
11897         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11898         (MINUS_ZERO_INIT): Rename macro to minus_zero.
11899         (PLUS_INFTY_INIT): Rename macro to plus_infty.
11900         (MINUS_INFTY_INIT): Rename macro to minus_infty.
11901         (QNAN_VALUE_INIT): Rename macro to qnan_value.
11902         (MAX_VALUE_INIT): Rename macro to max_value.
11903         (MIN_VALUE_INIT): Rename macro to min_value.
11904         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11905         (plus_zero): Remove variable.
11906         (minus_zero): Likewise.
11907         (plus_infty): Likewise.
11908         (minus_infty): Likewise.
11909         (qnan_value): Likewise.
11910         (max_value): Likewise.
11911         (min_value): Likewise.
11912         (min_subnorm_value): Likewise.
11914 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11916         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11917         uint64_t or uint32_t usage.
11918         * crypt/sha256-block.c: Likewise.
11919         * crypt/sha256-crypt.c: Likewise.
11920         * crypt/sha256.c: Likewise.
11921         * crypt/sha512-block.c: Likewise.
11922         * crypt/sha512-crypt.c: Likewise.
11923         * crypt/sha512.c: Likewise.
11924         * debug/backtrace-tst.c: Likewise.
11925         * debug/pcprofiledump.c: Likewise.
11926         * elf/cache.c: Likewise.
11927         * elf/dl-cache.c: Likewise.
11928         * elf/dl-misc.c: Likewise.
11929         * elf/dl-profile.c: Likewise.
11930         * elf/dl-support.c: Likewise.
11931         * elf/ldconfig.c: Likewise.
11932         * elf/sprof.c: Likewise.
11933         * iconv/dummy-repertoire.c: Likewise.
11934         * iconv/iconv_charmap.c: Likewise.
11935         * iconv/skeleton.c: Likewise.
11936         * iconvdata/8bit-generic.c: Likewise.
11937         * iconvdata/cp737.h: Likewise.
11938         * iconvdata/cp775.h: Likewise.
11939         * iconvdata/ibm1008.h: Likewise.
11940         * iconvdata/ibm1025.h: Likewise.
11941         * iconvdata/ibm1046.h: Likewise.
11942         * iconvdata/ibm1097.h: Likewise.
11943         * iconvdata/ibm1112.h: Likewise.
11944         * iconvdata/ibm1122.h: Likewise.
11945         * iconvdata/ibm1123.h: Likewise.
11946         * iconvdata/ibm1124.h: Likewise.
11947         * iconvdata/ibm1129.h: Likewise.
11948         * iconvdata/ibm1130.h: Likewise.
11949         * iconvdata/ibm1132.h: Likewise.
11950         * iconvdata/ibm1133.h: Likewise.
11951         * iconvdata/ibm1137.h: Likewise.
11952         * iconvdata/ibm1140.h: Likewise.
11953         * iconvdata/ibm1141.h: Likewise.
11954         * iconvdata/ibm1142.h: Likewise.
11955         * iconvdata/ibm1143.h: Likewise.
11956         * iconvdata/ibm1144.h: Likewise.
11957         * iconvdata/ibm1145.h: Likewise.
11958         * iconvdata/ibm1146.h: Likewise.
11959         * iconvdata/ibm1147.h: Likewise.
11960         * iconvdata/ibm1148.h: Likewise.
11961         * iconvdata/ibm1149.h: Likewise.
11962         * iconvdata/ibm1153.h: Likewise.
11963         * iconvdata/ibm1154.h: Likewise.
11964         * iconvdata/ibm1155.h: Likewise.
11965         * iconvdata/ibm1156.h: Likewise.
11966         * iconvdata/ibm1157.h: Likewise.
11967         * iconvdata/ibm1158.h: Likewise.
11968         * iconvdata/ibm1160.h: Likewise.
11969         * iconvdata/ibm1161.h: Likewise.
11970         * iconvdata/ibm1162.h: Likewise.
11971         * iconvdata/ibm1163.h: Likewise.
11972         * iconvdata/ibm1164.h: Likewise.
11973         * iconvdata/ibm1166.h: Likewise.
11974         * iconvdata/ibm1167.h: Likewise.
11975         * iconvdata/ibm12712.h: Likewise.
11976         * iconvdata/ibm1390.h: Likewise.
11977         * iconvdata/ibm1399.h: Likewise.
11978         * iconvdata/ibm16804.h: Likewise.
11979         * iconvdata/ibm4517.h: Likewise.
11980         * iconvdata/ibm4899.h: Likewise.
11981         * iconvdata/ibm4909.h: Likewise.
11982         * iconvdata/ibm4971.h: Likewise.
11983         * iconvdata/ibm5347.h: Likewise.
11984         * iconvdata/ibm803.h: Likewise.
11985         * iconvdata/ibm856.h: Likewise.
11986         * iconvdata/ibm901.h: Likewise.
11987         * iconvdata/ibm902.h: Likewise.
11988         * iconvdata/ibm9030.h: Likewise.
11989         * iconvdata/ibm9066.h: Likewise.
11990         * iconvdata/ibm921.h: Likewise.
11991         * iconvdata/ibm922.h: Likewise.
11992         * iconvdata/ibm9448.h: Likewise.
11993         * iconvdata/isiri-3342.h: Likewise.
11994         * iconvdata/jis0201.h: Likewise.
11995         * include/link.h: Likewise.
11996         * include/netdb.h: Likewise.
11997         * inet/check_native.c: Likewise.
11998         * inet/check_pf.c: Likewise.
11999         * inet/getipv4sourcefilter.c: Likewise.
12000         * inet/getnameinfo.c: Likewise.
12001         * inet/getsourcefilter.c: Likewise.
12002         * inet/htonl.c: Likewise.
12003         * inet/setipv4sourcefilter.c: Likewise.
12004         * inet/setsourcefilter.c: Likewise.
12005         * inet/test-inet6_opt.c: Likewise.
12006         * inet/tst-network.c: Likewise.
12007         * locale/C-collate.c: Likewise.
12008         * locale/C-ctype.c: Likewise.
12009         * locale/C-time.c: Likewise.
12010         * locale/C-translit.h: Likewise.
12011         * locale/loadarchive.c: Likewise.
12012         * locale/programs/3level.h: Likewise.
12013         * locale/programs/charmap.c: Likewise.
12014         * locale/programs/charmap.h: Likewise.
12015         * locale/programs/ld-address.c: Likewise.
12016         * locale/programs/ld-collate.c: Likewise.
12017         * locale/programs/ld-ctype.c: Likewise.
12018         * locale/programs/ld-identification.c: Likewise.
12019         * locale/programs/ld-measurement.c: Likewise.
12020         * locale/programs/ld-messages.c: Likewise.
12021         * locale/programs/ld-monetary.c: Likewise.
12022         * locale/programs/ld-name.c: Likewise.
12023         * locale/programs/ld-numeric.c: Likewise.
12024         * locale/programs/ld-paper.c: Likewise.
12025         * locale/programs/ld-telephone.c: Likewise.
12026         * locale/programs/ld-time.c: Likewise.
12027         * locale/programs/linereader.c: Likewise.
12028         * locale/programs/locale.c: Likewise.
12029         * locale/programs/locarchive.c: Likewise.
12030         * locale/programs/locfile.h: Likewise.
12031         * locale/programs/repertoire.c: Likewise.
12032         * locale/programs/simple-hash.c: Likewise.
12033         * locale/programs/simple-hash.h: Likewise.
12034         * malloc/memusage.c: Likewise.
12035         * malloc/memusagestat.c: Likewise.
12036         * nis/nis_defaults.c: Likewise.
12037         * nis/nis_hash.c: Likewise.
12038         * nis/nis_print.c: Likewise.
12039         * nis/nis_xdr.c: Likewise.
12040         * nscd/connections.c: Likewise.
12041         * nscd/hstcache.c: Likewise.
12042         * nscd/nscd_gethst_r.c: Likewise.
12043         * nscd/nscd_getserv_r.c: Likewise.
12044         * nscd/nscd_helper.c: Likewise.
12045         * nscd/servicescache.c: Likewise.
12046         * nss/makedb.c: Likewise.
12047         * nss/nss_db/db-XXX.c: Likewise.
12048         * nss/nss_db/db-initgroups.c: Likewise.
12049         * nss/nss_db/db-netgrp.c: Likewise.
12050         * nss/nss_files/files-network.c: Likewise.
12051         * nss/nss_files/files-parse.c: Likewise.
12052         * posix/bug-regex5.c: Likewise.
12053         * posix/fnmatch_loop.c: Likewise.
12054         * posix/regcomp.c: Likewise.
12055         * posix/regexec.c: Likewise.
12056         * posix/tst-rfc3484-2.c: Likewise.
12057         * posix/tst-rfc3484-3.c: Likewise.
12058         * posix/tst-rfc3484.c: Likewise.
12059         * resolv/nss_dns/dns-canon.c: Likewise.
12060         * resolv/nss_dns/dns-network.c: Likewise.
12061         * resolv/res_init.c: Likewise.
12062         * resolv/res_mkquery.c: Likewise.
12063         * resolv/tst-aton.c: Likewise.
12064         * stdlib/cxa_atexit.c: Likewise.
12065         * stdlib/cxa_finalize.c: Likewise.
12066         * stdlib/gen-fpioconst.c: Likewise.
12067         * stdlib/strtol_l.c: Likewise.
12068         * string/tst-endian.c: Likewise.
12069         * sunrpc/auth_des.c: Likewise.
12070         * sunrpc/clnt_udp.c: Likewise.
12071         * sunrpc/rtime.c: Likewise.
12072         * sunrpc/svcauth_des.c: Likewise.
12073         * sunrpc/xdr.c: Likewise.
12074         * sunrpc/xdr_intXX_t.c: Likewise.
12075         * sunrpc/xdr_rec.c: Likewise.
12076         * sysdeps/generic/ldconfig.h: Likewise.
12077         * sysdeps/generic/ldsodefs.h: Likewise.
12078         * sysdeps/generic/memusage.h: Likewise.
12079         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12080         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12081         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12082         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12083         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12084         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12085         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12086         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12087         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12088         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12089         * sysdeps/posix/getaddrinfo.c: Likewise.
12090         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12091         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12092         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12093         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12094         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12095         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12096         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12097         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12098         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12099         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12100         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12101         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12102         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12103         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12104         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12105         * sysdeps/x86_64/dl-tls.h: Likewise.
12106         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12107         * time/alt_digit.c: Likewise.
12108         * time/era.c: Likewise.
12109         * wcsmbs/tst-c16c32-1.c: Likewise.
12111 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12113         * math/libm-test.inc (struct test_sincos_data): New type.
12114         (RUN_TEST_LOOP_sincos): New macro.
12115         (sincos_test_data): New variable.
12116         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12118 2013-05-16  Richard Henderson  <rth@redhat.com>
12120         * math/atest-exp2.c (LIMB64): New macro.
12121         (CONSTSZ): New macro.
12122         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12123         (hexdig): Move ...
12124         (print_mpn_fp): ... to function scope.
12125         (read_mpn_hex): Remove.
12126         (get_log2): Remove.
12127         (exp2_mpn): Use mp_log2.
12128         (main): Use mp_exp1.
12130 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12132         * math/libm-test.inc: Remove comment about not testing "inexact"
12133         exceptions.
12134         (INEXACT_EXCEPTION): New macro.
12135         (NO_INEXACT_EXCEPTION): Likewise.
12136         (INVALID_EXCEPTION_OK): Update value.
12137         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12138         (OVERFLOW_EXCEPTION_OK): Likewise.
12139         (UNDERFLOW_EXCEPTION_OK): Likewise.
12140         (IGNORE_ZERO_INF_SIGN): Likewise.
12141         (ERRNO_UNCHANGED): Likewise.
12142         (ERRNO_EDOM): Likewise.
12143         (ERRNO_ERANGE): Likewise.
12144         (test_exceptions): Handle testing "inexact" exceptions.
12145         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12146         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12147         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12148         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12149         INEXACT_EXCEPTION.
12150         (rint_towardzero_test_data): Likewise.
12151         (rint_downward_test_data): Likewise.
12152         (rint_upward_test_data): Likewise.
12154         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12155         with OVERFLOW_EXCEPTION.
12156         (exp10_test_data): Likewise.
12157         (exp2_test_data): Likewise.
12158         (expm1_test_data): Likewise.
12159         (lgamma_test_data): Likewise.
12160         (pow_test_data): Likewise.
12161         (tgamma_test_data): Likewise.
12162         (yn_test_data): Remove duplicate test of overflow.
12164         * math/libm-test.inc (struct test_cc_c_data): New type.
12165         (RUN_TEST_LOOP_cc_c): New macro.
12166         (cpow_test_data): New variable.
12167         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12169         * math/libm-test.inc (struct test_f_L_data): New type.
12170         (RUN_TEST_LOOP_f_L): New macro.
12171         (llrint_test_data): New variable.
12172         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12173         (llrint_tonearest_test_data): New variable.
12174         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12175         (llrint_towardzero_test_data): New variable.
12176         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12177         (llrint_downward_test_data): New variable.
12178         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12179         (llrint_upward_test_data): New variable.
12180         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12181         (llround_test_data): New variable.
12182         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12184 2013-05-13  Peter Collingbourne  <pcc@google.com>
12186         * math/atest-exp2.c (get_log2): Remove const attribute.
12188 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12190         * math/libm-test.inc (struct test_f_l_data): New type.
12191         (RUN_TEST_LOOP_f_l): New macro.
12192         (lrint_test_data): New variable.
12193         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12194         (lrint_tonearest_test_data): New variable.
12195         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12196         (lrint_towardzero_test_data): New variable.
12197         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12198         (lrint_downward_test_data): New variable.
12199         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12200         (lrint_upward_test_data): New variable.
12201         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12202         (lround_test_data): New variable.
12203         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12205 2013-05-15  Peter Collingbourne  <pcc@google.com>
12207         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12208         (EXTRACT_WORDS64) Use where appropriate.
12209         (INSERT_WORDS64) Likewise.
12211         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12212         constraints with x constraints.
12213         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12215         * malloc/obstack.c (_obstack_compat): Add initializer.
12217 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12219         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12220         si_trapno and add si_addr_lsb to _sifields.sigfault.
12221         (si_trapno): Remove macro.
12222         (si_addr_lsb): Define new macro.
12223         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12225 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12227         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12228         instead of TEST_f_l.
12229         (llrint_test_tonearest): Likewise.
12230         (llrint_test_towardzero): Likewise.
12231         (llrint_test_downward): Likewise.
12232         (llrint_test_upward): Likewise.
12233         (llround_test): Likewise.
12235         * math/libm-test.inc (struct test_f_i_data): Add comment.
12236         (RUN_TEST_LOOP_f_b): New macro.
12237         (RUN_TEST_LOOP_f_b_tg): Likewise.
12238         (finite_test_data): New variable.
12239         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12240         (isfinite_test_data): New variable.
12241         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12242         (isinf_test_data): New variable.
12243         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12244         (isnan_test_data): New variable.
12245         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12246         (isnormal_test_data): New variable.
12247         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12248         (issignaling_test_data): New variable.
12249         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12250         (signbit_test_data): New variable.
12251         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12253         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12254         with INVALID_EXCEPTION.
12255         (acosh_test_data): Likewise.
12256         (asin_test_data): Likewise.
12257         (atanh_test_data): Likewise.
12258         (fmod_test_data): Likewise.
12259         (log_test_data): Likewise.
12260         (log10_test_data): Likewise.
12261         (log2_test_data): Likewise.
12262         (pow_test_data): Likewise.
12263         (sqrt_test_data): Likewise.
12264         (y0_test_data): Likewise.
12265         (y1_test_data): Likewise.
12266         (yn_test_data): Likewise.
12268         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12269         function contents.
12271         * math/libm-test.inc (struct test_ff_i_data): New type.
12272         (RUN_TEST_LOOP_ff_i_tg): New macro.
12273         (isgreater_test_data): New variable.
12274         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12275         (isgreaterequal_test_data): New variable.
12276         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12277         (isless_test_data): New variable.
12278         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12279         (islessequal_test_data): New variable.
12280         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12281         (islessgreater_test_data): New variable.
12282         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12283         (isunordered_test_data): New variable.
12284         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12286 2013-05-14  David S. Miller  <davem@davemloft.net>
12288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12290 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12292         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12294         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12295         extra_test to int.
12296         (struct test_f_i_data): Change type of max_ulp to int.
12298         * math/libm-test.inc (test_ffI_f1_data): New type.
12299         (RUN_TEST_LOOP_ffI_f1): New macro.
12300         (remquo_test_data): New variable.
12301         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12303         * setjmp/tst-setjmp-fp.c: New file.
12304         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12305         (link-libm): New variable.
12306         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12308         * math/libm-test.inc (struct test_f_i_data): New type.
12309         (RUN_TEST_LOOP_f_i): New macro.
12310         (RUN_TEST_LOOP_f_i_tg): Likewise.
12311         (fpclassify_test_data): New variable.
12312         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12313         (ilogb_test_data): New variable.
12314         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12316         * math/libm-test.inc (scalbln_test): Correct function name in END
12317         call.
12319         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12320         (RUN_TEST_LOOP_fI_f1): New macro.
12321         (frexp_test_data): New variable.
12322         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12324         * math/libm-test.inc (struct test_fF_f1_data): New type.
12325         (RUN_TEST_LOOP_fF_f1): New macro.
12326         (modf_test_data): New variable.
12327         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12329         * math/libm-test.inc (struct test_f_f1_data): New type.
12330         (RUN_TEST_LOOP_f_f1): New macro.
12331         (gamma_test_data): New variable.
12332         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12333         (lgamma_test_data): New variable.
12334         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12336 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12338         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12339         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12340         (main): Comment "tls" pseudo-hwcap.
12342 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12344         * math/libm-test.inc (struct test_fl_f_data): New type.
12345         (RUN_TEST_LOOP_fl_f): New variable.
12346         (scalbln_test_data): New variable.
12347         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12349         * math/libm-test.inc (struct test_fi_f_data): New type.
12350         (RUN_TEST_LOOP_fi_f): New macro.
12351         (ldexp_test_data): New variable.
12352         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12353         (scalbn_test_data): New variable.
12354         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12356         * math/libm-test.inc (struct test_c_f_data): New type.
12357         (RUN_TEST_LOOP_c_f): New macro.
12358         (cabs_test_data): New variable.
12359         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12360         (carg_test_data): New variable.
12361         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12362         (cimag_test_data): New variable.
12363         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12364         (creal_test_data): New variable.
12365         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12367         * math/libm-test.inc (struct test_if_f_data): New type.
12368         (RUN_TEST_LOOP_if_f): New macro.
12369         (jn_test_data): New variable.
12370         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12371         (yn_test_data): New variable.
12372         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12374         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12376 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12378         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12379         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12381 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12383         * benchtests/Makefile (CPPFLAGS-nonlib): Add
12384         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12385         (bench-deps): Add bench-timing.h.
12386         * benchtests-bench-skeleton.c: Include bench-timing.h.
12387         (main): Use TIMING_* macros instead of clock_gettime.
12388         * benchtests/bench-timing.h: New file.
12390         [BZ #14582]
12391         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12392         Renamed from _LIB_VERSION.
12393         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12395 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
12397         * math/libm-test.inc (struct test_fff_f_data): New type.
12398         (RUN_TEST_LOOP_fff_f): New macro.
12399         (fma_test_data): New variable.
12400         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12401         (fma_towardzero_test_data): New variable.
12402         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12403         (fma_downward_test_data): New variable.
12404         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12405         (fma_upward_test_data): New variable.
12406         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12408         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12409         (struct test_c_c_data): New type.
12410         (RUN_TEST_LOOP_c_c): New macro.
12411         (cacos_test_data): New variable.
12412         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12413         (cacosh_test_data): New variable.
12414         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12415         (casin_test_data): New variable.
12416         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12417         (casinh_test_data): New variable.
12418         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12419         (catan_test_data): New variable.
12420         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12421         (catanh_test_data): New variable.
12422         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12423         (ccos_test_data): New variable.
12424         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12425         (ccosh_test_data): New variable.
12426         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12427         (cexp_test_data): New variable.
12428         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12429         (clog_test_data): New variable.
12430         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12431         (clog10_test_data): New variable.
12432         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12433         (conj_test_data): New variable.
12434         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12435         (cproj_test_data): New variable.
12436         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12437         (csin_test_data): New variable.
12438         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12439         (csinh_test_data): New variable.
12440         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12441         (csqrt_test_data): New variable.
12442         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12443         (ctan_test_data): New variable.
12444         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12445         (ctan_tonearest_test_data): New variable.
12446         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12447         (ctan_towardzero_test_data): New variable.
12448         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12449         (ctan_downward_test_data): New variable.
12450         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12451         (ctan_upward_test_data): New variable.
12452         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12453         (ctanh_test_data): New variable.
12454         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12455         (ctanh_tonearest_test_data): New variable.
12456         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12457         (ctanh_towardzero_test_data): New variable.
12458         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12459         (ctanh_downward_test_data): New variable.
12460         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12461         (ctanh_upward_test_data): New variable.
12462         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12463         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
12464         of BUILD_COMPLEX.
12466         * math/libm-test.inc (struct test_ff_f_data): New type.
12467         (struct test_ff_f_data_nexttoward): Likewise.
12468         (RUN_TEST_LOOP_2_f): New macro.
12469         (RUN_TEST_LOOP_ff_f): Likewise.
12470         (atan2_test_data): New variable.
12471         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
12472         (copysign_test_data): New variable.
12473         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
12474         (fdim_test_data): New variable.
12475         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
12476         (fmax_test_data): New variable.
12477         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
12478         (fmin_test_data): New variable.
12479         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
12480         (fmod_test_data): New variable.
12481         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
12482         (hypot_test_data): New variable.
12483         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
12484         (nextafter_test_data): New variable.
12485         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
12486         (nexttoward_test_data): New variable.
12487         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
12488         (pow_test_data): New variable.
12489         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
12490         (pow_tonearest_test_data): New variable.
12491         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
12492         (pow_towardzero_test_data): New variable.
12493         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
12494         (pow_downward_test_data): New variable.
12495         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
12496         (pow_upward_test_data): New variable.
12497         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
12498         (remainder_test_data): New variable.
12499         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
12500         (scalb_test_data): New variable.
12501         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
12502         * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
12506         * math/libm-test.inc (fma_test): Use max_value instead of local
12507         variable fltmax.
12508         (nextafter_test): Likewise.
12510         * math/libm-test.inc (acos_towardzero_test_data): New variable.
12511         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12512         (acos_downward_test_data): New variable.
12513         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12514         (acos_upward_test_data): New variable.
12515         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12516         (acosh_test_data): New variable.
12517         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
12518         (asin_test_data): New variable.
12519         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
12520         (asin_tonearest_test_data): New variable.
12521         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12522         (asin_towardzero_test_data): New variable.
12523         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12524         (asin_downward_test_data): New variable.
12525         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12526         (asin_upward_test_data): New variable.
12527         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12528         (asinh_test_data): New variable.
12529         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
12530         (atan_test_data): New variable.
12531         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
12532         (atanh_test_data): New variable.
12533         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
12534         (cbrt_test_data): New variable.
12535         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
12536         (ceil_test_data): New variable.
12537         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
12538         (cos_test_data): New variable.
12539         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
12540         (cos_tonearest_test_data): New variable.
12541         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12542         (cos_towardzero_test_data): New variable.
12543         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12544         (cos_downward_test_data): New variable.
12545         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12546         (cos_upward_test_data): New variable.
12547         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12548         (cosh_test_data): New variable.
12549         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
12550         (cosh_tonearest_test_data): New variable.
12551         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12552         (cosh_towardzero_test_data): New variable.
12553         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12554         (cosh_downward_test_data): New variable.
12555         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12556         (cosh_upward_test_data): New variable.
12557         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12558         (erf_test_data): New variable.
12559         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
12560         (erfc_test_data): New variable.
12561         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
12562         (exp_test_data): New variable.
12563         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
12564         (exp_tonearest_test_data): New variable.
12565         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12566         (exp_towardzero_test_data): New variable.
12567         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12568         (exp_downward_test_data): New variable.
12569         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12570         (exp_upward_test_data): New variable.
12571         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12572         (exp10_test_data): New variable.
12573         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
12574         (exp2_test_data): New variable.
12575         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
12576         (expm1_test_data): New variable.
12577         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
12578         (fabs_test_data): New variable.
12579         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
12580         (floor_test_data): New variable.
12581         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
12582         (j0_test_data): New variable.
12583         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
12584         (j1_test_data): New variable.
12585         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
12586         (log_test_data): New variable.
12587         (log_test): Run tests with RUN_TEST_LOOP_f_f.
12588         (log10_test_data): New variable.
12589         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
12590         (log1p_test_data): New variable.
12591         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
12592         (log2_test_data): New variable.
12593         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
12594         (logb_test_data): New variable.
12595         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
12596         (logb_downward_test_data): New variable.
12597         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12598         (nearbyint_test_data): New variable.
12599         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
12600         (rint_test_data): New variable.
12601         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
12602         (rint_tonearest_test_data): New variable.
12603         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12604         (rint_towardzero_test_data): New variable.
12605         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12606         (rint_downward_test_data): New variable.
12607         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12608         (rint_upward_test_data): New variable.
12609         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12610         (round_test_data): New variable.
12611         (round_test): Run tests with RUN_TEST_LOOP_f_f.
12612         (sin_test_data): New variable.
12613         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
12614         (sin_tonearest_test_data): New variable.
12615         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12616         (sin_towardzero_test_data): New variable.
12617         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12618         (sin_downward_test_data): New variable.
12619         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12620         (sin_upward_test_data): New variable.
12621         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12622         (sinh_test_data): New variable.
12623         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
12624         (sinh_tonearest_test_data): New variable.
12625         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12626         (sinh_towardzero_test_data): New variable.
12627         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12628         (sinh_downward_test_data): New variable.
12629         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12630         (sinh_upward_test_data): New variable.
12631         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12632         (sqrt_test_data): New variable.
12633         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
12634         (tan_test_data): New variable.
12635         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
12636         (tan_tonearest_test_data): New variable.
12637         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12638         (tan_towardzero_test_data): New variable.
12639         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12640         (tan_downward_test_data): New variable.
12641         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12642         (tan_upward_test_data): New variable.
12643         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12644         (tanh_test_data): New variable.
12645         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
12646         (tgamma_test_data): New variable.
12647         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
12648         (trunc_test_data): New variable.
12649         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
12650         (y0_test_data): New variable.
12651         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
12652         (y1_test_data): New variable.
12653         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
12654         (significand_test_data): New variable.
12655         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
12657 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
12659         [BZ #12387]
12660         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
12662 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12664         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
12666 2013-05-10  Andreas Jaeger  <aj@suse.de>
12668         [BZ #15448]
12669         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
12670         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
12672 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12674         * math/gen-libm-test.pl (adjust_arg): New function.
12675         (special_functions): Handle generating output in both functions
12676         and arrays.
12677         (parse_args): Likewise.
12678         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
12679         $in_func argument to parse_args.
12680         * math/libm-test.inc (struct test_f_f_data): New type.
12681         (IF_ROUND_INIT_): New macro.
12682         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12683         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12684         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12685         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12686         (ROUND_RESTORE_): Likewise.
12687         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
12688         (ROUND_RESTORE_FE_TONEAREST): Likewise.
12689         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
12690         (ROUND_RESTORE_FE_UPWARD): Likewise.
12691         (RUN_TEST_LOOP_f_f): New macro.
12692         (acos_test_data): New variable.
12693         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
12694         (acos_tonearest_test_data): New variable.
12695         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12697 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12699         * benchtests/bench-skeleton.c (startup): Fix coding style.
12701 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12703         [BZ #6809]
12704         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12705         negative infinity argument.
12706         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12707         negative infinity argument.
12708         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12709         negative infinity argument.
12710         * math/libm-test.inc (tgamma_test): Expect errno to be set for
12711         domain errors.
12713 2013-05-10  Florian Weimer  <fweimer@redhat.com>
12715         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12716         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12717         * iconv/iconv_prog.c (main): Likewise.
12718         * locale/programs/charmap-dir.c (charmap_readdir)
12719         (fopen_uncompressed): Likewise.
12720         * locale/programs/locfile.c (siblings_uncached)
12721         (write_locale_data): Use lstat64 instead of lstat.
12722         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12723         stat.
12725 2013-05-10  Andreas Jaeger  <aj@suse.de>
12727         [BZ #15395]
12728         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12729         localization.
12730         Include <locale.h>.
12732 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
12734         * elf/dl-close.c (_dl_close_worker): Add comments.
12736 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
12738         [BZ #15359]
12739         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12740         high part of pi/2.
12741         (__ieee754_rem_pio2l): Update comments.
12743         [BZ #15429]
12744         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12745         high part of pi/2.
12746         (__ieee754_rem_pio2l): Update comments.
12748         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12749         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12751         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12752         M_PI_4l.
12754         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12755         (M_PI_34_LOG10El): Likewise.
12756         (M_PI2_LOG10El): Likewise.
12757         (M_PI4_LOG10El): Likewise.
12758         (M_PI_LOG10El): Likewise.
12760 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12764 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
12766         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12767         (MINUS_ZERO_INIT): Likewise.
12768         (PLUS_INFTY_INIT): Likewise.
12769         (MINUS_INFTY_INIT): Likewise.
12770         (QNAN_VALUE_INIT): Likewise.
12771         (MAX_VALUE_INIT): Likewise.
12772         (MIN_VALUE_INIT): Likewise.
12773         (MIN_SUBNORM_VALUE_INIT): Likewise.
12774         (plus_zero): Initialize with PLUS_ZERO_INIT.
12775         (minus_zero): Initialize with MINUS_ZERO_INIT.
12776         (plus_infty): Initialize with PLUS_INFTY_INIT.
12777         (minus_infty): Initialize with MINUS_INFTY_INIT.
12778         (qnan_value): Initialize with QNAN_VALUE_INIT.
12779         (max_value): Initialize with MAX_VALUE_INIT.
12780         (min_value): Initialize with MIN_VALUE_INIT.
12781         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12783         * math/libm-test.inc (RUN_TEST_if_f): New macro.
12784         (jn_test): Use TEST_if_f instead of TEST_ff_f.
12785         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12786         (yn_test): Use TEST_if_f instead of TEST_ff_f.
12788         * math/libm-test.inc (RUN_TEST_f_f): New macro.
12789         (RUN_TEST_2_f): Likewise.
12790         (RUN_TEST_ff_f): Likewise.
12791         (RUN_TEST_fi_f): Likewise.
12792         (RUN_TEST_fl_f): Likewise.
12793         (RUN_TEST_fff_f): Likewise.
12794         (RUN_TEST_c_f): Likewise.
12795         (RUN_TEST_f_f1): Likewise.
12796         (RUN_TEST_fF_f1): Likewise.
12797         (RUN_TEST_fI_f1): Likewise.
12798         (RUN_TEST_ffI_f1): Likewise.
12799         (RUN_TEST_c_c): Likewise.
12800         (RUN_TEST_cc_c): Likewise.
12801         (RUN_TEST_f_i): Likewise.
12802         (RUN_TEST_f_i_tg): Likewise.
12803         (RUN_TEST_ff_i_tg): Likewise.
12804         (RUN_TEST_f_b): Likewise.
12805         (RUN_TEST_f_b_tg): Likewise.
12806         (RUN_TEST_f_l): Likewise.
12807         (RUN_TEST_f_L): Likewise.
12808         (RUN_TEST_sincos): Likewise.
12809         * math/gen-libm-test.pl (new_test): Take new argument to indicate
12810         whether to show exceptions.  Do not include ");\n" in return
12811         value.
12812         (special_functions): Output call to RUN_TEST_sincos instead of
12813         check_float calls.  Update calls to new_test.
12814         (parse_args): Output call to single RUN_TEST_* macro instead of
12815         check_* calls and other assignments.  Update calls to new_test.
12817         [BZ #2546]
12818         [BZ #2560]
12819         [BZ #5159]
12820         [BZ #15426]
12821         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12822         input to result for tgamma overflow.
12823         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12824         (gamma_coeff): New variable.
12825         (NCOEFF): New macro.
12826         (gamma_positive): New function.
12827         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12828         underflow here.  Use gamma_positive instead of exp (lgamma) for
12829         other arguments.
12830         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12831         (gamma_coeff): New variable.
12832         (NCOEFF): New macro.
12833         (gammaf_positive): New function.
12834         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12835         underflow here.  Use gamma_positive instead of exp (lgamma) for
12836         other arguments.
12837         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12838         (gamma_coeff): New variable.
12839         (NCOEFF): New macro.
12840         (gammal_positive): New function.
12841         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12842         underflow here.  Use gamma_positive instead of exp (lgamma) for
12843         other arguments.
12844         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12845         (gamma_coeff): New variable.
12846         (NCOEFF): New macro.
12847         (gammal_positive): New function.
12848         (__ieee754_gammal_r): Handle positive infinity, overflow and
12849         underflow here.  Handle NaN the same as positive infinity.  Remove
12850         check x < 0xffffffff for negative integers.  Use gamma_positive
12851         instead of exp (lgamma) for other arguments.
12852         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12853         (gamma_coeff): New variable.
12854         (NCOEFF): New macro.
12855         (gammal_positive): New function.
12856         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12857         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12860         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12861         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12862         * sysdeps/generic/math_private.h (__gamma_productf): New
12863         prototype.
12864         (__gamma_product): Likewise.
12865         (__gamma_productl): Likewise.
12866         * math/Makefile (libm-calls): Add gamma_product.
12867         * math/libm-test.inc (tgamma_test): Add more tests.
12868         * sysdeps/i386/fpu/libm-test-ulps: Update.
12869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12871 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
12873         * benchtests/bench-skeleton.c (main): Preheat CPU.
12875 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
12877         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12879 2013-05-07  Roland McGrath  <roland@hack.frob.com>
12881         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12882         and _dl_skip_args_internal.
12884 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
12886         * manual/message.texi (Message Translation): Talk about users.
12887         Message to key mapping impacts design.
12889 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12891         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12893         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12895         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12896         * sysdeps/wordsize-64/glob64.c: ... here.
12898         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12899         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12900         New macros.
12902         * debug/getlogin_r_chk.c: Moved to ...
12903         * login/getlogin_r_chk.c: ... here.
12904         * debug/Makefile (routines): Move getlogin_r_chk to ...
12905         * login/Makefile (routines): ... here.
12906         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12907         * login/Versions (libc: GLIBC_2.4): ... here.
12909         * io/poll.c (__poll): Renamed from poll.
12910         Add libc_hidden_def.
12911         (poll): Define as weak alias.
12913         * debug/ptsname_r_chk.c: Moved to ...
12914         * login/ptsname_r_chk.c: ... here.
12915         * debug/Makefile (routines): Move ptsname_r_chk to ...
12916         * login/Makefile (routines): ... here.
12917         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12918         * login/Versions (libc: GLIBC_2.4): ... here.
12920         * posix/getlogin.c: Moved to ...
12921         * login/getlogin.c: ... here.
12922         * posix/getlogin_r.c: Moved to ...
12923         * login/getlogin_r.c: ... here.
12924         * posix/getlogin_r.c: Moved to ...
12925         * login/getlogin_r.c: ... here.
12926         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12927         * login/Makefile (routines): ... here.
12928         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12929         * login/Versions (libc: GLIBC_2.0): ... here.
12931         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12932         (setrlimit): Define as weak alias.
12934         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12935         Call __ names for open, ftruncate, and close.
12936         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12937         (truncate): Define as weak alias.
12939 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
12941         * math/gen-libm-test.pl (parse_args): Initialize x before each
12942         test of frexp, modf and remquo.
12944         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12945         test signgam value.
12947 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12949         [BZ #15418]
12950         [BZ #15419]
12951         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12952         internal tests.
12953         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12955 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12957         * elf/dl-writev.h: New file.
12958         * elf/dl-misc.c: Include it.
12959         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12960         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12962 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
12964         * math/libm-test.inc (noXFails): Remove variable.
12965         (noXPasses): Likewise.
12966         (BUILD_COMPLEX_INT): Remove macro.
12967         (print_screen): Remove xfail argument.
12968         (print_screen_max_error): Likewise.
12969         (update_stats): Likewise.
12970         (print_max_error): Likewise.  Update calls to other affected
12971         functions.
12972         (print_complex_max_error): Likewise.
12973         (test_single_exception): Update calls to print_screen.
12974         (test_single_errno): Likewise.
12975         (check_float_internal): Remove xfail argument.  Update calls to
12976         other affected functions.
12977         (check_float): Likewise.
12978         (check_complex): Likewise.
12979         (check_int): Likewise.
12980         (check_long): Likewise.
12981         (check_bool): Likewise.
12982         (check_longlong): Likewise.
12983         (main): Don't print noXFails and noXPasses.
12984         * math/gen-libm-test.pl (top level): Don't mention expected
12985         failure handling in comment.
12986         (new_test): Don't handle expected failures.
12987         (parse_args): Don't mention expected failure handling in comment.
12988         (generate_testfile): Don't handle expected failures.
12989         (parse_ulps): Likewise.
12990         (print_ulps_file): Likewise.
12991         (get_failure): Remove function.
12992         (output_test): Don't handle expected failures.
12993         * make/README.libm-test: Don't mention expected failure handling.
12995         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
12996         (minus_zero): Likewise.
12997         (plus_infty): Likewise.
12998         (minus_infty): Likewise.
12999         (qnan_value): Likewise.
13000         (max_value): Likewise.
13001         (min_value): Likewise.
13002         (min_subnorm_value): Likewise.
13003         (initialize): Do not initialize those variables dynamically.
13005 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13007         * io/open.c (__open_2): Moved to ...
13008         * io/open_2.c: ... this new file.
13009         * io/open64.c (__open64_2): Moved to ...
13010         * io/open64_2.c: ... this new file.
13011         * io/openat.c (__openat_2): Moved to ...
13012         * io/openat_2.c: ... this new file.
13013         * io/openat64.c (__openat64_2): Moved to ...
13014         * io/openat64_2.c: ... this new file.
13015         * io/Makefile (routines): Add them.
13016         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13017         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13018         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13019         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13020         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13021         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13022         (__openat64): Add hidden_ver.
13023         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13024         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13026         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13027         Separately conditionalize setting of GLRO(dl_sysinfo) so
13028         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13029         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13031 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13033         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13034         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13035         definition.
13036         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13037         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13038         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13039         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13040         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13042 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13044         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13045         test signgam value.
13047         * math/libm-test.inc (hypot_test): Do not use
13048         IGNORE_ZERO_INF_SIGN.
13050 2013-05-03  Andreas Jaeger  <aj@suse.de>
13052         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13053         Linux 3.9.
13054         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13055         (PF_MAX): Adjust for VSOCK change.
13057 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13061 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13063         [BZ #15264]
13064         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13065         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13066         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13068 2013-05-02  David S. Miller  <davem@davemloft.net>
13070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13072 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13074         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13076 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13078         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13080 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13082         [BZ #14952]
13083         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13084         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13085         Use __attribute__ ((__gnu_inline__)).
13086         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13087         Don't use __attribute__ ((__gnu_inline__)).
13089 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13091         [BZ #15423]
13092         * math/s_catan.c (__catan): Handle small real or imaginary part of
13093         input specially to avoid spurious underflow.
13094         * math/s_catanf.c (__catanf): Likewise.
13095         * math/s_catanh.c (__catanh): Likewise.
13096         * math/s_catanhf.c (__catanhf): Likewise.
13097         * math/s_catanhl.c (__catanhl): Likewise.
13098         * math/s_catanl.c (__catanl): Likewise.
13099         * math/libm-test.inc (catan_test): Add more tests.
13100         (catanh_test): Likewise.
13101         * sysdeps/i386/fpu/libm-test-ulps: Update.
13102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13108 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13110         [BZ #15416]
13111         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13112         accurately for denominator in atan2.
13113         * math/s_catanf.c (__catanf): Likewise.
13114         * math/s_catanh.c (__catanh): Likewise.
13115         * math/s_catanhf.c (__catanhf): Likewise.
13116         * math/s_catanhl.c (__catanhl): Likewise.
13117         * math/s_catanl.c (__catanl): Likewise.
13118         * math/libm-test.inc (catan_test): Add more tests.
13119         (catanh_test): Likewise.
13120         * sysdeps/i386/fpu/libm-test-ulps: Update.
13121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13125         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13127         * benchtests/Makefile (bench): Remove slow benchmarks.
13128         * benchtests/atan-inputs: Add slow benchmark inputs.
13129         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13130         (BENCH_FUNC): Accept variant offset.
13131         (VARIANT): Define.
13132         * benchtests/bench-skeleton.c (main): Run benchmark for each
13133         variant.
13134         * benchtests/cos-inputs: Add slow benchmark inputs.
13135         * benchtests/exp-inputs: Likewise.
13136         * benchtests/pow-inputs: Likewise.
13137         * benchtests/sin-inputs: Likewise.
13138         * benchtests/slowatan-inputs: Remove.
13139         * benchtests/slowatan.c: Remove.
13140         * benchtests/slowcos-inputs: Remove.
13141         * benchtests/slowcos.c: Remove.
13142         * benchtests/slowexp-inputs: Remove.
13143         * benchtests/slowexp.c: Remove.
13144         * benchtests/slowpow-inputs: Remove.
13145         * benchtests/slowpow.c: Remove.
13146         * benchtests/slowsin-inputs: Remove.
13147         * benchtests/slowsin.c: Remove.
13148         * benchtests/slowtan-inputs: Remove.
13149         * benchtests/slowtan.c: Remove.
13150         * benchtests/tan-inputs: Add slow benchmark inputs.
13151         * scripts/bench.pl: Parse comments and directives.
13153         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13154         in CPPFLAGS.
13155         ($(objpfx)bench-%.c): Remove *-ITER.
13156         * benchtests/bench-modf.c: Remove definition of ITER.
13157         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13158         (main): Loop for DURATION seconds instead of fixed number of
13159         iterations.
13160         * scripts/bench.pl: Don't expect iterations in parameters.
13162 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13164         * io/fchdir.c (__fchdir): Renamed from fchdir.
13165         (fchdir): Define as weak alias.
13167 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13169         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13170         (ERRNO_EDOM): Likewise.
13171         (ERRNO_ERANGE): Likewise.
13172         (noErrnoTests): New variable.
13173         (init_max_error): Set errno to 0.
13174         (test_single_errno): New function.
13175         (test_errno): Likewise.
13176         (check_float_internal): Call test_errno.  Set errno to 0.
13177         (check_complex): Refer to errno tests in comment.
13178         (check_int): Call test_errno.  Set errno to 0.
13179         (check_long): Likewise.
13180         (check_bool): Likewise.
13181         (check_longlong): Likewise.
13182         (cos_test): Use ERRNO_* flags for errno tests instead of
13183         check_int.
13184         (expm1_test): Likewise.
13185         (fmod_test): Likewise.
13186         (ilogb_test): Likewise.
13187         (lgamma_test): Likewise.
13188         (pow_test): Likewise.
13189         (remainder_test): Likewise.
13190         (sin_test): Likewise.
13191         (tan_test): Likewise.
13192         (yn_test): Likewise.
13193         (initialize): Set errno to 0.
13194         (main): Print number of errno tests.
13195         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13197 2013-04-29  Andreas Jaeger  <aj@suse.de>
13199         [BZ #15084]
13200         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13201         and RES_USEVC.
13203         [BZ #15085]
13204         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13205         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13206         unimplemented.
13208         [BZ #15380]
13209         * stdlib/random.c (__initstate): Return NULL if
13210         __initstate fails.
13212         [BZ #15086]
13213         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13214         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13215         RES_SNGLKUPREOP.
13217 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13221 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13223         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13224         of individual tests.
13225         (casin_test): Likewise.
13226         (casinh_test): Likewise.
13228 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13230         [BZ #15409]
13231         * math/s_catan.c (__catan): Handle arguments with large real or
13232         imaginary part separately without squaring.
13233         * math/s_catanf.c (__catanf): Likewise.
13234         * math/s_catanh.c (__catanh): Likewise.
13235         * math/s_catanhf.c (__catanhf): Likewise.
13236         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13237         and redefine.
13238         (__catanhl): Handle arguments with large real or imaginary part
13239         separately without squaring.
13240         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13241         and redefine.
13242         (__catanl): Handle arguments with large real or imaginary part
13243         separately without squaring.
13244         * math/libm-test.inc (catan_test): Add more tests.
13245         (catanh_test): Likewise.
13246         * sysdeps/i386/fpu/libm-test-ulps: Update.
13247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13249 2013-04-27  Andreas Jaeger  <aj@suse.de>
13251         [BZ #15007]
13252         * stdlib/stdlib.h: Update guards for qecvt.
13253         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13254         <stdlib.h>.
13256 2013-04-27  Allan McRae  <allan@archlinux.org>
13258         * sysdeps/i386/fpu/libm-test-ulps: Update.
13260 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13262         [BZ #15406]
13263         * math/s_catan.c: Include <float.h>.
13264         (__catan): Ensure underflow exception occurs for underflowed
13265         result.
13266         * math/s_catanf.c: Include <float.h>.
13267         (__catanf): Ensure underflow exception occurs for underflowed
13268         result.
13269         * math/s_catanh.c: Include <float.h>.
13270         (__catanh): Ensure underflow exception occurs for underflowed
13271         result.
13272         * math/s_catanhf.c: Include <float.h>.
13273         (__catanhf): Ensure underflow exception occurs for underflowed
13274         result.
13275         * math/s_catanhl.c: Include <float.h>.
13276         (__catanhl): Ensure underflow exception occurs for underflowed
13277         result.
13278         * math/s_catanl.c: Include <float.h>.
13279         (__catanl): Ensure underflow exception occurs for underflowed
13280         result.
13281         * math/libm-test.inc (catan_test): Add more tests.
13282         (catanh_test): Likewise.
13284         [BZ #15405]
13285         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13286         underflowed result.
13287         * math/s_ccoshf.c (__ccoshf): Likewise.
13288         * math/s_ccoshl.c (__ccoshl): Likewise.
13289         * math/s_csin.c (__csin): Likewise.
13290         * math/s_csinf.c (__csinf): Likewise.
13291         * math/s_csinh.c (__csinh): Likewise.
13292         * math/s_csinhf.c (__csinhf): Likewise.
13293         * math/s_csinhl.c (__csinhl): Likewise.
13294         * math/s_csinl.c (__csinl): Likewise.
13295         * math/libm-test.inc (ccos_test): Add more tests.
13296         (ccosh_test): Likewise.
13297         (csin_test): Likewise.
13298         (csinh_test): Likewise.
13300 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13302         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13303         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13304         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13305         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13306         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13307         powerpc/power5+/fpu folders.
13308         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13311 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13315 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13317         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13318         additions to variable.
13319         [$(config-machine) = x86_64] (modules-names): Likewise.
13320         ($(objpfx)tst-audit3): Remove dependency.
13321         ($(objpfx)tst-audit3.out): Likewise.
13322         ($(objpfx)tst-audit4): Likewise.
13323         ($(objpfx)tst-audit4.out): Likewise.
13324         ($(objpfx)tst-audit5): Likewise.
13325         ($(objpfx)tst-audit5.out): Likewise.
13326         ($(objpfx)tst-audit6): Likewise.
13327         ($(objpfx)tst-audit6.out): Likewise.
13328         ($(objpfx)tst-audit7): Likewise.
13329         ($(objpfx)tst-audit7.out): Likewise.
13330         (tst-audit3-ENV): Remove variable.
13331         (tst-audit4-ENV): Likewise.
13332         (tst-audit5-ENV): Likewise.
13333         (tst-audit6-ENV): Likewise.
13334         (tst-audit7-ENV): Likewise.
13335         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13336         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13337         addition to variable.
13338         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13339         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13340         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13341         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13342         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13343         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13344         tst-audit3, tst-audit4 and tst-audit5.
13345         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13346         tst-audit6 and tst-audit7.
13347         [$(subdir) = elf] (modules-names): Add audit modules for those
13348         tests.
13349         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13350         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13351         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13352         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13353         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13354         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13355         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13356         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13357         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13358         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13359         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13360         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13361         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13362         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13363         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13364         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13365         Likewise.
13366         [$(subdir) = elf && $(config-cflags-avx) = yes]
13367         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13368         [$(subdir) = elf && $(config-cflags-avx) = yes]
13369         (CFLAGS-tst-auditmod4a.c): Likewise.
13370         [$(subdir) = elf && $(config-cflags-avx) = yes]
13371         (CFLAGS-tst-auditmod4b.c): Likewise.
13372         [$(subdir) = elf && $(config-cflags-avx) = yes]
13373         (CFLAGS-tst-auditmod6b.c): Likewise.
13374         [$(subdir) = elf && $(config-cflags-avx) = yes]
13375         (CFLAGS-tst-auditmod6c.c): Likewise.
13376         [$(subdir) = elf && $(config-cflags-avx) = yes]
13377         (CFLAGS-tst-auditmod7b.c): Likewise.
13378         * elf/tst-audit3.c: Move to ...
13379         * sysdeps/x86_64/tst-audit3.c: ... here.
13380         * elf/tst-audit4.c: Move to ...
13381         * sysdeps/x86_64/tst-audit4.c: ... here.
13382         * elf/tst-audit5.c: Move to ...
13383         * sysdeps/x86_64/tst-audit5.c: ... here.
13384         * elf/tst-audit6.c: Move to ...
13385         * sysdeps/x86_64/tst-audit6.c: ... here.
13386         * elf/tst-audit7.c: Move to ...
13387         * sysdeps/x86_64/tst-audit7.c: ... here.
13388         * elf/tst-auditmod3a.c: Move to ...
13389         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13390         * elf/tst-auditmod3b.c: Move to ...
13391         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13392         * elf/tst-auditmod4a.c: Move to ...
13393         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13394         * elf/tst-auditmod4b.c: Move to ...
13395         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13396         * elf/tst-auditmod5a.c: Move to ...
13397         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13398         * elf/tst-auditmod5b.c: Move to ...
13399         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13400         * elf/tst-auditmod6a.c: Move to ...
13401         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13402         * elf/tst-auditmod6b.c: Move to ...
13403         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13404         * elf/tst-auditmod6c.c: Move to ...
13405         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13406         * elf/tst-auditmod7a.c: Move to ...
13407         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13408         * elf/tst-auditmod7b.c: Move to ...
13409         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13411 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
13413         [BZ #15366]
13414         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13415         define unconditionally.
13416         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13417         define unconditionally.
13418         (INT8_C, INT16_C, etc.): Likewise.
13420 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
13422         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13423         __ehdr_start with hidden visibility.
13425         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13427 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
13429         * math/libm-test.inc (cos_test): Use accurate hex constants.
13430         (sincost_test): Likewise.
13432 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
13434         * math/libm-test.inc (catan_test): Add more tests.
13435         (catanh_test): Likewise.
13437         * math/s_catanf.c (__catanf): Use suffixed floating-point
13438         constants.
13439         * math/s_catanhf.c (__catanhf): Likewise.
13440         * math/s_catanhl.c (__catanhl): Likewise.
13441         * math/s_catanl.c (__catanl): Likewise.
13443         [BZ #15394]
13444         * math/s_catan.c (__catan): Calculate imaginary part of result
13445         with log1p not log unless computing log of number close to 0.
13446         * math/s_catanf.c (__catanf): Likewise.
13447         * math/s_catanl.c (__catanl): Likewise.
13448         * math/s_catanh.c (__catanh): Calculate real part of result with
13449         log1p not log unless computing log of number close to 0.
13450         * math/s_catanhf.c (__catanhf): Likewise.
13451         * math/s_catanhl.c (__catanhl): Likewise.
13452         * math/libm-test.inc (catan_test): Add more tests.
13453         (catanh_test): Likewise.
13454         * sysdeps/i386/fpu/libm-test-ulps: Update.
13455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13459         * benchtests/Makefile: Mention files in which fast and slow
13460         paths of math functions are implemented.
13462 2013-04-23  Roland McGrath  <roland@hack.frob.com>
13464         * sysdeps/posix/timespec_get.c: New file.
13466 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13468         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13469         POWER.
13470         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
13471         for POWER.
13472         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
13473         powerpc/power5/fpu folders.
13474         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
13475         * benchtests/Makefile: Add modf testcase.
13476         * benchtests/bench-modf.c: New file: Benchmark test for mo
13478 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13480         [BZ #14888]
13481         * time/Makefile (tests): Add tst-strptime-whitespace.
13482         * time/strptime_l.c (get_number): Use ISSPACE.
13483         (__strptime_internal): Likewise.
13484         * time/tst-strptime-whitespace.c: New test case.
13486 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
13488         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
13489         member.
13490         (_nss_files_init): Set it here.
13492 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
13494         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
13495         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
13496         unsigned.
13498 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
13500         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
13502 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
13505         size just once.
13507 2013-04-21  David S. Miller  <davem@davemloft.net>
13509         * po/ru.po: Update Russion translation from translation project.
13511 2013-04-17  Adam Conrad  <adconrad@0c3.net>
13513         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
13514         and setfsgid.
13516 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
13518         * configure.in: Remove i386 configure warning. Remove i386 case.
13519         * configure: Regenerate.
13520         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
13521         Add example to error message.
13522         * sysdeps/i386/configure: Regenerate.
13524 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13526         * benchtests/Makefile (bench): Add cos, tan, slowcos and
13527         slowtan.
13528         * benchtests/cos-inputs: New file.
13529         * benchtests/slowcos-inputs: New file.
13530         * benchtests/slowcos.c: New file.
13531         * benchtests/slowtan-inputs: New file.
13532         * benchtests/slowtan.c: New file.
13533         * benchtests/tan-inputs: New file.
13535 2013-04-16  Roland McGrath  <roland@hack.frob.com>
13537         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
13538         considered kosher.
13540 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13542         * benchtests/Makefile: Include cppflags-iterator.mk to add
13543         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
13545         * Makefile.in (bench-clean): New target.
13546         * benchtests/Makefile (bench-clean): Likewise.
13548 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
13550         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
13552 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
13554         * stdio-common/tstdiomisc.c: Fix coding-style violation.
13556 2013-04-15  Andreas Schwab  <schwab@suse.de>
13558         * nscd/grpcache.c (cache_addgr): Properly check for short write.
13559         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13560         * nscd/pwdcache.c (cache_addpw): Likewise.
13561         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
13562         more than recsize.
13564 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566         * benchtests/Makefile (bench): Write all output to
13567         bench-out.tmp together.
13569 2013-04-15  Andreas Schwab  <schwab@suse.de>
13571         * nscd/nscd.c (main): Don't fork again after closing files.
13573 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13575         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
13577         * benchtests/Rules (bench-deps): Collect dependencies into a
13578         single variable.  Add Makefile to dependencies.
13579         ($(objpfx)bench-%.c): Depend on bench-deps.
13581 2013-04-12  Roland McGrath  <roland@hack.frob.com>
13582             Xavier Roche  <roche+kml2@exalead.com>
13584         [BZ #15361]
13585         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
13586         just that it's a file descriptor.
13587         * manual/llio.texi (Synchronizing AIO Operations): Update description
13588         for EBADF error from aio_fsync.
13590 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13592         * Rules (bench): Move target definition...
13593         * benchtests/Makefile: ... here.
13595 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
13597         * math/libm-test.inc (cos_test): Fix PI/2 test.
13598         (sincos_test): Likewise.
13599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13600         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13602 2013-04-11  Andreas Schwab  <schwab@suse.de>
13604         [BZ #13988]
13605         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
13606         accept exponent character only when digits were seen.
13607         * stdio-common/Makefile (tests): Add bug26.
13608         * stdio-common/bug26.c: New file.
13610         [BZ #14293]
13611         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
13612         non-freeable.
13614 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616         * Makeconfig (rtld-prefix): Define built linker prefix.
13617         * Rules (run-bench): Use it.
13618         * math/Makefile (run-regen-ulps): Likewise.
13620         * Rules (bench): Remove eval.
13622 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13623             Roland McGrath  <roland@hack.frob.com>
13624             Ondrej Bilka  <neleai@seznam.cz>
13626         [BZ #15346]
13627         * time/getdate.c: Include ctype.h and alloca.h.
13628         (__getdate_r): Trim leading and trailing spaces of input.
13629         * time/tst-getdate.c (tests): Add tests with leading and
13630         trailing spaces.
13632 2013-04-08  Roland McGrath  <roland@hack.frob.com>
13634         [BZ #14280]
13635         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
13636         when computing value.
13638 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13640         * math/README.libm-test (How can I generate "libm-test-ulps"?):
13641         Use testrun.sh to run libm tests.
13643         [BZ #15309]
13644         * elf/dl-open.c (dl_open_worker): memset all of seen array.
13646 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
13648         [BZ #15264]
13649         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13651 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13653         * Makefile.in (regen-ulps): New target.
13654         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
13655         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
13656         [ifneq (no,$(PERL)] (regen-ulps): New target.
13657         [ifeq (no,$(PERL)] (regen-ulps): New target.
13658         * math/libm-test.inc (ulps_file_name): Define.
13659         (output_dir): New variable.
13660         (options): Add "output-dir" option.
13661         (parse_opt): Handle 'o' case.
13662         (main): If output_dir is non-NULL use it as a prefix
13663         otherwise use "".
13664         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
13666 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13668         [BZ #10060, #10062]
13669         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
13670         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
13671         fail configure if __sync_val_compare_and_swap is not inlined.
13672         * sysdeps/i386/configure: Regenerate.
13673         * configure.in: Build for i686 when configured for i386.
13674         * configure: Regenerate.
13675         * README: Remove i386 reference.
13677 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13679         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
13680         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13682 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13684         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
13685         (lmsnanval): New variables.
13686         (F): Add conversion tests.
13687         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
13688         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13690         * stdio-common/tstdiomisc.c (F): Properly collect individual
13691         tests' results.
13693         [BZ #14686, #15336]
13694         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
13695         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13696         Instead, use input NaN values or generate a qNaN by arithmetic
13697         operation.  Also fix bugs to comply with the standard.
13698         * math/libm-test.inc (remainder_test): Add more tests.
13700         [BZ #15335, #15342]
13701         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13703         input NaN values or generate a qNaN by arithmetic operation.
13705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13706         unreachable code.
13708         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13709         definitions.
13711 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #14478]
13714         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13715         underflowed result.
13716         * math/s_cexpf.c (__cexpf): Likewise.
13717         * math/s_cexpl.c (__cexpl): Likewise.
13718         * math/libm-test.inc (cexp_test): Add more tests.
13720 2013-04-03  Andreas Schwab  <schwab@suse.de>
13722         [BZ #15330]
13723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13724         order arrays from heap if bigger than alloca cutoff.
13726 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
13728         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13729         (SNAN_TESTS_double): Refer to GCC PR56831.
13730         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13731         GCC PR56828.
13733 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13735         * Rules (bench): Move bench.out after the run is complete.
13737         * Rules (bench): Echo currently running benchmark.
13739         * benchtests/Makefile (bench): Add atan and slowatan.
13740         * benchtests/atan-inputs: New file.
13741         * benchtests/slowatan-inputs: New file.
13742         * benchtests/slowatan.c: New file.
13744         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13745         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13746         its value.
13748         [BZ #15305]
13749         * sysdeps/unix/sysv/linux/kernel-features.h
13750         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13751         __ASSUME_XFS_RESTRICTED_CHOWN.
13752         * sysdeps/unix/sysv/linux/pathconf.c
13753         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13754         Save and restore errno.
13756 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
13758         [BZ #15327]
13759         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13760         arguments using __kernel_casinh.
13761         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13762         arguments using __kernel_casinhf.
13763         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13764         arguments using __kernel_casinhl.
13765         * math/libm-test.inc (cacosh_test): Add more tests.
13766         * sysdeps/i386/fpu/libm-test-ulps: Update.
13767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13771         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13774         * bench/Makefile (bench): Add sin and slowsin.
13775         * benchtests/sin-inputs: New file.
13776         * benchtests/slowsin-inputs: New file.
13777         * benchtests/slowsin.c: New file.
13779         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13780         (bench): Add slowexp and slowpow.
13781         (exp-ITER): Increase iterations.
13782         (pow-ITER): Likewise.
13783         * benchtests/exp-inputs: Change input.
13784         * benchtests/pow-inputs: Likewise.
13785         * benchtests/slowexp-inputs: New file.
13786         * benchtests/slowexp.c: New file.
13787         * benchtests/slowpow-inputs: New file.
13788         * benchtests/slowpow.c: New file.
13790 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13792         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13793         instructions.
13794         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13795         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13796         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13797         * benchtests/Makefile: Add rint benchtest.
13798         * benchtests/rint-inputs: Input for rint benchtest.
13800 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13802         * Versions.def (libm): Add GLIBC_2.18.
13803         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13804         hidden libm prototypes.
13805         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13806         * math/Makefile (libm-calls): Add s_issignaling.
13807         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13808         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
13809         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13810         declaration.
13811         * math/math.h [__USE_GNU] (issignaling): New macro.
13812         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13813         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13814         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13815         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13817         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13818         * manual/arith.texi (issignaling): New section.
13819         * manual/libm-err-tab.pl (@all_functions): Update comment.
13820         * math/gen-libm-test.pl (parse_args): Apply special handling for
13821         issignaling.
13822         * math/libm-test.inc (print_float, issignaling_test): New
13823         functions.
13824         (check_float_internal): Add issignaling checks.
13825         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13826         default definition.
13827         * sysdeps/powerpc/math-tests.h: New file.
13828         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13829         tests.
13830         * math/test-snan.c (TEST_FUNC): Likewise.
13832 2013-03-30  David S. Miller  <davem@davemloft.net>
13834         * po/de.po: Update from translation team.
13836 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
13838         [BZ #10357]
13839         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13840         imaginary part less than 1.0 and real part less than 0.5
13841         specially.
13842         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13843         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13844         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13845         (cacos_test): Add more tests.
13846         (casin_test): Likewise.
13847         (casinh_test): Likewise.
13848         * sysdeps/i386/fpu/libm-test-ulps: Update.
13849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13853         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13854         ONE with its value.
13856         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13857         (__pow_mp): Replace ONE and MONE with their values.
13858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13859         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13860         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13861         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13862         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13863         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13865         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13867         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13868         (__pow_mp): Replace ZERO and MZERO with their values.
13869         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13871         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13873         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13874         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13875         (__sqr): Likewise.
13877         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13879         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13881 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13883         * include/stdlib.h [!SHARED] (__call_tls_dtors):
13884         Declare with __attribute__ ((weak)).
13885         * stdlib/exit.c (__libc_atexit) [!SHARED]:
13886         Call __call_tls_dtors only if it's not NULL.
13888 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13890         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13891         didn't do it already, then set _dl_phdr and _dl_phnum based on the
13892         magic __ehdr_start linker symbol if it's defined.
13893         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13894         them up here if it was already done.
13896         * elf/dl-support.c (_dl_phdr): Make pointer to const.
13897         (_dl_aux_init): Use const in cast when setting it.
13898         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13899         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13900         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13902         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13903         Declare them here.
13904         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13905         * csu/libc-tls.c: Nor here.
13906         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13908         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13909         (__libc_message): Never call vsyslog.
13911 2013-03-28  Alan Modra  <amodra@gmail.com>
13913         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13914         Define as empty.
13915         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13916         Likewise.
13918 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13920         [BZ #15214]
13921         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13922         underflow.
13923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13925 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13927         [BZ #15304]
13928         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13929         Don't add gid passed as argument.
13931         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13933 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
13935         [BZ #15307]
13936         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13937         imaginary part between 1.0 and 1.5 and real part less than 0.5
13938         specially.
13939         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13940         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13941         * math/libm-test.inc (cacos_test): Add more tests.
13942         (casin_test): Likewise.
13943         (casinh_test): Likewise.
13944         * sysdeps/i386/fpu/libm-test-ulps: Update.
13945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13947 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13949         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13950         constants.
13951         (norm): Likewise.
13952         (denorm): Likewise.
13953         (__dbl_mp): Likewise.
13954         (add_magnitudes): Likewise.
13955         (sub_magnitudes): Likewise.
13956         (__add): Likewise.
13957         (__sub): Likewise.
13958         (__mul): Likewise.
13959         (__sqr): Likewise.
13960         (__inv): Likewise.
13961         (__dvd): Likewise.
13963         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13964         commented code.
13965         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13966         (__dubcos): Likewise.
13967         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13968         (__ieee754_acos): Likewise.
13969         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13970         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13971         (__exp1): Likewise.
13972         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13974         (log1): Likewise.
13975         (my_log2): Likewise.
13976         (checkint): Likewise.
13977         * sysdeps/ieee754/dbl-64/e_remainder.c
13978         (__ieee754_remainder): Likewise.
13979         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13980         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13981         (bsloww): Likewise.
13982         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13984         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13985         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13986         MANTISSA_STORE_T to store computations on mantissa.  Use
13987         macros for rounding and division.
13988         (denorm): Likewise.
13989         (__dbl_mp): Likewise.
13990         (add_magnitudes): Likewise.
13991         (sub_magnitudes): Likewise.
13992         (__mul): Likewise.
13993         (__sqr): Likewise.
13994         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13995         powers of two in terms of TWOPOW macro.
13996         (mp_no): Make type of mantissa as MANTISSA_T.
13997         [!RADIXI]: Define RADIXI.
13998         [!TWO52]: Define TWO52.
13999         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14001 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14003         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14004         llroundl symbol when building for PPC32.
14006 2013-03-24  Mark H Weaver  <mhw@netris.org>
14008         * manual/arith.texi (Normalization Functions): Fix prototypes for
14009         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14011 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14013         [BZ #13889]
14014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14015         high value to check if expl overflow.
14016         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14017         to check for underflow and overflow.
14018         * math/libm-test.inc: Add exp test.
14020 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14022         [BZ #11120]
14023         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14024         with NOT_IN_libc.
14026 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14028         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14029         symbol.
14031 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14033         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14034         wrap blocks consisting of several statements.
14036         * sysdeps/generic/math-tests.h: New file.
14037         * sysdeps/i386/fpu/math-tests.h: Likewise.
14038         * math/test-snan.c: Include it.
14039         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14041 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #15285]
14044         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14045         (__ieee754_j0l): Do not improve calculations using cos of twice
14046         input for inputs above LDBL_MAX / 2.0L.
14047         (__ieee754_y0l): Likewise.
14048         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14049         (__ieee754_j1l): Do not improve calculations using cos of twice
14050         input for inputs above LDBL_MAX / 2.0L.
14051         (__ieee754_y1l): Likewise.
14052         * math/libm-test.inc (j0_test): Add another test.
14053         (j1_test): Likewise.
14054         (y0_test): Likewise.
14055         (y1_test): Likewise.
14056         * sysdeps/i386/fpu/libm-test-ulps: Update.
14058 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14060         * Rules ($(objpfx)bench-%.c): Include code from a C source
14061         file.
14063 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14065         [BZ #15287]
14066         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14067         imaginary part 1.0 and real part less than 0.5 specially.
14068         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14069         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14070         * math/libm-test.inc (cacos_test): Add more tests.
14071         (casin_test): Likewise.
14072         (casinh_test): Likewise.
14073         * sysdeps/i386/fpu/libm-test-ulps: Update.
14074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14076 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14078         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14079         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14081 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14083         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14084         * config.make.in (config-cflags-sse4): Remove variable.
14085         (config-cflags-avx): Likewise.
14086         (config-cflags-sse2avx): Likewise.
14087         (config-cflags-novzeroupper): Likewise.
14088         (config-asflags-i686): Likewise.
14089         (have-mfma4): Likewise.
14090         (have-as-vis3): Likewise.
14091         (MIG): Likewise.
14092         * configure.in (MIG): Do not AC_SUBST.
14093         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14094         (libc_cv_cc_sse4): Do not AC_SUBST.
14095         (libc_cv_cc_avx): Likewise.
14096         (libc_cv_cc_sse2avx): Likewise.
14097         (libc_cv_cc_novzeroupper): Likewise.
14098         (libc_cv_cc_fma4): Likewise.
14099         (libc_cv_as_i686): Likewise.
14100         (libc_cv_sparc_as_vis3): Likewise.
14101         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14102         LIBC_CONFIG_VAR.
14103         (config-asflags-i686): Likewise.
14104         (config-cflags-avx): Likewise.
14105         (config-cflags-sse2avx): Likewise.
14106         (have-mfma4): Likewise.
14107         (config-cflags-novzeroupper): Likewise.
14108         * sysdeps/mach/configure.in (MIG): Likewise.
14109         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14110         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14111         LIBC_CONFIG_VAR.
14112         (config-cflags-avx): Likewise.
14113         (config-cflags-sse2avx): Likewise.
14114         (have-mfma4): Likewise.
14115         (config-cflags-novzeroupper): Likewise.
14116         * configure: Regenerated.
14117         * sysdeps/i386/configure: Likewise.
14118         * sysdeps/mach/configure: Likewise.
14119         * sysdeps/sparc/configure: Likewise.
14120         * sysdeps/x86_64/configure: Likewise.
14122 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14124         [BZ #14812]
14125         * locale/programs/localedef.c (options): Put N_ translation marker
14126         on argument names, not just descriptions.
14128 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14130         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14132 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14134         [BZ #14176]
14135         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14137 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14139         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14140         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14141         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14142         [!BEFORE_ABORT] (before_abort): New function.
14143         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14144         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14145         (writev_for_fatal): New function.
14146         (WRITEV_FOR_FATAL): New macro; call that.
14147         (backtrace_and_maps): New function.
14148         (BEFORE_ABORT): New macro; call that.
14149         (struct str_list): Type removed.
14150         (__libc_message, __libc_fatal): Functions removed.
14151         Include <sysdeps/posix/libc_fatal.c> instead.
14153 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14155         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14156         constants.
14157         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14158         double constants.
14160 2013-03-19  Andreas Schwab  <schwab@suse.de>
14162         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14163         * sysdeps/gnu/configure: Regenerate.
14165         * configure.in: Substitute libc_cv_rtlddir.
14166         * configure: Regenerate.
14167         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14168         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14169         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14170         * elf/Makefile (install-others, CFLAGS-interp.c)
14171         (ldso_install, common-ldd-rewrite): Likewise.
14172         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14173         $(inst_slibdir)/$(rtld-installed-name).
14174         * scripts/rellns-sh: Add -p option.
14175         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14176         for source.
14178 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14180         * manual/nptl.texi: Renamed to ...
14181         * manual/threads.texi: ... this.
14182         * manual/Makefile (chapters): Update.
14184 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14186         [BZ #14812]
14187         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14188         on argument names, not just descriptions.
14189         * malloc/memusagestat.c (options): Likewise.
14190         * nss/getent.c (options): Likewise.
14192 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14194         [BZ #14812]
14195         * iconv/iconv_prog.c (options): Put N_ translation marker
14196         on argument names, not just descriptions.
14197         * iconv/iconvconfig.c (options): Likewise.
14199 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14201         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14202         implementation which is faster on all x86_64 architectures.
14203         Tested on AMD, Intel Nehalem, SNB, IVB.
14204         * sysdeps/x86_64/strnlen.S: Likewise.
14206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14207         Remove all multiarch strlen and strnlen versions.
14208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14209         Remove strlen and strnlen related parts.
14211         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14212         Inline strlen part.
14213         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14215         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14216         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14217         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14218         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14219         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14220         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14222 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14224         * manual/memory.texi (Malloc Tunable Parameters):
14225         Sort parameters alphabetically. Add comments for missing entries.
14227 2013-03-17  David S. Miller  <davem@davemloft.net>
14229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14231 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14233         [BZ #15283]
14234         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14235         for arguments at most half maximum finite value.
14236         * math/libm-test.inc (j0_test): Add more tests.
14237         (j1_test): Likewise.
14238         (y0_test): Likewise.
14239         (y1_test): Likewise.
14240         * sysdeps/i386/fpu/libm-test-ulps: Update.
14241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243         [BZ #14155]
14244         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14245         1 / x and functions P and Q for arguments above 0x1p256L.
14246         (__ieee754_y0l): Likewise.
14247         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14248         (__ieee754_y1l): Likewise.
14249         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14250         (j1_test): Likewise.
14251         (y0_test): Likewise.
14252         (y1_test): Likewise.
14254 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14256         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14257         variable.
14259 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14261         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14262         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14263         zero since it's initialized to EXEC_PAGESIZE.
14265         * sysdeps/unix/sysv/linux/ldsodefs.h
14266         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14267         * sysdeps/generic/ldsodefs.h: ... here.
14269 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14271         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14273         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14274         math/test-snan.c.
14275         * math/test-snan.c: Renamed from
14276         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14277         * math/Makefile (tests): Add test-snan.
14278         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14279         test-powerpc-snan.
14281         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14282         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14283         functions.
14284         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14285         __builtin_nan family of functions.
14286         * math/libm-test.inc (initialize): Initialize qnan_value with
14287         __builtin_nan family of functions.
14288         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14289         Remove variables.
14290         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14291         Remove functions.
14292         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14293         storage class.  Initialize qNaN_var and sNaN_var with
14294         __builtin_nan and __builtin_nans families of functions,
14295         respectively.
14297         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14298         (sqrt_test): Remove duplicate test with qNaN input.
14299         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14300         (round_test, signbit_test, significand_test): Note missing +/-Inf
14301         as well as qNaN tests.
14303         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14304         qNaN_var.  Fix a few strings, too.
14305         * math/libm-test.inc (nan_value): Rename to qnan_value.
14306         * math/gen-libm-test.pl (%beautify): Adjust to that.
14307         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14308         * math/test-misc.c (main): Likewise.
14309         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14310         to __qnan_bytes, and __qnan_union, respectively.
14311         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14312         Likewise.
14313         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14314         and lqnanval, respectively.
14315         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14316         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14317         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14318         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14320         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14321         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14322         doubles.
14324         * math/test-misc.c (main): Fix copy'n'pastos.
14325         * misc/tst-efgcvt.c (special): Likewise.
14327         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14328         Remove declarations.
14330 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14332         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14333         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14334         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14335         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14337 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14339         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14340         macro to return vdso values correctly in IFUNC implementations.
14341         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14342         Optimization by using IFUNC.
14344 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14345             Richard Henderson  <rth@redhat.com>
14346             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14348         * Makefile.in (bench): New target.
14349         * NEWS: Mention the benchmark framework.
14350         * Rules (bench): Likewise.
14351         (binaries-bench): Generate binaries for functions to
14352         benchmark.
14353         * benchtests/Makefile: New makefile for benchmark tests.
14354         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14355         programs.
14356         * benchtests/exp-inputs: New input file for EXP function.
14357         * benchtests/pow-inputs: New input file for POW function.
14358         * scripts/bench.pl: New script to generate source files for
14359         benchmark programs.
14361 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14363         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14364         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14365         computations on mantissa.  Use macros for rounding and
14366         division.
14367         (denorm): Likewise.
14368         (__dbl_mp): Likewise.
14369         (add_magnitudes): Likewise.
14370         (sub_magnitudes): Likewise.
14371         (__mul): Likewise.
14372         (__sqr): Likewise.
14373         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14374         powers of two in terms of TWOPOW macro.
14375         (mp_no): Make type of mantissa as MANTISSA_T.
14376         [!RADIXI]: Define RADIXI.
14377         [!TWO52]: Define TWO52.
14378         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14380         * manual/nptl.texi (cindex): Modify threads to pthreads.
14382 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
14384         * sysdeps/x86_64/preconfigure: Regenerated.
14386 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #14155]
14389         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14390         0x1p28 and above.
14391         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14392         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14393         0x1p28 and above.
14394         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14395         * math/libm-test.inc (j0_test): Do not allow one spurious
14396         underflow exception.
14397         (y1_test): Likewise.
14399 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14401         * manual/Makefile (chapters): Add nptl.
14402         * manual/debug.texi (Debugging Support): Add link to Threads
14403         chapter.
14404         * manual/nptl.texi: New file.
14406         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14408 2013-03-14  Petr Baudis  <pasky@ucw.cz>
14410         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14411         for non-NULL pointer before the memory validity test. Pointed
14412         out by Holger Brunck <holger.brunck@keymile.com>.
14414 2013-03-13  Andreas Schwab  <schwab@suse.de>
14416         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14417         instead of .os.
14419 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
14421         * timezone/zic.c: Update from tzcode 2013b.
14423 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
14425         * manual/install.texi (Configuring and compiling):
14426         Mention i686 and i586.
14427         * INSTALL: Regenerate.
14429 2013-03-12  Roland McGrath  <roland@hack.frob.com>
14431         * sysdeps/init_array/elf-init.c: New file.
14432         * csu/elf-init.c
14433         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14434         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14436         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14437         __gmon_start__ as global, but as static with a .preinit_array pointer.
14438         * sysdeps/init_array/gmon-start.c: New file.  Use that.
14439         * sysdeps/init_array/crti.S: New file, empty except for comments.
14440         * sysdeps/init_array/crtn.S: Likewise.
14442 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
14444         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14445         definining bcopy.
14446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14447         Remove Prefer_SSE_for_memop.
14448         * sysdeps/x86_64/multiarch/init-arch.h: Remove
14449         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14450         HAS_PREFER_SSE_FOR_MEMOP.
14451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14452         memset-x86-64.
14453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14454         Remove bzero, memset ifunc support.
14455         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14456         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14457         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14458         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14460 2013-03-11  Andreas Schwab  <schwab@suse.de>
14462         [BZ #15234]
14463         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14464         by SHLIB_COMPAT.
14465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
14466         (GLIBC_2.16): Remove pthread_atfork.
14468 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14470         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
14471         (ptestcases.h): Likewise.
14473 2013-03-08  Roland McGrath  <roland@hack.frob.com>
14475         * Makeconfig ($(common-objpfx)config.status): Depend on
14476         sysdeps/*/preconfigure{,.in} too.
14478 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
14480         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14481         (__free_hook): Use void * instead of __malloc_ptr_t.
14482         (__malloc_hook): Likewise.
14483         (__realloc_hook): Likewise.
14484         (__memalign_hook): Likewise.
14485         (__after_morecore_hook): Likewise.
14486         * malloc/arena.c (save_malloc_hook): Likewise.
14487         (save_free_hook): Likewise.
14488         * malloc/hooks.c (malloc_hook_ini): Likewise.
14489         (realloc_hook_ini): Likewise.
14490         (memalign_hook_ini): Likewise.
14491         * malloc/malloc.c (malloc_hook_ini): Likewise.
14492         (realloc_hook_ini): Likewise.
14493         (memalign_hook_ini): Likewise.
14494         (__free_hook): Likewise.
14495         (__malloc_hook): Likewise.
14496         (__realloc_hook): Likewise.
14497         (__memalign_hook): Likewise.
14498         (__libc_malloc): Likewise.
14499         (__libc_free): Likewise.
14500         (__libc_realloc): Likewise.
14501         (__libc_memalign): Likewise.
14502         (__libc_valloc): Likewise.
14503         (__libc_pvalloc): Likewise.
14504         (__libc_calloc): Likewise.
14505         (__posix_memalign): Likewise.
14506         * malloc/morecore.c (__sbrk): Likewise.
14507         (__default_morecore): Likewise.
14509         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
14511         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
14512         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
14513         __malloc_ptrdiff_t.
14515         * malloc/malloc.h (__malloc_size_t): Remove macro.
14516         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
14517         __malloc_size_t.
14518         (old_memalign_hook): Likewise.
14519         (old_realloc_hook): Likewise.
14520         (struct hdr): Likewise.
14521         (flood): Likewise.
14522         (mallochook): Likewise.
14523         (memalignhook): Likewise.
14524         (reallochook): Likewise.
14525         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
14526         (tr_old_realloc_hook): Likewise.
14527         (tr_old_memalign_hook): Likewise.
14528         (tr_mallochook): Likewise.
14529         (tr_reallochook): Likewise.
14530         (tr_memalignhook): Likewise.
14532 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
14535         default_ldbl_pack and using as default implementation.
14536         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
14537         implementation.
14538         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
14539         redundant definition.
14540         (ldbl_insert_mantissa): Likewise.
14541         (ldbl_canonicalize): Likewise.
14542         (ldbl_nearbyint): Likewise.
14543         (ldbl_pack): Rename to ldbl_pack_ppc.
14544         (ldbl_unpack): Rename to ldbl_unpack_ppc.
14545         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
14546         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
14548 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
14551         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
14552         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
14553         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
14554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
14555         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
14556         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
14557         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
14559 2013-03-07  Andreas Jaeger  <aj@suse.de>
14561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14562         bits/mman-linux.h.
14564 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
14567         Include mpa.h and declare __MPEXP.
14568         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
14569         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14570         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14571         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14572         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14573         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14574         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
14576         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
14577         (__slowpow): Use long double EXPL and LOGL functions to
14578         compute POW.
14579         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14580         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14581         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
14582         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14583         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14584         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
14586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
14587         intermediate variable to calculate exponent.
14588         (__sqr): Likewise.
14589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14590         Likewise.
14591         (__sqr): Likewise.
14593         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
14594         [!NO__SQR]: Define __sqr.
14595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
14596         and NO__SQR.  Remove all code except __mul and __sqr.  Include
14597         sysdeps/ieee754/dbl-64/mpa.c.
14598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14600         [BZ #12723]
14601         * posix/Makefile (tests): Add tst-pathconf.
14602         * posix/tst-pathconf.c: New test case.
14603         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
14604         _PC_PIPE_BUF.
14605         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
14607 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
14609         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
14611 2013-03-06  Andreas Jaeger  <aj@suse.de>
14613         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
14614         definition via __MAP_ANONYMOUS.
14616         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
14617         it's not part of Linux headers.
14619         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
14620         (MAP_HUGE_MASK): Define.
14622         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14623         Define.
14624         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14625         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14626         Define.
14627         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14628         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14629         Define.
14630         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14631         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
14632         Define.
14633         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14635         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
14636         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
14637         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
14638         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
14639         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
14640         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
14642         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14643         Handle f2fs.
14645         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14646         Handle f2fs and efivarfs.
14648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
14649         f2fs.
14651         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
14652         (EFIVARFS_MAGIC): Add.
14653         (F2FS_LINK_MAX): Add.
14655 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14657         * stdio-common/vfprintf.c: Replace __builtin_expect with
14658         __glibc_unlikely.
14660 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
14662         [BZ #13550]
14663         * sysdeps/generic/bp-sym.h: Remove file.
14664         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
14665         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
14666         <bp-sym.h> and <bp-asm.h>.
14667         (__longjmp): Don't use BP_SYM.
14668         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
14669         and <bp-asm.h>.
14670         (memcpy): Don't use BP_SYM.
14671         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
14672         <bp-sym.h> and <bp-asm.h>.
14673         (memcpy): Don't use BP_SYM.
14674         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
14675         <bp-asm.h>.
14676         (memcpy): Don't use BP_SYM.
14677         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
14678         <bp-asm.h>.
14679         (memset): Don't use BP_SYM.
14680         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14681         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14682         (__bzero): Don't use BP_SYM.
14683         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14684         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14685         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
14686         <bp-sym.h> and <bp-asm.h>.
14687         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14688         pointers.
14689         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
14690         <bp-sym.h> and <bp-asm.h>.
14691         (memcpy): Don't use BP_SYM.
14692         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
14693         <bp-sym.h> and <bp-asm.h>.
14694         (memset): Don't use BP_SYM.
14695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14697         (__bzero): Don't use BP_SYM.
14698         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14699         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14700         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14701         <bp-sym.h> and <bp-asm.h>.
14702         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14703         pointers.
14704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14705         <bp-sym.h> and <bp-asm.h>.
14706         (memcpy): Don't use BP_SYM.
14707         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14708         <bp-sym.h> and <bp-asm.h>.
14709         (memset): Don't use BP_SYM.
14710         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14711         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14712         (__bzero): Don't use BP_SYM.
14713         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14714         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14715         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14716         <bp-sym.h> and <bp-asm.h>.
14717         (__memchr): Don't use BP_SYM.
14718         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14719         <bp-sym.h> and <bp-asm.h>.
14720         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14721         pointers.
14722         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14723         <bp-sym.h> and <bp-asm.h>.
14724         (memcpy): Don't use BP_SYM.
14725         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14726         <bp-sym.h> and <bp-asm.h>.
14727         (__mempcpy): Don't use BP_SYM.
14728         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14729         <bp-sym.h> and <bp-asm.h>.
14730         (__memrchr): Don't use BP_SYM.
14731         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14732         <bp-sym.h> and <bp-asm.h>.
14733         (memset): Don't use BP_SYM.
14734         (__bzero): Likewise.
14735         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14736         <bp-sym.h> and <bp-asm.h>.
14737         (__rawmemchr): Don't use BP_SYM.
14738         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14739         <bp-sym.h> and <bp-asm.h>.
14740         (__STRCMP): Don't use BP_SYM.
14741         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14742         <bp-sym.h> and <bp-asm.h>.
14743         (strchr): Don't use BP_SYM.
14744         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14745         <bp-sym.h> and <bp-asm.h>.
14746         (__strchrnul): Don't use BP_SYM.
14747         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14748         <bp-sym.h> and <bp-asm.h>.
14749         (strlen): Don't use BP_SYM.
14750         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14751         <bp-sym.h> and <bp-asm.h>.
14752         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14753         pointers.
14754         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14755         <bp-sym.h> and <bp-asm.h>.
14756         (__strnlen): Don't use BP_SYM.
14757         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14758         <bp-sym.h> and <bp-asm.h>.
14759         (__GI__setjmp): Don't use BP_SYM.
14760         (_setjmp): Likewise.
14761         (__sigsetjmp): Likewise.
14762         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14763         (L(start_addresses)): Don't use BP_SYM.
14764         (_start): Likewise.
14765         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14766         <bp-asm.h>.
14767         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14768         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14769         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14770         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14771         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14772         <bp-asm.h>.
14773         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14774         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
14775         about bounded pointers.
14776         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14777         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14778         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14779         <bp-asm.h>.
14780         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14781         about bounded pointers.  Remove GKM FIXME comments.
14782         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14783         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14784         <bp-asm.h>.
14785         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14786         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
14787         Remove GKM FIXME comments.
14788         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14789         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14790         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14791         <bp-asm.h>.
14792         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14793         about bounded pointers.  Remove GKM FIXME comment.
14794         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14795         and <bp-asm.h>.
14796         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14797         pointers.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14799         <bp-sym.h> and <bp-asm.h>.
14800         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14802         <bp-sym.h> and <bp-asm.h>.
14803         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14804         comment.
14806 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14808         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14809         call free(NULL).
14811 2013-03-05  David S. Miller  <davem@davemloft.net>
14813         * po/es.po: Update from translation team.
14815 2013-03-05  Andreas Jaeger  <aj@suse.de>
14817         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14818         <bits/mman-linux.h>.
14819         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14820         is fine.
14821         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14822         <bits/mman-linux.h> to end of file.
14823         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14824         is fine.
14825         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14826         <bits/mman-linux.h> to end of file.
14827         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14828         is fine.
14829         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14830         <bits/mman-linux.h> to end of file.
14832         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14833         (MCL_CURRENT, MCL_FUTURE): Define here.
14835 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14837         [BZ #15232]
14838         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14839         attribute_hidden.
14840         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14842 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14844         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14845         fourth parameter needed for rt_sigprocmask syscall.
14846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14847         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14848         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14849         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14850         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14851         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14853 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
14855         [BZ #13550]
14856         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14857         comment about bounded pointers.
14858         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14859         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14861 2013-03-04  Andreas Jaeger  <aj@suse.de>
14863         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14864         common definitions.
14866         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14867         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14868         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14869         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14871         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14873 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14875         [BZ #15055]
14876         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14877         __ieee754_sqrl instead of __sqrl.
14879 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
14881         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14882         * sysdeps/powerpc/fpu_control.h: ... here.
14883         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14884         * sysdeps/powerpc/bits/fenvinline.h: ... here.
14885         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14886         * sysdeps/powerpc/bits/mathinline.h: ... here.
14888 2013-03-01  Roland McGrath  <roland@hack.frob.com>
14890         * elf/dl-hwcaps.c (_dl_important_hwcaps):
14891         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14892         to just [NEED_DL_SYSINFO_DSO].
14893         * elf/dl-support.c: Likewise.
14894         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14895         * elf/rtld.c (dl_main): Likewise.
14896         * elf/setup-vdso.h (setup_vdso): Likewise.
14897         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14898         * sysdeps/unix/sysv/linux/dl-sysdep.c
14899         (_dl_discover_osversion): Likewise.
14901 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
14903         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14904         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14906 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14908         * NEWS: Mention libm performance improvements and non-x86 PI
14909         futex support.
14911         * csu/libc-start.c (__pthread_initialize_minimal): Change
14912         function arguments.
14913         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14915 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
14917         [BZ #13550]
14918         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14919         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14920         <bp-sym.h> and <bp-asm.h>.
14921         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14922         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14923         and <bp-asm.h>.
14924         (memcpy): Don't use BP_SYM.
14925         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14926         <bp-asm.h>.
14927         (__mpn_add_n): Don't use BP_SYM.
14928         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14929         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14930         and <bp-asm.h>.
14931         (__mpn_addmul_1): Don't use BP_SYM.
14932         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14933         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14934         <bp-sym.h>.
14935         (_setjmp): Don't use BP_SYM.
14936         (__novmx_setjmp): Likewise.
14937         (__GI__setjmp): Likewise.
14938         (__vmx_setjmp): Likewise.
14939         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14940         <bp-sym.h>.
14941         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14942         (__bzero): Don't use BP_SYM.
14943         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14944         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14945         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14946         <bp-sym.h> and <bp-asm.h>.
14947         (memcpy): Don't use BP_SYM.
14948         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14949         <bp-sym.h> and <bp-asm.h>.
14950         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14951         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14952         <bp-sym.h> and <bp-asm.h>.
14953         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14954         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14955         <bp-asm.h>.
14956         (__mpn_lshift): Don't use BP_SYM.
14957         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14958         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14959         <bp-asm.h>.
14960         (memset): Don't use BP_SYM.
14961         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14962         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14963         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14964         <bp-asm.h>.
14965         (__mpn_mul_1): Don't use BP_SYM.
14966         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14968         <bp-sym.h> and <bp-asm.h>.
14969         (memcmp): Don't use BP_SYM.
14970         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14971         <bp-sym.h> and <bp-asm.h>.
14972         (memcpy): Don't use BP_SYM.
14973         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14974         <bp-sym.h> and <bp-asm.h>.
14975         (memset): Don't use BP_SYM.
14976         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14977         <bp-sym.h> and <bp-asm.h>.
14978         (strncmp): Don't use BP_SYM.
14979         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14980         <bp-sym.h> and <bp-asm.h>.
14981         (memcpy): Don't use BP_SYM.
14982         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14983         <bp-sym.h> and <bp-asm.h>.
14984         (memset): Don't use BP_SYM.
14985         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14986         <bp-sym.h> and <bp-asm.h>.
14987         (__memchr): Don't use BP_SYM.
14988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14989         <bp-sym.h> and <bp-asm.h>.
14990         (memcmp): Don't use BP_SYM.
14991         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14992         <bp-sym.h> and <bp-asm.h>.
14993         (memcpy): Don't use BP_SYM.
14994         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14995         <bp-sym.h> and <bp-asm.h>.
14996         (__mempcpy): Don't use BP_SYM.
14997         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14998         <bp-sym.h> and <bp-asm.h>.
14999         (__memrchr): Don't use BP_SYM.
15000         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15001         <bp-sym.h> and <bp-asm.h>.
15002         (memset): Don't use BP_SYM.
15003         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15004         <bp-sym.h> and <bp-asm.h>.
15005         (__rawmemchr): Don't use BP_SYM.
15006         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15007         <bp-sym.h> and <bp-asm.h>.
15008         (__STRCMP): Don't use BP_SYM.
15009         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15010         <bp-sym.h> and <bp-asm.h>.
15011         (strchr): Don't use BP_SYM.
15012         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15013         <bp-sym.h> and <bp-asm.h>.
15014         (__strchrnul): Don't use BP_SYM.
15015         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15016         <bp-sym.h> and <bp-asm.h>.
15017         (strlen): Don't use BP_SYM.
15018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15019         <bp-sym.h> and <bp-asm.h>.
15020         (strncmp): Don't use BP_SYM.
15021         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15022         <bp-sym.h> and <bp-asm.h>.
15023         (__strnlen): Don't use BP_SYM.
15024         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15025         <bp-asm.h>.
15026         (__mpn_rshift): Don't use BP_SYM.
15027         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15028         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15029         <bp-sym.h> and <bp-asm.h>.
15030         (__sigsetjmp): Don't use BP_SYM.
15031         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15032         (L(start_addresses)): Don't use BP_SYM.
15033         (_start): Likewise.
15034         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15035         <bp-asm.h>.
15036         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15037         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15038         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15039         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15040         <bp-asm.h>.
15041         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15042         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15043         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15044         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15045         <bp-asm.h>.
15046         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15047         comments.
15048         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15049         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15050         <bp-asm.h>.
15051         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15052         FIXME comments.
15053         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15054         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15055         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15056         <bp-asm.h>.
15057         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15058         comment.
15059         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15060         and <bp-asm.h>.
15061         (strncmp): Don't use BP_SYM,
15062         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15063         <bp-asm.h>.
15064         (__mpn_sub_n): Don't use BP_SYM.
15065         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15066         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15067         and <bp-asm.h>.
15068         (__mpn_submul_1): Don't use BP_SYM.
15069         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15071         <bp-sym.h> and <bp-asm.h>.
15072         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15074         <bp-sym.h> and <bp-asm.h>.
15075         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15076         comment.
15078 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15081         Use ZK to minimize writes to Z.
15082         (sub_magnitudes): Simplify code a bit.
15083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15084         Use ZK to minimize writes to Z.
15085         (sub_magnitudes): Simplify code a bit.
15087 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15089         * csu/gmon-start.c: Add special exception to license text.
15091 2013-02-27  Richard Henderson  <rth@redhat.com>
15093         * scripts/config.guess: Update from config.git.
15094         * scripts/config.sub: Likewise.
15096 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15098         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15100         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15102         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15104         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15106         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15108 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15110         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15111         [$(build-shared = yes].
15113 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15115         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15116         (__mul): Reduce iterations for calculating mantissa.
15118         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15119         MPTWO.
15120         (__mpranred): Likewise.
15122         [BZ #15160]
15123         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15124         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15126 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15128         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15129         Define __attribute__.
15131 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15133         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15134         unused.
15135         * posix/regex_internal.h (__attribute): Remove.
15136         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15137         (re_string_context_at): Likewise.
15138         (bitset_not): Use __attribute__ and mark function as possibly
15139         unused.
15140         (bitset_merge): Likewise.
15141         (bitset_mask): Likewise.
15142         (re_string_char_size_at): Likewise.
15143         (re_string_wchar_at): Likewise.
15144         (re_string_elem_size_at): Likewise.
15146 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15148         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15149         code.
15150         (cc32): Likewise.
15152         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15153         (__acr): Likewise.
15154         (__cpy): Likewise.
15155         (norm): Likewise.
15156         (denorm): Likewise.
15157         (__dbl_mp): Likewise.
15158         (add_magnitudes): Likewise.
15159         (sub_magnitudes): Likewise.
15160         (__mul): Likewise.
15161         (__inv): Likewise.
15163         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15164         style.
15166         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15167         style.
15169         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15170         code.
15172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15173         up changes with default code.
15174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15175         Likewise.
15177 2013-02-24  Allan McRae  <allan@archlinux.org>
15179         * manual/socket.texi (The Internet Namespace): Order menu items
15180         to match that in the file.
15182         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15183         node listing of the info page menu.
15185 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15187         [BZ #13550]
15188         * sysdeps/i386/bp-asm.h: Remove file.
15189         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15190         (PARMS): Do not use macros from bp-asm.h.
15191         (S1): Likewise.
15192         (S2): Likewise.
15193         (SIZE): Likewise.
15194         (__mpn_add_n): Do not use BP_SYM
15195         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15196         "bp-asm.h".
15197         (PARMS): Do not use macros from bp-asm.h.
15198         (S1): Likewise.
15199         (SIZE): Likewise.
15200         (__mpn_addmul_1): Do not use BP_SYM
15201         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15202         "bp-asm.h".
15203         (PARMS): Do not use macros from bp-asm.h.
15204         (SIGMSK): Likewise.
15205         (_setjmp): Likewise.  Do not use BP_SYM.
15206         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15207         "bp-asm.h".
15208         (PARMS): Do not use macros from bp-asm.h.
15209         (SIGMSK): Likewise.
15210         (setjmp): Likewise.  Do not use BP_SYM.
15211         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15212         "bp-asm.h".
15213         (PARMS): Do not use macros from bp-asm.h.
15214         (__frexp): Do not use BP_SYM.
15215         (frexp): Likewise.
15216         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15217         "bp-asm.h".
15218         (PARMS): Do not use macros from bp-asm.h.
15219         (__frexpf): Do not use BP_SYM.
15220         (frexpf): Likewise.
15221         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15222         "bp-asm.h".
15223         (PARMS): Do not use macros from bp-asm.h.
15224         (__frexpl): Do not use BP_SYM.
15225         (frexpl): Likewise.
15226         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15227         "bp-asm.h".
15228         (PARMS): Do not use macros from bp-asm.h.
15229         (__remquo): Do not use BP_SYM.
15230         (remquo): Likewise.
15231         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15232         "bp-asm.h".
15233         (PARMS): Do not use macros from bp-asm.h.
15234         (__remquof): Do not use BP_SYM.
15235         (remquof): Likewise.
15236         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15237         "bp-asm.h".
15238         (PARMS): Do not use macros from bp-asm.h.
15239         (__remquol): Do not use BP_SYM.
15240         (remquol): Likewise.
15241         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15242         "bp-asm.h".
15243         (PARMS): Do not use macros from bp-asm.h.
15244         (DEST): Likewise.
15245         (SRC): Likewise.
15246         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15247         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15248         "bp-asm.h".
15249         (PARMS): Do not use macros from bp-asm.h.
15250         (strlen): Do not use BP_SYM.
15251         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15252         "bp-asm.h".
15253         (PARMS): Do not use macros from bp-asm.h.
15254         (S1): Likewise.
15255         (S2): Likewise.
15256         (SIZE): Likewise.
15257         (__mpn_add_n): Do not use BP_SYM.
15258         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15259         "bp-asm.h".
15260         (PARMS): Do not use macros from bp-asm.h.
15261         (S1): Likewise.
15262         (SIZE): Likewise.
15263         (__mpn_addmul_1): Do not use BP_SYM.
15264         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15265         weak_alias.
15266         (bzero): Likewise.
15267         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15268         "bp-asm.h".
15269         (PARMS): Do not use macros from bp-asm.h.
15270         (S): Likewise.
15271         (SIZE): Likewise.
15272         (__mpn_lshift): Do not use BP_SYM.
15273         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15274         "bp-asm.h".
15275         (PARMS): Do not use macros from bp-asm.h.
15276         (DEST): Likewise.
15277         (SRC): Likewise.
15278         (LEN): Likewise.
15279         (memcpy): Likewise.  Do not use BP_SYM.
15280         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15281         libc_hidden_def and weak_alias.
15282         (mempcpy): Do not use BP_SYM in weak_alias.
15283         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15284         "bp-asm.h".
15285         (PARMS): Do not use macros from bp-asm.h.
15286         (DEST): Likewise.
15287         (LEN): Likewise.
15288         [!BZERO_P] (CHR): Likewise.
15289         (memset): Likewise.  Do not use BP_SYM.
15290         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15291         "bp-asm.h".
15292         (PARMS): Do not use macros from bp-asm.h.
15293         (S1): Likewise.
15294         (SIZE): Likewise.
15295         (__mpn_mul_1): Do not use BP_SYM.
15296         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15297         "bp-asm.h".
15298         (PARMS): Do not use macros from bp-asm.h.
15299         (S): Likewise.
15300         (SIZE): Likewise.
15301         (__mpn_rshift): Do not use BP_SYM.
15302         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15303         "bp-asm.h".
15304         (PARMS): Do not use macros from bp-asm.h.
15305         (STR): Likewise.
15306         (CHR): Likewise.
15307         (strchr): Likewise.  Do not use BP_SYM.
15308         (index): Do not use BP_SYM in weak_alias.
15309         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15310         "bp-asm.h".
15311         (PARMS): Do not use macros from bp-asm.h.
15312         (DEST): Likewise.
15313         (SRC): Likewise.
15314         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15315         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15316         "bp-asm.h".
15317         (PARMS): Do not use macros from bp-asm.h.
15318         (strlen): Do not use BP_SYM.
15319         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15320         "bp-asm.h".
15321         (PARMS): Do not use macros from bp-asm.h.
15322         (S1): Likewise.
15323         (S2): Likewise.
15324         (SIZE): Likewise.
15325         (__mpn_sub_n): Do not use BP_SYM.
15326         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15327         "bp-asm.h".
15328         (PARMS): Do not use macros from bp-asm.h.
15329         (S1): Likewise.
15330         (SIZE): Likewise.
15331         (__mpn_submul_1): Do not use BP_SYM.
15332         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15333         "bp-asm.h".
15334         (PARMS): Do not use macros from bp-asm.h.
15335         (S1): Likewise.
15336         (S2): Likewise.
15337         (SIZE): Likewise.
15338         (__mpn_add_n): Do not use BP_SYM.
15339         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15340         weak_alias.
15341         (bzero): Likewise.
15342         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15343         "bp-asm.h".
15344         (PARMS): Do not use macros from bp-asm.h.
15345         (BLK2): Likewise.
15346         (LEN): Likewise.
15347         (memcmp): Do not use BP_SYM.
15348         (bcmp): Do not use BP_SYM in weak_alias.
15349         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15350         "bp-asm.h".
15351         (PARMS): Do not use macros from bp-asm.h.
15352         (DEST): Likewise.
15353         (SRC): Likewise.
15354         (LEN): Likewise.
15355         (memcpy): Likewise.  Do not use BP_SYM.
15356         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15357         "bp-asm.h".
15358         (PARMS): Do not use macros from bp-asm.h.
15359         (DEST): Likewise.
15360         (SRC): Likewise.
15361         (LEN): Likewise.
15362         (memmove): Likewise.  Do not use BP_SYM.
15363         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15364         "bp-asm.h".
15365         (PARMS): Do not use macros from bp-asm.h.
15366         (DEST): Likewise.
15367         (SRC): Likewise.
15368         (LEN): Likewise.
15369         (__mempcpy): Likewise.  Do not use BP_SYM.
15370         (mempcpy): Do not use BP_SYM in weak_alias.
15371         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15372         "bp-asm.h".
15373         (PARMS): Do not use macros from bp-asm.h.
15374         (DEST): Likewise.
15375         (LEN): Likewise.
15376         [!BZERO_P] (CHR): Likewise.
15377         (memset): Likewise.  Do not use BP_SYM.
15378         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15379         "bp-asm.h".
15380         (PARMS): Do not use macros from bp-asm.h.
15381         (STR2): Likewise.
15382         (strcmp): Do not use BP_SYM.
15383         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15384         "bp-asm.h".
15385         (PARMS): Do not use macros from bp-asm.h.
15386         (STR): Likewise.
15387         (DELIM): Likewise.
15388         [USE_AS_STRTOK_R] (SAVE): Likewise.
15389         (FUNCTION): Likewise.  Do not use BP_SYM.
15390         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15391         aliases.
15392         (strtok_r): Likewise.
15393         (__GI___strtok_r): Likewise.
15394         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15395         (PARMS): Do not use macros from bp-asm.h.
15396         (S): Likewise.
15397         (SIZE): Likewise.
15398         (__mpn_lshift): Do not use BP_SYM.
15399         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15400         (PARMS): Do not use macros from bp-asm.h.
15401         (STR): Likewise.
15402         (CHR): Likewise.
15403         (__memchr): Do not use BP_SYM.
15404         (memchr): Do not use BP_SYM in weak_alias.
15405         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15406         (PARMS): Do not use macros from bp-asm.h.
15407         (BLK2): Likewise.
15408         (LEN): Likewise.
15409         (memcmp): Do not use BP_SYM.
15410         (bcmp): Do not use BP_SYM in weak_alias.
15411         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15412         (PARMS): Do not use macros from bp-asm.h.
15413         (S1): Likewise.
15414         (SIZE): Likewise.
15415         (__mpn_mul_1): Do not use BP_SYM.
15416         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15417         "bp-asm.h".
15418         (PARMS): Do not use macros from bp-asm.h.
15419         (STR): Likewise.
15420         (CHR): Likewise.
15421         (__rawmemchr): Do not use BP_SYM.
15422         (rawmemchr): Do not use BP_SYM in weak_alias.
15423         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15424         (PARMS): Do not use macros from bp-asm.h.
15425         (S): Likewise.
15426         (SIZE): Likewise.
15427         (__mpn_rshift): Do not use BP_SYM.
15428         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15429         (PARMS): Do not use macros from bp-asm.h.
15430         (SIGMSK): Likewise.
15431         (__sigsetjmp): Likewise.  Do not use BP_SYM.
15432         * sysdeps/i386/start.S: Do not include "bp-sym.h".
15433         (_start): Do not use BP_SYM.
15434         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15435         (PARMS): Do not use macros from bp-asm.h.
15436         (DEST): Likewise.
15437         (SRC): Likewise.
15438         (__stpcpy): Likewise.  Do not use BP_SYM.
15439         (stpcpy): Do not use BP_SYM in weak_alias.
15440         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15441         "bp-asm.h".
15442         (PARMS): Do not use macros from bp-asm.h.
15443         (DEST): Likewise.
15444         (SRC): Likewise.
15445         (LEN): Likewise.
15446         (__stpncpy): Likewise.  Do not use BP_SYM.
15447         (stpncpy): Do not use BP_SYM in weak_alias.
15448         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15449         (PARMS): Do not use macros from bp-asm.h.
15450         (STR): Likewise.
15451         (CHR): Likewise.
15452         (strchr): Likewise.  Do not use BP_SYM.
15453         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15454         "bp-asm.h".
15455         (PARMS): Do not use macros from bp-asm.h.
15456         (STR): Likewise.
15457         (CHR): Likewise.
15458         (__strchrnul): Likewise.  Do not use BP_SYM.
15459         (strchrnul): Do not use BP_SYM in weak_alias.
15460         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15461         "bp-asm.h".
15462         (PARMS): Do not use macros from bp-asm.h.
15463         (STOP): Likewise.
15464         (strcspn): Do not use BP_SYM.
15465         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
15466         "bp-asm.h".
15467         (PARMS): Do not use macros from bp-asm.h.
15468         (STR): Likewise.
15469         (STOP): Likewise.
15470         (strpbrk): Likewise.  Do not use BP_SYM.
15471         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
15472         "bp-asm.h".
15473         (PARMS): Do not use macros from bp-asm.h.
15474         (STR): Likewise.
15475         (CHR): Likewise.
15476         (strrchr): Likewise.  Do not use BP_SYM.
15477         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
15478         (PARMS): Do not use macros from bp-asm.h.
15479         (SKIP): Likewise.
15480         (strspn): Do not use BP_SYM.
15481         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
15482         (PARMS): Do not use macros from bp-asm.h.
15483         (STR): Likewise.
15484         (DELIM): Likewise.
15485         (SAVE): Likewise.
15486         (FUNCTION): Likewise.  Do not use BP_SYM.
15487         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
15488         aliases.
15489         (strtok_r): Likewise.
15490         (__GI___strtok_r): Likewise.
15491         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15492         (PARMS): Do not use macros from bp-asm.h.
15493         (S1): Likewise.
15494         (S2): Likewise.
15495         (SIZE): Likewise.
15496         (__mpn_sub_n): Do not use BP_SYM.
15497         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
15498         "bp-asm.h".
15499         (PARMS): Do not use macros from bp-asm.h.
15500         (S1): Likewise.
15501         (SIZE): Likewise.
15502         (__mpn_submul_1): Do not use BP_SYM.
15503         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
15504         <bp-sym.h>.
15505         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
15506         and <bp-asm.h>.
15507         (PARMS): Do not use macros from bp-asm.h.
15508         (FLAGS): Likewise.
15509         (PTID): Likewise.
15510         (TLS): Likewise.
15511         (CTID): Likewise.
15512         (__clone): Do not use BP_SYM.
15513         (clone): Do not use BP_SYM in weak_alias.
15514         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
15515         and <bp-asm.h>.
15516         (PARMS): Do not use macros from bp-asm.h.
15517         (LEN): Likewise.
15518         (__mmap64): Do not use BP_SYM.
15519         (mmap64): Do not use BP_SYM in weak_alias.
15520         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15521         <bp-sym.h> and <bp-asm.h>.
15522         (PARMS): Do not use macros from bp-asm.h.
15523         (__posix_fadvise64_l64): Do not use BP_SYM.
15524         * sysdeps/unix/sysv/linux/i386/semtimedop.S
15525         (PARMS): Do not use macros from bp-asm.h.
15526         (NSOPS): Likewise.
15527         (semtimedop): Do not use BP_SYM.
15528         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
15529         and <bp-asm.h>.
15531 2013-02-21  Allan McRae  <allan@archlinux.org>
15533         * manual/message.texi (Charset conversion in gettext):
15534         Move @end statement to beginning of line.
15536 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
15539         static.
15540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15541         Likewise.
15543         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
15544         (denorm): Likewise.
15545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
15546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
15548 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15550         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
15551         tail-call to the resolved function if pltexit isn't needed.
15553 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
15556         or Y being zero as being unlikely.
15557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15558         Likewise.
15560 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
15562         * manual/nss.texi (System Databases and Name Service Switch):
15563         Remove frobnicate @pxref.
15565 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15567         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15568         __attribute__ ((unused)) to __attribute__ ((__unused__)).
15570 2013-02-20  Petr Machata  <pmachata@redhat.com>
15572         * elf/elf.h (R_ARM_TARGET1): New macro.
15573         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15574         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
15575         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
15576         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
15577         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
15578         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
15579         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
15580         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
15581         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
15582         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
15583         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15584         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
15585         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
15586         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
15587         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
15588         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
15589         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
15590         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
15591         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
15592         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
15593         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
15594         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
15595         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
15596         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
15597         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
15598         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
15599         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
15600         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
15601         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
15602         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
15603         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
15604         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
15605         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
15606         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
15607         (R_ARM_THM_GOT_BREL12): Likewise.
15608         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
15609         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
15610         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
15611         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
15612         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
15613         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
15614         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
15615         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
15616         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
15618 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15620         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15621         __attribute_used__ to __attribute__ ((unused)).
15623 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15625         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
15626         powerpc mpa.c.
15627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
15628         comment formatting.
15629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
15631 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #13550]
15634         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
15635         Remove macro.
15636         (ENTER): Remove both macro definitions.
15637         (LEAVE): Likewise.
15638         (CHECK_BOUNDS_LOW): Likewise.
15639         (CHECK_BOUNDS_HIGH): Likewise.
15640         (CHECK_BOUNDS_BOTH): Likewise.
15641         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
15642         (RETURN_BOUNDED_POINTER): Likewise.
15643         (RETURN_NULL_BOUNDED_POINTER): Likewise.
15644         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
15645         (POP_ERRNO_LOCATION_RETURN): Likewise.
15646         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
15647         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15648         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
15649         macros.
15650         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15651         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
15652         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
15653         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
15654         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
15655         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
15656         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
15657         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
15658         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
15659         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
15660         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
15661         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
15662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15663         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
15664         removed macros.
15665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15666         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
15667         macros.
15668         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15669         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
15670         * sysdeps/i386/i586/memset.S (memset): Likewise.
15671         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
15672         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15673         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
15674         macros.
15675         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15676         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
15677         Change uses of L(2) to L(out).
15678         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
15679         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
15680         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
15681         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15682         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
15683         removed macros.
15684         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15685         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
15686         macros.
15687         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15688         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
15689         (RETURN): Do not use macro LEAVE.
15690         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
15691         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
15692         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
15693         * sysdeps/i386/i686/memset.S (memset): Likewise.
15694         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
15695         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15696         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15697         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15698         Likewise.
15699         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15700         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
15701         L(1_2) and L(1_3) into L(1).
15702         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15703         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15704         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15705         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15706         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15707         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15708         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15709         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15710         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15711         macros.
15712         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15713         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15714         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15715         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15716         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15717         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15718         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15719         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15720         * sysdeps/i386/strcspn.S (strcspn): Likewise.
15721         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15722         * sysdeps/i386/strrchr.S (strrchr): Likewise.
15723         * sysdeps/i386/strspn.S (strspn): Likewise.
15724         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15725         conditional code.
15726         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15727         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15728         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15729         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
15730         L(1_3) into L(1_1).
15731         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15732         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15733         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15734         macros.
15735         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15737 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
15739         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15740         macro.
15742 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15744         * math/atest-exp.c (exp_mpn): Remove ROUND.
15745         * math/atest-exp2.c (exp_mpn): Likewise.
15746         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15748         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15749         * stdlib/tst-tls-atexit-lib.c: Likewise.
15750         * stdlib/tst-tls-atexit.c: Likewise.
15752 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15754         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15755         and __attribute_alloc_size__.
15757 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15759         * include/programs/xmalloc.h: Change __attribute_alloc_size to
15760         __attribute_alloc_size__.
15761         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15762         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15764 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15766         * include/programs/xmalloc.h: New file.
15767         * catgets/gencat.c: Include it.
15768         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15769         * elf/pldd.c: Likewise.
15770         * iconv/iconv_charmap.c: Likewise.
15771         * iconv/iconvconfig.c: Likewise.
15772         * iconv/strtab.c: Likewise.
15773         * locale/programs/locale.c: Likewise.
15774         * locale/programs/localedef.h: Likewise.
15775         * locale/programs/simple-hash.c: Likewise.
15776         * nscd/nscd.h: Likewise.
15777         * nss/makedb.c: Likewise.
15778         * sysdeps/generic/ldconfig.h: Likewise.
15780 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15782         * Versions.def: Add GLIBC_2.18.
15783         * include/link.h (struct link_map): New member l_tls_dtor_count.
15784         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15785         (__call_tls_dtors): Likewise.
15786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15787         __cxa_thread_atexit_impl.
15788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15789         Likewise.
15790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15791         Likewise.
15792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15793         Likewise.
15794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15795         Likewise.
15796         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15798         Likewise.
15799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15800         Likewise.
15801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15803         Likewise.
15804         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15805         (tests): Add test case tst-tls-atexit.
15806         (modules-names): Add shared library for tst-tls-atexit.
15807         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15808         (GLIBC_PRIVATE): Add __call_tls_dtors.
15809         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15810         for libstdc++.
15811         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15812         * stdlib/tst-tls-atexit.c: New test case.
15813         * stdlib/tst-tls-atexit-lib.c: New test case.
15815         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15817         * elf/Versions (ld): Add _dl_find_dso_for_object.
15818         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15819         * elf/dl-open.c (_dl_find_dso_for_object): New function.
15820         (dl_open_worker): Use _dl_find_dso_for_object.
15821         * elf/dl-sym.c (do_sym): Likewise.
15822         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15824 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15826         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15827         Syntactic changes only.
15828         (_dl_runtime_profile): Do a tail-call to the resolved function.
15830 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
15832         [BZ #13550]
15833         * sysdeps/x86_64/bp-asm.h: Remove file.
15834         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15835         <bp-sym.h> and <bp-asm.h>.
15836         (__clone): Do not use BP_SYM.
15837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15838         <bp-sym.h> and <bp-asm.h>.
15839         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15840         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15841         "bp-asm.h".
15842         (_setjmp): Do not use BP_SYM.
15843         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15844         "bp-asm.h".
15845         (setjmp): Do not use BP_SYM.
15846         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15847         libc_hidden_def.
15848         (mempcpy): Do not use BP_SYM in weak_alias.
15849         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15850         "bp-asm.h".
15851         (strchr): Do not use BP_SYM.
15852         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15853         "bp-asm.h".
15854         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15855         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15856         (_start): Do not use BP_SYM.
15857         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15858         "bp-asm.h".
15859         (strcat): Do not use BP_SYM.
15860         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15861         "bp-asm.h".
15862         (STRCMP): Do not use BP_SYM.
15863         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15864         "bp-asm.h".
15865         (STRCPY): Do not use BP_SYM.
15866         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15867         "bp-asm.h".
15868         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15869         "bp-asm.h".
15870         (FUNCTION): Do not use BP_SYM.
15871         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15872         weak_alias.
15873         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15875 2013-02-17  Andreas Jaeger  <aj@suse.de>
15877         * time/Versions: Sort entries.
15878         * string/Versions: Likewise.
15879         * resolv/Versions: Likewise.
15880         * posix/Versions: Likewise.
15881         * iconv/Versions: Likewise.
15882         * elf/Versions: Likewise.
15883         * wcsmbs/Versions: Likewise.
15885 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15887         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15888         loop termination condition.
15890         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15891         variable to calculate EZ.
15892         (__sqr): Likewise.
15894         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15895         the lower precision input.
15897 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
15899         [BZ #13550]
15900         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15901         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15902         (run-via-rtld-prefix): Do not handle %-bp tests.
15903         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15904         (all-object-suffixes): Remove .ob.
15905         (bppfx): Remove variable.
15906         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15907         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15908         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15909         [$(build-bounded) = yes] (libtype.ob): Likewise.
15910         * Makerules (elide-routines.ob): Remove variable.
15911         (do-tests-clean): Do not handle *-bp.out.
15912         (common-mostlyclean): Do not handle *-bp and *-bp.out.
15913         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15914         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15915         (tests): Do not include $(tests-bp.out).
15916         (xtests): Do not include $(xtests-bp.out).
15917         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15918         [$(build-bounded) = yes] ($(addprefix
15919         $(objpfx),$(binaries-bounded))): Remove rule.
15920         ($(objpfx)%-bp.out): Remove rule.
15921         * config.make.in (build-bounded): Remove variable.
15922         * crypt/Makefile [$(build-bounded) = yes]
15923         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15924         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15925         append to variable.
15926         [$(build-bounded) = yes] (install-lib): Likewise.
15927         [$(build-bounded) = yes] (generated): Likewise.
15928         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15929         Remove rule.
15930         * intl/Makefile [$(build-bounded) = yes]
15931         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15932         * math/Makefile [$(build-bounded) = yes]
15933         ($(tests:%=$(objpfx)%-bp): Likewise.
15934         * misc/Makefile [$(build-bounded) = yes]
15935         ($(objpfx)tst-tsearch-bp): Likewise.
15936         * nptl/Makeconfig (bounded-thread-library): Remove variable.
15937         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15938         Remove dependency.
15939         * string/Makefile (o-objects.ob): Remove variable.
15940         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15941         (CFLAGS-.ob): Remove variable.
15942         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15943         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15944         both definitions of variable.
15945         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15946         (ASFLAGS-.ob): Remove variable.
15948 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
15950         [BZ #13550]
15951         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15952         Remove __BOUNDED_POINTERS__ from condition.
15953         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15954         * string/bits/string2.h [!__NO_STRING_INLINES &&
15955         !__BOUNDED_POINTERS__]: Likewise.
15956         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15957         Likewise.
15958         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15959         Remove conditional code.
15960         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15961         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15962         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15963         condition.
15965         [BZ #13550]
15966         * csu/libc-start.c: Do not include <bp-sym.h>.
15967         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15968         * elf/dl-open.c: Do not include <bp-sym.h>.
15969         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15970         * math/fegetenv.c: Do not include <bp-sym.h>.
15971         (fegetenv): Do not use BP_SYM in versioned symbols.
15972         * nptl/sysdeps/pthread/bits/libc-lockP.h
15973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15974         <bp-sym.h>.
15975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15976         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15978         (__pthread_mutex_destroy): Likewise.
15979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15980         (__pthread_mutex_lock): Likewise.
15981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15982         (__pthread_mutex_trylock): Likewise.
15983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15984         (__pthread_mutex_unlock): Likewise.
15985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15986         (__pthread_mutexattr_init): Likewise.
15987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15988         (__pthread_mutexattr_destroy): Likewise.
15989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15990         (__pthread_mutexattr_settype): Likewise.
15991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15992         (__pthread_rwlock_init): Likewise.
15993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15994         (__pthread_rwlock_destroy): Likewise.
15995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15996         (__pthread_rwlock_rdlock): Likewise.
15997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15998         (__pthread_rwlock_tryrdlock): Likewise.
15999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16000         (__pthread_rwlock_wrlock): Likewise.
16001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16002         (__pthread_rwlock_trywrlock): Likewise.
16003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16004         (__pthread_rwlock_unlock): Likewise.
16005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16006         (__pthread_key_create): Likewise.
16007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16008         (__pthread_setspecific): Likewise.
16009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16010         (__pthread_getspecific): Likewise.
16011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16012         Likewise.
16013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16014         (_pthread_cleanup_push_defer): Likewise.
16015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16016         (_pthread_cleanup_pop_restore): Likewise.
16017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16018         (pthread_setcancelstate): Likewise.
16019         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16020         <bp-sym.h>.
16021         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16022         (memchr): Do not use BP_SYM in weak_alias.
16023         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16024         (fegetenv): Do not use BP_SYM in versioned symbols.
16025         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16026         (fesetenv): Do not use BP_SYM in versioned symbols.
16027         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16028         (feupdateenv): Do not use BP_SYM in versioned symbols.
16029         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16030         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16031         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16032         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16033         (open64): Do not use BP_SYM in weak_alias.
16034         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16035         (fegetenv): Do not use BP_SYM in versioned symbols.
16036         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16037         (fesetenv): Do not use BP_SYM in versioned symbols.
16038         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16039         (feupdateenv): Do not use BP_SYM in versioned symbols.
16040         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16041         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16042         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16043         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16044         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16045         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16047         <bp-sym.h>.
16048         (__libc_start_main): Do not use BP_SYM.
16050 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16053         redundant return line.
16054         (norm): Likewise.
16055         (denorm): Likewise.
16056         (dbl_mp): Likewise.
16057         (sub_magnitudes): Likewise.
16058         (__add): Likewise.
16059         (__sub): Likewise.
16060         (__mul): Likewise.
16061         (__inv): Likewise.
16062         (__dvd): Likewise.
16063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16064         (norm): Likewise.
16065         (denorm): Likewise.
16066         (dbl_mp): Likewise.
16067         (sub_magnitudes): Likewise.
16068         (__add): Likewise.
16069         (__sub): Likewise.
16070         (__mul): Likewise.
16071         (__inv): Likewise.
16072         (__dvd): Likewise.
16074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16075         instead of __mul.
16076         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16077         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16078         (cc32): Likewise.
16080         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16081         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16082         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16083         of __mul for squares.
16084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16085         function
16086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16087         Likewise.
16088         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16089         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16091 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16093         [BZ #13550]
16094         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16095         code.
16096         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16097         prototype or function definition.  Rename ubp_* variables and
16098         parameters.  Remove argv definitions conditional on
16099         [__BOUNDED_POINTERS__].
16100         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16101         * elf/dl-runtime.c (_dl_fixup): Likewise.
16102         * include/set-hooks.h (RUN_HOOK): Likewise.
16103         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16104         definition.
16105         * string/strcpy.c (strcpy): Do not use __unbounded.
16106         * sysdeps/generic/frame.h (struct layout): Likewise.
16107         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16108         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16109         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16110         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16111         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16112         (__backtrace): Likewise.
16113         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16114         use __ptrvalue.
16115         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16116         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16117         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16118         Likewise.
16119         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16120         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16121         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16122         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16123         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16124         Do not use __unbounded.
16125         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16126         Rename __unboundedrlimits parameter to rlimits in prototype.
16127         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16128         Do not use __unbounded.
16129         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16130         not use __ptrvalue.
16131         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16132         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16133         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16134         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16135         __ptrvalue or __unbounded.
16136         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16137         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16138         use __unbounded.
16139         (__new_msgctl): Do not use __ptrvalue.
16140         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16141         __unbounded.
16142         (__libc_msgrcv): Do not use __ptrvalue.
16143         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16144         startup_info): Do not use __unbounded.
16145         (__libc_start_main): Likewise.  Rename ubp_* variables and
16146         parameters.  Remove argv definitions conditional on
16147         [__BOUNDED_POINTERS__].
16148         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16149         __ptrvalue.
16150         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16151         use __unbounded.
16152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16153         or __ptrvalue.
16154         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16155         use __unbounded.
16156         (__new_shmctl): Do not use __ptrvalue.
16157         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16158         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16159         Likewise.
16160         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16161         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16162         (__libc_sigaction): Likewise.
16163         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16164         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16165         Likewise.
16166         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16168 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16170         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16172         * string/mempcpy.c: Implement by calling memcpy.
16174 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16176         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16179         evaluation.
16181         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16182         values in the mantissa.
16184         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16185         minimize writes to Z.
16186         (sub_magnitudes): Simplify code a bit.
16188 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16190         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16191         from the message.  The linker prefixes all warnings with that already.
16193 2013-02-12  Andreas Schwab  <schwab@suse.de>
16195         [BZ #15078]
16196         * posix/regexec.c (extend_buffers): Add parameter min_len.
16197         (check_matching): Pass minimum needed length.
16198         (clean_state_log_if_needed): Likewise.
16199         (get_subexp): Likewise.
16200         * posix/Makefile (tests): Add bug-regex34.
16201         (bug-regex34-ENV): Define.
16202         * posix/bug-regex34.c: New file.
16204         [BZ #11561]
16205         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16206         elements compare against the byte sequence of it, not its name.
16207         * posix/Makefile (tests): Add bug-regex35.
16208         (bug-regex35-ENV): Define.
16209         * posix/bug-regex35.c: New file.
16211 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16213         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16214         comment.
16215         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16216         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16217         (CHECK_EOL): Add undef.
16219 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16221         * bits/stdlib-bsearch.h: New file.
16222         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16223         * stdlib/stdlib.h: Likewise.
16225 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16227         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16228         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16229         declaration.
16230         * manual/search.texi (Array Search Function): Add missing const in
16231         lfind prototype.
16232         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16233         declaration to use rlim_t.
16234         (Basic Scheduling Functions): Remove erroneous const from
16235         sched_getparam prototype.  Remove erroneous * from
16236         sched_get_priority_max and sched_get_priority_min prototypes.
16237         (Resource Usage): Fix summary @comment on vtimes to refer to
16238         sys/vtimes.h rather than vtimes.h.
16239         Add missing *s in vtimes prototype.
16240         (Limits on Resources): Fix ulimit prototype to return long int.
16241         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16242         prototypes to use long int rather than double.
16243         (BSD Random): Fix initstate and setstate to use char *, not void *.
16244         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16245         prototype to make second argument 'struct aiocb64 *const[]'.
16246         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16247         (Status of AIO Operations): Remove erroneous const in aio_return and
16248         aio_return64 prototypes.
16249         (Synchronizing I/O): Fix sync prototype to return void.
16250         * manual/startup.texi (Suboptions): Remove an erroneous const in
16251         getsubopt prototype.
16252         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16253         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16254         use size_t rather than int.
16255         (Scanning All Users): Likewise for getpwent_r.
16256         (Setting Groups): Add missing const to setgroups prototype.
16257         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16258         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16259         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16260         'const void *' rather than 'const char *'.
16261         (Host Address Functions): Likewise for inet_ntop.
16262         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16263         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16264         ssize_t for return value.
16265         (Sending Data): Likewise for send, sendto, sendmsg.
16266         (Socket Option Functions): Add a missing const in setsockopt prototype.
16267         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16268         use wchar_t for the argument.
16269         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16270         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16271         take no arguments.
16272         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16273         double/float/long double for second argument.
16274         Fix return types of significand, significandf, significandl.
16275         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16276         argument in fchmod prototype.
16277         (File Owner): Use uid_t and gid_t in fchown prototype.
16278         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16279         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16280         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16281         use 'const struct dirent **' as argument types to CMP function pointer
16282         argument.
16283         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16284         (File Times): Fix summary magic @comment for struct utimbuf and utime
16285         to refer to utime.h, not time.h.
16286         * manual/string.texi (Argz Functions): Add missing const in
16287         argz_extract and argz_next prototypes.
16288         (Finding Tokens in a String): Likewise for basename.
16289         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16290         (Copying and Concatenation): Fix typo in wmemmove prototype.
16291         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16292         (Signal Stack): Remove erroneous const in sigstack prototype.
16293         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16294         prototype.
16295         (Simple Calendar Time): Likewise for stime.
16296         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16297         prototype.
16298         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16299         say sys/sysctl.h instead.
16300         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16301         and vsyslog prototypes.
16303 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16305         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16306         Remove.
16308 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16310         * misc/sys/mman.h: Fix typo in mremap comment.
16312 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16314         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16315         the '\0' terminator.
16317 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16319         [BZ #13550]
16320         * debug/segfault.c: Don't include <bp-checks.h>.
16321         * sysdeps/generic/bp-checks.h: Remove file.
16322         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16323         (__GETDENTS): Don't use CHECK_N.
16324         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16326         (__getgroups): Don't use CHECK_N.
16327         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16328         (setgroups): Don't use CHECK_N.
16329         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16330         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16331         (__libc_msgrcv): Don't use CHECK_N.
16332         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16333         (__libc_msgsnd): Don't use CHECK_N.
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16335         <bp-checks.h>.
16336         (__libc_pread): Don't use CHECK_N.
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16338         include <bp-checks.h>.
16339         (__libc_pread64): Don't use CHECK_N.
16340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16341         include <bp-checks.h>.
16342         (__libc_pwrite): Don't use CHECK_N.
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16344         include <bp-checks.h>.
16345         (__libc_pwrite64): Don't use CHECK_N.
16346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16347         <bp-checks.h>.
16348         (__libc_pread): Don't use CHECK_N.
16349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16350         include <bp-checks.h>.
16351         (__libc_pread64): Don't use CHECK_N.
16352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16353         include <bp-checks.h>.
16354         (__libc_pwrite): Don't use CHECK_N.
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16356         include <bp-checks.h>.
16357         (__libc_pwrite64): Don't use CHECK_N.
16358         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16359         (do_pread): Don't use CHECK_N.
16360         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16361         (do_pread64): Don't use CHECK_N.
16362         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16363         (do_pwrite): Don't use CHECK_N.
16364         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16365         (do_pwrite64): Don't use CHECK_N.
16366         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16367         (__libc_readv): Don't use CHECK_N.
16368         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16369         (semop): Don't use CHECK_N.
16370         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16371         <bp-checks.h>.
16372         (semtimedop): Don't use CHECK_N.
16373         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16374         (__libc_pread): Don't use CHECK_N.
16375         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16376         <bp-checks.h>.
16377         (__libc_pread64): Don't use CHECK_N.
16378         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16379         <bp-checks.h>.
16380         (__libc_pwrite): Don't use CHECK_N.
16381         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16382         <bp-checks.h>.
16383         (__libc_pwrite64): Don't use CHECK_N.
16384         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16385         <bp-checks.h>.
16386         (__libc_msgrcv): Don't use CHECK_N.
16387         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16388         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
16389         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16390         (__libc_writev): Don't use CHECK_N.
16392 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16394         * string/strcpy.c: Removed unused variable.
16396         * Makeconfig (+sysdep-includes): Define with := rather than =.
16397         Use an existing include/ subdir of each sysdeps dir before it.
16399 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16401         * nscd/connection.c (register_traced_file): Comment function.
16402         [HAVE_INOTIFY] (union __inev): Define.
16403         [HAVE_INOTIFY] (inotify_check_files): New function.
16404         [HAVE_INOTIFY] (clear_db_cache): Likewise.
16405         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16406         clear_db_cache.
16407         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16409 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16411         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16412         loaded if not already and that a failure is permanent.
16414 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16416         [BZ #15006]
16417         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16418         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16420 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16422         [BZ #13550]
16423         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16424         (CHECK_1_NULL_OK): Likewise.
16425         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16426         (__fxstat): Do not use CHECK_1.
16427         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16428         <bp-checks.h>.
16429         (___fxstat64): Do not use CHECK_1.
16430         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16431         <bp-checks.h>.
16432         (__fxstatat): Do not use CHECK_1.
16433         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16434         <bp-checks.h>.
16435         (__fxstatat64): Do not use CHECK_1.
16436         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16437         <bp-checks.h>.
16438         (__fxstat): Do not use CHECK_1.
16439         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16440         <bp-checks.h>.
16441         (__fxstatat): Do not use CHECK_1.
16442         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16443         <bp-checks.h>.
16444         (__getresgid): Do not use CHECK_1.
16445         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16446         <bp-checks.h>.
16447         (__getresuid): Do not use CHECK_1.
16448         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16449         <bp-checks.h>.
16450         (__lxstat): Do not use CHECK_1.
16451         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16452         <bp-checks.h>.
16453         (__old_msgctl): Do not use CHECK_1.
16454         (__new_msgctl): Likewise.
16455         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16456         <bp-checks.h>.
16457         (__new_setrlimit): Do not use CHECK_1.
16458         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16459         <bp-checks.h>.
16460         (__old_shmctl): Do not use CHECK_1.
16461         (__new_shmctl): Likewise.
16462         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16463         <bp-checks.h>.
16464         (__xstat): Do not use CHECK_1.
16465         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
16466         (__lxstat): Do not use CHECK_1.
16467         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
16468         <bp-checks.h>.
16469         (___lxstat64): Do not use CHECK_1.
16470         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
16471         (__old_msgctl): Do not use CHECK_1.
16472         (__new_msgctl): Likewise.
16473         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
16474         <bp-checks.h>.
16475         (__gettimeofday): Do not use CHECK_1.
16476         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
16477         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
16478         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
16479         <bp-checks.h>.
16480         (__gettimeofday): Do not use CHECK_1.
16481         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
16482         (__old_shmctl): Do not use CHECK_1_NULL_OK.
16483         (__new_shmctl): Do not use CHECK_1.
16484         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
16485         <bp-checks.h>.
16486         (do_sigtimedwait): Do not use CHECK_1.
16487         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
16488         <bp-checks.h>.
16489         (do_sigwaitinfo): Do not use CHECK_1.
16490         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
16491         <bp-checks.h>.
16492         (msgctl): Do not use CHECK_1.
16493         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
16494         <bp-checks.h>.
16495         (shmctl): Do not use CHECK_1.
16496         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
16497         (ustat): Do not use CHECK_1.
16498         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
16499         <bp-checks.h>.
16500         (__fxstat): Do not use CHECK_1.
16501         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16502         <bp-checks.h>.
16503         (__fxstatat): Do not use CHECK_1.
16504         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
16505         <bp-checks.h>.
16506         (__lxstat): Do not use CHECK_1.
16507         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
16508         <bp-checks.h>.
16509         (__xstat): Do not use CHECK_1.
16510         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
16511         (__xstat): Do not use CHECK_1.
16512         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
16513         (___xstat64): Do not use CHECK_1.
16515         [BZ #13550]
16516         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
16517         definitions.
16518         (CHECK_BOUNDS_HIGH): Likewise.
16519         * string/strcpy.c: Do not include <bp-checks.h>.
16520         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
16522 2013-02-07  Roland McGrath  <roland@hack.frob.com>
16524         * nscd/nscd-client.h (__nscd_drop_map_ref):
16525         Add __attribute__ ((unused)).
16526         * nis/nss-nisplus.h (niserr2nss): Likewise.
16528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
16529         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
16531         * csu/libc-tls.c (init_static_tls, init_slotinfo):
16532         Remove inline keyword.
16533         * include/rounding-mode.h (round_away): Likewise.
16534         * libio/wfileops.c (adjust_wide_data): Likewise.
16535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
16536         (__m128i_strloadu_tolower): Likewise.
16537         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
16538         (__m128i_strloadu_tolower): Likewise.
16539         * time/mktime.c (ydhms_diff): Likewise.
16540         * locale/elem-hash.h (elem_hash): Likewise.
16541         * locale/setlocale.c (setdata): Likewise.
16542         * posix/regex_internal.h (re_string_char_size_at): Likewise.
16543         (re_string_wchar_at): Likewise.
16544         (bitset_not, bitset_merge, bitset_mask): Likewise.
16545         [!(__GNUC__ > 3)] (inline): Remove macro.
16546         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
16547         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
16548         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16549         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
16550         * string/memcmp.c (memcmp_bytes): Likewise.
16551         * locale/programs/locarchive.c (compute_hashval): Likewise.
16552         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
16553         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16554         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
16555         * nss/getent.c (print_rpc, print_protocols): Likewise.
16556         (print_passwd, print_group, print_aliases): Likewise.
16557         * nis/nss-nisplus.h (niserr2nss): Likewise.
16558         * nscd/connections.c (restart_p): Likewise.
16559         Change return type to bool.
16561 2013-02-05  Roland McGrath  <roland@hack.frob.com>
16563         * Makeconfig (all-Depend-files): Add existing
16564         $(sorted-subdirs:=/Depend) files.
16565         (all-subdirs): Remove nss.
16566         * sysdeps/unix/inet/Subdirs: Add it here instead.
16567         * hesiod/Depend: New file.
16569         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
16570         instead of calling alloca.
16572         * io/lseek.c (__lseek): Rename to __libc_lseek.
16573         Define __lseek as an alias.
16575         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
16577 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
16579         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
16580         else clause and remove check for non-standard endianness.
16582 2013-02-04  David S. Miller  <davem@davemloft.net>
16584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16586 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
16588         [BZ #13550]
16589         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
16590         (__ubp_memchr): Remove prototype.
16591         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
16592         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16593         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
16594         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16595         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
16596         Remove alias.
16597         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
16598         (__ubp_memchr): Likewise.
16599         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
16600         (__ubp_memchr): Likewise.
16601         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
16602         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
16603         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
16604         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
16605         CHECK_STRING.
16606         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16607         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
16608         (__getcwd): Do not use CHECK_STRING.
16609         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16610         <bp-checks.h>.
16611         (__real_chown): Do not use CHECK_STRING.
16612         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
16613         <bp-checks.h>.
16614         (fchownat): Do not use CHECK_STRING.
16615         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
16616         CHECK_STRING.
16617         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16618         <bp-checks.h>.
16619         (__lchown): Do not use CHECK_STRING.
16620         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16621         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16622         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16623         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16625         include <bp-checks.h>.
16626         (truncate64): Do not use CHECK_STRING.
16627         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16628         <bp-checks.h>.
16629         (__real_chown): Do not use CHECK_STRING.
16630         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16631         <bp-checks.h>.
16632         (__lchown): Do not use CHECK_STRING.
16633         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16634         <bp-checks.h>.
16635         (__chown): Do not use CHECK_STRING.
16636         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
16637         <bp-checks.h>.
16638         (truncate64): Do not use CHECK_STRING.
16639         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
16640         Likewise.
16641         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
16642         (__xmknod): Do not use CHECK_STRING.
16643         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16644         <bp-checks.h>.
16645         (__xmknodat): Do not use CHECK_STRING.
16646         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16647         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16649 2013-02-04  Andreas Schwab  <schwab@suse.de>
16651         [BZ #14142]
16652         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
16653         * include/netdb.h: Likewise for h_errno.
16654         * elf/tst-stackguard1.c: Include <tls.h>.
16656 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16658         * elf/link.h (struct link_map): Extend the l_addr comment.
16659         * include/link.h (struct link_map): Likewise.
16661 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
16663         [BZ #13550]
16664         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
16665         (BOUNDED_1): Remove macro.
16666         * debug/backtrace.c: Don't include <bp-checks.h>.
16667         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
16668         (__backtrace): Likewise.
16669         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
16670         <bp-checks.h>.
16671         (__backtrace): Don't use BOUNDED_1.
16672         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
16673         <bp-checks.h>.
16674         (__backtrace): Don't use BOUNDED_1.
16675         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16676         (__backtrace): Don't use BOUNDED_1.
16677         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
16678         (shmat): Don't use BOUNDED_N.
16680 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
16682         [BZ #13550]
16683         * sysdeps/generic/bp-start.h: Remove file.
16684         * csu/libc-start.c: Don't include <bp-start.h>.
16685         (LIBC_START_MAIN): Set up __environ directly instead of using
16686         INIT_ARGV_and_ENVIRON.
16687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
16688         <bp-start.h>.
16690         [BZ #13550]
16691         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
16692         definitions.
16693         (CHECK_FCNTL): Likewise.
16694         (CHECK_N_PAGES): Likewise.
16696         [BZ #13550]
16697         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16698         definitions.
16699         (CHECK_SIGSET_NULL_OK): Likewise.
16700         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16701         <bp-checks.h>.
16702         (sigpending): Don't use CHECK_SIGSET.
16703         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16704         <bp-checks.h>.
16705         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16706         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16707         <bp-checks.h>.
16708         (do_sigsuspend): Don't use CHECK_SIGSET.
16709         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16710         use CHECK_SIGSET.
16711         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16712         (do_sigwait): Don't use CHECK_SIGSET.
16713         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16714         use CHECK_SIGSET.
16715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16716         include <bp-checks.h>.
16717         (sigpending): Don't use CHECK_SIGSET.
16718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16719         include <bp-checks.h>.
16720         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16721         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16722         <bp-checks.h>.
16723         (sigpending): Don't use CHECK_SIGSET.
16724         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16725         <bp-checks.h>.
16726         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16728         [BZ #13550]
16729         * sysdeps/generic/bp-semctl.h: Remove file.
16730         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16731         <bp-checks.h> and <bp-semctl.h>.
16732         (__old_semctl): Don't use CHECK_SEMCTL.
16733         (__new_semctl): Likewise.
16734         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16735         and <bp-semctl.h>.
16736         (__old_semctl): Don't use CHECK_SEMCTL.
16737         (__new_semctl): Likewise.
16738         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16739         <bp-checks.h> and <bp-semctl.h>.
16740         (__old_semctl): Don't use CHECK_SEMCTL.
16741         (__new_semctl): Likewise.
16742         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16743         <bp-checks.h> and <bp-semctl.h>.
16744         (semctl): Don't use CHECK_SEMCTL.
16746         [BZ #13550]
16747         * Makerules (elide-bp-thunks): Remove variable.
16748         (elide-routines.oS): Don't use $(elide-bp-thunks).
16749         (elide-routines.os): Likewise.
16750         (elide-routines.o): Likewise.
16751         (elide-routines.op): Likewise.
16752         (elide-routines.og): Likewise.
16753         (objects): Don't use $(bp-thunks).
16754         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16755         include.
16756         (common-generated): Do not add s-proto-bp.d.
16757         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16758         (int): Likewise.
16759         (typ): Likewise.
16760         Do not generate makefile rules for bounded-pointer thunks.
16761         * sysdeps/generic/bp-thunks.h: Remove file.
16762         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16763         * sysdeps/unix/s-proto-bp.S: Likewise.
16765         [BZ #15062]
16766         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16767         parts of result separately when argument is not close to line from
16768         -i to i and one part of argument is small.
16769         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16770         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16771         * math/libm-test.inc (cacos_test): Add more tests.
16772         (casin_test): Likewise.
16773         (casinh_test): Likewise.
16774         * sysdeps/i386/fpu/libm-test-ulps: Update.
16775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16777 2013-01-31  David S. Miller  <davem@davemloft.net>
16779         * po/de.po: Update from translation team.
16781 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
16783         * time/tzfile.c: Include stdint.h for SIZE_MAX.
16785 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
16787         * configure.in (_AC_PROG_CC_C89): New definition.
16788         * configure: Regenerate.
16790         * configure.in (AC_PROG_CPP): New definition.
16791         * configure: Regenerate.
16793 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16795         * debug/tst-backtrace.h: New file.
16796         * debug/tst-backtrace2.c: Include tst-backtrace.h.
16797         (ret): Remove variable.
16798         (x): Likewise.
16799         (FAIL): Remove macro.
16800         (NO_INLINE): Likewise.
16801         (fn1): Use match function instead of strstr.
16802         * debug/tst-backtrace3.c: Include tst-backtrace.h.
16803         (ret): Remove variable.
16804         (x): Likewise.
16805         (FAIL): Remove macro.
16806         (NO_INLINE): Likewise.
16807         (fn): Use match function instead of strstr.
16808         * debug/tst-backtrace4.c: Include tst-backtrace.h.
16809         (ret): Remove variable.
16810         (x): Likewise.
16811         (FAIL): Remove macro.
16812         (NO_INLINE): Likewise.
16813         (handle_signal): Use match function instead of strstr.
16814         * debug/tst-backtrace5.c: Include tst-backtrace.h.
16815         (ret): Remove variable.
16816         (x): Likewise.
16817         (FAIL): Remove macro.
16818         (NO_INLINE): Likewise.
16819         (handle_signal): Use match function instead of strstr.
16821 2013-01-23  Roland McGrath  <roland@hack.frob.com>
16823         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16825 2013-01-23  David S. Miller  <davem@davemloft.net>
16827         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16828         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16829         argument of CAS if possible.
16830         * sysdeps/sparc/sparc64/bits/atomic.h
16831         (__arch_compare_and_exchange_val_32_acq): Likewise.
16832         (__arch_compare_and_exchange_val_64_acq): Likewise.
16834 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
16836         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16837         * sysdeps/posix/ulimit.c: ... this.
16838         Include <limits.h>.
16839         * sysdeps/unix/bsd/ulimit.c: Remove file.
16841 2013-01-23  Adam Conrad  <adconrad@0c3.net>
16843         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16844         (LDFLAGS-tst-array5): Likewise.
16846 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16848         [BZ #15036]
16849         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16850         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16851         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16852         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16854 2013-01-21  David S. Miller  <davem@davemloft.net>
16856         * sysdeps/sparc/backtrace.c: New file.
16857         * sysdeps/sparc/sparc32/backtrace.h: New file.
16858         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16859         * sysdeps/sparc/sparc64/backtrace.h: New file.
16860         * sysdeps/sparc/sparc64/backtrace.c: Delete.
16861         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16862         -funwind-tables.
16864 2013-01-21  Andreas Schwab  <schwab@suse.de>
16866         [BZ #15020]
16867         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16868         closed its stdout.
16870 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
16872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16873         "mpa2.h".
16874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16876 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
16877             Mark Mitchell  <mark@codesourcery.com>
16878             Tom de Vries  <tom@codesourcery.com>
16879             Paul Pluzhnikov  <ppluzhnikov@google.com>
16881         * debug/tst-backtrace2.c: New file.
16882         * debug/tst-backtrace3.c: Likewise.
16883         * debug/tst-backtrace4.c: Likewise.
16884         * debug/tst-backtrace5.c: Likewise.
16885         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16886         (CFLAGS-tst-backtrace3.c): Likewise.
16887         (CFLAGS-tst-backtrace4.c): Likewise.
16888         (CFLAGS-tst-backtrace5.c): Likewise.
16889         (LDFLAGS-tst-backtrace2): Likewise.
16890         (LDFLAGS-tst-backtrace3): Likewise.
16891         (LDFLAGS-tst-backtrace4): Likewise.
16892         (LDFLAGS-tst-backtrace5): Likewise.
16893         (tests): Add new tests tst-backtrace2, tst-backtrace3,
16894         tst-backtrace4 and tst-backtrace5.
16896 2013-01-18  Anton Blanchard  <anton@samba.org>
16897             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16899         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16900         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16901         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16902         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16904         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16905         "+r" and remove output regs list as redundant.  Add explicit inline
16906         asm to specify register of return val to work around compiler codegen
16907         bug.  Remove (int) cast on return value.  Add return type parameter to
16908         use in macro so that this macro does not truncate return value for
16909         64-bit values.
16910         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16911         pass to INTERNAL_VSYSCALL_NCS.
16912         (INLINE_VSYSCALL): Add 'long int' as return type to
16913         INTERNAL_VSYSCALL_NCS macro invocation.
16914         (INTERNAL_VSYSCALL): Add 'long int' as return type to
16915         INTERNAL_VSYSCALL_NCS macro invocation.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16918 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16920         [BZ #14496]
16921         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16922         Fix application of SIMD FP exception mask.
16924         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16925         mp_no from a power of two.
16926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16927         __mpexp_twomm1.  Use __pow_mp.
16929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16930         multiplication.
16932 2013-01-17  David S. Miller  <davem@davemloft.net>
16934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16936 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16938         [BZ #15023]
16939         * include/complex.h: Condition contents on [!_COMPLEX_H].
16940         (__kernel_casinhf): New prototype.
16941         (__kernel_casinh): Likewise.
16942         (__kernel_casinhl): Likewise.
16943         * math/Makefile (libm_calls): Add k_casinh.
16944         * math/k_casinh.c: New file.
16945         * math/k_casinhf.c: Likewise.
16946         * math/k_casinhl.c: Likewise.
16947         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16948         finite nonzero arguments.
16949         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16950         finite nonzero arguments.
16951         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16952         finite nonzero arguments.
16953         * math/s_casinh.c: Do not include <float.h>.
16954         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16955         * math/s_casinhf.c: Do not include <float.h>.
16956         (__casinhf): Move code for finite nonzero arguments to
16957         k_casinhf.c.
16958         * math/s_casinhl.c: Do not include <float.h>.
16959         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16960         redefine.
16961         (__casinhl): Move code for finite nonzero arguments to
16962         k_casinhl.c.
16963         * math/libm-test.inc (cacos_test): Add more tests.
16964         * sysdeps/i386/fpu/libm-test-ulps: Update.
16965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16967 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
16969         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16970         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16971         [!HAVE_MREMAP]: Remove [defined linux] case.
16972         * malloc/arena.c: Do not include <malloc-sysdep.h>.
16974 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16976         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16978 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
16980         * elf/elf.h (R_386_SIZE32): New relocation.
16981         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16982         R_386_SIZE32.
16983         (elf_machine_rela): Likewise.
16984         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16985         R_X86_64_SIZE64 and R_X86_64_SIZE32.
16987 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16989         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16990         (FP_FAST_FMA): Do not define.
16991         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16992         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16993         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16994         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16995         !_SOFT_FLOAT]: Likewise.
16996         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16997         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16998         value.
16999         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17000         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17001         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17002         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17003         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17004         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17005         file.
17007 2013-01-16  Andreas Schwab  <schwab@suse.de>
17009         [BZ #14327]
17010         * include/stdlib.h (__mktemp): Add declaration.
17011         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17012         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17014 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17016         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17017         definitions.
17018         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17019         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17020         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17021         definitions here.
17022         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17023         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17024         definitions.
17025         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17026         and ONE.
17027         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17028         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17029         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17030         definitions.
17031         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17032         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17033         definitions.
17034         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17036         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17038 2013-01-15  David S. Miller  <davem@davemloft.net>
17040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17041         trunc{,f} to libm-sysdep_routes.
17042         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17044         file.
17045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17047         file.
17048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17049         file.
17050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17052         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17053         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17054         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17055         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17056         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17057         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17060         nearbyint{,f} to libm-sysdep_routes.
17061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17063         New file.
17064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17065         file.
17066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17067         New file.
17068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17069         file.
17070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17072         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17073         file.
17074         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17075         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17076         file.
17077         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17078         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17079         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17081         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17082         libc_feholdexcept and libc_fesetenv.
17084 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17086         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17088 2013-01-14  David S. Miller  <davem@davemloft.net>
17090         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17091         (SPARC_ASM_VIS2_IFUNC): Likewise.
17092         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17094         use of 'siam' instruction.
17095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17096         Likewise.
17097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17098         Likewise.
17099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17100         Likewise.
17101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17106         file.
17107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17108         file.
17109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17110         file.
17111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17112         file.
17113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17118         new VIS2 routines.
17119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17122         Likewise.
17123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17128         routines to libm-sysdep_routines.
17129         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17132         fdim/fdimf to libm-sysdep_routines.
17133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17134         file.
17135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17137         file.
17138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17141         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17142         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17143         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17144         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17146 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17149         to optimize copies.
17151         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17156         local variable MPTWO.
17157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17158         Likewise.
17160 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17162         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17163         GLOB_NOESCAPE.
17165 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17167         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17169 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17171         * manual/pattern.texi (glob_t): Document gl_flags.
17172         (glob64_t): Likewise.
17174 2013-01-11  David S. Miller  <davem@davemloft.net>
17176         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17177         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17178         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17179         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17180         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17181         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17182         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17183         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17184         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17185         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17186         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17187         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17188         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17190         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17191         sparc V9 rather than using V8 code.
17192         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17193         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17195         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17196         Move to...
17197         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17198         Here.
17200 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17202         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17203         not in the main loop.
17204         * configure: Regenerated.
17206 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17208         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17209         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17210         to just #else.
17211         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17212         [!__GLIBC_HAVE_LONG_LONG] case.
17213         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17214         condition to just #else.
17215         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17216         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17217         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17218         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17219         unconditional.
17220         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17221         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17222         #elif condition to just #else.
17223         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17224         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17225         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17226         #elif condition to just #else.
17228 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17230         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17231         (EF_MIPS_ARCH_64): Fix value.
17232         (EF_MIPS_ARCH_32R2): New.
17233         (EF_MIPS_ARCH_64R2): New.
17235 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17237         * Makeconfig (+link-pie-before-libc): New.
17238         (+link-pie-after-libc): Likewise.
17239         (+link-pie-tests): Likewise.
17240         (+link-pie): Rewritten.
17241         (link-before-libc): Remove $(config-LDFLAGS).
17242         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17243         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17244         (config-LDFLAGS): Renamed to ...
17245         (rtld-LDFLAGS): This.
17246         (rtld-tests-LDFLAGS): New macro.
17247         (link-libc-rpath-link): Likewise.
17248         (link-libc-tests-rpath-link): Likewise.
17249         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17250         (link-libc): Prepand $(link-libc-rpath-link).
17251         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17252         (test-program-prefix): New macro.
17253         (test-via-rtld-prefix): Likewise.
17254         (test-program-cmd): Likewise.
17255         (host-test-program-cmd): Likewise.
17256         * Makefile ($(common-objpfx)testrun.sh): Replace
17257         $(run-program-prefix) with $(test-program-prefix).
17258         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17259         $(rtld-LDFLAGS).
17260         ($(common-objpfx)shlib.lds): Likewise.
17261         (build-module-helper): Likewise.
17262         ($(common-objpfx)format.lds): Likewise.
17263         * Rules (binaries-pie-tests): New.
17264         (binaries-pie-notests): Likewise.
17265         (binaries-pie): Rewritten.
17266         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17267         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17268         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17269         (make-test-out): Replace $(host-built-program-cmd) with
17270         $(host-test-program-cmd).
17271         * config.make.in (build-hardcoded-path-in-tests): New variable.
17272         * configure.in (--enable-hardcoded-path-in-tests): New configure
17273         option.
17274         (hardcoded_path_in_tests): New AC_SUBST.
17275         * configure: Regenerated.
17276         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17277         $(built-program-cmd) with $(test-program-cmd).
17278         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17279         (test_program_cmd): This.
17280         * elf/Makefile ($(objpfx)order.out): Run test with
17281         $(test-program-prefix).
17282         ($(objpfx)order2.out): Likewise.
17283         ($(objpfx)tst-initorder.out): Likewise.
17284         ($(objpfx)tst-initorder2.out): Likewise.
17285         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17286         $(test-program-cmd).
17287         ($(objpfx)tst-array1-static.out): Likewise.
17288         ($(objpfx)tst-array2.out): Likewise.
17289         ($(objpfx)tst-array3.out): Likewise.
17290         ($(objpfx)tst-array4.out): Likewise.
17291         ($(objpfx)tst-array5.out): Likewise.
17292         ($(objpfx)tst-array5-static.out): Likewise.
17293         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17294         $(test-program-cmd).
17295         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17296         $(run-program-prefix) with $(test-program-prefix).
17297         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17298         (test_program_prefix): This.
17299         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17300         $(run-program-prefix) with $(test-program-prefix).
17301         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17302         (test_program_prefix): This.
17303         * iconvdata/tst-tables.sh: Likewise.
17304         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17305         $(run-program-prefix) with $(test-program-prefix).
17306         ($(objpfx)tst-translit.out): Likewise.
17307         ($(objpfx)tst-gettext2.out): Likewise.
17308         ($(objpfx)tst-gettext4.out): Likewise.
17309         ($(objpfx)tst-gettext6.out): Likewise.
17310         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17311         (test_program_prefix): This.
17312         * intl/tst-gettext2.sh: Likewise.
17313         * intl/tst-gettext4.sh  Likewise.
17314         * intl/tst-gettext6.sh: Likewise.
17315         * intl/tst-translit.sh: Likewise.
17316         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17317         with $(test-program-cmd).
17318         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17319         $(run-program-prefix) with $(test-program-prefix).
17320         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17321         (test_program_prefix): This.
17322         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17323         $(run-program-prefix) with $(test-program-prefix).
17324         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17325         (test_program_prefix): This.
17326         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17327         * posix/Makefile ($(objpfx)globtest.out): Replace
17328         $(run-via-rtld-prefix) and $(test-wrapper) with
17329         $(test-program-prefix) and $(test-via-rtld-prefix).
17330         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17331         $(test-program-prefix).
17332         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17333         $(host-test-program-cmd).
17334         (tst-spawn-ARGS): Likewise.
17335         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17336         $(test-program-prefix).
17337         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17338         (test_via_rtld_prefix): This.
17339         (test_wrapper): Renamed to ...
17340         (test_program_prefix): This.
17341         (run_program_prefix): Replaced by test_program_prefix.
17342         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17343         (test_program_prefix): This.
17344         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17345         with $(host-test-program-cmd).
17346         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17347         $(run-program-prefix) with $(test-program-prefix).
17348         ($(objpfx)tst-printf.out): Likewise.
17349         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17350         $(test-program-cmd).
17351         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17352         (test_program_prefix): This.
17353         * stdio-common/tst-unbputc.sh: Likewise.
17354         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17355         $(run-program-prefix) with $(test-program-prefix).
17356         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17357         (test_program_prefix): This.
17358         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17359         $(built-program-cmd) with $(test-program-cmd).
17361 2013-01-11  Andreas Jaeger  <aj@suse.de>
17363         [BZ #15003]
17364         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17365         value. Sync with Linux 3.7.
17367 2013-01-10  David S. Miller  <davem@davemloft.net>
17369         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17370         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17371         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17373 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17375         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17376         never set.
17377         * configure: Regenerated.
17379 2013-01-10  David S. Miller  <davem@davemloft.net>
17381         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17382         sparc V9 rather than using V8 code.
17383         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17384         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17386 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17388         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17389         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17390         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17391         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17392         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17393         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17394         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17395         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17396         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17397         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17398         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17399         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17400         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17401         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17402         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17403         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17404         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17405         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17406         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17407         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17408         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17409         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17410         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17411         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17412         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17413         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17414         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17416 2013-01-10  David S. Miller  <davem@davemloft.net>
17418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17420 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17422         * posix/Makefile (tests-static): New variable.
17423         (tests): Add $(tests-static).
17424         (tst-exec-static-ARGS): New variable.
17425         (tst-spawn-static-ARGS): Likewise.
17426         * posix/tst-exec-static.c: New file.
17427         * posix/tst-spawn-static.c: Likewise.
17428         * posix/tst-exec.c: Support run directly.
17429         * posix/tst-spawn.c: Likewise.
17431 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
17433         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17434         long.
17435         * math/bits/mathcalls.h (llrint): Likewise.
17436         (llround): Likewise.
17437         * stdlib/stdlib.h (struct drand48_data): Likewise.
17438         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17439         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17440         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17443         Likewise.
17444         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17445         (elf_greg_t): Likewise.
17446         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17447         (__jmp_buf): Likewise.
17448         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17449         definitions.
17450         (llrint): Likewise, for all definitions.
17451         (llrintl): Likewise.
17453         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17454         Remove [__GNUC__] condition.
17455         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17456         condition to just [__USE_ISOC99].
17457         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17459 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17461         [BZ #14200]
17462         * sysdeps/unix/sysv/linux/x86/bits/environments.h
17463         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17464         defined.
17465         (_POSIX_V6_ILP32_OFF32): Likewise.
17466         (_XBS5_ILP32_OFF32): Likewise.
17467         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
17468         (__ILP32_OFFBIG_LDFLAGS): Likewise.
17470 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17472         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
17474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
17475         doubles __mpexp_twomm1.  Adjust usage.
17476         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
17477         Remove.
17479 2013-01-10  Andreas Schwab  <schwab@suse.de>
17481         [BZ #14964]
17482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
17483         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
17485 2013-01-09  David S. Miller  <davem@davemloft.net>
17487         [BZ #15003]
17488         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
17489         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
17490         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
17491         TCP_FASTOPEN): Define.
17492         (tcp_repair_opt): New structure.
17493         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
17494         enum values.
17495         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
17496         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
17497         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
17498         (tcp_cookie_transactions): New structure.
17500 2013-01-09  Anton Blanchard  <anton@samba.org>
17502         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
17503         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
17504         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
17505         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17507 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
17509         * include/features.h (__USE_ANSI): Remove.
17511 2013-01-09  Roland McGrath  <roland@hack.frob.com>
17513         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
17515         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
17517 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17519         * sysdeps/s390/fpu/libm-test-ulps: Update.
17521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17523         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
17524         (__acr): Likewise.
17525         (__cpy): Likewise.
17526         (norm): Likewise.
17527         (denorm): Likewise.
17528         (__mp_dbl): Likewise.
17529         (__dbl_mp): Likewise.
17530         (add_magnitudes): Likewise.
17531         (sub_magnitudes): Likewise.
17532         (__add): Likewise.
17533         (__sub): Likewise.
17534         (__mul): Likewise.
17535         (__inv): Likewise.
17536         (__dvd): Likewise.
17537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
17538         (__acr): Likewise.
17539         (__cpy): Likewise.
17540         (norm): Likewise.
17541         (denorm): Likewise.
17542         (__mp_dbl): Likewise.
17543         (__dbl_mp): Likewise.
17544         (add_magnitudes): Likewise.
17545         (sub_magnitudes): Likewise.
17546         (__add): Likewise.
17547         (__sub): Likewise.
17548         (__mul): Likewise.
17549         (__inv): Likewise.
17550         (__dvd): Likewise.
17551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
17552         (__acr): Likewise.
17553         (__cpy): Likewise.
17554         (norm): Likewise.
17555         (denorm): Likewise.
17556         (__mp_dbl): Likewise.
17557         (__dbl_mp): Likewise.
17558         (add_magnitudes): Likewise.
17559         (sub_magnitudes): Likewise.
17560         (__add): Likewise.
17561         (__sub): Likewise.
17562         (__mul): Likewise.
17563         (__inv): Likewise.
17564         (__dvd): Likewise.
17566 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
17568         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
17569         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
17570         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
17571         2 && __USE_EXTERN_INLINES]: Likewise.
17573 2013-01-08  Andreas Jaeger  <aj@suse.de>
17575         [BZ# 14985]
17576         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
17577         Remove.
17578         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17579         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17581 2013-01-07  Anton Blanchard  <anton@samba.org>
17583         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
17584         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17585         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
17586         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17587         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17588         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17589         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
17590         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17592         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17593         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17594         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17596         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17597         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17598         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17599         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17600         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17601         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17602         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17603         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17604         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
17605         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17606         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17607         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
17608         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17609         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17610         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
17612         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17613         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17615         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17616         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17617         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17618         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17620         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
17622         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17623         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
17624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17625         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17627 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
17629         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
17630         (__MALLOC_PMT): Likewise.
17631         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
17632         [__GNUC__], only on [_LIBC].
17633         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17634         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
17635         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17636         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
17637         forward declaration.
17638         (realloc_hook_ini): Likewise.
17639         (memalign_hook_ini): Likewise.
17640         (__libc_memalign): Do not use __MALLOC_PMT in variable
17641         declaration.
17642         (__libc_valloc): Likewise.
17643         (__libc_pvalloc): Likewise.
17644         (__libc_calloc): Likewise.
17645         (__posix_memalign): Likewise.
17647         [BZ #14996]
17648         * math/s_casinh.c: Include <float.h>.
17649         (__casinh): Do not do computation with squaring and square root
17650         for large arguments.
17651         * math/s_casinhf.c: Include <float.h>.
17652         (__casinhf): Do not do computation with squaring and square root
17653         for large arguments.
17654         * math/s_casinhl.c: Include <float.h>.
17655         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
17656         (__casinhl): Do not do computation with squaring and square root
17657         for large arguments.
17658         * math/libm-test.inc (casin_test): Add more tests.
17659         (casinh_test): Likewise.
17660         * sysdeps/i386/fpu/libm-test-ulps: Update.
17661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
17665         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
17666         (__x86_64_raw_data_cache_size): Likewise.
17667         (__x86_64_data_cache_size_half): Likewise.
17668         (__x86_64_raw_data_cache_size_half): Likewise.
17669         (__x86_64_shared_cache_size): Likewise.
17670         (__x86_64_raw_shared_cache_size): Likewise.
17671         (__x86_64_shared_cache_size_half): Likewise.
17672         (__x86_64_raw_shared_cache_size_half): Likewise.
17673         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
17674         to ...
17675         (__x86_data_cache_size): This.
17676         (__x86_64_raw_data_cache_size): Renamed to ...
17677         (__x86_raw_data_cache_size): This.
17678         (__x86_64_data_cache_size_half): Renamed to ...
17679         (__x86_data_cache_size_half): This.
17680         (__x86_64_raw_data_cache_size_half): Renamed to ...
17681         (__x86_raw_data_cache_size_half): This.
17682         (__x86_64_shared_cache_size): Renamed to ...
17683         (__x86_shared_cache_size): This.
17684         (__x86_64_raw_shared_cache_size): Renamed to ...
17685         (__x86_raw_shared_cache_size): This.
17686         (__x86_64_shared_cache_size_half): Renamed to ...
17687         (__x86_shared_cache_size_half): This.
17688         (__x86_64_raw_shared_cache_size_half): Renamed to ...
17689         (__x86_raw_shared_cache_size_half): This.
17690         * sysdeps/x86_64/memcpy.S: Updated.
17691         * sysdeps/x86_64/memset.S: Likewise.
17692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17694         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17696 2013-01-04  David S. Miller  <davem@davemloft.net>
17698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17700 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
17702         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17703         1 to avoid redefinition warning.
17704         (__USE_GNU): Don't define.
17705         (init_signaling_nan): Protoize.
17707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17709 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17711         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17713         (__cpymn): Likewise.
17714         (norm): Remove commented code.
17715         (denorm): Likewise.
17716         (__mp_dbl): Likewise.
17717         (__inv): Likewise.
17718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17719         (__cpymn): Likewise.
17720         (norm): Remove commented code.
17721         (denorm): Likewise.
17722         (__mp_dbl): Likewise.
17723         (__inv): Likewise.
17725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17726         mp_no value for 1.0 and 2.0.
17727         (norm): Use RADIXI instead of radixi.d.
17728         (denorm): Likewise.
17729         (__mul): Use 0.0 instead of zero.d.
17730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17731         mp_no value for 1.0 and 2.0.
17732         (norm): Use RADIXI instead of radixi.d.
17733         (denorm): Likewise.
17734         (__mul): Use 0.0 instead of zero.d.
17736 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
17738         [BZ #14994]
17739         * math/s_casinh.c (__casinh): Reduce finite argument to first
17740         quadrant then set signs of results at the end.
17741         * math/s_casinhf.c (__casinhf): Likewise.
17742         * math/s_casinhl.c (__casinhl): Likewise.
17743         * math/libm-test.inc (casin_test): Add more tests.
17744         (casinh_test): Likewise.
17745         * sysdeps/i386/fpu/libm-test-ulps: Update.
17746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17750         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17752         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17754         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17755         declarations.
17756         (denorm): Likewise.
17757         (__mp_dbl): Likewise.
17758         (__inv): Likewise.
17760         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17761         and adjust the header comment.
17763         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17764         variable name from declaration.
17766 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
17768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17769         Initialize COMMON_CPUID_INDEX_7 element.
17770         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17771         (CPUID_RTM): Likewise.
17772         (HAS_RTM): Likewise.
17773         (COMMON_CPUID_INDEX_7): New enum.
17775 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
17777         [BZ #14981]
17778         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17779         size is zero, record memory as freed.
17781 2013-01-03  Andreas Jaeger  <aj@suse.de>
17783         * po/ia.po: Add new Interlingua translation.
17785 2012-01-03  Allan McRae  <allan@archlinux.org>
17787         * locale/programs/localedef.c: Fix description of '--posix' flag.
17789 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
17791         * NEWS: Update dates in second copyright notice.
17792         * README: Update copyright dates in example.
17793         * manual/libc.texinfo: Update copyright dates.
17794         * scripts/test-installation.pl: Update copyright date in --version
17795         output.
17797         * hurd/ctty-input.c: Fix copyright notice formatting.
17798         * hurd/ctty-output.c: Likewise.
17799         * hurd/dtable.c: Likewise.
17800         * hurd/hurd-raise.c: Likewise.
17801         * hurd/hurdprio.c: Likewise.
17802         * hurd/msgportdemux.c: Likewise.
17803         * misc/sys/file.h: Likewise.
17804         * misc/sys/ioctl.h: Likewise.
17805         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17806         * sysdeps/mach/hurd/chdir.c: Likewise.
17807         * sysdeps/mach/hurd/fchdir.c: Likewise.
17808         * sysdeps/mach/hurd/rename.c: Likewise.
17809         * sysdeps/mach/hurd/rmdir.c: Likewise.
17810         * sysdeps/mach/hurd/seekdir.c: Likewise.
17811         * sysdeps/mach/hurd/setsid.c: Likewise.
17812         * sysdeps/posix/wait3.c: Likewise.
17814         * All files with FSF copyright notices: Update copyright dates
17815         using scripts/update-copyrights.
17816         * intl/plural.c: Regenerated.
17817         * locale/programs/charmap-kw.h: Likewise.
17818         * locale/programs/locfile-kw.h: Likewise.
17820 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17822         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17823         four values.
17825         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17826         calculation loop and add branch prediction.
17828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17829         check access beyond bounds of m1np.
17831         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17832         MPTWO.
17833         (__inv): Remove local variable MPTWO to use the global
17834         constant.
17835         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17836         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17837         variable MPTWO.
17838         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17839         MP3HALFS static const.
17841 2013-01-01  David S. Miller  <davem@davemloft.net>
17843         * po/ca.po: Update from translation team.
17845 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
17847         * scripts/update-copyrights: New file.
17848         * Makeconfig: Reformat copyright notice.
17849         * ctype/ctype.h: Likewise.
17850         * debug/swprintf_chk.c: Likewise.
17851         * elf/dl-cache.c: Likewise.
17852         * elf/dl-debug.c: Likewise.
17853         * elf/dl-object.c: Likewise.
17854         * grp/initgroups.c: Likewise.
17855         * hurd/Makefile: Likewise.
17856         * hurd/hurd/signal.h: Likewise.
17857         * hurd/hurdfault.c: Likewise.
17858         * hurd/hurdioctl.c: Likewise.
17859         * hurd/hurdlookup.c: Likewise.
17860         * hurd/intr-msg.c: Likewise.
17861         * iconv/gconv_open.c: Likewise.
17862         * libio/swprintf.c: Likewise.
17863         * locale/lc-ctype.c: Likewise.
17864         * locale/nl_langinfo.c: Likewise.
17865         * mach/Machrules: Likewise.
17866         * mach/Makefile: Likewise.
17867         * malloc/obstack.h: Likewise.
17868         * manual/Makefile: Likewise.
17869         * manual/tsort.awk: Likewise.
17870         * misc/bits/stab.def: Likewise.
17871         * nis/nis_print_group_entry.c: Likewise.
17872         * nis/nis_table.c: Likewise.
17873         * nis/nss_compat/compat-pwd.c: Likewise.
17874         * nis/nss_compat/compat-spwd.c: Likewise.
17875         * po/Makefile: Likewise.
17876         * posix/fnmatch.c: Likewise.
17877         * posix/regex.h: Likewise.
17878         * resolv/Makefile: Likewise.
17879         * resolv/nss_dns/dns-network.c: Likewise.
17880         * resolv/res_hconf.c: Likewise.
17881         * scripts/gen-sorted.awk: Likewise.
17882         * soft-fp/soft-fp.h: Likewise.
17883         * stdio-common/printf.h: Likewise.
17884         * stdlib/monetary.h: Likewise.
17885         * stdlib/random.c: Likewise.
17886         * stdlib/random_r.c: Likewise.
17887         * sysdeps/generic/Makefile: Likewise.
17888         * sysdeps/gnu/Makefile: Likewise.
17889         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17890         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17891         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17893         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17896         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17899         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17900         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17901         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17902         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17903         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17904         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17905         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17909         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17910         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17911         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17912         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17913         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17914         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17915         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17916         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17917         * sysdeps/mach/hurd/errnos.awk: Likewise.
17918         * sysdeps/mach/hurd/fork.c: Likewise.
17919         * sysdeps/mach/hurd/getcwd.c: Likewise.
17920         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17921         * sysdeps/mach/hurd/mmap.c: Likewise.
17922         * sysdeps/mach/hurd/utimes.c: Likewise.
17923         * sysdeps/mach/hurd/xmknod.c: Likewise.
17924         * sysdeps/posix/profil.c: Likewise.
17925         * sysdeps/posix/readdir_r.c: Likewise.
17926         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17927         * sysdeps/powerpc/bits/setjmp.h: Likewise.
17928         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17929         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17931         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17932         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17933         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17935         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17936         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17937         * sysdeps/pthread/lio_listio.c: Likewise.
17938         * sysdeps/sparc/dl-procinfo.h: Likewise.
17939         * sysdeps/unix/i386/sysdep.S: Likewise.
17940         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17941         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17942         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17943         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17945         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17946         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17947         * sysdeps/unix/sysv/linux/speed.c: Likewise.
17948         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17949         * sysdeps/wordsize-32/divdi3.c: Likewise.
17950         * time/sys/time.h: Likewise.
17951         * wcsmbs/Makefile: Likewise.
17953 2013-01-01  David S. Miller  <davem@davemloft.net>
17955         * po/fr.po: Update from translation team.
17957         * catgets/gencat.c: Update copyright year.
17958         * csu/version.c: Likewise.
17959         * debug/catchsegv.sh: Likewise.
17960         * debug/pcprofiledump.c: Likewise.
17961         * debug/xtrace.sh: Likewise.
17962         * elf/ldconfig.c: Likewise.
17963         * elf/ldd.bash.in: Likewise.
17964         * elf/pldd.c: Likewise.
17965         * elf/sotruss.ksh: Likewise.
17966         * elf/sprof.c: Likewise.
17967         * iconv/iconv_prog.c: Likewise.
17968         * iconv/iconvconfig.c: Likewise.
17969         * locale/programs/locale.c: Likewise.
17970         * locale/programs/localedef.c: Likewise.
17971         * login/programs/pt_chown.c: Likewise.
17972         * malloc/memusage.sh: Likewise.
17973         * malloc/memusagestat.c: Likewise.
17974         * malloc/mtrace.pl: Likewise.
17975         * nscd/nscd.c: Likewise.
17976         * nss/getent.c: Likewise.
17977         * nss/makedb.c: Likewise.
17978         * posix/getconf.c: Likewise.
17980 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17982         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17983         numbers.
17985 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
17987         * math/bits/mathcalls.h (modf): Use __nonnull.
17989 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17991         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17992         (split): Use macro CN instead of the bare value.
17993         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17994         could be used.
17995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17996         instead of the bare value.
17997         (power1): Likewise.
17999 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18001         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18002         __ATAN_TWOM.
18003         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18005         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18006         their values.
18007         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18008         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18009         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18010         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18012 2012-12-28  Andreas Jaeger  <aj@suse.de>
18014         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18015         values are from Linux 3.7.
18017         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18018         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18020 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18022         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18023         TRUE case.
18025         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18026         (norm): Likewise.
18027         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18028         variables with preprocessor constants.
18029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18030         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18031         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18033 2012-12-27  Bruno Haible  <bruno@clisp.org>
18035         [BZ #14317]
18036         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18037         only if needed.
18039 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18042         and use variable directly.
18043         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18045         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18046         MPONE.
18047         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18049         variable MPONE.
18050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18052         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18053         include directive.  Remove local variable MPONE.
18054         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18055         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18056         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18058 2012-12-25  David S. Miller  <davem@davemloft.net>
18060         * version.h (RELEASE): Set to "development".
18061         (VERSION): Set to "2.17.90".
18062         * NEWS: Add 2.18 section.
18064 2012-12-21  David S. Miller  <davem@davemloft.net>
18066         * po/hr.po: Update from translation team.
18068 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18070         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18072 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18074         * NEWS:  Mention new memcpy for MIPS.
18076 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18078         * manual/contrib.texi (Contributors): Spelling correction.
18080 2012-12-15  David S. Miller  <davem@davemloft.net>
18082         * po/ru.po: Update from translation team.
18084 2012-12-13  David S. Miller  <davem@davemloft.net>
18086         * NEWS: Mention IFUNC testsuite enhancements.
18088         * po/pl.po: Update from translation team.
18089         * po/bg.po: Likewise.
18091         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18092         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18094 2012-12-11  David S. Miller  <davem@davemloft.net>
18096         * po/sv.po: Update from translation team.
18098         * po/vi.po: Update from translation team.
18100         * po/cs.po: Update from translation team.
18102         * po/de.po: Update from translation team.
18103         * po/eo.po: Likewise.
18104         * po/nl.po: Likewise.
18106 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18108         [BZ #14246]
18109         * manual/argp.texi (Argp Helper Functions): Move node to follow
18110         Argp Parsing State.
18112         [BZ #14872]
18113         * manual/conf.texi (Limits on File System Capacity): Mention if
18114         terminating null is included in the max size.
18116 2012-12-10  Andreas Jaeger  <aj@suse.de>
18118         * po/cs.po: Update from translation team.
18120 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18122         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18123         void pointer and cast to uintptr_t.
18124         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18125         path.
18126         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18127         * sysdeps/s390/s390-64/memset.S: Likewise.
18129 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18131         [BZ #14833]
18132         * menual/message.texi (Message Translation): Fix typos.
18133         (Helper programs for gettext): Likewise.
18135 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18137         [BZ #14898]
18138         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18139         Change to -1.
18141 2012-12-07  David S. Miller  <davem@davemloft.net>
18143         * po/libc.pot: Update.
18145 2012-12-07  Richard Henderson  <rth@redhat.com>
18147         [BZ #10114]
18148         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18149         normal/normal case to before the switch.
18150         (_FP_DIV): Likewise.
18152 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18153             Mike Frysinger  <vapier@gentoo.org>
18155         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18156         check for __NR_fadvise64_64.
18158 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18160         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18161         0, not just to plain "0" as a statement.
18162         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18163         with cw.
18165 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18167         * NEWS: Use sourceware.org in Bugzilla URL.
18169 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18172         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18174         * stdio-common/tst-put-error.c (do_test): Add newline to the
18175         padded test to ensure flush.
18177 2012-12-05  Jeff Law  <law@redhat.com>
18179         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18181 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18183         * README: Don't refer to ports add-on as distributed separately.
18184         Mention AArch64 in list of systems supported in the ports add-on.
18186         * LICENSES: Add more non-FSF copyright and license notices.
18188         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18189         ((unused)).
18191         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18193         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18194         10000 as width of padded output.
18196 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18198         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18200         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18201         variable LX with __attribute__ ((unused)).
18202         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18203         Likewise.
18204         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18205         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18206         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18207         with __attribute__ ((unused)).
18209 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18211         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18213 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18215         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18216         (CFLAGS-nldbl-acos.c): New variable.
18217         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18218         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18219         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18220         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18221         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18222         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18223         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18224         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18225         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18226         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18227         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18228         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18229         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18230         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18231         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18232         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18233         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18234         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18235         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18236         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18237         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18238         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18239         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18240         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18241         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18242         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18243         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18244         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18245         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18246         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18247         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18248         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18249         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18250         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18251         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18252         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18253         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18254         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18255         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18256         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18257         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18258         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18259         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18260         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18261         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18262         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18263         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18264         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18265         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18266         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18267         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18268         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18269         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18270         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18271         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18272         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18273         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18274         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18275         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18276         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18277         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18278         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18279         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18280         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18281         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18282         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18283         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18284         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18285         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18286         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18287         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18288         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18289         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18290         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18291         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18292         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18293         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18294         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18295         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18296         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18297         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18298         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18299         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18300         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18301         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18302         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18303         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18304         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18305         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18306         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18307         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18308         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18309         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18310         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18311         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18312         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18313         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18316         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18318         [BZ #14914]
18319         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18320         whole low double instead of just low 47 bits when splitting values
18321         into two parts.
18323 2012-12-03  Allan McRae  <allan@archlinux.org>
18325         * manual/stdio.texi (Predefined Printf Handlers): Remove
18326         @hsep and @vsep usage.
18328 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18330         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18331         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18333 2012-12-03  Jeff Law  <law@redhat.com>
18335         * time/sys/time.h (settimeofday): Do not mark TV argument
18336         as __nonnull.
18338 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18340         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18341         when currently writing and seek to current position when not.
18342         * libio/Makefile (tests): Remove bug-fclose1.
18343         * libio/bug-fclose1.c: Delete.
18345 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18347         * manual/arith.texi (feenableexcept): Fix typo.
18348         (fedisableexcept): Likewise.
18350 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18352         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18353         second, differently-typed declaration, rather than a cast.
18355 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18357         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18358         * include/rpc/svc.h: ... here.
18360 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18362         [BZ #13013]
18363         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18364         depending n and resplen2 to catch cases where answer
18365         equals answerp2.
18367 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18369         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18370         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18372 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18374         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18376 2012-11-29  Roland McGrath  <roland@hack.frob.com>
18378         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18380 2012-11-28  Jeff Law  <law@redhat.com>
18382         [BZ #13761]
18383         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18384         dataset_temporary.  Track alloca usage into alloca_used.
18385         If dataset is large allocate and release it via malloc/free.
18387 2012-06-04  Florian Weimer  <fweimer@redhat.com>
18389         [BZ #14197]
18390         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18392 2012-11-28  David S. Miller  <davem@davemloft.net>
18394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18396 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #14803]
18399         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18400         of pi/2 rounded to nearest to 64 bits.
18401         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18402         nearest to 64 bits.
18403         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18404         bits.
18406 2012-11-28  Jeff Law <law@redhat.com>
18407             Martin Osvald <mosvald@redhat.com>
18409         [BZ #14889]
18410         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18411         * sunrpc/svc.c: Include time.h.
18412         (__svc_accept_failed): New function.
18413         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18414         any reason other than EINTR, call __svc_accept_failed.
18415         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18416         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18418 2012-11-28  Andreas Schwab  <schwab@suse.de>
18420         * scripts/abilist.awk: Also handle indirect functions in .opd
18421         section.
18423 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18425         [BZ #13881]
18426         * sysdeps/x86/fpu/powl_helper.c: New file.
18427         * sysdeps/x86/fpu/Makefile: Likewise.
18428         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18429         (p3): New object.
18430         (__ieee754_powl): Use __powl_helper for finite arguments except
18431         integer exponents below 8.
18432         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18433         (p3): New object.
18434         (__ieee754_powl): Use __powl_helper for finite arguments except
18435         integer exponents below 8.
18436         * math/libm-test.inc (pow_test): Add more tests and enable some
18437         previously disabled tests.
18438         * sysdeps/i386/fpu/libm-test-ulps: Update.
18439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18441 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18442             Carlos O'Donell  <carlos_odonell@mentor.com>
18444         * nss/makedb.c (is_prime): Assert that input is odd and greater
18445         than 4.  Note that fact in a comment too.
18446         (next_prime): Add 4 to input.
18448 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18450         [BZ #11741]
18451         * libio/Makefile (tests): Add test case tst-fwrite-error.
18452         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18453         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18454         * libio/tst-fwrite-error.c: New test case.
18456 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
18458         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18459         before casting to void *.
18460         * include/libc-internal.h (__pointer_type): New macro.
18461         (__integer_if_pointer_type_sub): Likewise.
18462         (__integer_if_pointer_type): Likewise.
18463         (cast_to_integer): Likewise.
18464         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18465         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
18466         before casting to atomic64_t.
18467         (atomic_exchange_acq): Likewise.
18468         (__arch_exchange_and_add_body): Likewise.
18469         (__arch_add_body): Likewise.
18470         (atomic_add_negative): Likewise.
18471         (atomic_add_zero): Likewise.
18473 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
18475         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
18476         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
18477         (add_fdes): Likewise.
18478         (linear_search_fdes): Likewise.
18479         (binary_search_unencoded_fdes): Likewise.
18481 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
18483         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
18485 2012-11-24  Adam Conrad  <adconrad@0c3.net>
18487         * configure.in: Autodetect C++ header directories.
18488         * configure: Regenerated.
18490 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
18492         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
18494 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
18496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18498 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
18500         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
18501         LDBL_MANT_DIG == 106]: Disable some tests.
18502         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18503         Likewise.
18504         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18505         Likewise.
18507         [BZ #14871]
18508         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
18509         input for small inputs.  Return +/- pi/2 for large inputs.
18510         * math/libm-test.inc (atan_test): Add more tests.
18512         * sysdeps/generic/unwind-dw2-fde-glibc.c
18513         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
18514         __attribute__ ((unused)).
18516         [BZ #14645]
18517         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
18518         x * y if x and y are nonzero and z is zero.
18520         [BZ #14811]
18521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
18522         nonzero exponents with absolute value below 0x1p-117 to +/-
18523         0x1p-117.
18525         [BZ #14869]
18526         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
18527         up arguments below 2**-450, not just those below 2**-500.
18528         * math/libm-test.inc (hypot_test): Add another test.
18530         [BZ #14868]
18531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18532         Return a+b for ratio over 2**120, not 2**60.
18533         * math/libm-test.inc (hypot_test): Add another test.
18535         * math/libm-test.inc (clog_test): Use
18536         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
18537         (clog10_test): Likewise.
18539         [BZ #6778]
18540         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
18542 2012-11-22  Andreas Schwab  <schwab@suse.de>
18544         * sysdeps/i386/fpu/libm-test-ulps: Update.
18546 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
18548         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
18549         printf output with newline.
18551 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
18553         [BZ #14865]
18554         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
18555         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
18556         -z nodlopen, -z initfirst and -z execstack support.
18557         * configure: Regenerated.
18559         * elf/elf.h (DF_1_NODIRECT): New macro.
18560         (DF_1_IGNMULDEF): Likewise.
18561         (DF_1_NOKSYMS): Likewise.
18562         (DF_1_NOHDR): Likewise.
18563         (DF_1_EDITED): Likewise.
18564         (DF_1_NORELOC): Likewise.
18565         (DF_1_SYMINTPOSE): Likewise.
18566         (DF_1_GLOBAUDIT): Likewise.
18567         (DF_1_SINGLETON): Likewise.
18568         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
18569         DT_1_SUPPORTED_MASK bits.
18570         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
18572 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
18574         * sysdeps/unix/make-syscalls.sh: Document prefixes.
18576 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
18578         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
18579         macro.
18581         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
18582         (sendmmsg): Move declarations...
18583         * socket/sys/socket.h: ... here.
18584         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
18585         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
18586         include it from...
18587         * socket/recvmmsg.c: ... this new file.
18588         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
18589         (sendmmsg): Rename to __sendmmsg, create weak alias and make
18590         definition of __sendmmsg hidden.
18591         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18592         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
18593         Move ENOSYS stub into and include it from...
18594         * socket/sendmmsg.c: ... this new file.
18595         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
18596         (sysdep_routines): Move recvmmsg and sendmmsg...
18597         * socket/Makefile (routines): ... here.
18598         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
18599         (GLIBC_PRIVATE): Add __sendmmsg.
18600         * include/sys/socket.h (__sendmmsg): Add declarations.
18601         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
18602         sendmmsg.
18604 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
18606         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
18607         variable I1 with __attribute__ ((unused)).
18608         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18610 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18612         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
18613         DUMMY variables with __attribute__ ((unused)).
18615         * bits/byteswap.h: Include <bits/types.h>.
18616         (__bswap_64): Use __uint64_t instead of unsigned long long int.
18618 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18620         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
18621         string_t.  Do not manually set errno.
18622         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
18623         length with __strnlen.  Make sure to both set errno and return it on
18624         failure.
18626 2012-11-19  David S. Miller  <davem@davemloft.net>
18628         With help from Joseph Myers.
18629         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
18630         very large arguments properly.
18631         * math/libm-test.inc (atan_test): New tests.
18632         (atan2_test): New tests.
18633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18636 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18638         [BZ #14856]
18639         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
18640         Define to 3.
18642         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18643         [POSIX] (EADDRNOTAVAIL): Likewise.
18644         [POSIX] (EAFNOSUPPORT): Likewise.
18645         [POSIX] (EALREADY): Likewise.
18646         [POSIX] (ECONNABORTED): Likewise.
18647         [POSIX] (ECONNREFUSED): Likewise.
18648         [POSIX] (ECONNRESET): Likewise.
18649         [POSIX] (EDESTADDRREQ): Likewise.
18650         [POSIX] (EDQUOT): Likewise.
18651         [POSIX] (EHOSTUNREACH): Likewise.
18652         [POSIX] (EIDRM): Likewise.
18653         [POSIX] (EISCONN): Likewise.
18654         [POSIX] (ELOOP): Likewise.
18655         [POSIX] (EMULTIHOP): Likewise.
18656         [POSIX] (ENETDOWN): Likewise.
18657         [POSIX] (ENETUNREACH): Likewise.
18658         [POSIX] (ENOBUFS): Likewise.
18659         [POSIX] (ENODATA): Likewise.
18660         [POSIX] (ENOLINK): Likewise.
18661         [POSIX] (ENOMSG): Likewise.
18662         [POSIX] (ENOPROTOOPT): Likewise.
18663         [POSIX] (ENOSR): Likewise.
18664         [POSIX] (ENOSTR): Likewise.
18665         [POSIX] (ENOTCONN): Likewise.
18666         [POSIX] (ENOTSOCK): Likewise.
18667         [POSIX] (EOPNOTSUPP): Likewise.
18668         [POSIX] (EOVERFLOW): Likewise.
18669         [POSIX] (EPROTO): Likewise.
18670         [POSIX] (EPROTONOSUPPORT): Likewise.
18671         [POSIX] (EPROTOTYPE): Likewise.
18672         [POSIX] (ESTALE): Likewise.
18673         [POSIX] (ETIME): Likewise.
18674         [POSIX] (ETXTBSY): Likewise.
18675         [POSIX] (EWOULDBLOCK): Likewise.
18676         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
18677         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
18678         [POSIX] (SEEK_CUR): Likewise.
18679         [POSIX] (SEEK_END): Likewise.
18680         [POSIX || UNIX98] (mode_t): Do not require.
18681         [POSIX] (off_t): Likewise.
18682         [POSIX] (pid_t): Likewise.
18683         [POSIX] (sys/stat.h): Do not allow header.
18684         [POSIX] (unistd.h): Likewise.
18685         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
18686         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
18687         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
18688         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
18689         require.
18690         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
18691         sigevent): Specify elements.
18692         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
18693         entry.
18694         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
18695         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18697         * conform/data/cpio.h-data [POSIX]: Disable whole file.
18698         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18699         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18700         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18701         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18702         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18703         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18704         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18705         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18706         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18707         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18708         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18709         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18710         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18711         Likewise.
18712         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18713         Likewise.
18714         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18715         Likewise.
18716         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18717         Likewise.
18718         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18719         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18720         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18721         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18722         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18723         Specify lower bound on value.
18724         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18725         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18726         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18727         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18728         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18729         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18730         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18731         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18732         value.
18733         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18734         as optional.
18735         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18736         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18737         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18738         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18739         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18740         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18741         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18742         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18743         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18744         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18745         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18746         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18747         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18748         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18749         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18750         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18751         entry.
18752         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18753         optional.
18754         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18755         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18756         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18757         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18758         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18759         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18760         Likewise.
18761         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18762         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18763         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18764         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18765         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
18766         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18767         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18768         as optional.
18769         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18770         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18771         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18772         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18773         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18774         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18775         specify as optional.
18776         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18777         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18778         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18779         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18780         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18781         [XPG3] (NL_LANGMAX): Likewise.
18782         [POSIX || XPG3] (NL_MSGMAX): Likewise.
18783         [POSIX || XPG3] (NL_NMAX): Likewise.
18784         [POSIX || XPG3] (NL_SETMAX): Likewise.
18785         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18786         [XPG3] (NZERO): Likewise.
18787         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18788         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18789         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18790         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18791         (REG_ERANGE): Expect.
18792         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18793         optional-constant.
18794         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18795         Use (void) in prototype.
18796         [POSIX] (*_t): Allow.
18797         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18798         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18799         (WRDE_BADVAL): Expect.
18801         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18802         expect.
18803         [XPG3 || XPG4] (O_RSYNC): Likewise.
18804         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18805         Likewise.
18806         [XPG3 || XPG4] (pthread_sigmask): Likewise.
18807         [XPG3 || XPG4] (sigqueue): Likewise.
18808         [XPG3 || XPG4] (sigtimedwait): Likewise.
18809         [XPG3 || XPG4] (sigwaitinfo): Likewise.
18810         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18811         [XPG3 || XPG4] (vsnprintf): Likewise.
18812         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18813         Likewise.
18814         [XPG3 || XPG4] (blksize_t): Likewise.
18815         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18816         Likewise.
18817         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18818         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18819         [XPG3 || XPG4] (struct itimerspec): Likewise.
18820         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18821         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18822         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18823         [XPG3 || XPG4] (clockid_t): Likewise.
18824         [XPG3 || XPG4] (timer_t): Likewise.
18825         [XPG3 || XPG4] (clock_getres): Likewise.
18826         [XPG3 || XPG4] (clock_gettime): Likewise.
18827         [XPG3 || XPG4] (clock_settime): Likewise.
18828         [XPG3 || XPG4] (nanosleep): Likewise.
18829         [XPG3 || XPG4] (timer_create): Likewise.
18830         [XPG3 || XPG4] (timer_delete): Likewise.
18831         [XPG3 || XPG4] (timer_gettime): Likewise.
18832         [XPG3 || XPG4] (timer_getoverrun): Likewise.
18833         [XPG3 || XPG4] (timer_settime): Likewise.
18834         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18835         [XPG3 || XPG4] (getlogin_r): Likewise.
18836         [XPG3 || XPG4] (pread): Likewise.
18837         [XPG3 || XPG4] (pthread_atfork): Likewise.
18838         [XPG3 || XPG4] (pwrite): Likewise.
18840         [BZ #14835]
18841         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18842         <bits/siginfo.h>.
18844 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18846         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18847         finalizing MALLSTREAM.
18849         * sysdeps/mach/hurd/syncfs.c: New file.
18851 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18853         [BZ #14719]
18854         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18855         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18856         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18857         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18858         (_nss_dns_gethostbyname4_r): Likewise.
18859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18860         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18862 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
18864         [BZ #13763]
18865         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18867 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
18869         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18870         * elf/cache.c (print_entry): Print ",AArch64" for
18871         FLAG_AARCH64_LIB64
18873         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18874         * elf/cache.c (print_entry): Print ",hard-float" for
18875         FLAG_ARM_LIBHF.
18877 2012-11-18  David S. Miller  <davem@davemloft.net>
18879         With help from Joseph Myers.
18880         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18881         cutoff to 2**-13.
18882         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18883         cutoff to 2**-25.
18884         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18885         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18886         small.
18887         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18888         * math/libm-test.inc (y0_test): New tests.
18889         (y1_test): New tests.
18890         * sysdeps/i386/fpu/libm-test-ulps: Update.
18891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18894 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
18896         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18897         64-bit targets.
18898         * configure: Regenerated.
18900 2012-11-17  David S. Miller  <davem@davemloft.net>
18902         [BZ #14811]
18903         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18904         nonzero exponents with absolute value below 0x1p-128 to +/-
18905         0x1p-128.
18907 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
18909         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18911         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18913         * posix/getconf-speclist.c: New file.
18914         * posix/posix-envs.def: Likewise.
18915         * posix/confstr.c (START_ENV_GROUP): New macro.
18916         (END_ENV_GROUP): Likewise.
18917         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18918         (KNOWN_PRESENT_ENV_STRING): Likewise.
18919         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18920         (UNKNOWN_ENVIRONMENT): Likewise.
18921         (confstr): Include posix-envs.def instead of handling
18922         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18923         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18924         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18925         (END_ENV_GROUP): Likewise.
18926         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18927         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18928         (UNKNOWN_ENVIRONMENT): Likewise.
18929         (__sysconf): Include posix-envs.def instead of handling associated
18930         cases directly here.
18931         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18932         preprocessing getconf-speclist.c rather than running getconf or
18933         generating empty file.
18935 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
18937         * scripts/check-local-headers.sh: Ignore 'mach' headers.
18939 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
18941         [BZ #14672]
18942         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18944 2012-11-16  David S. Miller  <davem@davemloft.net>
18946         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18947         smaller than LDBL_EPSILON/2.0L, just return xm1.
18949 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
18951         * elf/tst-array1.c (init): Set constructor priority to 1000.
18952         (fini): Set destructor priority to 1000.
18953         * elf/tst-array2dep.c: Likewise.
18955 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18957         [BZ #11741]
18958         * libio/fileops.c (_IO_new_file_write): Correctly return error.
18959         (_IO_new_file_xsputn): Also return EOF if none of the input
18960         data was written when overflow failed.
18961         * libio/iopadn.c (_IO_padn): Likewise.
18962         * libio/iowpadn.c (_IO_wpadn): Likewise.
18963         * stdio-common/tst-put-error.c: Add copyright notice.
18964         (do_test): Add case for printing padded string.
18965         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18966         _IO_padn returned error.
18967         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18968         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18969         return EOF.
18971 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18973         * libio/libioP.h: Add comment note that the references to C++
18974         bits are now obsolete.
18976 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18978         * math/libm-test.inc (check_complex): Use asprintf.
18980 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
18982         * debug/pcprofiledump.c (print_version): Update copyright year.
18983         * malloc/memusagestat.c (print_version): Likewise.
18985 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18987         [BZ #14831]
18988         * elf/Makefile (tests): Add tst-audit8.
18989         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18990         ($(objpfx)tst-audit8.out): New target.
18991         (tst-audit8-ENV): New variable.
18992         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18993         audit if l_reloc_result is NULL.
18994         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18995         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18996         * elf/tst-audit8.c: New file.
18998 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19000         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19001         * misc/Makefile (CFLAGS-select.c): Define.
19002         * posix/Makefile (CFLAGS-pause.c): Define.
19004 2012-11-13  David S. Miller  <davem@davemloft.net>
19006         * crypt/Makefile: Move test targets after toplevel Rules
19007         inclusion.  Grab any necessary sysdep routines when linking.
19008         * crypt/md5.c (md5_process_block): Remove define, we will always
19009         name it __md5_process_block.
19010         (md5_finish_ctx): Update md5_process_block call.
19011         (md5_stream): Likewise.
19012         (md5_process_bytes): Likewise.
19013         (md5_process_block): Rename to __md5_process_block and move to ...
19014         * crypt/md5-block.c: ... here.
19015         * crypt/sha256.c (sha256_process_block): Move to ...
19016         * crypt/sha256-block.c: ... here.
19017         * crypt/sha512.c (sha512_process_block): Move to ...
19018         * crypt/sha512-block.c: ... here.
19019         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19020         path.
19021         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19022         * sysdeps/sparc/sparc64/multiarch/Makefile
19023         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19024         crypt subdir.
19025         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19026         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19027         multiarch changes.
19028         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19029         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19030         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19031         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19032         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19033         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19034         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19035         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19036         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19037         file.
19038         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19039         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19040         file.
19041         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19043 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19045         * timezone/tzselect.ksh: Update from tzcode git revision
19046         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19047         * timezone/zdump.c: Likewise.
19048         * timezone/zic.c: Likewise.
19049         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19050         in TZVERSION setting, not $(PKGVERSION).
19051         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19052         REPORT_BUGS_TO settings.
19054         [BZ #14838]
19055         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19056         macro.
19058 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19060         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19061         detection to immediately after _FP_ROUND().
19062         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19063         bits are 0.
19065 2012-11-11  David S. Miller  <davem@davemloft.net>
19067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19068         inttypes.h
19069         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19070         __close rather than their public counterparts.
19072 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19074         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19075         file.
19076         [UNIX98] (sem_timedwait): Do not expect.
19077         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19078         [XPG4 || UNIX98] (sockatmark): Do not expect.
19079         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19080         (clock_getcpuclockid): Do not expect.
19081         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19082         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19083         Do not expect.
19084         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19085         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19086         [UNIX98] (vwscanf): Likewise.
19087         [UNIX98] (vswscanf): Likewise.
19089 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19091         * timezone/version.h: Remove file.
19092         * timezone/README: Do not refer to version.h.
19093         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19094         $(objpfx)version.h.
19095         ($(objpfx)zdump.o): Likewise.
19096         ($(objpfx)version.h): New target.
19098         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19099         2012i.
19100         * timezone/README: Don't mention modification to tzselect.ksh.
19101         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19102         work on unmodified tzselect.ksh.  Substitute version numbers in
19103         tzselect.ksh.
19105         * Makefile (format-me): Remove.
19106         (INSTALL): Adjust indentation.  Use commands directly instead of
19107         using $(format-me).
19109         * aclocal.m4 (ACX_PKGVERSION): New macro.
19110         (ACX_BUGURL): Likewise.
19111         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19112         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19113         (REPORT_BUGS_TO): Likewise.
19114         * configure: Regenerated.
19115         * config.h.in (PKGVERSION): New macro.
19116         (REPORT_BUGS_TO): Likewise.
19117         * config.make.in (PKGVERSION): New variable.
19118         (PKGVERSION_TEXI): Likewise.
19119         (REPORT_BUGS_TO): Likewise.
19120         (REPORT_BUGS_TEXI): Likewise.
19121         * Makefile (format-me): Use -I$(common-objpfx)manual.
19122         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19123         ($(common-objpfx)manual/%): New target.
19124         (manual/%): Remove target.
19125         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19126         (print_version): Use PKGVERSION.
19127         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19128         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19129         and REPORT_BUGS_TO.
19130         ($(objpfx)xtrace): Likewise.
19131         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19132         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19133         (print_version): Use PKGVERSION.
19134         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19135         (do_version): Use PKGVERSION.
19136         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19137         REPORT_BUGS_TO.
19138         (common-ldd-rewrite): Likewise.
19139         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19140         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19141         (print_version): Use PKGVERSION.
19142         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19143         * elf/pldd.c (argp_program_bug_address): Remove variable.
19144         (more_help): New function.
19145         (argp): Use more_help.
19146         (print_version): Use PKGVERSION.
19147         * elf/sln.c (main): Use PKGVERSION.
19148         (usage): Use REPORT_BUGS_TO.
19149         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19150         (top level): Use PKGVERSION.
19151         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19152         (print_version): Use PKGVERSION.
19153         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19154         (print_version): Use PKGVERSION.
19155         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19156         (print_version): Use PKGVERSION.
19157         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19158         (print_version): Use PKGVERSION.
19159         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19160         (print_version): Use PKGVERSION.
19161         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19162         (print_version): Use PKGVERSION.
19163         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19164         and BUGURL.
19165         ($(objpfx)memusage): Likewise.
19166         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19167         (do_version): Use PKGVERSION.
19168         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19169         (print_version): Use PKGVERSION.
19170         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19171         ($PKGVERSION): New variable.
19172         ($REPORT_BUGS_TO): Likewise.
19173         (usage): Use $REPORT_BUGS_TO.
19174         (top level): Use $PKGVERSION.
19175         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19176         ($(objpfx)pkgvers.texi): New rule.
19177         ($(objpfx)stamp-pkgvers): Likewise.
19178         * manual/install.texi: Include pkgvers.texi.
19179         (--with-pkgversion): Document new configure option.
19180         (--with-bugurl): Likewise.
19181         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19182         than necessarily for this particular distribution.  Use
19183         REPORT_BUGS_TO for where to report bugs.
19184         * INSTALL: Regenerated.
19185         * manual/libc.texinfo: Include pkgvers.texi.
19186         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19187         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19188         (print_version): Use PKGVERSION.
19189         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19190         (print_version): Use PKGVERSION.
19191         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19192         (print_version): Use PKGVERSION.
19193         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19194         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19195         macro.
19196         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19197         (print_version): Use PKGVERSION.
19198         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19199         (print_version): Use PKGVERSION.
19200         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19201         and PKGVERSION.
19203         * timezone/checktab.awk: Update from tzcode 2012i.
19204         * timezone/ialloc.c: Likewise.
19205         * timezone/private.h: Likewise.
19206         * timezone/scheck.c: Likewise.
19207         * timezone/tzfile.h: Likewise.
19208         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19209         (TZVERSION): Hardcode tzcode version number.
19210         * timezone/zdump.c: Update from tzcode 2012i.
19211         * timezone/zic.c: Likewise.
19212         * timezone/version.h: New file.
19213         * timezone/README: Describe version.h.  Update upstream location.
19215         [BZ #14824]
19216         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19217         (mktemp): Enable declaration.
19218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19219         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19221         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19222         Likewise.
19223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19224         Likewise.
19225         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19226         Likewise.
19227         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19228         Likewise.
19229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19230         Likewise.
19231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19232         Likewise.
19234         [BZ #14821]
19235         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19236         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19237         for copies of such integer values.
19238         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19239         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19241 2012-11-09  Andreas Jaeger  <aj@suse.de>
19243         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19244         definitions and declarations that are provided by
19245         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19247 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19249         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19250         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19251         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19252         definition.
19254 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19256         * elf/elf.h: Update comment before AArch64 relocations.
19258 2012-11-07  David S. Miller  <davem@davemloft.net>
19260         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19261         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19262         (__start_context): Declare.
19263         (__makecontext_ret): Delete.
19264         (__makecontext): Hook up __start_context instead of
19265         __makecontext_ret.
19266         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19267         (sysdep_routines): Add __start_context when in stdlib.
19269 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19271         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19272         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19273         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19274         hardcoded "nm".
19275         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19276         (READELF): New variable.  Use it instead of hardcoded "readelf".
19278 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19280         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19281         * sysdeps/x86/Makefile: Here.
19282         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19283         * sysdeps/x86/tst-xmmymm.sh: This.
19285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19287         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19288         expectations.
19289         [UNIX98] (pthread_barrier_t): Do not expect.
19290         [UNIX98] (pthread_barrierattr_t): Likewise.
19291         [UNIX98] (pthread_spinlock_t): Likewise.
19292         [UNIX98] (pthread_barrier_destroy): Likewise.
19293         [UNIX98] (pthread_barrier_init): Likewise.
19294         [UNIX98] (pthread_barrier_wait): Likewise.
19295         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19296         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19297         [UNIX98] (pthread_barrierattr_init): Likewise.
19298         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19299         [UNIX98] (pthread_getcpuclockid): Likewise.
19300         [UNIX98] (pthread_mutex_timedlock): Likewise.
19301         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19302         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19303         [UNIX98] (pthread_sigmask): Likewise.
19304         [UNIX98] (pthread_spin_destroy): Likewise.
19305         [UNIX98] (pthread_spin_init): Likewise.
19306         [UNIX98] (pthread_spin_lock): Likewise.
19307         [UNIX98] (pthread_spin_trylock): Likewise.
19308         [UNIX98] (pthread_spin_unlock): Likewise.
19309         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19310         Do not expect.
19311         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19312         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19313         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19314         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19315         [XPG3 || XPG4] (pthread_key_t): Likewise.
19316         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19317         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19318         [XPG3 || XPG4] (pthread_once_t): Likewise.
19319         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19320         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19321         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19322         [XPG3 || XPG4] (pthread_t): Likewise.
19324         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19325         not expect.
19326         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19328         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19329         Change function return type to int.
19331         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19332         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19333         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19334         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19335         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19336         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19337         [!POSIX] (posix_madvise): Likewise.
19338         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19339         && !UNIX98].
19340         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19341         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19342         (mode_t): Likewise.
19343         (posix_mem_offset): Likewise.
19344         (posix_typed_mem_get_info): Likewise.
19345         (posix_typed_mem_open): Likewise.
19347         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19348         Change condition to [XOPEN2K8].
19350         * conform/conformtest.pl: Preprocess allow-header data with -x c
19351         instead of from stdin.
19352         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19353         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19354         [C99-based standards] (cerfc): Likewise.
19355         [C99-based standards] (cexp2): Likewise.
19356         [C99-based standards] (cexpm1): Likewise.
19357         [C99-based standards] (clog10): Likewise.
19358         [C99-based standards] (clog1p): Likewise.
19359         [C99-based standards] (clog2): Likewise.
19360         [C99-based standards] (clgamma): Likewise.
19361         [C99-based standards] (ctgamma): Likewise.
19362         [C99-based standards] (cerff): Likewise.
19363         [C99-based standards] (cerfcf): Likewise.
19364         [C99-based standards] (cexp2f): Likewise.
19365         [C99-based standards] (cexpm1f): Likewise.
19366         [C99-based standards] (clog10f): Likewise.
19367         [C99-based standards] (clog1pf): Likewise.
19368         [C99-based standards] (clog2f): Likewise.
19369         [C99-based standards] (clgammaf): Likewise.
19370         [C99-based standards] (ctgammaf): Likewise.
19371         [C99-based standards] (cerfl): Likewise.
19372         [C99-based standards] (cerfcl): Likewise.
19373         [C99-based standards] (cexp2l): Likewise.
19374         [C99-based standards] (cexpm1l): Likewise.
19375         [C99-based standards] (clog10l): Likewise.
19376         [C99-based standards] (clog1pl): Likewise.
19377         [C99-based standards] (clog2l): Likewise.
19378         [C99-based standards] (clgammal): Likewise.
19379         [C99-based standards] (ctgammal): Likewise.
19380         * conform/data/inttypes.h-data [C99-based standards]: Include
19381         stdint.h-data.  Remove all expectations for stdint.h contents.
19382         [C99-based standards] (PRI*): Do not allow.
19383         [C99-based standards] (SCN*): Likewise.
19384         [C99-based standards] (*_t): Likewise.
19385         [C99-based-standards] (PRId8): Expect macro.
19386         [C99-based-standards] (PRIi8): Likewise.
19387         [C99-based-standards] (PRIo8): Likewise.
19388         [C99-based-standards] (PRIu8): Likewise.
19389         [C99-based-standards] (PRIx8): Likewise.
19390         [C99-based-standards] (PRIX8): Likewise.
19391         [C99-based-standards] (SCNd8): Likewise.
19392         [C99-based-standards] (SCNi8): Likewise.
19393         [C99-based-standards] (SCNo8): Likewise.
19394         [C99-based-standards] (SCNu8): Likewise.
19395         [C99-based-standards] (SCNx8): Likewise.
19396         [C99-based-standards] (PRIdLEAST8): Likewise.
19397         [C99-based-standards] (PRIiLEAST8): Likewise.
19398         [C99-based-standards] (PRIoLEAST8): Likewise.
19399         [C99-based-standards] (PRIuLEAST8): Likewise.
19400         [C99-based-standards] (PRIxLEAST8): Likewise.
19401         [C99-based-standards] (PRIXLEAST8): Likewise.
19402         [C99-based-standards] (SCNdLEAST8): Likewise.
19403         [C99-based-standards] (SCNiLEAST8): Likewise.
19404         [C99-based-standards] (SCNoLEAST8): Likewise.
19405         [C99-based-standards] (SCNuLEAST8): Likewise.
19406         [C99-based-standards] (SCNxLEAST8): Likewise.
19407         [C99-based-standards] (PRIdFAST8): Likewise.
19408         [C99-based-standards] (PRIiFAST8): Likewise.
19409         [C99-based-standards] (PRIoFAST8): Likewise.
19410         [C99-based-standards] (PRIuFAST8): Likewise.
19411         [C99-based-standards] (PRIxFAST8): Likewise.
19412         [C99-based-standards] (PRIXFAST8): Likewise.
19413         [C99-based-standards] (SCNdFAST8): Likewise.
19414         [C99-based-standards] (SCNiFAST8): Likewise.
19415         [C99-based-standards] (SCNoFAST8): Likewise.
19416         [C99-based-standards] (SCNuFAST8): Likewise.
19417         [C99-based-standards] (SCNxFAST8): Likewise.
19418         [C99-based-standards] (PRId16): Likewise.
19419         [C99-based-standards] (PRIi16): Likewise.
19420         [C99-based-standards] (PRIo16): Likewise.
19421         [C99-based-standards] (PRIu16): Likewise.
19422         [C99-based-standards] (PRIx16): Likewise.
19423         [C99-based-standards] (PRIX16): Likewise.
19424         [C99-based-standards] (SCNd16): Likewise.
19425         [C99-based-standards] (SCNi16): Likewise.
19426         [C99-based-standards] (SCNo16): Likewise.
19427         [C99-based-standards] (SCNu16): Likewise.
19428         [C99-based-standards] (SCNx16): Likewise.
19429         [C99-based-standards] (PRIdLEAST16): Likewise.
19430         [C99-based-standards] (PRIiLEAST16): Likewise.
19431         [C99-based-standards] (PRIoLEAST16): Likewise.
19432         [C99-based-standards] (PRIuLEAST16): Likewise.
19433         [C99-based-standards] (PRIxLEAST16): Likewise.
19434         [C99-based-standards] (PRIXLEAST16): Likewise.
19435         [C99-based-standards] (SCNdLEAST16): Likewise.
19436         [C99-based-standards] (SCNiLEAST16): Likewise.
19437         [C99-based-standards] (SCNoLEAST16): Likewise.
19438         [C99-based-standards] (SCNuLEAST16): Likewise.
19439         [C99-based-standards] (SCNxLEAST16): Likewise.
19440         [C99-based-standards] (PRIdFAST16): Likewise.
19441         [C99-based-standards] (PRIiFAST16): Likewise.
19442         [C99-based-standards] (PRIoFAST16): Likewise.
19443         [C99-based-standards] (PRIuFAST16): Likewise.
19444         [C99-based-standards] (PRIxFAST16): Likewise.
19445         [C99-based-standards] (PRIXFAST16): Likewise.
19446         [C99-based-standards] (SCNdFAST16): Likewise.
19447         [C99-based-standards] (SCNiFAST16): Likewise.
19448         [C99-based-standards] (SCNoFAST16): Likewise.
19449         [C99-based-standards] (SCNuFAST16): Likewise.
19450         [C99-based-standards] (SCNxFAST16): Likewise.
19451         [C99-based-standards] (PRId32): Likewise.
19452         [C99-based-standards] (PRIi32): Likewise.
19453         [C99-based-standards] (PRIo32): Likewise.
19454         [C99-based-standards] (PRIu32): Likewise.
19455         [C99-based-standards] (PRIx32): Likewise.
19456         [C99-based-standards] (PRIX32): Likewise.
19457         [C99-based-standards] (SCNd32): Likewise.
19458         [C99-based-standards] (SCNi32): Likewise.
19459         [C99-based-standards] (SCNo32): Likewise.
19460         [C99-based-standards] (SCNu32): Likewise.
19461         [C99-based-standards] (SCNx32): Likewise.
19462         [C99-based-standards] (PRIdLEAST32): Likewise.
19463         [C99-based-standards] (PRIiLEAST32): Likewise.
19464         [C99-based-standards] (PRIoLEAST32): Likewise.
19465         [C99-based-standards] (PRIuLEAST32): Likewise.
19466         [C99-based-standards] (PRIxLEAST32): Likewise.
19467         [C99-based-standards] (PRIXLEAST32): Likewise.
19468         [C99-based-standards] (SCNdLEAST32): Likewise.
19469         [C99-based-standards] (SCNiLEAST32): Likewise.
19470         [C99-based-standards] (SCNoLEAST32): Likewise.
19471         [C99-based-standards] (SCNuLEAST32): Likewise.
19472         [C99-based-standards] (SCNxLEAST32): Likewise.
19473         [C99-based-standards] (PRIdFAST32): Likewise.
19474         [C99-based-standards] (PRIiFAST32): Likewise.
19475         [C99-based-standards] (PRIoFAST32): Likewise.
19476         [C99-based-standards] (PRIuFAST32): Likewise.
19477         [C99-based-standards] (PRIxFAST32): Likewise.
19478         [C99-based-standards] (PRIXFAST32): Likewise.
19479         [C99-based-standards] (SCNdFAST32): Likewise.
19480         [C99-based-standards] (SCNiFAST32): Likewise.
19481         [C99-based-standards] (SCNoFAST32): Likewise.
19482         [C99-based-standards] (SCNuFAST32): Likewise.
19483         [C99-based-standards] (SCNxFAST32): Likewise.
19484         [C99-based-standards] (PRId64): Likewise.
19485         [C99-based-standards] (PRIi64): Likewise.
19486         [C99-based-standards] (PRIo64): Likewise.
19487         [C99-based-standards] (PRIu64): Likewise.
19488         [C99-based-standards] (PRIx64): Likewise.
19489         [C99-based-standards] (PRIX64): Likewise.
19490         [C99-based-standards] (SCNd64): Likewise.
19491         [C99-based-standards] (SCNi64): Likewise.
19492         [C99-based-standards] (SCNo64): Likewise.
19493         [C99-based-standards] (SCNu64): Likewise.
19494         [C99-based-standards] (SCNx64): Likewise.
19495         [C99-based-standards] (PRIdLEAST64): Likewise.
19496         [C99-based-standards] (PRIiLEAST64): Likewise.
19497         [C99-based-standards] (PRIoLEAST64): Likewise.
19498         [C99-based-standards] (PRIuLEAST64): Likewise.
19499         [C99-based-standards] (PRIxLEAST64): Likewise.
19500         [C99-based-standards] (PRIXLEAST64): Likewise.
19501         [C99-based-standards] (SCNdLEAST64): Likewise.
19502         [C99-based-standards] (SCNiLEAST64): Likewise.
19503         [C99-based-standards] (SCNoLEAST64): Likewise.
19504         [C99-based-standards] (SCNuLEAST64): Likewise.
19505         [C99-based-standards] (SCNxLEAST64): Likewise.
19506         [C99-based-standards] (PRIdFAST64): Likewise.
19507         [C99-based-standards] (PRIiFAST64): Likewise.
19508         [C99-based-standards] (PRIoFAST64): Likewise.
19509         [C99-based-standards] (PRIuFAST64): Likewise.
19510         [C99-based-standards] (PRIxFAST64): Likewise.
19511         [C99-based-standards] (PRIXFAST64): Likewise.
19512         [C99-based-standards] (SCNdFAST64): Likewise.
19513         [C99-based-standards] (SCNiFAST64): Likewise.
19514         [C99-based-standards] (SCNoFAST64): Likewise.
19515         [C99-based-standards] (SCNuFAST64): Likewise.
19516         [C99-based-standards] (SCNxFAST64): Likewise.
19517         [C99-based-standards] (PRIdMAX): Likewise.
19518         [C99-based-standards] (PRIiMAX): Likewise.
19519         [C99-based-standards] (PRIoMAX): Likewise.
19520         [C99-based-standards] (PRIuMAX): Likewise.
19521         [C99-based-standards] (PRIxMAX): Likewise.
19522         [C99-based-standards] (PRIXMAX): Likewise.
19523         [C99-based-standards] (SCNdMAX): Likewise.
19524         [C99-based-standards] (SCNiMAX): Likewise.
19525         [C99-based-standards] (SCNoMAX): Likewise.
19526         [C99-based-standards] (SCNuMAX): Likewise.
19527         [C99-based-standards] (SCNxMAX): Likewise.
19528         [C99-based-standards] (PRIdPTR): Likewise.
19529         [C99-based-standards] (PRIiPTR): Likewise.
19530         [C99-based-standards] (PRIoPTR): Likewise.
19531         [C99-based-standards] (PRIuPTR): Likewise.
19532         [C99-based-standards] (PRIxPTR): Likewise.
19533         [C99-based-standards] (PRIXPTR): Likewise.
19534         [C99-based-standards] (SCNdPTR): Likewise.
19535         [C99-based-standards] (SCNiPTR): Likewise.
19536         [C99-based-standards] (SCNoPTR): Likewise.
19537         [C99-based-standards] (SCNuPTR): Likewise.
19538         [C99-based-standards] (SCNxPTR): Likewise.
19539         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
19540         allow.
19541         * conform/data/stdint.h-data: Update comments to clarify
19542         requirements.
19543         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
19544         type.
19545         [C99-based standards] (INT8_MAX): Likewise.
19546         [C99-based standards] (INT16_MIN): Likewise.
19547         [C99-based standards] (INT16_MAX): Likewise.
19548         [C99-based standards] (INT32_MIN): Likewise.
19549         [C99-based standards] (INT32_MAX): Likewise.
19550         [C99-based standards] (INT64_MIN): Likewise.
19551         [C99-based standards] (INT64_MAX): Likewise.
19552         [C99-based standards] (UINT8_MAX): Likewise.
19553         [C99-based standards] (UINT16_MAX): Likewise.
19554         [C99-based standards] (UINT32_MAX): Likewise.
19555         [C99-based standards] (UINT64_MAX): Likewise.
19556         [C99-based standards] (INT_LEAST8_MIN): Likewise.
19557         [C99-based standards] (INT_LEAST8_MAX): Likewise.
19558         [C99-based standards] (INT_LEAST16_MIN): Likewise.
19559         [C99-based standards] (INT_LEAST16_MAX): Likewise.
19560         [C99-based standards] (INT_LEAST32_MIN): Likewise.
19561         [C99-based standards] (INT_LEAST32_MAX): Likewise.
19562         [C99-based standards] (INT_LEAST64_MIN): Likewise.
19563         [C99-based standards] (INT_LEAST64_MAX): Likewise.
19564         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
19565         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
19566         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
19567         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
19568         [C99-based standards] (INT_FAST8_MIN): Likewise.
19569         [C99-based standards] (INT_FAST8_MAX): Likewise.
19570         [C99-based standards] (INT_FAST16_MIN): Likewise.
19571         [C99-based standards] (INT_FAST16_MAX): Likewise.
19572         [C99-based standards] (INT_FAST32_MIN): Likewise.
19573         [C99-based standards] (INT_FAST32_MAX): Likewise.
19574         [C99-based standards] (INT_FAST64_MIN): Likewise.
19575         [C99-based standards] (INT_FAST64_MAX): Likewise.
19576         [C99-based standards] (UINT_FAST8_MAX): Likewise.
19577         [C99-based standards] (UINT_FAST16_MAX): Likewise.
19578         [C99-based standards] (UINT_FAST32_MAX): Likewise.
19579         [C99-based standards] (UINT_FAST64_MAX): Likewise.
19580         [C99-based standards] (INTPTR_MIN): Likewise.
19581         [C99-based standards] (INTPTR_MAX): Likewise.
19582         [C99-based standards] (UINTPTR_MAX): Likewise.
19583         [C99-based standards] (INTMAX_MIN): Likewise.
19584         [C99-based standards] (INTMAX_MAX): Likewise.
19585         [C99-based standards] (UINTMAX_MAX): Likewise.
19586         [C99-based standards] (PTRDIFF_MIN): Likewise.
19587         [C99-based standards] (PTRDIFF_MAX): Likewise.
19588         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
19589         [C99-based standards] (SIZE_MAX): Likewise.
19590         [C99-based standards] (WCHAR_MAX): Likewise.
19591         [C99-based standards] (WINT_MAX): Likewise.
19592         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
19593         constraint on value.
19594         [C99-based standards] (WCHAR_MIN): Likewise.
19595         [C99-based standards] (WINT_MIN): Likewise.
19596         [C99-based standards] (*_t): Allow.
19597         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
19598         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
19599         Include math.h-data and complex.h-data.  Remove all expectations
19600         of math.h and complex.h contents.
19601         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
19602         at end of line.
19603         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
19604         (struct tm): Expect tag.
19605         [C99-based-standards] (wcstof): Expect function.
19606         [C99-based-standards] (wcstold): Likewise.
19607         [C99-based-standards] (wcstoll): Likewise.
19608         [C99-based-standards] (wcstoull): Likewise.
19609         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
19610         macro-int-constant.  Specify type.
19611         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
19612         constraint on value.
19613         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19614         Specify type.
19615         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
19616         Specify value.
19617         [ISO C standards]: Do not allow headers.
19618         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
19619         wcs[abcdefghijklmnopqrstuvwxyz]*.
19620         [ISO C standards] (*_t): Do not allow.
19621         * conform/data/wctype.h-data [C99-based standards] (iswblank):
19622         Expect function.
19623         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
19624         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19625         Specify type.
19626         [ISO C standards]: Do not allow headers.
19627         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
19628         is[abcdefghijklmnopqrstuvwxyz]*.
19629         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
19630         to[abcdefghijklmnopqrstuvwxyz]*.
19631         [ISO C standards] (*_t): Do not allow.
19632         * conform/data/stdalign.h-data: New file.
19633         * conform/data/stdbool.h-data: Likewise.
19634         * conform/data/stdnoreturn.h-data: Likewise.
19636 2012-11-07  Roland McGrath  <roland@hack.frob.com>
19638         [BZ #14815]
19639         * manual/filesys.texi (Directory Entries): Typo fix.
19640         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
19642 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19644         * elf/elf.h (EM_AARCH64): New macro.
19645         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19646         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
19647         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
19648         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
19649         (R_AARCH64_TLSDESC): Likewise.
19650         (NT_ARM_TLS): Likewise.
19651         (NT_ARM_HW_BREAK): Likewise.
19652         (NT_ARM_HW_WATCH): Likewise.
19654 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19656         [BZ #14811]
19657         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
19658         (__ieee754_powl): Saturate nonzero exponents with absolute value
19659         below 0x1p-79 to +/- 0x1p-79.
19660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
19661         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
19662         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
19663         nonzero exponents with absolute value below 0x1p-32 to +/-
19664         0x1p-32.
19665         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
19666         (__ieee754_powl): Saturate nonzero exponents with absolute value
19667         below 0x1p-79 to +/- 0x1p-79.
19668         * math/libm-test.inc (pow_test): Add more tests.
19670 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19672         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
19673         _dl_s390_cap_flags with kernel. Increase string length.
19674         (_dl_s390_platforms): Add z196 and zEC12.
19676 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19678         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
19679         Change XOPEN21K to XOPEN2K.
19681 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
19683         * string/memmove.c: Use memcpy when possible.
19685 2012-11-06  Andreas Jaeger  <aj@suse.de>
19687         * po/eo.po: Update from translation team.
19689 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
19691         [BZ #14793]
19692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
19693         exponent and small x and y exponents, scale x or y up.  Increase
19694         by 2 the exponent used in scaling up.
19695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19697         * math/libm-test.inc (fma_test): Add more tests.
19698         (fma_test_towardzero): Likewise.
19699         (fma_test_downward): Likewise.
19700         (fma_test_upward): Likewise.
19702 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #14805]
19705         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19706         fenv_t *.
19708         [BZ #14801]
19709         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19710         namespace for names of struct fields.
19711         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19712         fenv_t fields.
19713         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19714         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19716 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19718         [BZ #3665]
19719         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19721 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19723         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19724         PTR_DEMANGLE.
19726         [BZ #5246]
19727         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19728         PTR_DEMANGLE.
19730 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
19732         [BZ #14797]
19733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19734         definitely overflow as x * y not x * y + z.
19735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19737         * math/libm-test.inc (fma_test): Add more tests.
19738         (fma_test_towardzero): Likewise.
19739         (fma_test_downward): Likewise.
19740         (fma_test_upward): Likewise.
19742 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19744         [BZ #157]
19746         * include/stub-tag.h: Remove file.
19747         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19748         '#include' of it.
19749         * manual/maint.texi (Porting): Don't reference it.
19750         * Makerules ($(objpfx)stubs): Likewise.
19751         * dirent/closedir.c: Don't include <stub-tag.h>.
19752         * dirent/dirfd.c: Likewise.
19753         * dirent/fdopendir.c: Likewise.
19754         * dirent/getdents.c: Likewise.
19755         * dirent/getdents64.c: Likewise.
19756         * dirent/opendir.c: Likewise.
19757         * dirent/readdir.c: Likewise.
19758         * dirent/readdir64.c: Likewise.
19759         * dirent/readdir64_r.c: Likewise.
19760         * dirent/readdir_r.c: Likewise.
19761         * dirent/rewinddir.c: Likewise.
19762         * dirent/seekdir.c: Likewise.
19763         * dirent/telldir.c: Likewise.
19764         * gmon/profil.c: Likewise.
19765         * grp/setgroups.c: Likewise.
19766         * inet/if_index.c: Likewise.
19767         * io/access.c: Likewise.
19768         * io/chdir.c: Likewise.
19769         * io/chmod.c: Likewise.
19770         * io/chown.c: Likewise.
19771         * io/close.c: Likewise.
19772         * io/dup.c: Likewise.
19773         * io/dup2.c: Likewise.
19774         * io/dup3.c: Likewise.
19775         * io/euidaccess.c: Likewise.
19776         * io/faccessat.c: Likewise.
19777         * io/fchdir.c: Likewise.
19778         * io/fchmod.c: Likewise.
19779         * io/fchmodat.c: Likewise.
19780         * io/fchown.c: Likewise.
19781         * io/fchownat.c: Likewise.
19782         * io/fcntl.c: Likewise.
19783         * io/flock.c: Likewise.
19784         * io/fstatfs.c: Likewise.
19785         * io/fstatfs64.c: Likewise.
19786         * io/fstatvfs.c: Likewise.
19787         * io/fstatvfs64.c: Likewise.
19788         * io/futimens.c: Likewise.
19789         * io/fxstat.c: Likewise.
19790         * io/fxstat64.c: Likewise.
19791         * io/fxstatat.c: Likewise.
19792         * io/fxstatat64.c: Likewise.
19793         * io/getcwd.c: Likewise.
19794         * io/isatty.c: Likewise.
19795         * io/lchmod.c: Likewise.
19796         * io/lchown.c: Likewise.
19797         * io/link.c: Likewise.
19798         * io/linkat.c: Likewise.
19799         * io/lseek.c: Likewise.
19800         * io/lseek64.c: Likewise.
19801         * io/lxstat64.c: Likewise.
19802         * io/mkdir.c: Likewise.
19803         * io/mkdirat.c: Likewise.
19804         * io/mkfifo.c: Likewise.
19805         * io/mkfifoat.c: Likewise.
19806         * io/open.c: Likewise.
19807         * io/open64.c: Likewise.
19808         * io/openat.c: Likewise.
19809         * io/openat64.c: Likewise.
19810         * io/pipe.c: Likewise.
19811         * io/pipe2.c: Likewise.
19812         * io/poll.c: Likewise.
19813         * io/posix_fadvise.c: Likewise.
19814         * io/posix_fadvise64.c: Likewise.
19815         * io/posix_fallocate.c: Likewise.
19816         * io/posix_fallocate64.c: Likewise.
19817         * io/read.c: Likewise.
19818         * io/readlink.c: Likewise.
19819         * io/readlinkat.c: Likewise.
19820         * io/rmdir.c: Likewise.
19821         * io/sendfile.c: Likewise.
19822         * io/sendfile64.c: Likewise.
19823         * io/statfs.c: Likewise.
19824         * io/statfs64.c: Likewise.
19825         * io/statvfs.c: Likewise.
19826         * io/statvfs64.c: Likewise.
19827         * io/symlink.c: Likewise.
19828         * io/symlinkat.c: Likewise.
19829         * io/ttyname.c: Likewise.
19830         * io/ttyname_r.c: Likewise.
19831         * io/umask.c: Likewise.
19832         * io/unlink.c: Likewise.
19833         * io/unlinkat.c: Likewise.
19834         * io/utime.c: Likewise.
19835         * io/utimensat.c: Likewise.
19836         * io/write.c: Likewise.
19837         * io/xmknod.c: Likewise.
19838         * io/xmknodat.c: Likewise.
19839         * io/xstat.c: Likewise.
19840         * io/xstat64.c: Likewise.
19841         * login/getpt.c: Likewise.
19842         * login/grantpt.c: Likewise.
19843         * login/unlockpt.c: Likewise.
19844         * math/e_acoshl.c: Likewise.
19845         * math/e_acosl.c: Likewise.
19846         * math/e_asinl.c: Likewise.
19847         * math/e_atan2l.c: Likewise.
19848         * math/e_atanhl.c: Likewise.
19849         * math/e_coshl.c: Likewise.
19850         * math/e_expl.c: Likewise.
19851         * math/e_fmodl.c: Likewise.
19852         * math/e_gammal_r.c: Likewise.
19853         * math/e_hypotl.c: Likewise.
19854         * math/e_j0l.c: Likewise.
19855         * math/e_j1l.c: Likewise.
19856         * math/e_jnl.c: Likewise.
19857         * math/e_lgammal_r.c: Likewise.
19858         * math/e_log10l.c: Likewise.
19859         * math/e_log2l.c: Likewise.
19860         * math/e_logl.c: Likewise.
19861         * math/e_powl.c: Likewise.
19862         * math/e_rem_pio2l.c: Likewise.
19863         * math/e_sinhl.c: Likewise.
19864         * math/e_sqrtl.c: Likewise.
19865         * math/fclrexcpt.c: Likewise.
19866         * math/fedisblxcpt.c: Likewise.
19867         * math/feenablxcpt.c: Likewise.
19868         * math/fegetenv.c: Likewise.
19869         * math/fegetexcept.c: Likewise.
19870         * math/fegetround.c: Likewise.
19871         * math/feholdexcpt.c: Likewise.
19872         * math/fesetenv.c: Likewise.
19873         * math/fesetround.c: Likewise.
19874         * math/feupdateenv.c: Likewise.
19875         * math/fgetexcptflg.c: Likewise.
19876         * math/fraiseexcpt.c: Likewise.
19877         * math/fsetexcptflg.c: Likewise.
19878         * math/ftestexcept.c: Likewise.
19879         * math/k_cosl.c: Likewise.
19880         * math/k_rem_pio2l.c: Likewise.
19881         * math/k_sinl.c: Likewise.
19882         * math/k_tanl.c: Likewise.
19883         * math/s_asinhl.c: Likewise.
19884         * math/s_atanl.c: Likewise.
19885         * math/s_cbrtl.c: Likewise.
19886         * math/s_erfl.c: Likewise.
19887         * math/s_expm1l.c: Likewise.
19888         * math/s_log1pl.c: Likewise.
19889         * math/s_tanhl.c: Likewise.
19890         * misc/acct.c: Likewise.
19891         * misc/brk.c: Likewise.
19892         * misc/chflags.c: Likewise.
19893         * misc/chroot.c: Likewise.
19894         * misc/fchflags.c: Likewise.
19895         * misc/fgetxattr.c: Likewise.
19896         * misc/flistxattr.c: Likewise.
19897         * misc/fremovexattr.c: Likewise.
19898         * misc/fsetxattr.c: Likewise.
19899         * misc/fsync.c: Likewise.
19900         * misc/ftruncate.c: Likewise.
19901         * misc/futimes.c: Likewise.
19902         * misc/futimesat.c: Likewise.
19903         * misc/getdomain.c: Likewise.
19904         * misc/getdtsz.c: Likewise.
19905         * misc/gethostid.c: Likewise.
19906         * misc/gethostname.c: Likewise.
19907         * misc/getloadavg.c: Likewise.
19908         * misc/getpagesize.c: Likewise.
19909         * misc/getsysstats.c: Likewise.
19910         * misc/getxattr.c: Likewise.
19911         * misc/gtty.c: Likewise.
19912         * misc/ioctl.c: Likewise.
19913         * misc/lgetxattr.c: Likewise.
19914         * misc/listxattr.c: Likewise.
19915         * misc/llistxattr.c: Likewise.
19916         * misc/lremovexattr.c: Likewise.
19917         * misc/lsetxattr.c: Likewise.
19918         * misc/lutimes.c: Likewise.
19919         * misc/madvise.c: Likewise.
19920         * misc/mincore.c: Likewise.
19921         * misc/mlock.c: Likewise.
19922         * misc/mlockall.c: Likewise.
19923         * misc/mmap.c: Likewise.
19924         * misc/mprotect.c: Likewise.
19925         * misc/msync.c: Likewise.
19926         * misc/munlock.c: Likewise.
19927         * misc/munlockall.c: Likewise.
19928         * misc/munmap.c: Likewise.
19929         * misc/preadv.c: Likewise.
19930         * misc/preadv64.c: Likewise.
19931         * misc/ptrace.c: Likewise.
19932         * misc/pwritev.c: Likewise.
19933         * misc/pwritev64.c: Likewise.
19934         * misc/readv.c: Likewise.
19935         * misc/reboot.c: Likewise.
19936         * misc/remap_file_pages.c: Likewise.
19937         * misc/removexattr.c: Likewise.
19938         * misc/revoke.c: Likewise.
19939         * misc/select.c: Likewise.
19940         * misc/setdomain.c: Likewise.
19941         * misc/setegid.c: Likewise.
19942         * misc/seteuid.c: Likewise.
19943         * misc/sethostid.c: Likewise.
19944         * misc/sethostname.c: Likewise.
19945         * misc/setregid.c: Likewise.
19946         * misc/setreuid.c: Likewise.
19947         * misc/setxattr.c: Likewise.
19948         * misc/sstk.c: Likewise.
19949         * misc/stty.c: Likewise.
19950         * misc/swapoff.c: Likewise.
19951         * misc/swapon.c: Likewise.
19952         * misc/sync.c: Likewise.
19953         * misc/syncfs.c: Likewise.
19954         * misc/syscall.c: Likewise.
19955         * misc/truncate.c: Likewise.
19956         * misc/ualarm.c: Likewise.
19957         * misc/usleep.c: Likewise.
19958         * misc/ustat.c: Likewise.
19959         * misc/utimes.c: Likewise.
19960         * misc/vhangup.c: Likewise.
19961         * misc/writev.c: Likewise.
19962         * posix/_exit.c: Likewise.
19963         * posix/alarm.c: Likewise.
19964         * posix/execve.c: Likewise.
19965         * posix/fexecve.c: Likewise.
19966         * posix/fork.c: Likewise.
19967         * posix/fpathconf.c: Likewise.
19968         * posix/getaddrinfo.c: Likewise.
19969         * posix/getegid.c: Likewise.
19970         * posix/geteuid.c: Likewise.
19971         * posix/getgid.c: Likewise.
19972         * posix/getgroups.c: Likewise.
19973         * posix/getlogin.c: Likewise.
19974         * posix/getlogin_r.c: Likewise.
19975         * posix/getpgid.c: Likewise.
19976         * posix/getpid.c: Likewise.
19977         * posix/getppid.c: Likewise.
19978         * posix/getresgid.c: Likewise.
19979         * posix/getresuid.c: Likewise.
19980         * posix/getsid.c: Likewise.
19981         * posix/getuid.c: Likewise.
19982         * posix/glob64.c: Likewise.
19983         * posix/nanosleep.c: Likewise.
19984         * posix/pathconf.c: Likewise.
19985         * posix/pause.c: Likewise.
19986         * posix/posix_madvise.c: Likewise.
19987         * posix/pread.c: Likewise.
19988         * posix/pread64.c: Likewise.
19989         * posix/pwrite.c: Likewise.
19990         * posix/pwrite64.c: Likewise.
19991         * posix/sched_getaffinity.c: Likewise.
19992         * posix/sched_getp.c: Likewise.
19993         * posix/sched_gets.c: Likewise.
19994         * posix/sched_primax.c: Likewise.
19995         * posix/sched_primin.c: Likewise.
19996         * posix/sched_rr_gi.c: Likewise.
19997         * posix/sched_setaffinity.c: Likewise.
19998         * posix/sched_setp.c: Likewise.
19999         * posix/sched_sets.c: Likewise.
20000         * posix/sched_yield.c: Likewise.
20001         * posix/setgid.c: Likewise.
20002         * posix/setlogin.c: Likewise.
20003         * posix/setpgid.c: Likewise.
20004         * posix/setresgid.c: Likewise.
20005         * posix/setresuid.c: Likewise.
20006         * posix/setsid.c: Likewise.
20007         * posix/setuid.c: Likewise.
20008         * posix/sleep.c: Likewise.
20009         * posix/spawni.c: Likewise.
20010         * posix/sysconf.c: Likewise.
20011         * posix/times.c: Likewise.
20012         * posix/wait.c: Likewise.
20013         * posix/wait3.c: Likewise.
20014         * posix/wait4.c: Likewise.
20015         * posix/waitpid.c: Likewise.
20016         * resolv/gai_sigqueue.c: Likewise.
20017         * resource/getpriority.c: Likewise.
20018         * resource/getrlimit.c: Likewise.
20019         * resource/getrusage.c: Likewise.
20020         * resource/nice.c: Likewise.
20021         * resource/setpriority.c: Likewise.
20022         * resource/setrlimit.c: Likewise.
20023         * resource/ulimit.c: Likewise.
20024         * rt/aio_cancel.c: Likewise.
20025         * rt/aio_fsync.c: Likewise.
20026         * rt/aio_read.c: Likewise.
20027         * rt/aio_sigqueue.c: Likewise.
20028         * rt/aio_suspend.c: Likewise.
20029         * rt/aio_write.c: Likewise.
20030         * rt/clock_getres.c: Likewise.
20031         * rt/clock_gettime.c: Likewise.
20032         * rt/clock_nanosleep.c: Likewise.
20033         * rt/clock_settime.c: Likewise.
20034         * rt/lio_listio.c: Likewise.
20035         * rt/mq_close.c: Likewise.
20036         * rt/mq_getattr.c: Likewise.
20037         * rt/mq_notify.c: Likewise.
20038         * rt/mq_open.c: Likewise.
20039         * rt/mq_receive.c: Likewise.
20040         * rt/mq_send.c: Likewise.
20041         * rt/mq_setattr.c: Likewise.
20042         * rt/mq_timedreceive.c: Likewise.
20043         * rt/mq_timedsend.c: Likewise.
20044         * rt/mq_unlink.c: Likewise.
20045         * rt/shm_open.c: Likewise.
20046         * rt/shm_unlink.c: Likewise.
20047         * rt/timer_create.c: Likewise.
20048         * rt/timer_delete.c: Likewise.
20049         * rt/timer_getoverr.c: Likewise.
20050         * rt/timer_gettime.c: Likewise.
20051         * rt/timer_settime.c: Likewise.
20052         * setjmp/__longjmp.c: Likewise.
20053         * setjmp/setjmp.c: Likewise.
20054         * signal/kill.c: Likewise.
20055         * signal/killpg.c: Likewise.
20056         * signal/raise.c: Likewise.
20057         * signal/sigaction.c: Likewise.
20058         * signal/sigaltstack.c: Likewise.
20059         * signal/sigblock.c: Likewise.
20060         * signal/sigignore.c: Likewise.
20061         * signal/sigintr.c: Likewise.
20062         * signal/signal.c: Likewise.
20063         * signal/sigpause.c: Likewise.
20064         * signal/sigpending.c: Likewise.
20065         * signal/sigqueue.c: Likewise.
20066         * signal/sigreturn.c: Likewise.
20067         * signal/sigset.c: Likewise.
20068         * signal/sigsetmask.c: Likewise.
20069         * signal/sigstack.c: Likewise.
20070         * signal/sigsuspend.c: Likewise.
20071         * signal/sigtimedwait.c: Likewise.
20072         * signal/sigvec.c: Likewise.
20073         * signal/sigwait.c: Likewise.
20074         * signal/sigwaitinfo.c: Likewise.
20075         * signal/sysv_signal.c: Likewise.
20076         * socket/accept.c: Likewise.
20077         * socket/accept4.c: Likewise.
20078         * socket/bind.c: Likewise.
20079         * socket/connect.c: Likewise.
20080         * socket/getpeername.c: Likewise.
20081         * socket/getsockname.c: Likewise.
20082         * socket/getsockopt.c: Likewise.
20083         * socket/isfdtype.c: Likewise.
20084         * socket/listen.c: Likewise.
20085         * socket/recv.c: Likewise.
20086         * socket/recvfrom.c: Likewise.
20087         * socket/recvmsg.c: Likewise.
20088         * socket/send.c: Likewise.
20089         * socket/sendmsg.c: Likewise.
20090         * socket/sendto.c: Likewise.
20091         * socket/setsockopt.c: Likewise.
20092         * socket/shutdown.c: Likewise.
20093         * socket/sockatmark.c: Likewise.
20094         * socket/socket.c: Likewise.
20095         * socket/socketpair.c: Likewise.
20096         * stdio-common/ctermid.c: Likewise.
20097         * stdio-common/cuserid.c: Likewise.
20098         * stdio-common/remove.c: Likewise.
20099         * stdio-common/rename.c: Likewise.
20100         * stdio-common/renameat.c: Likewise.
20101         * stdio-common/tempname.c: Likewise.
20102         * stdlib/getcontext.c: Likewise.
20103         * stdlib/makecontext.c: Likewise.
20104         * stdlib/setcontext.c: Likewise.
20105         * stdlib/swapcontext.c: Likewise.
20106         * stdlib/system.c: Likewise.
20107         * streams/fattach.c: Likewise.
20108         * streams/fdetach.c: Likewise.
20109         * streams/getmsg.c: Likewise.
20110         * streams/getpmsg.c: Likewise.
20111         * streams/putmsg.c: Likewise.
20112         * streams/putpmsg.c: Likewise.
20113         * sysdeps/unix/bsd/getpt.c: Likewise.
20114         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20115         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20116         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20118         Likewise.
20119         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20120         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20121         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20122         * sysvipc/msgctl.c: Likewise.
20123         * sysvipc/msgget.c: Likewise.
20124         * sysvipc/msgrcv.c: Likewise.
20125         * sysvipc/msgsnd.c: Likewise.
20126         * sysvipc/semctl.c: Likewise.
20127         * sysvipc/semget.c: Likewise.
20128         * sysvipc/semop.c: Likewise.
20129         * sysvipc/semtimedop.c: Likewise.
20130         * sysvipc/shmat.c: Likewise.
20131         * sysvipc/shmctl.c: Likewise.
20132         * sysvipc/shmdt.c: Likewise.
20133         * sysvipc/shmget.c: Likewise.
20134         * termios/tcdrain.c: Likewise.
20135         * termios/tcflow.c: Likewise.
20136         * termios/tcflush.c: Likewise.
20137         * termios/tcgetattr.c: Likewise.
20138         * termios/tcgetpgrp.c: Likewise.
20139         * termios/tcsendbrk.c: Likewise.
20140         * termios/tcsetattr.c: Likewise.
20141         * termios/tcsetpgrp.c: Likewise.
20142         * time/adjtime.c: Likewise.
20143         * time/clock.c: Likewise.
20144         * time/getitimer.c: Likewise.
20145         * time/gettimeofday.c: Likewise.
20146         * time/setitimer.c: Likewise.
20147         * time/settimeofday.c: Likewise.
20148         * time/stime.c: Likewise.
20149         * time/time.c: Likewise.
20151 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20153         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20154         /usr/old/bin.
20156         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20157         instead of spaces.
20158         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20160 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20162         [BZ #14796]
20163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20164         FE_TONEAREST before applying Dekker multiplication and Knuth
20165         addition.  Clear inexact exceptions and check for exact zero
20166         results afterwards.
20167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20168         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20169         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20170         * math/libm-test.inc (fma_test): Add more tests.
20171         (fma_test_towardzero): Likewise.
20172         (fma_test_downward): Likewise.
20173         (fma_test_upward): Likewise.
20174         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20175         function.
20176         (libc_fesetround): New macro.
20177         (libc_fesetroundf): Likewise.
20178         (libc_fesetroundl): Likewise.
20179         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20180         function.
20181         (libc_fesetround_387): Likewise.
20182         (libc_fesetroundf): New macro.
20183         (libc_fesetround): Likewise.
20184         (libc_fesetroundl): Likewise.
20185         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20186         function.
20187         (libc_fesetroundf): New macro.
20188         (libc_fesetround): Likewise.
20189         (libc_fesetroundl): Likewise.
20190         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20191         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20192         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20193         libm_hidden_ver.
20194         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20195         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20196         libm_hidden_def.
20197         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20198         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20199         libm_hidden_ver.
20200         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20201         libm_hidden_def.
20203         [BZ #3439]
20204         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20205         integer constant usable in #if and use that to give value to enum
20206         constant.
20207         (FE_DIVBYZERO): Likewise.
20208         (FE_UNDERFLOW): Likewise.
20209         (FE_OVERFLOW): Likewise.
20210         (FE_INVALID): Likewise.
20211         (FE_INVALID_SNAN): Likewise.
20212         (FE_INVALID_ISI): Likewise.
20213         (FE_INVALID_IDI): Likewise.
20214         (FE_INVALID_ZDZ): Likewise.
20215         (FE_INVALID_IMZ): Likewise.
20216         (FE_INVALID_COMPARE): Likewise.
20217         (FE_INVALID_SOFTWARE): Likewise.
20218         (FE_INVALID_SQRT): Likewise.
20219         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20220         (FE_TONEAREST): Likewise.
20221         (FE_TOWARDZERO): Likewise.
20222         (FE_UPWARD): Likewise.
20223         (FE_DOWNWARD): Likewise.
20224         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20225         (FE_DIVBYZERO): Likewise.
20226         (FE_OVERFLOW): Likewise.
20227         (FE_UNDERFLOW): Likewise.
20228         (FE_INEXACT): Likewise.
20229         (FE_TONEAREST): Likewise.
20230         (FE_DOWNWARD): Likewise.
20231         (FE_UPWARD): Likewise.
20232         (FE_TOWARDZERO): Likewise.
20233         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20234         (FE_UNDERFLOW): Likewise.
20235         (FE_OVERFLOW): Likewise.
20236         (FE_DIVBYZERO): Likewise.
20237         (FE_INVALID): Likewise.
20238         (FE_TONEAREST): Likewise.
20239         (FE_TOWARDZERO): Likewise.
20240         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20241         (FE_OVERFLOW): Likewise.
20242         (FE_UNDERFLOW): Likewise.
20243         (FE_DIVBYZERO): Likewise.
20244         (FE_INEXACT): Likewise.
20245         (FE_TONEAREST): Likewise.
20246         (FE_TOWARDZERO): Likewise.
20247         (FE_UPWARD): Likewise.
20248         (FE_DOWNWARD): Likewise.
20249         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20250         (FE_DIVBYZERO): Likewise.
20251         (FE_OVERFLOW): Likewise.
20252         (FE_UNDERFLOW): Likewise.
20253         (FE_INEXACT): Likewise.
20254         (FE_TONEAREST): Likewise.
20255         (FE_DOWNWARD): Likewise.
20256         (FE_UPWARD): Likewise.
20257         (FE_TOWARDZERO): Likewise.
20259 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20261         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20263 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20265         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20266         commands.  Quote $PWD.
20267         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20268         -x" by "export".
20269         (remove_newlines): Remove.
20271 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20273         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20274         * stdlib/stdlib.h (atof): Moved to ...
20275         * include/bits/stdlib-float.h: Here.  New file.
20276         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20277         * stdlib/bits/stdlib-float.h: New file.
20278         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20279         -mno-sse -mno-mmx.
20280         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20281         <xmmintrin.h>.
20283 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20285         * conform/conformtest.pl (@headers): Add fenv.h.
20286         * conform/data/fenv.h-data: New file.
20287         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20288         include of <math/fenv.h>.
20290         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20291         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20292         && !UNIX98].  Enables tests for XOPEN2K8.
20293         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20294         POSIX2008]: Likewise.
20296         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20297         (struct rusage): Do not expect type or its members.
20299         [BZ #3439]
20300         * math/math.h (FP_NAN): Define macro to integer constant usable in
20301         #if and use that to give value to enum constant.
20302         (FP_INFINITE): Likewise.
20303         (FP_ZERO): Likewise.
20304         (FP_SUBNORMAL): Likewise.
20305         (FP_NORMAL): Likewise.
20307 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20309         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20310         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20311         arguments.
20313 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20315         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20316         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20317         autoconf-time if not.
20318         * configure.in: Remove AC_PREREQ.
20320 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20322         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20323         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20324         of the internal implementation.
20326 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20328         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20329         except include of <misc/sys/syslog.h>.
20331 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20334         function returns with a NULL context exit with zero.
20336 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20338         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20340 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20342         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20343         (run_program_cmd): This.
20344         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20345         (tst_langinfo): New variable.  Use it.
20347 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20349         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20350         floating point opcodes.
20352 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20354         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20355         variable.
20357         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20359         * sysdeps/mach/hurd/powerpc: Remove directory.
20360         * sysdeps/mach/powerpc: Likewise.
20362 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20364         * scripts/check-local-headers.sh: Ignore c++ headers.
20366 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20368         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20369         __libc_cleanup_region_start argument.
20371 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20373         [BZ #14784]
20374         [BZ #14785]
20375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20376         x * y using scaling, not as x * y + z.
20377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20379         * math/libm-test.inc (fma_test): Add more tests.
20380         (fma_test_towardzero): Likewise.
20381         (fma_test_downward): Likewise.
20382         (fma_test_upward): Likewise.
20384 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20386         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20388 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20390         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20391         New variable.
20393 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
20395         * rt/tst-shm.c (worker): Correct checking for mmap failure.
20397 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20400         Fix sort order.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20402         Likewise.
20404 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20407         Fix the order of the list for glibc 2.17.
20408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20409         Likewise.
20411 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20415 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #14610]
20418         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20419         for low part of x being zero before using __atanl (y).
20420         * math/libm-test.inc (atan2_test): Add another test.
20422         * manual/install.texi (Configuring and compiling): Document
20423         general use of test-wrapper and test-wrapper-env.
20424         * INSTALL: Regenerated.
20426         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20427         (__fma): Do not extract and scale down low bits on after-rounding
20428         systems when result rounded to normal precision would have normal
20429         exponent.
20430         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20431         (__fmal): Do not extract and scale down low bits on after-rounding
20432         systems when result rounded to normal precision would have normal
20433         exponent.
20434         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20435         (__fmal): Do not extract and scale down low bits on after-rounding
20436         systems when result rounded to normal precision would have normal
20437         exponent.
20438         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20439         macro.
20440         (fma_test): Add more tests.
20441         (fma_test_towardzero): Likewise.
20442         (fma_test_downward): Likewise.
20443         (fma_test_upward): Likewise.
20445 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
20447         * sysdeps/i386/tininess.h: Renamed to ...
20448         * sysdeps/x86/tininess.h: This.
20449         * sysdeps/x86_64/tininess.h: Removed.
20451 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20453         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20454         input.  Use $(build-program-cmd).
20455         ($(objpfx)tst-array1-static.out): Likewise.
20456         ($(objpfx)tst-array2.out): Likewise.
20457         ($(objpfx)tst-array3.out): Likewise.
20458         ($(objpfx)tst-array4.out): Likewise.
20459         ($(objpfx)tst-array5.out): Likewise.
20460         ($(objpfx)tst-array5-static.out): Likewise.
20462 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
20464         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
20465         if defined.
20467         * nss/nsswitch.h (nss_interface_function): Provide new
20468         macro for use with NSS functions.
20469         * grp/initgroups.c: Use new macro.
20470         * nss/getXXbyYY.c: Likewise.
20471         * nss/getXXbyYY_r.c: Likewise.
20472         * nss/getXXent.c: Likewise.
20473         * nss/getXXent_r.c: Likewise.
20474         * sysdeps/posix/getaddrinfo.c: Likewise.
20476 2012-10-30  Andreas Jaeger  <aj@suse.de>
20478         * po/ru.po: Update Russion translation from translation project.
20480 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20482         [BZ #14152]
20483         [BZ #14783]
20484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
20485         result and shift together with sticky bit instead of replicating
20486         round-to-nearest rounding.
20487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20489         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
20490         missing underflow exceptions.
20491         (fma_test_towardzero): Add more tests.
20492         (fma_test_downward): Likewise.
20493         (fma_test_upward): Likewise.
20495         [BZ #14047]
20496         * sysdeps/generic/tininess.h: New file.
20497         * sysdeps/i386/tininess.h: Likewise.
20498         * sysdeps/sh/tininess.h: Likewise.
20499         * sysdeps/x86_64/tininess.h: Likewise.
20500         * stdlib/tst-strtod-underflow.c: Likewise.
20501         * stdlib/tst-tininess.c: Likewise.
20502         * stdlib/strtod_l.c: Include <tininess.h>.
20503         (round_and_return): Do not set errno for exact underflow cases.
20504         Force an underflow exception when setting errno for underflow.
20505         Determine underflow based on rounding to normal precision if
20506         TININESS_AFTER_ROUNDING.
20507         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
20508         ERANGE for exact underflow cases.
20509         * stdlib/Makefile (tests): Add tst-tininess and
20510         tst-strtod-underflow.
20511         ($(objpfx)tst-tininess): Use $(link-libm).
20512         ($(objpfx)tst-strtod-underflow): Likewise.
20514 2012-10-30  Andreas Jaeger  <aj@suse.de>
20516         [BZ#14767]
20517         * elf/Makefile (tests): Remove conditional for have-initfini-array
20518         since this is now always required and the variable does not exist
20519         anymore.
20520         (tests-static): Likewise.
20521         (modules-names): Likewise.
20523         * po/eo.po: Add Esperanto translation from translation project.
20525         * elf/tst-array1.c (fini_array): Make writeable so that it can be
20526         merged with constructor/destructor.
20527         (init_array): Likewise.
20528         * elf/tst-array2dep.c (fini_array): Likewise.
20529         (init_array): Likewise.
20531 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
20533         * manual/message.texi: Delete @cartouche tags.
20535 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
20537         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
20538         EOPNOTSUPP.
20539         * sysdeps/mach/hurd/fsync.c: Likewise.
20541         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
20542         [_POSIX_REALTIME_SIGNALS]: Change condition to
20543         [_POSIX_REALTIME_SIGNALS > 0].
20545 2012-10-27  Andreas Jaeger  <aj@suse.de>
20547         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
20548         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
20549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20550         [__WORDSIZE != 64]: Likewise.
20552 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
20554         *  iconvdata/tst-table.sh: Remove ${SHELL}.
20555         *  iconvdata/tst-tables.sh: Likewise.
20557 2012-10-25  David S. Miller  <davem@davemloft.net>
20559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20560         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
20561         of strtoull.
20563         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
20564         ifunc-impl-list.c
20565         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20566         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
20567         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
20568         file.
20570 2012-10-25  Roland McGrath  <roland@hack.frob.com>
20572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20573         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
20574         __getdirentries.
20576 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20577             Jim Blandy  <jimb@codesourcery.com>
20579         * scripts/cross-test-ssh.sh: New file.
20580         * manual/install.texi (Configuring and compiling): Document use of
20581         cross-test-ssh.sh.
20582         * INSTALL: Regenerated.
20584 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
20586         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
20587         EOPNOTSUPP.
20589 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20591         * Makeconfig (run-program-prefix): Fix comment.
20593 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20594             Jim Blandy  <jimb@codesourcery.com>
20596         * Makeconfig (test-wrapper): New variable,
20597         (test-wrapper-env): Likewise.
20598         [$(cross-compiling) = yes && $(test-wrapper) != ""]
20599         (run-built-tests): Define to yes.
20600         (run-program-prefix): Use $(test-wrapper).
20601         (built-program-cmd): Likewise.
20602         * Rules (make-test-out): Use $(test-wrapper-env) and
20603         $(host-built-program-cmd).
20604         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
20605         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
20606         tst-pathopt.sh.
20607         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20608         $(test-wrapper-env) to tst-rtld-load-self.sh.
20609         ($(objpfx)order2.out): Use $(test-wrapper).
20610         ($(objpfx)tst-initorder.out): Likewise.
20611         ($(objpfx)tst-initorder2.out): Likewise.
20612         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
20613         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
20614         (test_wrapper_env): New variable.  Use it to run ld.so.
20615         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
20616         Use it to run ld.so.
20617         (test_wrapper_env): Likewise.
20618         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
20619         $(test-wrapper) to run-iconv-test.sh.
20620         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
20621         (ICONV): Use $test_wrapper.
20622         * posix/Makefile ($(objpfx)globtest.out): Pass
20623         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
20624         globtest.sh, not $(run-program-prefix).
20625         * posix/globtest.sh (run_via_rtld_prefix): New variable.
20626         (test_wrapper): Likewise.
20627         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
20628         set together with run_via_rtld_prefix.
20629         (run_program_prefix): Define in terms of test_wrapper and
20630         run_via_rtld_prefix.
20632 2012-10-24  Roland McGrath  <roland@hack.frob.com>
20634         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
20635         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
20636         Targets removed.
20638         [BZ #14743]
20639         * include/time.h: Remove librt_hidden_proto (clock_gettime).
20640         Declare __clock_getres, __clock_gettime, __clock_settime,
20641         __clock_nanosleep, and __clock_getcpuclockid.
20642         * rt/clock_gettime.c: Define __clock_gettime as an alias.
20643         Remove librt_hidden_def (clock_gettime).
20644         * sysdeps/unix/clock_gettime.c: Likewise.
20645         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
20646         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20647         * rt/clock_getres.c: Define __clock_getres as an alias.
20648         * sysdeps/posix/clock_getres.c: Likewise.
20649         * rt/clock_settime.c: Define __clock_settime as an alias.
20650         * sysdeps/unix/clock_settime.c: Likewise.
20651         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
20652         * sysdeps/unix/clock_nanosleep.c: Likewise.
20653         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20654         * rt/clock-compat.c: New file.
20655         * rt/Makefile (librt-routines): Add clock-compat and move
20656         $(clock-routines) to ...
20657         (routines): ... here, new variable.
20658         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
20659         Don't add get_clockfreq here.
20660         * rt/Versions (libc: GLIBC_2.17): New version set.
20661         Add clock_* symbols here.
20662         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
20663         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
20664         (GLIBC_2.17): Add clock_* symbols.
20665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20667         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20669         Likewise.
20670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20671         Likewise.
20672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20676         * NEWS: Mention the move.
20678         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20679         Use __open, __read, __close rather than their public counterparts.
20680         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20681         (__get_clockfreq_via_cpuinfo): Likewise.
20682         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
20683         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
20685         * config.h.in (HAVE_IFUNC): New #undef.
20686         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
20687         was successful.
20688         * configure: Regenerated.
20690 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20692         * configure.in: Move READELF check to start of file.
20693         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
20694         libc_cv_asm_gnu_indirect_function in the process.
20695         * configure: Regenerated.
20697 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20699         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20700         send the output to /dev/null.
20701         (libc_cv_cc_with_libunwind): Likewise.
20702         (libc_cv_as_noexecstack): Likewise.
20703         * configure: Regenerate.
20705 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20707         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20709         * posix/globtest.sh (TMPDIR): Do not set.
20710         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20711         (testout): Likewise.
20713 2012-10-24  Andreas Jaeger  <aj@suse.de>
20715         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20716         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20717         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20718         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20719         posix_fadvise64, posix_fallocate64.
20721         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20722         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20723         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20724         Likewise.
20725         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20726         Likewise.
20727         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20730         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20731         <bits/fcntl-linux.h>.
20732         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20735         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20736         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20737         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20738         [__WORDSIZE != 64]: Likewise.
20740 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20742         * Makeconfig (run-built-tests): New variable.
20743         * Rules [$(cross-compiling) = yes]: Change condition to
20744         [$(run-built-tests) = no].
20745         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20746         to [$(run-built-tests) = yes].
20747         * elf/Makefile [$(cross-compiling) = no]: Likewise
20748         * grp/Makefile [$(cross-compiling) = no]: Likewise.
20749         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20750         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20751         * intl/Makefile [$(cross-compiling) = no]: Likewise.
20752         * io/Makefile [$(cross-compiling) = no]: Likewise.
20753         * libio/Makefile [$(cross-compiling) = no]: Likewise.
20754         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20755         * misc/Makefile [$(cross-compiling) = no]: Likewise.
20756         * posix/Makefile [$(cross-compiling) = no]: Likewise.
20757         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20758         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20759         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20760         * string/Makefile [$(cross-compiling) = no]: Likewise.
20762         * posix/Makefile ($(objpfx)globtest.out): Pass
20763         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20764         $(rtld-installed-name).
20765         * posix/globtest.sh (elf_objpfx): Remove variable.
20766         (rtld_installed_name): Likewise.
20767         (library_path): Likewise.
20768         (run_program_prefix): New variable.  Use for running globtest
20769         binary.
20771 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
20772             Joseph Myers  <joseph@codesourcery.com>
20774         * Makeconfig (host-built-program-cmd): New variable.
20775         * elf/Makefile (tst-stackguard1-ARGS): Use
20776         $(host-built-program-cmd).
20777         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20778         (tst-spawn-ARGS): Likewise.
20779         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20781 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20782             Jim Blandy  <jimb@codesourcery.com>
20784         * Makeconfig (run-via-rtld-prefix): New variable.
20785         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20786         (built-program-cmd): Likewise.
20788 2012-10-22  Andreas Jaeger  <aj@suse.de>
20790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20791         __O_RSYNC if it exists, otherwise to O_SYNC.
20793 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
20794             Joseph Myers  <joseph@codesourcery.com>
20796         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20797         /dev/null.
20798         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20799         from /dev/null
20800         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20801         /dev/null.
20803 2012-10-22  Andreas Jaeger  <aj@suse.de>
20805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20806         Define always.
20807         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20810         bits/fcntl-linux.h.
20812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20813         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20816         to __O_LARGEFILE.
20817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20818         to __O_LARGEFILE.
20820 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
20821             Joseph Myers  <joseph@codesourcery.com>
20823         * config.make.in (NM): New variable.
20825 2012-10-21  Andreas Jaeger  <aj@suse.de>
20827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20828         definitions and declarations that are provided by
20829         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20831 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20833         [BZ #14683]
20834         * elf/Makefile (tests-static): Add tst-leaks1-static.
20835         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20836         ($(objpfx)tst-leaks1-static): New rule.
20837         ($(objpfx)tst-leaks1-static-mem): Likewise.
20838         (tst-leaks1-static-ENV): New macro.
20839         * elf/dl-open.c (dl_open_worker): Check the main application
20840         only if SHARED is defined.
20841         * elf/tst-leaks1-static.c: New file.
20843 2012-10-20  Andreas Jaeger  <aj@suse.de>
20845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20846         generic values for Linux.
20847         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20848         and declarations that are provided by <bits/fcntl-linux.h> and
20849         include <bits/fcntl-linux.h>.
20850         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20851         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20853 2012-10-20  Roland McGrath  <roland@hack.frob.com>
20855         * io/fcntl.h: Move include of <bits/types.h> to the top and
20856         include it unconditionally.
20858 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20860         * wcsmbs/Makefile (tests-ifunc): New variable.
20861         (tests): Add $(tests-ifunc).
20862         * wcsmbs/test-wcschr-ifunc.c: New file.
20863         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20864         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20865         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20866         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20867         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20869         * string/Makefile (tests-ifunc): New variable.
20870         (tests): Add $(tests-ifunc).
20871         * string/test-memccpy.c (TEST_NAME): New macro.
20872         * string/test-memchr.c (TEST_NAME): Likewise.
20873         * string/test-memcmp.c (TEST_NAME): Likewise.
20874         * string/test-memcpy.c (TEST_NAME): Likewise.
20875         * string/test-memmem.c (TEST_NAME): Likewise.
20876         * string/test-memmove.c (TEST_NAME): Likewise.
20877         * string/test-memset.c (TEST_NAME): Likewise.
20878         * string/test-rawmemchr.c (TEST_NAME): Likewise.
20879         * string/test-stpcpy.c (TEST_NAME): Likewise.
20880         * string/test-stpncpy.c (TEST_NAME): Likewise.
20881         * string/test-strcasecmp.c (TEST_NAME): Likewise.
20882         * string/test-strcasestr.c (TEST_NAME): Likewise.
20883         * string/test-strcat.c (TEST_NAME): Likewise.
20884         * string/test-strchr.c (TEST_NAME): Likewise.
20885         * string/test-strcmp.c(TEST_NAME): Likewise.
20886         * string/test-strcpy.c (TEST_NAME): Likewise.
20887         * string/test-strcspn.c (TEST_NAME): Likewise.
20888         * string/test-strlen.c (TEST_NAME): Likewise.
20889         * string/test-strncasecmp.c (TEST_NAME): Likewise.
20890         * string/test-strncmp.c (TEST_NAME): Likewise.
20891         * string/test-strncpy.c (TEST_NAME): Likewise.
20892         * string/test-strnlen.c (TEST_NAME): Likewise.
20893         * string/test-strpbrk.c (TEST_NAME): Likewise.
20894         * string/test-strrchr.c (TEST_NAME): Likewise.
20895         * string/test-strspn.c (TEST_NAME): Likewise.
20896         * string/test-strstr.c (TEST_NAME): Likewise.
20897         * string/test-bcopy-ifunc.c: New file.
20898         * string/test-bzero-ifunc.c: Likewise.
20899         * string/test-memccpy-ifunc.c: Likewise.
20900         * string/test-memchr-ifunc.c: Likewise.
20901         * string/test-memcmp-ifunc.c: Likewise.
20902         * string/test-memcpy-ifunc.c: Likewise.
20903         * string/test-memmem-ifunc.c: Likewise.
20904         * string/test-memmove-ifunc.c: Likewise.
20905         * string/test-mempcpy-ifunc.c: Likewise.
20906         * string/test-memset-ifunc.c: Likewise.
20907         * string/test-rawmemchr-ifunc.c: Likewise.
20908         * string/test-stpcpy-ifunc.c: Likewise.
20909         * string/test-stpncpy-ifunc.c: Likewise.
20910         * string/test-strcasecmp-ifunc.c: Likewise.
20911         * string/test-strcasestr-ifunc.c: Likewise.
20912         * string/test-strcat-ifunc.c: Likewise.
20913         * string/test-strchr-ifunc.c: Likewise.
20914         * string/test-strchrnul-ifunc.c: Likewise.
20915         * string/test-strcmp-ifunc.c: Likewise.
20916         * string/test-strcpy-ifunc.c: Likewise.
20917         * string/test-strcspn-ifunc.c: Likewise.
20918         * string/test-strlen-ifunc.c: Likewise.
20919         * string/test-strncasecmp-ifunc.c: Likewise.
20920         * string/test-strncat-ifunc.c: Likewise.
20921         * string/test-strncmp-ifunc.c: Likewise.
20922         * string/test-strncpy-ifunc.c: Likewise.
20923         * string/test-strnlen-ifunc.c: Likewise.
20924         * string/test-strpbrk-ifunc.c: Likewise.
20925         * string/test-strrchr-ifunc.c: Likewise.
20926         * string/test-strspn-ifunc.c: Likewise.
20927         * string/test-strstr-ifunc.c: Likewise.
20929         * debug/Makefile (tests-ifunc): New variable.
20930         (tests): Add $(tests-ifunc).
20931         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20932         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20933         * debug/test-stpcpy_chk-ifunc.c: New file.
20934         * debug/test-strcpy_chk-ifunc.c: Likewise.
20936 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938         [BZ #13601]
20939         * elf/dl-load.c (open_verify): Retry read if the entire ELF
20940         header is not read in.
20942 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
20944         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
20945         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
20946         directly.  Pass built executable to script as
20947         $(built-program-cmd).
20948         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
20949         $testprogram without using LD_LIBRARY_PATH and $ldso.
20951         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20952         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20953         $(rtld-installed-name).
20954         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20955         (rtld_installed_name): Likewise.
20956         (library_path): Likewise.
20957         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
20958         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20959         $(run-program-prefix) to tst-tables.sh.
20960         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
20961         it to run tst-table-from and tst-table-to.
20962         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20963         Pass it to tst-table.sh.
20964         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20965         $(run-program-prefix) to tst-gettext.sh.
20966         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20967         tst-translit.sh.
20968         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20969         tst-gettext2.sh.
20970         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
20971         to run tst-gettext.
20972         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
20973         to run tst-gettext2.
20974         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
20975         to run tst-translit.
20976         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20977         $(run-program-prefix) to tst-mtrace.sh.
20978         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
20979         to run tst-mtrace.
20980         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20981         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20982         $(rtld-installed-name).
20983         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20984         (rtld_installed_name): Likewise.
20985         (run_program_prefix): New variable.  Use it to run wordexp-test.
20987         * Makeconfig (ARCH): Remove all definitions.
20988         (machine): Likewise.
20989         [ARCH]: Remove conditional code.
20990         [!objdir]: Give error.
20991         [!objdir] (objpfx): Remove.
20992         [!objdir] (common-objpfx): Likewise.
20993         [!objdir] (common-objdir): Likewise.
20994         * configure.in (config_makefile): Remove.  Hardcode Makefile in
20995         AC_CONFIG_FILES call.
20996         * configure: Regenerated.
20998         [BZ #13888]
20999         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21000         or TMPDIR.
21001         (testout): Likewise.
21003         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21004         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21005         $(rtld-installed-name).
21006         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21007         (rtld_installed_name): Likwise.
21008         (runit): Remove function.
21009         (run_getconf): New variable,  Use it for running getconf binary.
21011 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21013         [BZ #14716]
21014         * string/test-memmem.c (check_result): New function.
21015         (do_one_test): Use it.
21016         (check1): New function.
21017         (test_main): Use it.
21019 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21021         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21023 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21025         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21026         (_G_LSEEK64): Likewise.
21027         (_G_MMAP64): Likewise.
21028         (_G_FSTAT64): Likewise.
21029         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21030         (_G_LSEEK64): Likewise.
21031         (_G_MMAP64): Likewise.
21032         (_G_FSTAT64): Likewise.
21033         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21034         unconditional.  Call __mmap64 directly.
21035         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21036         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21037         __lseek64 directly.
21038         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21039         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21040         __mmap64 directly.
21041         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21042         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21043         __lseek64 directly.
21044         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21045         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21046         __lseek64 directly.
21047         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21048         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21049         __lseek64 directly.
21050         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21051         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21052         __fxstat64 directly.
21053         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21054         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21055         unconditional.
21056         (freopen64) [!_G_OPEN64]: Remove conditional code.
21057         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21058         unconditional.
21059         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21060         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21061         unconditional.
21062         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21063         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21064         unconditional.
21065         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21066         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21067         unconditional.
21068         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21069         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21070         unconditional.
21071         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21072         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21073         unconditional.
21074         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21075         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21076         unconditional.
21077         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21079 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21081         [BZ #12140]
21082         * manual/memory.texi (Malloc Tunable Parameters): Add note
21083         about free list pointers overwriting some perturb bytes.
21084         Wording suggested by Roland McGrath.
21086 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21088         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21089         (lgamma_test): Likewise.
21090         (tgamma_test): Likewise.
21092 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21094         [BZ #14700]
21095         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21096         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21098 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21100         * NEWS: Mention BZ #14716.
21101         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21102         when removing AVAILABLE1_USES_J macro.
21104 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21106         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21107         (__bswap_64): __uint64_t for unsigned 64-bit int.
21109 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21111         * include/string.h (memmem): Declare libc hidden alias.
21112         * string/memmem.c (memmem): Define libc hidden alias.
21113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21114         __read, __close instead of open, read, close.
21116 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21119         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21120         global and hidden.
21121         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21122         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21123         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21124         Likewise.
21125         (__rawmemchr_sse2): Likewise.
21126         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21127         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21128         (__strchr_sse2): Likewise.
21129         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21130         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21131         (__strcasecmp_sse2): Likewise.
21132         (__strncasecmp_sse2): Likewise.
21133         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21134         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21135         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21136         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21137         (__strrchr_sse2): Likewise.
21138         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21139         ifunc-impl-list.c.
21140         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21141         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21142         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21143         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21144         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21145         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21146         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21147         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21148         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21149         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21150         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21151         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21152         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21153         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21154         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21155         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21156         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21157         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21158         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21159         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21160         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21161         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21162         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21163         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21164         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21165         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21166         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21167         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21168         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21169         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21171         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21172         global and hidden.
21173         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21174         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21175         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21176         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21177         Likewise.
21178         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21179         Likewise.
21180         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21181         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21182         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21183         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21184         ifunc-impl-list.c.
21185         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21186         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21187         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21188         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21189         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21190         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21191         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21192         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21193         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21194         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21195         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21196         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21197         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21198         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21199         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21200         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21201         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21202         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21203         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21204         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21205         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21206         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21207         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21208         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21209         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21210         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21211         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21212         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21213         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21214         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21215         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21216         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21217         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21218         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21219         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21220         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21221         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21222         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21223         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21224         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21225         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21227         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21228         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21229         * include/ifunc-impl-list.h: New file.
21230         * misc/ifunc-impl-list.c: Likewise.
21231         * misc/Makefile (routines): Add ifunc-impl-list.
21232         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21233         * string/test-string.h: Include <ifunc-impl-list.h>.
21234         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21235         impl_array): New variables.
21236         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21237         are defined.
21238         (test_init): Call __libc_ifunc_impl_list to initialize
21239         func_list if TEST_IFUNC and TEST_NAME are defined.
21241         * string/Makefile (strop-tests): Add bcopy and bzero.
21242         * string/test-bcopy.c: New file.
21243         * string/test-bzero.c: Likewise.
21244         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21245         defined.
21246         * string/test-memset.c: Support bzero test if TEST_BZERO is
21247         defined.
21248         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21249         __libc_memmove.
21250         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21251         __libc_memset.
21252         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21253         of memset.
21255 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21257         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21258         * configure: Regenerated.
21260         * Makeconfig (+link-static-before-libc): Don't include
21261         $(link-static-libc).
21263         * libio/libio.h (_IO_pos_t): Remove.
21265 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21267         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21268         McGrath.
21270 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21272         * crypt/crypt-entry.c: Include fips-private.h.
21273         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21274         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21275         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21276         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21278 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21280         * crypt/crypt-private.h: Include stdbool.h.
21281         (_ufc_setup_salt_r): Return bool.
21282         * crypt/crypt-entry.c: Include errno.h.
21283         (__crypt_r): Return NULL with EINVAL for bad salt.
21284         * crypt/crypt_util.c (bad_for_salt): New.
21285         (_ufc_setup_salt_r): Check that salt is long enough and within
21286         the specified alphabet.
21287         * crypt/badsalttest.c: New file.
21288         * crypt/Makefile (tests): Add it.
21289         ($(objpfx)badsalttest): New.
21291 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21293         * NEWS: Add entry for BZ #14602.
21295 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21297         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21298         type-generic.
21299         * math/libm-test.inc: Update comment listing what functions and
21300         macros are tested.
21301         (isgreater_test): New function.
21302         (isgreaterequal_test): Likewise.
21303         (isless_test): Likewise.
21304         (islessequal_test): Likewise.
21305         (islessgreater_test): Likewise.
21306         (isunordered_test): Likewise.
21307         (main): Call the new functions.
21309 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21311         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21312         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21313         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21314         * sysdeps/i386/configure: Regenerated.
21315         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21316         * sysdeps/mach/configure: Regenerated.
21317         * sysdeps/mach/hurd/configure: Regenerated.
21318         * sysdeps/powerpc/configure: Regenerated.
21319         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21320         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21321         * sysdeps/s390/s390-32/configure: Regenerated.
21322         * sysdeps/s390/s390-64/configure: Regenerated.
21323         * sysdeps/sh/configure: Regenerated.
21324         * sysdeps/sparc/configure: Regenerated.
21325         * sysdeps/unix/sysv/linux/configure: Regenerated.
21326         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21327         * sysdeps/x86_64/configure: Regenerated.
21329         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21330         defined.  Don't check if MAP is NULL.
21332 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21334         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21335         (_G_stat64): Likewise.
21336         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21337         (_G_stat64): Likewise.
21338         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21339         instead of struct _G_stat64.
21340         * libio/fileops.c (mmap_remap_check): Likewise.
21341         (decide_maybe_mmap): Likewise.
21342         (_IO_new_file_seekoff): Likewise.
21343         (_IO_file_stat): Likewise.
21344         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21345         _G_off64_t.
21346         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21347         instead of struct _G_stat64.
21348         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21350 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21352         [BZ #14602]
21353         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21354         Replace with ...
21355         (CHECK_EOL): New macro.
21356         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21357         CHECK_EOL.
21358         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21359         Replace with CHECK_EOL.
21360         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21361         Replace with CHECK_EOL.
21363 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21365         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21366         type-generic.
21367         * math/libm-test.inc: Update comment listing what functions and
21368         macros are tested.
21369         (finite_test): New function.
21370         (isinf_test): Likewise.
21371         (isnan_test): Likewise.
21372         (fpclassify_test): Test subnormal input.
21373         (isfinite_test): Likewise.
21374         (isnormal_test): Likewise.
21375         (main): Call the new functions.
21377 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
21379         [BZ #14660]
21380         * Makerules (%.dynsym): Force C locale when running
21381         $(OBJDUMP) --dynamic-syms.
21383 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
21385         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21386         <stdint.h>.
21388 2012-10-06  David S. Miller  <davem@davemloft.net>
21390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21391         upper 32-bits of the length value in %o2 since we use branch-on-register
21392         tests which consider the entire 64-bit register.
21394 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
21396         * string/test-strstr.c (check2): Add a test for page boundary.
21398 2012-10-05  David S. Miller  <davem@davemloft.net>
21400         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21401         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21402         file.
21403         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21404         sysdep_routines.
21405         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21406         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21407         and bzero when HWCAP_SPARC_CRYPTO is present.
21409 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
21411         [BZ #14602]
21412         * string/test-strstr.c (check2): New function.
21413         (test_main): Call check2.
21415         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21416         and bug-strchr1.
21417         * string/bug-strcasestr1.c (do_test): Moved to ...
21418         * string/test-strcasestr.c (check1): Here.  New function.
21419         (do_one_test): Break out result checking code into ...
21420         (check_result): This.  New function.
21421         (do_one_test): Call check_result.
21422         (test_main): Call check1.
21423         * string/bug-strchr1.c (do_test): Moved to ...
21424         * string/test-strchr.c (check1): Here.  New function.
21425         (do_one_test): Break out result checking code into ...
21426         (check_result): This.  New function.
21427         (do_one_test): Call check_result.
21428         (test_main): Call check1.
21429         * string/bug-strstr1.c (main): Moved to ...
21430         * string/test-strstr.c (check1): Here.  New function.
21431         (do_one_test): Break out result checking code into ...
21432         (check_result): This.  New function.
21433         (do_one_test): Call check_result.
21434         (test_main): Call check1.
21435         * string/bug-strcasestr1.c: Removed.
21436         * string/bug-strchr1.c: Likewise.
21437         * string/bug-strstr1.c: Likewise.
21439         * elf/Makefile (dl-routines): Add hwcaps.
21440         * elf/dl-support.c (_dl_important_hwcaps): Removed.
21441         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21442         (_dl_important_hwcaps): Moved to ...
21443         * elf/dl-hwcaps.c: Here.  New file.
21444         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21446         [BZ #14557]
21447         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21448         if IS_IN_rtld isn't defined.
21450         * elf/dl-support.c (_dl_sysinfo_map): New.
21451         Include "get-dynamic-info.h" and "setup-vdso.h".
21452         (_dl_non_dynamic_init): Call setup_vdso.
21453         * elf/dynamic-link.h: Don't include <assert.h>.
21454         (elf_get_dynamic_info): Moved to ...
21455         * elf/get-dynamic-info.h: Here.  New file.
21456         * elf/dynamic-link.h: Include "get-dynamic-info.h".
21457         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21458         * elf/setup-vdso.h: Here.  New file.
21459         * elf/rtld.c: Include "setup-vdso.h".
21460         (dl_main): Call setup_vdso.
21462 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
21464         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21465         creal in comment listing functions tested.  List finite, isinf,
21466         isnan, isless, islessequal, isgreater, isgreaterequal,
21467         islessgreater, isunordered, lgamma_r and pow10 as functions and
21468         macros not tested.  Mention which functions not tested are aliases
21469         for other functions.  Fix typo.  Note that signs of NaNs are not
21470         tested.
21472         * scripts/config.guess: Update from config.git.
21473         * scripts/config.sub: Likewise.
21475 2012-10-04  Roland McGrath  <roland@hack.frob.com>
21477         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
21478         * misc/madvise.c (madvise): Renamed to __madvise.
21479         Make madvise a weak alias.
21480         * include/sys/mman.h: Declare __madvise.
21481         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
21482         * sysdeps/unix/syscalls.list
21483         (madvise): Make __madvise the strong name, and madvise a weak alias.
21484         * sysdeps/unix/sysv/linux/syscalls.list
21485         (madvise, mmap): Remove redundant entries.
21486         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
21487         * malloc/malloc.c (mtrim): Likewise.
21488         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
21490 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21492         * sysdeps/mach/hurd/dl-cache.c: File removed.
21493         * config.h.in (USE_LDCONFIG): New #undef.
21494         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
21495         * configure: Regenerated.
21496         * elf/Makefile (dl-routines): Add dl-cache only under
21497         [$(use-ldconfig) = yes].
21498         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
21499         cache on [USE_LDCONFIG].
21500         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
21501         [USE_LDCONFIG].
21502         * elf/rtld.c (dl_main): Likewise.
21504 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
21506         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
21507         _SC_LEVEL4_CACHE_LINESIZE.
21509 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21511         * sysdeps/unix/bsd/confstr.h: File removed.
21513 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
21515         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
21516         sys/sdt-config.h.
21518 2012-10-02  Roland McGrath  <roland@hack.frob.com>
21520         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
21521         Make 'mapoff' field ElfW(Off) rather than off_t.
21523 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
21525         * nscd/Makefile: Remove nscd-cflags and all its users.
21526         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
21527         (CFLAGS-nonlib): Add compiler flags for nscd modules.
21529         [BZ #10631]
21530         * malloc.c (malloc_printerr): Clarify error message.
21532 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
21534         [BZ #14648]
21535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21536         Set bit_FMA_Usable if FMA is supported.
21537         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
21538         macro.
21539         (bit_FMA4_Usable): Updated.
21540         (index_FMA_Usable): New macro.
21541         (CPUID_FMA): Likewise
21542         (HAS_FMA): Defined with bit_FMA_Usable.
21544 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21546         * bits/types.h (__swblk_t): Type removed.
21547         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
21548         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
21549         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21550         (__SWBLK_T_TYPE): Likewise.
21551         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21552         (__SWBLK_T_TYPE): Likewise.
21553         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21554         (__SWBLK_T_TYPE): Likewise.
21555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21556         (__SWBLK_T_TYPE): Likewise.
21558 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
21559             Honza Horak <hhorak@redhat.com>
21561         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
21562         (xdr_mapname): Use YPMAXMAP as maxsize.
21563         (xdr_peername): Use YPMAXPEER as maxsize.
21564         (xdr_keydat): Use YPAXRECORD as maxsize.
21565         (xdr_valdat): Use YPMAXRECORD as maxsize.
21567 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21569         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
21571         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
21572         * csu/init-first.c: ... here.
21573         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
21574         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21575         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21576         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21577         * sysdeps/i386/init-first.c: File removed.
21578         * sysdeps/sh/init-first.c: File removed.
21580 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
21582         [BZ #14645]
21583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
21584         if x * y might underflow to zero and z is zero.
21585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21587         * math/libm-test.inc (min_subnorm_value): New variable.
21588         (fma_test): Add more tests.
21589         (fma_test_towardzero): Likewise.
21590         (fma_test_downward): Likewise
21591         (fma_test_upward): Likewise.
21592         (initialize): Set min_subnorm_value.
21594 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
21596         [BZ #14638]
21597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
21598         0 + 0.
21599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21600         mode for addition resulting in exact zero.
21601         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
21602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
21603         exact 0 + 0.
21604         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21606         * math/libm-test.inc (fma_test): Add more tests.
21607         (fma_test_towardzero): New function.
21608         (fma_test_downward): Likewise.
21609         (fma_test_upward): Likewise.
21610         (main): Call the new functions.
21612 2012-09-28  David S. Miller  <davem@davemloft.net>
21614         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
21616 2012-09-28  Roland McGrath  <roland@hack.frob.com>
21618         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
21619         instead of SIGALRM.
21621         * sysdeps/gnu/_G_config.h: Moved to ...
21622         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
21623         * sysdeps/mach/hurd/_G_config.h: Moved to ...
21624         * sysdeps/generic/_G_config.h: ... here.
21626         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
21628         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
21630         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
21631         Conditionalize target on [libnss_test1.so-version].
21633         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
21635         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
21636         (elfobjdir): Move out of conditionals.
21638         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
21639         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
21640         (__nss_lookup_function): Conditionalize label remove_from_tree on
21641         [!DO_STATIC_NSS || SHARED], matching its only use.
21643 2012-09-28  David S. Miller  <davem@davemloft.net>
21645         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
21646         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
21647         file.
21648         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21649         sysdep_routines.
21650         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21651         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
21652         when HWCAP_SPARC_CRYPTO is present.
21654 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21656         * io/tst-mknodat.c: Create a FIFO instead of a socket.
21658 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
21660         [BZ #6530]
21661         * stdio-common/vfprintf.c (process_string_arg): Revert
21662         2000-07-22 change.
21664 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
21666         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
21667         for testcase.
21668         * stdio-common/tst-sprintf.c: Include <locale.h>
21669         (main): Test sprintf's handling of incomplete multibyte
21670         characters.
21672 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
21674         * elf/dl-runtime.c (VERSYMIDX): Removed.
21675         * elf/dl-version.c (VERSYMIDX): Likewise.
21676         * elf/do-rel.h (VERSYMIDX): Likewise.
21677         (VALIDX): Likewise.
21678         * elf/dynamic-link.h (VERSYMIDX): Likewise.
21679         * elf/rtld.c (VALIDX): Likewise.
21680         (ADDRIDX): Likewise.
21681         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
21682         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
21683         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
21684         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
21685         (VALIDX): Likewise.
21686         (ADDRIDX): Likewise.
21688 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21690         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21692 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
21694         [BZ #11438]
21695         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21696         to global scope.
21697         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21698         addresses are in the same scope as 192.0.2/24.
21699         * posix/gai.conf: Document new scope table defaults.
21701 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21703         [BZ #5298]
21704         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21705         for ftell.  Compute offsets from write pointers instead.
21706         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21708 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21710         [BZ #14543]
21711         * libio/Makefile (tests): New test case tst-fseek.
21712         * libio/tst-fseek.c: New test case to verify that fseek/ftell
21713         combination works in wide mode.
21714         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21715         state when the external buffer state changes.
21717 2012-09-27  David S. Miller  <davem@davemloft.net>
21719         [BZ #14376]
21720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21721         pass reloc->r_addend in as the 'high' argument to
21722         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21726 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21728         * rt/tst-aio2.c: Include <pthread.h>.
21729         * rt/tst-aio3.c: Likewise.
21731 2012-09-27  Steve Ellcey  <sellcey@mips.com>
21733         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21735 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
21737         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21738         contents on [SHARED].
21740 2012-09-26  Marek Polacek  <polacek@redhat.com>
21742         [BZ #14530]
21743         [BZ #13741]
21744         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21745         for C++ and GCC <4.3 as well as for non GCC compilers.
21747 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21751 2012-09-25  Roland McGrath  <roland@hack.frob.com>
21753         * Makefile.in (all, install): Declare with .PHONY.
21754         Reported by Michael Hope <michael.hope@linaro.org>.
21756 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21758         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21759         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21760         system header.
21761         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21762         Likewise.
21763         (sydep_routines): Add the new and the internal functions.
21764         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21765         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21767         (GLIBC_2.17): Add the new function.
21768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21769         (GLIBC_2.17): Likewise.
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21771         (GLIBC_2.17): Likewise.
21772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21773         (GLIBC_2.17): Likewise.
21774         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21776 2012-09-25  Alan Modra  <amodra@gmail.com>
21778         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21779         Add release barrier before setting once_control to say
21780         initialisation is done.  Add hints on lwarx.  Use macro in
21781         place of isync.
21782         (clear_once_control): Add release barrier.
21784 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #13629]
21787         * math/s_clog.c (__clog): Handle more values close to |z| = 1
21788         specially.
21789         * math/s_clog10.c (__clog10): Likewise.
21790         * math/s_clog10f.c (__clog10f): Likewise.
21791         * math/s_clog10l.c (__clog10l): Likewise.
21792         * math/s_clogf.c (__clogf): Likewise.
21793         * math/s_clogl.c (__clogl): Likewise.
21794         * math/Makefile (libm-calls): Add x2y2m1.
21795         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21796         (__x2y2m1): Likewise.
21797         (__x2y2m1l): Likewise.
21798         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21799         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21800         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21801         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21802         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21803         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21804         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21805         * sysdeps/i386/fpu/libm-test-ulps: Update.
21806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21808         [BZ #14621]
21809         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21810         int as type of variable DEPTH.
21811         (glob): Use size_t instead of int as type of variables NEWCOUNT
21812         and OLD_PATHC.
21814 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21816         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21817         Add s_sincosf-sse2.
21818         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21819         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21820         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21821         macros for using routine as __sincosf_ia32.
21822         Use macro for function declaration and weak_alias.
21823         * sysdeps/i386/fpu/libm-test-ulps: Update.
21825         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21828         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21829         subnormal argument.
21830         * math/s_cexpf.c (__cexpf): Likewise.
21831         * math/s_csinf.c (__csinf): Likewise.
21832         * math/s_csinhf.c (__csinhf): Likewise.
21833         * math/s_ctanf.c (__ctanf): Likewise.
21834         * math/s_ctanhf.c (__ctanhf): Likewise.
21835         * math/s_ccosh.c (__ccoshf): Likewise.
21836         * math/s_cexp.c (__cexpl): Likewise.
21837         * math/s_csin.c (__csin): Likewise.
21838         * math/s_csinh.c (__csinh): Likewise.
21839         * math/s_ctan.c (__ctan): Likewise.
21840         * math/s_ctanh.c (ctanh): Likewise.
21841         * math/s_ccoshl.c (__ccoshl): Likewise.
21842         * math/s_cexpl.c (__cexpl): Likewise.
21843         * math/s_csinl.c (__csinl): Likewise.
21844         * math/s_csinhl.c (__csinhl): Likewise.
21845         * math/s_ctanl.c (__ctanl): Likewise.
21846         * math/s_ctanhl.c (__ctanhl): Likewise.
21848 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21850         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21851         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21852         (_IO_off_t): Define to __off_t, not _G_off_t.
21853         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21854         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21855         (_IO_wint_t): Define to wint_t, not _G_wint_t.
21856         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21857         type of __dummy and __dummy2 fields.
21858         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21859         (_G_ssize_t): Likewise.
21860         (_G_off_t): Likewise.
21861         (_G_pid_t): Likewise.
21862         (_G_uid_t): Likewise.
21863         (_G_wchar_t): Likewise.
21864         (_G_wint_t): Likewise.
21865         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21866         (_G_ssize_t): Likewise.
21867         (_G_off_t): Likewise.
21868         (_G_pid_t): Likewise.
21869         (_G_uid_t): Likewise.
21870         (_G_wchar_t): Likewise.
21871         (_G_wint_t): Likewise.
21872         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21873         (_G_ssize_t): Likewise.
21874         (_G_off_t): Likewise.
21875         (_G_pid_t): Likewise.
21876         (_G_uid_t): Likewise.
21877         (_G_wchar_t): Likewise.
21878         (_G_wint_t): Likewise.
21880 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21882         * malloc/arena.c: Include malloc-sysdep.h.
21883         (shrink_heap): Use check_may_shrink_heap to decide if madvise
21884         is sufficient to shrink the heap or an unmap is needed.
21885         * sysdeps/generic/malloc-sysdep.h: New file.  Define
21886         new function check_may_shrink_heap.
21887         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
21888         new function check_may_shrink_heap.
21890 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21892         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21893         comments.
21895 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
21897         * catgets/test-gencat.sh: Add "set -e".
21898         * elf/tst-pathopt.sh: Likewise.
21899         * grp/tst_fgetgrent.sh: Likewise.
21900         * iconvdata/run-iconv-test.sh: Likewise.
21901         * intl/tst-gettext.sh: Likewise.
21902         * intl/tst-gettext2.sh: Likewise.
21903         * intl/tst-gettext4.sh: Likewise.
21904         * intl/tst-gettext6.sh: Likewise.
21905         * intl/tst-translit.sh: Likewise.
21906         * io/ftwtest-sh: Likewise.
21907         * libio/test-freopen.sh: Likewise.
21908         * malloc/tst-mtrace.sh: Likewise.
21909         * posix/globtest.sh: Likewise.
21910         * posix/tst-getconf.sh: Likewise.
21911         * posix/wordexp-tst.sh: Likewise.
21912         * stdio-common/tst-printf.sh: Likewise.
21913         * stdio-common/tst-unbputc.sh: Likewise.
21914         * stdlib/tst-fmtmsg.sh: Likewise.
21915         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21916         * catgets/Makefile: Do not specify -e option when running
21917         testsuite shell scripts.
21918         * elf/Makefile: Likewise.
21919         * grp/Makefile: Likewise.
21920         * iconvdata/Makefile: Likewise.
21921         * intl/Makefile: Likewise.
21922         * io/Makefile: Likewise.
21923         * libio/Makefile: Likewise.
21924         * malloc/Makefile: Likewise.
21925         * posix/Makefile: Likewise.
21926         * stdio-common/Makefile: Likewise.
21927         * stdlib/Makefile: Likewise.
21928         * sysdeps/x86_64/Makefile: Likewise.
21930         * io/ftwtest-sh: Add copyright header.
21931         * posix/globtest.sh: Likewise.
21932         * posix/tst-getconf.sh: Likewise.
21933         * posix/wordexp-tst.sh: Likewise.
21934         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21936 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
21938         [BZ #13679]
21939         * Makeconfig (+link): Defined as $(+link-static) if
21940         $(build-shared) isn't yes.
21941         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21942         isn't yes.
21943         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21945         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21947         [BZ #14562]
21948         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21949         new chunk size with MALLOC_ALIGN_MASK.
21951 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
21953         [BZ #5044]
21954         * stdio-common/printf_fphex.c: Include <stdbool.h> and
21955         <rounding-mode.h>.
21956         (__printf_fphex): Determine rounding using get_rounding_mode and
21957         round_away.
21958         * stdio-common/tst-printf-round.c (struct hex_test): New
21959         structure.
21960         (hex_tests): New variable.
21961         (test_hex_in_one_mode): New function.
21962         (do_test): Also run tests for hex float output.
21964 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
21966         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21967         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21968         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21969         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21970         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21971         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21972         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21973         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21975 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
21977         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21978         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21979         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21980         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21982 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
21984         [BZ #14579]
21985         * elf/rtld.c (dl_main): Limit the check for self loading to normal
21986         mode only.
21987         * elf/tst-rtld-load-self.sh: New test.
21988         * elf/Makefile: Run it.
21990 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
21992         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21993         (tst-writev-ENV): Remove.
21994         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21996 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
21998         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22000 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22002         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22003         unconditional.
22004         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22005         Likewise.
22006         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22007         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22008         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22009         Likewise.
22011 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22013         [BZ #14587]
22014         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22015         * config.make.in (have-cpp-asm-debuginfo): Removed.
22016         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22017         * configure: Regenerated.
22019 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22021         [BZ #5044]
22022         * stdio-common/printf_fp.c: Include <stdbool.h> and
22023         <rounding-mode.h>.
22024         (___printf_fp): Determine rounding using get_rounding_mode and
22025         round_away.
22026         * stdio-common/tst-printf-round.c: New file.
22027         * stdio-common/Makefile (tests): Add tst-printf-round.
22028         (link-libm): New variable.
22029         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22031 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22033         [BZ #14576]
22034         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22035         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22036         Likewise.
22037         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22038         Likewise.
22040 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22042         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22043         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22044         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22045         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22047 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22049         [BZ #14518]
22050         * include/rounding-mode.h: New file.
22051         * sysdeps/generic/get-rounding-mode.h: Likewise.
22052         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22053         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22054         (MAX_VALUE): New macro.
22055         (MIN_VALUE): Likewise.
22056         (overflow_value): New function.
22057         (underflow_value): Likewise.
22058         (round_and_return): Use overflow_value and underflow_value to
22059         determine return values in overflow and underflow cases.  Use
22060         round_away to determine rounding depending on rounding mode.
22061         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22062         determine return values in overflow and underflow cases.
22063         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22064         (struct test_results): New structure.
22065         (struct test): Use struct test_results to store expected results
22066         for all rounding modes.
22067         (TEST): Include expected results for all rounding modes.
22068         (test_in_one_mode): New function.
22069         (do_test): Use test_in_one_mode to compute and check results.
22070         Check results for all rounding modes.
22071         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22072         $(link-libm).
22074 2012-12-09  Allan McRae  <allan@archlinux.org>
22076         * sysdeps/i386/fpu/libm-test-ulps: Update
22078 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22080         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22081         (_G_int32_t): Likewise.
22082         (_G_uint16_t): Likewise.
22083         (_G_uint32_t): Likewise.
22084         (_G_HAVE_BOOL): Likewise.
22085         (_G_HAVE_ATEXIT): Likewise.
22086         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22087         (_G_HAVE_IO_FILE_OPEN): Likewise.
22088         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22089         (_G_int32_t): Likewise.
22090         (_G_uint16_t): Likewise.
22091         (_G_uint32_t): Likewise.
22092         (_G_HAVE_BOOL): Likewise.
22093         (_G_HAVE_ATEXIT): Likewise.
22094         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22095         (_G_HAVE_IO_FILE_OPEN): Likewise.
22096         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22097         (_G_int32_t): Likewise.
22098         (_G_uint16_t): Likewise.
22099         (_G_uint32_t): Likewise.
22100         (_G_HAVE_BOOL): Likewise.
22101         (_G_HAVE_ATEXIT): Likewise.
22102         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22103         (_G_HAVE_IO_FILE_OPEN): Likewise.
22105 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22107         * csu/libc-tls.c: Update copyright years.
22109 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22111         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22112         [!_G_USING_THUNKS]: Remove conditional code.
22113         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22114         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22116         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22117         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22118         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22119         (_G_VTABLE_LABEL_PREFIX): Likewise.
22120         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22121         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22122         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22123         (_G_VTABLE_LABEL_PREFIX): Likewise.
22124         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22125         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22126         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22127         (_G_VTABLE_LABEL_PREFIX): Likewise.
22128         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22130 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22132         * libio/Makefile: Include ../Makeconfig before tests.
22133         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22134         only if $(build-shared) is yes.
22136         * iconv/gconv_db.c: Update copyright years.
22138 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22140         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22141         unwind info if defined PIC. Fix special cases description.
22142         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22144         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22145         DP_HI_MASK entry.
22146         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22148 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22150         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22152         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22153         is NULL.
22155         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22156         (LDLIBS-tst-chk4): This.
22157         (LDFLAGS-tst-chk5): Renamed to ...
22158         (LDLIBS-tst-chk5): This.
22159         (LDFLAGS-tst-chk6): Renamed to ...
22160         (LDLIBS-tst-chk6): This.
22161         (LDFLAGS-tst-lfschk4): Renamed to ...
22162         (LDLIBS-tst-lfschk4): This.
22163         (LDFLAGS-tst-lfschk5): Renamed to ...
22164         (LDLIBS-tst-lfschk5): This.
22165         (LDFLAGS-tst-lfschk6): Renamed to ...
22166         (LDLIBS-tst-lfschk6): This.
22168         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22169         on $(common-objpfx)soversions.mk.
22171 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22173         [BZ #10014]
22174         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22175         example host name.
22177 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22179         * malloc/arena.c (arena_get_retry): New function that gets
22180         another arena for the caller to try its request on.
22181         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22182         current arena cannot fulfill the request.
22183         (__libc_memalign): Likewise.
22184         (__libc_memalign): Likewise.
22185         (__libc_pvalloc): Likewise.
22186         (__libc_calloc): Likewise.
22188 2012-09-05  John Tobey  <john.tobey@gmail.com>
22190         [BZ #13542]
22191         * manual/arith.texi (Operations on Complex): Fix description
22192         of carg branch cut.
22194 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22196         [BZ #10014]
22197         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22198         host name.
22200         [BZ #10038]
22201         * manual/memory.texi (Memory): Make order of menu items match
22202         order of sections.
22204 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22206         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22207         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22208         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22210 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22212         * csu/libc-tls.c (static_dtv): Renamed to ...
22213         (_dl_static_dtv): This.  Make it global.
22214         (_dl_initial_dtv): Removed.
22215         (__libc_setup_tls): Updated.
22216         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22217         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22218         DL_INITIAL_DTV.
22220 2012-09-06  Petr Machata  <pmachata@redhat.com>
22222         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22223         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22224         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22225         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22227 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22229         [BZ #14545]
22230         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22231         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22232         freeing dtv[-1].
22234 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22236         [BZ #14544]
22237         * Makeconfig (link-static-before-libc): Replace $(+prector)
22238         with $(+prectorT).
22239         (link-static-after-libc): Replace $(+postctor) with
22240         $(+postctorT).
22241         (link-bounded): Replace $(+prector)/$(+postctor) with
22242         $(+prectorT)/$(+postctorT).
22243         (+prectorT): New macro.
22244         (+postctorT): Likewise.
22246 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22248         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22249         (round_str): Handle values above the maximum for IBM long double
22250         as inexact.
22251         * stdlib/tst-strtod-round.c (tests): Regenerated.
22253 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22255         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22256         assembler flag.
22257         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22258         zarch_nohighgprs around the zarch optimized routines.
22259         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22260         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22261         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22262         for zarch.
22264 2012-09-05  David S. Miller  <davem@davemloft.net>
22266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22268         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22269         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22270         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22271         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22272         entries.
22274 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22276         * malloc/arena.c: Fold copyright years.
22277         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22279 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22281         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22283 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22285         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22287 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22289         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22290         change internal state upon failure.
22292 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22294         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22295         * malloc/memusage.c (mmap): Likewise.
22296         (mmap64, mremap): Likewise.  Adjust name in comment.
22298 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300         * libio/fileops.c: Fix typos in comments.
22301         * libio/oldfileops.c: Likewise.
22302         * libio/wfileops.c: Likewise.
22304 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22306         [BZ #1349]
22307         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22308         (tst-malloc-usable-ENV): Set environment for test case.
22309         * malloc/hooks.c (malloc_check_get_size): New function to get
22310         requested size.
22311         * malloc/malloc.c (musable): Use malloc_check_get_size.
22312         * malloc/tst-malloc-usable.c: New test case.
22314 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22316         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22318 2012-09-05  Allan McRae  <allan@archlinux.org>
22320         [BZ #13966]
22321         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22322         determine header location.
22323         * configure: Regenerated.
22325 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22327         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22328         float format.
22329         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22330         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22331         format.
22332         (test): Regenerate.
22334 2012-09-04  David S. Miller  <davem@davemloft.net>
22336         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22337         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22338         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22340 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22342         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22343         failures.
22345         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22347 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22349         [BZ #9914]
22350         * libio/iogetdelim.c: Include <limits.h>.
22351         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22352         + len + 1 would overflow.
22354 2012-09-03  Andreas Jaeger  <aj@suse.de>
22356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22357         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22361         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22362         Add s_sinf-sse2, s_conf-sse2.
22364         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22365         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22366         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22367         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22369         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22370         for using routine as __sinf_ia32.
22371         Use macro for function declaration and weak_alias.
22372         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22373         for using routine as __cosf_ia32.
22374         Use macro for function declaration and weak_alias.
22376         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22377         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22379         * sysdeps/x86_64/fpu/s_sinf.S: New file.
22380         * sysdeps/x86_64/fpu/s_cosf.S: New file.
22381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22383         * math/libm-test.inc (cos_test): Add more test cases.
22384         (sin_test): Likewise.
22385         (sincos_test): Likewise.
22387 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22390         (IFUNC_RESOLVE): Make pointers to the specialized implementations
22391         hidden.
22392         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22394 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
22396         [BZ #14538]
22397         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22398         first element of the GOT.
22399         (elf_machine_load_address): Return the difference between
22400         the runtime address of _DYNAMIC and elf_machine_dynamic ().
22402 2012-09-01  Allan McRae  <allan@archlinux.org>
22404         [BZ #13412]
22405         * configure.in (AWK): Require gawk version 3.0 or later.
22406         * configure: Regenerated.
22408 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
22410         * sysdeps/unix/sysv/linux/kernel-features.h
22411         (__ASSUME_POSIX_CPU_TIMERS): Remove.
22412         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22413         [__NR_clock_getres]: Make code unconditional.
22414         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22415         (clock_getcpuclockid): Remove code left unreachable by removal of
22416         conditionals.
22417         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22418         code unconditional.
22419         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22420         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22421         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22422         Make code unconditional.
22423         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22424         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22425         * sysdeps/unix/sysv/linux/clock_settime.c
22426         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22427         conditional code.
22428         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22429         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22431 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
22433         [BZ #14476]
22434         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22435         scripts/test-installation.pl.
22437         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22438         and $ld_so_version if it is set.
22440 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22442         [BZ #14516]
22443         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22444         failure if reading from procfs failed.
22445         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22447 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22449         * sysdeps/unix/sysv/linux/kernel-features.h
22450         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22451         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22452         Remove conditional code.
22453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22454         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22455         Remove conditional code.
22456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22457         * sysdeps/unix/sysv/linux/i386/fxstat.c
22458         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22460         * sysdeps/unix/sysv/linux/i386/fxstatat.c
22461         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22463         * sysdeps/unix/sysv/linux/i386/lxstat.c
22464         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22466         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
22467         Remove conditional code.
22468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22469         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22470         Remove conditional code.
22471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22472         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
22473         <kernel-features.h>.
22474         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
22475         Remove.
22476         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
22477         Remove conditional code.
22478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22479         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
22480         Remove conditional.
22482 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
22484         [BZ #5400]
22485         * NEWS: Add fixed bug number.
22487 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22489         [BZ #14519]
22490         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
22491         underflowing exponent in case of negative sign.
22492         * stdlib/tst-strtod-round-data: Add more tests.
22493         * stdlib/tst-strtod-round.c (tests): Regenerated.
22495         [BZ #3479]
22496         * stdlib/strtod_l.c (NDIG): Remove.
22497         (HEXNDIG): Likewise.
22498         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
22499         smallest representable value.
22500         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
22501         lie within an exact representation of 1/2 ulp of the result.
22502         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22503         unconditionally.
22504         (TENS_P9_IDX): Define unconditionally.
22505         (TENS_P9_SIZE): Likewise.
22506         (TENS_P10_IDX): Likewise.
22507         (TENS_P10_SIZE): Likewise.
22508         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
22509         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
22510         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
22511         entries for 10^2^13 and 10^2^14.
22512         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
22513         (TENS_P13_IDX): Define.
22514         (TENS_P13_SIZE): Likewise.
22515         (TENS_P14_IDX): Likewise.
22516         (TENS_P14_SIZE): Likewise.
22517         (_fpioconst_pow10): Change array size to
22518         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
22519         unconditional.
22520         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
22521         1024]: Add entries for 10^2^13 and 10^2^14.
22522         [LAST_POW10 > _LAST_POW10]: Remove #error.
22523         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
22524         (_fpioconst_pow10): Change array size to
22525         FPIOCONST_POW10_ARRAY_SIZE.
22526         * stdlib/gen-fpioconst.c: New file.
22527         * stdlib/gen-tst-strtod-round.c: Likewise.
22528         * stdlib/tst-strtod-round-data: Likewise.
22529         * stdlib/tst-strtod-round.c: Likewise.
22530         * stdlib/Makefile (tests): Add tst-strtod-round.
22532         [BZ #14459]
22533         * stdlib/strtod_l.c: Include <stdint.h>.
22534         (NDEBUG): Do not define.
22535         (round_and_return): Change EXPONENT parameter to type intmax_t.
22536         Rearrange calculations to avoid internal overflow possibilities.
22537         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
22538         Rearrange calculations to avoid internal overflow possibilities.
22539         Assert that number fits inside MPNSIZE limbs.
22540         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
22541         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
22542         calculations and add assertions to avoid internal overflow
22543         possibilities.  Add casts to avoid signed/unsigned operations.
22544         * stdlib/tst-strtod-overflow.c: New file.
22545         * stdlib/Makefile (tests): Add tst-strtod-overflow.
22547 2012-08-25  Marek Polacek  <polacek@redhat.com>
22549         * time/time.h: Fix some typos in comments.
22551 2012-08-23  Roland McGrath  <roland@hack.frob.com>
22553         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
22554         * posix/tst-rfc3484-2.c: Likewise.
22555         * posix/tst-rfc3484-3.c: Likewise.
22557 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
22559         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
22560         (EF_ARM_ABI_FLOAT_HARD): Likewise.
22562 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
22564         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
22565         #include of fxstatat64.c.
22567 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22569         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
22570         * shadow/getspent_r.c: Likewise.
22571         * shadow/getspnam.c: Likewise.
22572         * shadow/getspnam_r.c: Likewise.
22573         * gshadow/getsgent.c: Likewise.
22574         * gshadow/getsgent_r.c: Likewise.
22575         * gshadow/getsgnam.c: Likewise.
22576         * gshadow/getsgnam_r.c: Likewise.
22577         * inet/getnetbyad.c: Likewise.
22578         * inet/getnetbyad_r.c: Likewise.
22579         * inet/getnetbynm.c: Likewise.
22580         * inet/getnetbynm_r.c: Likewise.
22581         * inet/getnetent.c: Likewise.
22582         * inet/getnetent_r.c: Likewise.
22583         * inet/getproto.c: Likewise.
22584         * inet/getproto_r.c: Likewise.
22585         * inet/getprtent.c: Likewise.
22586         * inet/getprtent_r.c: Likewise.
22587         * inet/getprtname.c: Likewise.
22588         * inet/getprtname_r.c: Likewise.
22589         * inet/getrpcbyname.c: Likewise.
22590         * inet/getrpcbyname_r.c: Likewise.
22591         * inet/getrpcbynumber.c: Likewise.
22592         * inet/getrpcbynumber_r.c: Likewise.
22593         * inet/getrpcent.c: Likewise.
22594         * inet/getrpcent_r.c: Likewise.
22595         * inet/getaliasent.c: Likewise.
22596         * inet/getaliasent_r.c: Likewise.
22597         * inet/getaliasname.c: Likewise.
22598         * inet/getaliasname_r.c: Likewise.
22599         * nscd/getgrgid_r.c: Likewise.
22600         * nscd/getgrnam_r.c: Likewise.
22601         * nscd/gethstbyad_r.c: Likewise.
22602         * nscd/gethstbynm3_r.c: Likewise.
22603         * nscd/getpwnam_r.c: Likewise.
22604         * nscd/getpwuid_r.c: Likewise.
22605         * nscd/getsrvbynm_r.c: Likewise.
22606         * nscd/getsrvbypt_r.c: Likewise.
22607         * nscd/gai.c: Likewise.
22609         * configure.in (build_nscd): New substituted variable, set
22610         by --disable-build-nscd and defaults to $use_nscd.
22611         * configure: Regenerated.
22612         * config.make.in (build-nscd): New substituted variable.
22613         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
22614         Change conditional to require [$(build-nscd) = yes] as well.
22615         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
22617         [BZ# 13696]
22618         * configure.in (use_nscd): New substituted variable, set by
22619         --disable-nscd.  If enabled, define USE_NSCD.
22620         * configure: Regenerated.
22621         * config.h.in: Add USE_NSCD.
22622         * config.make.in (use-nscd): New substituted variable.
22623         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22624         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
22625         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
22626         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
22627         (CFLAGS-getgrnam_r.c): Likewise.
22628         (CFLAGS-initgroups.c): Likewise.
22629         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
22630         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
22631         Variables removed.
22632         * inet/getnetgrent_r.c
22633         (nscd_setnetgrent): New function, broken out of ...
22634         (setnetgrent): ... here.  Call it.
22635         (innetgr): Conditionalize nscd bits on [USE_NSCD].
22636         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
22637         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
22638         * nscd/Makefile (routines, aux): Move definitions after include of
22639         Makeconfig.  Conditionalize on [$(use-nscd) != no].
22640         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
22641         Conditionalize on [USE_NSCD].
22642         (is_nscd, nscd_init_cb): Likewise.
22643         (nss_load_library): Conditionalize init callback on [USE_NSCD].
22644         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
22645         * nss/nss_db/db-init.c: Likewise.
22646         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
22647         [USE_NSCD].
22648         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
22649         (make_request): Use it.
22650         (cache_valid_p): New function.
22651         (__check_pf): Use it.
22652         * NEWS: Add item for --disable-nscd.
22654 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
22656         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
22657         to support sed >= 4.2.1-20-ga9bf076.
22658         * configure: Regenerated.
22660 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22662         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
22663         Conditionalize whole body on [IREL].
22665 2012-08-22  Jeff Law <law@redhat.com>
22667         [BZ #14505]
22668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
22669         if the family is PF_UNSPEC.
22671 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
22673         * Makerules (lib-version): Rename from V.
22674         (install-lib-nosubdir): Change V to lib-version.
22676 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
22678         [BZ #14252]
22679         * powerpc32/power6/wcschr.c: New file.
22680         * powerpc32/power6/wcscpy.c: New file.
22681         * powerpc32/power6/wcsrchr.c: New file.
22682         * powerpc64/power6/wcschr.c: New file.
22683         * powerpc64/power6/wcscpy.c: New file.
22684         * powerpc64/power6/wcsrchr.c: New file.
22686 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22688         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
22689         (two_way_short_needle): Use it.
22690         * string/strstr.c (AVAILABLE1_USES_J): Define.
22691         * string/strcasestr.c: Likewise.
22693         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
22694         array references.
22695         * string/strcasestr.c (TOLOWER): Make side-effect safe.
22697         [BZ #11607]
22698         * NEWS: Add an entry.
22699         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22700         define their defaults.
22701         (two_way_short_needle): Detect end-of-string on-the-fly.
22702         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22703         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22704         * string/bug-strcasestr1.c: New test.
22705         * string/Makefile: Run it.
22707 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22709         [BZ #11607]
22710         * string/str-two-way.h (two_way_short_needle): Optimize matching of
22711         the first character.
22713 2012-08-21  Roland McGrath  <roland@hack.frob.com>
22715         * csu/elf-init.c (__libc_csu_irel): Function removed.
22716         * csu/libc-start.c (apply_irel): New function.
22717         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22719 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
22721         * sysdeps/unix/sysv/linux/kernel-features.h
22722         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22723         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22724         <kernel-features.h>.
22725         [__NR_fadvise64_64]: Make code unconditional.
22726         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22727         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22728         !__NR_fadvise64_64)]: Likewise.
22729         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22730         !__NR_fadvise64_64))]: Likewise.
22731         [__NR_fadvise64]: Make code unconditional.
22732         [!__NR_fadvise64]: Remove conditional code.
22733         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22734         <kernel-features.h>.
22735         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22736         unconditional.
22737         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22738         conditional code.
22739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22740         not include <kernel-features.h>.
22741         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22742         unconditional.
22743         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22744         conditional code.
22745         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22746         include <kernel-features.h>.
22747         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22748         unconditional.
22749         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22750         conditional code.
22752 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22754         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22755         slight instruction rearrangements per scrollpipe analysis.
22756         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22758 2012-08-20  Roland McGrath  <roland@hack.frob.com>
22760         * manual/syslog.texi (syslog; vsyslog, closelog):
22761         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22762         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22764         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22765         DSOCAPS to match condition on defining it.
22767 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
22769         * sysdeps/unix/sysv/linux/kernel-features.h
22770         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22772         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22773         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22775         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22776         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22778         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22779         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22781         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22782         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22784         * sysdeps/unix/sysv/linux/kernel-features.h
22785         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22786         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22787         unconditional.
22788         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22789         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22790         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22791         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22792         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22793         Make code unconditional.
22794         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22795         (__mmap64) [!__NR_mmap2]: Likewise.
22796         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22797         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22798         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22799         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22800         [__NR_mmap2]: Make code unconditional.
22801         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22802         (__mmap64) [!__NR_mmap2]: Likewise.
22804 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22806         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22808 2012-08-18  Andreas Jaeger  <aj@suse.de>
22810         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22812 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22814         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22815         * include/unistd.h (__have_sock_cloexec): Likewise.
22816         (__have_pipe2): Likewise.
22817         (__have_dup3): Likewise.
22819 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22821         [BZ #9685]
22822         * include/unistd.h (__have_pipe2): Change define into an extern int.
22823         (__have_dup3): Likewise.
22824         * socket/have_sock_cloexec.c: Include fcntl.h.
22825         (__have_pipe2): New variable.
22826         (__have_dup3): Likewise.
22828 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
22830         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22832 2012-08-17  Marek Polacek  <polacek@redhat.com>
22834         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22835         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22837 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22839         * configure.in: Add AC_SUBST for sysheaders.
22840         * configure: Regenerated.
22841         * config.make.in (sysheaders): New substituted variable.
22843         * sysdeps/unix/mkfifo.c: Moved ...
22844         * sysdeps/posix/mkfifo.c: ... here.
22845         * sysdeps/unix/mkfifoat.c: Moved ...
22846         * sysdeps/posix/mkfifoat.c: ... here.
22848         * sysdeps/unix/utime.c: Moved ...
22849         * sysdeps/posix/utime.c: ... here.
22851         * sysdeps/unix/time.c: Moved ...
22852         * sysdeps/posix/time.c: ... here.
22853         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22854         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22856         * sysdeps/unix/nice.c: Moved ...
22857         * sysdeps/posix/nice.c: ... here.
22859         * sysdeps/unix/alarm.c: Moved ...
22860         * sysdeps/posix/alarm.c: ... here.
22862         * intl/Makefile ($(codeset_mo)): Depend on the input file.
22864 2012-08-17  Jeff Law <law@redhat.com>
22866         * intl/Makefile (codeset_mo): New variable.
22867         ($(codeset_mo)): New target.
22868         (tst-codeset.out): Depend on that.  Remove explicit rule.
22869         (tst-gettext3.out, tst-gettext5.out): Likewise.
22870         (LOCPATH-ENV, tst-codeset-ENV): New variables.
22871         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22872         * intl/tst-codeset.sh: Remove.
22873         * intl/tst-gettext3.sh: Likewise.
22874         * intl/tst-gettext5.sh: Likewise.
22876 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22878         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
22879         * sysdeps/unix/syscalls.list: ... here.
22881         * sysdeps/posix/getaddrinfo.c
22882         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22883         (gaiconf_init, gaiconf_reload): Use them.
22884         [!_STATBUF_ST_NSEC]
22885         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22886         Define using time_t rather than struct timespec.
22888         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22889         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22890         Macros removed.
22891         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22892         [!NO_THREADS].
22893         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22894         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22895         Likewise.
22897         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22898         __libc_cleanup_push argument.
22900         * bits/param.h: New file.
22901         * misc/sys/param.h: New file.
22902         * include/sys/param.h: New file.
22903         * misc/Makefile (headers): Add bits/param.h.
22904         * sysdeps/generic/sys/param.h: File removed.
22905         * sysdeps/unix/sysv/linux/bits/param.h: New file.
22906         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22907         * sysdeps/mach/hurd/bits/param.h: New file.
22908         * sysdeps/mach/hurd/sys/param.h: File removed.
22910         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22911         last change.
22913         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22914         [_IO_MTSAFE_IO].
22915         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22916         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22917         New macros.
22919         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22920         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22921         rather than -D_IO_MTSAFE_IO conditionally.
22922         * stdio-common/Makefile (CPPFLAGS): Likewise.
22923         * wcsmbs/Makefile (CPPFLAGS): Likewise.
22924         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22925         Use $(libio-mtsafe).
22926         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22927         of -D_IO_MTSAFE_IO.
22928         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22929         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22930         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22931         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22932         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22933         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22934         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22935         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22936         (CFLAGS-fread_u_chk.c): Likewise.
22937         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22938         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22939         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22940         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22941         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22942         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22943         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22944         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22945         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22947         * libio/Makefile: Test [$(libc-reentrant) = yes]
22948         instead of [$(filter %REENTRANT, $(defines)) nonempty].
22950         * Makeconfig
22951         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22952         * sysdeps/pthread/configure: File removed.
22953         * sysdeps/pthread/Makeconfig: New file.
22954         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22955         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22957 2012-08-16  Gary Benson  <gbenson@redhat.com>
22959         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22960         unmapping the first object in a namespace.
22962 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22964         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22965         (__internal_setnetgrent): ... this.  Add internal_function to
22966         definition.  Add libc_hidden_def.
22967         (setnetgrent): Update caller.
22968         (internal_endnetgrent): Renamed to ...
22969         (__internal_endnetgrent): ... this.  Add internal_function to
22970         definition.  Add libc_hidden_def.
22971         (endnetgrent): Update caller.
22972         (internal_getnetgrent_r): Renamed to ...
22973         (__internal_getnetgrent_r): ... this.  Add internal_function to
22974         definition.  Add libc_hidden_def.
22975         (__getnetgrent_r): Update caller.
22976         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
22978 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22980         * stdlib/longlong.h: Update from GCC.
22982 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22984         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22985         on _QL, which is set by umul_ppmm but never used.
22986         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22987         variables, which are set by GMP macros but never used.
22988         * stdio-common/_itowa.c (_itowa): Likewise.
22989         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22990         * stdlib/mod_1.c (mpn_mod_1): Likewise.
22992 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
22994         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22995         struct La_sh_regs is not constant.
22996         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22997         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22998         and struct La_sparc64_regs are not constant.
23000 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23002         * sysdeps/unix/sysv/linux/kernel-features.h
23003         (__ASSUME_POSIX_TIMERS): Remove.
23004         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23006         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23007         Make code unconditional.
23008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23009         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23010         Make code unconditional.
23011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23012         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23013         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23014         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23015         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23016         Make code unconditional.
23017         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23018         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23019         (__libc_missing_posix_timers): Remove.
23021 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23023         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23024         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23026         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23028         * elf/dl-sym.c: Include <stdlib.h>.
23030         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23031         constants, which avoids warnings in 32-bit builds.
23033         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23034         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23036         * misc/lseek.c: File moved to ...
23037         * io/lseek.c: ... here.
23039         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23041         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23042         shifting LEN more than 31 bits at once.
23044 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23046         [BZ #14195]
23047         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23048         segmentation fault for a case of two empty input strings.
23049         * string/test-strncasecmp.c (check1): Renamed to...
23050         (bz12205): ...this.
23051         (bz14195): Add new testcase for two empty input strings and N > 0.
23052         (test_main): Call new testcase, adapt for renamed function.
23054 2012-08-15  Andreas Jaeger  <aj@suse.de>
23056         [BZ #14090]
23057         * crypt/md5test2.c: New test, based on test supplied by Serge
23058         Belyshev <belyshev@depni.sinp.msu.ru>.
23059         * crypt/Makefile (xtests): Add md5test-giant..
23060         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23062 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23064         [BZ #14090]
23065         * crypt/md5.c (md5_process_block): Don't assume the buffer
23066         length is less than 2**32.
23067         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23068         length is less than 2**64.
23070 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23072         * string/str-two-way.h: Include <sys/param.h>.
23073         (MAX): Macro removed.
23075         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23076         Move #define and #undef of memmove to just before and after
23077         including <string.h>.
23079         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23080         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23081         and after including <string.h>.  Move declarations of
23082         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23083         to before #include "string/memmove.c".
23085         * include/dirent.h: Declare __getdirentries.
23087         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23088         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23090 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23092         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23093         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23094         * sysdeps/i386/configure: Regenerated.
23095         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23096         STABS_CURRENT_FILE, and STABS_FUN.
23097         (END): Remove call to STABS_FUN_END.
23098         (STABS_CURRENT_FILE1): Delete.
23099         (STABS_CURRENT_FILE): Likewise.
23100         (STABS_FUN): Likewise.
23101         (STABS_FUN_END): Likewise.
23102         (STABS_FUN2): Likewise.
23103         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23104         * sysdeps/x86_64/configure: Regenerated.
23106 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23108         * elf/dl-open.c: Include <atomic.h>.
23109         * elf/dl-lookup.c: Likewise.
23111 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23113         * sysdeps/unix/sysv/linux/kernel-features.h
23114         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23115         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23116         unconditionally.
23117         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23118         unconditionally.
23119         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23120         condition on __ASSUME_CLONE_THREAD_FLAGS.
23122 2012-08-14  Andreas Jaeger  <aj@suse.de>
23124         * sysdeps/i386/fpu/libm-test-ulps: Update.
23126 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23128         * include/atomic.h (atomic_exchange_and_add): Split into ...
23129         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23130         New atomic macros.
23132 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23136 2012-08-13  Jeff Law <law@redhat.com>
23138         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23139         null byte in the output string.
23141 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23143         * sysdeps/unix/sysv/linux/kernel-features.h
23144         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23145         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23146         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23147         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23148         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23149         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23150         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23152 2012-08-09  Jeff Law <law@redhat.com>
23154         [BZ #13939]
23155         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23156         When avoid_arena is set, don't retry in the that arena.  Pick the
23157         next one, whatever it might be.
23158         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23159         (arena_lock): Pass in new parameter to arena_get2.
23160         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23161         arena_get2.
23162         (__libc_malloc): Unify retrying after main arena failure with
23163         __libc_memalign version.
23164         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23166 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23168         [BZ #14166]
23169         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23170         to __redirect_strstr.
23171         (__strstr_sse42): Use typeof __redirect_strstr.
23172         (__strstr_ia32): Likewise.
23173         (__libc_strstr): New prototype.
23174         (strstr): Renamed to ...
23175         (__libc_strstr): This.
23176         (strstr): New strong alias of __libc_strstr.
23177         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23178         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23179         __redirect_time.
23180         Include <time.h>.
23181         (__libc_time): New prototype.
23182         (time_ifunc): Replace time with __libc_time.
23183         (time): New strong alias and hidden definition of __libc_time.
23184         (__GI_time): Remove strong alias.
23185         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23186         Include <stddef.h>.
23187         (memmove): Redefined to __redirect_memmove.
23188         (__memmove_sse2): Use typeof __redirect_memmove.
23189         (__memmove_ssse3): Likewise.
23190         (__memmove_ssse3_back): Likewise.
23191         (__libc_memmove): New prototype.
23192         (memmove): Renamed to ...
23193         (__libc_memmove): This.
23194         (memmove): New strong alias of __libc_memmove.
23196 2012-08-08  Mark Salter  <msalter@redhat.com>
23198         * elf/elf.h
23199         (R_MN10300_TLS_GD): Define.
23200         (R_MN10300_TLS_LD): Likewise.
23201         (R_MN10300_TLS_LDO): Likewise.
23202         (R_MN10300_TLS_GOTIE): Likewise.
23203         (R_MN10300_TLS_IE): Likewise.
23204         (R_MN10300_TLS_LE): Likewise.
23205         (R_MN10300_TLS_DTPMOD): Likewise.
23206         (R_MN10300_TLS_DTPOFF): Likewise.
23207         (R_MN10300_TLS_TPOFF): Likewise.
23208         (R_MN10300_SYM_DIFF): Likewise.
23209         (R_MN10300_ALIGN): Likewise.
23210         (R_MN10300_NUM): Update.
23212 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23214         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23215         Remove.
23217 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23219         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23221         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23222         sysdeps/unix -> sysdeps/posix move.
23223         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23225 2012-08-07      Allan McRae     <allan@archlinux.org>
23227         [BZ #14303]
23228         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23229         (SUNOS_CPP): Likewise.
23230         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23231         not found.
23232         (open_input): Call CPP using execvp.
23234 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23236         * sysdeps/unix/sysv/linux/kernel-features.h
23237         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23238         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23239         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23240         (__ASSUME_WAITID_SYSCALL): Likewise.
23241         * sysdeps/unix/sysv/linux/dl-execstack.c
23242         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23243         code unconditional.
23244         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23245         conditional code.
23246         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23247         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23248         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23249         code.
23250         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23251         unconditional.
23252         [__ASSUME_WAITID_SYSCALL]: Likewise.
23253         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23255 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23257         * sysdeps/unix/closedir.c: Renamed to ...
23258         * sysdeps/posix/closedir.c: ... here.
23259         * sysdeps/unix/dirfd.c: Renamed to ...
23260         * sysdeps/posix/dirfd.c: ... here.
23261         * sysdeps/unix/dirstream.h: Renamed to ...
23262         * sysdeps/posix/dirstream.h: ... here.
23263         * sysdeps/unix/fdopendir.c: Renamed to ...
23264         * sysdeps/posix/fdopendir.c: ... here.
23265         * sysdeps/unix/opendir.c: Renamed to ...
23266         * sysdeps/posix/opendir.c: ... here.
23267         * sysdeps/unix/readdir.c: Renamed to ...
23268         * sysdeps/posix/readdir.c: ... here.
23269         * sysdeps/unix/readdir_r.c: Renamed to ...
23270         * sysdeps/posix/readdir_r.c: ... here.
23271         * sysdeps/unix/rewinddir.c: Renamed to ...
23272         * sysdeps/posix/rewinddir.c: ... here.
23273         * sysdeps/unix/seekdir.c: Renamed to ...
23274         * sysdeps/posix/seekdir.c: ... here.
23275         * sysdeps/unix/telldir.c: Renamed to ...
23276         * sysdeps/posix/telldir.c: ... here.
23277         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23278         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23279         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23280         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23282         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23283         * bits/fcntl.h: ... here.
23285         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23286         not 0.
23287         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23288         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23289         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23290         (struct flock): Move l_start, l_len to the beginning.
23291         Use __pid_t for l_pid.
23292         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23293         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23294         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23295         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23296         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23297         [__USE_LARGEFILE64] (struct flock64): New type.
23298         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23300         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23301         * bits/dirent.h: ... here.
23303         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23304         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23306 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23308         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23309         Change from 2.6.0 to 2.6.16.
23310         * sysdeps/unix/sysv/linux/configure: Regenerated.
23311         * sysdeps/unix/sysv/linux/kernel-features.h
23312         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23313         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23314         version.
23315         (__ASSUME_UTIMES): Likewise.
23316         (__ASSUME_CLONE_STOPPED): Remove.
23317         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23318         architectures, not kernel version.
23319         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23320         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23321         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23322         (__ASSUME_WAITID_SYSCALL): Likewise.
23323         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23324         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23325         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23326         refer to older versions.
23328 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23330         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23331         Define alphasort64 as an alias.
23332         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23333         Define versionsort64 as an alias.
23334         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23335         Define scandir64 as an alias.
23336         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23337         Define scandirat64 as an alias.
23338         * dirent/alphasort64.c (alphasort64):
23339         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23340         * dirent/versionsort64.c: Likewise.
23341         * dirent/scandir64.c: Likewise.
23342         * dirent/scandirat64.c: Likewise.
23343         * sysdeps/wordsize-64/alphasort.c: File removed.
23344         * sysdeps/wordsize-64/alphasort64.c: File removed.
23345         * sysdeps/wordsize-64/scandir.c: File removed.
23346         * sysdeps/wordsize-64/scandir64.c: File removed.
23347         * sysdeps/wordsize-64/scandirat.c: File removed.
23348         * sysdeps/wordsize-64/scandirat64.c: File removed.
23349         * sysdeps/wordsize-64/versionsort.c: File removed.
23350         * sysdeps/wordsize-64/versionsort64.c: File removed.
23351         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23352         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23353         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23354         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23355         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23356         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23357         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23358         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23360         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23362         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23364         [defined __arch64__ || defined __sparcv9]
23365         (__INO_T_MATCHES_INO64_T): New macro.
23366         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23367         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23368         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23369         * sysdeps/unix/sysv/linux/bits/dirent.h
23370         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23371         (_DIRENT_MATCHES_DIRENT64): New macro.
23373         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23374         Define lockf64 as an alias.
23375         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23376         Define fseeko64 as an alias.
23377         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23378         Define ftello64 as an alias.
23379         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23380         Define _IO_fgetpos64 and fgetpos64 as aliases.
23381         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23382         Define _IO_fsetpos64 and fsetpos64 as aliases.
23383         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23384         Conditionalize body on this.
23385         * libio/fseeko64.c: Likewise.
23386         * libio/ftello64.c: Likewise.
23387         * libio/iofgetpos64.c: Likewise.
23388         * libio/iofsetpos64.c: Likewise.
23389         * sysdeps/wordsize-64/lockf.c: File removed.
23390         * sysdeps/wordsize-64/lockf64.c: File removed.
23391         * sysdeps/wordsize-64/fseeko.c: File removed.
23392         * sysdeps/wordsize-64/fseeko64.c: File removed.
23393         * sysdeps/wordsize-64/ftello.c: File removed.
23394         * sysdeps/wordsize-64/ftello64.c: File removed.
23395         * sysdeps/wordsize-64/iofgetpos.c: File removed.
23396         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23397         * sysdeps/wordsize-64/iofsetpos.c: File removed.
23398         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23399         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23400         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23401         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23402         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23403         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23404         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23405         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23406         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23407         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23408         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23410         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23412         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23414         [defined __arch64__ || defined __sparcv9]
23415         (__OFF_T_MATCHES_OFF64_T): New macro.
23416         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23417         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23418         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23419         (__OFF_T_MATCHES_OFF64_T): New macro.
23421 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23423         * stdlib/secure-getenv.c (__secure_getenv): Replace
23424         GLIBC_2_16 with GLIBC_2_17.
23426 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23429         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23431 2012-08-03  David S. Miller  <davem@davemloft.net>
23433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23435 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23438         Remove.
23439         (__ASSUME_CORRECT_SI_PID): Likewise.
23440         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23441         (__ASSUME_TMPFS_NAME): Likewise.
23442         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23443         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23444         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23445         (HAVE_AUX_SECURE): Make definition unconditional.
23446         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23447         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23449 2012-08-03  Roland McGrath  <roland@hack.frob.com>
23451         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23452         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23453         * sysdeps/mach/hurd/eloop-threshold.h: New file.
23454         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23455         __eloop_threshold instead of SYMLOOP_MAX.
23457         * sysdeps/generic/eloop-threshold.h: New file.
23458         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23459         of MAXSYMLINKS.
23460         * elf/chroot_canon.c (chroot_canon): Likewise.
23462 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23464         [BZ #13717]
23465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23466         Change to 2.6.0 everywhere.
23467         * sysdeps/unix/sysv/linux/configure: Regenerated.
23468         * sysdeps/unix/sysv/linux/kernel-features.h
23469         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
23470         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
23471         kernel versions.
23472         (__ASSUME_POSIX_TIMERS): Define unconditionally.
23473         (__ASSUME_FUTEX_REQUEUE): Remove.
23474         (__ASSUME_STATFS64): Define unconditionally.
23475         (__ASSUME_AT_SECURE): Likewise.
23476         (__ASSUME_CORRECT_SI_PID): Likewise.
23477         (__ASSUME_TGKILL): Define without depending on kernel version for
23478         i386.
23479         (__ASSUME_UTIMES): Likewise.
23480         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
23481         kernel version.
23482         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
23483         (__ASSUME_TMPFS_NAME): Likewise.
23484         * README: Update reference to Linux kernel versions.
23486 2012-08-02  Marek Polacek  <polacek@redhat.com>
23488         [BZ# 14150]
23489         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
23490         libc_cv_asm_type_prefix with %.
23491         * configure: Regenerated.
23492         * include/libc-symbols.h: Remove comment about
23493         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23494         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
23495         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
23496         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
23497         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
23498         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23499         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
23500         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
23501         * elf/tst-unique2mod1.c: Likewise.
23502         * elf/tst-unique1mod2.c: Likewise.
23503         * elf/tst-unique1mod1.c: Likewise.
23504         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
23505         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
23506         Replace ASM_TYPE_DIRECTIVE with .type.
23507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23508         * sysdeps/i386/sysdep.h: Likewise.
23509         * sysdeps/x86_64/sysdep.h: Likewise.
23510         * sysdeps/sh/sysdep.h: Likewise.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23512         Do not define ASM_TYPE_DIRECTIVE.
23513         * sysdeps/powerpc/sysdep.h: Likewise.
23514         * sysdeps/powerpc/powerpc32/sysdep.h:
23515         Replace ASM_TYPE_DIRECTIVE with .type.
23516         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23518         * sysdeps/i386/fpu/e_powf.S: Likewise.
23519         * sysdeps/i386/fpu/e_expl.S: Likewise.
23520         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23521         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23522         * sysdeps/i386/fpu/e_pow.S: Likewise.
23523         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23524         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23525         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23526         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23527         * sysdeps/i386/fpu/e_log2.S: Likewise.
23528         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23529         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23530         * sysdeps/i386/fpu/e_powl.S: Likewise.
23531         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23532         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23533         * sysdeps/i386/fpu/e_logl.S: Likewise.
23534         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23535         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23536         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23537         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23538         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23539         * sysdeps/i386/fpu/e_log.S: Likewise.
23540         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23541         * sysdeps/i386/fpu/e_logf.S: Likewise.
23542         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23543         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23544         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23545         * sysdeps/i386/fpu/e_log10.S: Likewise.
23546         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23547         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23548         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23549         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23550         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23551         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23552         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23553         * sysdeps/i386/i686/strtok.S: Likewise.
23554         * sysdeps/i386/i386-mcount.S: Likewise.
23555         * sysdeps/i386/strtok.S: Likewise.
23556         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
23557         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23558         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23559         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23560         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23561         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23562         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23563         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23565         * sysdeps/x86_64/_mcount.S: Likewise.
23566         * sysdeps/x86_64/strtok.S: Likewise.
23567         * sysdeps/sh/_mcount.S: Likewise.
23569 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23571         * libio/iofopen.c: Include <fcntl.h>.
23572         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
23573         (_IO_fopen64, fopen64): Define as aliases.
23574         * libio/iofopen64.c: Include <fcntl.h>.
23575         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
23576         Conditionalize body on this.
23577         * sysdeps/wordsize-64/iofopen.c: File removed.
23578         * sysdeps/wordsize-64/iofopen64.c: File removed.
23580 2012-08-01  Marek Polacek  <polacek@redhat.com>
23582         * libc/Makeconfig: Use elf in place of binfmt-subdir.
23583         Use dlfcn directly instead of a variable.
23584         (binfmt-subdir): Do not define.
23585         (dlfcn): Likewise.
23587 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
23589         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
23590         Remove all definitions.
23591         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
23592         <kernel-features.h>.
23593         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23594         (miss_F_GETOWN_EX): Remove all definitions.
23595         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
23596         macro definition.
23597         [!__ASSUME_FCNTL64]: Remove conditional code.
23598         [__ASSUME_FCNTL64]: Make code unconditional.
23599         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
23600         <kernel-features.h>.
23601         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23602         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
23603         (lockf64) [__NR_fcntl64]: Make code unconditional.
23604         (lockf64) [__ASSUME_FCNTL64]: Likewise.
23606         * sysdeps/unix/sysv/linux/kernel-features.h
23607         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
23608         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23609         Make code unconditional.
23610         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23611         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
23613         [__NR_vfork]: Make code unconditional.
23614         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23615         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
23617         [__NR_vfork]: Make code unconditional.
23618         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23619         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23621 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23623         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
23624         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
23626         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23627         Define mkstemp64 as an alias.
23628         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23629         Define mkstemps64 as an alias.
23630         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23631         Define mkostemp64 as an alias.
23632         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23633         Define mkostemps64 as an alias.
23634         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
23635         Conditionalize body on this.
23636         * misc/mkostemp64.c: Likewise.
23637         * misc/mkostemps64.c: Likewise.
23638         * misc/mkstemps64.c: Likewise.
23639         * sysdeps/wordsize-64/mkstemp64.c: File removed.
23640         * sysdeps/wordsize-64/mkostemp64.c: File removed.
23641         * sysdeps/wordsize-64/mkostemp.c: File removed.
23642         * sysdeps/wordsize-64/mkstemp.c: File removed.
23643         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
23644         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
23645         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
23646         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
23648         [BZ #14138]
23649         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
23650         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
23651         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23652         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
23654         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
23655         compat_symbol macros from <shlib-compat.h> rather than the underlying
23656         default_symbol_version and symbol_version macros, so that DEFAULT
23657         lines in shlib-versions are respected.
23658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
23660 2012-08-01  Florian Weimer  <fweimer@redhat.com>
23662         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
23663         Declare with warn_unused_result.
23664         (setgid, setregid, setegid, setresgid): Likewise.
23665         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
23666         Likewise.
23667         * WUR-REPORT: Remove set*id functions.
23669 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
23671         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
23673 2012-07-31  Roland McGrath  <roland@hack.frob.com>
23675         [BZ #10191]
23676         * include/sys/socket.h (__libc_accept, __libc_accept4):
23677         Add attribute_hidden.
23678         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
23680         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
23681         use of PTR_MANGLE.
23682         * inet/getnetgrent_r.c (setup): Likewise.
23684         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
23686 2012-07-31  David S. Miller  <davem@davemloft.net>
23688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23690 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
23692         [BZ #13629]
23693         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
23694         value between 1.0 and 2.0 and smaller part has absolute value less
23695         than 1.0.
23696         * math/s_clog10.c (__clog10): Likewise.
23697         * math/s_clog10f.c (__clog10f): Likewise.
23698         * math/s_clog10l.c (__clog10l): Likewise.
23699         * math/s_clogf.c (__clogf): Likewise.
23700         * math/s_clogl.c (__clogl): Likewise.
23701         * math/libm-test.inc (clog_test): Add more tests.
23702         (clog10_test): Likewise.
23703         * sysdeps/i386/fpu/libm-test-ulps: Update.
23704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23706 2012-07-31  Florian Weimer  <fweimer@redhat.com>
23708         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23709         Exit with zero in case no suitable GID is found, and write a
23710         message to standard error.
23712 2012-07-30  Roland McGrath  <roland@hack.frob.com>
23714         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23715         rather than to 1.
23716         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23717         (MAXPATHLEN): Removed.
23718         (NOGROUP, NODEV): New macros.
23719         (setbit, clrbit, isset, isclr): New macros.
23720         (howmany, roundup, powerof2): New macros.
23721         (DEV_BSIZE): New macro.
23723         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23724         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23726         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23727         definition on [!__NO_LONG_DOUBLE_MATH].
23729         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23730         PTR_MANGLE and PTR_DEMANGLE.
23732         * socket/accept4.c (accept4): Rename to __libc_accept4.
23733         Define accept4 as a weak alias.
23735         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23736         on [_DIRENT_HAVE_D_TYPE].
23737         * io/ftw.c (ftw_dir): Likewise.
23739         * io/xmknod.c (__xmknod): Don't check PATH for being null.
23741         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23743         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23744         Use the BSD numbers rather than the arbitrary ones we had.
23745         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23746         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23747         (SIGXCPU, SIGXFSZ): New macros.
23748         (_NSIG): Now 32.
23750         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23751         initializer on [_LIBC_REENTRANT].
23753         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23754         definitions inside [_POSIX_MAPPED_FILES].
23756         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23758         * dirent/opendir.c: Include <fcntl.h>.
23760         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23761         (__libc_getspecific): Likewise.
23762         (__libc_key_create): Likewise.
23764         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23765         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23766         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23767         (tmpfile64): Define as alias.
23768         * sysdeps/wordsize-64/tmpfile.c: File removed.
23769         * sysdeps/wordsize-64/tmpfile64.c: File removed.
23770         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23771         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23773         * stdio-common/vfscanf.c: Include <stdbool.h>.
23774         * nss/makedb.c: Likewise.
23775         * stdio-common/_i18n_number.h: Likewise.
23776         * argp/argp-help.c: Likewise.
23777         * posix/wordexp.c: Likewise.
23778         * sysdeps/posix/spawni.c: Likewise.
23779         * nss/nss_files/files-initgroups.c: Likewise.
23780         * stdio-common/reg-modifier.c: Include <stdlib.h>.
23781         * nss/nss_files/files-initgroups.c: Likewise.
23782         * nss/nss_db/db-netgrp.c: Likewise.
23783         * nss/nss_db/db-initgroups.c: Likewise.
23784         * io/fchmodat.c: Include <sys/stat.h>.
23786         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23787         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23789         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23790         [HAVE_MMAP].
23792         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23793         Add multiple inclusion protection.
23795 2012-07-27  David S. Miller  <davem@davemloft.net>
23797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23799 2012-07-27  Gary Benson  <gbenson@redhat.com>
23801         [BZ #14298]
23802         * elf/rtld.c: Include <stap-probe.h>.
23803         (dl_main): Added static probes "init_start" and "init_complete".
23804         * elf/dl-load.c: Include <stap-probe.h>.
23805         (lose): Take new parameter "nsid".
23806         Added static probe "map_failed".
23807         (_dl_map_object_from_fd): Pass namespace id to lose.
23808         Added static probe "map_start".
23809         (open_verify): Pass namespace id to lose.
23810         * elf/dl-open.c: Include <stap-probe.h>.
23811         (dl_open_worker) Added static probes "map_complete", "reloc_start"
23812         and "reloc_complete".
23813         * elf/dl-close.c: Include <stap-probe.h>.
23814         (_dl_close_worker): Added static probes "unmap_start" and
23815         "unmap_complete".
23816         * elf/rtld-debugger-interface.txt: New file documenting the above.
23818 2012-07-26  Roland McGrath  <roland@hack.frob.com>
23820         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23821         rather than a string variable.
23822         * sunrpc/rpc_main.c (h_output): Likewise.
23823         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23825 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
23827         * inet/check_native.c: New file.
23829 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
23831         [BZ #13629]
23832         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23833         if larger part has absolute value 1.0.
23834         * math/s_clog10.c (__clog10): Likewise.
23835         * math/s_clog10f.c (__clog10f): Likewise.
23836         * math/s_clog10l.c (__clog10l): Likewise.
23837         * math/s_clogf.c (__clogf): Likewise.
23838         * math/s_clogl.c (__clogl): Likewise.
23839         * math/libm-test.inc (clog_test): Add more tests.
23840         (clog10_test): Likewise.
23841         * sysdeps/i386/fpu/libm-test-ulps: Update.
23842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23844         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23845         (pltexit): Likewise.
23846         (La_regs): Likewise.
23847         (La_retval): Likewise.
23848         (int_retval): Likewise.
23849         Update #error for removed macros to refer only to definitions in
23850         tst-audit.h.
23851         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23852         macro.
23853         (pltexit): Likewise.
23854         (La_regs): Likewise.
23855         (La_retval): Likewise.
23856         (int_retval): Likewise.
23857         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23858         macro.
23859         (pltexit): Likewise.
23860         (La_regs): Likewise.
23861         (La_retval): Likewise.
23862         (int_retval): Likewise.
23863         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23864         macro.
23865         (pltexit): Likewise.
23866         (La_regs): Likewise.
23867         (La_retval): Likewise.
23868         (int_retval): Likewise.
23869         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23870         macro.
23871         (pltexit): Likewise.
23872         (La_regs): Likewise.
23873         (La_retval): Likewise.
23874         (int_retval): Likewise.
23875         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23876         macro.
23877         (pltexit): Likewise.
23878         (La_regs): Likewise.
23879         (La_retval): Likewise.
23880         (int_retval): Likewise.
23881         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23882         macro.
23883         (pltexit): Likewise.
23884         (La_regs): Likewise.
23885         (La_retval): Likewise.
23886         (int_retval): Likewise.
23887         * sysdeps/generic/tst-audit.h: Update comment to refer only to
23888         macro definitions in tst-audit.h.
23889         * sysdeps/i386/tst-audit.h: New file.
23890         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23891         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23892         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23893         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23894         * sysdeps/sh/tst-audit.h: Likewise.
23895         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23896         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23897         * sysdeps/x86_64/tst-audit.h: Likewise.
23899 2012-07-26  Andreas Jaeger  <aj@suse.de>
23901         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23902         ptrace.
23904         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23905         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23906         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23907         PTRACE_O_MASK.
23908         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23909         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23910         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23912         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23913         value.
23915         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23916         _sigsys.
23917         (si_call_addr, si_syscall, si_arch): Define new macro.
23918         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23919         _sigsys.
23920         (si_call_addr, si_syscall, si_arch): Define new marcro.
23921         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23922         _sigsys.
23923         (si_call_addr, si_syscall, si_arch): Define new macro.
23924         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23925         _sigsys.
23926         (si_call_addr, si_syscall, si_arch): Define new macro.
23928 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #13717]
23931         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23932         Change to 2.4.21 where previously 2.4.1.
23933         * sysdeps/unix/sysv/linux/configure: Regenerated.
23934         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23935         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23936         Linux kernel version.
23937         (__ASSUME_STD_AUXV): Remove.
23938         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23939         kernel version.
23940         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23941         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23942         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23943         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23944         (__ASSUME_NETLINK_SUPPORT): Likewise.
23945         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23946         (__no_netlink_support): Remove conditional definition.
23947         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23948         Remove.
23949         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23950         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23951         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23952         (if_nameindex_ioctl): Remove.
23953         (if_nameindex_netlink): Do not handle __no_netlink_support.
23954         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23955         code.
23956         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23957         Remove conditional code.
23958         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23959         code.
23960         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23961         unconditional.
23962         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23963         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23964         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23965         Remove.
23966         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23967         [!__ASSUME_STD_AUXV]: Remove conditional code.
23968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23969         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23970         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23972         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23973         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23974         code.
23975         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23977         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23978         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23979         conditional code.
23980         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23982         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23983         code.
23984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23985         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23986         conditional code.
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23988         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23989         code unconditional.
23990         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23991         conditional code.
23992         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23993         unconditional.
23994         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23995         conditional code.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23997         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23998         unconditional.
23999         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24000         conditional code.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24002         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24003         code unconditional.
24004         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24005         conditional code.
24006         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24007         unconditional.
24008         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24009         conditional code.
24010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24011         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24012         code unconditional.
24013         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24014         conditional code.
24015         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24016         unconditional.
24017         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24018         conditional code.
24020 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24022         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24023         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24024         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24025         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24026         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24027         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24028         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24029         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24030         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24031         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24032         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24033         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24034         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24035         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24036         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24037         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24038         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24039         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24040         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24042         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24043         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24044         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24046 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24048         * Versions.def: Add GLIBC_2.17.
24049         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24050         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24051         Introduce __libc_secure_getenv.
24052         * stdlib/Versions (2.17): Add secure_getenv
24053         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24054         * stdlib/secure-getenv.c: Rename __secure_getenv to
24055         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24056         symbol __secure_getenv for GLIBC_2.0.
24057         * stdlib/tst-secure-getenv.c: New.
24058         * stdlib/Makefile (tests): Add testcase.
24059         * manual/startup.texi (Environment Access): Document
24060         secure_getenv.
24061         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24062         __libc_secure_getenv.
24063         * inet/ruserpass.c (ruserpass): Likewise.
24064         * malloc/mtrace.c (mtrace): Likewise.
24065         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24066         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24067         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24068         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24069         HAVE_SECURE_GETENV.
24070         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24071         __secure_getenv to __libc_secure_getenv.
24072         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24076         Likewise.
24077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24079         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24085 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24087         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24088         (struct La_i86_retval): Likewise.
24089         (struct La_x86_64_regs): Likewise.
24090         (struct La_x86_64_retval): Likewise.
24091         (struct La_x32_regs): Likewise.
24092         (struct La_x32_retval): Likewise.
24093         (struct La_ppc32_regs): Likewise.
24094         (struct La_ppc32_retval): Likewise.
24095         (struct La_ppc64_regs): Likewise.
24096         (struct La_ppc64_retval): Likewise.
24097         (struct La_sh_regs): Likewise.
24098         (struct La_sh_retval): Likewise.
24099         (struct La_s390_32_regs): Likewise.
24100         (struct La_s390_32_retval): Likewise.
24101         (struct La_s390_64_regs): Likewise.
24102         (struct La_s390_64_retval): Likewise.
24103         (struct La_sparc32_regs): Likewise.
24104         (struct La_sparc32_retval): Likewise.
24105         (struct La_sparc64_regs): Likewise.
24106         (struct La_sparc64_retval): Likewise.
24107         (struct audit_ifaces): Remove architecture-specific pltenter and
24108         pltexit members.
24109         * sysdeps/i386/ldsodefs.h: New file.
24110         * sysdeps/powerpc/ldsodefs.h: Likewise.
24111         * sysdeps/s390/ldsodefs.h: Likewise.
24112         * sysdeps/sh/ldsodefs.h: Likewise.
24113         * sysdeps/sparc/ldsodefs.h: Likewise.
24114         * sysdeps/x86_64/ldsodefs.h: Likewise.
24116 2012-07-25  Marek Polacek  <polacek@redhat.com>
24118         [BZ #6808]
24119         * math/libm-test.inc (yn_test): Add another test.
24120         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24121         to ERANGE when the result is +-Inf.
24122         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24123         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24124         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24125         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24127 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24129         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24130         equal to 0.
24131         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24132         clock_t.
24133         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24135 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24137         * configure.in <sysdeps resolving>: Correct printing
24138         Implies_before.
24139         * configure: Regenerate.
24141 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24143         * math/w_ilogb.c: Include <limits.h>.
24144         * math/w_ilogbl.c: Likewise.
24146 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24148         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24149         va_copy.  Document allowing for unavailable va_copy only as
24150         pre-C99 compatibility.
24151         * manual/string.texi (Copying and Concatenation): Use va_copy
24152         instead of __va_copy in concat example.
24154 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24156         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24157         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24158         it if not null.
24160         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24161         with O_NOLINK passed to __file_name_lookup.
24163         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24164         with O_NOLINK passed to __file_name_lookup.
24166         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24167         negative N or less than NGIDS.
24169         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24170         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24171         enough.  Use memcpy instead of strncpy.
24173 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24175         * elf/Makefile (check-data): Remove.
24176         (localplt.data): New vpath directive.
24177         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24178         instead of $(check-data).
24179         * scripts/data/localplt-generic.data: Move to ...
24180         * sysdeps/generic/localplt.data: ... here.
24181         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24182         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24183         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24185         ... here.
24186         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24188         ... here.
24189         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24191         ... here.
24192         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24194         ... here.
24195         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24197         ... here.
24198         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24200         ... here.
24202 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24204         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24205         PPC32 and PPC64 files.
24206         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24207         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24209 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24211         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24212         __makecontext_ret to ...
24213         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24214         ... here and call exit if uc_link is NULL.  New file.
24215         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24216         __makecontext_ret.S.
24217         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24218         __makecontext_ret to ...
24219         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24220         ... here and call exit if uc_link is NULL.  New file.
24221         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24222         __makecontext_ret.S.
24224 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24226         * elf/elf.h (R_390_IRELATIVE): New definition.
24227         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24228         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24229         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24230         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24231         (elf_machine_lazy_rel): Likewise.
24232         * sysdeps/s390/dl-irel.h: New file.
24233         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24234         * sysdeps/s390/s390-64/memset.S: New asm code.
24235         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24236         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24238         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24239         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24240         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24241         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24242         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24243         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24244         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24245         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24246         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24247         * sysdeps/s390/s390-32/memset.S: New asm code.
24248         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24250 2012-07-17  Marek Polacek  <polacek@redhat.com>
24252         [BZ #14349]
24253         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24254         * sysdeps/s390/s390-64/configure.in: Likewise.
24255         * sysdeps/sparc/configure.in: Likewise.
24256         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24257         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24258         * sysdeps/i386/configure.in: Likewise.
24259         * sysdeps/x86_64/configure.in: Likewise.
24260         * sysdeps/sh/configure.in: Likewise.
24261         * sysdeps/s390/s390-32/configure: Regenerated.
24262         * sysdeps/s390/s390-64/configure: Likewise.
24263         * sysdeps/x86_64/configure: Likewise.
24264         * sysdeps/sh/configure: Likewise.
24265         * sysdeps/powerpc/powerpc64/configure: Likewise.
24266         * sysdeps/powerpc/powerpc32/configure: Likewise.
24267         * sysdeps/sparc/configure: Likwise.
24268         * sysdeps/i386/configure: Likewise.
24270         * elf/dl-open.c: Comment fixes.
24272 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24274         * Makefile [CXX] (check-data): Remove.
24275         [CXX] (c++-types.data): New vpath directive.
24276         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24277         vpath.  Do not allow for C++ type data being missing.
24278         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24279         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24280         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24281         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24282         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24283         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24284         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24286         ... here.
24287         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24289         ... here.
24290         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24292         ... here.
24293         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24295         ... here.
24296         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24298         ... here.
24299         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24301         ... here.
24302         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24304         ... here.
24305         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24308         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24309         definitions to architecture-specific files.
24310         (TLS_IE): Likewise.
24311         (TLS_LD): Likewise.
24312         (TLS_GD): Likewise.
24313         * sysdeps/i386/tls-macros.h: New file.
24314         * sysdeps/powerpc/tls-macros.h: Likewise.
24315         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24316         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24317         * sysdeps/sh/tls-macros.h: Likewise.
24318         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24319         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24320         * sysdeps/x86_64/tls-macros.h: Likewise.
24322 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24324         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24325         zero value for regular exit case.
24327         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24328         (__start_context): Preserve zero value for regular exit case.
24330 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24331             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24333         * manual/setjmp.texi (setcontext): Clarify normal process
24334         termination when uc_link is the null pointer.
24335         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24336         exit call.
24338 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24340         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24341         preprocessor.  Test for each exception mask separately.
24343 2012-07-16  Andreas Jaeger  <aj@suse.de>
24345         * po/ru.po: Update from translation team.
24347 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24349         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24350         equal to 0.
24351         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24352         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24353         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24354         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24357 2012-07-13  Andreas Jaeger  <aj@suse.de>
24359         * po/fr.po: Update from translation team.
24361 2012-07-12  Marek Polacek  <polacek@redhat.com>
24363         [BZ #14173]
24364         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24365         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24366         loop condition.
24368 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24370         [BZ #13717]
24371         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24372         Change to 2.4.1 where previously 2.4.0.
24373         * sysdeps/unix/sysv/linux/configure: Regenerated.
24374         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24375         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24376         version.
24377         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24378         (__ASSUME_AT_CLKTCK): Remove.
24379         (__ASSUME_AT_PAGESIZE): Likewise.
24380         (__ASSUME_AT_XID): Likewise.
24381         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24382         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24383         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24384         unconditionally.
24385         (HAVE_AUX_PAGESIZE): Likewise.
24386         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24387         [__ASSUME_AT_CLKTCK]: Make code unconditional.
24388         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24390 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
24392         [BZ #14307]
24393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24394         the temporary buffer used to invoke __gethostbyname2_r,
24395         __gethostbyaddr_r and gethostbyname4_r to make room for struct
24396         host_data / struct gaih_addrtuple.
24397         * resolv/nss_dns/dns-host.c (global scope): Move definition of
24398         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24399         header file nss/nsswitch.h.
24400         * nss/nsswitch.h (global scope): Add definition of implementation
24401         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24402         resolv/nss_dns/dns-host.c).
24404 2012-07-11  Andreas Jaeger  <aj@suse.de>
24406         * po/fr.po: Update from translation team.
24408         * po/sv.po: Update from translation team
24409         * po/fr.po: Another update from translation team.
24411 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24413         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24414         for subnormals or multiply small sinh result by itself.
24415         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24418 2012-07-11  David S. Miller  <davem@davemloft.net>
24420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24422 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
24424         [BZ #14347]
24425         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24426         (INTERNAL_MARK): Shift it here.
24428 2012-07-10  Marek Polacek  <polacek@redhat.com>
24430         [BZ #14151]
24431         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
24432         libc_cv_asm_global_directive with .globl.
24433         * configure: Regenerated.
24434         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24435         with .globl.
24436         * sysdeps/i386/configure: Regenerated.
24437         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24438         with .globl.
24439         * sysdeps/x86_64/configure: Regenerated.
24440         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24441         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24442         * elf/tst-unique2mod2.c: Likewise.
24443         * elf/tst-unique2mod1.c: Likewise.
24444         * elf/tst-unique1mod2.c: Likewise.
24445         * elf/tst-unique1mod1.c: Likewise.
24446         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24447         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24448         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24449         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24450         * sysdeps/mach/sysdep.h: Likewise.
24451         * sysdeps/i386/sysdep.h: Likewise.
24452         * sysdeps/i386/i386-mcount.S: Likewise.
24453         * sysdeps/x86_64/_mcount.S: Likewise.
24454         * sysdeps/x86_64/sysdep.h: Likewise.
24455         * sysdeps/sh/_mcount.S: Likewise.
24456         * sysdeps/sh/sysdep.h: Likewise.
24457         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24458         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24459         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24460         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24461         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24462         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24463         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24464         * locale/localeinfo.h: Likewise.
24465         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
24466         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
24468 2012-07-09  Roland McGrath  <roland@hack.frob.com>
24470         [BZ #14336]
24471         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
24472         system".
24473         * manual/message.texi (The Uniforum approach): Likewise.
24474         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
24475         (glibc iconv Implementation): Likewise.
24477 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
24479         [BZ #14337]
24480         * math/s_clog.c (__clog): Avoid scaling a value down where that
24481         could result in underflow.
24482         * math/s_clog10.c (__clog10): Likewise.
24483         * math/s_clog10f.c (__clog10f): Likewise.
24484         * math/s_clog10l.c (__clog10l): Likewise.
24485         * math/s_clogf.c (__clogf): Likewise.
24486         * math/s_clogl.c (__clogl): Likewise.
24487         * math/libm-test.inc (clog_test): Add more tests.
24488         (clog10_test): Likewise.
24489         * sysdeps/i386/fpu/libm-test-ulps: Update.
24490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24492 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
24494         [BZ #14283]
24495         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
24496         by 7 not 8 to examine high bit of fractional part.
24498         [BZ #14042]
24499         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24500         for call to __mcount_internal.
24501         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
24502         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
24503         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
24505 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
24507         [BZ #14154]
24508         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
24509         approximation for values within 0x1p-13f of an odd multiple of
24510         pi/4.
24511         * math/libm-test.inc (tan_test): Do not allow spurious underflow
24512         exception.  Add more tests.
24513         * sysdeps/i386/fpu/libm-test-ulps: Update.
24515         [BZ #6778]
24516         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
24517         inputs and return -1 for them.  Do not check for +Inf in case not
24518         reachable for +Inf.
24519         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24520         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
24521         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24522         and return -1 for them.  Do not check for +Inf in case not
24523         reachable for +Inf.
24524         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
24525         define.
24526         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24527         and return -1 for them.  Do not check for +Inf in case not
24528         reachable for +Inf.
24529         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
24530         spurious underflow.
24531         * sysdeps/i386/fpu/libm-test-ulps: Update.
24532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
24536         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
24538 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #14157]
24541         [BZ #14331]
24542         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
24543         could result in spurious underflow.  Scale down values above
24544         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
24545         * math/s_csqrtf.c (__csqrtf): Likewise.
24546         * math/s_csqrtl.c (__csqrtl): Likewise.
24547         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
24548         spurious underflow.
24549         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24552 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
24554         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
24555         xopen-msg.sed.
24556         * catgets/xopen-msg.awk: New file.
24557         * catgets/xopen-msg.sed: Removed.
24559         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
24560         po2text.sed.
24561         * intl/po2test.awk: New file.
24562         * intl/po2test.sed: Removed.
24564 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #14328]
24567         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
24568         or multiply small sinh result by itself.
24569         * math/s_ctanf.c (__ctanf): Likewise.
24570         * math/s_ctanh.c (__ctanh): Likewise.
24571         * math/s_ctanhf.c (__ctanhf): Likewise.
24572         * math/s_ctanhl.c (__ctanhl): Likewise.
24573         * math/s_ctanl.c (__ctanl): Likewise.
24574         * math/libm-test.inc (ctan_test_tonearest): New function.
24575         (ctan_test_towardzero): Likewise.
24576         (ctan_test_downward): Likewise.
24577         (ctan_test_upward): Likewise.
24578         (ctanh_test_tonearest): Likewise.
24579         (ctanh_test_towardzero): Likewise.
24580         (ctanh_test_downward): Likewise.
24581         (ctanh_test_upward): Likewise.
24582         (main): Call these new functions.
24583         * sysdeps/i386/fpu/libm-test-ulps: Update.
24584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24586 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
24588         * .gitignore: Delete /ports entry.
24590 2012-07-03  Andreas Jaeger  <aj@suse.de>
24592         * po/bg.po: Update from translation team.
24593         * po/cs.po: Likewise.
24594         * po/de.po: Likewise.
24595         * po/hr.po: Likewise.
24596         * po/nl.pl: Likewise.
24597         * po/pl.po: Likewise.
24598         * po/vi.po: Likewise.
24600 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
24602         * Makeconfig [!+link] (+link-before-libc): New variable.
24603         [!+link] (+link-after-libc): Likewise.
24604         [!+link] (+link-tests): Likewise.
24605         [!+link] (+link): Define in terms of $(+link-before-libc) and
24606         $(+link-after-libc).
24607         [!+link-static] (+link-static-before-libc): New variable.
24608         [!+link-static] (+link-static-after-libc): Likewise.
24609         [!+link-static] (+link-static-tests): Likewise.
24610         [!+link-static] (+link-static): Define in terms of
24611         $(+link-static-before-libc) and $(+link-static-after-libc).
24612         [build-shared] (link-libc-before-gnulib): New variable.
24613         [build-shared] (link-libc-tests): Likewise.
24614         [build-shared] (link-libc): Define in terms of
24615         $(link-libc-before-gnulib).
24616         [!build-shared] (link-libc-tests): New variable.
24617         (link-libc-static-tests): New variable.
24618         [!gnulib] (gnulib-arch): New variable.
24619         [!gnulib] (gnulib-tests): Likewise.
24620         [!gnulib] (static-gnulib-arch): Likewise.
24621         [!gnulib] (static-gnulib-tests): Likewise.
24622         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
24623         Define with "=" instead of ":=".
24624         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
24625         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
24626         * Rules (binaries-all-notests): New variable.
24627         (binaries-all-tests): Likewise.
24628         (binaries-static-notests): Likewise.
24629         (binaries-static-tests): Likewise.
24630         (binaries-all): Define using $(binaries-all-notests) and
24631         $(binaries-all-tests).
24632         (binaries-static): Define using $(binaries-static-notests) and
24633         $(binaries-static-tests).
24634         (binaries-shared-tests): New variable.
24635         (binaries-shared-notests): Likewise.
24636         (binaries-shared): Remove variable.
24637         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
24638         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
24639         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
24640         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
24641         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
24642         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
24643         * elf/Makefile (sln-modules): New variable.
24644         (extra-objs): Add $(sln-modules:=.o).
24645         (ldconfig-modules): Add static-stubs.
24646         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
24647         * elf/static-stubs.c: New file.
24649         [BZ #14283]
24650         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
24651         by 7 not 8 to examine high bit of fractional part.  Use volatile
24652         variables when splitting into final array of floats if
24653         __FLT_EVAL_METHOD__ != 0.
24654         * math/libm-test.inc (cos_test): Add another test.
24655         (sin_test): Likewise.
24656         * sysdeps/i386/fpu/libm-test-ulps: Update.
24658         [BZ #14273]
24659         * math/libm-test.inc (cosh_test): Add more tests.
24661         * version.h (RELEASE): Set to "development".
24662         (VERSION): Set to "2.16.90".
24664 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
24666         * NEWS: Update copyright. Remove last-updated date.
24667         Mention math library bug fixes and timezone data changes.
24668         * README: Mention GNU/Hurd, x32, and HPPA support status.
24670 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
24672         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
24674 2012-06-27  Andreas Jaeger  <aj@suse.de>
24676         * manual/contrib.texi (Contributors): Add Samuel Thibault.
24678 2012-06-25  Andreas Jaeger  <aj@suse.de>
24680         * sysdeps/s390/fpu/libm-test-ulps: Update.
24682 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
24683             Thomas Schwinge  <thomas@codesourcery.com>
24685         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
24686         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
24687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
24688         fanotify_mark.
24690 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
24692         * sysdeps/mach/start.c: Remove file.
24693         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
24694         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
24695         * sysdeps/sh/init-first.c: Likewise.
24697         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24698         registers for frame unwinding purposes, add CFI directives.
24699         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24700         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24701         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24702         Likewise.
24704         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24705         __fortify_fail returning.
24706         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24708         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24709         sysdeps/sh/____longjmp_chk.S.
24710         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24711         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24712         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24713         (gen-as-const-headers): Append sigaltstack-offsets.sym.
24715         * sysdeps/sh/abort-instr.h: New file.
24716         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24717         process in case exit returns.
24719         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24720         initialize the GOT register before use.
24722         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24723         calculation of ARGC > 4.
24725         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24726         meaningful names to some local labels.
24728 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24729             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24731         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24732         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24733         (__arch_compare_and_exchange_val_16_acq): Likewise.
24734         (__arch_compare_and_exchange_val_32_acq): Likewise.
24735         (atomic_exchange_and_add): Fix gUSA sequence.
24736         (atomic_add): Likewise.
24737         (atomic_add_negative): Likewise.
24738         (atomic_add_zero): Likewise.
24739         (atomic_bit_test_set): Likewise.
24741 2012-06-22  Andreas Schwab  <schwab@redhat.com>
24743         [BZ #13579]
24744         * include/link.h (struct link_map): Add l_free_initfini.
24745         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24746         l_initfini.
24747         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24748         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24749         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24750         set.
24752 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
24754         * configure.in: Use AC_LANG_SOURCE.
24755         * configure: Regenerate.
24757 2012-06-22  Roland McGrath  <roland@hack.frob.com>
24759         * configure.in (libc_cv_localstatedir): New substituted variable.
24760         * configure: Regenerated.
24761         * config.make.in (localstatedir): New variable, substituted from
24762         libc_cv_localstatedir.
24763         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24764         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24765         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24766         * sysdeps/gnu/configure: Regenerated.
24768 2012-06-21  Jeff Law  <law@redhat.com>
24770         [BZ #14277]
24771         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24772         free.  Simplify list management for _LIBC case.
24774 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
24776         [BZ #14273]
24777         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24778         Clear sign bit of 64-bit integer value before comparing against
24779         overflow value.
24781         * sysdeps/mach/configure: Regenerated.
24783 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
24785         [BZ #14278]
24786         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24788 2012-06-21  Jeff Law  <law@redhat.com>
24790         [BZ #13882]
24791         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
24792         uint16_t for elements in the "seen" array to avoid char overflows.
24793         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24794         * elf/dl-open.c (dl_open_worker): Likewise.
24796 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
24798         * scripts/list-sources.sh: Scan PORTS for translations.
24799         * po/libc.pot: Regenerated.
24801 2012-06-21  Andreas Jaeger  <aj@suse.de>
24803         [BZ #12194]
24804         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24805         warning.
24806         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24807         * bits/byteswap-16.h (__bswap_16): Likewise.
24808         * bits/byteswap.h (__bswap_constant_16): Likewise.
24810 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
24812         [BZ #14117]
24813         * sysdeps/i386/fpu_control.h: Removed.
24814         * sysdeps/x86_64/fpu_control.h: Moved to ...
24815         * sysdeps/x86/fpu_control.h: Here.
24817         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24818         (_FPU_SETCW): Likewise.
24820 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
24822         [BZ #14117]
24823         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24824         * sysdeps/x86/fpu/bits/mathinline.h: This.
24825         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24827         [BZ #14050]
24828         [BZ #14117]
24829         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24830         functions if __x86_64__ is defined.
24832 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
24834         * string/endian.h: Add !__ASSEMBLER__ condition for including
24835         conversion interfaces.
24837 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
24839         [BZ #14241]
24840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24841         of ABS(x) in calculating zero to negative powers other than odd
24842         integers.
24843         * math/libm-test.inc (pow_test): Add more tests.
24845 2012-06-15  Andreas Jaeger  <aj@suse.de>
24847         * manual/contrib.texi (Contributors): Update entry of Liubov
24848         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24849         Machado Filho.
24851 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
24853         * string/string.h: Add __wur to GNU version of strerror_r.
24855 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
24857         [BZ #14229]
24858         * string/Makefile (tests): Add tst-strtok_r.
24859         * string/tst-strtok_r.c: New file.
24860         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24861         RAX_LP/RDX_LP on SAVE_PTR.
24863 2012-06-14  Roland McGrath  <roland@hack.frob.com>
24865         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24867 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
24869         * libm_test.inc (csqrt_test): Allow more spurious underflow
24870         exceptions.
24871         (j0_test): Likewise.
24872         (j1_test): Likewise.
24873         (y0_test): Likewise.
24874         (y1_test): Likewise.
24876 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
24878         * po/Makefile (libc.pot): Use UTF-8 charset.
24880 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
24882         [BZ #14210]
24883         Suppress sign-conversion warning from FD_SET.
24884         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24885         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24886         not unsigned long int.
24887         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24889 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
24891         [BZ #14050]
24892         [BZ #14117]
24893         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24894         __extern_always_inline instead of __extern_inline.
24895         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24896         (__signbit): Likewise.
24897         (__signbitl): Support C++ namespace.
24898         (lrintf): New inline function.
24899         (lrint): Likewise.
24900         (llrintf): Likewise.
24901         (llrint): Likewise.
24902         (fmaxf): Likewise.
24903         (fmax): Likewise.
24904         (fminf): Likewise.
24905         (fmin): Likewise.
24906         (rint): Likewise.
24907         (rintf): Likewise.
24908         (ceil): Likewise.
24909         (ceilf): Likewise.
24910         (floor): Likewise.
24911         (floorf): Likewise.
24912         (nearbyint): Likewise.
24913         (nearbyintf): Likewise.
24915 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
24917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24918         non-default versions.
24920 2012-06-11  Roland McGrath  <roland@hack.frob.com>
24922         [BZ #14218]
24923         * manual/argp.texi (Argp): Reword argp_parse description slightly.
24925 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
24927         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24928         (FE_UPWARD, FE_DOWNWARD): Don't define.
24929         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24930         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24932         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24933         reading it.
24934         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24935         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24937 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24939         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24941         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24942         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24944 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
24946         [BZ #14117]
24947         * sysdeps/i386/fpu/bits/fenv.h: Removed.
24948         * sysdeps/i386/fpu/Implies: New file.
24949         * sysdeps/x86_64/fpu/Implies: Likewise.
24950         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24951         * sysdeps/x86/fpu/bits/fenv.h: This.
24953         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24954         __SSE_MATH__.
24956 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24958         [BZ #14134]
24959         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24960         character 0xffff that matches the last element of the
24961         conversion table.
24963 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24966         fmodl commit.
24968 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24971         values higher than 25.6283.
24973 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24975         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24976         subnormal exponent extraction and add some __builtin_expect.
24977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24978         Fix for subnormal mantissa calculation.
24980 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
24982         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24983         cpu2 is -1 and errno is not ENOSYS.
24985 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
24987         [BZ #14117]
24988         * sysdeps/i386/i486/bits/string.h: Renamed to ...
24989         * sysdeps/x86/bits/string.h: This.
24990         * sysdeps/x86_64/bits/string.h: Removed.
24992         * sysdeps/i386/i486/bits/string.h: Define inline functions only
24993         if not compiling for x86-64, but compiling for >= i486.
24995         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24996         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24998         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24999         New macro from Linux kernel 3.4.0.
25000         (FP_XSTATE_MAGIC2): Likewise.
25001         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25002         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25003         (struct _fpx_sw_bytes): New struct.
25004         (struct _xsave_hdr): Likewise.
25005         (struct _ymmh_state): Likewise.
25006         (struct _xstate): Likewise.
25008         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25009         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25010         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25011         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25012         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25013         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25015         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25016         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25017         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25018         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25019         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25020         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25022 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25024         [BZ #13743]
25025         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25026         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25027         (sysdep_headers): Include sys/platform/ppc.h.
25028         * sysdeps/powerpc/test-gettimebase.c: Test for
25029         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25030         * manual/Makefile (appendices): Include platform.texi.
25031         * manual/contrib.texi (Contributors): Update @node pointers.
25032         * manual/maint.texi (Maintenance): Likewise.
25033         (Platform): New node.
25034         * manual/platform.texi: New file.  Document the new features.
25036 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25037             Jakub Jelinek  <jakub@redhat.com>
25039         [BZ #14188]
25040         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25041         where __builtin_expect is unavailable.
25043 2012-06-03  David S. Miller  <davem@davemloft.net>
25045         * stdlib/longlong.h: Updated from GCC.
25047 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25049         [BZ #14042]
25050         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25051         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25052         __mcount_internal.
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25054         (GLIBC_2.16): Likewise.
25056 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25058         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25060 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25063         (default-abi): New variable.
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25065         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25066         variable.
25067         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25068         Likewise.
25069         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25070         Likewise.
25071         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25072         Likewise.
25074         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25075         definition.  Document in comment.
25077 2012-06-01  David S. Miller  <davem@davemloft.net>
25079         * stdlib/longlong.h: Updated from GCC.
25081 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25083         [BZ #14117]
25084         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25085         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25086         sys/debugreg.h sys/io.h here.
25087         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25088         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25089         sys/io.h.
25090         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25091         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25092         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25093         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25094         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25095         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25097         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25098         Define only if __x86_64__ is defined.
25100 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25102         [BZ #14048]
25103         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25104         Use int64_t for variable i.
25105         * math/libm-test.inc (fmod_test): Add more tests.
25107         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25108         z computation is not scheduled after fetestexcept.
25109         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25110         Use math_force_eval instead of asm to ensure calculation scheduled
25111         before exception test.
25112         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25113         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25115 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25118         computation is not scheduled after fetestexcept.
25120 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25122         [BZ #14117]
25123         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25124         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25126 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25128         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25129         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25131 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25133         [BZ #14117]
25134         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25135         <bits/wordsize.h>.
25136         (__WCHAR_MIN): Support __WORDSIZE == 64.
25137         (__WCHAR_MAX): Likewise.
25139         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25140         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25142         [BZ #14183]
25143         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25144         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25146         [BZ #14117]
25147         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25148         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25150         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25151         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25153         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25154         Defined to 1 if __x86_64__ isn't defined.
25155         (_STAT_VER_LINUX_OLD): New.
25156         (st_atime): Remove duplicate.
25157         (st_mtime): Likewise.
25158         (st_ctime): Likewise.
25160 2012-05-31  David S. Miller  <davem@davemloft.net>
25162         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25163         entries.
25165 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25167         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25168         gen-libm-test.pl.
25170         [BZ #14132]
25171         * elf/dl-reloc.c: Include <_itoa.h>.
25172         (_dl_reloc_bad_type): Remove use of INTUSE.
25173         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25174         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25175         * stdio-common/psiginfo.c (psiginfo): Likewise.
25176         * stdio-common/psignal.c (psignal): Likewise.
25177         * string/strsignal.c (strsignal): Likewise.
25178         * include/signal.h (_sys_siglist): Declare hidden proto.
25179         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25180         INTVARDEF with libc_hidden_data_def.
25181         * stdio-common/itoa-udigits.c: Likewise.
25182         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25183         (_itoa_lower_digits_internal): Remove declaration.
25184         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25185         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25186         (_sys_sigabbrev_internal): Remove aliases.
25187         (_sys_siglist): Define hidden alias.
25189 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25192         bits/sysctl.h.
25194 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25196         [BZ #14117]
25197         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25198         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25200         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25201         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25202         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25203         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25204         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25205         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25207         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25208         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25209         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25211         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25212         with __addr.
25213         (insw): Likewise.
25214         (insl): Likewise.
25215         (outsb): Likewise.
25216         (outsw): Likewise.
25217         (outsl): Likewise.
25219         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25220         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25221         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25223         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25224         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25225         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25226         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25227         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25228         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25230         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25231         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25233         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25234         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25236         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25237         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25238         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25240         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25241         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25242         to ...
25243         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25245         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25246         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25247         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25249         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25250         for x86-64.
25251         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25253 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25255         * math/math.h (M_El): Use two more decimal places.
25256         (M_LOG2El): Likewise.
25257         (M_LOG10El): Likewise.
25258         (M_LN2l): Likewise.
25259         (M_LN10l): Likewise.
25260         (M_PIl): Likewise.
25261         (M_PI_2l): Likewise.
25262         (M_PI_4l): Likewise.
25263         (M_1_PIl): Likewise.
25264         (M_2_PIl): Likewise.
25265         (M_2_SQRTPIl): Likewise.
25266         (M_SQRT2l): Likewise.
25267         (M_SQRT1_2l): Likewise.
25269 2012-05-31  David S. Miller  <davem@davemloft.net>
25271         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25272         values between float registers.
25273         * sysdeps/sparc/sparc64/memset.S: Likewise.
25274         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25276 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25278         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25279         -D_FORTIFY_SOURCE=1.
25280         (CPPFLAGS-tst-longjmp_chk.c): Define.
25281         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25282         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25283         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25284         CFLAGS-tst-wchar-h.c.
25286 2012-05-31  Marek Polacek  <polacek@redhat.com>
25288         [BZ #14132]
25289         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25290         __endmntent_internal): Remove declaration.
25291         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25292         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25293         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25295 2012-05-30  David S. Miller  <davem@davemloft.net>
25297         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25298         (___Q_simulate_exceptions): Use real FP ops rather than writing
25299         into the %fsr.
25300         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25301         Likewise.
25303 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25305         [BZ #14117]
25306         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25307         * sysdeps/x86/bits/xtitypes.h: This.
25309         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25310         * sysdeps/x86/bits/wordsize.h: This.
25312         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25313         * sysdeps/x86/bits/huge_vall.h: This.
25315         * sysdeps/i386/bits/select.h: Removed.
25316         * sysdeps/x86_64/bits/select.h: Renamed to ...
25317         * sysdeps/x86/bits/select.h: This.
25319         * sysdeps/i386/bits/setjmp.h: Removed.
25320         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25321         * sysdeps/x86/bits/setjmp.h: This.
25323         * sysdeps/i386/bits/mathdef.h: Removed.
25324         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25325         * sysdeps/x86/bits/mathdef.h: This.
25327 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25329         [BZ #14132]
25330         * include/sys/socket.h (__connect_internal)
25331         (__libc_sa_len_internal): Remove declaration.
25332         (__connect, __libc_sa_len): Declare hidden_proto.
25333         (SA_LEN): Remove use of INTUSE.
25334         * socket/connect.c: Add libc_hidden_def.
25335         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25336         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25337         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25338         alias.
25339         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25341         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25342         of adding _internal alias.
25344 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25346         [BZ #14117]
25347         * sysdeps/i386/bits/link.h: Removed.
25348         * sysdeps/i386/bits/linkmap.h: Likewise.
25349         * sysdeps/x86_64/bits/link.h: Renamed to ...
25350         * sysdeps/x86/bits/link.h: This.
25351         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25352         * sysdeps/x86/bits/linkmap.h: This.
25354         * sysdeps/i386/bits/endian.h: Removed.
25355         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25356         * sysdeps/x86/bits/endian.h: This.
25358         * sysdeps/i386/bits/byteswap.h: Removed.
25359         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25360         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25361         * sysdeps/x86/bits/byteswap.h: This.
25362         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25363         * sysdeps/x86/bits/byteswap-16.h: This.
25364         * sysdeps/i386/Implies: Add x86.
25365         * sysdeps/x86_64/Implies: Likewise.
25367 2012-05-30  David S. Miller  <davem@davemloft.net>
25369         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25370         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25371         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25372         (FP_TRAPPING_EXCEPTIONS): Define.
25373         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25374         (FP_TRAPPING_EXCEPTIONS): Define.
25375         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25376         subnormals only when inexact has been signalled or underflow
25377         exceptions are enabled.
25378         (_FP_PACK_CANONICAL): Likewise.
25380 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25382         [BZ #14183]
25383         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25384         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25386 2012-05-30  Richard Henderson  <rth@twiddle.net>
25388         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25389         with #ifndef NOT_IN_libc.
25391         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
25392         marked to avoid plt entry.
25394 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25396         [BZ #14112]
25397         * Makeconfig (default-abi): New macro.
25398         (abi-includes): Likewise.
25399         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
25400         $(abi-$(default-abi)-lib-soname) for soname if defined.
25401         ($(common-objpfx)gnu/lib-names.stmp): Generate from
25402         abi-variants.
25403         * Makefile (installed-stubs): Likewise.
25404         * include/stubs-biarch.h: Removed.
25405         * scripts/lib-names.awk: Only handle one library at a time.
25406         * scripts/soversions.awk: Remove WORDSIZE support.
25407         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25408         entries.
25409         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25410         Removed.
25411         (syscall-list-default-condition): Likewise.
25412         (syscall-list-default-condition): Likewise.
25413         (syscall-list-includes): Likewise.
25414         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25415         syscall-list-* with abi-*.  Handle undefined abi-variants.
25416         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25417         * sysdeps/unix/sysv/linux/i386/Implies: New file.
25418         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25419         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25420         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25421         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25422         Removed.
25423         (syscall-list-32-options): Likewise.
25424         (syscall-list-32-condition): Likewise.
25425         (syscall-list-64-options): Likewise.
25426         (syscall-list-64-condition): Likewise.
25427         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25428         macro.
25429         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25430         Renamed to ...
25431         (abi-*): This.
25432         (abi-64-ld-soname): New macro.
25433         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25434         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25435         Renamed to ...
25436         (abi-*): This.
25437         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25438         * sysdeps/x86_64/x32/shlib-versions: Likewise.
25440 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
25442         * sysdeps/unix/sysv/linux/kernel-features.h
25443         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25444         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25445         include <kernel-features.h>.
25446         [!__NR_ftruncate64]: Remove conditional code.
25447         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25448         [__NR_ftruncate64]: Make code unconditional.
25449         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25450         * sysdeps/unix/sysv/linux/truncate64.c: Do not
25451         include <kernel-features.h>.
25452         [!__NR_ftruncate64]: Remove conditional code.
25453         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25454         [__NR_ftruncate64]: Make code unconditional.
25455         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25457         include <kernel-features.h>.
25458         [!__NR_ftruncate64]: Remove conditional code.
25459         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25460         [__NR_ftruncate64]: Make code unconditional.
25461         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25463         include <kernel-features.h>.
25464         [!__NR_ftruncate64]: Remove conditional code.
25465         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25466         [__NR_ftruncate64]: Make code unconditional.
25467         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25469         * configure.in (libc_cv_fpie): Weaken to a compile test using
25470         LIBC_TRY_CC_OPTION.
25471         * configure: Regenerated.
25473 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
25476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
25477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
25478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25479         Refreshed.
25480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
25481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
25482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
25483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
25484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
25485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25486         Refreshed.
25488 2012-05-27  David S. Miller  <davem@davemloft.net>
25490         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
25491         (___Q_zero): New.
25492         (__Q_simulate_exceptions): Return void.  Change to simulate
25493         exceptions by writing into the %fsr.
25494         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
25495         (__Qp_handle_exceptions): Likewise.
25496         (numbers): Delete.
25497         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
25498         __Qp_handle_exceptions.
25499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
25500         __Qp_handle_exceptions.
25501         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25502         as unused and give dummy FP_RND_NEAREST initializer.
25503         (FP_INHIBIT_RESULTS): Define.
25504         (___Q_simulate_exceptions): Update declaration.
25505         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
25506         formatting.
25507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25508         as unused and give dummy FP_RND_NEAREST initializer.
25509         (__Qp_handle_exceptions): Update declaration.
25510         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
25511         formatting.
25513 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
25515         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
25516         the temporary FPU control word.
25517         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25518         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
25519         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25520         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25521         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25522         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25523         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25524         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25525         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25526         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25527         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25529 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25531         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
25532         fields.
25534 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
25536         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25537         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
25538         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
25539         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
25540         Likewise.
25541         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
25542         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
25543         Likewise.
25545 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
25547         * po/h.po: Update from translation team.
25549 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
25551         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
25553         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
25554         handling of denormals.
25555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25556         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25557         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25558         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
25561         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
25562         Likewise.
25564 2012-05-26  Marek Polacek  <polacek@redhat.com>
25566         [BZ #14152]
25567         * math/libm-test.inc (fma_test): Don't always expect underflow
25568         exception.
25570 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572         [BZ #12416]
25573         * elf/tst-execstack.c: Include stackinfo.h.
25574         (do_test): Adjust test case to ensure that pthread_getattr_np
25575         behaviour remains the same after marking stack executable.
25577 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25579         * sysdeps/unix/sysv/linux/kernel-features.h
25580         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
25581         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
25582         kernel-features.h.
25583         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25584         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25585         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
25586         kernel-features.h.
25587         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25588         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25590 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
25592         * configure.in: Define the default includes to being none.
25593         * configure: Regenerated.
25595 2012-05-25  Roland McGrath  <roland@hack.frob.com>
25597         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
25598         * sysdeps/x86_64/setjmp.S: Likewise.
25599         * sysdeps/i386/bsd-setjmp.S: Likewise.
25600         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25601         * sysdeps/i386/setjmp.S: Likewise.
25602         * sysdeps/i386/__longjmp.S: Likewise.
25603         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25604         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
25606         * include/stap-probe.h: New file.
25607         * configure.in: Handle --enable-systemtap.
25608         * configure: Regenerated.
25609         * config.h.in (USE_STAP_PROBE): New #undef.
25610         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
25611         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
25612         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25616         [BZ #13717]
25617         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25618         to 2.4.0 where earlier.
25619         * sysdeps/unix/sysv/linux/configure: Regenerated.
25620         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
25629         [__ASSUME_32BITUIDS]: Make code unconditional.
25630         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
25631         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
25632         <kernel-features.h>.
25633         [__ASSUME_32BITUIDS]: Make code unconditional.
25634         [!__ASSUME_32BITUIDS]: Remove conditional code.
25635         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
25636         <kernel-features.h>.
25637         [__ASSUME_32BITUIDS]: Make code unconditional.
25638         [!__ASSUME_32BITUIDS]: Remove conditional code.
25639         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
25640         <kernel-features.h>.
25641         [__ASSUME_32BITUIDS]: Make code unconditional.
25642         [!__ASSUME_32BITUIDS]: Remove conditional code.
25643         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
25644         <kernel-features.h>.
25645         [__ASSUME_32BITUIDS]: Make code unconditional.
25646         [!__ASSUME_32BITUIDS]: Remove conditional code.
25647         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25648         <kernel-features.h>.
25649         [__ASSUME_32BITUIDS]: Make code unconditional.
25650         [!__ASSUME_32BITUIDS]: Remove conditional code.
25651         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25652         <kernel-features.h>.
25653         [__ASSUME_32BITUIDS]: Make code unconditional.
25654         [!__ASSUME_32BITUIDS]: Remove conditional code.
25655         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
25656         <kernel-features.h>.
25657         [__ASSUME_32BITUIDS]: Make code unconditional.
25658         [!__ASSUME_32BITUIDS]: Remove conditional code.
25659         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25660         <kernel-features.h>.
25661         [__ASSUME_32BITUIDS]: Make code unconditional.
25662         [!__ASSUME_32BITUIDS]: Remove conditional code.
25663         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25664         <kernel-features.h>.
25665         [__ASSUME_32BITUIDS]: Make code unconditional.
25666         [!__ASSUME_32BITUIDS]: Remove conditional code.
25667         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
25668         <kernel-features.h>.
25669         [__ASSUME_32BITUIDS]: Make code unconditional.
25670         [!__ASSUME_32BITUIDS]: Remove conditional code.
25671         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
25672         <kernel-features.h>.
25673         [__NR_setresgid] (__setresgid): Do not declare.
25674         [__ASSUME_32BITUIDS]: Make code unconditional.
25675         [!__ASSUME_32BITUIDS]: Remove conditional code.
25676         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
25677         <kernel-features.h>.
25678         [__NR_setresuid] (__setresuid): Do not declare.
25679         [__ASSUME_32BITUIDS]: Make code unconditional.
25680         [!__ASSUME_32BITUIDS]: Remove conditional code.
25681         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
25682         <kernel-features.h>.
25683         [__ASSUME_32BITUIDS]: Make code unconditional.
25684         [!__ASSUME_32BITUIDS]: Remove conditional code.
25685         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
25686         <kernel-features.h>.
25687         [__ASSUME_32BITUIDS]: Make code unconditional.
25688         [!__ASSUME_32BITUIDS]: Remove conditional code.
25689         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
25690         <kernel-features.h>.
25691         [__ASSUME_32BITUIDS]: Make code unconditional.
25692         [!__ASSUME_32BITUIDS]: Remove conditional code.
25693         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
25694         <kernel-features.h>.
25695         [__ASSUME_32BITUIDS]: Make code unconditional.
25696         [!__ASSUME_32BITUIDS]: Remove conditional code.
25697         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25698         <kernel-features.h>.
25699         [__ASSUME_32BITUIDS]: Make code unconditional.
25700         [!__ASSUME_32BITUIDS]: Remove conditional code.
25701         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25702         <kernel-features.h>.
25703         [__ASSUME_32BITUIDS]: Make code unconditional.
25704         [!__ASSUME_32BITUIDS]: Remove conditional code.
25705         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25706         <kernel-features.h>.
25707         [__ASSUME_32BITUIDS]: Make code unconditional.
25708         [!__ASSUME_32BITUIDS]: Remove conditional code.
25709         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25710         <kernel-features.h>.
25711         [__ASSUME_32BITUIDS]: Make code unconditional.
25712         [!__ASSUME_32BITUIDS]: Remove conditional code.
25713         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25714         <kernel-features.h>.
25715         [__ASSUME_32BITUIDS]: Make code unconditional.
25716         [!__ASSUME_32BITUIDS]: Remove conditional code.
25717         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25718         <kernel-features.h>.
25719         [__ASSUME_32BITUIDS]: Make code unconditional.
25720         [!__ASSUME_32BITUIDS]: Remove conditional code.
25721         * sysdeps/unix/sysv/linux/kernel-features.h
25722         (__ASSUME_SETRESUID_SYSCALL): Remove.
25723         (__ASSUME_SETRESGID_SYSCALL): Likewise.
25724         (__ASSUME_32BITUIDS): Likewise.
25725         (__ASSUME_LDT_WORKS): Likewise.
25726         (__ASSUME_O_DIRECTORY): Likewise.
25727         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25728         architecture but not kernel version.
25729         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25730         (__ASSUME_MMAP2_SYSCALL): Likewise.
25731         (__ASSUME_STAT64_SYSCALL): Likewise.
25732         (__ASSUME_IPC64): Likewise.
25733         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25734         <kernel-features.h>.
25735         [__ASSUME_32BITUIDS]: Make code unconditional.
25736         [!__ASSUME_32BITUIDS]: Remove conditional code.
25737         * sysdeps/unix/sysv/linux/opendir.c: Do not include
25738         <kernel-features.h>.
25739         [__ASSUME_O_DIRECTORY]: Make code unconditional.
25740         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25741         132096]: Remove conditional code.
25742         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25743         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25744         <kernel-features.h>.
25745         [__ASSUME_32BITUIDS]: Make code unconditional.
25746         [!__ASSUME_32BITUIDS]: Remove conditional code.
25747         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25748         <kernel-features.h>.
25749         [__ASSUME_32BITUIDS]: Make code unconditional.
25750         [!__ASSUME_32BITUIDS]: Remove conditional code.
25751         * sysdeps/unix/sysv/linux/setegid.c: Do not include
25752         <kernel-features.h>.
25753         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25754         unconditional.
25755         (__setresgid): Do not declare.
25756         [__ASSUME_32BITUIDS]: Make code unconditional.
25757         [!__ASSUME_32BITUIDS]: Remove conditional code.
25758         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25759         <kernel-features.h>.
25760         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25761         unconditional.
25762         (__setresuid): Do not declare.
25763         [__ASSUME_32BITUIDS]: Make code unconditional.
25764         [!__ASSUME_32BITUIDS]: Remove conditional code.
25765         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25766         <kernel-features.h>.
25767         [__ASSUME_32BITUIDS]: Make code unconditional.
25768         [!__ASSUME_32BITUIDS]: Remove conditional code.
25769         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25770         <kernel-features.h>.
25771         [__ASSUME_32BITUIDS]: Make code unconditional.
25772         [!__ASSUME_32BITUIDS]: Remove conditional code.
25774 2012-05-25  Richard Henderson  <rth@twiddle.net>
25776         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25777         dl_hwcap to ifunc resolver.
25778         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25779         elf_ifunc_invoke.
25780         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25781         dl_hwcap to ifunc resolver.
25782         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25784 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25786         [BZ #14153]
25787         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25788         for |x| <= 2**-26, not 2**-57.
25789         * math/libm-test.inc (acos_test): Do not allow spurious underflow
25790         exception.
25792 2012-05-24  Jeff Law  <law@redhat.com>
25794         * stdio-common/Makefile (tests): Add bug25.
25795         * stdio-common/bug25.c: New test.
25797 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25799         [BZ #13576]
25800         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25801         multiple of MALLOC_ALIGNMENT in size.
25802         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25804 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25806         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25807         Require >= 256.
25808         (FILENAME_MAX): Use macro-int-constant.
25809         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
25810         (_IOFBF): Use macro-int-constant.
25811         (_IOLBF): Likewise.
25812         (_IONBF): Likewise.
25813         (SEEK_CUR): Likewise.
25814         (SEEK_END): Likewise.
25815         (SEEK_SET): Likewise.
25816         (TMP_MAX): Likewise.
25817         (EOF): Use macro-int-constant.  Require < 0.
25818         (NULL): Use macro-constant.  Require == 0.
25819         (stdin): Require type to be FILE *.
25820         (stdout): Likewise.
25821         (stderr): Likewise.
25822         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25823         macro-int-constant.
25824         (EXIT_SUCCESS): Likewise.
25825         (NULL): Use macro-constant.  Require == 0.
25826         (RAND_MAX): Use macro-int-constant.
25827         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25828         [C99-based standards] (strtof): Require function.
25829         [C99-based standards] (strtold): Likewise.
25830         [C99-based standards] (strtoll): Likewise.
25831         [C99-based standards] (strtoull): Likewise.
25832         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25833         [ISO || ISO99 || ISO11] (limits.h): Likewise.
25834         [ISO || ISO99 || ISO11] (math.h): Likewise.
25835         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25836         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25837         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25839 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
25841         [BZ #14132]
25842         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25843         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25844         * intl/dgettext.c (DCGETTEXT): Likewise.
25845         * intl/gettext.c (DCGETTEXT): Likewise.
25846         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25847         * posix/regex_internal.h (gettext): Likewise.
25848         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25849         Remove declaration.
25850         * include/argz.h (__argz_count_internal)
25851         (__argz_stringify_internal): Remove declaration.
25852         (__argz_count, __argz_stringify): Declare hidden proto.
25853         * intl/dcgettext.c: Remove use of INTDEF.
25854         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25855         * string/argz-stringify.c: Likewise.
25856         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25857         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25858         Declare hidden proto.
25859         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25860         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25861         Declare hidden proto.
25862         * include/stdio.h (__asprintf_internal): Don't declare.
25863         (__asprintf): Don't define as macro.  Declare hidden proto.
25864         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25865         (__fsetlocking): Declare hidden proto.
25866         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25867         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25868         hidden proto.
25869         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25870         (_IO_setlinebuf): Remove use of INTUSE.
25871         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25872         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25873         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25874         Remove declaration.
25875         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25876         (_IO_do_flush): Remove use of INTUSE.
25877         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25878         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25879         (_IO_adjust_column, _IO_least_wmarker)
25880         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25881         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25882         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25883         (_IO_default_doallocate, _IO_wdefault_doallocate)
25884         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25885         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25886         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25887         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25888         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25889         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25890         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25891         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25892         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25893         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25894         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25895         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25896         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25897         proto.
25898         (_IO_flush_all_internal, _IO_adjust_column_internal)
25899         (_IO_default_uflow_internal, _IO_default_finish_internal)
25900         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25901         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25902         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25903         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25904         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25905         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25906         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25907         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25908         (_IO_file_close_internal, _IO_file_close_it_internal)
25909         (_IO_file_underflow_internal, _IO_file_overflow_internal)
25910         (_IO_file_init_internal, _IO_file_attach_internal)
25911         (_IO_file_fopen_internal, _IO_file_read_internal)
25912         (_IO_file_sync_internal, _IO_file_seek_internal)
25913         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25914         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25915         (_IO_str_underflow_internal, _IO_str_overflow_internal)
25916         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25917         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25918         (_IO_list_all_internal, _IO_link_in_internal)
25919         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25920         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25921         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25922         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25923         (_IO_do_write_internal, _IO_padn_internal)
25924         (_IO_getline_info_internal, _IO_getline_internal)
25925         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25926         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25927         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25928         (_IO_vfscanf_internal, _IO_vfprintf_internal)
25929         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25930         (_IO_init_internal, _IO_un_link_internal): Don't declare.
25931         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25932         with libc_hidden_ver, remove use of INTUSE.
25933         * libio/genops.c: Likewise.
25934         * libio/freopen.c: Likewise.
25935         * libio/freopen64.c: Likewise.
25936         * libio/iofclose.c: Likewise.
25937         * libio/iofdopen.c: Likewise.
25938         * libio/iofflush.c: Likewise.
25939         * libio/iofflush_u.c: Likewise.
25940         * libio/iofgets.c: Likewise.
25941         * libio/iofgets_u.c: Likewise.
25942         * libio/iofopen.c: Likewise.
25943         * libio/iofopncook.c: Likewise.
25944         * libio/iofread.c: Likewise.
25945         * libio/iofread_u.c: Likewise.
25946         * libio/ioftell.c: Likewise.
25947         * libio/iofwrite.c: Likewise.
25948         * libio/iogetline.c: Likewise.
25949         * libio/iogets.c: Likewise.
25950         * libio/iogetwline.c: Likewise.
25951         * libio/iopadn.c: Likewise.
25952         * libio/iopopen.c: Likewise.
25953         * libio/ioseekoff.c: Likewise.
25954         * libio/ioseekpos.c: Likewise.
25955         * libio/iosetbuffer.c: Likewise.
25956         * libio/iosetvbuf.c: Likewise.
25957         * libio/ioungetc.c: Likewise.
25958         * libio/ioungetwc.c: Likewise.
25959         * libio/iovdprintf.c: Likewise.
25960         * libio/iovsprintf.c: Likewise.
25961         * libio/iovsscanf.c: Likewise.
25962         * libio/memstream.c: Likewise.
25963         * libio/obprintf.c: Likewise.
25964         * libio/oldfileops.c: Likewise.
25965         * libio/oldiofclose.c: Likewise.
25966         * libio/oldiofdopen.c: Likewise.
25967         * libio/oldiofopen.c: Likewise.
25968         * libio/oldiopopen.c: Likewise.
25969         * libio/oldstdfiles.c: Likewise.
25970         * libio/putc.c: Likewise.
25971         * libio/setbuf.c: Likewise.
25972         * libio/setlinebuf.c: Likewise.
25973         * libio/stdfiles.c: Likewise.
25974         * libio/strops.c: Likewise.
25975         * libio/vasprintf.c: Likewise.
25976         * libio/vscanf.c: Likewise.
25977         * libio/vsnprintf.c: Likewise.
25978         * libio/vswprintf.c: Likewise.
25979         * libio/wfiledoalloc.c: Likewise.
25980         * libio/wfileops.c: Likewise.
25981         * libio/wgenops.c: Likewise.
25982         * libio/wmemstream.c: Likewise.
25983         * libio/wstrops.c: Likewise.
25984         * libio/__fpurge.c: Likewise.
25985         * libio/__fsetlocking.c: Likewise.
25986         * assert/assert.c: Likewise.
25987         * debug/fgets_chk.c: Likewise.
25988         * debug/fgets_u_chk.c: Likewise.
25989         * debug/fread_chk.c: Likewise.
25990         * debug/fread_u_chk.c: Likewise.
25991         * debug/gets_chk.c: Likewise.
25992         * debug/obprintf_chk.c: Likewise.
25993         * debug/vasprintf_chk.c: Likewise.
25994         * debug/vdprintf_chk.c: Likewise.
25995         * debug/vsnprintf_chk.c: Likewise.
25996         * debug/vsprintf_chk.c: Likewise.
25997         * malloc/mtrace.c: Likewise.
25998         * misc/error.c: Likewise.
25999         * misc/syslog.c: Likewise.
26000         * stdio-common/asprintf.c: Likewise.
26001         * stdio-common/fxprintf.c: Likewise.
26002         * stdio-common/getw.c: Likewise.
26003         * stdio-common/isoc99_fscanf.c: Likewise.
26004         * stdio-common/isoc99_scanf.c: Likewise.
26005         * stdio-common/isoc99_vfscanf.c: Likewise.
26006         * stdio-common/isoc99_vscanf.c: Likewise.
26007         * stdio-common/isoc99_vsscanf.c: Likewise.
26008         * stdio-common/printf-prs.c: Likewise.
26009         * stdio-common/printf_fp.c: Likewise.
26010         * stdio-common/printf_fphex.c: Likewise.
26011         * stdio-common/printf_size.c: Likewise.
26012         * stdio-common/putw.c: Likewise.
26013         * stdio-common/scanf.c: Likewise.
26014         * stdio-common/sprintf.c: Likewise.
26015         * stdio-common/tmpfile.c: Likewise.
26016         * stdio-common/vfprintf.c: Likewise.
26017         * stdio-common/vfscanf.c: Likewise.
26018         * stdlib/strfmon_l.c: Likewise.
26019         * sunrpc/openchild.c: Likewise.
26020         * sunrpc/xdr_stdio.c: Likewise.
26021         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26022         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26024 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26026         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26028         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26029         in the third column, to generate for the shared library an IFUNC
26030         that uses _dl_vdso_vsym.
26031         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26032         * Makeconfig (object-suffixes-noshared): New variable.
26034         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26035         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26036         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26037         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26039         [BZ #14132]
26040         * include/sys/time.h (__gettimeofday): Remove macro.
26041         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26042         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26043         Remove INTDEF.
26044         (__gettimeofday): Add libc_hidden_def.
26045         (gettimeofday): Add libc_hidden_weak.
26046         * sysdeps/mach/gettimeofday.c: Likewise.
26047         * sysdeps/posix/gettimeofday.c: Likewise.
26048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26049         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26051         (__gettimeofday_internal): Remove strong_alias.
26052         (__gettimeofday): Add libc_hidden_def.
26053         (gettimeofday): Add libc_hidden_weak.
26054         * sysdeps/unix/syscalls.list (gettimeofday):
26055         Remove __gettimeofday_internal alias.
26057 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26058             H.J. Lu  <hongjiu.lu@intel.com>
26060         [BZ #12495]
26061         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26062         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26063         (largebin_index_32_big): New.
26064         (largebin_index): Use it for 16-byte alignment.
26065         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26066         correction with front_misalign.
26068 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26072         Likewise.
26073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26074         Likewise.
26075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26076         Likewise.
26077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26078         Likewise.
26079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26080         Likewise.
26081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26082         Likewise.
26083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26084         Likewise.
26085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26086         Likewise.
26087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26088         Likewise.
26089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26090         Likewise.
26091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26092         Likewise.
26093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26094         Likewise.
26096         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26097         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26099 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26101         [BZ #10846]
26102         [BZ #14036]
26103         * math/libm-test.inc (exp_test): Add test from bug 14036.
26104         (pow_test): Add test from bug 10846.
26106         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26107         and other flags.
26108         (special_function): Do not include flags in test name.
26109         (parse_args): Likewise.
26110         * sysdeps/i386/fpu/libm-test-ulps: Update.
26111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26112         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26113         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26116         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26117         exceptions.
26118         * math/libm-test.inc ("Philosophy"): Update comment about
26119         exception testing.
26120         (UNDERFLOW_EXCEPTION): New macro.
26121         (UNDERFLOW_EXCEPTION_OK): Likewise.
26122         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26123         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26124         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26125         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26126         (INVALID_EXCEPTION_OK): Update value.
26127         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26128         (OVERFLOW_EXCEPTION_OK): Likewise.
26129         (IGNORE_ZERO_INF_SIGN): Likewise.
26130         (test_exceptions): Handle underflow exceptions.
26131         (acos_test): Update for underflow exception expectations.
26132         (cexp_test): Likewise.
26133         (clog_test): Likewise.
26134         (clog10_test): Likewise.
26135         (csqrt_test): Likewise.
26136         (ctan_test): Likewise.
26137         (ctanh_test): Likewise.
26138         (exp_test): Likewise.
26139         (exp10_test): Likewise.
26140         (exp2_test): Likewise.
26141         (expm1_test): Likewise.
26142         (fma_test): Likewise.
26143         (j0_test): Likewise.
26144         (jn_test): Likewise.
26145         (nexttoward_test): Likewise.
26146         (pow_test): Likewise.
26147         (scalbn_test): Likewise.
26148         (scalbln_test): Likewise.
26149         (tan_test): Likewise.
26150         (y1_test): Likewise.
26151         * sysdeps/i386/fpu/libm-test-ulps: Update.
26152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26154 2012-05-23  David S. Miller  <davem@davemloft.net>
26156         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26157         (__libc_sigaction): Remove unused local variables.
26159 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26161         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26163 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26165         mktime: avoid signed integer overflow
26166         * time/mktime.c (__mktime_internal): Do not mishandle the case
26167         where diff == INT_MIN.
26169         mktime: simplify computation of average
26170         * time/mktime.c (ranged_convert): Use new time_t_avg function
26171         instead of rolling our own (probably-slower) code.
26173         mktime: do not assume signed right shift propagates sign bit
26174         * time/mktime.c (isdst_differ): New static function.
26175         (__mktime_internal): No need to normalize tm_isdst now.
26176         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26177         tm_isdst values.
26179         mktime: merge another wrapv change from gnulib
26180         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26181         from some compilers.
26183         mktime: remove incorrect attempt at unusual arithmetics
26184         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26185         The code didn't really work on such machines anyway.
26186         (TYPE_MINIMUM): Assume two's complement.
26187         (twos_complement_arithmetic): Verify that long_int and time_t
26188         are two's complement (or unsigned, in the latter case).
26190         mktime: check signed shifts on long_int and time_t, too
26191         * time/mktime.c (SHR): Check that shifts work as desired
26192         on the types long_int and time_t too, as SHR is used on
26193         such types.
26195         mktime: do not assume 'long' is wide enough
26196         * time/mktime.c (verify): Move decl up.
26197         (long_int): New type.
26198         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26199         to remove assumption in the code that 'long' is wide enough to
26200         store year values.  This assumption is not true on x32 and on
26201         some non-glibc platforms.
26203         mktime: merge wrapv change from gnulib
26204         * time/mktime.c (WRAPV): New macro.
26205         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26206         (guess_time_tm, __mktime_internal): Do not assume that signed
26207         integer overflow wraps around; modern compilers generate code
26208         where this assumption is no longer valid.
26210 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26212         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26213         Replace "jmp L(pseudo_end)" with "ret".
26214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26215         Likewise.
26217 2012-05-23  Andreas Jaeger  <aj@suse.de>
26219         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26220         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26222 2012-05-23  Andreas Jaeger  <aj@suse.de>
26223             Maximilian Attems  <max@stro.at>
26225         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26226         New macros.
26228 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26230         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26231         code so that pseudo_end is just ret and the stack pointer is
26232         correct also for static library in error case.
26234 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26236         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26237         move to syscalls.list.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26243         * manual/install.texi (Running make install): Do not mention Linux
26244         kernel version for which pt_chown is not needed.
26245         (Linux): Do not mention problems with nscd with 2.0 kernels.
26246         * INSTALL: Regenerated.
26248 2012-05-23  Andreas Jaeger  <aj@suse.de>
26250         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26251         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26252         macro.
26253         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26254         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26255         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26256         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26257         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26258         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26259         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26260         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26261         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26262         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26263         * sysdeps/unix/sysv/linux/bits/in.h
26264         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26266 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26268         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26269         (PREPARE_VERSION): Just use assert instead, it will be elided
26270         under [NDEBUG] anyway.
26272 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26274         * sysdeps/unix/sysv/linux/Makefile: Include
26275         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26276         (sysdep_routines): Remove sysctl.
26277         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26278         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26279         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26280         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26281         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26283 2012-05-22  Andreas Jaeger  <aj@suse.de>
26285         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26286         that pseudo_end is just ret and the stack pointer is correct also
26287         for static library in error case.
26289 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26291         [BZ #14122]
26292         * nss/nsswitch.c (defconfig_entries): New variable.
26293         (__nss_database_lookup): Don't leak defconfig entries.
26294         (nss_parse_service_list): Don't leak on error paths.
26295         (free_database_entries): New function.
26296         (free_defconfig): New function.
26297         (free_mem): Move common code to free_database_entries.
26299 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26301         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26302         Add arch_prctl.
26303         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26305         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26306         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26308         New macro.
26309         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26310         (INTERNAL_SYSCALL_TYPES): Likewise.
26311         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26312         (LOAD_REGS_TYPES_[1-6]): Likewise.
26313         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26314         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26316 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26318         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26319         copysignl for GLIBC_2_0.
26320         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26321         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26323         logbl for GLIBC_2_0.
26324         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26325         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26327 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26329         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26330         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26332         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26333         Use "neg %eax".
26335         * time/mktime.c: Update copyright years.
26337 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26339         mktime: merge comment-quoting-style change from gnulib
26340         * time/mktime.c: Quote 'like this' in comments.
26341         The GNU coding standards suggest that we no longer quote `like this',
26342         as "`" and "'" are typically rendered asymmetrically nowadays.
26343         The typical gnulib style is to quote 'like this' when quoting
26344         code, and "like this" when quoting English.
26346         * time/mktime.c (compile-command): Add "-I.".
26348         mktime: merge mktime-internal.h change from gnulib
26349         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26351         mktime: merge time_r change from gnulib
26352         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26354         mktime: merge DEBUG change from gnulib
26355         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26356         case system <time.h> has a #define.
26358         mktime: merge <sys/types.h> change from gnulib
26359         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26360         since <time.t> is now guaranteed to define time_t.
26362         mktime: merge HAVE_CONFIG_H change from gnulib
26363         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26365 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26368         Use "neg %eax".
26370         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26371         __rlim_t cast.
26372         (struct rusage): Use anonymous union to pad each field to
26373         __syscall_slong_t.
26375 2012-05-21  David S. Miller  <davem@davemloft.net>
26377         * Makefules (o-iterator): Remove .s cases.
26378         (compile-command.s): Delete.
26379         (COMPILE.s): Delete.
26380         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26382 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
26384         * configure.in (libc_cv_predef_stack_protector): Only consider
26385         "foobar" and "__stack_chk_fail" lines in libc_undefs.
26386         * configure: Regenerated.
26388 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26391         New macro.  Use R*LP on int and pointer.
26392         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26393         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26394         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26395         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26397         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26398         [__WORDSIZE_TIME64_COMPAT32] instead of
26399         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26400         (struct utmp): Likewise.
26401         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26402         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26403         Renamed to ...
26404         (__WORDSIZE_TIME64_COMPAT32): This.
26405         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26406         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26407         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26408         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26409         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26410         (__WORDSIZE_TIME64_COMPAT32): New macro.
26412 2012-05-21  Andreas Jaeger  <aj@suse.de>
26414         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26415         only if [SHARED]. Add prototype for __wcschr_ia32.
26417 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26419         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26420         of %rbp unmolested in the jmp_buf while mangling the low bits.
26421         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26422         unmolested high bits of %rbp while demangling the low bits.
26423         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26425 2012-05-21  Andreas Jaeger  <aj@suse.de>
26427         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26428         * sunrpc/svc_simple.c: Use it for registerrpc.
26429         * sunrpc/xcrypt.c: Use it for passwd2des.
26431         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26433 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26435         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26436         Don't define if [__SYSCALL_WORDSIZE != 32].
26437         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26438         New macro.
26440 2012-05-21  Bruno Haible  <bruno@clisp.org>
26441             Andreas Jaeger  <aj@suse.de>
26443         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26444         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26445         inptr and inend for must_buffer_ch.
26446         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26447         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26448         * stdio-common/Makefile (tests): Remove bug15.
26449         (bug15-ENV): Remove macro.
26450         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26451         anymore.
26453 2012-05-19  Andreas Jaeger  <aj@suse.de>
26454             Roland McGrath  <roland@hack.frob.com>
26456         * manual/contrib.texi: Completely rewritten. It contains now an
26457         alphabetical list of contributors and their contributions.
26459 2012-05-21  Richard Henderson  <rth@twiddle.net>
26461         * misc/getauxval.c (__getauxval): Use unsigned long int.
26462         * misc/sys/auxv.h: Include <sys/cdefs.h>.
26463         (getauxval): Use unsigned long int.
26465 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26467         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26469 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26471         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
26472         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
26473         __alignof__ (long double).
26475 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26479 2012-05-20  Richard Henderson  <rth@twiddle.net>
26481         * misc/getauxval.c: New file.
26482         * misc/sys/auxv.h: New file.
26483         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26484         (routines): Add getauxval.
26485         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
26486         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
26487         * elf/dl-sysdep.c (_dl_auxv): Remove.
26488         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
26489         * elf/dl-support.c (_dl_auxv): New variable.
26490         (_dl_aux_init): Initialize it.
26491         * manual/startup.texi (Auxiliary Vector): New node.
26492         * sysdeps/generic/bits/hwcap.h: New file.
26493         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26494         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
26495         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
26496         * sysdeps/sparc/sysdep.h: ... here.  Include it.
26497         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
26498         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
26499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26500         Update.
26501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
26502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
26503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
26504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
26508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
26510 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26514 2012-05-19  David S. Miller  <davem@davemloft.net>
26516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26518 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26520         [BZ #14123]
26521         * math/s_ccosh.c: Include <float.h>
26522         (__ccosh): Avoid internal overflow calculating sinh and cosh
26523         values before multiplying by sin and cos values.
26524         * math/s_ccoshf.c: Likewise.
26525         * math/s_ccoshl.c: Likewise.
26526         * math/s_csin.c: Likewise.
26527         * math/s_csinf.c: Likewise.
26528         * math/s_csinl.c: Likewise.
26529         * math/s_csinh.c: Likewise.
26530         * math/s_csinhf.c: Likewise.
26531         * math/s_csinhl.c: Likewise.
26532         * math/libm-test.inc (ccos_test): Add more tests.
26533         (ccosh_test): Likewise.
26534         (csin_test): Likewise.
26535         (csinh_test): Likewise.
26536         * sysdeps/i386/fpu/libm-test-ulps: Update.
26537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26539 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
26541         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
26542         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
26544         * sysdeps/x86_64/x32/_itoa.h: Add comment.
26546 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26548         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
26549         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
26550         * sysdeps/powerpc/soft-fp/Versions: Likewise.
26551         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
26552         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
26553         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
26554         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
26555         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
26556         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
26557         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
26558         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
26559         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
26560         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
26561         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
26562         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
26563         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
26564         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
26565         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
26566         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
26567         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
26568         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
26569         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
26570         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26571         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
26572         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
26573         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
26574         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
26575         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
26576         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
26577         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
26578         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
26580 2012-05-18  Andreas Jaeger  <aj@suse.de>
26582         * csu/.gitignore: Delete.
26584 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26586         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
26587         (timex): Use __syscall_slong_t.
26589 2012-05-18  Andreas Jaeger  <aj@suse.de>
26590             Carlos O'Donell  <carlos_odonell@mentor.com>
26592         * manual/install.texi (Configuring and compiling): Update
26593         description about files modified in the source directory.
26594         * INSTALL: Regenerated.
26596 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26598         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
26599         value.  Use "or" to set return value to -1.
26600         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
26601         negate return value.
26603 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26605         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
26606         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
26607         failure if the compiler has Graphite support disabled.
26608         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
26609         Likewise.
26610         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
26611         CFLAGS-memmove.c): Likewise.
26612         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
26613         Likewise.
26615 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26617         * sysdeps/x86_64/x32/_itoa.h: New file.
26619         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
26620         getdents system call only if kernel and user dirents have the
26621         same d_ino and d_off.
26623         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26624         LLONG_MAX != LONG_MAX.
26625         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26626         (_fitoa_word): Likewise.
26628         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
26629         years.
26630         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
26631         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
26632         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
26634         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
26635         include <bits/wordsize.h>.  Check __x86_64__ instead of
26636         __WORDSIZE.
26637         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
26638         if __x86_64__ is defined.  Use anonymous union on fpstate.
26640         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
26641         anonymous union.
26643 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
26645         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26646         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
26647         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
26648         Refer to _rtld_local_ro instead of _rtld_global_ro.
26649         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
26650         Likewise.
26651         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
26652         Likewise.
26653         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
26654         Likewise.
26655         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
26656         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
26657         of _rtld_global, and rtld_progname instead of _dl_argv[0].
26659         * sysdeps/powerpc/powerpc32/dl-machine.c
26660         (__elf_machine_runtime_setup) [PROF]: Don't reference
26661         _dl_prof_resolve.
26663 2012-05-18  Andreas Jaeger  <aj@suse.de>
26665         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
26666         function only available for GCCs before 3.4 since GCC 3.4
26667         introduced a builtin.
26668         (lrint): Likewise.
26669         (llrintf): Likewise.
26670         (llrint): Likewise.
26671         (fmaxf): Likewise.
26672         (fmax): Likewise.
26673         (fminf): Likewise.
26674         (fmin): Likewise.
26675         (rint): Likewise.
26676         (rintf): Likewise.
26677         (nearbyint): Likewise.
26678         (nearbyintf): Likewise.
26679         (ceil): Likewise.
26680         (ceilf): Likewise.
26681         (floor): Likewise.
26682         (floorf): Likewise.
26684 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26686         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
26687         on both fields and cast pointer to __syscall_ulong_t.
26689         * bits/types.h (__fsword_t): New type.
26690         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
26691         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
26692         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26693         (__FSWORD_T_TYPE): Likewise.
26694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26695         (__FSWORD_T_TYPE): Likewise.
26696         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26697         (__FSWORD_T_TYPE): Likewise.
26698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26699         (__FSWORD_T_TYPE): Likewise.
26700         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26701         __SWORD_TYPE with __fsword_t.
26702         (statfs64): Likewise.
26704 2012-05-17  David S. Miller  <davem@davemloft.net>
26706         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26708 2012-05-17  Andreas Jaeger  <aj@suse.de>
26710         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26711         warning.
26713 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26715         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26717 2012-05-17  Andreas Jaeger  <aj@suse.de>
26719         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26720         when it is used.
26722 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26724         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26726 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26728         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26729         * sysdeps/x86_64/tst-mallocalign1.c: New file.
26731 2012-05-17  Andreas Jaeger  <aj@suse.de>
26732             Carlos O'Donell  <carlos_odonell@mentor.com>
26734         [BZ #14059]
26735         * sysdeps/x86_64/multiarch/init-arch.h
26736         (bit_YMM_Usable): Rename to...
26737         (bit_AVX_Usable): ... this.
26738         (bit_FMA4_Usable): New macro.
26739         (bit_XMM_state): New macro.
26740         (bit_YMM_state): New macro.
26741         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26742         [__ASSEMBLER__] (index_AVX_Usable): ... this.
26743         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26744         (CPUID_OSXSAVE): New macro.
26745         (CPUID_AVX): New macro.
26746         (CPUID_FMA4): New macro.
26747         (index_YMM_Usable): Rename to...
26748         (index_AVX_Usable): ... this.
26749         (HAS_AVX): Use HAS_ARCH_FEATURE.
26750         (HAS_FMA4): Likewise.
26751         (HAS_YMM_USABLE): Remove.
26752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26753         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26754         are present.
26755         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26756         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26757         * sysdeps/x86_64/multiarch/Makefile: Likewise.
26758         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26759         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26761 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26763         * math/libm-test.c: Support platforms without multiple rounding modes.
26764         * math/bug-nextafter.c: Support platforms without FP exceptions.
26765         * math/bug-nexttoward.c: Likewise.
26766         * math/test-fenv.c: Likewise.
26767         * math/test-misc.c: Likewise.
26768         * stdlib/bug-getcontext.c: Likewise.
26770 2012-05-17  Andreas Jaeger  <aj@suse.de>
26772         * manual/examples/search.c (critter_cmp): Change signature to
26773         avoid warnings.
26774         * manual/string.texi (Collation Functions): Likewise.
26776 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26778         * bits/types.h: Fold copyright years.
26779         * bits/typesizes.h: Likewise.
26780         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26782         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26783         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26784         * time/time.h: Likewise.
26786 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
26788         [BZ #208]
26789         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26790         in instead of returning them.  Return void.
26791         (__libc_mallinfo): Accumulate over all arenas.
26792         (__malloc_stats): Adjust for change in int_mallinfo interface.
26794 2012-05-16  Roland McGrath  <roland@hack.frob.com>
26796         [BZ #10375]
26797         * configure.in (NM): Add AC_CHECK_TOOL for it.
26798         (libc_extra_cflags): New substituted variable.
26799         Check for -fstack-protector being used implicitly.
26800         * configure: Regenerated.
26801         * config.make.in (config-extra-cflags): New variable,
26802         gets @libc_extra_cflags@.
26803         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26805         [BZ #10375]
26806         * configure.in: Check for _FORTIFY_SOURCE being predefined.
26807         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26808         * configure: Regenerated.
26809         * config.make.in (CPPUNDEFS): New substituted variable.
26810         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26811         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26812         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26816         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26817         (mq_attr): Use __syscall_slong_t.
26819 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26821         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26822         Check __x86_64__ instead of __WORDSIZE.
26823         (_STAT_VER_LINUX): Likewise.
26824         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
26825         __syscall_ulong_t and __syscall_slong_t.
26826         (stat64): Likewise.
26828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26830         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26834         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26836 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26838         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26839         __syscall_ulong_t.
26841         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26842         include <bits/wordsize.h>.  Check __x86_64__ instead of
26843         __WORDSIZE.
26844         (greg_t): Use "__extension__ long long int" if __x86_64__ is
26845         defined.
26846         (mcontext_t): Replace "unsigned long" with "unsigned long long".
26848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26849         include <bits/wordsize.h>.  Check __x86_64__ instead of
26850         __WORDSIZE.
26851         (user_regs_struct): Use "__extension__ unsigned long long"
26852         instead of "unsigned long" if __x86_64__ is defined.
26853         (user): Likewise.  Pad after pointer field if __ILP32__ is
26854         defined.
26856 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
26858         * configure.in (makeinfo): Require version 4.5 or later.  Allow
26859         versions 5 to 9.
26860         * configure: Regenerated.
26861         * manual/install.texi (texinfo): Increase version requirement to
26862         4.5 or later.
26863         * INSTALL: Regenerated.
26865         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26869         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26871         * sysdeps/x86_64/x32/ffs.c: New file.
26873         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26874         __syscall_ulong_t.
26875         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26876         defined.  Use __syscall_ulong_t.
26877         (shminfo): Use __syscall_ulong_t.
26878         (shm_info): Likewise.
26880         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26881         __syscall_ulong_t.
26883         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26884         <bits/wordsize.h>.
26885         (msgqnum_t): Use __syscall_ulong_t.
26886         (msglen_t): Likewise.
26887         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
26888         __syscall_ulong_t.
26890         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26891         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26893         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26895         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26896         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26898         * sysvipc/sys/msg.h (msgbuf): Replace long int with
26899         __syscall_slong_t.
26901         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26902         include <bits/wordsize.h>.  Check __x86_64__ instead of
26903         __WORDSIZE.
26905         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26906         "unsigned long long int" if __x86_64__ is defined.
26907         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26910         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26911         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26913         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26914         <stdint.h>.
26915         (GET_PC): Cast to uintptr_t first.
26916         (GET_FRAME): Likewise.
26917         (GET_STACK): Likewise.
26919         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26920         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26921         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26922         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26923         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26924         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26925         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26926         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26927         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26928         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26929         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26930         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26931         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26932         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26933         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26934         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26935         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26936         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26937         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26938         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26939         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26940         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26941         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26942         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26943         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26944         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26945         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26946         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26947         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26949 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
26951         * Makerules (+depfiles): Also collect depfiles from .oS in
26952         $(extra-objs).
26953         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26954         .oS, $(libnldbl-routines)).
26956         * Makerules (native-compile-mkdep-flags): Define.
26957         * sunrpc/Makefile (extra-objs): Add $(addprefix
26958         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26959         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26960         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
26961         calling $(make-target-directory).
26963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26965         * bits/types.h (__snseconds_t): Removed.
26966         * time/time.h (struct timespec): Replace __snseconds_t with
26967         __syscall_slong_t.
26968         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26969         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26970         Likewise.
26971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26972         (__SNSECONDS_T_TYPE): Likewise.
26973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26974         (__SNSECONDS_T_TYPE): Likewise.
26975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26976         (__SNSECONDS_T_TYPE): Likewise.
26978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26980         * sysdeps/mach/hurd/bits/typesizes.h
26981         (__SYSCALL_SLONG_TYPE): New macro.
26982         (__SYSCALL_ULONG_TYPE): Likewise.
26984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26986         * bits/types.h (__syscall_slong_t): New type.
26987         (__syscall_ulong_t): Likewise.
26989         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26990         (__SYSCALL_ULONG_TYPE): Likewise.
26991         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26992         (__SYSCALL_SLONG_TYPE): Likewise.
26993         (__SYSCALL_ULONG_TYPE): Likewise.
26994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26995         (__SYSCALL_SLONG_TYPE): Likewise.
26996         (__SYSCALL_ULONG_TYPE): Likewise.
26997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26998         (__SYSCALL_SLONG_TYPE): Likewise.
26999         (__SYSCALL_ULONG_TYPE): Likewise.
27001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27003         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27004         Add sigaltstack-offsets.sym.
27005         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27006         <sigaltstack-offsets.h>.
27007         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27008         longjmp_msg pointer.
27009         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27010         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27011         signal stack.
27012         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27014 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27016         * elf/stackguard-macros.h: Remove file.
27017         * sysdeps/generic/stackguard-macros.h: New file.
27018         * sysdeps/i386/stackguard-macros.h: Likewise.
27019         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27020         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27021         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27022         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27023         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27024         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27025         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27026         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27027         <elf/stackguard-macros.h>.
27029         [BZ #14109]
27030         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27031         __aligned__ in attribute.
27032         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27033         (gregset_t): Likewise.
27035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27037         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27038         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27039         * sysdeps/x86_64/x32/Implies-after: New file.
27041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27043         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27044         and access return value for _dl_profile_fixup.  Use R10_LP to
27045         load frame size.
27047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27049         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27053         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27054         * sysdeps/x86_64/x32/sysdep.h: New file.
27056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27058         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27059         * sysdeps/x86_64/setjmp.S: Likewise.
27061 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27063         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27064         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27065         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27066         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27067         remove unused global constant.
27069 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27071         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27072         include of <not-cancel.h>.
27074 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27076         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27078 2012-05-15  Jeff Law  <law@redhat.com>
27079             Andreas Jaeger  <aj@suse.de>
27081         [BZ #13594]
27082         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27083         out from...
27084         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27085         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27086         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27087         code changing __hst_map_handle.map.
27089 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27091         * configure.in (sysnames): Look for Implies-before and Implies-after
27092         files.
27093         * configure: Regenerated.
27095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27098         8-byte data alignment with LP_SIZE alignment.
27100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27102         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27103         into R10_LP.
27105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27107         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27111         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27112         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27113         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27114         Likewise.
27115         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27119         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27120         (stackinfo_sub_sp): Likewise.
27122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27124         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27125         RAX_LP.
27127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27130         into R*_LP.
27132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27134         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27135         sizes into R*_LP.
27137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27139         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27143         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27144         into R11_LP and load __x86_64_shared_cache_size_half into
27145         R8_LP.
27147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27149         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27150         R8_LP.
27152 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27155         logb for POWER7.
27156         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27157         logbf for POWER7.
27158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27159         logbl for POWER7.
27160         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27161         powerpc32/power7/fpu/s_logb.c via #include.
27162         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27163         powerpc32/power7/fpu/s_logbf.c via #include.
27164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27165         powerpc32/power7/fpu/s_logbl.c via #include.
27167 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27169         * README.libm: Remove file.
27171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27173         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27174         count for x32.  Use R*_LP and omit operand-size suffix.
27176 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27178         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27179         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27180         * sysdeps/x86_64/x32/shlib-versions: New file.
27182 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27184         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27185         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27186         Use _dl_fatal_printf instead.
27188 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27190         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27191         set if not set by the user.  Do not allow for being unset.
27192         * sysdeps/unix/sysv/linux/configure: Regenerated.
27194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27196         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27197         the `q' suffix from lea and replace .quad with ASM_ADDR.
27199 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27202         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27203         instead of $17.
27204         (PTR_DEMANGLE): Likewise.
27206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27208         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27209         (LP_OP): Likewise.
27210         (ASM_ADDR): Likewise.
27211         (RAX_LP): Likewise.
27212         (RBP_LP): Likewise.
27213         (RBX_LP): Likewise.
27214         (RCX_LP): Likewise.
27215         (RDI_LP): Likewise.
27216         (RSI_LP): Likewise.
27217         (RSP_LP): Likewise.
27218         (R8_LP): Likewise.
27219         (R9_LP): Likewise.
27220         (R10_LP): Likewise.
27221         (R10_LP): Likewise.
27222         (R11_LP): Likewise.
27223         (R12_LP): Likewise.
27224         (R13_LP): Likewise.
27225         (R14_LP): Likewise.
27226         (R15_LP): Likewise.
27228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27230         * sysdeps/x86_64/x32/dl-machine.h: New file.
27232 2012-05-14  Andreas Jaeger  <aj@suse.de>
27234         * manual/Makefile (subdir): Remove export of subdir.
27235         (all): Remove target.
27236         (.PHONY): Remove all from list.
27237         (mkinstalldirs): Remove.
27238         (.PHONY): Remove installdirs from list.
27239         ($(inst_infodir)/libc.info): Use make-target-directory.
27240         (installdirs): Remove.
27241         (subdir_%): Remove.
27242         (glibc-targets): Remove.
27243         (lib): Remove.
27244         (stubs): Remove.
27245         ($(objpfx)stubs ../po/manual.pot): Remove.
27246         ($(objpfx)stamp%): Remove.
27247         (make-target-directory): Remove.
27248         (subdir_install): Remove.
27249         (routines): Remove.
27250         (aux): Remove.
27251         (sources): Remove.
27252         (objects): Remove.
27253         (headers): Remove.
27255         [BZ #13750]
27256         * manual/.gitignore: Remove, it's not needed anymore.
27257         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27258         all files in it.
27259         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27260         directory.
27261         (texis): Renamed to $(objpfx)texis.
27262         (texis-path): New, contains path to generated files.
27263         (chapters.%): Use texis-path for complete path, add extra argument
27264         libc-texinfo.sh.
27265         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27266         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27267         (summary,texi, stamp-summary): Use complete path of
27268         files. Generate files in build dir.
27269         (dir-add.texi): Build in build dir.
27270         (libm-err.texi,stamp-libm-err): Likewise.
27271         (version.texi, stamp-version): Likewise.
27272         (.%c.texi): Likewise.
27273         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27274         (mostlyclean): Remove target.
27275         (realclean): Remove target.
27276         (generated): Add new variable with contents from mostlyclean and
27277         realclean, remove entries duplicated in common-mostlyclean, add
27278         stamp-libm-err and stamp-version.
27279         (generated-dirs): Add libc directory.
27280         ($(inst_infodir)/libc.info): Install files from build dir.
27282         * manual/install.texi (Configuring and compiling): Adjust since
27283         the info files are not part of the tar ball anymore.
27285 2012-05-14  Andreas Jaeger  <aj@suse.de>
27287         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27288         variable.
27290 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27292         [BZ #13717]
27293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27294         to 2.2.0 where earlier.
27295         * sysdeps/unix/sysv/linux/configure: Regenerated.
27296         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27297         Remove conditional code.
27298         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27299         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27300         Remove conditional code.
27301         [!__NR_lchown]: Likewise.
27302         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27303         [__NR_lchown]: Likewise.
27304         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27305         comment referencing __ASSUME_LCHOWN_SYSCALL.
27306         * sysdeps/unix/sysv/linux/i386/sigaction.c
27307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27309         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27310         Remove conditional code.
27311         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27312         (__protocol_available): Remove #if 0 code.
27313         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27314         conditional code.
27315         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27316         * sysdeps/unix/sysv/linux/kernel-features.h
27317         (__ASSUME_GETCWD_SYSCALL): Don't define.
27318         (__ASSUME_REALTIME_SIGNALS): Likewise.
27319         (__ASSUME_PREAD_SYSCALL): Likewise.
27320         (__ASSUME_PWRITE_SYSCALL): Likewise.
27321         (__ASSUME_POLL_SYSCALL): Likewise.
27322         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27323         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27324         non-SPARC.
27325         (__ASSUME_SIOCGIFNAME): Don't define.
27326         (__ASSUME_MSG_NOSIGNAL): Likewise.
27327         (__ASSUME_SENDFILE): Define unconditionally.
27328         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27329         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27330         conditional code.
27331         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27332         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27333         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27334         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27335         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27336         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27337         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27339         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27340         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27342         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27343         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27345         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27346         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27348         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27354         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27360         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27362         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27363         Remove conditional code.
27364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27365         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27366         Remove conditional code.
27367         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27368         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27369         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27370         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27371         Remove conditional code.
27372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27373         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27374         Remove conditional code.
27375         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27376         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27377         Remove conditional code.
27378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27379         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27380         Remove conditional code.
27381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27382         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27383         Remove conditional code.
27384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27385         * sysdeps/unix/sysv/linux/sh/pwrite64.c
27386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27388         * sysdeps/unix/sysv/linux/sigaction.c
27389         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27390         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27391         * sysdeps/unix/sysv/linux/sigpending.c
27392         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27393         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27394         * sysdeps/unix/sysv/linux/sigprocmask.c
27395         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27396         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27397         * sysdeps/unix/sysv/linux/sigsuspend.c
27398         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27399         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27401         (__libc_missing_rt_sigs): Remove.
27402         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27403         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27404         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27405         Remove conditional code.
27406         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27407         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27408         return 1.
27409         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27410         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27411         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27412         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27414 2012-05-14  Andreas Jaeger  <aj@suse.de>
27416         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27417         it's not used in glibc.
27418         (__coshm1): Likewise.
27419         (__acosh1p): Likewise.
27420         (__sgn): Likewise.
27422         * manual/string.texi (Copying and Concatenation): Add missing
27423         variable in concat example.
27424         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27428         [BZ #14103]
27429         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27430         __builtin_clzl with __builtin_clzll.
27432 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27434         [BZ #14104]
27435         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27436         libc_freeres_ptr.
27438 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27440         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27441         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27442         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27443         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27445 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
27447         * NEWS: Update ia64 info.
27449 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
27451         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27452         used as bcopy.
27454 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
27456         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27457         * sysdeps/unix/syscalls.list (dup3): Likewise.
27458         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27459         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27461 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27463         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27464         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
27466 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27468         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
27469         thread pointer.
27470         (TLS_IE): Use mov/add instead of movq/addq to load thread
27471         pointer.
27472         (TLS_GD_PREFIX): New.
27473         (TLS_GD): Use it.
27475 2012-05-11  David S. Miller  <davem@davemloft.net>
27477         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
27478         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
27479         (_FPU_SETCW): Likewise.
27481 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27483         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
27484         is 32-byte aligned.
27486 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
27488         [BZ #11837]
27489         * iconvdata/gb18030.c: Update tables.
27490         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
27491         characters specially.
27492         (BODY for TO_LOOP): Add encoding of missing ranges.
27494 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
27496         [BZ #13673]
27497         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
27498         * sysdeps/mach/hurd/dup3.c: Likewise.
27499         * sysdeps/mach/hurd/readlinkat.c: Likewise.
27500         * sysdeps/powerpc/memmove.c:: Likewise.
27502 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
27505         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27507 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27509         * elf/elf.h (R_X86_64_RELATIVE64): New.
27510         (R_X86_64_NUM): Updated.
27511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27512         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
27513         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
27514         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
27515         tst-quad1pie tst-quad2pie
27516         (modules-names): Add tst-quadmod1 tst-quadmod2.
27517         ($(objpfx)tst-quad1): New dependency.
27518         ($(objpfx)tst-quad2): Likewise.
27519         ($(objpfx)tst-quad1pie): Likewise.
27520         ($(objpfx)tst-quad2pie): Likewise.
27521         * sysdeps/x86_64/tst-quad1.c: New file.
27522         * sysdeps/x86_64/tst-quad1pie.c: New file.
27523         * sysdeps/x86_64/tst-quad2.c: Likewise.
27524         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
27525         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
27526         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
27527         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27528         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
27530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27532         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27533         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
27534         * streams/stropts.h (t_scalar_t): Define type.
27536         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
27537         (_PATH_PRESERVE): Set to "/var/lib".
27538         (_PATH_RWHODIR): Set to "/var/spool/rwho".
27540         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
27541         instead of int.
27543         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
27544         if __dir_mkfile succeeded.
27546         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
27547         checking for _hurd_dtablesize.  Unlock it right after having
27548         finished _hurd_dtable allocation.
27550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27552         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
27553         * sysdeps/mach/hurd/configure: Regenerated.
27554         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
27555         special-casing to...
27556         * sysdeps/gnu/configure.in: ... this new file.
27557         * sysdeps/unix/sysv/linux/configure: Regenerated.
27558         * sysdeps/gnu/configure: New generated file.
27560         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
27561         for Linux: use nsec instead of usec, as well as:
27562         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
27563         members of type struct timespec.
27564         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
27565         New macros.
27566         (struct stat64): Likewise.
27567         (_STATBUF_ST_NSEC): New macro.
27568         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
27570         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27571         __strtoul_internal rather than strtoul.
27573 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27575         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27576         and reject them.
27578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27580         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
27581         which preserves existing values.
27582         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
27584 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27586         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
27587         TIMEOUT values.  Return EINVAL for NFDS values either negative or
27588         greater than FD_SETSIZE.
27590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27592         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
27593         allocated, call __vm_protect to finish enabling the existing space, and
27594         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
27595         allocate the remainder.
27597 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27599         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
27600         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
27602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27604         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
27605         sysdeps/mach/hurd/readlink.c.
27607         * posix/tst-sysconf.c (posix_options): Only use
27608         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
27609         _POSIX_SYNCHRONIZED_IO when they are defined
27610         * sysdeps/mach/hurd/bits/posix_opt.h:
27611         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
27612         (_XOPEN_REALTIME): Undefine macro.
27613         (_XOPEN_REALTIME_THREADS): Undefine macro.
27614         (_XOPEN_SHM): Undefine macro.
27615         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
27616         macro to -1.
27617         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
27618         macro to -1.
27619         (_POSIX_ASYNC_IO): Undefine macro.
27620         (_POSIX_PRIORITIZED_IO): Undefine macro.
27621         (_POSIX_SPIN_LOCKS): Define macro to -1.
27623         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
27624         SA_NODEFER, SA_RESETHAND.
27625         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
27626         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
27627         F_DUPFD_CLOEXEC.
27629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27631         * elf/Makefile (pldd-modules): Define unconditionally.
27633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27635         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
27637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27639         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
27640         Return ENOENT when name is empty.
27641         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
27643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27645         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
27647         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
27649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27651         Fix mlock in all cases except non-readable pages.
27652         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
27653         instead of VM_PROT_ALL as parameter to __vm_wire function.
27655         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
27656         (__mkdir): When path is `/', just fail with EEXIST.
27657         * sysdeps/mach/hurd/mkdirat.c: Likewise.
27659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27661         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
27662         <sys/uio.h> (for writev).
27663         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
27664         and <sys/param.h> (for MIN).
27666 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27668         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
27669         REQUESTED_TIME.  Properly set the remaining time and return EINTR
27670         if interrupted.
27672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27674         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27675         Depend on against $(link-rpcuserlibs).
27677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27679         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
27680         (__libc_stack_end): Do not use attribute_relro.
27681         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
27682         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
27683         to libthread-provided value.
27684         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
27685         attribute_relro.
27687 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27689         [BZ #3748]
27690         * bits/libc-lock.h (__libc_once_get): New macro.
27691         * sysdeps/mach/bits/libc-lock.h: Likewise.
27692         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
27693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
27694         instead of using implementation details.
27696         * libio/fileops.c: Unconditionally include <kernel-features.h>.
27697         * libio/freopen.c: Likewise.
27698         * libio/freopen64.c: Likewise.
27699         * misc/syslog.c: Likewise.
27700         * nscd/connections.c: Likewise.
27701         * nscd/netgroupcache.c: Likewise.
27702         * sysdeps/posix/getcwd.c: Likewise.
27704 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27706         * math/w_ilogbf.c: Add #include <limits.h>.
27708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27710         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27711         path instead of returning without unlocking.
27713         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27714         immediate-write ioctls.
27715         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27719         * sysdeps/mach/hurd/i386/init-first.c (init): Use
27720         __builtin_frame_address instead of making assumptions about the
27721         location of the return address relative to DATA.  Force early load of
27722         the return address.
27723         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27724         __builtin_frame_address.
27726         dup3 for GNU Hurd.
27727         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27728         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
27729         implement dup3 and do some further code clean-ups.
27730         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27731         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27735         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27737         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27738         HURD_CRITICAL_END around holding _hurd_dtable_lock.
27739         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27740         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27741         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27742         d->port.lock.
27744         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27745         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
27746         when handler == SIG_ERR, not when handler != SIG_ERR.
27748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27750         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27751         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27752         definitions.
27754         accept4 for GNU Hurd.
27755         * include/sys/socket.h (__libc_accept4): New prototype.
27756         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
27757         to implement __libc_accept4.
27758         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27759         __libc_accept4.
27760         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27762         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27763         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27764         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27765         signal-defines.sym.
27767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27769         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27771 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27773         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27774         assertion on O_CLOEXEC flag.
27775         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27776         * hurd/intern-fd.c: Likewise.
27777         * hurd/port2fd.c: Likewise.
27779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27781         [BZ #3906]
27782         * bits/in.h (IPV6_PKTINFO): Define new macro.
27783         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27785 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27787         [BZ #13954]
27788         [BZ #13955]
27789         [BZ #13956]
27790         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27792         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27793         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27795         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27796         * math/libm-test.inc (logb_test) : Additional logb tests.
27798 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
27799             Andreas Jaeger  <aj@suse.de>
27801         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27802         * configure: Regenerated.
27803         * config.h.in (LINK_OBSOLETE_RPC): New macro.
27804         * config.make.in (link-obsolete-rpc): New substituted variable.
27805         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27806         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27807         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27808         (shared-only-routines): Don't set it under [link-obsolete-rpc],
27809         so that libc.a contains the symbols.
27810         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27811         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27812         * sunrpc/auth_none.c: Likewise.
27813         * sunrpc/auth_unix.c: Likewise.
27814         * sunrpc/authdes_prot.c: Likewise.
27815         * sunrpc/authuxprot.c: Likewise.
27816         * sunrpc/clnt_gen.c: Likewise.
27817         * sunrpc/clnt_perr.c: Likewise.
27818         * sunrpc/clnt_raw.c: Likewise.
27819         * sunrpc/clnt_simp.c: Likewise.
27820         * sunrpc/clnt_tcp.c: Likewise.
27821         * sunrpc/clnt_udp.c: Likewise.
27822         * sunrpc/clnt_unix.c: Likewise.
27823         * sunrpc/des_crypt.c: Likewise.
27824         * sunrpc/des_soft.c: Likewise.
27825         * sunrpc/get_myaddr.c: Likewise.
27826         * sunrpc/key_call.c: Likewise.
27827         * sunrpc/key_prot.c: Likewise.
27828         * sunrpc/netname.c: Likewise.
27829         * sunrpc/pm_getmaps.c: Likewise.
27830         * sunrpc/pm_getport.c: Likewise.
27831         * sunrpc/pmap_clnt.c: Likewise.
27832         * sunrpc/pmap_prot.c: Likewise.
27833         * sunrpc/pmap_prot2.c: Likewise.
27834         * sunrpc/pmap_rmt.c: Likewise.
27835         * sunrpc/publickey.c: Likewise.
27836         * sunrpc/rpc_cmsg.c: Likewise.
27837         * sunrpc/rpc_common.c: Likewise.
27838         * sunrpc/rpc_dtable.c: Likewise.
27839         * sunrpc/rpc_prot.c: Likewise.
27840         * sunrpc/rpc_thread.c: Likewise.
27841         * sunrpc/rtime.c: Likewise.
27842         * sunrpc/svc.c: Likewise.
27843         * sunrpc/svc_auth.c: Likewise.
27844         * sunrpc/svc_raw.c: Likewise.
27845         * sunrpc/svc_run.c: Likewise.
27846         * sunrpc/svc_tcp.c: Likewise.
27847         * sunrpc/svc_udp.c: Likewise.
27848         * sunrpc/svc_unix.c: Likewise.
27849         * sunrpc/svcauth_des.c: Likewise.
27850         * sunrpc/xcrypt.c: Likewise.
27851         * sunrpc/xdr.c: Likewise.
27852         * sunrpc/xdr_array.c: Likewise.
27853         * sunrpc/xdr_float.c: Likewise.
27854         * sunrpc/xdr_intXX_t.c: Likewise.
27855         * sunrpc/xdr_mem.c: Likewise.
27856         * sunrpc/xdr_rec.c: Likewise.
27857         * sunrpc/xdr_ref.c: Likewise.
27858         * sunrpc/xdr_sizeof.c: Likewise.
27859         * sunrpc/xdr_stdio.c: Likewise.
27861 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27864         change.  Update copyright years.
27866 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27868         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27870 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
27871             Joseph Myers  <joseph@codesourcery.com>
27872             Paul Pluzhnikov  <ppluzhnikov@google.com>
27874         [BZ #14012]
27875         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27876         requiring rpcgen.
27877         [cross-compiling] (extra-libs): Likewise.
27878         [cross-compiling] (extra-libs-others): Likewise.
27879         [cross-compiling] (librpcsvc-routines): Likewise.
27880         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27881         [cross-compiling] (omit-deps): Likewise.
27882         (sunrpc-CPPFLAGS): New variable.
27883         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27884         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27885         (cross-rpcgen-objs): New variable.
27886         (extra-objs): Append $(cross-rpcgen-objs).
27887         ($(cross-rpcgen-objs)): New rule.
27888         ($(objpfx)cross-rpcgen): Likewise.
27889         (rpcgen-cmd): Define to use $(built-program-file).  Expand
27890         comment.
27891         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27892         ($(objpfx)x%.stmp): Likewise.
27893         * sunrpc/proto.h [IS_IN_build] (_): Define.
27894         [IS_IN_build] (_libc_intl_domainname): Likewise.
27896 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27898         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27899         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27900         and R_X86_64_TPOFF64.
27902 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27904         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27905         sysdeps/unix/sysv/syscalls.list.
27906         (stime): Likewise.
27907         (utime): Likewise.
27908         * sysdeps/unix/sysv/syscalls.list: Remove file.
27910 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
27912         [BZ #3440]
27913         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27914         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27915         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27916         (__LC_IDENTIFICATION): Make these macros useful in #if
27917         expressions, as required by C99.
27919 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
27921         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27922         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
27923         after this.
27925 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
27927         * stdlib/longlong.h: Updated from GCC.
27929 2012-05-09  Andreas Jaeger  <aj@suse.de>
27931         * nscd/nscd.c (run_modes): Make named enum, reorder so that
27932         default is first entry.
27933         (run_mode): Set type.
27934         (main): Remove informal message about syslog.
27935         (options): Fix typo.
27937         [BZ #14053]
27938         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27939         to asm.
27940         (lrint): Likewise.
27941         (llrintf): Likewise.
27942         (llrint): Likewise.
27943         (rint): Likewise.
27944         (rintf): Likewise.
27945         (nearbyint): Likewise.
27946         (nearbyintf): Likewise.
27948 2012-05-09  Andreas Jaeger  <aj@suse.de>
27949             Pedro Alves  <palves@redhat.com>
27951         * nscd/nscd.c (run_mode): Use enum.
27952         (main): Cleanup coding style issue.
27954 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
27955             Andreas Jaeger  <aj@suse.de>
27957         * nscd/nscd.c (go_background): Replaced with...
27958         (run_mode): ... this.
27959         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27960         (options): Add -F --foreground.
27961         (main): Implement it.
27962         (parse_opt): Parse it.
27964 2012-05-09  Andreas Jaeger  <aj@suse.de>
27966         [BZ #14083]
27967         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27968         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27969         -Wconversion warning.
27970         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27971         Likewise.
27973 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
27975         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
27976         == 0.
27977         (LC_ALL): Use macro-int-constant.
27978         (LC_COLLATE): Likewise.
27979         (LC_CTYPE): Likewise.
27980         (LC_MESSAGES): Likewise.
27981         (LC_MONETARY): Likewise.
27982         (LC_NUMERIC): Likewise.
27983         (LC_TIME): Likewise.
27984         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27985         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27987         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27988         Specify type.
27989         [C99-based standards] (float_t): Expect type.
27990         [C99-based standards] (double_t): Expect type.
27991         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
27992         type.
27993         [C99-based standards] (HUGE_VALL): Likewise.
27994         [C99-based standards] (INFINITY): Likewise.
27995         [C99-based standards] (NAN): Likewise.
27996         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27997         [C99-based standards] (FP_NAN): Likewise.
27998         [C99-based standards] (FP_NORMAL): Likewise.
27999         [C99-based standards] (FP_SUBNORMAL): Likewise.
28000         [C99-based standards] (FP_ZERO): Likewise.
28001         [C99-based standards] (FP_FAST_FMA): Use
28002         optional-macro-int-constant.  Specify type.  Require == 1.
28003         [C99-based standards] (FP_FAST_FMAF): Likewise.
28004         [C99-based standards] (FP_FAST_FMAL): Likewise.
28005         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28006         [C99-based standards] (FP_ILOGBNAN): Likewise.
28007         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28008         Specify type.
28009         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28010         [C99-based standards] (math_errhandling): Specify type.
28011         [ISO99 || ISO11] (signgam): Do not allow.
28012         [non-C99-based standards] (copysignf): Do not allow.
28013         [non-C99-based standards] (exp2f): Likewise.
28014         [non-C99-based standards] (log2f): Likewise.
28015         [non-C99-based standards] (modff): Allow.
28016         [non-C99-based standards] (erff): Do not allow.
28017         [non-C99-based standards] (erfcf): Likewise.
28018         [non-C99-based standards] (gammaf): Likewise.
28019         [non-C99-based standards] (hypotf): Likewise.
28020         [non-C99-based standards] (j0f): Likewise.
28021         [non-C99-based standards] (j1f): Likewise.
28022         [non-C99-based standards] (jnf): Likewise.
28023         [non-C99-based standards] (lgammaf): Likewise.
28024         [non-C99-based standards] (tgammaf): Likewise.
28025         [non-C99-based standards] (y0f): Likewise.
28026         [non-C99-based standards] (y1f): Likewise.
28027         [non-C99-based standards] (ynf): Likewise.
28028         [non-C99-based standards] (isnanf): Likewise.
28029         [non-C99-based standards] (acoshf): Likewise.
28030         [non-C99-based standards] (asinhf): Likewise.
28031         [non-C99-based standards] (atanhf): Likewise.
28032         [non-C99-based standards] (cbrtf): Likewise.
28033         [non-C99-based standards] (expm1f): Likewise.
28034         [non-C99-based standards] (ilogbf): Likewise.
28035         [non-C99-based standards] (log1pf): Likewise.
28036         [non-C99-based standards] (logbf): Likewise.
28037         [non-C99-based standards] (nextafterf): Likewise.
28038         [non-C99-based standards] (remainderf): Likewise.
28039         [non-C99-based standards] (rintf): Likewise.
28040         [non-C99-based standards] (scalbf): Likewise.
28041         [non-C99-based standards] (copysignl): Likewise.
28042         [non-C99-based standards] (exp2l): Likewise.
28043         [non-C99-based standards] (log2l): Likewise.
28044         [non-C99-based standards] (modfl): Allow.
28045         [non-C99-based standards] (erfl): Do not allow.
28046         [non-C99-based standards] (erfcl): Likewise.
28047         [non-C99-based standards] (gammal): Likewise.
28048         [non-C99-based standards] (hypotl): Likewise.
28049         [non-C99-based standards] (j0l): Likewise.
28050         [non-C99-based standards] (j1l): Likewise.
28051         [non-C99-based standards] (jnl): Likewise.
28052         [non-C99-based standards] (lgammal): Likewise.
28053         [non-C99-based standards] (tgammal): Likewise.
28054         [non-C99-based standards] (y0l): Likewise.
28055         [non-C99-based standards] (y1l): Likewise.
28056         [non-C99-based standards] (ynl): Likewise.
28057         [non-C99-based standards] (isnanl): Likewise.
28058         [non-C99-based standards] (acoshl): Likewise.
28059         [non-C99-based standards] (asinhl): Likewise.
28060         [non-C99-based standards] (atanhl): Likewise.
28061         [non-C99-based standards] (cbrtl): Likewise.
28062         [non-C99-based standards] (expm1l): Likewise.
28063         [non-C99-based standards] (ilogbl): Likewise.
28064         [non-C99-based standards] (log1pl): Likewise.
28065         [non-C99-based standards] (logbl): Likewise.
28066         [non-C99-based standards] (nextafterl): Likewise.
28067         [non-C99-based standards] (remainderl): Likewise.
28068         [non-C99-based standards] (rintl): Likewise.
28069         [non-C99-based standards] (scalbl): Likewise.
28070         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28071         [non-C99-based standards] (FP_*): Do not allow.
28072         [C99-based standards] (FP_*): Change to
28073         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28074         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28075         allow.
28076         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28077         (SIG_ERR): Likewise.
28078         [X/Open-based standards] (SIG_HOLD): Likewise.
28079         (SIG_IGN): Likewise.
28080         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28081         positive value.
28082         (SIGFPE): Likewise.
28083         (SIGILL): Likewise.
28084         (SIGINT): Likewise.
28085         (SIGSEGV): Likewise.
28086         (SIGTER): Likewise.
28087         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28088         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28089         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28090         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28091         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28092         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28093         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28094         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28095         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28096         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28097         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28098         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28099         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28100         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28101         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28102         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28103         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28104         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28105         [X/Open-based standards] (SIGTRAP): Likewise.
28106         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28107         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28108         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28109         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28110         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28111         allow.
28113 2012-05-08  Ian Wienand  <ianw@vmware.com>
28115         [BZ #14080]
28116         * time/tzset.c (__tzset_parse_tz): Update default rules for
28117         daylight time changes in the Energy Policy Act of 2005.
28119 2012-05-09  Andreas Jaeger  <aj@suse.de>
28121         [BZ #13983]
28122         * elf/ldconfig.c (parse_conf): Change string to make clear that
28123         ldconfig only issued a warning if ld.so.conf does not exist.
28125 2012-05-08  David S. Miller  <davem@davemloft.net>
28127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28128         movxtod instead of popping the value on the stack.
28130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28132 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28134         * config.h.in: Add HAVE_ARM_PCS_VFP.
28136 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28138         [BZ #13979]
28139         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28140         checking but the checks are disabled for any reason.
28142 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28144         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28145         and ELF64_R_TYPE with ELFW(R_TYPE).
28147 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28149         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28150         (ulimit): Likewise.
28152         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28153         (settimeofday): Likewise.
28155 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28157         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28158         a struct th_u2 inside the union, and move tu_block/tu_code into
28159         a new th_u3 union of tu_block/tu_code inside of that.  Move
28160         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28161         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28162         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28163         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28164         (th_stuff): Change to th_u1.tu_stuff.
28165         (th_data): Define.
28166         (th_msg): Change to th_u1.th_u2.tu_data.
28168 2012-05-07  David S. Miller  <davem@davemloft.net>
28170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28172         [BZ #14074]
28173         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28174         (SETUP_PIC_REG): Use it.
28175         (SETUP_PIC_REG_LEAF): Use it.
28177 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28179         [BZ #13885]
28180         [BZ #13923]
28181         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28182         USE_AS_EXPM1L.
28183         (EXPL_FINITE): Likewise.
28184         (FLDLOG): Likewise.
28185         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28186         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28187         e_expl.S.
28188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28189         USE_AS_EXPM1L.
28190         (EXPL_FINITE): Likewise.
28191         (FLDLOG): Likewise.
28192         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28193         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28194         e_expl.S.
28195         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28196         test of -max_value argument for long double.
28197         * sysdeps/i386/fpu/libm-test-ulps: Update.
28198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28200 2012-05-06  David S. Miller  <davem@davemloft.net>
28202         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28203         quad soft-float symbols whose references which are compiler
28204         generated.
28205         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28207 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28209         [BZ #13884]
28210         [BZ #13914]
28211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28212         USE_AS_EXP10L.
28213         (EXPL_FINITE): Likewise.
28214         (FLDLOG): Likewise.
28215         (c0): Likewise.
28216         (c1): Likewise.
28217         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28218         Adjust comments for base varying.
28219         (__expl_finite): Change alias to EXPL_FINITE.
28220         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28221         e_expl.S.
28222         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28223         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28224         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28225         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28227         USE_AS_EXP10L.
28228         (EXPL_FINITE): Likewise.
28229         (FLDLOG): Likewise.
28230         (c0): Likewise.
28231         (c1): Likewise.
28232         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28233         Adjust comments for base varying.
28234         (__expl_finite): Change alias to EXPL_FINITE.
28235         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28236         tests for bugs.
28237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28239         [BZ #14064]
28240         * math/libm-test.inc (check_float_internal): Correct ulp
28241         calculation for subnormal expected results.
28243 2012-05-06  Andreas Jaeger  <aj@suse.de>
28245         * Makeconfig (+math-flags): New, set to -frounding-math.
28246         (+cflags): Add +math-flags so that all of glibc gets compiled with
28247         it.
28249         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28251 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28253         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28254         Disable one test.
28256         [BZ #13787]
28257         [BZ #13922]
28258         [BZ #14036]
28259         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28260         (__ieee754_expl): Allow for and saturate large arguments.
28261         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28262         (u_threshold): Likewise.
28263         (__exp): Call __ieee754_exp before checking for overflow and
28264         underflow.
28265         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28266         (u_threshold): Likewise.
28267         (__expf): Call __ieee754_expf before checking for overflow and
28268         underflow.
28269         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28270         (u_threshold): Likewise.
28271         (__expl): Call __ieee754_expl before checking for overflow and
28272         underflow.
28273         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28274         (__ieee754_expl): Allow for and saturate large arguments.
28275         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28276         missing overflow exception on overflow.
28277         (expm1_test): Do not allow missing overflow exception on overflow.
28279         * sysdeps/i386/fpu/e_expl.c: Move to ...
28280         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28281         rather than using inline asm.
28282         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28283         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28284         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28286         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28287         (nice): Likewise.
28288         (poll): Likewise.
28289         (signal): Likewise.
28290         (time): Likewise.
28291         (times): Likewise.
28293 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28295         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28296         sysdeps/unix/common/syscalls.list.
28297         (fchmod): Likewise.
28298         (fchown): Likewise.
28299         (ftruncate): Likewise.
28300         (getrusage): Likewise.
28301         (gettimeofday): Likewise.
28302         (setpgid): Likewise.
28303         (setregid): Likewise.
28304         (setreuid): Likewise.
28305         (sigaction): Likewise.
28306         (truncate): Likewise.
28307         (vhangup): Likewise.
28308         * sysdeps/unix/common/syscalls.list: Remove file.
28309         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28310         * sysdeps/unix/sysv/linux/Implies: Likewise.
28312 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28314         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28316         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28317         Moved to ...
28318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28319         Here.
28320         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28321         to ...
28322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28323         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28324         to ...
28325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28326         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28327         to ...
28328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28329         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28330         to ...
28331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28332         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28333         to ...
28334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28335         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28336         to ...
28337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28338         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28339         to ...
28340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28341         Here.
28342         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28343         to ...
28344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28345         Here.
28346         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28347         to ...
28348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28349         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28350         Moved to ...
28351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28352         Here.
28353         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28354         to ...
28355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28357 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28359         * sysdeps/unix/common/bits/dirent.h: Remove file.
28360         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28362         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28363         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28364         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28365         * sysdeps/unix/bsd/isatty.c: Likewise.
28366         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28367         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28368         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28370 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28372         [BZ #13563]
28373         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28374         long double comparison inaccuracies.
28375         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28378 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
28380         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28383 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28385         [BZ #14049]
28386         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28387         nonzero digits before rounding a hex value.
28388         * stdlib/tst-strtod.c (tests): Add another test.
28390 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28392         * sysdeps/s390/fpu/libm-test-ulps: Update.
28394 2012-05-03  Andreas Jaeger  <aj@suse.de>
28396         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28397         does not get optimized out.
28398         (malloc_opt_barrier): New.
28400 2012-05-03  Andreas Jaeger  <aj@suse.de>
28401             Roland McGrath  <roland@hack.frob.com>
28403         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28404         intermediate file deletion.
28405         (generated): Add .symlist files.
28407 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
28409         [BZ #13775]
28410         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28411         Redirect under this condition.
28412         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28413         [__USE_GNU] (__dprintf_chk): Not under this condition.
28414         [__USE_GNU] (__vdprintf_chk): Likewise.
28415         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28416         under this condition.
28417         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28418         [__USE_XOPEN2K8] (dprintf): Define under this condition.
28419         [__USE_XOPEN2K8] (vdprintf): Likewise.
28420         [__USE_GNU] (__dprintf_chk): Not under this condition.
28421         [__USE_GNU] (__vdprintf_chk): Likewise.
28422         [__USE_GNU] (dprintf): Likewise.
28423         [__USE_GNU] (vdprintf): Likewise.
28425 2012-05-03  Roland McGrath  <roland@hack.frob.com>
28427         * elf/Makefile (common-generated): Set this instead of generated for
28428         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
28429         $(all-built-dso)-derived lists.
28431 2012-05-03  Andreas Jaeger  <aj@suse.de>
28433         * sysdeps/i386/fpu/libm-test-ulps: Update.
28435         * FAQ: Removed.
28436         * FAQ.in: Likewise.
28437         * scripts/gen-FAQ.pl: Likewise.
28438         * manual/install.texi (Installation): Point to online location of
28439         FAQ.
28440         * Makefile (files-for-dist): Remove FAQ.
28441         (FAQ): Remove.
28443 2012-05-02  Allan McRae  <allan@archlinux.org>
28445         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28446         (LDFLAGS-reldepmod5.so): Likewise.
28447         (LDFLAGS-reldep6mod1.so): Likewise.
28448         (LDFLAGS-reldep6mod4.so): Likewise.
28449         (LDFLAGS-reldep8mod3.so): Likewise.
28450         (LDFLAGS-unload4mod1.so): Likewise.
28451         (LDFLAGS-unload4mod2.so): Likewise.
28452         (LDFLAGS-tst-initorder): Likewise.
28453         (LDFLAGS-tst-initordera2.so): Likewise.
28454         (LDFLAGS-tst-initordera3.so): Likewise.
28455         (LDFLAGS-tst-initordera4.so): Likewise.
28456         (LDFLAGS-tst-initorderb2.so): Likewise.
28457         (LDFLAGS-noload): Likewise.
28458         (LDFLAGS-next): Likewise.
28459         (LDFLAGS-order2mod1.so): Likewise.
28460         (LDFLAGS-order2mod2.so): Likewise.
28461         (LDFLAGS-tst-initorder2): Likewise.
28462         (LDFLAGS-tst-initorder2a.so): Likewise.
28463         (LDFLAGS-tst-initorder2b.so): Likewise.
28464         (LDFLAGS-tst-initorder2c.so): Likewise.
28465         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
28467 2012-05-02  David S. Miller  <davem@davemloft.net>
28469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28471 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28473         [BZ #14055]
28474         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
28476 2012-05-02  Andreas Jaeger  <aj@suse.de>
28478         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
28479         since we manipulate rounding mode.
28480         (CPPFLAGS-test-idouble.c): Likewise.
28481         (CPPFLAGS-test-ifloat.c): Likewise.
28482         (CFLAGS-test-ldouble.c): Likewise.
28483         (CFLAGS-test-double.c): Likewise.
28484         (CFLAGS-test-float.c): Likewise.
28485         (CFLAGS-test-misc.c): Likewise.
28486         (CFLAGS-test-test-fenv.c): Likewise.
28488 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28490         [BZ #2550]
28491         [BZ #2570]
28492         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
28493         comparisons to determine direction to adjust input.
28495 2012-05-01  Roland McGrath  <roland@hack.frob.com>
28497         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
28498         output to the target.
28500         * scripts/localplt.awk: New file.
28501         * elf/Makefile ($(objpfx)check-localplt): Target removed.
28502         (check-localplt-CFLAGS): Variable removed.
28503         ($(all-built-dso:=.jmprel)): New static pattern rule.
28504         (generated): Add those targets.
28505         (localplt-built-dso): New variable.
28506         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
28508         * elf/check-localplt.c: File removed.
28510         * scripts/check-execstack.awk: New file.
28511         * elf/Makefile ($(objpfx)check-execstack): Target removed.
28512         (check-execstack-CFLAGS): Variable removed.
28513         ($(objpfx)check-execstack.h): Target removed.
28514         ($(objpfx)execstack-default): New target.
28515         (generated): Add that instead of check-execstack.h.
28516         ($(all-built-dso:=.phdr)): New static pattern rule.
28517         (generated): Add those targets.
28518         * elf/check-execstack.c: File removed.
28520         * scripts/check-textrel.awk: New file.
28521         * elf/Makefile ($(objpfx)check-textrel): Target removed.
28522         (check-textrel-CFLAGS): Variable removed.
28523         (all-built-dso): Use := to define.o
28524         ($(all-built-dso:=.dyn)): New static pattern rule.
28525         (generated): Add those targets.
28526         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
28527         * config.make.in (READELF): New substituted variable.
28528         * elf/check-textrel.c: File removed.
28530 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28532         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28533         allow.
28534         * conform/data/ctype.h-data [C99-based standards] (isblank):
28535         Expect function.
28536         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
28537         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
28538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28539         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
28540         Specify type.  Require positive value.
28541         (EILSEQ): Likewise.
28542         (ERANGE): Likewise.
28543         [ISO || POSIX] (EILSEQ): Do not expect.
28544         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
28545         Specify type.  Require positive value.
28546         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
28547         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
28548         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
28549         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
28550         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
28551         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
28552         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
28553         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
28554         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
28555         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
28556         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28557         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
28558         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
28559         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
28560         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
28561         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
28562         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
28563         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
28564         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
28565         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
28566         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
28567         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
28568         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
28569         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
28570         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
28571         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
28572         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
28573         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
28574         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
28575         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
28576         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
28577         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
28578         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
28579         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
28580         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
28581         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
28582         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
28583         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
28584         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
28585         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
28586         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
28587         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
28588         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
28589         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
28590         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
28591         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
28592         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
28593         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
28594         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
28595         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
28596         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
28597         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
28598         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
28599         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
28600         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
28601         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
28602         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
28603         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
28604         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
28605         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
28606         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
28607         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
28608         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
28609         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
28610         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
28611         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
28612         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
28613         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
28614         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
28615         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
28616         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
28617         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
28618         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
28619         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
28620         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
28621         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
28622         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
28623         Require >= 2.
28624         (FLT_ROUNDS): Expect as macro, not constant.
28625         (FLT_MANT_DIG): Use macro-int-constant.
28626         (DBL_MANT_DIG): Likewise.
28627         (LDBL_MANT_DIG): Likewise.
28628         (FLT_DIG): Likewise.
28629         (DBL_DIG): Likewise.
28630         (LDBL_DIG): Likewise.
28631         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
28632         (DBL_MIN_EXP): Likewise.
28633         (LDBL_MIN_EXP): Likewise.
28634         (FLT_MAX_EXP): Use macro-int-constant.
28635         (DBL_MAX_EXP): Likewise.
28636         (LDBL_MAX_EXP): Likewise.
28637         (FLT_MAX_10_EXP): Likewise.
28638         (DBL_MAX_10_EXP): Likewise.
28639         (LDBL_MAX_10_EXP): Likewise.
28640         (FLT_MAX): Use macro-constant.
28641         (DBL_MAX): Likewise.
28642         (LDBL_MAX): Likewise.
28643         (FLT_EPSILON): Use macro-constant.  Give upper bound.
28644         (DBL_EPSILON): Likewise.
28645         (LDBL_EPSILON): Likewise.
28646         (FLT_MIN): Likewise.
28647         (DBL_MIN): Likewise.
28648         (LDBL_MIN): Likewise.
28649         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
28650         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
28651         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
28652         [ISO11] (FLT_HAS_SUBNORM): Likewise.
28653         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
28654         [ISO11] (DBL_DECIMAL_DIG): Likewise.
28655         [ISO11] (FLT_DECIMAL_DIG): Likewise.
28656         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
28657         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
28658         [ISO11] (FLT_TRUE_MIN): Likewise.
28659         [ISO11] (LDBL_TRUE_MIN): Likewise.
28660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28661         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
28662         (SCHAR_MIN): Use macro-int-constant.  Specify type.
28663         (SCHAR_MAX): Likewise.
28664         (UCHAR_MAX): Likewise.
28665         (CHAR_MIN): Likewise.
28666         (CHAR_MAX): Likewise.
28667         (MB_LEN_MAX): Use macro-int-constant.
28668         (SHRT_MIN): Use macro-int-constant.  Specify type.
28669         (SHRT_MAX): Likewise.
28670         (USHRT_MAX): Likewise.
28671         (INT_MAX): Likewise.
28672         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
28673         bound negative.
28674         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28675         bound with "U".
28676         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28677         bound with "L".
28678         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
28679         bound negative.  Suffix upper bound with "L".
28680         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28681         bound with "UL".
28682         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
28683         Specify type.
28684         [C99-based standards] (LLONG_MAX): Likewise.
28685         [C99-based standards] (ULLONG_MAX): Likewise.
28686         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
28687         == 0.
28688         [ISO11] (max_align_t): Require type.
28689         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28691         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
28692         from $CFLAGS, without defining away __attribute__ calls.
28693         (checknamespace): Use $CFLAGS_namespace.
28695         * conform/conformtest.pl (@keywords): Only include C99 keywords
28696         for standards based on C99 or C11.
28698         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28699         Disable tests.
28700         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28701         UNIX98]: Likewise.
28703         * conform/conformtest.pl: Handle "macro-int-constant" and test for
28704         usability of symbols in #if.
28706         * conform/conformtest.pl: If macro or constant types start
28707         "promoted:", expect the symbol to be of the following type
28708         promoted by the integer promotions.
28710         * conform/conformtest.pl: Parse all "constant" and "macro" lines
28711         in one place.  Also handle "macro-constant".
28713         * conform/conformtest.pl: Only accept expected macro values with
28714         "==".  Parse all "macro" lines in one place.
28715         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28717         * conform/conformtest.pl: Handle braced types on "constant" lines
28718         instead of handling "typed-constant".
28719         * conform/data/signal.h-data: Use "constant" instead of
28720         "typed-constant".
28722         * conform/conformtest.pl: Handle "optional-" at start of lines in
28723         one place rather than duplicating several cases.  Handle each
28724         format of "macro" line with initial "optional-".
28726         * conform/conformtest.pl: Only accept expected constant or
28727         optional-constant values with "==".  Parse all "constant" lines in
28728         one place.  Parse all "optional-constant" lines in one place.
28729         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28730         * conform/data/fmtmsg.h-data: Likewise.
28731         * conform/data/netinet/in.h-data: Likewise.
28732         * conform/data/tar.h-data: Likewise.
28733         * conform/data/limits.h-data: Use "==" form on "constant" and
28734         "optional-constant" lines.
28736         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28737         Use -std=c99 for XOPEN2K.
28738         (@knownproblems): Remove.
28739         (newtoken): Don't check %isknown.
28741         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28742         Do not expect macro.
28743         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28744         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28745         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28746         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28747         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28748         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28749         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28750         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28751         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28752         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28753         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28754         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28755         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28756         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28757         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28758         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28759         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28760         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28761         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28762         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28763         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28764         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28765         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28766         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28767         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28768         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28769         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28770         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28771         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28772         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28773         [XPG3] (acosh): Likewise.
28774         [XPG3] (asinh): Likewise.
28775         [XPG3] (atanh): Likewise.
28776         [XPG3] (cbrt): Likewise.
28777         [XPG3] (expm1): Likewise.
28778         [XPG3] (ilogb): Likewise.
28779         [XPG3] (log1p): Likewise.
28780         [XPG3] (logb): Likewise.
28781         [XPG3] (nextafter): Likewise.
28782         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28783         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28784         [XPG3] (remainder): Likewise.
28785         [XPG3] (rint): Likewise.
28786         [XPG3 || XPG4 || UNIX98] (round): Likewise.
28787         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28788         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28789         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28790         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28791         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28792         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28793         [UNIX98 || XOPEN2K] (scalb): Expect.
28794         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28795         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28796         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28797         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28798         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28799         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28800         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28801         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28802         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28803         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28804         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28805         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28806         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28807         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28808         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28809         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28810         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28811         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28812         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28813         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28814         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28815         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28816         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28817         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28818         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28819         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28820         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28821         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28822         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28823         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28824         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28825         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28826         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28827         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28828         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28829         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28830         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28831         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28832         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28833         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28834         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28835         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28836         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28837         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28838         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28839         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28840         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28841         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28842         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28843         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28844         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28845         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28846         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28847         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28848         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28849         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28850         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28851         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28852         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28853         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28854         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28855         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28856         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28857         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28858         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28859         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28860         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28861         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28862         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28863         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28864         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28865         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28866         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28867         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28868         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28869         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28870         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28871         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28872         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28873         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28874         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28875         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28876         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28877         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28878         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28879         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28880         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28881         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28882         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28883         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28884         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28885         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28886         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28887         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28888         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28889         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28890         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28891         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28892         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28893         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28894         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28895         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28896         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28897         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28898         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28899         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28900         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28901         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28902         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28903         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28904         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28905         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28906         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28907         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28908         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28909         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28910         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28911         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28912         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28913         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28914         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28915         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28916         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28917         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28918         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28919         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28920         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28921         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28922         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28923         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28924         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28925         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28926         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28927         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28928         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28929         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28930         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28932         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28933         _XOPEN_SOURCE_EXTENDED for XPG4.
28935         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28937         * Makeconfig (localtime): Remove variable.
28938         (inst_localtime-file): Likewise.
28940 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28943         Update.
28944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28945         Update.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28947         Update.
28948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28949         Update.
28950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28951         Update.
28952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28953         Update.
28954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28955         Update.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28957         Update.
28958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28959         Update.
28961 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28963         [BZ #2550]
28964         [BZ #2570]
28965         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28966         comparisons to determine direction to adjust input.
28967         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28968         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28970         Likewise.
28971         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28972         Likewise.
28973         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28974         Likewise.
28975         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28977         Likewise.
28978         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28979         Likewise.
28980         * math/libm-test.inc (nexttoward_test): Add more tests.
28982 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28984         [BZ #14040]
28985         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28986         in version GLIBC_2.1, not GLIBC_2.0.
28987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28988         Likewise.
28990 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
28992         [BZ #13942]
28993         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28994         (1 - x) * (1 + x).
28995         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28996         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28997         * math/libm-test.inc (acos_test): Add more tests.
28998         (asin_test): Likewise.
28999         * sysdeps/i386/fpu/libm-test-ulps: Update.
29000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29002         [BZ #14034]
29003         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29004         of square root.
29005         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29006         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29007         * math/libm-test.inc (acos_test_tonearest): New function.
29008         (acos_test_towardzero): Likewise.
29009         (acos_test_downward): Likewise.
29010         (acos_test_upward): Likewise.
29011         (asin_test_tonearest): Likewise.
29012         (asin_test_towardzero): Likewise.
29013         (asin_test_downward): Likewise.
29014         (asin_test_upward): Likewise.
29015         (main): Call the new functions.
29016         * sysdeps/i386/fpu/libm-test-ulps: Update.
29017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29019         [BZ #13884]
29020         [BZ #13924]
29021         * math/e_exp10.c: Include <float.h>.
29022         (__ieee754_exp10): Handle underflow here rather than multiplying
29023         large negative argument by M_LN10.
29024         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29025         of __ieee754_expf.
29026         * math/e_exp10l.c: Include <float.h>.
29027         (__ieee754_exp10l): Handle underflow here rather than multiplying
29028         large negative argument by M_LN10l.
29029         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29030         spurious overflow exception on underflow.
29032 2012-04-29  Marek Polacek  <polacek@redhat.com>
29034         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29035         (__fortify_function): New macro.
29036         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29037         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29038         __extern_always_inline.
29039         * libio/bits/stdio2.h: Likewise.
29040         * libio/bits/stdio.h: Likewise.
29041         * string/string.h: Likewise.
29042         * string/bits/string3.h: Likewise.
29043         * include/stdio.h: Likewise.
29044         * stdlib/bits/stdlib.h: Likewise.
29045         * stdlib/stdlib.h: Likewise.
29046         * rt/bits/mqueue2.h: Likewise.
29047         * rt/mqueue.h: Likewise.
29048         * posix/bits/unistd.h: Likewise.
29049         * posix/unistd.h: Likewise.
29050         * io/bits/poll2.h: Likewise.
29051         * io/bits/fcntl2.h: Likewise.
29052         * io/fcntl.h: Likewise.
29053         * io/sys/poll.h: Likewise.
29054         * misc/bits/syslog.h: Likewise.
29055         * misc/bits/syslog-ldbl.h: Likewise.
29056         * misc/sys/syslog.h: Likewise.
29057         * socket/bits/socket2.h: Likewise.
29058         * socket/sys/socket.h: Likewise.
29059         * debug/tst-chk1.c: Likewise.
29060         * wcsmbs/bits/wchar2.h: Likewise.
29061         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29062         * wcsmbs/wchar.h: Likewise.
29064 2012-04-29  Andreas Jaeger  <aj@suse.de>
29066         * Makerules (tests): Remove enable-check-abi protection.
29067         (check-abi-warn): Remove.
29068         (check-abi-%): Remove check-abi-warn usage.
29070         * configure.in: Remove check-abi configure option.
29071         * configure: Regenerated.
29072         * config.make.in (enable-check-abi): Remove.
29074 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29076         [BZ #14033]
29077         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29078         double functions to double *_finite functions.
29080         [BZ #13941]
29081         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29082         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29083         LDBL_MIN_EXP.
29084         * stdio-common/Makefile (tests): Add tst-sprintf3.
29085         * stdio-common/tst-sprintf3.c: New file.
29087         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29088         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29090 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29092         * conform/conformtest.pl: Remove duplicate typed-constant
29093         handling.
29095 2012-04-28  David S. Miller  <davem@davemloft.net>
29097         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29098         (check-abi-%): Remove AWK script prerequisite and explicit
29099         abilist directory.
29100         (check-abi): Rewrite to just diff the symlist with the abilist.
29101         (config-tls, config-abi-config): Delete, no longer used.
29102         (update-abi-%): Remove AWK script and explicit abilist directory.
29103         (update-abi): Rewrite to simply compare and conditionally copy the
29104         symlist and the sysdep abilist file.  Remove update-abi-config
29105         checks.
29106         * abilist/ld.abilist: Remove.
29107         * abilist/libBrokenLocale.abilist: Remove.
29108         * abilist/libanl.abilist: Remove.
29109         * abilist/libcrypt.abilist: Remove.
29110         * abilist/libdl.abilist: Remove.
29111         * abilist/librt.abilist: Remove.
29112         * abilist/libthread_db.abilist: Remove.
29113         * abilist/libutil.abilist: Remove.
29114         * scripts/extract-abilist.awk: Remove.
29115         * scripts/merge-abilist.awk: Remove.
29116         * sysdeps/generic/libcidn.abilist: New file.
29117         * sysdeps/generic/libnss_compat.abilist: New file.
29118         * sysdeps/generic/libnss_db.abilist: New file.
29119         * sysdeps/generic/libnss_dns.abilist: New file.
29120         * sysdeps/generic/libnss_files.abilist: New file.
29121         * sysdeps/generic/libnss_hesiod.abilist: New file.
29122         * sysdeps/generic/libnss_nis.abilist: New file.
29123         * sysdeps/generic/libnss_nisplus.abilist: New file.
29124         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29125         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29126         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29127         file.
29128         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29129         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29130         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29131         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29132         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29133         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29134         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29135         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29136         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29137         file.
29138         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29139         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29140         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29141         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29142         file.
29143         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29144         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29145         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29146         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29147         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29148         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29149         file.
29150         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29151         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29152         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29153         file.
29154         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29156         New file.
29157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29158         New file.
29159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29160         New file.
29161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29162         New file.
29163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29164         New file.
29165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29166         New file.
29167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29168         New file.
29169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29170         New file.
29171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29172         New file.
29173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29174         New file.
29175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29176         New file.
29177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29178         New file.
29179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29180         New file.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29182         file.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29184         New file.
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29186         New file.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29188         file.
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29190         New file.
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29192         New file.
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29194         file.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29196         New file.
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29198         New file.
29199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29200         New file.
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29202         New file.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29204         New file.
29205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29206         New file.
29207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29209         file.
29210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29211         New file.
29212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29213         file.
29214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29215         file.
29216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29217         file.
29218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29219         file.
29220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29221         file.
29222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29223         New file.
29224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29225         file.
29226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29227         file.
29228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29229         New file.
29230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29231         file.
29232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29234         file.
29235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29236         New file.
29237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29238         file.
29239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29240         file.
29241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29242         file.
29243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29244         file.
29245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29246         file.
29247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29248         New file.
29249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29250         file.
29251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29252         file.
29253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29254         New file.
29255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29256         file.
29257         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29258         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29259         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29260         file.
29261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29262         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29263         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29264         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29265         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29266         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29267         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29268         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29269         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29270         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29273         file.
29274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29275         New file.
29276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29277         file.
29278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29279         file.
29280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29281         file.
29282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29283         file.
29284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29285         file.
29286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29287         New file.
29288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29289         New file.
29290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29291         file.
29292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29293         New file.
29294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29295         file.
29296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29298         file.
29299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29300         New file.
29301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29302         file.
29303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29304         file.
29305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29306         file.
29307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29308         file.
29309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29310         file.
29311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29312         New file.
29313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29314         New file.
29315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29316         file.
29317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29318         New file.
29319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29320         file.
29322 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29324         * conform/conformtest.pl: Fix typo in handling typed-constant from
29325         allow-header.
29327 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29329         * README: Cut down references to pre-2.6 Linux kernels and
29330         Linuxthreads.  Update lists of configurations in libc and ports
29331         and sort alphabetically.  Say "or newer" with Linux kernel version
29332         requirements.
29334         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29336 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29338         [BZ #887]
29339         * math/libm-test.inc (logb_test_downward): New test to expose
29340         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29341         rounding mode.
29343 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29345         [BZ #14027]
29346         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29347         to be done.
29348         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29349         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29351 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29353         * sysdeps/unix/i386/brk.S: Remove file.
29354         * sysdeps/unix/i386/dl-brk.S: Likewise.
29355         * sysdeps/unix/i386/pipe.S: Likewise.
29356         * sysdeps/unix/i386/sigreturn.S: Likewise.
29357         * sysdeps/unix/i386/syscall.S: Likewise.
29358         * sysdeps/unix/i386/vfork.S: Likewise.
29359         * sysdeps/unix/i386/wait.S: Likewise.
29361         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29362         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29364         * configure.in (arm*-none*): Do not allow without
29365         --enable-hacker-mode.
29366         (netbsd*): Remove case setting base_os.
29367         (386bsd*): Likewise.
29368         (freebsd*): Likewise.
29369         (bsdi*): Likewise.
29370         (osf*): Likewise.
29371         (sunos*): Likewise.
29372         (ultrix*): Likewise.
29373         (newsos*): Likewise.
29374         (dynix*): Likewise.
29375         (*bsd*): Likewise.
29376         (sysv*): Likewise.
29377         (isc*): Likewise.
29378         (esix*): Likewise.
29379         (sco*): Likewise.
29380         (minix*): Likewise.
29381         (irix4*): Likewise.
29382         (irix6*): Likewise.
29383         (solaris[2-9]*): Likewise.
29384         (none): Likewise.
29385         * configure: Regenerated.
29387 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29389         [BZ #11521]
29390         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29391         overflow or cancellation in calculating denominator.
29392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29394         down expression to avoid unexpected rounding in newer GCCs.
29395         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29397 2012-04-26  David S. Miller  <davem@davemloft.net>
29399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29400         long-double compat symbols.
29401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29415 2012-04-25  David S. Miller  <davem@davemloft.net>
29417         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29418         HWCAP_* values only after the memory barriers have been defined.
29419         (atomic_full_barrier): Define.
29420         (atomic_read_barrier): Define.
29421         (atomic_write_barrier): Define.
29423 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29425         * shlib-versions: Add libgcc_s version information.
29426         * sysdeps/generic/libgcc_s.h: Remove.
29427         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29428         libgcc_s.h.
29429         * sysdeps/gnu/unwind-resume.c: Likewise.
29430         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29432 2012-04-25  David S. Miller  <davem@davemloft.net>
29434         * sysdeps/unix/sparc/brk.S: Delete.
29435         * sysdeps/unix/sparc/dl-brk.S: Delete.
29436         * sysdeps/unix/sparc/pipe.S: Delete.
29437         * sysdeps/unix/sparc/sysdep.S: Delete.
29438         * sysdeps/unix/sparc/sysdep.h: Delete.
29439         * sysdeps/unix/sparc/vfork.S: Delete.
29440         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29441         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29442         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29443         ret_ERRVAL, r0, r1, MOVE): Define.
29444         (JUMPTARGET): Remove.
29445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29446         sysdeps/unix/sparc/sysdep.h
29447         (ENTRY, END): Remove.
29448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29450 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
29452         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29453         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29454         -DIS_IN_build.
29456         * timezone/README: Update upstream location and email address for
29457         tzcode and tzdata.
29458         * timezone/zdump.c: Update from tzcode 2012b.
29459         * timezone/zic.c: Likewise.
29461         * configure.in (libc_cv_as_needed): Remove test.
29462         * configure: Regenerated.
29463         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29464         conditional definition.
29465         [$(have-as-needed) != yes] (no-as-needed): Likewise.
29466         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
29467         * config.make.in (have-as-needed): Remove variable.
29469 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29470             Paul Pluzhnikov  <ppluzhnikov@google.com>
29472         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
29473         strings correctly.
29475 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
29477         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
29478         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
29479         * sysdeps/sh/strlen.S: Likewise.
29481 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29483         * sysdeps/unix/fork.S: Remove file.
29484         * sysdeps/unix/i386/fork.S: Likewise.
29485         * sysdeps/unix/sparc/fork.S: Likewise.
29487         * sysdeps/unix/system.c: Remove file.
29488         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
29490         * sysdeps/unix/getegid.S: Remove file.
29491         * sysdeps/unix/geteuid.S: Likewise.
29493 2012-04-24  Roland McGrath  <roland@hack.frob.com>
29495         * scripts/check-localplt.awk: New file.
29496         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
29497         of diff.
29498         * scripts/data/localplt-generic.data: Add a comment.
29500         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
29501         NODE when __dir_mkfile failed.
29502         * sysdeps/mach/hurd/symlinkat.c: Likewise.
29503         Reported by Ludovic Courtès <ludo@gnu.org>.
29505 2012-04-24  Andreas Jaeger  <aj@suse.de>
29507         * Makerules (common-clean): Also remove gen-as-const-headers
29508         files.
29510 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29512         * Makerules (native-compile): Do not change working directory for
29513         build.  Use $(OUTPUT_OPTION) in command.
29514         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29516 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29518         [BZ #13886]
29519         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
29520         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29521         * math/libm-test.inc (floor_test): Add more tests.
29522         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
29524 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29526         * sysdeps/unix/getdents.c: Remove file.
29527         * sysdeps/unix/sysv/getdents.c: Likewise.
29528         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
29530         * sysdeps/unix/syscalls.list (madvise): Add syscall from
29531         sysdeps/unix/mman/syscalls.list.
29532         (mmap): Likewise.
29533         (mprotect): Likewise.
29534         (msync): Likewise.
29535         (munmap): Likewise.
29536         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
29537         * sysdeps/unix/mman/syscalls.list: Remove.
29538         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
29540         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
29541         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
29542         * configure: Regenerated.
29543         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29544         $(libgcc_s_suffix).
29545         * config.make.in (libgcc_s_suffix): Remove variable.
29547 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
29549         * sysdeps/unix/sysv/gethostname.c: Move to ...
29550         * sysdeps/posix/gethostname.c: ... here.
29552         * sysdeps/unix/execve.S: Remove file.
29554         * sysdeps/unix/_exit.S: Remove file.
29556 2012-04-23  Andreas Jaeger  <aj@suse.de>
29558         [BZ #13739]
29559         * manual/Makefile: Remove make dist support, there's no
29560         need for a stand-alone documentation tar ball.
29561         (TEXI2DVI): Define always, it's not in Makeconfig.
29562         (dist): Removed.
29563         (tar-it): Removed.
29564         (edition): Removed.
29565         (glibc-doc-$(edition).tar): Removed
29566         (%.Z): Removed.
29567         (%.gz): Removed.
29568         (%.uu): Removed.
29569         (ETAGS): Remove, it's in Makeconfig.
29570         (move-if-change): Remove, it's in Makeconfig.
29572 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
29574         [BZ #13970]
29575         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
29576         (strtod, strtof, strtold, strtol, strtoul, strtoq)
29577         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
29578         (strtod_l, strtof_l, strtold_l): Remove __wur.
29579         It is not necessarily an error to ignore strtol's return value.
29580         One can reliably look at the stored endptr to decide whether
29581         the number had valid syntax.
29583 2012-04-21  Andreas Jaeger  <aj@suse.de>
29585         [BZ #13739]
29586         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
29588 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
29590         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
29591         * sysdeps/unix/sysv/Versions: Remove file.
29593 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
29595         [BZ #13927]
29596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29598 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
29600         [BZ #7064]
29601         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
29602         version from __vm86.
29604 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
29606         * sysdeps/unix/common/lxstat.c: Remove file.
29607         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
29609         * sysdeps/unix/sysv/Makefile: Remove file.
29611         * sysdeps/unix/sysv/direct.h: Remove file.
29613         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
29614         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
29615         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
29616         * sysdeps/unix/sysv/bits/signum.h: Likewise.
29617         * sysdeps/unix/sysv/bits/stat.h: Likewise.
29618         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
29619         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
29621         * sysdeps/unix/sysv/setrlimit.c: Remove file.
29623         * sysdeps/unix/xmknod.c: Remove file.
29624         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
29626         * sysdeps/unix/sysv/settimeofday.c: Remove file.
29628         * sysdeps/unix/sysv/i386/time.S: Remove file.
29630         * sysdeps/unix/fxstat.c: Remove file.
29631         * sysdeps/unix/xstat.c: Likewise.
29632         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
29634         * sysdeps/unix/sysv/sigaction.c: Remove file.
29636         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
29637         (sysdep_headers): Remove variable.
29638         [termio.h not in sysdep_headers] (generated): Likewise.
29639         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
29640         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
29641         * sysdeps/unix/sysv/tcdrain.c: Likewise.
29642         * sysdeps/unix/sysv/tcflow.c: Likewise.
29643         * sysdeps/unix/sysv/tcflush.c: Likewise.
29644         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
29645         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
29646         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
29647         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
29648         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
29650         * sysdeps/unix/siglist.c: Remove file.
29652         * sysdeps/unix/getppid.S: Remove file.
29654         * sysdeps/unix/mkdir.c: Remove file.
29655         * sysdeps/unix/rmdir.c: Likewise.
29657 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
29659         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
29660         ERR_MAX value.
29661         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
29662         errlist-compat value.
29664 2012-04-18  David S. Miller  <davem@davemloft.net>
29666         * sysdeps/generic/memcopy.h (reg_char): Delete.
29667         * debug/strcat_chk.c: Use char, not reg_char.
29668         * debug/strcpy_chk.c: Likewise.
29669         * debug/strncat_chk.c: Likewise.
29670         * debug/strncpy_chk.c: Likewise.
29671         * string/memchr.c: Likewise.
29672         * string/memrchr.c: Likewise.
29673         * string/rawmemchr.c: Likewise.
29674         * string/strcat.c: Likewise.
29675         * string/strchr.c: Likewise.
29676         * string/strchrnul.c: Likewise.
29677         * string/strcmp.c: Likewise.
29678         * string/strcpy.c: Likewise.
29679         * string/strncat.c: Likewise.
29680         * string/strncmp.c: Likewise.
29681         * string/strncpy.c: Likewise.
29683 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29685         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
29686         __builtin_memcopy is called when src and dest ranges are known to not
29687         overlap.
29689 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29691         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29692         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
29693         fwd_align_merge macro call.
29694         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
29695         bwd_align_merge macro call.
29696         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29698 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29700         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29701         bwd_align_merge macros.
29702         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29703         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29704         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29706 2012-04-18  David S. Miller  <davem@davemloft.net>
29708         * sysdeps/sparc/sparc64/memcopy.h: Delete.
29710 2012-04-18  Andreas Jaeger  <aj@suse.de>
29712         [BZ# 6794]
29713         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29714         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29715         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29717         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29718         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29721         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29722         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29723         Adjust for changed ldbl-128 files.
29725         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29726         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29727         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29729 2012-04-17  David S. Miller  <davem@davemloft.net>
29731         * sysdeps/sparc/sparc32/memcopy.h: Delete.
29733 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
29735         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29736         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29737         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29738         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29739         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29740         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29742 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29744         [BZ #6794]
29745         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29746         * math/libm-test.inc: Add ilogb errno and exception tests.
29747         * math/w_ilogb.c: New file: ilogb wrapper.
29748         * math/w_ilogbf.c: New file: ilogbf wrapper.
29749         * math/w_ilogbl.c: New file: ilogbl wrapper.
29750         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29751         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29752         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29753         exception being thrown with 0.0 as argument.
29754         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29755         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29756         exception being thrown with 0.0 as argument.
29757         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29758         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29759         exception being thrown with 0.0 as argument.
29760         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29761         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29762         exception being thrown with 0.0 as argument.
29763         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29764         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29766         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29767         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29768         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29769         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29770         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29771         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29773 2012-04-17  Petr Baudis  <pasky@ucw.cz>
29775         * include/sys/uio.h: Change __vector to __iovec to avoid clash
29776         with altivec.
29778 2012-04-16  Marek Polacek  <polacek@redhat.com>
29780         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29782 2012-04-16  Marek Polacek  <polacek@redhat.com>
29784         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29785         operands of fdivp instruction.
29787 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29789         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29790         * elf/tst-auditmod3b.c: Likewise.
29791         * elf/tst-auditmod4b.c: Likewise.
29792         * elf/tst-auditmod5b.c: Likewise.
29793         * elf/tst-auditmod6b.c: Likewise.
29794         * elf/tst-auditmod6c.c: Likewise.
29795         * elf/tst-auditmod7b.c: Likewise.
29796         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29797         * sysdeps/x86_64/preconfigure.in: Likewise.
29798         * sysdeps/x86_64/preconfigure: Regenerated.
29800 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29802         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29803         __ILP32__.
29805 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
29807         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29808         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29810 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
29812         [BZ #13973]
29813         * locale/iso-639.def: Fix gl language name. Spotted by
29814         Yaron Shahrabani.
29816 2012-04-12  Roland McGrath  <roland@hack.frob.com>
29818         [BZ #2074]
29819         * libio/libio.h (__io_write_fn): Update comment.
29821 2012-04-12  Petr Baudis  <pasky@ucw.cz>
29823         [BZ #2074]
29824         * stdio.texi (Hook Functions): The user provided writer function
29825         is not allowed to return -1.
29827 2012-04-11  David S. Miller  <davem@davemloft.net>
29829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29831 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
29833         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29834         Add a leading slash to rtkaio.
29836 2012-04-11  Jim Meyering  <meyering@redhat.com>
29838         [BZ #11959]
29839         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29840         It is not necessarily an error to ignore fwrite's return
29841         value.  One can reliably use ferror to test for errors after
29842         the fact.
29844 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29846         * bits/types.h (__snseconds_t): New type.
29847         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29849         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29851         (__SNSECONDS_T_TYPE): Likewise.
29852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29853         (__SNSECONDS_T_TYPE): Likewise.
29854         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29855         (__SNSECONDS_T_TYPE): Likewise.
29857 2012-04-10  Andreas Jaeger  <aj@suse.de>
29859         [BZ #2636]
29860         * manual/time.texi (Processor Time): Return type of times is
29861         elapsed real time since an arbitrary point in the past.
29862         (CPU Time): Move CLK_TCK from here...
29863         (Processor Time): ...to here.  Correct description.
29864         * manual/conf.texi (Constants for Sysconf): Correct description of
29865         _SC_CLK_TCK.
29867 2012-04-10  David S. Miller  <davem@davemloft.net>
29869         [BZ #13967]
29870         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29871         where the is a gap between DT_REL(A) and DT_JMPREL.
29873 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29875         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29876         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29877         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29879 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29881         * elf/dl-support.c (_dl_inhibit_cache): New variable.
29882         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29883         (dl_main): Handle --inhibit-cache.
29884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29885         _dl_inhibit_cache.
29886         * elf/dl-load.c (_dl_map_object): Use it.
29887         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29889 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29891         [BZ #13872]
29892         * sysdeps/i386/fpu/e_powl.S (p78): New object.
29893         (__ieee754_powl): Saturate large exponents rather than testing for
29894         overflow of y*log2(x).
29895         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29896         * math/libm-test.inc (pow_test): Do not permit spurious overflow
29897         exceptions.
29899         [BZ #11521]
29900         * math/s_ctan.c: Include <float.h>.
29901         (__ctan): Avoid internal overflow or cancellation in calculating
29902         denominator.
29903         * math/s_ctanf.c: Likewise.
29904         * math/s_ctanl.c: Likewise.
29905         * math/s_ctanh.c: Likewise.
29906         * math/s_ctanhf.c: Likewise.
29907         * math/s_ctanhl.c: Likewise.
29908         * math/libm-test.inc (ctan_test): Add more tests.
29909         (ctanh_test): Likewise.
29910         * sysdeps/i386/fpu/libm-test-ulps: Update.
29911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29913 2012-04-09  Andreas Jaeger  <aj@suse.de>
29915         [BZ #6894]
29916         * manual/filesys.texi (Directory Entries): Mention that d_namlen
29917         is an optional BSD extension.
29919         [BZ #10254]
29920         * manual/stdio.texi (Opening Streams): Document additional fopen
29921         parameters.
29923 2012-04-09  Roland McGrath  <roland@hack.frob.com>
29925         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29926         %eax without telling the compiler.
29928 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
29930         [BZ # 13963]
29931         * manual/install.texi: Use sourceware.org.
29933 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29935         [BZ #13873]
29936         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29937         (__ieee754_pow): Generate overflow and underflow using huge*huge
29938         and tiny*tiny rather than just returning constant infinity or zero
29939         for large exponents.
29940         * math/libm-test.inc (pow_test): Require overflow exceptions for
29941         applicable cases of large exponents.
29943         [BZ #706]
29944         * sysdeps/i386/fpu/e_pow.S (p10): New object.
29945         (__ieee754_pow): Use iterative multiplication algorithm only for
29946         integer exponents with absolute value below 1024.  Check for odd
29947         integer exponents when using algorithm for real exponents.
29948         * math/libm-test.inc (pow_test): Add more tests.
29949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29951 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
29953         [BZ #13705]
29954         * math/libm-test.inc (exp_test): Do not allow overflow exception
29955         on underflow test.
29957 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
29959         [BZ #13705]
29960         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29961         instead of __kernel_standard_f.
29963 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
29965         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29966         * sysdeps/x86_64/memset_chk.S: Likewise.
29968 2012-04-08  Andreas Jaeger  <aj@suse.de>
29970         [BZ #10153]
29971         * manual/startup.texi (Environment Access): Describe return value
29972         for putenv and setenv.
29974         [BZ #6895]
29975         * manual/filesys.texi (Directory Entries): Add description for
29976         DT_LNK.
29978         [BZ #6890]
29979         * manual/filesys.texi (Directory Entries): Clarify that it's file
29980         system not operating system in the description of DT_UNKNOWN.
29982         [BZ #6578]
29983         * manual/syslog.texi (closelog): Fix reference, it's openlog.
29985 2012-04-08  Stephen Compall  <s11@member.fsf.org>
29987         [BZ #6649]
29988         * manual/llio.texi (Opening and Closing Files): Add cross
29989         reference to explain mode argument.
29991 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
29993         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29994         * sysdeps/x86_64/memset_chk.S: Likewise.
29996 2012-04-07  David S. Miller  <davem@davemloft.net>
29998         * elf/elf.h (R_SPARC_WDISP10): Define.
29999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30000         R_SPARC_SIZE32.
30001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30002         R_SPARC_SIZE64 and R_SPARC_H34.
30004 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30006         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30007         conditions and remove no longer applicable assertion.
30009 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30011         * bits/byteswap.h: Include <features.h>.
30012         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30013         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30015 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30017         * bits/byteswap.h (__bswap_16): Removed.
30018         Include <bits/byteswap-16.h> to get __bswap_16.
30019         * sysdeps/i386/bits/byteswap.h: Likewise.
30020         * sysdeps/s390/bits/byteswap.h: Likewise.
30021         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30022         * bits/byteswap-16.h: New file.
30023         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30024         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30025         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30026         * string/Makefile (headers): Add bits/byteswap-16.h.
30028 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30030         [BZ #13895]
30031         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30032         extra indirection.
30033         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30034         * nss/tst-nss-static.c: New.
30036 2012-04-06  Robert Millan  <rmh@gnu.org>
30038         [BZ #6486]
30039         * manual/llio.texi (File Position Primitive): lseek
30040         refers to WHENCE when it really means OFFSET.
30042 2012-04-06  Andreas Jaeger  <aj@suse.de>
30044         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30045         strncmp declarations.
30047         * abilist/libc.abilist: Add __poll and __ppoll.
30049 2012-04-05  David S. Miller  <davem@davemloft.net>
30051         * scripts/check-local-headers.sh: Accept a host triplet in the
30052         path matched by the exclude regexp.
30054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30055         definition.
30056         * sysdeps/powerpc/powerpc32/dl-machine.h
30057         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30058         * sysdeps/s390/s390-32/dl-machine.h
30059         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30060         * sysdeps/sparc/sparc32/dl-machine.h
30061         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30062         * sysdeps/sparc/sparc64/dl-machine.h
30063         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30065         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30066         lazy binding.
30067         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30068         undefined symbol errors.
30070         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30071         DT_NEEDED entries.
30073 2012-04-05  Michael Matz  <matz@suse.de>
30075         [BZ #13592]
30076         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30078 2012-04-05  Andreas Jaeger  <aj@suse.de>
30080         [BZ #13908]
30081         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30082         comment.
30084 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30086         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30087         which ROUND is no valid rounding mode.
30089 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30091         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30092         read again.
30093         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30095 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30097         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30098         an exception using FPU order intentionally.
30100 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30102         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30103         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30104         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30105         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30107 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30109         [BZ #12340]
30110         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30111         EINVAL when BUFLEN is too smal.
30113 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30115         [BZ #13553]
30116         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30117         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30119 2012-04-03  Andreas Jaeger  <aj@suse.de>
30121         [BZ #13938]
30122         * manual/setjmp.texi (System V contexts): Fix sentence.
30124         [BZ #13926]
30125         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30126         New macro for this case.
30127         [!__GNUC__] (__bswap_64): New inline function for this case.
30128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30129         * bits/byteswap.h: Likewise.
30130         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30131         ull, guard with __GLIBC_HAVE_LONG_LONG.
30133         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30134         __GLIBC_HAVE_LONG_LONG.
30136         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30137         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30139 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30141         [BZ #13691]
30142         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30143         inptr and inend, rather than using last_ch.
30145 2012-04-02  David S. Miller  <davem@davemloft.net>
30147         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30148         * stdio-common/printf-parse.h (read_int): Change return type to
30149         'int', return -1 on INT_MAX overflow.
30150         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30151         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30152         overflows INT_MAX.  Check for overflow of in-format-string precision
30153         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30154         SIZE_MAX not INT_MAX for integer overflow test.
30155         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30156         skip the construct in the format string but do not record anything.
30157         * stdio-common/bug22.c: Adjust to test both width/prevision
30158         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30159         explicitly for proper errno values.
30161 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30163         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30164         CHAR_MAX.
30165         * string/test-strcmp.c [! WIDE]: Likewise.
30166         * time/tst-mktime2.c: Likewise for INT_MAX.
30167         * string/test-string.h: #include <sys/param.h> for MIN.
30169         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30170         * sysdeps/i386/init-first.c (init): Likewise.
30171         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30172         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30173         * sysdeps/sh/init-first.c (init): Likewise.
30175 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30177         * po/ru.po: Update from translation team.
30178         * po/vi.po: Likewise.
30180 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30182         * resolv/nss_dns/dns-host.c: Merge copyright years.
30184 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30186         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30187         Optimize memcpy with prefetch if
30188         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30189         src, dst pointers have unequal 16 byte alignments.
30191 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30193         [BZ #13928]
30194         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30195         from a CNAME entry and return the minimum ttl for the query.
30196         (gaih_getanswer_slice): Likewise.
30198 2012-03-30  Jeff Law  <law@redhat.com>
30200         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30201         due to long keys.
30202         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30203         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30205         * resolv/nss_dns/dns-host.c: Update copyright year.
30207 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30209         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30210         requests to save a system call.  Fix check that all bytes are sent.
30212         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30213         comments for sendmmsg.
30215 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30217         [BZ #13691]
30218         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30219         with only 1 character between 0x0041 and 0x01b0.
30220         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30221         * wcsmbs/tst-mbsnrtowcs.c: New file.
30223 2012-03-29  David S. Miller  <davem@davemloft.net>
30225         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30226         small copies by hand.
30228 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30230         [BZ #13761]
30231         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30232         _nss_compat_initgroups_dyn): Fall back to malloc/free
30233         for large group memberships.
30235 2012-03-28  David S. Miller  <davem@davemloft.net>
30237         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30238         that branches into memcpy.
30239         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30242         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30244         bits.
30245         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30246         implementation too.
30247         * sysdeps/sparc/mempcpy.S: New file.
30249         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30250         the IFUNC routine in the libc case.
30251         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30253         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30254         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30255         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30256         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30257         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30258         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30259         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30260         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30262         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30263         loop to 256 bytes instead of 64 bytes and fix test signedness.
30265         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30266         * sysdeps/sparc/sparc32/Makefile: rather than here...
30267         * sysdeps/sparc/sparc64/Makefile: and here.
30269 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30271         * malloc/mallocbug.c: Avoid warnings about unused variables.
30273 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30275         [BZ #13760]
30276         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30277         in the right place. Discard and retry query if response is
30278         larger than input buffer size.
30280 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30282         [BZ #369]
30283         [BZ #2678]
30284         [BZ #3866]
30285         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30286         x for large integer exponent.
30287         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30288         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30289         sign of result as needed afterwards.
30290         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30291         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30292         result for underflowing pow the same as for overflow.
30293         (__kernel_standard_l): Handle powl overflow and underflow here
30294         rather than calling __kernel_standard.
30295         * math/libm-test.inc (pow_test): Add more tests.
30297         [BZ #3868]
30298         [BZ #13879]
30299         [BZ #13910]
30300         [BZ #13911]
30301         [BZ #13912]
30302         [BZ #13913]
30303         [BZ #13915]
30304         [BZ #13916]
30305         [BZ #13917]
30306         [BZ #13918]
30307         [BZ #13919]
30308         [BZ #13920]
30309         [BZ #13921]
30310         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30311         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30312         (__kernel_standard_l): New function.
30313         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30314         __kernel_standard.
30315         * math/w_acosl.c (__acosl): Likewise.
30316         * math/w_asinl.c (__asinl): Likewise.
30317         * math/w_atan2l.c (__atan2l): Likewise.
30318         * math/w_atanhl.c (__atanhl): Likewise.
30319         * math/w_coshl.c (__coshl): Likewise.
30320         * math/w_exp10l.c (__exp10l): Likewise.
30321         * math/w_exp2l.c (__exp2l): Likewise.
30322         * math/w_fmodl.c (__fmodl): Likewise.
30323         * math/w_hypotl.c (__hypotl): Likewise.
30324         * math/w_j0l.c (__j0l, __y0l): Likewise.
30325         * math/w_j1l.c (__j1l, __y1l): Likewise.
30326         * math/w_jnl.c (__jnl, __ynl): Likewise.
30327         * math/w_lgammal.c (__lgammal): Likewise.
30328         * math/w_log10l.c (__log10l): Likewise.
30329         * math/w_log2l.c (__log2l): Likewise.
30330         * math/w_logl.c (__logl): Likewise.
30331         * math/w_powl.c (__powl): Likewise.
30332         * math/w_remainderl.c (__remainderl): Likewise.
30333         * math/w_scalbl.c (sysv_scalbl): Likewise.
30334         * math/w_sinhl.c (__sinhl): Likewise.
30335         * math/w_sqrtl.c (__sqrtl): Likewise.
30336         * math/w_tgammal.c (__tgammal): Likewise.
30337         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30338         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30339         * math/libm-test.inc (acos_test): Add more tests.
30340         (acosh_test): Likewise.
30341         (asin_test): Likewise.
30342         (atanh_test): Likewise.
30343         (exp_test): Likewise.
30344         (exp10_test): Likewise.
30345         (exp2_test): Likewise.
30346         (expm1_test): Likewise.
30347         (lgamma_test): Likewise.
30348         (log_test): Likewise.
30349         (log10_test): Likewise.
30350         (log1p_test): Likewise.
30351         (log2_test): Likewise.
30352         (pow_test): Do not allow some spurious overflow exceptions.
30353         (sqrt_test): Add more tests.
30354         (tgamma_test): Likewise.
30355         (y0_test): Likewise.
30356         (y1_test): Likewise.
30357         (yn_test): Likewise.
30359 2012-03-27  Anton Blanchard  <anton@samba.org>
30361         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30362         MAP_HUGETLB.
30363         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30364         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30365         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30367 2012-03-27  David S. Miller  <davem@davemloft.net>
30369         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30371         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30372         have-as-vis3 check.
30374 2012-03-27  Andreas Jaeger  <aj@suse.de>
30376         * sysdeps/x86_64/elf/configure.in: Moved to ...
30377         * sysdeps/x86_64/configure.in: ... here.
30378         * sysdeps/x86_64/elf/start.S: Moved to ...
30379         * sysdeps/x86_64/start.S: ... here.
30380         * sysdeps/x86_64/elf/configure: Delete.
30382         * sysdeps/x86_64/configure.in: Merge contents from
30383         sysdeps/i386/configure.in (without i686 check).
30385         * sysdeps/i386/elf/Versions: Merge into ...
30386         * sysdeps/i386/Versions: ... this.
30387         * sysdeps/i386/elf/Versions: Delete file.
30388         * sysdeps/i386/elf/start.S: Moved to ...
30389         * sysdeps/i386/start.S: ...here.
30390         * sysdeps/i386/elf/configure.in: Merge into...
30391         * sysdeps/i386/configure.in: ...here.
30392         * sysdeps/i386/elf/configure.in: Delete file.
30393         * sysdeps/i386/elf/configure: Delete file.
30395         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30396         * debug/backtracesyms.c: ... here.
30397         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30398         * debug/backtracesymsfd.c: ... here.
30399         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30400         * sysdeps/generic/ifunc-sel.h: ... here.
30402         * sysdeps/unix/i386/start.c: Delete file.
30403         * sysdeps/unix/sparc/start.c: Delete file.
30404         * sysdeps/unix/start.c: Delete file.
30406         * sysdeps/sh/elf/configure.in: Moved to ...
30407         * sysdeps/sh/configure.in: ... here.
30408         * sysdeps/sh/elf/start.S: Moved to ...
30409         * sysdeps/sh/start.S: ... here.
30410         * sysdeps/sh/elf/configure: Delete file.
30412         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30413         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30414         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30415         * sysdeps/powerpc/powerpc64/entry.h: ... here.
30416         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30417         * sysdeps/powerpc/powerpc64/start.S: here.
30418         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30419         * sysdeps/powerpc/powerpc64/Makefile: ... this.
30420         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30421         * sysdeps/powerpc/powerpc64/configure.in: ... this.
30422         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30424         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30425         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30426         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30427         * sysdeps/powerpc/powerpc32/start.S: ... here.
30428         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30429         * sysdeps/powerpc/powerpc32/configure.in: ... this.
30430         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30432         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30433         * sysdeps/powerpc/ifunc-sel.h: ... here.
30434         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30435         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30437         * sysdeps/sparc/elf/configure.in: Moved to ...
30438         * sysdeps/sparc/configure.in: ... here.
30439         * sysdeps/sparc/elf/configure: Delete file.
30440         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30441         * sysdeps/sparc/sparc32/start.S: ... here.
30442         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30443         * sysdeps/sparc/sparc64/start.S: ... here.
30444         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30445         * sysdeps/sparc/sparc32/Makefile: ... this.
30446         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30447         * sysdeps/sparc/sparc64/Makefile: ... this.
30449         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30450         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30451         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30452         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30453         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30454         * sysdeps/s390/s390-32/setjmp.S: ... here.
30455         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30456         * sysdeps/s390/s390-32/configure.in: ... here.
30457         * sysdeps/s390/s390-32/elf/configure: Delete file.
30458         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30459         * sysdeps/s390/s390-32/start.S: ... here.
30461         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30462         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30463         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30464         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30465         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
30466         * sysdeps/s390/s390-64/setjmp.S: ... here.
30467         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
30468         * sysdeps/s390/s390-64/configure.in: ... here
30469         * sysdeps/s390/s390-64/elf/configure: Delete file.
30470         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
30471         * sysdeps/s390/s390-64/start.S: ... here.
30472         * sysdeps/s390/s390-64/elf/configure: Delete.
30474         * configure.in: Remove support for elf directories in sysdeps.
30476         * configure: Regenerated.
30477         * sysdeps/i386/configure: Regenerated.
30478         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30479         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30480         * sysdeps/s390/s390-32/configure: Regenerated.
30481         * sysdeps/s390/s390-64/configure: Regenerated.
30482         * sysdeps/sh/configure: Regenerated.
30483         * sysdeps/sparc/configure: Regenerated.
30484         * sysdeps/x86_64/configure: Regenerated.
30486 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
30488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
30491         denormal result into account.
30493 2012-03-25  Roland McGrath  <roland@hack.frob.com>
30495         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
30496         Reported by Allan McRae <allan@archlinux.org>.
30498 2012-03-23  Jeff Law  <law@redhat.com>
30500         * nss/getnssent.c (__nss_getent): Fix typo.
30502 2012-03-23  David S. Miller  <davem@davemloft.net>
30504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30506 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
30508         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
30509         to pad to uint64_t for each field.
30510         (dl_tls_index): Replace unsigned long with uint64_t.
30512 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
30513         Paul Pluzhnikov  <ppluzhnikov@google.com>
30515         [BZ #6528]
30516         * grp/Makefile (otherlibs): Don't set it.
30517         * inet/Makefile (otherlibs): Likewise.
30518         * login/Makefile (otherlibs): Likewise.
30519         * nscd/Makefile (otherlibs): Likewise.
30520         * posix/Makefile (otherlibs): Likewise.
30521         * pwd/Makefile (otherlibs): Likewise.
30522         * rt/Makefile (otherlibs): Likewise.
30523         * sunrpc/Makefile (otherlibs): Likewise.
30524         * nss/Makefile (otherlibs): Likewise.
30525         Add libnss_files to routines and static-only-routines.
30526         ($(objpfx)getent): Remove rule.
30527         * resolv/Makefile: Add libnss_dns and libresolv to routines and
30528         static-only-routines.
30530 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30532         [BZ #13892]
30533         * math/s_cexp.c: Include <float.h>.
30534         (__cexp): Handle exp result overflowing not necessarily
30535         overflowing both real and imaginary parts of result.
30536         * math/s_cexpf.c: Likewise.
30537         * math/s_cexpl.c: Likewise.
30538         * math/libm-test.inc (cexp_test): Add more tests.
30539         * sysdeps/i386/fpu/libm-test-ulps: Update.
30540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30542 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30544         * include/link.h (ELFW): New macro.
30545         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
30546         Replace ELF64_R_TYPE with ELFW(R_TYPE).
30548 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30550         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
30551         with uint64_t.
30553 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30555         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
30556         declaration.
30557         (struct La_x32_retval): Likewise.
30559 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30561         * sysdeps/x86_64/preconfigure.in: New file.
30562         * sysdeps/x86_64/preconfigure: New generated file.
30564 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30566         [BZ #13824]
30567         * math/e_exp2l.c: Include <float.h>.
30568         (__ieee754_exp2l): Handle overflow and underflow cases
30569         separately.  Only pass fractional part of argument to
30570         __ieee754_expl.
30571         * math/libm-test.inc (exp2_test): Add more tests.
30573         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
30574         negating x to take absolute value.
30575         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30576         Likewise.
30577         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30578         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30579         Likewise.
30580         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
30581         computing low part if x was negated.
30582         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30584 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30586         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
30587         la_x32_gnu_pltexit.
30588         (pltexit): Cast int_retval to ptrdiff_t.
30589         * elf/tst-auditmod3b.c: Likewise.
30590         * elf/tst-auditmod4b.c: Likewise.
30591         * elf/tst-auditmod5b.c: Likewise.
30592         * elf/tst-auditmod6b.c: Likewise.
30593         * elf/tst-auditmod6c.c: Likewise.
30594         * elf/tst-auditmod7b.c: Likewise.
30596         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
30597         and x32_gnu_pltexit.
30599         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
30600         __ELF_NATIVE_CLASS.
30601         (La_x32_regs): New macro.
30602         (La_x32_retval): Likewise.
30603         (la_x32_gnu_pltenter): New function prototype.
30604         (la_x32_gnu_pltexit): Likewise.
30606 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
30608         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
30609         exponent.
30611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30613         * configure.in (libc_cv_cc_nofma): Check for option to disable
30614         generation of FMA instructions.
30615         * configure: Regenerate.
30616         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
30617         * sysdeps/ieee754/dbl-64/Makefile: New file.
30618         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30619         Remove brandred-fma4.
30620         (CFLAGS-brandred-fma4.c): Remove.
30621         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
30622         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
30623         define.
30624         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
30625         define.
30627 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30629         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30630         LLONG_MAX != LONG_MAX.
30631         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30632         (_fitoa_word): Likewise.
30633         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
30634         LLONG_MAX != LONG_MAX.
30635         * stdio-common/_itowa.h: Include <_itoa.h>.
30636         (_itowa_word): Use _ITOA_WORD_TYPE on value.
30637         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
30638         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
30639         only if not defined.
30640         (_ITOA_WORD_TYPE): Likewise.
30641         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30642         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
30644 2012-03-21  David S. Miller  <davem@davemloft.net>
30646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30648 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30650         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
30651         of x86_64 when setting libc_cv_slibdir, libdir and
30652         libc_cv_localedir.
30653         * sysdeps/unix/sysv/linux/configure: Regenerated.
30655 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30657         * manual/lang.texi (Old Varargs): Remove section.
30658         (How Variadic): Update menu.
30659         (va_start): Do not mention varargs.h.
30661 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30662             Joseph Myers  <joseph@codesourcery.com>
30664         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
30665         link test.
30666         * configure: Regenerated.
30668 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30670         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
30671         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
30672         conformtest.pl
30674 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30676         * NOTES: Remove.
30677         * Makefile (files-for-dist): Remove NOTES.
30678         (NOTES): Remove rule.
30679         * README: Don't refer to NOTES.
30680         * manual/creature.texi: Don't include macros.texi.
30681         * manual/intro.texi (creature.texi): Remove comment referring to
30682         NOTES.
30684         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
30685         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
30686         * configure: Regenerated.
30687         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
30688         LIBC_TRY_CC_OPTION.
30689         (libc_cv_as_i686): Likewise.
30690         (libc_cv_cc_avx): Likewise.
30691         (libc_cv_cc_sse2avx): Likewise.
30692         (libc_cv_cc_fma4): Likewise.
30693         (libc_cv_cc_novzeroupper): Likewise.
30694         * sysdeps/i386/configure: Regenerated.
30696         [BZ #13883]
30697         * sysdeps/i386/fpu/s_cexp.S: Remove.
30698         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30699         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30700         * math/libm-test.inc (cexp_test): Add more tests.
30701         * sysdeps/i386/fpu/libm-test-ulps: Update.
30702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30704 2012-03-21  Allan McRae  <allan@archlinux.org>
30706         * timezone/Makefile: Do not install iso3166.tab and zone.tab
30708 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30710         [BZ #13871]
30711         * math/w_exp2.c: Do not include <float.h>.
30712         (o_threshold, u_threshold): Remove.
30713         (__exp2): Calculate result before checking finiteness and calling
30714         __kernel_standard.
30715         * math/w_exp2f.c: Likewise.
30716         * math/w_exp2l.c: Likewise.
30717         * math/libm-test.inc (exp2_test): Require overflow exception for
30718         1e6 input.
30720         [BZ #3866]
30721         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30722         range of signed 64-bit integers before using fistpll.  Remove
30723         checks for whether integers fit in mantissa bits.
30724         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30725         the range of signed 32-bit integers before using fistpl.  Remove
30726         checks for whether integers fit in mantissa bits.
30727         * sysdeps/i386/fpu/e_powl.S (p64): New object.
30728         (__ieee754_powl): Test for y outside the range of signed 64-bit
30729         integers before using fistpll.  Reduce 64-bit values to 63-bit
30730         ones as needed.
30731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30732         divide-by-zero is raised for zero to large negative powers.
30733         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30734         (__ieee754_powl): Test for y outside the range of signed 64-bit
30735         integers before using fistpll.  Reduce 64-bit values to 63-bit
30736         ones as needed.
30737         * math/libm-test.inc (pow_test): Add more tests.
30739 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30741         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30742         <stdio-common/_itoa.h>.
30743         * debug/segfault.c: Likewise.
30744         * elf/dl-cache.c: Likewise.
30745         * elf/dl-minimal.c: Likewise.
30746         * elf/dl-misc.c: Likewise.
30747         * elf/dl-sysdep.c: Likewise.
30748         * elf/dl-version.c: Likewise.
30749         * elf/rtld.c: Likewise.
30750         * hurd/hurdsock.c: Likewise.
30751         * hurd/lookup-retry.c: Likewise.
30752         * malloc/malloc.c: Likewise.
30753         * malloc/mtrace.c: Likewise.
30754         * nscd/nscd_getgr_r.c: Likewise.
30755         * nscd/nscd_getpw_r.c: Likewise.
30756         * nscd/nscd_getserv_r.c: Likewise.
30757         * posix/getopt_init.c: Likewise.
30758         * posix/wordexp.c: Likewise.
30759         * stdio-common/_itoa.c: Likewise.
30760         * stdio-common/printf_fphex.c: Likewise.
30761         * stdio-common/vfprintf.c: Likewise.
30762         * string/_strerror.c: Likewise.
30763         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30764         * sysdeps/i386/i686/hp-timing.h: Likewise.
30765         * sysdeps/mach/_strerror.c: Likewise.
30766         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30767         * sysdeps/mach/hurd/sethostid.c: Likewise.
30768         * sysdeps/mach/hurd/xmknodat.c: Likewise.
30769         * sysdeps/mach/xpg-strerror.c: Likewise.
30770         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30772         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30773         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30774         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30775         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30776         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30777         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30778         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30779         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30780         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30781         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30782         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30783         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30784         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30785         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30786         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30787         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30788         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30789         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30790         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30792         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30794         * stdio-common/_itoa.h: Moved to ...
30795         * sysdeps/generic/_itoa.h: Here.
30797         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30799         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30800         instead of "_itoa.h" and "_itowa.h".
30801         * stdio-common/vfprintf.: Likewise.
30803 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30805         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30806         <bits/wordsize.h>.
30807         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30808         (__signbit): Likwise.
30809         (llrintf): Likwise.
30810         (llrint): Likwise.
30812 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30814         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30815         __WORDSIZE != 64.
30817 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
30819         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30820         OVERFLOW_EXCEPTION_OK.
30821         * math/libm-test.inc ("Philosophy"): Update comment about
30822         exception testing.
30823         (OVERFLOW_EXCEPTION): Define.
30824         (OVERFLOW_EXCEPTION_OK): Likewise.
30825         (INVALID_EXCEPTION_OK): Renumber.
30826         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30827         (IGNORE_ZERO_INF_SIGN): Likewise.
30828         (test_exceptions): Handle FE_OVERFLOW.
30829         (exp10_test): Expect overflow exceptions.
30830         (exp2_test): Likewise.
30831         (expm1_test): Likewise.
30832         (nextafter_test): Likewise.
30833         (pow_test): Likewise.
30834         (scalbn_test): Likewise.
30835         (scalbln_test): Likewise.
30837 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30839         * sysdeps/x86_64/bits/atomic.h
30840         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30841         64bit integer.
30842         (atomic_exchange_acq): Likewise.
30843         (__arch_exchange_and_add_body): Likewise.
30844         (__arch_add_body): Likewise.
30845         (atomic_add_negative): Likewise.
30846         (atomic_add_zero): Likewise.
30848 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30850         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30851         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30853 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30855         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30856         Check __x86_64__ instead of __WORDSIZE.
30858 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30860         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30862 2012-03-19  David S. Miller  <davem@davemloft.net>
30864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30866         * sysdeps/sparc/fpu/fenv_private.h: New file.
30867         * sysdeps/sparc/fpu/math_private.h: Use it.
30868         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30869         Remove.
30870         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30871         (libc_feholdexcept_setroundl): Remove.
30872         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30873         Remove.
30874         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30875         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30877 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30879         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30880         int64_t instead of long int.
30881         (INSERT_WORDS64): Likwise.
30883 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30885         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30886         _Unwind_GetCFA return to _Unwind_Ptr first.
30888 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
30890         [BZ #13629]
30891         * math/s_clog.c: Include <float.h>.
30892         (__clog): Scale large or subnormal inputs.
30893         * math/s_clogf.c: Likewise.
30894         * math/s_clogl.c: Likewise.
30895         * math/s_clog10.c: Include <float.h>.
30896         (M_LOG10_2): Define.
30897         (__clog10): Scale large or subnormal inputs.
30898         * math/s_clog10f.c: Likewise.
30899         * math/s_clog10l.c: Likewise.
30900         * math/libm-test.inc (clog_test): Add more tests.
30901         (clog10_test): Likewise.
30902         * sysdeps/i386/fpu/libm-test-ulps: Update.
30903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30905         [BZ #11451]
30906         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30907         x and y.
30908         * math/libm-test.inc (atan2_test): Add another test.
30910         * Makerules (common-objdir-compile): Remove.
30911         * sysdeps/unix/Makefile (config-generated): Do not add
30912         $(unix-generated) to variable.
30913         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30914         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30915         Remove rule.
30916         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30917         Likewise.
30918         [generic bits/local_lim.h] (before-compile): Do not append to
30919         variable.
30920         [generic bits/local_lim.h] (common-generated): Likewise.
30921         [generic sys/param.h] (before-compile): Do not append to variable.
30922         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30923         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30924         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30925         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30926         include.
30927         [generic sys/param.h] (sys/param.h-includes): Remove variable.
30928         [generic sys/param.h] (sys/param.h-includes): Remove rule.
30929         [generic sys/param.h] ($(addprefix
30930         $(common-objpfx),$(sys/param.h-includes))): Likewise.
30931         [generic sys/param.h] (common-generated): Do not append to
30932         variable.
30933         [generic sys/param.h] (sysdep_headers): Likewise.
30934         [generic bits/errno.h] (before-compile): Do not append to
30935         variable.
30936         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30937         rule.
30938         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30939         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30940         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30941         [generic bits/errno.h] (common-generated): Do not append to
30942         variable.
30943         [generic bits/ioctls.h] (before-compile): Do not append to
30944         variable.
30945         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30946         rule.
30947         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30948         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30949         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30950         rule.
30951         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30952         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30953         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30954         [generic bits/ioctls.h] (common-generated): Do not append to
30955         variable.
30956         [generic sys/syscall.h] (syscall.h): Remove variable.
30957         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30958         rule.
30959         [generic sys/syscall.h] (before-compile): Do not append to
30960         variable.
30961         [generic sys/syscall.h] (common-generated): Likewise.
30962         * sysdeps/unix/errnos-tmpl.c: Remove file.
30963         * sysdeps/unix/errnos.awk: Likewise.
30964         * sysdeps/unix/ioctls-tmpl.c: Likewise.
30965         * sysdeps/unix/ioctls.awk: Likewise.
30966         * sysdeps/unix/mk-local_lim.c: Likewise.
30967         * sysdeps/unix/snarf-ioctls: Likewise.
30969 2012-03-19  Richard Henderson  <rth@twiddle.net>
30971         * sysdeps/i386/fpu/fenv_private.h: New file.
30972         * sysdeps/i386/fpu/math_private.h: Use it.
30973         (math_opt_barrier, math_force_eval): Remove.
30974         (libc_feholdexcept_setround_53bit): Remove.
30975         (libc_feupdateenv_53bit): Remove.
30976         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30977         (math_opt_barrier, math_force_eval): Remove.
30978         (libc_feholdexcept): Remove.
30979         (libc_feholdexcept_setround): Remove.
30980         (libc_fetestexcept, libc_fesetenv): Remove.
30981         (libc_feupdateenv_test): Remove.
30982         (libc_feupdateenv, libc_feholdsetround): Remove.
30983         (libc_feresetround): Remove.
30985         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30986         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30988         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30989         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30990         (libc_feupdateenv_testl): New.
30991         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30992         (libc_feupdateenv_testf): New.
30993         (libc_feupdateenv): Use libc_feupdateenv_test.
30994         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30997         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30998         (libc_feholdsetroundf, libc_feholdsetroundl): New.
30999         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31000         (libc_feresetround_noex): New.
31001         (libc_feresetround_noexf): New.
31002         (libc_feresetround_noexl): New.
31003         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31004         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31005         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31006         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31007         SET_RESTORE_ROUND.
31008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31010         (__cos): Likewise.
31011         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31012         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31013         SET_RESTORE_ROUND_NOEX.
31014         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31015         SET_RESTORE_ROUND_NOEXF.
31016         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31017         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31018         (libc_feholdsetroundf): New.
31019         (libc_feresetround, libc_feresetroundf): New.
31021         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31022         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31023         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31025         * sysdeps/generic/math_private.h: Include <fenv.h>.
31026         (default_libc_feholdexcept): New.
31027         (default_libc_feholdexcept_setround): New.
31028         (default_libc_fesetenv, default_libc_feupdateenv): New.
31029         (libc_feholdexcept): Only define if undefined.
31030         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31031         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31032         (libc_feholdexcept_setroundl): Likewise.
31033         (libc_feholdexcept_setround_53bit): Likewise.
31034         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31035         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31036         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31037         (libc_feupdateenv_53bit): Likewise.
31038         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31039         (libc_feholdexcept): Convert from macro to inline function.
31040         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31041         (libc_fesetenv, libc_feupdateenv): Likewise.
31043         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31044         not previously defined.
31045         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31046         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31047         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31048         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31049         * sysdeps/ieee754/flt-32/math_private.h: New file.
31050         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31051         math_private.h below SET_FLOAT_WORD.
31052         (__isnan, __isinf_ns, __finite): Remove.
31053         (__isnanf, __isinf_nsf, __finitef): Remove.
31055 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31059 2012-03-17  David S. Miller  <davem@davemloft.net>
31061         [BZ #6471]
31062         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31063         for 2.16.
31065 2012-03-16  David S. Miller  <davem@davemloft.net>
31067         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31068         warnings.
31070         [BZ #6471]
31071         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31072         properly.
31073         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31074         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31075         sysdep_routines when subdir is sysvipc.
31076         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31077         __getshmlba helper.
31079         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31081 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31083         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31084         [__LP64__].
31086 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31088         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31089         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31090         (__lround): Renamed to ...
31091         (__llround): This.  Replace long int with long long int.
31092         Define lround functions as aliases of llround functions.
31093         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31095 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31097         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31098         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31099         adresses to uintptr_t.  Replace "long int" and "unsigned long
31100         int" with "greg_t" on va_arg.
31102 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31104         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31105         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31107         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31108         Move e_machine check before EI_CLASS check.  Handle x32
31109         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31110         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31111         SKIP_EM_IA_64 and include
31112         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31114         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31115         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31116         (add_system_dir): New macro.
31118         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31119         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31121 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31123         [BZ #2551]
31124         [BZ #2552]
31125         [BZ #2553]
31126         [BZ #2554]
31127         [BZ #2562]
31128         [BZ #2563]
31129         [BZ #2565]
31130         [BZ #2566]
31131         [BZ #2576]
31132         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31133         (y0): Likewise.
31134         * math/w_j0f.c (j0f): Likewise.
31135         (y0f): Likewise.
31136         * math/w_j0l.c (__j0l): Likewise.
31137         (__y0l): Likewise.
31138         * math/w_j1.c (j1): Likewise.
31139         (y1): Likewise.
31140         * math/w_j1f.c (j1f): Likewise.
31141         (y1f): Likewise.
31142         * math/w_j1l.c (__j1l): Likewise.
31143         (__y1l): Likewise.
31144         * math/w_jn.c (jn): Likewise.
31145         (yn): Likewise.
31146         * math/w_jnf.c (jnf): Likewise.
31147         (ynf): Likewise.
31148         * math/w_jnl.c (__jnl): Likewise.
31149         (__ynl): Likewise.
31150         * math/libm-test.inc (j0_test): Add more tests.
31151         (j1_test): Likewise.
31152         (jn_test): Likewise.  Add trailing semicolon to existing test.
31153         (y0_test): Likewise.
31154         (y1_test): Likewise.
31155         * sysdeps/i386/fpu/libm-test-ulps: Update.
31156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158         [BZ #13851]
31159         [BZ #13854]
31160         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31161         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31162         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31163         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31164         (__tanl): Set errno for infinite argument.
31165         * sysdeps/i386/fpu/mptan.c: Remove.
31166         * sysdeps/i386/fpu/s_tan.S: Likewise.
31167         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31168         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31169         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31170         * math/libm-test.inc (tan_test): Add more tests and enable more
31171         tests for double and long double.
31172         * sysdeps/i386/fpu/libm-test-ulps: Update.
31173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31175 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31177         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31178         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31180 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31182         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31183         * configure.in: Use it for both main tree and add-ons.
31184         * configure: Regenerated.
31186 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31188         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31190 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31192         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31193         in comment.
31195         [BZ #13851]
31196         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31197         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31198         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31199         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31200         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31201         infinite argument.
31202         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31204         != 0 for prec == 2.
31205         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31206         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31207         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31208         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31209         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31210         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31211         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31212         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31213         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31214         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31215         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31216         * math/libm-test.inc (cos_test): Add more tests and enable more
31217         tests for long double.
31218         (sin_test): Likewise.
31219         (sincos_test): Likewise.
31220         * sysdeps/i386/fpu/libm-test-ulps: Update.
31221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31223 2012-03-16  David S. Miller  <davem@davemloft.net>
31225         * sysdeps/sparc/fpu/math_private.h: New file.
31227 2012-03-15  David S. Miller  <davem@davemloft.net>
31229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31230         file.
31231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31233         file.
31234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31238         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31239         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31240         sysdep routines.
31241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31243         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31244         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31246         * sysdeps/sparc/sparc-ifunc.h: New file.
31247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31248         sparc-ifunc.h
31249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31251         Likewise.
31252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31253         Likewise.
31254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31258         Likewise.
31259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31264         Likewise.
31265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31266         Likewise.
31267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31273         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31274         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31287         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31288         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31289         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31290         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31292 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31294         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31295         scaling.
31296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31298 2012-03-15  Andreas Jaeger  <aj@suse.de>
31300         [BZ #13852]
31301         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31302         ieee754/flt-32 implementation for sin, cos and sincos.
31303         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31304         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31305         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31306         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31307         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31308         ieee754/flt-32 implementation for tan.
31310         * math/libm-test.inc (cos_test): Enable some large input tests for
31311         float as well
31312         (sin_test): Likewise.
31313         (sincos_test): Likewise.
31314         (tan_test): Add tests for large input.
31316         * sysdeps/i386/fpu/libm-test-ulps: Update.
31318 2012-03-15  Andreas Jaeger  <aj@suse.de>
31320         [BZ #13658]
31321         * math/libm-test.inc (cos_test): Add more test cases.
31322         (sin_test): Likewise.
31323         (sincos_test): Likewise.
31325 2012-03-15  Andreas Jaeger  <aj@suse.de>
31327         [BZ #13837]
31328         * math/libm-test.inc (cos_test): Add a test case for large input
31329         value.
31330         (sin_test): Likewise.
31331         (sincos_test): Likewise.
31333 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31334         Joseph Myers  <joseph@codesourcery.com>
31336         [BZ #13658]
31337         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31338         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31339         * sysdeps/i386/fpu/branred.c: Likewise.
31340         * sysdeps/i386/fpu/dosincos.c: Likewise.
31341         * sysdeps/i386/fpu/mpa.c: Likewise.
31342         * sysdeps/i386/fpu/s_cos.S: Likewise.
31343         * sysdeps/i386/fpu/s_sin.S: Likewise.
31344         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31345         * sysdeps/i386/fpu/sincos32.c: Likewise.
31347         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31348         Define.
31349         (libc_feupdateenv_53bit): Define.
31350         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31351         Define.
31352         (libc_feupdateenv_53bit): Define.
31354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31355         53 bit (without extend i386 double precision).
31357         * math/libm-test.inc (sincos_test): Add tests for large input.
31358         (sin): Likewise.
31359         (cos): Likewise.
31361         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31363 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31367 2012-03-15  David S. Miller  <davem@davemloft.net>
31369         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31370         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31371         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31372         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31385         file.
31386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31388         file.
31389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31391         file.
31392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31394         file.
31395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31397         fmin/fmax sysdep routines.
31398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31400 2012-03-14  David S. Miller  <davem@davemloft.net>
31402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31406         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31407         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31408         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31409         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31413         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31422         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31423         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31424         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31425         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31426         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31427         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31428         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31429         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31430         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31431         routines.
31432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31433         file.
31434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31436         file.
31437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31439         file.
31440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31442         file.
31443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31445         file.
31446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31448         file.
31449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31450         file.
31451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31452         file.
31453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31454         file.
31455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31456         New file.
31457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31458         file.
31459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31460         file.
31461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31463         file.
31464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
31466         file.
31467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
31468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
31469         file.
31470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
31471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
31472         VIS3 routines.
31474         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31475         New file.
31477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31479         * sysdeps/sparc/configure.in: New file.
31480         * sysdeps/sparc/configure: Generate.
31481         * configure.in (libc_cv_sparc_as_vis3): Substitute.
31482         * configure: Regenerate.
31483         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
31484         * config.make.in (have-as-vis3): New.
31485         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
31486         available use -Av9d instead of -Av9a.
31487         * sysdeps/sparc/sparc64/Makefile: Likewise.
31488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
31489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
31490         New file.
31491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
31492         file.
31493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
31494         New file.
31495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
31496         file.
31497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
31498         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
31499         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
31500         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
31501         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
31503         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
31504         fzeros/fnegs to load 0x80000000 into a float register instead of
31505         using the stack.
31506         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
31508 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31511         bits/syscall.h.
31512         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
31513         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
31514         ($(inst_includedir)/bits/syscall.h): Remove rule.
31515         ($(objpfx)bits/syscall.d): Include instead of
31516         $(objpfx)syscall-list.d.
31517         (generated): Change syscall-list.h and syscall-list.d to
31518         bits/syscall.h and bits/syscall.d.
31520 2012-03-14  Roland McGrath  <roland@hack.frob.com>
31522         [BZ #13846]
31523         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
31525 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31527         [BZ #13841]
31528         * math/s_csqrt.c: Include <float.h>.
31529         (__csqrt): Scale large or subnormal inputs.
31530         * math/s_csqrtf.c: Likewise.
31531         * math/s_csqrtl.c: Likewise.
31532         * math/libm-test.inc (csqrt_test): Add more tests.
31533         * sysdeps/i386/fpu/libm-test-ulps: Update.
31534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31536         [BZ #13840]
31537         * math/libm-test.inc (hypot_test): Add more tests.
31539 2012-03-13  David S. Miller  <davem@davemloft.net>
31541         [BZ #13840]
31542         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
31543         double-precision for the calculation instead of scaling.
31545 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
31547         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
31548         manipulate bits before adding and subtracting TWO52[sx].
31549         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
31550         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31551         Likewise.
31552         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
31554 2012-03-13  David S. Miller  <davem@davemloft.net>
31556         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
31557         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
31558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
31559         rtld-global-offsets.h
31560         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31562         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
31563         large parameters.
31565         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
31567         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
31568         'err' in the ifdef scope in which it is actually used.
31570         * nss/nss_db/db-init.c: Include string.h
31572 2012-03-12  David S. Miller  <davem@davemloft.net>
31574         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31575         masking out of the most significant byte of random value used.
31576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31577         Fix coding style in previous change.
31579         * sysdeps/unix/sysv/linux/kernel-features.h
31580         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
31581         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
31582         expression.
31583         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
31584         later.
31586 2012-03-11  David S. Miller  <davem@davemloft.net>
31588         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31589         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
31590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
31591         for 'resultvar' otherwise things get truncated on 64-bit.
31593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31594         Fix masking out of the most significant byte of random value used.
31596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31598 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
31600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31602 2012-03-09  David S. Miller  <davem@davemloft.net>
31604         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
31605         variables with appropriate CPP guards.
31606         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
31607         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
31608         on resulting framesize and the management of the outregs buffer for pltexit.
31609         Preserve floating point return values across _dl_call_pltexit call.
31610         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
31611         framesize and the management of the outregs buffer for pltexit.
31612         Preserve floating point return values across _dl_call_pltexit
31613         call.
31614         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
31615         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
31616         (print_exit): Fix format string for return register value.
31618 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
31620         * sunrpc/Makefile (others): Add rpcgen.
31621         ($(objpfx)rpcgen): Remove special build rule and dependency on
31622         libc.
31623         * sunrpc/rpcgen.c: New file.
31625 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
31627         [BZ #13673]
31628         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
31629         * stdio-common/bug-vfprintf-nargs.c: Likewise.
31630         * sysdeps/i386/crti.S: Likewise.
31631         * sysdeps/i386/crtn.S: Likewise.
31632         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
31633         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
31634         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
31635         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
31636         * sysdeps/sh/crti.S: Likewise.
31637         * sysdeps/sh/crtn.S: Likewise.
31638         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31640         [BZ #13673]
31641         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
31642         with URL.
31643         * locale/programs/locfile-kw.gperf: Likewise.
31644         * locale/programs/charmap-kw.h: Regenerated.
31645         * locale/programs/locfile-kw.h: Likewise.
31647         [BZ #13673]
31648         * intl/plural.y: Replace FSF snail mail address with URL.
31649         * intl/plural.c: Regenerated.
31651 2012-03-09  Richard Henderson  <rth@twiddle.net>
31653         * include/math_private.h: Remove file.
31654         * math/math_private.h: Move file ...
31655         * sysdeps/generic/math_private.h: ... here.
31657         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
31658         * sysdeps/powerpc/fpu/math_private.h: Likewise.
31659         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31661         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
31662         and <math_private.h>.
31663         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31664         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31665         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31666         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31667         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31673         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31678         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31680         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31681         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31682         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31684         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31685         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31686         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31687         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31688         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31689         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31690         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31692         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31693         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31694         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31695         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31696         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31697         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31698         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31699         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31700         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31701         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31702         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31703         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31706         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31710         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31711         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31713         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31715         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31716         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31717         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31718         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31719         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31720         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31721         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31723         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31725         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31726         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31727         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31728         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31729         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31730         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31731         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31732         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31733         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31734         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31735         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31736         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31737         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31741         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31742         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31743         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31744         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31745         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31746         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31747         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31750         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31751         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31752         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31753         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31754         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31755         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31756         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31757         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31758         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31759         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31760         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31761         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31762         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31763         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31764         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31765         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31766         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31767         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31768         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31769         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31770         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31771         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31772         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31773         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31774         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31775         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31776         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31777         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31778         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31779         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31780         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31781         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31782         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31783         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31784         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31785         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31786         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31787         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31788         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31789         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31790         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31791         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31792         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31793         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31794         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31795         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31796         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31797         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31798         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31799         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31800         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31801         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31802         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31803         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31804         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31805         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31806         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31807         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31808         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31809         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31810         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31811         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31812         * sysdeps/ieee754/k_standard.c: Likewise.
31813         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31815         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31817         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31822         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31823         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31825         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31826         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31827         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31829         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31830         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31831         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31832         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31833         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31835         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31839         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31840         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31841         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31842         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31843         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31844         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31845         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31846         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31847         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31848         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31849         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31850         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31851         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31852         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31853         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31854         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31855         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31856         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31857         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31858         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31859         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31861         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31862         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31863         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31864         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31865         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31866         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31867         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31869         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31870         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31871         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31874         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31875         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31876         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31877         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31878         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31879         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31880         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31881         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31882         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31883         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31885         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31886         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31887         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31889         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31890         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31891         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31892         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31893         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31894         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31895         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31896         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31897         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31898         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31899         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31900         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31901         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31902         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31906         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31907         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31909         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31910         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31911         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31912         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31914         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31916         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31917         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31919         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31920         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31921         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31922         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31923         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31925         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31928         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31929         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31930         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31931         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31933         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31934         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31935         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31936         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31937         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31938         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31939         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31940         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31941         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31942         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31943         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31944         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31945         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31946         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31947         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31948         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31949         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31950         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31951         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31952         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31953         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31954         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31955         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31956         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31957         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31958         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31959         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31960         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31961         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31962         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31963         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31964         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31966         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31967         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31968         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31969         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31971         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31972         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31973         * sysdeps/ieee754/s_lib_version.c: Likewise.
31974         * sysdeps/ieee754/s_matherr.c: Likewise.
31975         * sysdeps/ieee754/s_signgam.c: Likewise.
31976         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31977         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31978         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31979         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31980         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31981         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31982         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31983         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31984         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31985         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31986         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31987         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31988         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31989         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31990         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31991         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31992         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31993         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31994         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31996         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31998 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32000         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32001         * sunrpc/rpc_main.c: Likewise.
32002         * sunrpc/rpc_svcout.c: Likewise.
32004 2012-03-09  David S. Miller  <davem@davemloft.net>
32006         * include/math_private.h: New file.
32008 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32010         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32011         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32012         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32013         from <bits/socket_type.h>.
32014         (enum __socket_type): Don't define here.
32015         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32017         bits/socket_type.h.
32019         [BZ #13566]
32020         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32021         checking __USE_GNU.
32023         * Makerules ($(inst_includedir)/%.h): New rule.
32024         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32025         (install-others): Remove variable setting.
32026         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32028 2012-03-08  Richard Henderson  <rth@twiddle.net>
32030         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32031         from macro to inline function; merge with the
32032         !__LIBC_INTERNAL_MATH_INLINES version.
32033         (__ieee754_sqrtf): Likewise.
32035         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32036         to inline function.
32037         (__rintf, __floor, __floorf): Likewise.
32039         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32040         macro to inline function.
32041         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32043         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32044         not <math/math_private.h>.
32046 2012-03-08  David S. Miller  <davem@davemloft.net>
32048         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32049         copyright year.
32050         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32052 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32054         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32055         normalization.
32056         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32057         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32059 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32061         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32062         be defined individually, they must be defined as a block.  Define
32063         S for printing a string instead of hidint the different by using a
32064         macro for adding the 'l'.
32065         * stdio-common/tst-fphex-wide.c: Adjust.
32067 2012-03-07  Marek Polacek  <polacek@redhat.com>
32069         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32071 2012-03-08  Marek Polacek  <polacek@redhat.com>
32073         [BZ #13806]
32074         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32075         * stdio-common/tst-fphex.c: Define a few macros to make the
32076         test reusable.  Use them.
32077         * stdio-common/tst-fphex-wide.c: New file.
32079 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32081         [BZ #6911]
32082         * manual/macros.texi (gnusystems): New macro.
32083         (nongnusystems): Likewise.
32084         (gnulinuxhurdsystems): Likewise.
32085         (gnuhurdsystems): Likewise..
32086         (gnulinuxsystems): Likewise.
32087         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32088         variants of the GNU system, not "GNU system".
32089         * manual/conf.texi: Likewise.
32090         * manual/errno.texi: Likewise.  Update example of errno macro
32091         expansion.
32092         * manual/filesys.texi: Likewise.
32093         (getumask): Document as specific to GNU/Hurd.
32094         * manual/install.texi: Likewise.  Reword some references to
32095         GNU/Linux.
32096         * manual/intro.texi: Likewise.
32097         * manual/io.texi: Likewise.
32098         (File Name Portability): Detail which constraints are inapplicable
32099         to all GNU systems and which are only inapplicable to GNU/Hurd.
32100         * manual/job.texi: Likewise.
32101         * manual/llio.texi: Likewise.
32102         (O_NOCTTY): Document as present on GNU/Linux.
32103         * manual/maint.texi: Likewise.
32104         * manual/memory.texi: Likewise.
32105         * manual/pattern.texi: Likewise.
32106         * manual/pipe.texi: Likewise.
32107         * manual/process.texi: Likewise.
32108         * manual/resource.texi: Likewise.
32109         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32110         child on GNU/Hurd.
32111         * manual/setjmp.texi: Likewise.
32112         * manual/signal.texi: Likewise.
32113         * manual/startup.texi: Likewise.
32114         * manual/stdio.texi: Likewise.
32115         * manual/terminal.texi: Likewise.
32116         (ONLCR): Document as POSIX.
32117         (OXTABS): Document availability on GNU/Linux as XTABS.
32118         (ONOEOT): Document availability separately from other bits.
32119         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32120         * manual/time.texi: Likewise.
32121         * manual/users.texi: Likewise.
32122         * INSTALL: Regenerated.
32123         * sysdeps/gnu/errlist.c: Regenerated.
32125         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32126         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32127         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32128         puts.
32129         * configure: Regenerated.
32131 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32133         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32134         default includes instead of AC_HEADER_CHECK.
32135         * sysdeps/i386/configure: Regenerated.
32137         [BZ #10716]
32138         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32139         * math/s_cacoshf.c (__cacoshf): Likewise.
32140         * math/s_cacoshl.c (__cacoshl): Likewise.
32141         * math/s_casinh.c (__casinh): Set signs of result from argument.
32142         * math/s_casinhf.c (__casinhf): Likewise.
32143         * math/s_casinhl.c (__casinhl): Likewise.
32144         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32145         (casinh_test): Add more tests.
32146         * sysdeps/i386/fpu/libm-test-ulps: Update.
32147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32149 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32151         * po/zh_TW.po: Update from translation team.
32153         * login/Makefile (distribute): Remove variable.
32154         * catgets/Makefile: Likewise.
32155         * mach/Makefile: Likewise.
32156         * malloc/Makefile: Likewise.
32157         * misc/Makefile: Likewise.
32158         * iconv/Makefile: Likewise.
32159         * nscd/Makefile: Likewise.
32160         * hurd/Makefile: Likewise.
32161         * manual/Makefile: Likewise.
32162         * locale/Makefile: Likewise.
32163         * intl/Makefile: Likewise.
32164         * conform/Makefile: Likewise.
32165         * nss/Makefile: Likewise.
32166         * time/Makefile: Likewise.
32167         * soft-fp/Makefile: Likewise.
32168         * dirent/Makefile: Likewise.
32169         * gmon/Makefile: Likewise.
32170         * po/Makefile: Likewise.
32171         * rt/Makefile: Likewise.
32172         * socket/Makefile: Likewise.
32173         * math/Makefile: Likewise.
32174         * signal/Makefile: Likewise.
32175         * debug/Makefile: Likewise.
32176         * elf/Makefile: Likewise.
32177         * timezone/Makefile: Likewise.
32178         * stdlib/Makefile: Likewise.
32179         * iconvdata/Makefile: Likewise.
32180         * sunrpc/Makefile: Likewise.
32181         * io/Makefile: Likewise.
32182         * argp/Makefile: Likewise.
32183         * inet/Makefile: Likewise.
32184         * hesiod/Makefile: Likewise.
32185         * grp/Makefile: Likewise.
32186         * csu/Makefile: Likewise.
32187         * wctype/Makefile: Likewise.
32188         * crypt/Makefile: Likewise.
32189         * libio/Makefile: Likewise.
32190         * string/Makefile: Likewise.
32191         * nis/Makefile: Likewise.
32192         * resolv/Makefile: Likewise.
32193         * stdio-common/Makefile: Likewise.
32194         * wcsmbs/Makefile: Likewise.
32195         * dlfcn/Makefile: Likewise.
32196         * posix/Makefile: Likewise.
32198         [BZ #6959]
32199         * timezone/Makefile: Don't install timezone files, just the programs
32200         and scripts.
32202 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32204         * nss/databases.def: Add missing gshadow entry.
32206         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32208 2012-03-06  Marek Polacek  <polacek@redhat.com>
32210         [BZ #13726]
32211         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32212         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32213         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32214         * stdio-common/tst-long-dbl-fphex.c: New file.
32216 2012-03-06  David S. Miller  <davem@davemloft.net>
32218         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32219         (set_obp_int): New function.
32220         (get_obp_int): New function.
32221         (__get_clockfreq_via_dev_openprom): Likewise.
32222         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32223         Avoid unused variable warnings on 'val' and use builtin_expect.
32224         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32225         __builtin_expect.
32226         (INLINE_CLONE_SYSCALL): Likewise.
32228 2012-03-05  David S. Miller  <davem@davemloft.net>
32230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32232 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32236         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32237         only for |x| >= 40.
32238         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32240 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32242         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32243         Replace gettimeofday with __vdso_gettimeofday.
32245         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32246         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32247         __vdso_clock_gettime and __vdso_getcpu.
32249         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32250         time with __vdso_time.
32252 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32254         * manual/lang.texi (size_t): Note types to which size_t may be
32255         equivalent with the GNU C Library, but do not describe when
32256         differences between them are significant.
32258 2012-03-05  Andreas Jaeger  <aj@suse.de>
32260         * sysdeps/i386/fpu/libm-test-ulps: Update.
32262 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32264         [BZ #3976]
32265         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32266         (__ieee754_pow): Save and restore rounding mode and use
32267         round-to-nearest for main computations.
32268         * math/libm-test.inc (pow_test_tonearest): New function.
32269         (pow_test_towardzero): Likewise.
32270         (pow_test_downward): Likewise.
32271         (pow_test_upward): Likewise.
32272         (main): Call the new functions.
32273         * sysdeps/i386/fpu/libm-test-ulps: Update.
32274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32276         [BZ #3976]
32277         * math/libm-test.inc (cosh_test_tonearest): New function.
32278         (cosh_test_towardzero): Likewise.
32279         (cosh_test_downward): Likewise.
32280         (cosh_test_upward): Likewise.
32281         (sinh_test_tonearest): Likewise.
32282         (sinh_test_towardzero): Likewise.
32283         (sinh_test_downward): Likewise.
32284         (sinh_test_upward): Likewise.
32285         (main): Call the new functions.
32286         * sysdeps/i386/fpu/libm-test-ulps: Update.
32287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32291         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32292         default stack guard is set in last bytes.
32293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32295 2012-03-05  Kees Cook  <keescook@chromium.org>
32297         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32299         [BZ #13656]
32300         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32301         possibly allocate from heap instead of stack.
32302         * stdio-common/bug-vfprintf-nargs.c: New file.
32303         * stdio-common/Makefile (tests): Add nargs overflow test.
32305 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32309 2012-03-03  Marek Polacek  <polacek@redhat.com>
32311         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32312         * math/math_private.h: Likewise.
32313         * stdlib/tst-strtod.c: Likewise.
32314         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32315         * sysdeps/x86_64/bits/atomic.h: Likewise.
32317 2012-03-02  David S. Miller  <davem@davemloft.net>
32319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32323         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32324         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32325         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32326         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32328 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32330         [BZ #13792]
32331         * manual/examples/README: New file, says the example source files
32332         can be used under GPL>=2.
32333         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32334         line containing just "*/".
32335         * manual/examples/add.c: Add copyright header (GPL>=2).
32336         * manual/examples/argp-ex1.c: Likewise.
32337         * manual/examples/argp-ex2.c: Likewise.
32338         * manual/examples/argp-ex3.c: Likewise.
32339         * manual/examples/argp-ex4.c: Likewise.
32340         * manual/examples/atexit.c: Likewise.
32341         * manual/examples/db.c: Likewise.
32342         * manual/examples/dir.c: Likewise.
32343         * manual/examples/dir2.c: Likewise.
32344         * manual/examples/execinfo.c: Likewise.
32345         * manual/examples/filecli.c: Likewise.
32346         * manual/examples/filesrv.c: Likewise.
32347         * manual/examples/fmtmsgexpl.c: Likewise.
32348         * manual/examples/genpass.c: Likewise.
32349         * manual/examples/inetcli.c: Likewise.
32350         * manual/examples/inetsrv.c: Likewise.
32351         * manual/examples/isockad.c: Likewise.
32352         * manual/examples/longopt.c: Likewise.
32353         * manual/examples/memopen.c: Likewise.
32354         * manual/examples/memstrm.c: Likewise.
32355         * manual/examples/mkfsock.c: Likewise.
32356         * manual/examples/mkisock.c: Likewise.
32357         * manual/examples/mygetpass.c: Likewise.
32358         * manual/examples/pipe.c: Likewise.
32359         * manual/examples/popen.c: Likewise.
32360         * manual/examples/rprintf.c: Likewise.
32361         * manual/examples/search.c: Likewise.
32362         * manual/examples/select.c: Likewise.
32363         * manual/examples/setjmp.c: Likewise.
32364         * manual/examples/sigh1.c: Likewise.
32365         * manual/examples/sigusr.c: Likewise.
32366         * manual/examples/stpcpy.c: Likewise.
32367         * manual/examples/strdupa.c: Likewise.
32368         * manual/examples/strftim.c: Likewise.
32369         * manual/examples/strncat.c: Likewise.
32370         * manual/examples/subopt.c: Likewise.
32371         * manual/examples/swapcontext.c: Likewise.
32372         * manual/examples/termios.c: Likewise.
32373         * manual/examples/testopt.c: Likewise.
32374         * manual/examples/testpass.c: Likewise.
32375         * manual/examples/timeval_subtract.c: Likewise.
32377         [BZ #13792]
32378         * manual/time.texi (Elapsed Time): Move timeval_subtract example
32379         function to ...
32380         * manual/timeval_subtract.c.texi: ... here, new file.
32382 2012-03-02  David S. Miller  <davem@davemloft.net>
32384         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32386 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
32388         [BZ #3976]
32389         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32390         (__sin): Save and restore rounding mode and use round-to-nearest
32391         for all computations.
32392         (__cos): Save and restore rounding mode and use round-to-nearest
32393         for all computations.
32394         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32395         <fenv.h>.
32396         (tan): Save and restore rounding mode and use round-to-nearest for
32397         all computations.
32398         * math/libm-test.inc (cos_test_tonearest): New function.
32399         (cos_test_towardzero): Likewise.
32400         (cos_test_downward): Likewise.
32401         (cos_test_upward): Likewise.
32402         (sin_test_tonearest): Likewise.
32403         (sin_test_towardzero): Likewise.
32404         (sin_test_downward): Likewise.
32405         (sin_test_upward): Likewise.
32406         (tan_test_tonearest): Likewise.
32407         (tan_test_towardzero): Likewise.
32408         (tan_test_downward): Likewise.
32409         (tan_test_upward): Likewise.
32410         (main): Call the new functions.
32411         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414         [BZ #10135]
32415         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32416         small n, then large n, before computing and testing k+n.
32417         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32418         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32419         Likewise.
32420         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32421         Likewise.
32422         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32423         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32425         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32426         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32427         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32429         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32430         * math/libm-test.inc (scalbn_test): Add more tests.
32431         (scalbln_test): Likewise.
32433         * manual/filesys.texi (mode_t): Describe constraints on size and
32434         signedness, not exact equivalence to a particular type.
32435         (ino_t): Likewise.
32436         (ino64_t): Likewise.
32437         (dev_t): Likewise.
32438         (nlink_t): Likewise.
32439         (blkcnt_t): Likewise.
32440         (blkcnt64_t): Likewise.
32441         * manual/llio.texi (off_t): Likewise.
32443         [BZ #3976]
32444         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32445         (__ieee754_exp): Save and restore rounding mode and use
32446         round-to-nearest for all computations.
32447         * math/libm-test.inc (exp_test_tonearest): New function.
32448         (exp_test_towardzero): Likewise.
32449         (exp_test_downward): Likewise.
32450         (exp_test_upward): Likewise.
32451         (main): Call the new functions.
32452         * sysdeps/i386/fpu/libm-test-ulps: Update.
32453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32455 2012-03-01  Chris Demetriou  <cgd@google.com>
32457         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32458         have predictable order.
32460 2012-03-01  David S. Miller  <davem@davemloft.net>
32462         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32464         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32465         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
32466         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
32467         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
32469         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
32470         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
32471         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
32472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
32473         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
32474         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
32475         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
32476         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
32477         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
32479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32481         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
32482         * sysdeps/sparc/fpu/libm-test-ulps: to here.
32483         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
32485         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32486         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32487         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32488         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
32489         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
32490         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
32491         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
32492         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32493         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32494         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
32495         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
32496         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32498         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32499         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32501         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
32502         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
32503         * sysdeps/sparc/elf/configure: Regenerated.
32505 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
32507         * configure.in (AS, LD): Require binutils 2.20 or later.
32508         * configure: Regenerated.
32509         * manual/install.texi (Tools for Compilation): Give binutils 2.20
32510         as required minimum version.
32511         * INSTALL: Regenerated.
32513         [BZ #2541]
32514         [BZ #4108]
32515         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
32516         before squaring exponent.
32517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
32518         bottom long double and 27 bits of top long double before squaring
32519         exponent.
32520         * math/libm-test.inc (erfc_test): Add more tests.
32521         * sysdeps/i386/fpu/libm-test-ulps: Update.
32522         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32525 2012-03-01  Kai Tietz  <ktietz@redhat.com>
32527         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
32528         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
32529         containing bit-fields.
32530         * soft-fp/extended.h (_FP_UNION_E): Likewise.
32531         * soft-fp/single.h (_FP_UNION_S): Likewise.
32532         * soft-fp/double.h (_FP_UNION_D): Likewise.
32534 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32536         [BZ #13786]
32537         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
32538         not include ../strcmp.S.
32539         [USE_AS_STRNCASECMP_L]: Likewise.
32540         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
32541         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
32542         * sysdeps/i386/i686/multiarch/strncase_l-c.c
32543         (__strncasecmp_l_ia32): Define as alias to
32544         __strncasecmp_l_nonascii.
32546         [BZ #5794]
32547         * math/libm-test.inc (expm1_test): Add test for bug 5794.
32548         * sysdeps/i386/fpu/libm-test-ulps: Update.
32549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32551         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
32552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32554 2012-02-29  Jeff Law  <law@redhat.com>
32556         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
32557         out of bounds read.
32559 2012-02-29  Marek Polacek  <polacek@redhat.com>
32561         [BZ #13706]
32562         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
32563         * elf/Makefile: Add rules to run tst-unused-dep.out.
32565 2012-02-28  David S. Miller  <davem@davemloft.net>
32567         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
32568         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
32569         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
32570         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
32571         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
32572         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
32574 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32576         * math/libm-test.inc (llround_test): Move one test from
32577         lround_test.  Use TEST_f_L in moved test.
32578         (lround_test): Move misplaced test to llround_test.  Add testcase
32579         from bug 2561.
32581 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
32583         * sysdeps/x86_64/fpu/e_expf.S: New file.
32584         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
32586 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
32588         [BZ #13637]
32589         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
32590         of remain_len that may cause incomplete multi-byte character and
32591         false match.
32592         * posix/bug-regex33.c: New file.
32593         * posix/Makefile (tests): Add bug-regex33.
32595 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
32597         * manual/macros.texi: New file.
32598         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
32599         * manual/libc.texinfo: Include macros.texi.
32600         * manual/creatute.texi: Likewise.
32601         * manual/install.texi: Likewise.
32602         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
32603         @glibcadj{} in references to the GNU C Library.
32604         * manual/charset.texi: Likewise.
32605         * manual/conf.texi: Likewise.
32606         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
32607         when not using those macros.
32608         * manual/creature.texi: Likewise.
32609         * manual/crypt.texi: Likewise.
32610         * manual/errno.texi: Likewise.
32611         * manual/filesys.texi: Likewise.
32612         * manual/header.texi: Likewise.
32613         * manual/install.texi: Likewise.
32614         * manual/intro.texi: Likewise.
32615         * manual/io.texi: Likewise.
32616         * manual/job.texi: Likewise.
32617         * manual/lang.texi: Likewise.
32618         * manual/libc.texiinfo: Likewise.
32619         * manual/llio.texi: Likewise.
32620         * manual/locale.texi: Likewise.
32621         * manual/maint.texi: Likewise.
32622         * manual/math.texi: Likewise.
32623         * manual/memory.texi: Likewise.
32624         * manual/message.texi: Likewise.
32625         * manual/nss.texi: Likewise.
32626         * manual/pattern.texi: Likewise.
32627         * manual/process.texi: Likewise.
32628         * manual/resource.texi: Likewise.
32629         * manual/search.texi: Likewise.
32630         * manual/setjmp.texi: Likewise.
32631         * manual/signal.texi: Likewise.
32632         * manual/socket.texi: Likewise.
32633         * manual/startup.texi: Likewise.
32634         * manual/stdio.texi: Likewise.
32635         * manual/string.texi: Likewise.
32636         * manual/sysinfo.texi: Likewise.
32637         * manual/syslog.texi: Likewise.
32638         * manual/terminal.texi: Likewise.
32639         * manual/time.texi: Likewise.
32640         * manual/users.texi: Likewise.
32641         * INSTALL: Regenerated.
32642         * NOTES: Regenerated.
32643         * sysdeps/gnu/errlist.c: Regenerated.
32645 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
32647         * include/dirent.h: Include <dirstream.h> before
32648         <dirent/dirent.h>.
32650 2012-02-28  David S. Miller  <davem@davemloft.net>
32652         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
32653         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
32654         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
32655         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
32657 2012-02-27  David S. Miller  <davem@davemloft.net>
32659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
32660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
32661         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
32662         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
32664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
32665         frame pointer instead of stack pointer relative arg slot.
32666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32667         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32668         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32670 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
32672         [BZ #3992]
32673         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
32675 2012-02-27  David S. Miller  <davem@davemloft.net>
32677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
32678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
32681         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32682         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32683         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
32684         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
32686 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32688         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
32689         later.  Allow versions 5-9.
32690         * configure: Regenerated.
32691         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
32692         required minimum version and 4.6 as recommended version.  Do not
32693         mention bugs in GCC 2.7 and 2.8.
32694         * INSTALL: Regenerated.
32696 2012-02-27  David S. Miller  <davem@davemloft.net>
32698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32702         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32703         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32704         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32705         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32707         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32708         manipulate bits before adding and subtracting TWO112[sx].
32709         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32711 2012-02-27  Roland McGrath  <roland@hack.frob.com>
32713         [BZ #13775]
32714         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32715         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32716         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32717         being in POSIX, because they are in 1003.1-2008.
32719         * rt/tst-aio.c: Include <fcntl.h>.
32720         * rt/tst-aio7.c: Likewise.
32721         * rt/tst-aio64.c: Likewise.
32723         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32725 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32727         * manual/install.texi (--with-headers): Describe headers as
32728         interface headers, not private headers.
32729         (Specific advice for GNU/Linux systems): Describe use of headers
32730         from "make headers_install", not private headers from older
32731         kernels.
32732         * INSTALL: Regenerated.
32733         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32734         Change to 2.6.19.
32735         * sysdeps/unix/sysv/linux/configure: Regenerated.
32737         * manual/llio.texi (fclean): Remove documentation.
32739         * manual/Makefile (libc-texi-generated): New variable.  Include
32740         version.texi.
32741         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32742         $(libc-texi-generated), not duplicated list of files.
32743         (version.texi, stamp-version): New rules.
32744         (realclean): Remove $(libc-texi-generated), not individual files
32745         from that list.  Do not remove dir-add.texinfo.
32746         * manual/libc.texinfo: Comment out uses of edition numbers and
32747         references to printed manual.  Remove last-updated dates.
32748         (EDITION): Comment out.
32749         (ISBN): Likewise.
32750         (VERSION, UPDATED): Remove.
32751         (version.texi): Include.
32753 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
32755         * sysdeps/posix/spawni.c: Include <signal.h>.
32756         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32757         * sysdeps/pthread/aio_fsync.c: Likewise.
32759 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
32761         * conform/Makefile (tests): Run only when not cross-compiling and
32762         when fast-check is not defined.
32764         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32765         * conform/data/limits.h-data: Fixes for POSIX2008.
32766         * conform/run-conformtest.sh: Run all tests.
32767         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32768         headers.
32769         * include/bits/dlfcn.h: Likewise.
32770         * include/langinfo.h: Likewise.
32771         * include/monetary.h: Likewise.
32772         * include/sys/poll.h: Likewise.
32774         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32775         for __USE_GNU.
32776         * posix/spawn.h: Define __need_sigset_t.
32777         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32778         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32779         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
32780         to get sigevent_t only.
32781         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32782         only for __USE_GNU.
32783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32784         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32785         process_vm_writev only for __USE_GNU.
32786         * termios/termios.h: Declare tcgetsid also for POSIX2008.
32788         * conform/Makefile: For now ignore errors from run-conformtest.
32789         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
32790         POSIX to avoid namespace pollution.  Don't prepend headers.
32791         * conform/data/aio.h-data: Fixes for POSIX testing.
32792         * conform/data/fcntl.h-data: Likewise.
32793         * conform/data/glob.h-data: Likewise.
32794         * conform/data/grp.h-data: Likewise.
32795         * conform/data/pthread.h-data: Likewise.
32796         * conform/data/pwd.h-data: Likewise.
32797         * conform/data/signal.h-data: Likewise.
32798         * conform/data/spawn.h-data: Likewise.
32799         * conform/data/stdio.h-data: Likewise.
32800         * conform/data/stdlib.h-data: Likewise.
32801         * conform/data/stropts.h-data: Likewise.
32802         * conform/data/sys/mman.h-data: Likewise.
32803         * conform/data/sys/stat.h-data: Likewise.
32804         * conform/data/sys/types.h-data: Likewise.
32805         * conform/data/sys/wait.h-data: Likewise.
32806         * conform/data/time.h-data: Likewise.
32807         * conform/data/unistd.h-data: Likewise.
32808         * conform/data/utime.h-data: Likewise.
32810         * io/sys/stat.h: fchmod was always in POSIX.
32811         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32812         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32813         * rt/aio.h: Define __need_timespec before including <time.h>.
32814         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32815         struct.  Add forward declaration of pthread_attr_t and use it in
32816         sigevent.
32817         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32818         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32819         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32820         always remove CLK_TCK definition.
32822 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
32824         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32826 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
32828         * conform/run-conformtest.sh: New file.
32829         * conform/Makefile: Run run-conformtest for tests.
32830         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
32831         support.
32833         * conform/data/uchar.h-data: New file.
32834         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32835         * conform/data/arpa/inet.h-data: Likewise.
32836         * conform/data/assert.h-data: Likewise.
32837         * conform/data/complex.h-data: Likewise.
32838         * conform/data/cpio.h-data: Likewise.
32839         * conform/data/ctype.h-data: Likewise.
32840         * conform/data/dirent.h-data: Likewise.
32841         * conform/data/dlfcn.h-data: Likewise.
32842         * conform/data/errno.h-data: Likewise.
32843         * conform/data/fcntl.h-data: Likewise.
32844         * conform/data/float.h-data: Likewise.
32845         * conform/data/fmtmsg.h-data: Likewise.
32846         * conform/data/fnmatch.h-data: Likewise.
32847         * conform/data/ftw.h-data: Likewise.
32848         * conform/data/glob.h-data: Likewise.
32849         * conform/data/grp.h-data: Likewise.
32850         * conform/data/iconv.h-data: Likewise.
32851         * conform/data/inttypes.h-data: Likewise.
32852         * conform/data/langinfo.h-data: Likewise.
32853         * conform/data/libgen.h-data: Likewise.
32854         * conform/data/limits.h-data: Likewise.
32855         * conform/data/locale.h-data: Likewise.
32856         * conform/data/math.h-data: Likewise.
32857         * conform/data/monetary.h-data: Likewise.
32858         * conform/data/mqueue.h-data: Likewise.
32859         * conform/data/ndbm.h-data: Likewise.
32860         * conform/data/net/if.h-data: Likewise.
32861         * conform/data/netdb.h-data: Likewise.
32862         * conform/data/netinet/in.h-data: Likewise.
32863         * conform/data/nl_types.h-data: Likewise.
32864         * conform/data/poll.h-data: Likewise.
32865         * conform/data/pthread.h-data: Likewise.
32866         * conform/data/pwd.h-data: Likewise.
32867         * conform/data/regex.h-data: Likewise.
32868         * conform/data/sched.h-data: Likewise.
32869         * conform/data/search.h-data: Likewise.
32870         * conform/data/semaphore.h-data: Likewise.
32871         * conform/data/setjmp.h-data: Likewise.
32872         * conform/data/signal.h-data: Likewise.
32873         * conform/data/spawn.h-data: Likewise.
32874         * conform/data/stdarg.h-data: Likewise.
32875         * conform/data/stdio.h-data: Likewise.
32876         * conform/data/stdlib.h-data: Likewise.
32877         * conform/data/string.h-data: Likewise.
32878         * conform/data/strings.h-data: Likewise.
32879         * conform/data/stropts.h-data: Likewise.
32880         * conform/data/sys/ipc.h-data: Likewise.
32881         * conform/data/sys/mman.h-data: Likewise.
32882         * conform/data/sys/msg.h-data: Likewise.
32883         * conform/data/sys/resource.h-data: Likewise.
32884         * conform/data/sys/select.h-data: Likewise.
32885         * conform/data/sys/sem.h-data: Likewise.
32886         * conform/data/sys/shm.h-data: Likewise.
32887         * conform/data/sys/socket.h-data: Likewise.
32888         * conform/data/sys/stat.h-data: Likewise.
32889         * conform/data/sys/statvfs.h-data: Likewise.
32890         * conform/data/sys/time.h-data: Likewise.
32891         * conform/data/sys/timeb.h-data: Likewise.
32892         * conform/data/sys/times.h-data: Likewise.
32893         * conform/data/sys/types.h-data: Likewise.
32894         * conform/data/sys/uio.h-data: Likewise.
32895         * conform/data/sys/un.h-data: Likewise.
32896         * conform/data/sys/utsname.h-data: Likewise.
32897         * conform/data/sys/wait.h-data: Likewise.
32898         * conform/data/syslog.h-data: Likewise.
32899         * conform/data/tar.h-data: Likewise.
32900         * conform/data/termios.h-data: Likewise.
32901         * conform/data/utime.h-data: Likewise.
32902         * conform/data/utmpx.h-data: Likewise.
32903         * conform/data/varargs.h-data: Likewise.
32904         * conform/data/wchar.h-data: Likewise.
32905         * conform/data/wctype.h-data: Likewise.
32906         * conform/data/wordexp.h-data: Likewise.
32908         * include/stropts.h: New file.
32909         * include/uchar.h: New file.
32910         * include/aio.h: Changes to allow conformtest.pl to use the headers.
32911         * include/assert.h: Likewise.
32912         * include/ctype.h: Likewise.
32913         * include/dirent.h: Likewise.
32914         * include/dlfcn.h: Likewise.
32915         * include/fcntl.h: Likewise.
32916         * include/fnmatch.h: Likewise.
32917         * include/glob.h: Likewise.
32918         * include/grp.h: Likewise.
32919         * include/libio.h: Likewise.
32920         * include/locale.h: Likewise.
32921         * include/math.h: Likewise.
32922         * include/net/if.h: Likewise.
32923         * include/netdb.h: Likewise.
32924         * include/netinet/in.h: Likewise.
32925         * include/pthread.h: Likewise.
32926         * include/pwd.h: Likewise.
32927         * include/regex.h: Likewise.
32928         * include/sched.h: Likewise.
32929         * include/search.h: Likewise.
32930         * include/setjmp.h: Likewise.
32931         * include/signal.h: Likewise.
32932         * include/stdio.h: Likewise.
32933         * include/stdlib.h: Likewise.
32934         * include/string.h: Likewise.
32935         * include/sys/cdefs.h: Likewise.
32936         * include/sys/mman.h: Likewise.
32937         * include/sys/msg.h: Likewise.
32938         * include/sys/resource.h: Likewise.
32939         * include/sys/select.h: Likewise.
32940         * include/sys/socket.h: Likewise.
32941         * include/sys/stat.h: Likewise.
32942         * include/sys/statvfs.h: Likewise.
32943         * include/sys/time.h: Likewise.
32944         * include/sys/times.h: Likewise.
32945         * include/sys/uio.h: Likewise.
32946         * include/sys/utsname.h: Likewise.
32947         * include/sys/wait.h: Likewise.
32948         * include/termios.h: Likewise.
32949         * include/time.h: Likewise.
32950         * include/ulimit.h: Likewise.
32951         * include/unistd.h: Likewise.
32952         * include/utime.h: Likewise.
32953         * include/wchar.h: Likewise.
32954         * include/wctype.h: Likewise.
32955         * include/wordexp.h: Likewise.
32957         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32959         * time/time.h: TIME_UTC must be a macro.
32960         Make timespec_get available for ISO C11 only as well.
32962 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
32964         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32965         Reported by Peng Haitao <penght@cn.fujitsu.com>.
32967 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32969         * configure.in: Use -o not -a in test for unsupported multi-arch.
32971 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32973         * manual/texinfo.tex: Update to version 2012-01-19.16.
32975 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32977         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32979 2012-02-24  Roland McGrath  <roland@hack.frob.com>
32981         [BZ #13738]
32982         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32983         * manual/fdl-1.3.texi: New file.
32984         * manual/fdl-1.1.texi: File removed.
32986         [BZ #13738]
32987         * manual/libc.texinfo (FDL_VERSION): New @set.
32988         Use it for mention of FDL in cover text.
32989         (Documentation License): Use it in @include file name.
32991 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32992             Roland McGrath  <roland@hack.frob.com>
32994         [BZ #5461]
32995         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32996         not LONG_LONG_MAX and LONG_LONG_MIN.
32997         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32998         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
32999         name.
33000         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33002 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33004         [BZ #2547]
33005         [BZ #11365]
33006         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33007         manipulate bits before adding and subtracting TWO23[sx].
33008         * math/libm-test.inc (nearbyint_test): Add more tests.
33010 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33012         [BZ #2548]
33013         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33014         bits before adding and subtracting TWO23[sx].
33015         * math/libm-test.inc (rint_test): Add more tests.
33016         (rint_test_tonearest): Likewise.
33017         (rint_test_towardzero): Likewise.
33018         (rint_test_downward): Likewise.
33019         (rint_test_upward: Likewise.
33021 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33023         [BZ #10110]
33024         * include/stdc-predef.h: New file.  Extracted from features.h.
33025         * include/features.h: Include stdc-predef.h.
33026         * Makefile (headers): Add stdc-predef.h.
33027         * CONFORMANCE (Compiler limitations): Update.
33029 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33031         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33033 2012-02-21  David S. Miller  <davem@davemloft.net>
33035         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33036         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33038 2012-02-20  David S. Miller  <davem@davemloft.net>
33040         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33041         using a normal save/restore sequence, rather than allocating a
33042         dummy stack frame just to store a frame pointer and restore.
33043         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33045 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33047         * manual/install.texi: Fix stray word in line-wrapped comment.
33049 2012-02-20  David S. Miller  <davem@davemloft.net>
33051         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33052         both binutils and gcc support GOTDATA.
33054         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33055         "rd %pc" in the PIC register setup sequences.
33057         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33058         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33059         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33060         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33061         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33062         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33063         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33064         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33066         (SYSCALL_ERROR_HANDLER): Likewise.
33067         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33068         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33070         (SYSCALL_ERROR_HANDLER): Likewise.
33072         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33073         (HAVE_GCC_GOTDATA): New.
33074         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33075         relocation support in both binutils and gcc.
33076         * sysdeps/sparc/elf/configure: Regenerate.
33078         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33079         * sysdeps/sparc/sparc32/elf/configure: Delete.
33080         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33081         * sysdeps/sparc/sparc64/elf/configure: Delete.
33082         * sysdeps/sparc/elf/configure.in: New file.
33083         * sysdeps/sparc/elf/configure: Generate.
33085         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33086         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33087         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33088         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33089         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33091 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33093         * manual/install.texi: Do not mention specific glibc version
33094         numbers.
33095         * manual/libc.texinfo (VERSION, UPDATED): Update.
33096         (@copying): Use @copyright{} and range of years.
33098 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33100         [BZ #13695]
33101         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33102         [crti.S not in sysdirs] (generated): Do not append.
33103         [crti.S not in sysdirs] (omit-deps): Likewise.
33104         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33105         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33106         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33107         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33108         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33109         Likewise.
33110         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33111         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33112         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33113         * csu/defs.awk: Remove file.
33114         * sysdeps/generic/initfini.c: Likewise.
33115         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33116         variable.
33117         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33118         Likewise.
33120 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33122         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33123         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33124         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33125         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33126         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33127         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33128         <bits/epoll.h>.
33129         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33130         (__EPOLL_PACKED): Define to empty if not defined by
33131         <bits/epoll.h>.
33132         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33134         bits/epoll.h.
33136 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33138         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33139         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33140         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33141         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33142         <bits/timerfd.h>.
33143         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33145         bits/timerfd.h.
33147 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33149         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33150         in C locale.
33151         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33152         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33153         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33156 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33158         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33159         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33161 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33163         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33164         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33165         defined.
33166         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33167         Likewise.
33168         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33169         entry for 2.16.
33171 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33173         * math/w_acos.c: Use non-signaling floating-point comparisons.
33174         * math/w_acosf.c: Likewise.
33175         * math/w_acosh.c: Likewise.
33176         * math/w_acoshf.c: Likewise.
33177         * math/w_acoshl.c: Likewise.
33178         * math/w_acosl.c: Likewise.
33179         * math/w_asin.c: Likewise.
33180         * math/w_asinf.c: Likewise.
33181         * math/w_asinl.c: Likewise.
33182         * math/w_atanh.c: Likewise.
33183         * math/w_atanhf.c: Likewise.
33184         * math/w_atanhl.c: Likewise.
33185         * math/w_exp2.c: Likewise.
33186         * math/w_exp2f.c: Likewise.
33187         * math/w_exp2l.c: Likewise.
33188         * math/w_j0.c: Likewise.
33189         * math/w_j0f.c: Likewise.
33190         * math/w_j0l.c: Likewise.
33191         * math/w_j1.c: Likewise.
33192         * math/w_j1f.c: Likewise.
33193         * math/w_j1l.c: Likewise.
33194         * math/w_jn.c: Likewise.
33195         * math/w_jnf.c: Likewise.
33196         * math/w_log.c: Likewise.
33197         * math/w_log10.c: Likewise.
33198         * math/w_log10f.c: Likewise.
33199         * math/w_log10l.c: Likewise.
33200         * math/w_log2.c: Likewise.
33201         * math/w_log2f.c: Likewise.
33202         * math/w_log2l.c: Likewise.
33203         * math/w_logf.c: Likewise.
33204         * math/w_logl.c: Likewise.
33205         * math/w_sqrt.c: Likewise.
33206         * math/w_sqrtf.c: Likewise.
33207         * math/w_sqrtl.c: Likewise.
33208         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33209         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33211         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33212         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33214 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33216         [BZ #9739]
33217         * manual/string.texi (strnlen): Use correct parameter name in
33218         equivalent expression.
33220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33222         [BZ #11174]
33223         * manual/users.texi (seteuid): Consistently use neweuid for
33224         argument name.
33226 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33228         [BZ #13704]
33229         * manual/nss.texi (Services in the NSS configuration): Correct
33230         list of services in example configuration file.
33232 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33234         [BZ #11322]
33235         * manual/arith.texi: Remove statements about negative zero
33236         behaving identically to zero.
33238 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33240         [BZ #5993]
33241         * manual/install.texi: Do not document upgrading from libc5.
33243 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33245         [BZ #4596]
33246         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33248 2012-02-18  David S. Miller  <davem@davemloft.net>
33250         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33251         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33252         %o7 across the call.
33253         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33254         instead.
33255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33256         SETUP_PIC_REG_LEAF.
33257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33258         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33259         * sysdeps/sparc/crtn.S: Likewise.
33261 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33263         * aout/Makefile: Remove.
33265 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33267         [BZ #13058]
33268         * manual/examples/argp-ex1.c (main): Format definition in GNU
33269         style.
33270         * manual/examples/argp-ex2.c (main): Likewise.
33271         * manual/examples/argp-ex3.c (main): Likewise.
33272         * manual/examples/argp-ex4.c (main): Likewise.
33273         * manual/examples/longopt.c (main): Use new-style prototype
33274         definition.
33275         * manual/examples/strncat.c (main): Specify return type and use
33276         (void) for arguments.
33277         * manual/examples/subopt.c (main): Use char **argv argument.
33279 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33281         [BZ #5077]
33282         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33283         rounding modes.
33285 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33287         [BZ #6907]
33288         * manual/string.texi (strchr): Change when strchrnul is
33289         recommended.
33291 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33293         [BZ #174]
33294         * manual/locale.texi (setlocale): Document LOCPATH.
33296 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33298         [BZ #10210]
33299         * manual/process.texi (execle): Move @dots{} before last argument.
33301 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33303         [BZ #12047]
33304         * manual/charset.texi (Generic Charset Conversion): Fix typo
33305         (LC_TYPE -> LC_CTYPE).
33307 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33309         [BZ #5805]
33310         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33311         (scalbnf): Likewise.
33312         (scalbnl): Likewise.
33313         (scalbln): Likewise.
33314         (scalblnf): Likewise.
33315         (scalblnl): Likewise.
33316         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33317         (vwarnx): Likewise.
33318         (verr): Likewise.
33319         (verrx): Likewise.
33320         * manual/filesys.texi (telldir): Use braces around return type.
33321         * manual/llio.texi (mmap): Add space after comma.
33322         (mmap64): Likewise.
33323         * manual/math.texi (jn): Use @var{} on parameter names.
33324         (jnf): Likewise.
33325         (jnl): Likewise.
33326         (yn): Likewise.
33327         (ynf): Likewise.
33328         (ynl): Likewise.
33329         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33330         line.
33331         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33332         "...".
33333         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33334         (sched_get_priority_max): Likewise.
33335         * manual/signal.texi (sigvec): Add space after comma.
33336         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33337         names.
33338         (if_indextoname): Likewise.
33339         (if_freenameindex): Likewise.
33340         (sendto): Use ',' instead of '.' in prototype.
33341         * manual/startup.texi (syscall): Use @dots{} instead of literal
33342         "...".
33343         * manual/stdio.texi (__fpending): Separate initial words of
33344         paragraph from @deftypefun line.
33345         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33346         "...".
33347         (vsyslog): Use @var{} on parameter names.
33348         * manual/terminal.texi (stty): Use @var{} on parameter names.
33349         * manual/users.texi (getutmp): Use @var{} on parameter names.
33350         (getutmpx): Likewise.
33352 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33354         [BZ #6884]
33355         * manual/stdio.texi (fopen): Fix typos in description of
33356         ",ccs=STRING".
33358 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33360         [BZ #4026]
33361         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33362         get clock_id definition.
33364 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33366         [BZ #4822]
33367         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33368         (madvise): Cast every argument to void on its own.
33370 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33372         [BZ #9902]
33373         * manual/startup.texi (Exit Status): Fix typo.
33375 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33377         [BZ #10140]
33378         * manual/examples/argp-ex1.c: Include <stdlib.h>.
33379         * manual/examples/argp-ex2.c: Likewise.
33380         * manual/examples/argp-ex3.c: Likewise.
33382 2012-02-16  Richard Henderson  <rth@redhat.com>
33384         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33385         * sysdeps/s390/s390-32/initfini.c: Remove.
33386         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33387         * sysdeps/s390/s390-64/initfini.c: Remove.
33389 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33391         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33392         compiler output for sysdeps/generic/initfini.c.
33393         * sysdeps/sh/elf/initfini.c: Remove file.
33395 2012-02-16  David S. Miller  <davem@davemloft.net>
33397         [BZ #11494]
33398         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33400         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33401         * sysdeps/sparc/crti.S: New file.
33402         * sysdeps/sparc/crtn.S: New file.
33403         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33404         * sysdeps/sparc/sparc64/Makefile: Likewise.
33406 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
33408         [BZ #3335]
33409         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33411 2012-02-15  Roland McGrath  <roland@hack.frob.com>
33413         [BZ #4822]
33414         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33416         * mach/devstream.c (cookie_io_functions_t): Macro removed.
33417         (write, read, close): Likewise.
33418         Patch by Aurelien Jarno <aurelien@aurel32.net>.
33420 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
33422         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33423         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33424         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33425         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33426         <bits/signalfd.h>.
33427         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33428         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33429         bits/signalfd.h.
33431 2012-02-14  Marek Polacek  <polacek@redhat.com>
33433         * sysdeps/x86_64/crti.S: New file.
33434         * sysdeps/x86_64/crtn.S: New file.
33435         * sysdeps/x86_64/elf/initfini.c: Remove file.
33437 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33439         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33440         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33441         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33442         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33443         <bits/inotify.h>.
33444         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33446         bits/inotify.h.
33448 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33450         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33451         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33452         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33453         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33454         <bits/eventfd.h>.
33455         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33457         bits/eventfd.h.
33459 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
33461         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33462         __feraiseexcept instead of feraiseexcept.
33464         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33465         nanosleep invocations.
33466         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
33467         strings, and add error checking for a nanosleep invocations.
33469 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
33471         Replace FSF snail mail address with URLs, as per GNU coding standards.
33472         Most of the snail mail addresses were wrong anyway, and omitting
33473         them makes the source code easier to maintain.  Almost all of the
33474         changes are to license notices and to locale LC_IDENTIFICATION
33475         addresses, except for this one:
33476         * manual/libc.texinfo: In "Published by", give the FSF's URL,
33477         not its snail mail address.
33479 2012-02-09  Richard Henderson  <rth@twiddle.net>
33481         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
33482         of kernel-features.h.
33484         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
33486 2012-02-08  Marek Polacek  <polacek@redhat.com>
33488         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
33489         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
33490         * sysdeps/gnu/_G_config.h: Likewise.
33491         * sysdeps/generic/_G_config.h: Likewise.
33493 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
33495         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
33496         tests.
33497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33499         * sysdeps/powerpc/powerpc32/crti.S: New file.
33500         * sysdeps/powerpc/powerpc32/crtn.S: New file.
33501         * sysdeps/powerpc/powerpc64/crti.S: New file.
33502         * sysdeps/powerpc/powerpc64/crtn.S: New file.
33504         * Makeconfig (have-initfini): Don't set.
33505         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
33506         * configure.in (nopic_initfini): Don't substitute.
33507         * config.h.in (HAVE_INITFINI): Don't #undef.
33508         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
33509         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
33511 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
33513         Support crti.S and crtn.S provided directly by architectures.
33514         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
33515         [crti.S in sysdirs] (omit-deps): Likewise.
33516         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
33517         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
33518         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
33519         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
33520         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
33521         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
33522         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
33523         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
33524         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
33525         compiler output for sysdeps/generic/initfini.c.
33526         * sysdeps/i386/elf/Makefile: Remove file.
33527         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
33529 2012-02-07  Marek Polacek  <polacek@redhat.com>
33531         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
33532         * sysdeps/gnu/_G_config.h: Likewise.
33533         * sysdeps/mach/hurd/_G_config.h: Likewise.
33535 2012-02-07  Marek Polacek  <polacek@redhat.com>
33537         * math/Makefile (tests): Add tst-CMPLX2.
33538         * math/tst-CMPLX2.c: New file.
33540 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
33542         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33544         * math/libm-test.inc (jn_test): Add missing L suffix.
33546 2012-02-06  Marek Polacek  <polacek@redhat.com>
33548         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
33549         * sysdeps/i386/fpu/e_powf.S: Likewise.
33550         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33551         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33552         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33553         * sysdeps/i386/fpu/e_pow.S: Likewise.
33554         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33555         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33556         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33557         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33558         * sysdeps/i386/fpu/e_log2.S: Likewise.
33559         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33560         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33561         * sysdeps/i386/fpu/e_powl.S: Likewise.
33562         * sysdeps/i386/fpu/s_log1p.S: Likewise.
33563         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33564         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33565         * sysdeps/i386/fpu/e_logl.S: Likewise.
33566         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33567         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
33568         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33569         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33570         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33571         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33572         * sysdeps/i386/fpu/e_log.S: Likewise.
33573         * sysdeps/i386/fpu/s_cexp.S: Likewise.
33574         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33575         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
33576         * sysdeps/i386/fpu/e_logf.S: Likewise.
33577         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33578         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33579         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
33580         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33581         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33582         * sysdeps/i386/fpu/e_log10.S: Likewise.
33583         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33584         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33585         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33586         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33588         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33589         * sysdeps/i386/asm-syntax.h: Likewise.
33590         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33591         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33592         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33593         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
33594         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
33595         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33596         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33597         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33598         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33599         * sysdeps/powerpc/sysdep.h: Likewise.
33600         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
33601         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33603 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33605         [BZ #411]
33606         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
33608 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33610         * sysdeps/i386/sysdep.h: Include <features.h>.
33611         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
33612         version.
33614 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
33616         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
33617         Define.
33618         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
33619         LOAD_PIC_REG_STR.
33621 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33623         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
33624         (SETUP_PIC_REG): Use GET_PC_THUNK.
33625         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
33626         macro.
33628 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33630         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
33631         for non-PIC compilation.
33632         (SETUP_PIC_REG): Add .p2align directive.
33633         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
33634         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33635         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33636         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33637         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33638         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33639         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33640         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33641         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33642         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33643         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33644         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33645         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33646         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33647         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33648         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33649         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33650         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33651         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33652         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33653         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33654         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33655         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33656         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33657         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33659         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33660         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33661         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33662         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33663         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33664         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33665         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33666         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33667         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33668         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33669         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33670         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33671         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33672         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33673         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33675 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33677         * math/tst-CMPLX.c: Include <stdio.h>.
33679 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
33681         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
33682         float.
33683         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33684         * sysdeps/sparc/bits/mathdef.h: Likewise.
33686 2012-01-31  Marek Polacek  <polacek@redhat.com>
33688         * libio/libio.h: Don't define _PARAMS.
33689         * locale/programs/config.h: Don't define PARAMS.
33690         * stdlib/strtol_l.c: Likewise.
33691         (__strtol_l): Remove PARAMS from the prototype.
33693 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
33695         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
33696         names.  Just use the correct names.  Remove unnecessary wrapper
33697         functions.
33698         * malloc/arena.c: Likewise.
33699         * malloc/hooks.c: Likewise.
33701         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33702         ARENA_TEST says not to.  Simplify test for creation of a new arena.
33703         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33705 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
33707         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33708         into tail calls.
33709         (update_get_addr): New function.
33710         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33711         GET_ADDR_MODULE parameter.
33713 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33715         * crypt/cert.c: Remove __STDC__ conditionals.
33716         * crypt/crypt-entry.c: Likewise.
33717         * crypt/crypt_util.c: Likewise.
33718         * libio/filedoalloc.c: Likewise.
33719         * libio/fileops.c: Likewise.
33720         * libio/genops.c: Likewise.
33721         * libio/iofclose.c: Likewise.
33722         * libio/iofdopen.c: Likewise.
33723         * libio/iofopen.c: Likewise.
33724         * libio/iofopen64.c: Likewise.
33725         * libio/iogetdelim.c: Likewise.
33726         * libio/iopopen.c: Likewise.
33727         * libio/obprintf.c: Likewise.
33728         * libio/oldfileops.c: Likewise.
33729         * libio/oldiofclose.c: Likewise.
33730         * libio/oldiofdopen.c: Likewise.
33731         * libio/oldiofopen.c: Likewise.
33732         * libio/oldiopopen.c: Likewise.
33733         * libio/wfiledoalloc.c: Likewise.
33734         * libio/wgenops.c: Likewise.
33735         * locale/programs/xmalloc.c: Likewise.
33736         * misc/syslog.c: Likewise.
33737         * stdio-common/xbug.c: Likewise.
33738         * string/memchr.c: Likewise.
33739         * string/memcmp.c: Likewise.
33740         * string/memrchr.c: Likewise.
33741         * string/rawmemchr.c: Likewise.
33742         * sysdeps/posix/getcwd.c: Likewise.
33743         * time/strftime_l.c: Likewise.
33745 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33747         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33748         * config.make.in (config-cflags-sse2avx): Define.
33749         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33750         Fix typo.
33752 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
33754         * scripts/config.guess: Update from upstream config git repository.
33755         * scripts/config.sub: Likewise.
33757 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
33759         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33760         (EM_NUM): Update.
33761         (R_TILEPRO_*, R_TILEGX_*): New macros.
33763         * scripts/firstversions.awk: Fix bug in version range handling.
33765         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33767         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33769         * include/sys/epoll.h: New file.
33770         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33771         libc_hidden_def.
33773 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
33775         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33776         Avoid unnecessary __WORDSIZE == 64 test.
33777         (fmaxf): Use VEX format if possible.
33778         (fmax): Likewise.
33779         (fminf): Likewise.
33780         (fmin): Likewise.
33782         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33783         * math/math_private.h: Remove libc_fegetround* and
33784         libc_fesetround*.
33785         * sysdeps/i386/configure.in: Check for -msse2avx.
33786         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33787         also if SSE2AVX is defined.
33788         Remove libc_fegetround* and libc_fesetround*.
33789         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33790         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
33791         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33792         of HAS_YMM_USABLE.
33793         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33794         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33795         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33796         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33797         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33799         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33801 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33803         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33804         size is not set.
33805         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33807 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
33809         [BZ #13618]
33810         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33811         relocation.
33812         * Makeconfig (libm): Define.
33813         * elf/Makefile: Add rules to build and run tst-relsort1.
33814         * elf/tst-relsort1.c: New file.
33815         * elf/tst-relsort1mod1.c: New file.
33816         * elf/tst-relsort1mod2.c: New file.
33818 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
33820         * math/s_ldexp.c: Remove __STDC__ conditionals.
33821         * math/s_ldexpf.c: Likewise.
33822         * math/s_ldexpl.c: Likewise.
33823         * math/s_nextafter.c: Likewise.
33824         * math/s_nexttowardf.c: Likewise.
33825         * math/s_significand.c: Likewise.
33826         * math/s_significandf.c: Likewise.
33827         * math/s_significandl.c: Likewise.
33828         * math/w_jnl.c: Likewise.
33829         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33830         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33831         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33832         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33833         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33835         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33836         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33837         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33838         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33839         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33841         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33842         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33843         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33844         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33845         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33846         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33848         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33849         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33850         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33851         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33853         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33854         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33855         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33856         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33857         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33858         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33859         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33860         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33861         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33862         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33863         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33864         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33865         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33866         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33867         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33868         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33869         * sysdeps/ieee754/k_standard.c: Likewise.
33870         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33871         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33872         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33874         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33876         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33879         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33884         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33887         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33889         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33890         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33891         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33892         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33893         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33894         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33895         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33896         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33899         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33900         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33901         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33902         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33903         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33904         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33905         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33906         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33907         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33908         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33909         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33910         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33911         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33912         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33913         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33914         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33915         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33917         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33918         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33919         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33920         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33921         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33922         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33923         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33924         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33925         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33926         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33927         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33928         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33929         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33930         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33931         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33932         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33933         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33934         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33935         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33936         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33937         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33938         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33939         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33940         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33941         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33942         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33943         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33944         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33945         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33946         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33947         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33949         * sysdeps/ieee754/s_matherr.c: Likewise.
33950         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33951         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33953         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33955 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33957         * crypt/md5.h: Remove __STDC__ conditionals.
33958         * libio/libioP.h: Likewise.
33959         * locale/programs/config.h: Likewise.
33960         * sysdeps/generic/sysdep.h: Likewise.
33961         * sysdeps/i386/asm-syntax.h: Likewise.
33962         * sysdeps/s390/asm-syntax.h: Likewise.
33963         * sysdeps/unix/sysdep.h: Likewise.
33964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33967 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33969         * libio/libio.h: Remove __STDC__ conditionals.
33970         * malloc/obstack.h: Likewise.
33971         * math/complex.h: Likewise.
33972         * math/math.h: Likewise.
33973         * sysdeps/generic/_G_config.h: Likewise.
33974         * sysdeps/gnu/_G_config.h: Likewise.
33975         * sysdeps/mach/hurd/_G_config.h: Likewise.
33976         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33977         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33978         * sysdeps/sparc/bits/mathdef.h: Likewise.
33980 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
33982         [BZ #13583]
33983         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33984         Clean up HAS_* macros.
33985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33986         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33987         possible.
33988         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33989         HAS_AVX.
33990         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33991         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33992         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33993         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33994         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33996 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
33998         * elf/tst-unique3.cc (gets): Remove declaration.
33999         * elf/tst-unique3lib.cc (gets): Likewise.
34000         * elf/tst-unique3lib2.cc (gets): Likewise.
34001         * elf/tst-unique4.cc (gets): Likewise.
34003 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34005         * include/stdio.h: Add C++ protection.  Add gets declarations and
34006         definitions.
34007         * debug/tst-chk1.c: Don't declare gets here.
34008         * stdio-common/tst-gets.c: Likewise.
34010 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34012         * posix/glob: Remove directory.
34014 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34016         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34018 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34020         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34021         of the non-standard EPFNOSUPPORT.
34023 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34025         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34026         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34027         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34029 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34031         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34033 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34035         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34036         transient errors.
34037         * nscd/grpcache.c (cache_addgr): Likewise.
34038         * nscd/hstcache.c (cache_addhst): Likewise.
34039         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34040         * nscd/pwdcache.c (cache_addpw): Likewise.
34041         * nscd/servicescache.c (cache_addserv): Likewise.
34043 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34045         * malloc/malloc.c: Various cleanups.
34046         * malloc/hooks.c: Likewise.
34048         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34049         * stdlib/bug-fmtmsg1.c: New file.
34051         * stdlib/fmtmsg.c (init): Add missing unlock.
34052         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34054 2012-01-12  Marek Polacek  <polacek@redhat.com>
34056         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34057         and _GNU_SOURCE.
34059 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34061         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34062         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34063         macro to ensure uniqueness of label name.
34064         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34065         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34067 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34069         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34071         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34072         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34073         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34074         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34076 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34078         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34080         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34081         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34082         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34084         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34086         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34087         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34088         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34091         * math/bits/math-finite.h: Add ldexp support.
34093 2012-01-10  Marek Polacek  <polacek@redhat.com>
34095         * locale/programs/localedef.h (show_archive_content): Add noreturn
34096         attribute.
34098 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34100         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34102 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34104         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34106         * io/Makefile (headers): Add bits/poll2.h.
34108 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34111         typo #include statement.
34113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34115         * include/sys/cdefs.h: Define __attribute_alloc_size.
34116         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34117         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34118         * elf/pldd.c: Likewise.
34119         * iconv/iconv_charmap.c: Likewise.
34120         * iconv/iconvconfig.c: Likewise.
34121         * iconv/strtab.c: Likewise.
34122         * locale/programs/locale.c: Likewise.
34123         * locale/programs/localedef.h: Likewise.
34124         * locale/programs/simple-hash.c: Likewise.
34125         * nscd/nscd.h: Likewise.
34126         * nss/makedb.c: Likewise.
34127         * sysdeps/generic/ldconfig.h: Likewise.
34128         * locale/programs/localedef.c: Remove xmalloc prototype.
34129         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34131 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34133         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34134         appropriate.
34136 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34138         * math/Makefile (tests): Add tst-CMPLX.
34139         * math/tst-CMPLX.c: New file.
34141         * math/complex.h (CMPLXL): Fix typo.
34143         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34144         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34145         GLIBC_2.16.
34146         * debug/tst-chk1.c: Add poll and ppoll tests.
34147         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34148         * include/sys/poll.h: Add hidden proto for ppoll.
34149         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34150         * sysdeps/mach/hurd/ppoll.c: Likewise.
34151         * io/ppoll.c: Likewise.
34152         * debug/poll_chk.c: New file.
34153         * debug/ppoll_chk.c: New file.
34154         * include/bits/poll2.h: New file.
34155         * io/bits/poll2.h: New file.
34157         [BZ #1350]
34158         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34160         * configure.in: static is always set to yes.  Remove.
34161         * config.make.in: Don't set build-static.
34162         * Makeconfig: Remove use of build-static.
34163         * dlfcn/Makefile: Likewise.
34164         * elf/Makefile: Likewise.
34165         * math/Makefile: Likewise.
34166         * misc/Makefile: Likewise.
34167         * nptl/Makefile: Likewise.
34168         * sysdeps/mach/hurd/Makefile: Likewise.
34170         * configure.in: PWD_P is not used anymore.
34171         * config.make.in: Remove PWD_P entry.
34173         * configure.in: Remove last remnants of RANLIB.
34174         No need to check for signed size_t anymore.
34175         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34176         and IA-64.
34177         Remove __builtin_expect test because we require at least gcc 3.4.
34178         * aclocal.m4: Likewise.
34180         * wcsmbs/mbrtoc16.c: Implement using towc function.
34181         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34182         * wcsmbs/wcsmbsload.c: Likewise.
34183         * iconv/gconv_simple.c: Likewise.
34184         * iconv/gconv_int.h: Likewise.
34185         * iconv/gconv_builtin.h: Likewise.
34186         * iconv/iconv_prog.c: Remove CHAR16 handling.
34188         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34190         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34192         * configure.in: Remove --with-elf and --enable-bounded options.
34193         Dont set base_machine for ia64.  More non-ELF conditions removed.
34194         Remove testing and setting of leading underscore information.
34195         * config.make.in (build-bounded): Set to no.
34196         * config.h.in: Remove NO_UNDERSCORES entry.
34197         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34198         them.
34199         * csu/start.c: Remove !NO_UNDERSCORE code.
34200         * locale/localeinfo.h: Likewise.
34201         * sysdeps/generic/machine-gmon.h: Likewise.
34202         * sysdeps/generic/sysdep.h: Likewise.
34203         * sysdeps/i386/sysdep.h: Likewise.
34204         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34205         * sysdeps/mach/sysdep.h: Likewise.
34206         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34207         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34208         * sysdeps/sh/sysdep.h: Likewise.
34209         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34210         * sysdeps/unix/i386/sysdep.S: Likewise.
34211         * sysdeps/unix/sparc/start.c: Likewise.
34212         * sysdeps/unix/sparc/sysdep.S: Likewise.
34213         * sysdeps/unix/sparc/sysdep.h: Likewise.
34214         * sysdeps/unix/start.c: Likewise.
34215         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34216         * sysdeps/x86_64/sysdep.h: Likewise.
34218 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34220         [BZ #13553]
34221         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34222         for non-gcc.
34223         * argp/argp-fmtstream.h: Use const instead __const.
34224         * argp/argp.h: Likewise.
34225         * assert/assert.h: Likewise.
34226         * bits/fenv.h: Likewise.
34227         * bits/sched.h: Likewise.
34228         * bits/sigset.h: Likewise.
34229         * bits/sigthread.h: Likewise.
34230         * catgets/nl_types.h: Likewise.
34231         * conform/data/pthread.h-data: Likewise.
34232         * crypt/crypt-private.h: Likewise.
34233         * crypt/crypt.h: Likewise.
34234         * crypt/crypt_util.c: Likewise.
34235         * ctype/ctype.h: Likewise.
34236         * debug/execinfo.h: Likewise.
34237         * debug/mbsnrtowcs_chk.c: Likewise.
34238         * debug/mbsrtowcs_chk.c: Likewise.
34239         * debug/wcsnrtombs_chk.c: Likewise.
34240         * debug/wcsrtombs_chk.c: Likewise.
34241         * debug/wcstombs_chk.c: Likewise.
34242         * dirent/dirent.h: Likewise.
34243         * dlfcn/dlfcn.h: Likewise.
34244         * elf/neededtest4.c: Likewise.
34245         * grp/grp.h: Likewise.
34246         * gshadow/gshadow.h: Likewise.
34247         * iconv/gconv.h: Likewise.
34248         * iconv/gconv_int.h: Likewise.
34249         * iconv/gconv_simple.c: Likewise.
34250         * iconv/iconv.h: Likewise.
34251         * iconv/loop.c: Likewise.
34252         * iconv/skeleton.c: Likewise.
34253         * include/aio.h: Likewise.
34254         * include/aliases.h: Likewise.
34255         * include/argz.h: Likewise.
34256         * include/arpa/inet.h: Likewise.
34257         * include/assert.h: Likewise.
34258         * include/dirent.h: Likewise.
34259         * include/dlfcn.h: Likewise.
34260         * include/execinfo.h: Likewise.
34261         * include/fcntl.h: Likewise.
34262         * include/fenv.h: Likewise.
34263         * include/glob.h: Likewise.
34264         * include/grp.h: Likewise.
34265         * include/libintl.h: Likewise.
34266         * include/mntent.h: Likewise.
34267         * include/netdb.h: Likewise.
34268         * include/pwd.h: Likewise.
34269         * include/rpc/netdb.h: Likewise.
34270         * include/sched.h: Likewise.
34271         * include/search.h: Likewise.
34272         * include/shadow.h: Likewise.
34273         * include/signal.h: Likewise.
34274         * include/stdio.h: Likewise.
34275         * include/stdlib.h: Likewise.
34276         * include/string.h: Likewise.
34277         * include/sys/socket.h: Likewise.
34278         * include/sys/stat.h: Likewise.
34279         * include/sys/statfs.h: Likewise.
34280         * include/sys/statvfs.h: Likewise.
34281         * include/sys/syslog.h: Likewise.
34282         * include/sys/time.h: Likewise.
34283         * include/sys/uio.h: Likewise.
34284         * include/time.h: Likewise.
34285         * include/unistd.h: Likewise.
34286         * include/utmp.h: Likewise.
34287         * include/wchar.h: Likewise.
34288         * include/wctype.h: Likewise.
34289         * inet/aliases.h: Likewise.
34290         * inet/arpa/inet.h: Likewise.
34291         * inet/netinet/ether.h: Likewise.
34292         * inet/netinet/in.h: Likewise.
34293         * intl/libintl.h: Likewise.
34294         * io/bits/fcntl2.h: Likewise.
34295         * io/fcntl.h: Likewise.
34296         * io/ftw.h: Likewise.
34297         * io/sys/poll.h: Likewise.
34298         * io/sys/stat.h: Likewise.
34299         * io/sys/statfs.h: Likewise.
34300         * io/sys/statvfs.h: Likewise.
34301         * io/utime.h: Likewise.
34302         * libio/bits/stdio.h: Likewise.
34303         * libio/bits/stdio2.h: Likewise.
34304         * libio/libio.h: Likewise.
34305         * libio/libioP.h: Likewise.
34306         * libio/stdio.h: Likewise.
34307         * locale/lc-ctype.c: Likewise.
34308         * locale/locale.h: Likewise.
34309         * login/utmp.h: Likewise.
34310         * malloc/arena.c: Likewise.
34311         * malloc/malloc.c: Likewise.
34312         * malloc/malloc.h: Likewise.
34313         * malloc/mcheck.c: Likewise.
34314         * malloc/mtrace.c: Likewise.
34315         * math/bits/mathcalls.h: Likewise.
34316         * math/fenv.h: Likewise.
34317         * math/math_private.h: Likewise.
34318         * misc/bits/error.h: Likewise.
34319         * misc/bits/syslog.h: Likewise.
34320         * misc/err.h: Likewise.
34321         * misc/error.h: Likewise.
34322         * misc/fstab.h: Likewise.
34323         * misc/mntent.h: Likewise.
34324         * misc/regexp.h: Likewise.
34325         * misc/search.h: Likewise.
34326         * misc/sgtty.h: Likewise.
34327         * misc/sys/mman.h: Likewise.
34328         * misc/sys/syslog.h: Likewise.
34329         * misc/sys/uio.h: Likewise.
34330         * misc/sys/xattr.h: Likewise.
34331         * misc/ttyent.h: Likewise.
34332         * nis/rpcsvc/ypclnt.h: Likewise.
34333         * nss/nss.h: Likewise.
34334         * posix/bits/unistd.h: Likewise.
34335         * posix/fnmatch.h: Likewise.
34336         * posix/glob.h: Likewise.
34337         * posix/sched.h: Likewise.
34338         * posix/spawn.h: Likewise.
34339         * posix/sys/wait.h: Likewise.
34340         * posix/unistd.h: Likewise.
34341         * posix/wordexp.h: Likewise.
34342         * pwd/pwd.h: Likewise.
34343         * resolv/netdb.h: Likewise.
34344         * resource/sys/resource.h: Likewise.
34345         * rt/aio.h: Likewise.
34346         * rt/bits/mqueue2.h: Likewise.
34347         * rt/mqueue.h: Likewise.
34348         * shadow/shadow.h: Likewise.
34349         * signal/signal.h: Likewise.
34350         * socket/send.c: Likewise.
34351         * socket/sendto.c: Likewise.
34352         * socket/sys/socket.h: Likewise.
34353         * stdio-common/printf.h: Likewise.
34354         * stdlib/bits/stdlib.h: Likewise.
34355         * stdlib/fmtmsg.h: Likewise.
34356         * stdlib/monetary.h: Likewise.
34357         * stdlib/stdlib.h: Likewise.
34358         * stdlib/ucontext.h: Likewise.
34359         * streams/stropts.h: Likewise.
34360         * string/argz.h: Likewise.
34361         * string/bits/string2.h: Likewise.
34362         * string/string.h: Likewise.
34363         * string/strings.h: Likewise.
34364         * sunrpc/rpc/auth.h: Likewise.
34365         * sunrpc/rpc/auth_des.h: Likewise.
34366         * sunrpc/rpc/clnt.h: Likewise.
34367         * sunrpc/rpc/netdb.h: Likewise.
34368         * sunrpc/rpc/pmap_clnt.h: Likewise.
34369         * sunrpc/rpc/xdr.h: Likewise.
34370         * sysdeps/generic/inttypes.h: Likewise.
34371         * sysdeps/generic/net/if.h: Likewise.
34372         * sysdeps/generic/sys/swap.h: Likewise.
34373         * sysdeps/gnu/net/if.h: Likewise.
34374         * sysdeps/gnu/utmpx.h: Likewise.
34375         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34376         * sysdeps/i386/i486/bits/string.h: Likewise.
34377         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34378         * sysdeps/s390/bits/string.h: Likewise.
34379         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34380         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34381         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34382         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34383         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34384         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34385         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34386         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34387         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34388         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34389         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34390         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34391         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34392         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34393         * sysdeps/unix/sysv/linux/readv.c: Likewise.
34394         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34395         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34396         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34397         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34398         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34399         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34400         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34401         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34402         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34403         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34404         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34405         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34406         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34407         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34408         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34409         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34410         * sysvipc/sys/ipc.h: Likewise.
34411         * sysvipc/sys/msg.h: Likewise.
34412         * sysvipc/sys/sem.h: Likewise.
34413         * sysvipc/sys/shm.h: Likewise.
34414         * termios/termios.h: Likewise.
34415         * time/sys/time.h: Likewise.
34416         * time/time.h: Likewise.
34417         * wcsmbs/bits/wchar2.h: Likewise.
34418         * wcsmbs/uchar.h: Likewise.
34419         * wcsmbs/wchar.h: Likewise.
34420         * wctype/wctype.h: Likewise.
34422         [BZ #13551]
34423         * Makeconfig: Remove all but ELF support including AIX support.
34424         * Makerules: Likewise.
34425         * config.h.in: Likewise.
34426         * config.make.in: Likewise.
34427         * configure: Likewise.
34428         * configure.in: Likewise.
34429         * csu/Makefile: Likewise.
34430         * csu/version.c: Likewise.
34431         * debug/Makefile: Likewise.
34432         * dlfcn/Makefile: Likewise.
34433         * elf/Makefile: Likewise.
34434         * extra-lib.mk: Likewise.
34435         * iconv/Makefile: Likewise.
34436         * include/libc-symbols.h: Likewise.
34437         * include/shlib-compat.h: Likewise.
34438         * resolv/Makefile: Likewise.
34439         * resolv/res_libc.c: Likewise.
34440         * rt/Makefile: Likewise.
34441         * sysdeps/i386/asm-syntax.h: Likewise.
34442         * sysdeps/i386/sysdep.h: Likewise.
34443         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34444         * sysdeps/mach/sysdep.h: Likewise.
34445         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34446         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34447         * sysdeps/s390/asm-syntax.h: Likewise.
34448         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34449         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34450         * sysdeps/sh/sysdep.h: Likewise.
34451         * sysdeps/unix/sparc/sysdep.h: Likewise.
34452         * sysdeps/wordsize-32/divdi3.c: Likewise.
34453         * sysdeps/x86_64/sysdep.h: Likewise.
34455         * argp/Versions: Remove _argp_unlock_xxx.
34457         [BZ #13559]
34458         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
34459         * abilist/libBrokenLocale.abilist: Likewise.
34460         * abilist/libanl.abilist: Likewise.
34461         * abilist/libc.abilist: Likewise.
34462         * abilist/libcrypt.abilist: Likewise.
34463         * abilist/libdl.abilist: Likewise.
34464         * abilist/libm.abilist: Likewise.
34465         * abilist/libnsl.abilist: Likewise.
34466         * abilist/libpthread.abilist: Likewise.
34467         * abilist/libresolv.abilist: Likewise.
34468         * abilist/librt.abilist: Likewise.
34469         * abilist/libthread_db.abilist: Likewise.
34470         * abilist/libutil.abilist: Likewise.
34471         * abilist/libnss_db.abilist: New file.
34473         * scripts/abilist.awk: Add support for indirect functions.
34475         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
34477         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
34479         * shlib-versions: Remove entries for ports architectures.
34481         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
34482         files in ports.
34483         * elf/stackguard-macros.h: Remove support for IA-64.
34484         * elf/tst-auditmod1.c: Likewise.
34485         * sysdeps/generic/ldsodefs.h: Likewise.
34487         * sysdeps/unix/sysv/linux/configure.in: Ports should define
34488         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
34489         configure files.
34491         [BZ #13552]
34492         * configure.in: Remove --enable-omitfp support.
34493         * FAQ.in: Adjust.
34494         * config.make.in: Likewise.
34495         * Makeconfig: Likewise.
34496         * manual/install.texi: Likewise.
34498         In case anyone cares, the IA-64 architecture could move to ports.
34499         * sysdeps/ia64/*: Removed.
34500         * sysdeps/unix/sysv/linux/ia64/*: Removed.
34501         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
34503         [BZ #13555]
34504         * configure.in: Remove entries for unsupported architectures.
34506         [BZ #13533]
34507         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
34508         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
34509         routines.
34510         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
34511         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
34512         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
34513         fall back to using wcrtomb.
34514         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
34515         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
34516         renaming.
34517         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
34518         * wcsmbs/tst-c16c32-1.c: New file.
34520         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
34521         local variable.
34523         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
34525         * elf/tst-unique3.cc: Add explicit declaration of gets.
34526         * elf/tst-unique3lib.cc: Likewise.
34527         * elf/tst-unique3lib2.cc: Likewise.
34528         * elf/tst-unique4.cc: Likewise.
34530         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
34532 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
34534         [BZ #13566]
34535         * assert/assert.h (static_assert): Don't define for C++.
34536         * libio/stdio.h (gets): Do declare for C++ <= C++11.
34537         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
34539 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
34541         * iconv/loop.c (single loop): Fix assertion in storing of
34542         remaining bytes.
34544         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
34546 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
34548         * posix/getconf.c: Update copyright year.
34549         * nss/getent.c: Likewise.
34550         * nss/makedb.c: Likewise.
34551         * iconv/iconvconfig.c: Likewise.
34552         * iconv/iconv_prog.c: Likewise.
34553         * elf/ldconfig.c: Likewise.
34554         * elf/pldd.c: Likewise.
34555         * elf/sotruss.ksh: Likewise.
34556         * catgets/gencat.c: Likewise.
34557         * csu/version.c: Likewise.
34558         * elf/ldd.bash.in: Likewise.
34559         * elf/sprof.c (print_version): Likewise.
34560         * locale/programs/locale.c: Likewise.
34561         * locale/programs/localedef.c: Likewise.
34562         * login/programs/pt_chown.c: Likewise.
34563         * nscd/nscd.c (print_version): Likewise.
34564         * debug/xtrace.sh: Likewise.
34565         * malloc/memusage.sh: Likewise.
34566         * malloc/mtrace.pl: Likewise.
34567         * debug/catchsegv.sh: Likewise.
34569 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
34571         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
34572         pure attribute.
34574 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
34576         [BZ #13533]
34577         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
34578         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
34579         transformations.
34580         * iconv/gconv_int.h: Likewise.
34581         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
34582         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
34583         from libc for GLIBC_2.16.
34584         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
34585         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
34586         * wcsmbs/uchar.h: Really define mbstate_t.
34587         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
34588         * wcsmbs/c16rtomb.c: New file.
34589         * wcsmbs/mbrtoc16.c: New file.
34590         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
34591         for C/POSIX locale.
34592         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
34593         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
34595         * wcsmbs/wchar.h: Add missing __restrict.
34597 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34599         [BZ #13532]
34600         * time/Makefile (routines): Add timespec_get.
34601         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
34602         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
34603         timespec for ISO C11.
34604         * time/timespec_get.c: New file.
34605         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
34606         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
34608         [BZ #13531]
34609         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
34610         * stdlib/stdlib.h: Declare aligned_alloc.
34611         * Versions.def: Add GLIBC_2.16 for libc.
34612         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
34614         [BZ 13527]
34615         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
34616         ISO C11.
34618         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
34619         code.
34621         [BZ #13528]
34622         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
34624         [BZ #13529]
34625         * assert/assert.h (static_assert): Define.
34627         * version.h: Update for 2.16 development version.
34629         [BZ #13526]
34630         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
34631         _ISOC11_SOURCE.
34633         * version.h (RELEASE): Bump for 2.15 release.
34634         * include/features.h (__GLIBC_MINOR__): Bump to 15.
34636         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
34637         Patch by Marek Polacek <mpolacek@redhat.com>.
34639         * bits/byteswap.h: Protect long long constants with __extension__.
34640         * sysdeps/i386/bits/byteswap.h: Likewise.
34641         * sysdeps/ia64/bits/byteswap.h: Likewise.
34642         * sysdeps/s390/bits/byteswap.h: Likewise.
34643         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34645 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34647         [BZ #13540]
34648         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
34649         destination buffer.
34650         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34652 2011-12-23  Marek Polacek  <polacek@redhat.com>
34654         * elf/dl-addr.c (determine_info): Add inline keyword.
34655         * elf/tst-auditmod4b.c (check_avx): Likewise.
34656         * elf/tst-auditmod6b.c (check_avx): Likewise.
34657         * elf/tst-auditmod6c.c (check_avx): Likewise.
34658         * elf/tst-auditmod7b.c (check_avx): Likewise.
34660 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34662         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
34663         !__SSE_MATH__.
34665 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34667         [BZ #13540]
34668         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
34669         processing for last bytes.
34671 2011-08-06  Bruno Haible  <bruno@clisp.org>
34673         [BZ #13061]
34674         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
34675         U+0385, not to U+1FEE.
34677         [BZ #13062]
34678         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
34679         entry for U+00A5 U+0301.
34681 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34683         [BZ #13166]
34684         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
34685         buffer for the output is too small.
34687         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
34688         optimization.
34690         [BZ #13185]
34691         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
34692         SSE flags if possible.
34694 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34696         [BZ #13540]
34697         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34698         processing for last bytes.
34700 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
34702         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34703         (syscall-list-default-options, syscall-list-default-condition)
34704         (syscall-list-includes): Define.
34705         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34706         list of ABIs and options and #if conditions for each ABI.  Do not
34707         handle common syscalls between ABIs specially.
34708         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34709         Remove.
34710         (syscall-list-variants, syscall-list-32bit-options)
34711         (syscall-list-32bit-condition, syscall-list-64bit-options)
34712         (syscall-list-64bit-condition): Define.
34713         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34714         (syscall-list-variants, syscall-list-32bit-options)
34715         (syscall-list-32bit-condition, syscall-list-64bit-options)
34716         (syscall-list-64bit-condition): Define.
34717         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34718         Remove.
34719         (syscall-list-variants, syscall-list-32bit-options)
34720         (syscall-list-32bit-condition, syscall-list-64bit-options)
34721         (syscall-list-64bit-condition): Define.
34722         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34723         Remove.
34724         (syscall-list-variants, syscall-list-32bit-options)
34725         (syscall-list-32bit-condition, syscall-list-64bit-options)
34726         (syscall-list-64bit-condition): Define.
34728 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34730         * locale/iso-639.def: Add brx entry.
34732         [BZ #13328]
34733         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34734         Proposed by Mariusz_Cukr <marcukr@op.pl>.
34736         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34737         __feraiseexcept_renamed.
34739 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34741         [BZ #13538]
34742         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34743         EPOLLET with unsigned values.
34744         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34745         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34747         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34748         to large cancellation.
34749         * math/s_cacoshf.c: Likewise.
34750         * math/s_cacoshl.c: Likewise.
34752 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
34754         [BZ #13305]
34755         [BZ #12786]
34756         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34757         * math/s_cacoshf.c: Likewise.
34758         * math/s_cacoshl.c: Likewise.
34760 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34762         [BZ #13439]
34763         * iconv/gconv.h: Define __GCONV_SWAP.
34764         * iconvdata/unicode.c: The swap bit must be stored in __flags.
34765         * iconvdata/utf-16.c: Likewise.
34766         * iconvdata/utf-32.c: Likewise.
34768 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34770         [BZ #13524]
34771         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34772         numerator after shifting it by one limb.
34774 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
34776         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34777         under [__USE_EXTERN_INLINES].
34779 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34781         [BZ #13446]
34782         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34784 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34786         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34787         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34788         optimized code.
34789         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34790         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34791         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34792         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34793         for strncasecmp/strncasecmp_l compilation.
34794         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34795         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34797 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
34799         [BZ #13484]
34800         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34801         of __asm__.
34803 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34805         [BZ #13506]
34806         * time/tzfile.c (__tzfile_read): Check values from file header.
34808 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34810         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34811         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34812         * powerpc/powerpc32/dl-start.S: Likewise.
34813         * powerpc/powerpc32/elf/start.S: Likewise.
34814         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34815         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34816         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34817         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34818         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34819         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34820         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34821         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34822         * powerpc/powerpc32/fpu/s_round.S: Likewise.
34823         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34824         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34825         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34826         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34827         * powerpc/powerpc32/memset.S: Likewise.
34828         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34829         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34830         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34831         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34832         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34833         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34834         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34835         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34836         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34837         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34838         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34839         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34840         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34842 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34844         * math/libm-test.inc: Added more nearbyint tests.
34845         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34846         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34847         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34848         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34850 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
34852         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34853         FD_CLOEXEC.
34855 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34857         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34858         Add wcscpy-ssse3 wcscpy-c.
34859         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34860         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34861         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34862         * sysdeps/x86_64/wcschr.S: New file.
34863         * sysdeps/x86_64/wcsrchr.S: New file.
34864         * string/test-strcmp.c: Remove checking of wcscmp function for
34865         wrong alignments.
34866         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34867         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34868         wcsrchr-sse2 wcsrchr-c.
34869         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34870         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34871         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34872         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34873         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34874         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34875         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34876         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34877         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34878         * wcsmbc/wcschr.c (WCSCHR): New macro.
34880 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34882         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34883         * wcsmbs/test-wcsrchr.c: New file.
34884         * string/test-strrchr.c: Add wcsrchr support.
34885         (WIDE): New macro.
34886         * wcsmbs/test-wcscpy.c: New file.
34887         * string/test-strcpy.c: Add wcscpy support.
34888         (WIDE): New macro.
34890 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
34892         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34893         the inner loop.
34895 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
34897         [BZ #13472]
34898         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34900 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
34902         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34903         Minor optimizations.
34905         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34906         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34907         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34909 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
34911         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34912         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34913         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34914         for gcc to avoid warnings.
34915         * inet/Makefile (tests): Add tst-checks.
34916         * inet/tst-checks.c: New file.
34918         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34919         warning.
34921         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34922         __wmemcmp_sse2.
34924         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34925         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34927         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34929 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
34931         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34932         problem.
34934         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34936 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
34938         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34939         conditional on GCC version.
34940         (__arch_compare_and_exchange_val_8_acq)
34941         (__arch_compare_and_exchange_val_16_acq)
34942         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34943         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34944         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34946 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
34948         * sysdeps/sh/backtrace.c: New file.
34950 2011-12-02  Andreas Schwab  <schwab@redhat.com>
34952         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
34953         parenthesis.
34955 2011-12-01  Andreas Schwab  <schwab@redhat.com>
34957         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34958         falling back to utime.
34960 2011-11-30  Andreas Schwab  <schwab@redhat.com>
34962         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34963         expectations for float.
34965 2011-11-29  Andreas Schwab  <schwab@redhat.com>
34967         * locale/weight.h (findidx): Add parameter len.
34968         * locale/weightwc.h (findidx): Likewise.
34969         * posix/fnmatch_loop.c (FCT): Adjust caller.
34970         * posix/regcomp.c (build_equiv_class): Likewise.
34971         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34972         * posix/regexec.c (check_node_accept_bytes): Likewise.
34973         * string/strcoll_l.c (STRCOLL): Likewise.
34974         * string/strxfrm_l.c (STRXFRM): Likewise.
34976 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
34978         * Makefile.in: Remove CVSOPT handling.
34979         * configure.in: Remove use of AC_REVISION.
34980         * iconvdata/Makefile (distribute): No need to filter out CVS.
34981         * scripts/list-sources.sh: Remove CVS, subversion and monotone
34982         handling.
34984 2011-11-16  Andreas Schwab  <schwab@redhat.com>
34986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34987         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34988         [USE_AS_STRNCASECMP_L]: Likewise.
34989         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34990         NO_TLS_DIRECT_SEG_REFS.
34991         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34992         Fix argument offsets for non-PIC.
34993         [USE_AS_STRNCASECMP_L]: Likewise.
34994         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34995         NO_TLS_DIRECT_SEG_REFS.
34997 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34999         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35000         O_CLOEXEC.
35001         * locale/loadlocale.c (_nl_load_locale): Likewise.
35003 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35005         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35006         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35007         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35008         (SYSCALL_GETTIME): Set errno on error.
35010         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35011         count references to noai6ai_cached.
35013 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35015         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35017         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35018         FD_CLOEXEC for /proc/self/maps.
35020         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35021         FD_CLOEXEC for /proc/meminfo.
35023         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35024         gai.conf.
35026         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35027         FD_CLOEXEC for given file.
35029         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35031         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35032         FD_CLOEXEC for /etc/hosts.
35033         (_gethtent): Likewise.
35035         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35037         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35038         cancellation and set FD_CLOEXEC for /etc/netgroup.
35040         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35041         reading /etc/publickey.
35043         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35044         allow cancellation when reading /etc/group.
35046         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35047         cancellation.
35048         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35050         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35051         when using data file.
35053         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35055         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35056         (write_nis_obj): Use "c" and "e" in fopen.
35058         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35060         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35062         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35064         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35066         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35067         locale.alias.
35069         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35071         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35073         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35075         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35076         file parsing and set FD_CLOEXEC.
35078 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35080         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35082 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35084         * malloc/arena.c (arena_get2): Don't call reused_arena when
35085         _int_new_arena failed.
35087 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35089         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35090         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35091         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35092         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35093         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35094         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35095         to compile strcasecmp and strncasecmp.
35096         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35097         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35099         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35101 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35103         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35104         locale-defines.sym to gen-as-const-headers.
35105         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35106         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35107         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35108         to compile strcasecmp and strncasecmp.
35109         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35110         strcasecmp_l and strncasecmp_l.
35111         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35112         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35113         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35114         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35115         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35116         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35117         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35118         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35119         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35120         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35121         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35123 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35125         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35126         result of SYSDEP_GETTIME_CPU to retval.
35127         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35128         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35130         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35131         variable.
35133         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35134         mantissa words.
35135         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35137         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35138         from unused variable.
35140         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35141         DWARF definitions.
35142         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35143         for assembling.
35145         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35146         over namespaces.
35148         * sunrpc/rpc_prot.c (rejected): Fix case value.
35150         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35151         unsigned long long int to avoid warnings in shift.
35153         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35154         of use of trans.
35155         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35156         variable tmp.
35158         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35159         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35160         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35162         * nis/nis_table.c (nis_list): Use variable of correct type for
35163         result of __follow_path call.
35165 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35167         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35168         of math functions ceil, trunc, floor, round, and sqrt, when
35169         avaliable on the platform.
35170         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35171         name clash.
35172         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35173         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35174         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35176 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35178         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35181 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35183         * include/unistd.h: Fix __readlink return type.
35184         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35186 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35188         * stdlib/ucontext.h: Undo last change for makecontext.
35190 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35192         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35194         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35195         * setjmp/setjmp.h: Mark functions as non-leaf.
35196         * setjmp/bits/setjmp2.h: Likewise.
35197         * stdlib/ucontext.h: Likewise.
35199 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35201         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35202         (reused_arena): Don't check arena limit.
35203         (arena_get2): Atomically check arena limit.
35205 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35207         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35208         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35211         instructions.
35213 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35215         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35216         handler when locking.
35218         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35219         Fix size of allocated buffer.
35221 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35223         [BZ #10103]
35224         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35225         declarations for long double functions.
35226         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35228         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35230 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35232         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35233         installed.
35235         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35236         is disabled.
35238 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35240         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35242 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35244         * include/alloca.h (stackinfo_alloca_round): Define.
35245         (extend_alloca): Use it.
35246         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35247         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35248         here.
35250         * scripts/check-local-headers.sh: Ignore libaudit.h.
35252         * nscd/Makefile (extra-objs): Make recursively expanded.
35254 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35256         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35257         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35259         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35260         * posix/tst-rfc3484-2.c: Likewise.
35261         * posix/tst-rfc3484-3.c: Likewise.
35263         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35264         process_vm_writev.
35265         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35266         process_vm_writev.
35267         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35268         process_vm_writev from libc using GLIBC_2.15 version.
35270         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35272 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35274         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35275         stack usage.
35277 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35279         [BZ #13367]
35280         * nss/getent.c (initgroups_keys): Show error message in case no group
35281         names are given.
35283         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35284         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35285         __bump_nl_timestamp.
35286         * nscd/connections (nscd_init): When host database is served open
35287         netlink socket and request notification about configuration changes.
35288         (main_loop_poll): Track netlink file descriptor and bump timestamp
35289         in case data becomes available.
35290         (main_loop_epoll): Likewise.
35291         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35292         (database_pers_head): Add extra_data fileds.
35293         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35294         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35295         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35296         Adjust caller.
35297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35298         in6ai data, call __free_in6ai.
35299         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35300         Add -DHAVE_NETLINK.
35301         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35302         interface information.  Reuse previous data if netlink timestamp
35303         is not changed.
35304         (__bump_nl_timestamp): New function.
35305         (__free_in6ai): New function.
35307 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35309         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35310         close_not_cancel_no_status here.
35311         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35313 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35315         [BZ #13276]
35316         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35317         return value.
35319         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35320         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35321         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35323 2011-07-03  Andreas Jaeger  <aj@suse.de>
35325         [BZ #10709]
35326         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35327         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35328         * math/libm-test.inc (sin_test): Add test case.
35330 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35332         [BZ #13337]
35333         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35334         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35336         * elf/chroot_canon.c (chroot_canon): Cleanups.
35338         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35340         [BZ #13335]
35341         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35342         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35344         * string/test-strchr.c: Make usable for strchrnul testing.
35345         * string/test-strchrnul.c: New file.
35346         * string/Makefile (strop-tests): Add strchrnul.
35348         * po/it.po: Update from translation team.
35349         * po/es.po: Likewise.
35351 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35353         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35354         the three constants needed as parameters.  Drop the others.
35355         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35356         __m128i_strloadu_tolower.
35357         Create and initialize variable zero and use it in all the places
35358         where _mm_setzero_si128 was used.
35360         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35361         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35362         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35363         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35364         anymore.
35365         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35366         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35367         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35368         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35369         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35370         __mpranred, __mptan.
35371         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35372         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35373         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35374         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35375         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35376         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35377         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35378         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35379         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35381 2011-10-28  Andreas Schwab  <schwab@redhat.com>
35383         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35384         redefine if SHARED.
35385         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35388         wide char related routines to wcsmbs subdir.
35390 2011-10-27  Andreas Schwab  <schwab@redhat.com>
35392         [BZ #13344]
35393         * misc/sys/cdefs.h (__THROWNL): Define.
35394         * posix/unistd.h: Use __THREADNL instead of __THREAD
35395         for memory synchronization functions.
35397 2011-10-26  Roland McGrath  <roland@hack.frob.com>
35399         [BZ #13349]
35400         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35401         doesn't exist.
35402         * manual/stdio.texi (Obstack Streams): Node removed.
35404 2011-10-26  Andreas Schwab  <schwab@redhat.com>
35406         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35407         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35408         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35410         * math/math_private.h (math_force_eval): Allow non-addressable
35411         arguments.
35412         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35414 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35416         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35417         file is not needed.
35419         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35420         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35421         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35422         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35423         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35424         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35425         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35426         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35427         Add AVX variants.
35428         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35429         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35430         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35431         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35432         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35433         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35434         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35435         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35436         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35437         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35438         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35439         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35440         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35441         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35442         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35443         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35444         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35445         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35446         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35448         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35449         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
35451         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35452         place.  Use VEX encoding when compiling for AVX.
35454 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35456         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35457         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35459         * string/test-strchr.c (do_test): Don't generate NUL bytes.
35461 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35463         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35464         useless if() expression.
35465         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35466         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35467         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35468         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35469         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35470         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35471         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35473         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35474         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35475         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35476         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35477         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35478         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35479         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35480         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35481         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35482         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35483         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35485         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
35487 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35489         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
35490         condition.
35491         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35493 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35495         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
35496         .text section.  Avoid duplicate constants.
35497         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35499         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35500         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35501         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35502         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35503         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35504         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35505         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35506         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
35507         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35508         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35509         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35510         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35511         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35512         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35513         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35514         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35515         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35516         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35520         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
35521         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
35522         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
35523         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
35524         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
35525         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
35526         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
35527         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
35528         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
35529         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35530         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
35531         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
35532         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
35533         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
35534         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
35535         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
35536         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
35537         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
35538         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
35539         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
35540         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
35541         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
35543 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
35545         * sysdeps/x86_64/dla.h: Move to ...
35546         * sysdeps/x86_64/fpu/dla.h: ...here.
35547         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
35548         situations.  Use __builtin_fma only for gcc 4.6 and up.
35550         * config.make.in: Add have-mfma4 entry.
35551         * configure.in: Substitute libc_cv_cc_fma4.
35552         * math/Makefile (dbl-only-routines): Add sincostab.
35553         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
35554         Use __sincostab not sincos.
35555         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
35556         name is a macro.
35557         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35558         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
35561         using __copysign.
35562         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
35563         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
35564         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
35565         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
35566         and __inv.
35567         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
35568         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
35569         __copysign.
35570         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
35571         define aliases when function name is a macro.
35572         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
35573         sysdeps/ieee754/dbl-64/sincos.tbl.
35574         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
35575         fma4-enabled routines.
35576         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
35577         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
35578         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
35579         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
35580         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
35581         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
35582         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
35583         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
35584         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
35585         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
35586         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
35587         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
35588         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
35589         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
35590         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
35591         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
35592         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
35593         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
35594         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
35595         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
35596         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
35597         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
35598         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
35599         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
35600         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
35601         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
35602         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
35603         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
35604         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
35605         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
35607         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
35608         rename.
35609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35610         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35612         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35613         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35614         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35615         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35618 2011-10-24  Andreas Schwab  <schwab@redhat.com>
35620         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
35622 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
35626         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
35627         prediction.
35628         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
35630         * string/strnlen.c: Don't define STRNLEN, reverse logic.
35631         Remove unused variable magic_bits.
35632         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
35634         * string/strnlen.c: Define and use STRNLEN macro.
35635         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
35636         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
35637         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
35638         * wcsmbs/wcslen.c: Define and use WCSLEN.
35639         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
35640         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
35641         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
35642         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
35643         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
35644         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
35645         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35647 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35650         strnlen-sse2-no-bsf.
35651         Rename strlen-no-bsf to strlen-sse2-no-bsf.
35652         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
35653         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
35654         Add strnlen support.
35655         (USE_AS_STRNLEN): New macro.
35656         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
35657         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
35658         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
35659         * sysdeps/x86_64/wcslen.S: New file.
35661 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
35663         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35664         XMM-moves are used for copying on small sizes.
35666 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35668         * wcsmbs/Makefile (strop-tests): Add wcschr.
35669         * wcsmbs/test-wcschr.c: New file.
35670         * string/test-strchr.c: Update.
35671         Add wcschr support.
35672         (WIDE): New macro.
35674 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35676         * wcsmbs/Makefile (strop-tests): Add wcslen.
35677         * wcsmbs/test-wcslen.c: New file.
35678         * string/test-strlen.c: Update.
35679         Add wcslen support.
35680         (WIDE): New macro.
35682 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35684         * po/it.po: Update from translation team.
35686 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35688         * sysdeps/x86_64/wcscmp.S: Update.
35689         Fix wrong comparison semantics.
35690         wcscmp shall use signed comparison not unsigned.
35691         Don't use substraction to avoid overflow bug.
35692         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35693         * wcsmbc/wcscmp.c: Likewise.
35694         * string/test-strcmp.c: Likewise.
35695         Add new tests to check cases with negative values.
35697 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35699         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35700         * sysdeps/x86_64/dla.h: ...here.  New file.
35701         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35705         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35706         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
35713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35714         __ynl_finite aliases.
35716 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35720         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35721         define DLA_FMA.
35722         [DLA_FMA] (EMULV): Use DLA_FMA.
35723         [DLA_FMA] (MUL12): Use EMULV.
35724         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35725         that are not needed.
35726         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35728         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35729         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35731         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35734 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
35736         * math/s_nan.c: Undef __nan.
35737         * math/s_nanf.c: Undef __nanf.
35738         * math/s_nanl.c: Undef __nanl.
35739         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35740         "math_private.h".
35742 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35744         * math/s_catan.c: Add branch predictions.
35745         * math/s_catanf.c: Likewise.
35746         * math/s_catanh.c: Likewise.
35747         * math/s_catanhf.c: Likewise.
35748         * math/s_catanhl.c: Likewise.
35749         * math/s_catanl.c: Likewise.
35750         * math/s_cexp.c: Likewise.
35751         * math/s_cexpf.c: Likewise.
35752         * math/s_cexpl.c: Likewise.
35753         * math/s_clog.c: Likewise.
35754         * math/s_clog10.c: Likewise.
35755         * math/s_clog10f.c: Likewise.
35756         * math/s_clog10l.c: Likewise.
35757         * math/s_clogf.c: Likewise.
35758         * math/s_clogl.c: Likewise.
35759         * math/s_csqrt.c: Likewise.
35760         * math/s_csqrtf.c: Likewise.
35761         * math/s_csqrtl.c: Likewise.
35762         * math/s_ctanf.c: Likewise.
35763         * math/s_ctanh.c: Likewise.
35764         * math/s_ctanhf.c: Likewise.
35765         * math/s_ctanhl.c: Likewise.
35766         * math/s_ctanl.c: Likewise.
35768         * math/math_private.h: Define __nan, __nanf, __nanl.
35769         * math/s_cacosh.c: Include <math_private.h>.
35770         * math/s_cacoshl.c: Likewise.
35771         * math/s_casinh.c: Likewise.
35772         * math/s_casinhf.c: Likewise.
35773         * math/s_casinhl.c: Likewise.
35774         * math/s_ccos.c: Rely entire on ccosh.
35775         * math/s_ccosf.c: Rely entire on ccoshf.
35776         * math/s_ccosl.c: Rely entirely on ccoshl.
35777         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
35778         Remove tests for FE_INVALID.
35779         * math/s_ccoshf.c: Likewise.
35780         * math/s_ccoshl.c: Likewise.
35781         * math/s_csin.c: Likewise.
35782         * math/s_csinf.c: Likewise.
35783         * math/s_csinh.c Likewise.
35784         * math/s_csinhf.c: Likewise.
35785         * math/s_csinhl.c: Likewise.
35786         * math/s_csinl.c: Likewise.
35787         * math/s_ctan.c: Likewise.
35788         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35789         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35790         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35792 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
35794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35795         compilation problems.
35797         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35798         __builtin_expect.
35800 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
35802         * sysdeps/i386/configure.in: Test for -mfma4 option.
35803         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35804         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35805         COMMON_CPUID_INDEX_80000001.
35806         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35807         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35808         use it if FMA3 is not supported.
35809         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35811         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35812         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35814 2011-10-20  Andreas Schwab  <schwab@redhat.com>
35816         [BZ #12892]
35817         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35818         it would create a cycle with a link time dependency.
35820 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
35822         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35823         instruction.
35824         * string/Makefile (strop-tests): Add rawmemchr.
35825         * string/test-rawmemchr.c: New file.
35827         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35828         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
35829         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
35830         when compiling str{,n}casecmp and when AVX is available.  Hook up
35831         new optimized code in initializers.
35833 2011-10-19  Andreas Schwab  <schwab@redhat.com>
35835         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35836         __feraiseexcept instead of feraiseexcept.
35838 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
35840         * math/math_private.h: Define defaults for libc_fetestexcept and
35841         libc_feupdateenv.
35842         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35843         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35844         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35845         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35846         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35847         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35848         libc_fetestexcept and libc_feupdateenv.
35850         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35851         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35852         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35853         * sysdeps/x86_64/fpu/math_private.h: Define special version of
35854         libc_feholdexcept_setround.
35856         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35857         Add s_nearbyint-c and s_nearbyintf-c.
35858         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35859         nearbyintf inlines.
35860         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35861         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35862         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35863         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35865         * math/math_private.h: Define defaults for libc_fegetround,
35866         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35867         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35868         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35869         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35870         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35871         standard functions.
35872         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35873         Remove comments and hacks for old compiler versions.
35874         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35875         libc_fegetround, libc_fesetround, libc_feholdexcept, and
35876         libc_feholdexceptl.
35878 2011-10-18  Andreas Schwab  <schwab@redhat.com>
35880         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35881         (__feraiseexcept_renamed): Add __NTH.
35882         (feraiseexcept): Add __NTH.  Rename local variables to fix
35883         namespace violations.
35885 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
35887         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35889         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35891         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35892         recently added interfaces.
35893         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35895         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35896         about macro parameter expansion.
35898         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35899         __NO_MATH_INLINES is defined.  Cleanups.
35901         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35902         and __floorf is target has SSE4.1.
35903         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35904         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35905         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35906         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35908         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35909         name.
35910         (floorf): Likewise.
35912         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35914 2011-10-17  Andreas Schwab  <schwab@redhat.com>
35916         * misc/sys/cdefs.h: Fix last change.
35918         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35919         database lookup.
35921 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
35923         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35925         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35926         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35927         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35928         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35929         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35930         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35931         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35932         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35933         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35934         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35935         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35936         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35937         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35938         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35939         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35940         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35941         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35942         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35943         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35944         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35945         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35946         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35948         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35949         ceil, ceilf, floor, floorf.
35951         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35952         Perform IRELATIVE relocations last.
35954         * elf/do-rel.h: Add another parameter nrelative, replacing the
35955         local variable with the same name.  Change name of the function
35956         to end in Rel or Rela (uppercase).
35957         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35958         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
35959         elf_dynamic_do_##reloc function.
35961 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35963         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35964         is sufficient, at least on modern CPUs.
35966         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35968         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35969         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35971         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35972         __expl_finite.
35973         * math/bits/math-finite.h: Add entries for exp.
35974         * math/e_expl.c: Add __*_finite alias.
35975         * sysdeps/i386/fpu/e_exp.S: Likewise.
35976         * sysdeps/i386/fpu/e_expf.S: Likewise.
35977         * sysdeps/i386/fpu/e_expl.c: Likewise.
35978         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35979         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35980         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35982         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35983         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35984         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35986         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35987         is sufficient, at least on modern CPUs.
35989         * ctype/ctype-info.c (__ctype_init): Define.
35990         * include/ctype.h (__ctype_init): Declare.
35991         (__ctype_b_loc): The variable is always initialized.
35992         (__ctype_toupper_loc): Likewise.
35993         (__ctype_tolower_loc): Likewise.
35994         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35995         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35997 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
35999         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36001         * configure.in: Also look in $cxxmachine/include for C++ system
36002         headers.
36004 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36006         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36007         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36008         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36009         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36010         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36011         (USE_AS_WMEMCMP): New macro.
36012         Fixing indents.
36013         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36014         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36015         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36016         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36018         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36019         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36020         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36021         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36022         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36023         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36024         (USE_AS_WMEMCMP): New macro.
36025         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36026         * sysdeps/string/test-memcmp.c: Update.
36027         Fix simple_wmemcmp.
36028         Add new tests.
36029         * wcsmbs/wmemcmp.c: Update.
36030         (WMEMCMP): New macro.
36031         Fix overflow bug.
36033 2011-10-12  Andreas Jaeger  <aj@suse.de>
36035         [BZ #13268]
36036         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36038 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36040         * libio/iofwide.c (do_length): Avoid warning.
36042         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36044 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36046         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36048         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36049         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36050         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36051         * sysdeps/i386/i686/fpu/e_log.S: New file.
36052         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36053         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36055         * ctype/ctype.h: Add support for inlined isXXX functions when
36056         compiling C++ code.
36058 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36060         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36062         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36064 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36066         [BZ #13291]
36067         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36069 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36071         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36072         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36073         feraiseexcept.
36075         * sysdeps/x86_64/memrchr.S: Check for zero size.
36077         * string/stratcliff.c: Add memrchr tests.
36079 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36082         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36083         rawmemchr-sse2 rawmemchr-sse2-bsf.
36084         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36085         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36086         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36087         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36088         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36089         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36090         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36091         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36092         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36093         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36094         * string/memrchr.c (MEMRCHR): New macro.
36096 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36098         Add integration with gcc's -ffinite-math-only and optimize wrapper
36099         functions in libm.
36100         * Versions.def: Define GLIBC_2.15 version for libm.
36101         * math/Makefile (headers): Add bits/math-finite.h.
36102         * math/bits/math-finite.h: New file.
36103         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36104         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36105         * math/e_acoshl.c: Add __*_finite alias.
36106         * math/e_acosl.c: Likewise.
36107         * math/e_asinl.c: Likewise.
36108         * math/e_atan2l.c: Likewise.
36109         * math/e_atanhl.c: Likewise.
36110         * math/e_coshl.c: Likewise.
36111         * math/e_exp10.c: Likewise.
36112         * math/e_exp10f.c: Likewise.
36113         * math/e_exp10l.c: Likewise.
36114         * math/e_exp2l.c: Likewise.
36115         * math/e_fmodl.c: Likewise.
36116         * math/e_gammal_r.c: Likewise.
36117         * math/e_hypotl.c: Likewise.
36118         * math/e_j0l.c: Likewise.
36119         * math/e_j1l.c: Likewise.
36120         * math/e_jnl.c: Likewise.
36121         * math/e_lgammal_r.c: Likewise.
36122         * math/e_log10l.c: Likewise.
36123         * math/e_log2l.c: Likewise.
36124         * math/e_logl.c: Likewise.
36125         * math/e_powl.c: Likewise.
36126         * math/e_sinhl.c: Likewise.
36127         * math/e_sqrtl.c: Likewise.
36128         * math/e_scalb.c: Completely rewritten and optimized.
36129         * math/e_scalbf.c: Likewise.
36130         * math/e_scalbl.c: Likewise.
36131         * math/w_acos.c: Likewise.
36132         * math/w_acosf.c: Likewise.
36133         * math/w_acosl.c: Likewise.
36134         * math/w_acosh.c: Likewise.
36135         * math/w_acoshf.c: Likewise.
36136         * math/w_acoshl.c: Likewise.
36137         * math/w_asin.c: Likewise.
36138         * math/w_asinf.c: Likewise.
36139         * math/w_asinl.c: Likewise.
36140         * math/w_atan2.c: Likewise.
36141         * math/w_atan2f.c: Likewise.
36142         * math/w_atan2l.c: Likewise.
36143         * math/w_atanh.c: Likewise.
36144         * math/w_atanhf.c: Likewise.
36145         * math/w_atanhl.c: Likewise.
36146         * math/w_exp10.c: Likewise.
36147         * math/w_exp10f.c: Likewise.
36148         * math/w_exp10l.c: Likewise.
36149         * math/w_fmod.c: Likewise.
36150         * math/w_fmodf.c: Likewise.
36151         * math/w_fmodl.c: Likewise.
36152         * math/w_j0.c: Likewise.
36153         * math/w_j0f.c: Likewise.
36154         * math/w_j0l.c: Likewise.
36155         * math/w_j1.c: Likewise.
36156         * math/w_j1f.c: Likewise.
36157         * math/w_j1l.c: Likewise.
36158         * math/w_jn.c: Likewise.
36159         * math/w_jnf.c: Likewise.
36160         * math/w_log.c: Likewise.
36161         * math/w_logf.c: Likewise.
36162         * math/w_logl.c: Likewise.
36163         * math/w_log10.c: Likewise.
36164         * math/w_log10f.c: Likewise.
36165         * math/w_log10l.c: Likewise.
36166         * math/w_log2.c: Likewise.
36167         * math/w_log2f.c: Likewise.
36168         * math/w_log2l.c: Likewise.
36169         * math/w_pow.c: Likewise.
36170         * math/w_powf.c: Likewise.
36171         * math/w_powl.c: Likewise.
36172         * math/w_remainder.c: Likewise.
36173         * math/w_remainderf.c: Likewise.
36174         * math/w_remainderl.c: Likewise.
36175         * math/w_scalb.c: Likewise.
36176         * math/w_scalbf.c: Likewise.
36177         * math/w_scalbl.c: Likewise.
36178         * math/w_sqrt.c: Likewise.
36179         * math/w_sqrtf.c: Likewise.
36180         * math/w_sqrtl.c: Likewise.
36181         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36182         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36183         used.
36184         * math/math_private.h: Declare __kernel_standard_f.
36185         * math/w_cosh.c: Remove cruft and optimize a bit.
36186         * math/w_coshf.c: Likewise.
36187         * math/w_coshl.c: Likewise.
36188         * math/w_exp2.c: Likewise.
36189         * math/w_exp2f.c: Likewise.
36190         * math/w_exp2l.c: Likewise.
36191         * math/w_hypot.c: Likewise.
36192         * math/w_hypotf.c: Likewise.
36193         * math/w_hypotl.c: Likewise.
36194         * math/w_lgamma.c: Likewise.
36195         * math/w_lgamma_r.c: Likewise.
36196         * math/w_lgammaf.c: Likewise.
36197         * math/w_lgammaf_r.c: Likewise.
36198         * math/w_lgammal.c: Likewise.
36199         * math/w_lgammal_r.c: Likewise.
36200         * math/w_sinh.c: Likewise.
36201         * math/w_sinhf.c: Likewise.
36202         * math/w_sinhl.c: Likewise.
36203         * math/w_tgamma.c: Likewise.
36204         * math/w_tgammaf.c: Likewise.
36205         * math/w_tgammal.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36207         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36208         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36209         Minor optimizations.  Pretty printing.  Remove cruft.
36210         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36211         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36212         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36213         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36214         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36215         * sysdeps/i386/fpu/e_asin.S: Likewise.
36216         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36217         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36218         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36219         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36220         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36221         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36222         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36223         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36224         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36225         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36226         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36227         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36228         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36229         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36230         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36231         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36232         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36233         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36234         * sysdeps/i386/fpu/e_log.S: Likewise.
36235         * sysdeps/i386/fpu/e_log10.S: Likewise.
36236         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36237         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36238         * sysdeps/i386/fpu/e_log2.S: Likewise.
36239         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36240         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36241         * sysdeps/i386/fpu/e_logf.S: Likewise.
36242         * sysdeps/i386/fpu/e_logl.S: Likewise.
36243         * sysdeps/i386/fpu/e_pow.S: Likewise.
36244         * sysdeps/i386/fpu/e_powf.S: Likewise.
36245         * sysdeps/i386/fpu/e_powl.S: Likewise.
36246         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36247         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36248         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36249         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36250         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36251         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36252         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36253         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36254         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36255         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36256         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36258         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36259         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36260         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36261         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36262         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36263         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36264         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36265         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36266         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36267         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36268         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36269         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36271         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36272         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36273         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36275         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36276         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36277         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36278         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36279         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36280         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36281         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36282         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36283         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36284         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36285         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36286         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36287         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36288         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36289         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36290         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36291         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36292         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36293         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36294         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36295         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36296         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36297         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36298         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36299         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36300         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36301         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36302         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36303         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36305         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36306         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36308         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36310         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36311         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36312         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36313         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36314         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36315         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36316         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36317         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36318         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36319         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36321         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36323         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36324         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36325         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36326         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36329         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36330         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36331         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36332         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36333         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36334         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36335         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36336         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36337         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36338         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36339         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36340         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36341         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36342         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36343         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36344         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36345         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36346         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36347         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36348         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36349         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36350         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36351         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36352         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36353         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36354         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36355         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36356         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36357         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36358         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36359         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36360         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36361         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36362         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36363         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36364         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36365         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36366         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36367         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36368         (__isnanf): Likewise.
36369         (__isinf_ns): Likewise.
36370         (__isinf_nsf): Likewise.
36371         (__finite): Likewise.
36372         (__finitef): Likewise.
36373         (__ieee754_sqrt): Define as macro.
36374         (__ieee754_sqrtf): Define as macro.
36375         (__ieee754_sqrtl): Define as macro.
36376         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36377         inlined copy.
36378         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36379         __FINITE_MATH_ONLY__ consistent.
36380         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36382 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
36384         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36385         of rawmemchr.
36387         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36389 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
36391         * po/ja.po: Update from translation team.
36393 2011-10-08  Roland McGrath  <roland@hack.frob.com>
36395         * locale/programs/locarchive.c (prepare_address_space): New function.
36396         (create_archive, enlarge_archive, open_archive): Use it.
36398         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36399         inside [SHARED], where it is used.
36401         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36403         * nss/getent.c (netgroup_keys): Remove unused variable.
36404         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36406 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
36408         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36409         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36410         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36411         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36412         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36413         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36414         * math/Makefile (libm-calls): Add s_isinf_ns.
36415         * math/divtc3.c: Use __isinf_nsl instead of isinf.
36416         * math/multc3.c: Likewise.
36417         * math/s_casin.c: Likewise.
36418         * math/s_casinf.c: Likewise.
36419         * math/s_casinl.c: Likewise.
36420         * math/s_ccos.c: Likewise.
36421         * math/s_ccosf.c: Likewise.
36422         * math/s_ccosl.c: Likewise.
36423         * math/s_ctan.c: Likewise.
36424         * math/s_ctanf.c: Likewise.
36425         * math/s_ctanh.c: Likewise.
36426         * math/s_ctanhf.c: Likewise.
36427         * math/s_ctanhl.c: Likewise.
36428         * math/s_ctanl.c: Likewise.
36429         * math/w_fmod.c: Likewise.
36430         * math/w_fmodf.c: Likewise.
36431         * math/w_fmodl.c: Likewise.
36432         * math/w_remainder.c: Likewise.
36433         * math/w_remainderf.c: Likewise.
36434         * math/w_remainderl.c: Likewise.
36435         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36436         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36437         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36439         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36440         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36441         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36442         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36444         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36445         of the number.
36446         * stdio-common/printf_fphex.c: Likewise.
36447         * stdio-common/printf_size.c: Likewise.
36449         * math/e_exp10.c: Include math_private.h using <...> not "...".
36450         * math/e_exp10f.c: Likewise.
36451         * math/e_exp10l.c: Likewise.
36452         * math/e_exp2l.c: Likewise.
36453         * math/e_j0l.c: Likewise.
36454         * math/e_j1l.c: Likewise.
36455         * math/e_jnl.c: Likewise.
36456         * math/e_lgammal_r.c: Likewise.
36457         * math/e_rem_pio2l.c: Likewise.
36458         * math/e_scalb.c: Likewise.
36459         * math/e_scalbf.c: Likewise.
36460         * math/e_scalbl.c: Likewise.
36461         * math/k_cosl.c: Likewise.
36462         * math/k_sinl.c: Likewise.
36463         * math/k_tanl.c: Likewise.
36464         * math/s_cacoshf.c: Likewise.
36465         * math/s_catan.c: Likewise.
36466         * math/s_catanf.c: Likewise.
36467         * math/s_catanh.c: Likewise.
36468         * math/s_catanhf.c: Likewise.
36469         * math/s_catanhl.c: Likewise.
36470         * math/s_catanl.c: Likewise.
36471         * math/s_ccosh.c: Likewise.
36472         * math/s_ccoshf.c: Likewise.
36473         * math/s_ccoshl.c: Likewise.
36474         * math/s_cexp.c: Likewise.
36475         * math/s_cexpf.c: Likewise.
36476         * math/s_cexpl.c: Likewise.
36477         * math/s_clog.c: Likewise.
36478         * math/s_clog10.c: Likewise.
36479         * math/s_clog10f.c: Likewise.
36480         * math/s_clog10l.c: Likewise.
36481         * math/s_clogf.c: Likewise.
36482         * math/s_clogl.c: Likewise.
36483         * math/s_csin.c: Likewise.
36484         * math/s_csinf.c: Likewise.
36485         * math/s_csinh.c: Likewise.
36486         * math/s_csinhf.c: Likewise.
36487         * math/s_csinhl.c: Likewise.
36488         * math/s_csinl.c: Likewise.
36489         * math/s_csqrt.c: Likewise.
36490         * math/s_csqrtf.c: Likewise.
36491         * math/s_csqrtl.c: Likewise.
36492         * math/s_ctan.c: Likewise.
36493         * math/s_ctanf.c: Likewise.
36494         * math/s_ctanh.c: Likewise.
36495         * math/s_ctanhf.c: Likewise.
36496         * math/s_ctanhl.c: Likewise.
36497         * math/s_ctanl.c: Likewise.
36498         * math/s_ldexp.c: Likewise.
36499         * math/s_ldexpf.c: Likewise.
36500         * math/s_ldexpl.c: Likewise.
36501         * math/s_significand.c: Likewise.
36502         * math/s_significandf.c: Likewise.
36503         * math/s_significandl.c: Likewise.
36504         * math/w_acos.c: Likewise.
36505         * math/w_acosf.c: Likewise.
36506         * math/w_acosh.c: Likewise.
36507         * math/w_acoshf.c: Likewise.
36508         * math/w_acoshl.c: Likewise.
36509         * math/w_acosl.c: Likewise.
36510         * math/w_asin.c: Likewise.
36511         * math/w_asinf.c: Likewise.
36512         * math/w_asinl.c: Likewise.
36513         * math/w_atan2.c: Likewise.
36514         * math/w_atan2f.c: Likewise.
36515         * math/w_atan2l.c: Likewise.
36516         * math/w_atanh.c: Likewise.
36517         * math/w_atanhf.c: Likewise.
36518         * math/w_atanhl.c: Likewise.
36519         * math/w_cosh.c: Likewise.
36520         * math/w_coshf.c: Likewise.
36521         * math/w_coshl.c: Likewise.
36522         * math/w_dremf.c: Likewise.
36523         * math/w_exp10.c: Likewise.
36524         * math/w_exp10f.c: Likewise.
36525         * math/w_exp10l.c: Likewise.
36526         * math/w_exp2.c: Likewise.
36527         * math/w_exp2f.c: Likewise.
36528         * math/w_fmod.c: Likewise.
36529         * math/w_fmodf.c: Likewise.
36530         * math/w_fmodl.c: Likewise.
36531         * math/w_hypot.c: Likewise.
36532         * math/w_hypotf.c: Likewise.
36533         * math/w_hypotl.c: Likewise.
36534         * math/w_j0.c: Likewise.
36535         * math/w_j0f.c: Likewise.
36536         * math/w_j0l.c: Likewise.
36537         * math/w_j1.c: Likewise.
36538         * math/w_j1f.c: Likewise.
36539         * math/w_j1l.c: Likewise.
36540         * math/w_jn.c: Likewise.
36541         * math/w_jnf.c: Likewise.
36542         * math/w_jnl.c: Likewise.
36543         * math/w_lgamma.c: Likewise.
36544         * math/w_lgamma_r.c: Likewise.
36545         * math/w_lgammaf.c: Likewise.
36546         * math/w_lgammaf_r.c: Likewise.
36547         * math/w_lgammal.c: Likewise.
36548         * math/w_lgammal_r.c: Likewise.
36549         * math/w_log.c: Likewise.
36550         * math/w_log10.c: Likewise.
36551         * math/w_log10f.c: Likewise.
36552         * math/w_log10l.c: Likewise.
36553         * math/w_log2.c: Likewise.
36554         * math/w_log2f.c: Likewise.
36555         * math/w_log2l.c: Likewise.
36556         * math/w_logf.c: Likewise.
36557         * math/w_logl.c: Likewise.
36558         * math/w_pow.c: Likewise.
36559         * math/w_powf.c: Likewise.
36560         * math/w_powl.c: Likewise.
36561         * math/w_remainder.c: Likewise.
36562         * math/w_remainderf.c: Likewise.
36563         * math/w_remainderl.c: Likewise.
36564         * math/w_scalb.c: Likewise.
36565         * math/w_scalbf.c: Likewise.
36566         * math/w_scalbl.c: Likewise.
36567         * math/w_sinh.c: Likewise.
36568         * math/w_sinhf.c: Likewise.
36569         * math/w_sinhl.c: Likewise.
36570         * math/w_sqrt.c: Likewise.
36571         * math/w_sqrtf.c: Likewise.
36572         * math/w_sqrtl.c: Likewise.
36573         * math/w_tgamma.c: Likewise.
36574         * math/w_tgammaf.c: Likewise.
36575         * math/w_tgammal.c: Likewise.
36577         * po/ja.po: Update from translation team.
36579 2011-09-29  Andreas Jaeger  <aj@suse.de>
36581         [BZ #13179]
36582         * sunrpc/netname.c (netname2host): Fix logic.
36584         [BZ #6779]
36585         [BZ #6783]
36586         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
36587         correctly.
36588         * math/w_remainder.c (__remainder): Likewise.
36589         * math/w_remainderf.c (__remainderf): Likewise.
36590         * math/libm-test.inc (remainder_test): Add test cases.
36592 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36594         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
36595         sdiv_qrnnd.
36597 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36599         * string/test-memcmp.c: Avoid unncessary #defines.
36600         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36602 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36604         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
36605         Use new sse2 version for core i3 - i7 as it's faster
36606         than sse42 version.
36607         (bit_Prefer_PMINUB_for_stringop): New.
36608         * sysdeps/x86_64/rawmemchr.S: Update.
36609         Replace with faster SSE2 version.
36610         * sysdeps/x86_64/memrchr.S: New file.
36611         * sysdeps/x86_64/memchr.S: Update.
36612         Replace with faster SSE2 version.
36614 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
36616         * elf/dl-load.c (lose): Add cast to avoid warning.
36618 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36620         * po/ca.po: Update from translation team.
36622         * inet/getnetgrent_r.c: Hook up nscd.
36623         * nscd/Makefile (routines): Add nscd_netgroup.
36624         (nscd-modules): Add netgroupcache.
36625         (CFLAGS-netgroupcache.c): Define.
36626         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
36627         (cache_search): Add const to second parameter.
36628         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
36629         INNETGR.
36630         (dbs): Add netgrdb entry.
36631         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
36632         (verify_persistent_db): Handle netgrdb.
36633         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
36634         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
36635         GETFDNETGR.
36636         (netgroup_response_header): Define.
36637         (innetgroup_response_header): Define.
36638         (datahead): Add netgroup_response_header and innetgroup_response_header
36639         elements.
36640         * nscd/nscd.conf: Add entries for netgroup cache.
36641         * nscd/nscd.h (dbtype): Add netgrdb.
36642         (_PATH_NSCD_NETGROUP_DB): Define.
36643         (netgroup_iov_disabled): Declare.
36644         (xmalloc, xcalloc, xrealloc): Move declarations here.
36645         (cache_search): Adjust prototype.
36646         Add netgroup-related prototypes.
36647         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
36648         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
36649         (__nscd_innetgr): Declare.
36650         * nscd/selinux.c (perms): Use access_vector_t as element type and
36651         add netgroup-related initializers.
36652         * nscd/netgroupcache.c: New file.
36653         * nscd/nscd_netgroup.c: New file.
36654         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
36655         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
36656         For four parameters use innetgr.
36657         * nss/nss_files/files-init.c: Add definition and callback for netgr.
36658         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
36659         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
36660         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
36662         * nscd/connections.c (register_traced_file): Don't register file
36663         for disabled databases.
36665 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
36667         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
36669         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
36670         from tree and freeing node.
36672 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
36674         * nss/nsswitch.c (__nss_database_lookup): Handle
36675         nss_parse_service_list out of memory case.
36677 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
36679         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
36680         out of memory case.
36682 2011-10-04  Andreas Schwab  <schwab@redhat.com>
36684         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
36685         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
36686         pass it down.
36687         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
36688         elf_machine_rela, elf_machine_lazy_rel.
36689         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
36690         (ELF_DYNAMIC_DO_REL): Likewise.
36691         (ELF_DYNAMIC_DO_RELA): Likewise.
36692         (ELF_DYNAMIC_RELOCATE): Likewise.
36693         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
36694         to ELF_DYNAMIC_DO_REL.
36695         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36696         (dl_main): In trace mode always set __RTLD_NOIFUNC.
36697         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36698         elf_machine_rela.
36699         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36700         skip_ifunc, don't call ifunc function if non-zero.
36701         (elf_machine_rela): Likewise.
36702         (elf_machine_lazy_rel): Likewise.
36703         (elf_machine_lazy_rela): Likewise.
36704         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36705         (elf_machine_lazy_rel): Likewise.
36706         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36707         Likewise.
36708         (elf_machine_lazy_rel): Likewise.
36709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36710         Likewise.
36711         (elf_machine_lazy_rel): Likewise.
36712         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36713         (elf_machine_lazy_rel): Likewise.
36714         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36715         (elf_machine_lazy_rel): Likewise.
36716         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36717         (elf_machine_lazy_rel): Likewise.
36718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36719         (elf_machine_lazy_rel): Likewise.
36720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36721         (elf_machine_lazy_rel): Likewise.
36722         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36723         (elf_machine_lazy_rel): Likewise.
36725 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
36727         * nss/nss_files/files-init.c (_nss_files_init): Use static
36728         initialization for all the *_traced_file variables.
36730 2011-09-28  Andreas Schwab  <schwab@redhat.com>
36732         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36734 2011-09-27  Roland McGrath  <roland@hack.frob.com>
36736         [BZ #13226]
36737         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36739 2011-09-27  Andreas Schwab  <schwab@redhat.com>
36741         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36742         Reread the line before reparsing it.
36744 2011-09-26  Andreas Schwab  <schwab@redhat.com>
36746         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36748 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
36749             Maxim Kuvyrkov  <maxim@codesourcery.com>
36750             Joseph Myers  <joseph@codesourcery.com>
36752         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36753         if needed for __stack_chk_guard.
36755 2011-09-19  Roland McGrath  <roland@hack.frob.com>
36757         * sysdeps/posix/spawni.c (script_execute): Always define it.
36758         It will be optimized away if unused.
36759         (maybe_script_execute): New function.
36760         (__spawni): Call it.
36762         * Makerules: Don't include tls.make.
36763         (config-tls): Always set to thread.
36764         * tls.make.c: File removed.
36766 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
36768         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36769         * config.make.in (CPPFLAGS-config): New substituted variable.
36771 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36773         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36775         [BZ #13192]
36776         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36777         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36779 2011-09-15  Roland McGrath  <roland@hack.frob.com>
36781         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36782         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36783         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36784         (CALL_FAIL): Likewise.
36785         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36786         (CALL_FAIL): Macro removed.
36787         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36789 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36791         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36792         for __FINITE_MATH_ONLY__ == 1.
36794 2011-09-15  Andreas Schwab  <schwab@redhat.com>
36796         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36797         __ieee754_sqrt instead of sqrt.
36798         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36799         __ieee754_sqrtf instead of sqrtf.
36800         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36801         __floorf instead of floorf.
36802         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36803         __floorf, __truncf instead of floorf, truncf.
36805 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
36807         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36809         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36810         __extern_always_inline.
36811         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36812         32-bit.
36814 2011-09-14  Andreas Schwab  <schwab@redhat.com>
36816         * elf/rtld.c (dl_main): Also relocate in dependency order when
36817         doing symbol dependency testing.
36819 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
36821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36822         Always define `refsym'.
36824 2011-09-13  Andreas Schwab  <schwab@redhat.com>
36826         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36827         (__FD_ELT): Renamed from __FDELT.
36828         * misc/bits/select2.h (__FD_ELT): Likewise.
36829         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36830         __FD_MASK instead of __FDELT, __FDMASK.
36831         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36832         Likewise.
36833         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36834         Likewise.
36836         * elf/Makefile (gen-ldd): Fix pattern.
36838         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36839         (init_tls): Likewise.
36841 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
36843         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36845 2011-09-12  Andreas Schwab  <schwab@redhat.com>
36847         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36848         `struct cmsghdr *' instead of `void *'.
36849         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36850         Likewise.
36852 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
36854         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36855         if non-absolute.
36856         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36857         ldd_rewrite_script.
36859 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
36861         * configure.in: Remove --with-tls option.
36862         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36863         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36864         out in case it is missing.
36865         * sysdeps/ia64/elf/configure.in: Likewise.
36866         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36867         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36868         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36869         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36870         * sysdeps/sh/elf/configure.in: Likewise.
36871         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36872         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36873         * sysdeps/x86_64/elf/configure.in: Likewise.
36874         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36875         * sysdeps/mach/hurd/tls.h: Likewise.
36877         [BZ #13067]
36878         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36880         [BZ #13090]
36881         * configure.in: Fix use of AC_INIT.
36883         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36885 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
36887         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36888         __set_errno.
36889         * malloc/hooks.c: Likewise.
36891         [BZ #11929]
36892         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
36893         variables statically.
36894         (narenas): Initialize.
36895         (list_lock): Initialize.
36896         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
36897         initializtion of main_arena and list_lock.  Small cleanups.
36898         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36899         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
36900         Add initializers to main_arena and mp_.
36901         (malloc_state): Remove pagesize member.  Change all users to use
36902         GLRO(dl_pagesize).
36904         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36905         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
36906         is always initialized.
36908         * malloc/malloc.c: Removed unused configurations and dead code.
36909         * malloc/arena.c: Likewise.
36910         * malloc/hooks.c: Likewise.
36911         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36913         * include/tls.h: Removed.  USE___THREAD must always be defined.
36914         * bits/libc-tsd.h: Don't handle !USE___THREAD.
36915         * elf/dl-libc.c: Likewise.
36916         * elf/dl-tsd.c: Likewise.
36917         * include/errno.h: Likewise.
36918         * include/netdb.h: Likewise.
36919         * include/resolv.h: Likewise.
36920         * inet/herrno-loc.c: Likewise.
36921         * inet/herrno.c: Likewise.
36922         * malloc/arena.c: Likewise.
36923         * malloc/hooks.c: Likewise.
36924         * malloc/malloc.c: Likewise.
36925         * resolv/res-state.c: Likewise.
36926         * resolv/res_libc.c: Likewise.
36927         * sysdeps/i386/dl-machine.h: Likewise.
36928         * sysdeps/ia64/dl-machine.h: Likewise.
36929         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36930         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36931         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36932         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36933         * sysdeps/sh/dl-machine.h: Likewise.
36934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36935         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36936         * sysdeps/unix/i386/sysdep.S: Likewise.
36937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36938         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36940         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36941         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36943         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36946         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36947         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36948         * sysdeps/x86_64/dl-machine.h: Likewise.
36949         * tls.make.c: Likewise.
36951         * configure.in: Remove --with-__thread option.  Make tests for
36952         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36953         tls_model attribute fail if no support is available.  Remove
36954         USE_IN_LIBIO.
36955         * Makeconfig: Adjust for dropped configure option.  All features are
36956         now mandatory.
36957         * Makerules: Likewise.
36958         * Versions.def: Likewise.
36959         * argp/argp-fmtstream.c: Likewise.
36960         * argp/argp-fmtstream.h: Likewise.
36961         * argp/argp-help.c: Likewise.
36962         * assert/assert.c: Likewise.
36963         * config.h.in: Likewise.
36964         * config.make.in: Likewise.
36965         * configure: Likewise.
36966         * configure.in: Likewise.
36967         * csu/Versions: Likewise.
36968         * csu/init.c: Likewise.
36969         * elf/tst-audit2.c: Likewise.
36970         * elf/tst-tls10.c: Likewise.
36971         * elf/tst-tls10.h: Likewise.
36972         * elf/tst-tls11.c: Likewise.
36973         * elf/tst-tls12.c: Likewise.
36974         * elf/tst-tls14.c: Likewise.
36975         * elf/tst-tlsmod11.c: Likewise.
36976         * elf/tst-tlsmod12.c: Likewise.
36977         * elf/tst-tlsmod13.c: Likewise.
36978         * elf/tst-tlsmod13a.c: Likewise.
36979         * elf/tst-tlsmod14a.c: Likewise.
36980         * elf/tst-tlsmod15b.c: Likewise.
36981         * elf/tst-tlsmod16a.c: Likewise.
36982         * elf/tst-tlsmod16b.c: Likewise.
36983         * elf/tst-tlsmod7.c: Likewise.
36984         * elf/tst-tlsmod8.c: Likewise.
36985         * elf/tst-tlsmod9.c: Likewise.
36986         * gmon/gmon.c: Likewise.
36987         * grp/fgetgrent_r.c: Likewise.
36988         * grp/putgrent.c: Likewise.
36989         * hurd/fopenport.c: Likewise.
36990         * include/libc-symbols.h: Likewise.
36991         * include/tls.h: Likewise.
36992         * intl/gettextP.h: Likewise.
36993         * intl/loadinfo.h: Likewise.
36994         * locale/global-locale.c: Likewise.
36995         * locale/localeinfo.h: Likewise.
36996         * mach/devstream.c: Likewise.
36997         * malloc/arena.c: Likewise.
36998         * malloc/set-freeres.c: Likewise.
36999         * misc/err.c: Likewise.
37000         * misc/getttyent.c: Likewise.
37001         * misc/mntent_r.c: Likewise.
37002         * posix/getopt.c: Likewise.
37003         * posix/wordexp.c: Likewise.
37004         * pwd/fgetpwent_r.c: Likewise.
37005         * resolv/Versions: Likewise.
37006         * resolv/res_hconf.c: Likewise.
37007         * shadow/fgetspent_r.c: Likewise.
37008         * shadow/putspent.c: Likewise.
37009         * stdio-common/printf_fphex.c: Likewise.
37010         * stdio-common/tmpfile.c: Likewise.
37011         * stdlib/abort.c: Likewise.
37012         * stdlib/fmtmsg.c: Likewise.
37013         * sunrpc/auth_unix.c: Likewise.
37014         * sunrpc/clnt_perr.c: Likewise.
37015         * sunrpc/clnt_tcp.c: Likewise.
37016         * sunrpc/clnt_udp.c: Likewise.
37017         * sunrpc/clnt_unix.c: Likewise.
37018         * sunrpc/openchild.c: Likewise.
37019         * sunrpc/svc_simple.c: Likewise.
37020         * sunrpc/svc_tcp.c: Likewise.
37021         * sunrpc/svc_udp.c: Likewise.
37022         * sunrpc/svc_unix.c: Likewise.
37023         * sunrpc/xdr.c: Likewise.
37024         * sunrpc/xdr_array.c: Likewise.
37025         * sunrpc/xdr_rec.c: Likewise.
37026         * sunrpc/xdr_ref.c: Likewise.
37027         * sunrpc/xdr_stdio.c: Likewise.
37029 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37031         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37033 2011-07-03  Andreas Jaeger  <aj@suse.de>
37035         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37036         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37037         regenerate with gen-libm-tests.pl.
37039 2010-05-12  Petr Baudis  <pasky@suse.cz>
37041         [BZ #11589]
37042         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37043         around j0() zero points by switching to j1().
37044         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37045         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37047         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37049 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37051         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37052         instead of 0.
37053         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37054         instead of 0.
37055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37056         Patch in part by Pavel Roskin <proski@gnu.org>.
37058         [BZ #13138]
37059         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37060         realloc.
37061         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37062         Free memory block if necessary.
37064         [BZ #12847]
37065         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37066         be NULL.  Don't lock in this case.
37068 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37070         * elf/elf.h (ELFOSABI_GNU): New macro.
37071         (ELFOSABI_LINUX): Define to that.
37073 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37075         * string/strncat.c (strncat): Undef the symbol in case it has been
37076         defined in bits/string.h.
37078 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37080         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37082         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37083         link map.
37085 2011-08-17  Andreas Jaeger  <aj@suse.de>
37087         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37089 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37090             Ian Lance Taylor  <iant@google.com>
37092         * math/libm-test.inc (lround_test): New testcase.
37093         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37095 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37097         * Makefile: Remove support for automatic cvs check-ins.
37098         * Makerules: Likewise.
37099         * config.make.in: Likewise.
37100         * configure.in: Likewise.
37101         * intl/Makefile: Likewise.
37102         * locale/Makefile: Likewise.
37103         * po/Makefile: Likewise.
37104         * posix/Makefile: Likewise.
37105         * sysdeps/gnu/Makefile: Likewise.
37106         * sysdeps/mach/hurd/Makefile: Likewise.
37107         * sysdeps/sparc/sparc32/Makefile: Likewise.
37109         [BZ #13118]
37110         * posix/Makefile (bug-regex32-ENV): Define.
37111         Patch by John Stanley <jpsinthemix@verizon.net>.
37113         * misc/Makefile (headers): Add bits/select2.h.
37114         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37115         * misc/bits/select2.h: New file.
37116         * include/bits/select2.h: New file.
37117         * debug/Makefile (routines): Add fdelt_chk.
37118         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37119         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37120         FD_ISSET.
37121         * debug/fdelt_chk.c: New file.
37123         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37124         * wcsmbs/test-wmemcmp.c: Likewise.
37125         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37126         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37128 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37130         * string/Makefile (strop-tests): Add memcmp.
37131         * string/test-wmemcmp.c: New file.
37132         * string/test-memcmp.c: Add wmemcmp support.
37134 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37136         [BZ #13153]
37137         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37138         2011-07-19 change.
37140         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37141         garbage value in a __mach_port_mod_refs call in the cases of the
37142         task-self and thread-self ports.
37144 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37146         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37148 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37150         * elf/dl-load.c (lose): Check for non-null L.
37152 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37154         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37156         * elf/dl-libc.c (dlerror_run): Pass back error code from
37157         dl_catch_error.
37159         [BZ #13123]
37160         * elf/dl-load.c (lose): Free l_origin if it is valid.
37162         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37163         names.
37164         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37165         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37166         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37167         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37168         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37169         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37171 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37173         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37174         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37175         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37176         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37177         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37178         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37179         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37180         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37181         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37182         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37184 2011-08-15  Alan Modra  <amodra@gmail.com>
37186         [BZ #13092]
37187         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37188         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37189         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37190         ppc_mcount to static-only-routines.
37191         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37192         __mcount_internal.
37193         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37194         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37196 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37198         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37199         for finite and infinity parameters.
37201 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37204         and add nop instructions for throughput optimization.
37205         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37207 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37209         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37210         aligned copy for power7 with vector-scalar instructions.
37211         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37213 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37216         AVX check.
37218 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37220         [BZ #13144]
37221         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37222         last change.
37224 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37226         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37227         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37228         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37229         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37230         clock_gettime.
37232 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37234         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37235         Forgot to demangle the pointer.
37237         * sysdeps/i386/sysdep.h: Define atom_text_section.
37238         * sysdeps/x86_64/sysdep.h: Likewise.
37239         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37240         section with atom_text_section.
37241         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37243         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37244         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37245         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37247         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37248         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37249         already be defined.  Change to take two parameters and don't assign
37250         result to variable.  Adjust all users.
37251         Define INTERNAL_GETTIME if not already defined.
37252         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37253         call.
37254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37255         HAVE_CLOCK_GETTIME_VSYSCALL.
37256         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37259         gettimeofday vsyscall, just use time.
37261 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37264         <errno.h>.
37266 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37268         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37269         syscall on x86-64.
37270         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37271         syscall.
37272         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37273         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37274         syscall if possible.
37276 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37278         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37279         e_ident.  Don't pass to find_mapsXX.
37280         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37282 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37285         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37286         * sysdeps/x86_64/multiarch/strchr.S: Update.
37287         Check bit_slow_BSF bit.
37288         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37289         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37290         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37292 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37294         [BZ #13134]
37295         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37296         before glibc 2.15.
37297         (tryshell): Define.
37298         (__spawni): Change last parameter to be flag.  Test
37299         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37300         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37301         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37302         * posix/spawni.c: Likewise.
37303         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37304         * posix/spawnp.c: Likewise.  Change normal version to use
37305         SPAWN_XFLAGS_USE_PATH.
37306         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37307         SPAWN_XFLAGS_TRY_SHELL.
37309         [BZ #13150]
37310         * posix/glob.h: Remove gcc 1.x support.
37312         [BZ #13068]
37313         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37315 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37317         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37318         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37319         strrchr-sse2-bsf
37320         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37321         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37322         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37323         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37324         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37325         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37327 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37329         * sysdeps/x86_64/wcscmp.S: New file.
37331         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37332         wcscmp-c wcscmp-sse2
37333         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37334         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37335         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37336         * wcsmbs/wcscmp.c: Allow renaming.
37338 2011-09-05  David S. Miller  <davem@davemloft.net>
37340         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37341         stack slot, rather than the struct return pointer slot.
37342         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37343         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37345         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37347 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37349         * po/ja.po: Update from translation team.
37351         [BZ #13144]
37352         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37353         kernel in 64-bit binaries.
37355 2011-09-01  David S. Miller  <davem@davemloft.net>
37357         * elf/elf.h (HWCAP_SPARC_*): Move to..
37358         * sysdeps/sparc/sysdep.h: this new file and add new values.
37359         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37360         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37361         _DL_HWCAP_COUNT to 24.
37362         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37363         entries.
37364         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37365         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37366         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37367         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37368         instead of magic constants.
37369         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37371 2011-08-31  David S. Miller  <davem@davemloft.net>
37373         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37375         Reimplement to do errno handling inline.
37376         (SYSCALL_ERROR_HANDLER): New macro.
37377         (__SYSCALL_STRING): Do not do errno handling in asm.
37378         (__CLONE_SYSCALL_STRING): Delete.
37379         (__INTERNAL_SYSCALL_STRING): Delete.
37380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37381         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37382         (PSEUDO): Reimplement to do errno handling inline.
37383         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37384         (SYSCALL_ERROR_HANDLER): New macro.
37385         (__SYSCALL_STRING): Do not do errno handling in asm.
37386         (__CLONE_SYSCALL_STRING): Delete.
37387         (__INTERNAL_SYSCALL_STRING): Delete.
37388         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37389         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37390         i386.
37391         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37392         (inline_syscall*): Add 'err' argument.
37393         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37394         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37395         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37396         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37398         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37399         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37401 2011-08-30  Andreas Schwab  <schwab@redhat.com>
37403         * elf/rtld.c (dl_main): Relocate objects in dependency order.
37405 2011-08-29  Jiri Olsa <jolsa@redhat.com>
37407         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37408         directive.
37410 2011-08-24  David S. Miller  <davem@davemloft.net>
37412         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37414 2011-08-24  Andreas Schwab  <schwab@redhat.com>
37416         * elf/Makefile: Add rules to build and run unload8 test.
37417         * elf/unload8.c: New file.
37418         * elf/unload8mod1.c: New file.
37419         * elf/unload8mod1x.c: New file.
37420         * elf/unload8mod2.c: New file.
37421         * elf/unload8mod3.c: New file.
37423         * elf/dl-close.c (_dl_close_worker): Reset private search list if
37424         it wasn't used.
37426 2011-08-23  David S. Miller  <davem@davemloft.net>
37428         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37429         subtract stack bias.
37430         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37431         %sp not %fp in calculations.
37432         (_JMPBUF_UNWINDS_ADJ): Likewise.
37434         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37435         (aio_suspend): Call it to force an exception region around the
37436         AIO_MISC_WAIT() invocation.
37438 2011-08-23  Andreas Schwab  <schwab@redhat.com>
37440         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37441         backslash.
37443 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
37445         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37446         protection macro.
37447         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37448         and <dl-machine.h>.
37449         (Elf64_FuncDesc): Remove.
37451 2011-08-22  David S. Miller  <davem@davemloft.net>
37453         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37454         sigaltstack check, add missing cfi directives.
37455         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37456         missing cfi directives, and sigaltstack handling.
37458 2011-08-16  Andreas Schwab  <schwab@redhat.com>
37460         [BZ #11724]
37461         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37462         object is seen twice.
37463         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37465         * elf/Makefile (distribute): Add tst-initorder2.c.
37466         (tests): Add tst-initorder2.
37467         (modules-names): Add tst-initorder2a tst-initorder2b
37468         tst-initorder2c tst-initorder2d.  Add rules to build them.
37469         ($(objpfx)tst-initorder2.out): New rule.
37470         * elf/tst-initorder2.c: New file.
37471         * elf/tst-initorder2.exp: New file.
37473 2011-08-22  Andreas Schwab  <schwab@redhat.com>
37475         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
37477         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
37478         dependencies back to end of function.
37480         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37481         $(elfobjdir)/ld.so.
37483 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
37485         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
37486         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37487         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
37488         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
37489         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
37490         of __vdso_gettimeofday.
37491         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
37492         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
37493         attribute_hidden.
37494         (_libc_vdso_platform_setup): Remove initialization of
37495         __vdso_gettimeofday and __vdso_time.
37497 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37499         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
37500         and fgetc_unlocked.
37501         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
37502         getc_unlocked.
37504         * elf/dl-open.c (add_to_global): Report additions to the global scope
37505         for LD_DEBUG=scopes.
37506         (dl_open_worker): Also print scope of newly loaded dependencies.
37507         (_dl_show_scope): Indicate if there is no scope.
37509         [BZ #13114]
37510         * stdio-common/Makefile (tests): Add bug24.
37511         * stdio-common/bug24.c: New file.
37513 2011-08-19  Andreas Jaeger  <aj@suse.de>
37515         [BZ #13114]
37516         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
37517         non-existant file when using close-on-exec mode.
37519 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
37522         the very first instruction.
37524         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
37525         the CFI state in the end.
37526         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
37527         inclusion of dl-trampoline.h.
37528         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
37530 2011-08-19  Andreas Schwab  <schwab@redhat.com>
37532         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
37533         expectations for long double.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
37536         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
37538 2011-08-14  David S. Miller  <davem@davemloft.net>
37540         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
37541         artificual limit depends upon the system page size.
37543 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37545         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
37546         * resolv/Makefile: Define CFLAGS-libresolv.
37548 2011-08-17  Andreas Schwab  <schwab@redhat.com>
37550         * nss/makedb.c (compute_tables): Make variables used in nested
37551         function static.
37553 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37555         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
37556         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
37557         if buffer was too small.
37559         * elf/pldd.c (main): Attach to all threads in the process.
37560         Rewrite /proc handling to use *at functions.
37562 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
37564         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
37565         specifies first scope to show.
37566         (dl_open_worker): Update callers.  Move printing scope of new
37567         object to before the relocation.
37568         * elf/rtld.c (dl_main): Update _dl_show_scope call.
37569         * sysdeps/generic/ldsodefs.h: Update declaration.
37571         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
37572         string for the scope number.
37574 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
37576         * nscd/servicescache.c (cache_addserv): Make sure written is always
37577         initialized.
37579 2011-08-14  Roland McGrath  <roland@hack.frob.com>
37581         * sysdeps/i386/i486/bits/atomic.h
37582         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
37583         statement expression, so as to suppress "set but not used" warning.
37584         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
37586         * string/strncat.c (STRNCAT): Use prototype definition.
37588         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
37589         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
37590         -Iprograms here.
37591         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
37592         (localedef-modules): Add localedef.
37593         (locale-modules): Add locale.
37595         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
37596         * elf/rtld.c (dl_main): Invert order of assignment in last change,
37597         to avoid a warning.
37599 2011-08-14  David S. Miller  <davem@davemloft.net>
37601         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
37602         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
37604 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
37606         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
37607         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
37608         * elf/rtld.c (dl_main): Set l_name of vDSO.
37609         Call _dl_show_scope when DL_DEBUG_SCOPES.
37610         (process_dl_debug): Recognize scopes flag and also set it for all.
37611         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
37612         Declare _dl_show_scope.
37614         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
37615         (do_dlopen): Pass caller_dlopen to dl_open.
37616         (__libc_dlopen_mode): Initialize caller_dlopen.
37618         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
37619         of libc.  Make tolower call locale-independent.  Optimize a bit by
37620         using isdigit instead of isalnum.
37621         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
37623 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
37625         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
37626         was a dependency or dynamically loaded.
37628 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
37630         * intl/l10nflist.c: Allow architecture-specific pop function.
37631         * sysdeps/x86_64/l10nflist.c: New file.
37633         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
37634         classification.
37636 2011-08-10  Andreas Schwab  <schwab@redhat.com>
37638         * include/dirent.h: Add libc_hidden_proto for scandirat and
37639         scandirat64.  Don't declare __scandirat64.
37640         * dirent/scandirat.c: Add libc_hidden_def.
37641         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
37642         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
37644 2011-08-10  David S. Miller  <davem@davemloft.net>
37646         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
37647         enum.
37648         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37649         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37652 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
37654         * Versions.def [libc]: Add GLIBC_2.15.
37655         * dirent/Makefile (routines): Add scandirat and scandirat64.
37656         * dirent/Versions [libc]: Export scandirat and scandirat64 for
37657         GLIBC_2.15.
37658         * dirent/dirent.h: Declare scandirat and scandirat64.
37659         * dirent/scandirat.c: New file.
37660         * dirent/scandirat64.c: New file.
37661         * sysdeps/wordsize-64/scandirat.c: New file.
37662         * sysdeps/wordsize-64/scandirat64.c: New file.
37663         * dirent/opendir.c: Define opendirat.
37664         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
37665         using scandirat.
37666         * dirent/scandir64.c: Adjust for scandir.c change.
37667         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
37668         __scandirat64, and __scandir_cancel_handler.
37669         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
37670         additional parameter and use openat instead of open (outside of ld.so).
37671         Add new __opendir as wrapper around __opendirat.
37672         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
37673         here without requiring old scandirat implementation.
37675 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
37677         * dirent/scandir.c (cancel_handler): Renamed to
37678         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
37679         defined.  Adjust users.
37680         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
37681         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
37683 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
37685         * string/test-string.h (IMPL): Use __STRING to expand name and then
37686         stringify it.
37688         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
37689         of cleanups.
37691 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37693         * string/Makefile: Update.
37694         (strop-tests): Append strncat.
37695         * string/test-wcscmp.c: New file.
37696         New comprehensive test for wcscmp.
37697         * string/test-strcmp.c: Update.
37698         (WIDE): New define.
37700 2011-07-22  Andreas Schwab  <schwab@redhat.com>
37702         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37703         line.
37705 2011-07-26  Andreas Schwab  <schwab@redhat.com>
37707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37708         encoding to ACE if AI_IDN.
37710 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
37712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37713         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37715 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37717         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37718         Fix overflow bug in strncat.
37719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37721         * string/test-strncat.c: Update.
37722         Add new tests for checking overflow bugs.
37724 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37727         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37728         * sysdeps/i386/i686/multiarch/strcat.S: New file.
37729         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37730         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37731         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37732         * sysdeps/i386/i686/multiarch/strncat.S: New file.
37733         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37734         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37737         (USE_AS_STRCAT): Define.
37738         Add strcat and strncat support.
37739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37741 2011-07-25  Andreas Schwab  <schwab@redhat.com>
37743         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37744         __n bigger than INT_MAX+1.
37745         (__strncmp_g): Likewise.
37747 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
37749         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37750         * libio/stido.h: Likewise.
37752         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37753         (AF_NFC): Define.
37754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37755         (AF_NFC): Define.
37757         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37758         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37759         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37760         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37763         [BZ #13021]
37764         * scripts/test-installation.pl: Don't expect libnss_test1 to be
37765         installed.
37767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37768         typo.
37769         (_dl_x86_64_save_sse): Likewise.
37771 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
37773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37774         OSXSAVE.
37775         (_dl_x86_64_save_sse): Likewise.
37777         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37779         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37781 2011-07-21  Andreas Schwab  <schwab@redhat.com>
37783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37784         change.
37785         (_dl_x86_64_save_sse): Use correct AVX check.
37787 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37789         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37790         bug in strncpy/strncat.
37791         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37793 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
37795         * string/tester.c (test_strcat): Add tests for different alignments
37796         of source and destination.
37797         (test_strncat): Likewise.
37799 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37801         [BZ #12852]
37802         * posix/glob.c (glob): Check passed in values before using them in
37803         expressions to avoid some overflows.
37804         (glob_in_dir): Likewise.
37806         [BZ #13007]
37807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37808         check for AVX enablement so that we don't crash with old kernels and
37809         new hardware.
37810         * elf/tst-audit4.c: Add same checks here.
37811         * elf/tst-audit6.c: Likewise.
37813         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37815 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
37817         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37819 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37821         * po/cs.po: Update from translation team.
37822         * po/bg.po: Likewise.
37824 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
37826         * misc/sys/cdefs.h: Add support for const attribute.
37827         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37828         to gnu_dev_{major,minor,makedev} functions.
37830 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
37832         * intl/dcigettext.c (get_output_charset): Add missing bracket.
37834 2011-07-20  Andreas Schwab  <schwab@redhat.com>
37836         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37837         strlen results.
37839 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37841         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37842         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37843         register in order to avoid conflicts with the soft frame pointer
37844         being held in r11 when necessary.
37845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37846         (INTERNAL_VSYSCALL_NCS): Likewise.
37848 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
37850         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37851         * elf/dl-fini.c (_dl_fini): Adjust caller.
37852         * elf/dl-close.c (_dl_close_worker): Likewise.
37853         * sysdeps/generic/ldsodefs.h: Adjust declaration.
37855 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37857         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37858         "aux_cache->nlibs < 0".
37860         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37861         in the reload-count case.
37863 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37866         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37867         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37868         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37869         * sysdeps/x86_64/multiarch/strcat.S: New file.
37870         * sysdeps/x86_64/multiarch/strncat.S: New file.
37871         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37872         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37873         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37874         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37876         (USE_AS_STRCAT): Define.
37877         Add strcat and strncat support.
37878         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37879         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37880         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37881         * string/strncat.c: Update.
37882         (USE_AS_STRNCAT): Define.
37883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37884         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37885         and i7.
37886         * sysdeps/x86_64/multiarch/init-arch.h
37887         (bit_Prefer_PMINUB_for_stringop): New.
37888         (index_Prefer_PMINUB_for_stringop): Likewise.
37889         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37890         bit_Prefer_PMINUB_for_stringop.
37892 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37894         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37895         buffer64.
37896         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37897         of casting of buffer.
37898         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37899         buffer32 and buffer64.
37900         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37901         writes instead of casting of buffer.
37902         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37903         buffer32.
37904         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37905         casting of buffer.
37907 2011-07-19  Andreas Schwab  <schwab@redhat.com>
37909         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37911 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37913         * nscd/nscd.c (termination_handler): Don't do anything for a database
37914         if it has not yet been initialized.
37916 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37918         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37920 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37922         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37924 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37926         * po/nl.po: Update from translation team.
37927         * po/sv.po: Likewise.
37929 2011-07-16  Roland McGrath  <roland@hack.frob.com>
37931         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37932         now disallowed by GCC.
37934         * configure.in (use-default-link): Default to yes if a test -shared
37935         link meets our qualifications.
37936         * configure: Regenerated.
37938         * config.make.in (output-format): New variable.
37939         * configure.in: Check for ld --print-output-format support.
37940         * configure: Regenerated.
37941         * Makerules ($(common-objpfx)format.lds)
37942         [$(output-format) != unknown]: Just use $(output-format),
37943         instead of the linker-script munging.
37945 2011-07-14  Roland McGrath  <roland@hack.frob.com>
37947         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37948         of $(common-objpfx)shlib.lds.
37949         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37951         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37952         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37954         * configure.in (-z relro check): Adjust test code to add a large
37955         writable data section after it.
37956         * configure: Regenerated.
37958 2011-07-11  Roland McGrath  <roland@hack.frob.com>
37960         * configure.in (-z relro check): Fix test code to make the variable
37961         truly const.
37962         * configure: Regenerated.
37964 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
37966         * nscd/nscd.h (struct traced_file): Define.
37967         (struct database_dyn): Remove inotify_descr, reset_res, and filename
37968         elements.  Add traced_files.
37969         (inotify_fd): Declare.
37970         (register_traced_file): Declare.
37971         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37972         (inotify_fd): Export.
37973         (resolv_conf_descr): Remove.
37974         (nscd_init): Move inotify descriptor creation to main.
37975         Don't register files for notification here.
37976         (register_traced_file): New function.
37977         (invalidate_cache): Don't use reset_res to determine whether to call
37978         res_init, go through the list of registered files.
37979         (main_loop_poll): The inotify descriptors are now stored in the
37980         structures for the traced files.
37981         (main_loop_epoll): Likewise
37982         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
37983         to __nss_disable_nscd.
37984         * nscd/cache.c (prune_cache): There is no single inotify descriptor
37985         for a database anymore.  Check the records for all the registered
37986         files instead.
37987         * nss/Makefile (libnss_files-routines): Add files-init.
37988         (libnss_db-routines): Add db-init.
37989         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37990         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37991         * nss/nss_db/db-init.c: New file.
37992         * nss/nss_files/files-init.c: New file.
37993         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
37994         __nss_lookup_function.
37995         (__nss_lookup_function): Call nss_load_library.
37996         (nss_load_all_libraries): New function.
37997         (__nss_disable_nscd): Take parameter with callback function for files
37998         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
37999         used for the cached services.
38000         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38001         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38002         options for features to all the files in nscd.
38004         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38006 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38008         * csu/elf-init.c (__libc_csu_init): Comment typo.
38010 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38012         * po/pl.po: Update from translation team.
38013         * po/ja.po: Likewise.
38014         * po/ru.po: Likewise.
38015         * po/ko.po: Likewise.
38016         * po/fr.po: Likewise.
38018 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38020         * configure.in (.ctors/.dtors header and trailer check):
38021         Use an empirical test on a built program.
38022         * configure: Regenerated.
38024         * configure.in (-z relro check): Use an empirical test on a built DSO.
38025         Detect, but do not require, on ia64.
38026         * configure: Regenerated.
38028         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38029         Update tests that use readelf to use $READELF instead.
38030         * configure: Regenerated.
38032 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38034         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38035         if the result is not used.
38037 2011-07-05  Andreas Jaeger  <aj@suse.de>
38039         [BZ#9696]
38040         * stdlib/tst-strtod.c: Add testcase.
38042 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38044         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38045         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38046         The latter has a higher limit.  Take additional parameter to pass to
38047         the new function.
38048         (__pathconf): Pass file to __statfs_link_max.
38049         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38050         __statfs_link_max.
38051         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38052         __statfs_link_max.
38054         [BZ #12868]
38055         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38056         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38057         Handle Lustre.
38058         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38059         (__statfs_filesize_max): Likewise.
38060         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38062 2011-07-05  Andreas Jaeger  <aj@suse.de>
38064         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38066 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38068         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38069         `status' variable.
38070         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38071         Likewise.
38073 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38075         * Makefile (strop-tests): Add strncat.
38076         * string/test-strncat.c: New file.
38078 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38080         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38082 2011-06-21  Andreas Jaeger  <aj@suse.de>
38084         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38085         Copy rule from iconvdata/Makefile.
38087 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38089         [BZ #12922]
38090         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38091         but no long options are defined, just return 'W'.
38093 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38095         [BZ #9696]
38096         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38098 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38100         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38101         netgroups to read.
38102         (innetgr): Likewise.
38104 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38106         * config.make.in (install_root): Default to $(DESTDIR).
38108 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38110         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38112 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38114         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38116         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38117         containing directory rather than embedding absolute directory names.
38119         * scripts/check-local-headers.sh: Rewritten using awk.
38120         Match by word, not by line.  Print error messages for matches.
38121         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38123         * Makerules [shlib-lds-flags empty]:
38124         ($(common-objpfx)libc_pic.opts): New target.
38125         ($(common-objpfx)libc_pic.os.clean): New target.
38126         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38128         * config.make.in (OBJCOPY): New variable.
38129         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38130         * configure: Regenerated.
38132         * config.make.in (use-default-link): New variable.
38133         * configure.in (use_default_link): Grok --with-default-link to set it.
38134         * configure: Regenerated.
38135         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38136         (shlib-lds, shlib-lds-flags): Define to empty.
38138         * Makerules (shlib-lds): New variable.
38139         (shlib-lds-flags): New variable.
38140         (build-shlib, build-moduile, build-module-asneeded): Use it.
38141         ($(common-objpfx)libc.so): Use $(shlib-lds).
38142         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38143         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38145         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38146         DT_FLAGS/DT_FLAGS_1 with zero flags.
38148         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38149         linker script munging.
38151 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38153         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38154         as 128-bit value.
38155         * crypt/sha512.c (sha512_process_block): Perform total addition using
38156         128-bit if possible.
38157         (__sha512_finish_ctx): Likewise.
38158         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38159         as 64-bit value.
38160         * crypt/sha256.c (SWAP64): Define.
38161         (sha256_process_block): Perform total addition using 64-bit if
38162         possible.
38163         (__sha256_finish_ctx): Likewise.
38165 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38167         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38168         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38169         * nscd/hstcache.c (cache_addhst): Likewise.
38170         * nscd/grpcache.c (cache_addgr): Likewise.
38171         * nscd/aicache.c (addhstaiX): Likewise
38172         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38174 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38176         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38177         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38178         * nscd/hstcache.c (cache_addhst): Likewise.
38179         * nscd/grpcache.c (cache_addgr): Likewise.
38180         * nscd/aicache.c (addhstaiX): Likewise
38182 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38184         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38185         domain only when needed.
38187 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38190         is always restored.
38192 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38194         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38195         are re-adding the entry.
38196         * nscd/servicescache.c (cache_addserv): Likewise.
38198 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38200         * sysdeps/generic/dl-irel.h: fix protection against multiple
38201         inclusions.
38202         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38204 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38206         [BZ #12935]
38207         * malloc/memusage.sh: Fix quoting in message.
38208         * debug/xtrace.sh: Likewise.
38210         * configure.in: Remove support for --experimental-malloc option, make
38211         it the default.
38212         * config.make.in: Likewise.
38213         * malloc/Makefile: Likewise.
38215 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38217         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38218         two-byte characters.
38220 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38222         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38223         AC_CACHE_CHECK invocation.
38224         * configure: Regenerated.
38226         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38228 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38230         [BZ #12350]
38231         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38232         bit from old_res_options.
38234         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38236         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38237         value type for setfct.
38239 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38241         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38242         __gettimeofday instead of gettimeofday.
38244 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38246         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38248 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38253         info.
38255 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38258         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38259         strcpy-sse2-unaligned strncpy-sse2-unaligned
38260         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38261         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38262         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38263         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38264         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38266         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38267         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38268         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38269         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38270         (STRCPY): Support SSE2 and SSSE3 versions.
38272 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38274         [BZ #12874]
38275         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38276         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38277         kernels which artificially limit size of requests.
38279 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38282         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38283         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38284         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38285         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38286         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38287         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38288         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38291         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38292         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38293         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38294         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38295         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38297         Enable unaligned load optimization for Intel Core i3, i5 and i7
38298         processors.
38299         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38300         Define.
38301         (index_Fast_Unaligned_Load): Define.
38302         (HAS_FAST_UNALIGNED_LOAD): Define.
38304 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38306         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38308 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38310         [BZ #12907]
38311         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38312         until it is clear that the information is realy needed.
38313         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38315 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38319 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38321         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38322         /sys/devices/system/cpu/online if it is usable.
38324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38325         reading the information from the /proc filesystem to once a second.
38327 2011-06-21  Andreas Jaeger  <aj@suse.de>
38329         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38330         NULL after inclusion of kernel headers.
38332 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38334         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38335         calls to internal_setent.
38337         [BZ #12885]
38338         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38339         addresses using gethostbyname4_r ignore IPv4 addresses.
38341         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38342         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38344         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38346 2011-06-20  David S. Miller  <davem@davemloft.net>
38348         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38349         inclusions.
38350         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38352         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38353         (elf_irel): Use it.
38354         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38355         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38356         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38357         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38358         * sysdeps/x86_64/dl-irel.h: Likewise.
38360         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38361         * elf/dl-sym.c: Likewise.
38363 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38365         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38366         need to dereference resplen2.
38368 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38370         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38372 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38374         * Makeconfig: Define vardbdir and inst_vardbdir.
38375         * nss/Makefile: Add rules to install db-Makefile.
38377         * nss/nss_db/db-XXX.c: Cleanup.
38379         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38380         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38381         GLIBC_PRIVATE.
38382         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38383         * nss/makedb.c: Implement -g option to specify that value strings
38384         are generated and should not be added to table iterated over for
38385         get*ent calls.
38386         * nss/nss_db/db-initgroups.c: New file.
38388         * nss/getent.c: Add support for initgroups lookups through getgrouplist
38389         interface.
38391         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38392         (internal_getgrouplist): Adjust to name change.
38393         Update use_initgroups_entry if this is not the first call.
38394         * nss/databases.def: Add initgroups entry.
38396         * nss/makedb.c (compute_tables): Check result of multiple hash table
38397         sizes to minimize maximum chain length.
38399 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
38401         * Versions.def: Add entry for libnss_db.
38402         * shlib-versions: Likewise.
38403         * nss/Makefile: Add rules to build libnss_db.
38404         * nss/Versions: Add libnss_db information.  Organize libnss_files
38405         entries better.
38406         * nss/db-Makefile: Add gshadow support.  Change rules for the new
38407         makedb progra.  Some minor improvements to generate smaller files.
38408         * nss/nss_db/nss_db.h: Move NSS database header data structures to
38409         here from...
38410         * nss/makedb.c: ...here.
38411         Improve database format to be smaller and require less memory at
38412         runtime.
38413         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
38414         db anymore.
38415         * nss/nss_db/db-netgrp.c: Likewise.
38416         * nss/nss_db/db-open.c: Likewise.
38417         * nss/nss_files/flies-XXX.x: Adjust comments.
38418         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38419         * nss/nss_files/files-grp.c: Likewise.
38420         * nss/nss_files/files-hosts.c: Likewise.
38421         * nss/nss_files/files-network.c: Likewise.
38422         * nss/nss_files/files-proto.c: Likewise.
38423         * nss/nss_files/files-pwd.c: Likewise.
38424         * nss/nss_files/files-rpc.c: Likewise.
38425         * nss/nss_files/files-service.c: Likewise.
38426         * nss/nss_files/files-sgrp.c: Likewise.
38427         * nss/nss_files/files-spwd.c: Likewise.
38428         * nss/nss_db/db-alias.c: Removed.
38429         * nss/nss_db/dummy-db.h: Removed.
38431 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
38433         * nss/makedb.c: Rewritten to not use database library.
38434         * nss/Makefile: Update to build new makedb program.
38436 2011-06-14  Andreas Jaeger  <aj@suse.de>
38438         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38439         memset declaration.
38441 2011-06-10  Andreas Schwab  <schwab@redhat.com>
38443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38444         tmpbuf.
38446 2011-06-10  Roland McGrath  <roland@hack.frob.com>
38448         * Makerules (shlib.lds): Fail if the linker script comes out empty.
38449         * elf/Makefile ($(objpfx)ld.so): Likewise.
38451         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38452         Don't list ld.so twice in dependencies.
38454         * posix/bug-regex31.c: Include <stdlib.h>.
38456         * nscd/hstcache.c (cache_addhst): Remove unused variable.
38458         * nis/nss_compat/compat-spwd.c
38459         (getspent_next_nss_netgr): Remove unused variable.
38460         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38462         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38463         nonmembers" output to use the right array.
38465         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
38467         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
38469         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
38470         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
38471         * catgets/gencat.c (read_input_file): Likewise.
38472         * locale/programs/locarchive.c (enlarge_archive): Likewise.
38474         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
38475         variable definition inside #if's controlling its use.
38477         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
38479         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
38481         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
38483         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
38484         unreachable code.
38486         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
38488         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
38489         * configure: Regenerated.
38491         * Makerules: Revert last change.
38492         * elf/Makefile: Likewise.
38494 2011-06-09  Roland McGrath  <roland@hack.frob.com>
38496         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
38497         * elf/Makefile ($(objpfx)librtld.os): Likewise.
38498         (reloc-link): Likewise.
38500 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
38502         * elf/Makefile: Add rules to build pldd.
38503         * elf/pldd.c: New file.
38504         * elf/pldd-xx.c: New file.
38506 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
38508         * version.h: Update for 2.15 development version.
38510 2011-06-07  David S. Miller  <davem@davemloft.net>
38512         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
38513         ifuncs.
38514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
38515         elf_machine_lazy_rel): Likewise.
38516         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
38518         elf_machine_lazy_rel): Likewise.
38519         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
38520         dl_hwcap via passed in argument.
38521         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
38522         Likewise.
38524 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38526         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
38528 2011-06-06  Roland McGrath  <roland@hack.frob.com>
38530         [BZ #12849]
38531         * manual/fdl-1.1.texi: New file, verbatim from:
38532         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
38533         * manual/lgpl-2.1.texi: New file, verbatim from:
38534         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
38535         * manual/Makefile (licenses): New variable, list those new file names.
38536         (texis): Use it.
38537         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
38539         * manual/fdl.texi: File removed.
38540         * manual/lesser.texi: File removed.
38541         * manual/libc.texinfo (Copying, Documentation License):
38542         Use new @include file names, put @appendix directive before @include.
38544 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
38546         [BZ #12841]
38547         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
38548         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
38549         (mq_open): Add __NTH.
38551 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
38553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38554         Assume Intel Core i3/i5/i7 processor if AVX is available.
38556 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38558         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38559         typo.
38561 2011-05-31  Andreas Schwab  <schwab@redhat.com>
38563         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
38564         memory.  Use alloca_account.  Fix memory leak when retrying.
38566 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38568         * version.h (RELEASE): Bump for 2.14 release.
38569         * include/features.h (__GLIBC_MINOR__): Bump to 14.
38571         * config.make.in (RANLIB): Remove entry.
38573 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
38575         * po/Makefile (po-sed-cmd): Add ksh to extensions.
38576         (libc.pot): Work around missing support for .ksh extension in xgettext.
38578         [BZ #12684]
38579         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
38580         if both request failed.
38581         (send_dg): In case of server errors clear resplen or *resplen2.
38583         [BZ #12454]
38584         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
38585         when there are multiple maps.
38586         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
38587         (_dl_fini): Remove test here.
38589         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
38591 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
38593         [BZ #12350]
38594         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
38595         bit from old_res_options.
38596         (gaih_inet): Likewise.
38598         [BZ #11099]
38599         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
38600         as signed.
38602         * resolv/res_init.c (res_setoptions): Make the code more compact.
38604         [BZ #11558]
38605         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
38606         set RES_USEVC.
38608         [BZ #11634]
38609         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
38611         * malloc/malloc.h: Mark malloc hook variables as deprecated.
38613         [BZ #11781]
38614         * malloc/malloc.h: Declare malloc hook variables as volatile.
38616         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
38617         in last patch.
38619         [BZ #11799]
38620         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
38621         raise in the comment.
38622         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38623         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38624         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
38626 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
38628         [BZ #12811]
38629         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
38630         grow the buffers more if it already has to be sufficient.
38631         (build_wcs_upper_buffer): Likewise.
38632         * posix/regexec.c (check_matching): Likewise.
38633         (clean_state_log_if_needed): Likewise.
38634         (extend_buffers): Don't enlarge buffers beyond size of the input
38635         buffer.
38636         Patches mostly by Emil Wojak <emil@wojak.eu>.
38637         * posix/bug-regex32.c: New file.
38638         * posix/Makefile (tests): Add bug-regex32.
38640         * locale/findlocale.c (_nl_find_locale): Return right away if
38641         _nl_explode_name failed.
38642         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
38644         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
38646         * debug/xtrace.sh: Unify messages.
38647         * malloc/memusage.sh: Likewise.
38649         [BZ #12813]
38650         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
38651         time symbol from vDSO.  Substitute with vsyscall if not available.
38652         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
38653         __vdso_time.
38655         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
38656         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
38657         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
38658         Add sendmmsg and internal_sendmmsg.
38659         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
38660         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
38661         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
38663         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
38664         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
38665         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
38667 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
38669         [BZ #12813]
38670         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
38671         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
38672         available.
38673         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
38674         __vdso_getcpu.
38676         [BZ #12814]
38677         * iconvdata/Makefile (tests): Add bug-iconv9.
38678         * iconvdata/bug-iconv9.c: New file.
38680 2011-05-27  Andreas Schwab  <schwab@redhat.com>
38682         [BZ #12814]
38683         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
38685 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
38687         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38688         (struct user_regs_struct): Change intcs field back to cs.
38690 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
38692         * po/ja.po: Update from translation team.
38694 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
38696         [BZ #12795]
38697         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38698         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38700 2011-05-20  Andreas Schwab  <schwab@redhat.com>
38702         * stdlib/longlong.h: Update from GCC.
38704 2011-05-23  Andreas Schwab  <schwab@redhat.com>
38706         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38707         parameter name.
38708         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38709         Add parameter name.
38710         (__sysconf): Pass it down.
38712 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
38714         [BZ #12671]
38715         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38716         some situations.
38717         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38718         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38719         add in in __libc_use_alloca calls.  Adjust callers.
38720         (glob): Use malloc in some situations.
38722         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38723         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38724         pltexit.
38726 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
38728         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38729         and CLOCK_BOOTTIME_ALARM.
38731         [BZ #12782]
38732         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38733         is returned.
38735         * string/_strerror.c (__strerror_r): Print negative errors as signed
38736         numbers.
38738         [BZ #12777]
38739         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38740         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38741         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38743         * configure.in: Fix typo in redirection and correct removal of test
38744         files in two cases.
38746         [BZ #12788]
38747         * locale/setlocale.c (new_composite_name): Fix test to check for
38748         identical name of all categories.
38750         [BZ #12792]
38751         * libio/filedoalloc.c (local_isatty): New function.
38752         (_IO_file_doallocate): Use local_isatty.
38753         * stdio-common/perror.c (perror): In case a new stream is used
38754         forward the stream error.
38755         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38756         error flag.
38758 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
38760         [BZ #11869]
38761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38762         alloca.
38763         * include/alloca.h (extend_alloca_account): Define.
38765         [BZ #11857]
38766         * posix/regex.h: Fix comments with documentation of user-accessible
38767         fields after compilation and describe correct free'ing of pattern
38768         after re_compile_pattern.
38769         Patch by Reuben Thomas <rrt@sc3d.org>.
38771 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
38773         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38774         and -mno-altivec to prevent the compiler from using Altivec and/or
38775         VSX instructions when the corresponding registers are not available.
38777 2011-05-19  Andreas Schwab  <schwab@redhat.com>
38779         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38781 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
38783         * libio/freopen.c (freopen): Use __dup2, not dup2.
38784         * libio/freopen64.c (freopen64): Likewise.
38786 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38788         [BZ #12775]
38789         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38790         * math/Makefile (tests): Add test-powl.
38791         (CFLAGS-test-powl.c): Define.
38792         * math/test-powl.c: New file.
38794 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38796         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38798 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
38800         [BZ #11837]
38801         * iconvdata/gb18030.c: Update to GB18020-2005.
38803 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
38805         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38806         RE_SYNTAX_POSIX_AWK): Update to match recent development.
38807         Patch by Aharon Robbins <arnold@skeeve.com>.
38809         [BZ #11892]
38810         * stdlib/putenv.c (putenv): Don't always create copy of the variable
38811         on the stack.
38813         [BZ #11895]
38814         * misc/pselect.c (__pselect): Handle timeout value errors hidden
38815         through underflows.
38817         [BZ #12766]
38818         * misc/error.c (error_at_line): Ensure file_name and old_file_name
38819         point to strings before performing equality test for error_one_per_line
38820         mode.
38822         [BZ #11697]
38823         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38825         [BZ #11820]
38826         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38827         (struct user_fpregs_struct): Avoid __uint*_t types.
38829         [BZ #6420]
38830         * malloc/mtrace.c (tr_where): Add additional parameter to point to
38831         symbol info.  Use it instead of calling _dl_addr locally.
38832         (lock_and_info): New function.
38833         (tr_freehook): Call lock_and_info and pass symbol info as additional
38834         parameter to tr_where.
38835         (tr_mallochook): Likewise.
38836         (tr_reallochook): Likewise.
38837         (tr_memalignhook): Likewise.
38839         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
38840         used and couldn't be at all thread-safe.
38842 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
38844         * libio/freopen.c (freopen): Don't close old file descriptor
38845         before the new one is opened.  Instead dup the new file descriptor
38846         to the old one after the new stream is created.
38847         * libio/freopen64.c (freopen64): Likewise.
38848         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38849         * libio/fileops.c (_IO_new_file_close_it): Handle new
38850         _IO_FLAGS2_NOCLOSE flag.
38851         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38852         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38853         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38854         _IO_FLAGS2_NOCLOSE flag.
38855         * include/unistd.h: Add hidden_proto for dup3.
38856         Define __have_dup3.
38857         * io/dup3.c: Define hidden symbol.
38858         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38860         [BZ #7101]
38861         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38862         when an incomplete long option is used.
38863         * posix/tst-getopt_long1.c: New file.
38864         * posix/Makefile (tests): Add tst-getopt_long1.
38866         [BZ #10138]
38867         * scripts/config.guess: Update from autoconf-2.68.
38868         * scripts/config.sub: Likewise.
38870         [BZ #10157]
38871         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38872         tests into ...
38873         (has_cpuclock): ...this.  New function.
38874         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38875         macro here based on has_cpuclock code.
38877         [BZ #10149]
38878         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38879         First byte (not low byte) is now always NUL.
38880         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38883         Use non-cancelable interfaces.
38885         [BZ #9809]
38886         * locale/iso-639.def: Add entry for Sorani.
38888         [BZ #11901]
38889         * include/stdlib.h: Move include protection to the right place.
38890         Define abort_msg_s.  Declare __abort_msg with it.
38891         * stdlib/abort.c (__abort_msg): Adjust type.
38892         * assert/assert.c (__assert_fail_base): New function.  Majority
38893         of code from __assert_fail.  Allocate memory for __abort_msg with
38894         mmap.
38895         (__assert_fail): Now call __assert_fail_base.
38896         * assert/assert-perr.c: Remove bulk of implementation.  Use
38897         __assert_fail_base.
38898         * include/assert.hL Declare __assert_fail_base.
38899         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38900         mmap.
38901         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38903 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
38905         [BZ #11952]
38906         [BZ #12453]
38907         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38908         until all modules are registered in the DTV.
38909         * elf/Makefile: Add rules to build and run tst-tls19.
38910         * elf/tst-tls19.c: New file.
38911         * elf/tst-tls19mod1.c: New file.
38912         * elf/tst-tls19mod2.c: New file.
38913         * elf/tst-tls19mod3.c: New file.
38914         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38916         [BZ #12083]
38917         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38918         correctly.
38920         [BZ #12601]
38921         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38922         two-byte sequence errors.
38923         * iconvdata/Makefile (tests): Add bug-iconv8.
38924         * iconvdata/bug-iconv8.c: New file.
38926         [BZ #12626]
38927         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38928         buf2 definition.
38930         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38932         [BZ #12432]
38933         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38934         (dummy_getcfa): New function.
38935         (init): Get _Unwind_GetCFA address, use dummy if not found.
38936         (backtrace_helper): In recursion check, also check whether CFA changes.
38937         (__backtrace): Completely initialize arg.
38939         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38940         storing incomplete byte sequence in state object.  Avoid testing for
38941         guaranteed too small input if we know there is enough data available.
38943 2011-05-11  Andreas Schwab  <schwab@redhat.com>
38945         * Makeconfig (+link-pie): Indent.
38946         * Rules (binaries-pie): Define if $(have-fpie) and
38947         $(build-shared).
38948         (binaries-shared): Also filter out $(binaries-pie).
38949         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38950         * nscd/Makefile (others-pie): Add nscd.
38951         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38952         ($(objpfx)nscd): Remove command override.
38953         * login/Makefile (others-pie): Add pt_chown.
38954         ($(objpfx)pt_chown): Remove command override.
38955         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38956         remove command overrides.
38958 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
38960         * libio/tst_putwc.c: Fix error messages.
38962         [BZ #12724]
38963         * libio/fileops.c (_IO_new_file_close_it): Always flush when
38964         currently writing and seek to current position when not.
38965         * libio/Makefile (tests): Add bug-fclose1.
38966         * libio/bug-fclose1.c: New file.
38968 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
38970         [BZ #12511]
38971         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38972         don't set DF_1_NODELETE here.
38973         (do_lookup_x): When entering new entry test for copy relocation
38974         and if necessary set DF_1_NODELETE flag.
38975         * elf/tst-unique4.cc: New file.
38976         * elf/tst-unique4.h: New file.
38977         * elf/tst-unique4lib.cc: New file.
38978         * elf/Makefile: Add rules to build and run tst-unique4.
38979         Patch by Piotr Bury <pbury@goahead.com>.
38981 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
38983         [BZ #12052]
38984         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38986         [BZ #12625]
38987         * misc/mntent_r.c (addmntent): Flush the stream after the output
38989         [BZ #12393]
38990         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38991         (is_trusted_path_normalize): Skip initial colon.  Append slash
38992         to empty buffer.  Duplicate is_trusted_path code but allow
38993         constructed patch to be prefix.
38994         (is_dst): Allow $ORIGIN followed by /.
38995         (_dl_dst_substitute): Correct clearing of check_for_trusted.
38996         Correct testing of result of is_trusted_path_normalize
38997         (decompose_rpath): Fix warning.
38999 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39001         [BZ #11257]
39002         * grp/initgroups.c (internal_getgrouplist): When we found the service
39003         list through the initgroups entry in nsswitch.conf do not always
39004         continue on a successful lookup.  Don't always use the
39005         __nss_group_database value if it is set.
39006         * nss/nsswitch.conf (initgroups): Change action for successful db
39007         lookup to continue for compatibility.
39009 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39011         [BZ #11532]
39012         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39013         and CP774 modules.
39014         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39015         and CP774 modules.
39016         * iconvdata/tst-tables.sh: Likewise.
39017         * iconvdata/cp770.c: New file.
39018         * iconvdata/cp771.c: New file.
39019         * iconvdata/cp772.c: New file.
39020         * iconvdata/cp773.c: New file.
39021         * iconvdata/cp774.c: New file.
39022         * iconvdata/testdata/CP770: New file.
39023         * iconvdata/testdata/CP770..UTF8: New file.
39024         * iconvdata/testdata/CP771: New file.
39025         * iconvdata/testdata/CP771..UTF8: New file.
39026         * iconvdata/testdata/CP772: New file.
39027         * iconvdata/testdata/CP772..UTF8: New file.
39028         * iconvdata/testdata/CP773: New file.
39029         * iconvdata/testdata/CP773..UTF8: New file.
39030         * iconvdata/testdata/CP774: New file.
39031         * iconvdata/testdata/CP774..UTF8: New file.
39033         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39034         END CHARMAP line.
39035         * iconvdata/gen-8bit-gap.sh: Likewise.
39036         * iconvdata/gen-8bit.sh: Likewise.
39038         * locale/iso-639.def: Add ary entry.
39040         [BZ #11258]
39041         * locale/C-translit.h.in: Add U20A1 transliteration.
39043         [BZ #12178]
39044         * locale/iso-639.def: Add wae entry.
39045         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39047         [BZ #12545]
39048         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39049         for n.
39051         [BZ #12711]
39052         * locale/C-translit.h.in: Add entry for U20B9.
39053         Patch by pravin.d.s@gmail.com.
39055 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39057         [BZ #12713]
39058         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39059         ENAMETOOLONG use generic getcwd.
39060         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39061         in rtld.  Use *stat64.
39062         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39063         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39064         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39065         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39066         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39067         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39068         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39069         __fstatat64 macros.
39070         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39071         * dirent/rewinddir.c: Add libc_hidden_def.
39072         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39073         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39075         * include/dirent.h (__alloc_dir): Add flags parameter.
39076         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39077         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39078         __alloc_dir.
39079         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39080         from fdopendir if O_CLOEXEC is already set.
39082 2011-03-15  Alan Modra  <amodra@gmail.com>
39084         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39085         l_tls_firstbyte_offset non-zero.  Save padding offset in
39086         l_tls_firstbyte_offset for later use.
39087         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39088         freeing static tls block.
39090 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39092         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39093         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39094         being defined by the kernel headers.
39096 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39098         [BZ #12734]
39099         * resolv/resolv.h: Define RES_NOTLDQUERY.
39100         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39101         no-tld-query and set RES_NOTLDQUERY.
39102         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39103         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39104         modern BIND to search name as TLD unless forbidden.
39106 2011-05-07  Petr Baudis  <pasky@suse.cz>
39107             Ulrich Drepper  <drepper@gmail.com>
39109         [BZ #12393]
39110         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39111         (is_trusted_path): ...to here.
39112         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39113         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39114         using is_trusted_path_normalize() in setuid scripts.
39116 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39118         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39119         __BEGIN/__END_DECLS.
39121 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39123         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39124         NSS_STATUS_NOTFOUND if no record was found.
39126 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39128         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39129         (headers-not-in-tirpc): Remove rpc/netdb.h
39130         * resolv/netdb.h: Revert last change.
39132 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39134         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39135         circular dependency between libgcc.a and libc.a.
39137 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39139         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39140         * nis/Makefile: Don't install rpcsvc/*.
39141         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39142         instead of <rpc/types.h>.
39143         (MAXHOSTNAMELEN): Define.
39145 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39147         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39149 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39151         [BZ #12714]
39152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39153         gethostbyname4_r when IPv6 results are possible.
39155 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39157         [BZ #12723]
39158         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39159         _PC_PIPE_BUF handling.
39161 2011-04-30  Bruno Haible  <bruno@clisp.org>
39163         [BZ #12717]
39164         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39165         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39166         to 'int'.
39167         * inet/getnameinfo.c (getnameinfo): Likewise.
39169 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39171         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39172         to groups setting in database lookup.
39173         * nss/nsswitch.conf: Add initgroups entry.
39175 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39177         [BZ #12685]
39178         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39179         mode string.
39180         Patch by Eric Blake <eblake@redhat.com>.
39182 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39184         * sunrpc/Makefile (need-export-routines): Add svc_run.
39185         (routines): Remove svc_run.
39186         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39187         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39188         * sunrpc/svc_run.c (svc_run): Likewise.
39189         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39191 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39193         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39194         problem in reallocation in last patch.
39196 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39198         * sunrpc/Makefile: Move inclusion of Rules.
39200 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39202         * nss/nss_files/files-initgroups.c: New file.
39203         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39204         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39205         _nss_files_initgroups_dyn.
39207 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39209         * elf/elf.h (R_ARM_IRELATIVE): Define.
39211 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39213         * po/ru.po: Update from translation team.
39215 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39217         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39218         dependencies.
39220 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39222         [BZ #12653]
39223         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39224         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39226         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39227         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39229 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39231         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39232         differing bytes.
39233         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39234         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39235         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39237 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39239         [BZ #12420]
39240         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39241         storing it.
39242         * stdlib/bug-getcontext.c: New file.
39243         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39245 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39247         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39248         instructions into .machine "z9-109".
39249         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39250         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39252 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39254         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39255         between environment variables and auxiliary vector.
39257 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39259         * Makefile: Add rules to build linkobj/libc.so.
39260         * include/libc-symbols.h: Define libc_hidden_nolink.
39261         * include/rpc/auth.h: Mark functions which are to be hidden.
39262         * include/rpc/auth_des.h: Likewise.
39263         * include/rpc/auth_unix.h: Likewise.
39264         * include/rpc/clnt.h: Likewise.
39265         * include/rpc/des_crypt.h: Likewise.
39266         * include/rpc/key_prot.h: Likewise.
39267         * include/rpc/pmap_clnt.h: Likewise.
39268         * include/rpc/pmap_prot.h: Likewise.
39269         * include/rpc/pmap_rmt.h: Likewise.
39270         * include/rpc/rpc_msg.h: Likewise.
39271         * include/rpc/svc.h: Likewise.
39272         * include/rpc/svc_auth.h: Likewise.
39273         * include/rpc/xdr.h: Likewise.
39274         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39275         * nss/Makefile: Likewise.
39276         * sunrpc/Makefile: Don't install headers.  Build library with normal
39277         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39278         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39279         for the compat linking library.  Remove use of INTDEF/INTUSE.
39280         * sunrpc/auth_none.c: Likewise.
39281         * sunrpc/auth_unix.c: Likewise.
39282         * sunrpc/authdes_prot.c: Likewise.
39283         * sunrpc/authuxprot.c: Likewise.
39284         * sunrpc/clnt_gen.c: Likewise.
39285         * sunrpc/clnt_perr.c: Likewise.
39286         * sunrpc/clnt_raw.c: Likewise.
39287         * sunrpc/clnt_simp.c: Likewise.
39288         * sunrpc/clnt_tcp.c: Likewise.
39289         * sunrpc/clnt_udp.c: Likewise.
39290         * sunrpc/clnt_unix.c: Likewise.
39291         * sunrpc/des_crypt.c: Likewise.
39292         * sunrpc/des_soft.c: Likewise.
39293         * sunrpc/get_myaddr.c: Likewise.
39294         * sunrpc/key_call.c: Likewise.
39295         * sunrpc/key_prot.c: Likewise.
39296         * sunrpc/netname.c: Likewise.
39297         * sunrpc/pm_getmaps.c: Likewise.
39298         * sunrpc/pm_getport.c: Likewise.
39299         * sunrpc/pmap_clnt.c: Likewise.
39300         * sunrpc/pmap_prot.c: Likewise.
39301         * sunrpc/pmap_prot2.c: Likewise.
39302         * sunrpc/pmap_rmt.c: Likewise.
39303         * sunrpc/publickey.c: Likewise.
39304         * sunrpc/rpc_cmsg.c: Likewise.
39305         * sunrpc/rpc_common.c: Likewise.
39306         * sunrpc/rpc_dtable.c: Likewise.
39307         * sunrpc/rpc_prot.c: Likewise.
39308         * sunrpc/rpc_thread.c: Likewise.
39309         * sunrpc/rtime.c: Likewise.
39310         * sunrpc/svc.c: Likewise.
39311         * sunrpc/svc_auth.c: Likewise.
39312         * sunrpc/svc_authux.c: Likewise.
39313         * sunrpc/svc_raw.c: Likewise.
39314         * sunrpc/svc_run.c: Likewise.
39315         * sunrpc/svc_simple.c: Likewise.
39316         * sunrpc/svc_tcp.c: Likewise.
39317         * sunrpc/svc_udp.c: Likewise.
39318         * sunrpc/svc_unix.c: Likewise.
39319         * sunrpc/svcauth_des.c: Likewise.
39320         * sunrpc/xcrypt.c: Likewise.
39321         * sunrpc/xdr.c: Likewise.
39322         * sunrpc/xdr_array.c: Likewise.
39323         * sunrpc/xdr_float.c: Likewise.
39324         * sunrpc/xdr_intXX_t.c: Likewise.
39325         * sunrpc/xdr_mem.c: Likewise.
39326         * sunrpc/xdr_rec.c: Likewise.
39327         * sunrpc/xdr_ref.c: Likewise.
39328         * sunrpc/xdr_sizeof.c: Likewise.
39329         * sunrpc/xdr_stdio.c: Likewise.
39331 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39333         [BZ #12650]
39334         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39335         * sysdeps/ia64/dl-tls.h: Likewise.
39336         * sysdeps/powerpc/dl-tls.h: Likewise.
39337         * sysdeps/s390/dl-tls.h: Likewise.
39338         * sysdeps/sh/dl-tls.h: Likewise.
39339         * sysdeps/sparc/dl-tls.h: Likewise.
39340         * sysdeps/x86_64/dl-tls.h: Likewise.
39341         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39343 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39345         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39346         rpath element also skip the following colon.
39347         (expand_dynamic_string_token): Add is_path parameter and pass
39348         down to DL_DST_REQUIRED and _dl_dst_substitute.
39349         (decompose_rpath): Call expand_dynamic_string_token with
39350         non-zero is_path.  Ignore empty rpaths.
39351         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39352         with zero is_path.
39354 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39357         Make cancelable.
39359 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39361         [BZ #12655]
39362         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39363         Patch by Filipe David Manana <fdmanana@apache.org>.
39365 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39368         Maintain aligned stack.
39369         (CHECK_RSP): Remove unused macro.
39371 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39373         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39374         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39376 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
39378         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39380         * include/features.h: Mention __USE_XOPEN2K8 in comment.
39382 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
39384         [BZ #12518]
39385         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39386         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39387         * sysdeps/x86_64/memmove.c: New file.
39388         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39389         (memcpy): Renamed to ...
39390         (__new_memcpy): This.
39391         (memcpy): Provide GLIBC_2_14 memcpy.
39392         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39393         (memcpy): Provide GLIBC_2_2_5 memcpy.
39395 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39397         [BZ #12631]
39398         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39400 2011-03-30  Andreas Schwab  <schwab@redhat.com>
39402         * misc/syncfs.c: New file.
39403         * misc/Makefile (routines): Add syncfs.
39404         * posix/unistd.h: Declare syncfs.
39405         * sysdeps/unix/syscalls.list: Add syncfs.
39407 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39409         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39410         open_by_handle_at.
39411         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39412         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39414         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39416         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39417         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39419 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39421         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39422         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39423         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39427         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39429         * io/Makefile: Compile fallocate.c, fallocate64.c, and
39430         sync_file_range.c with -fexceptions.
39431         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39432         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39433         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39434         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39435         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39436         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39438         sync_file_range as cancellation point
39439         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
39440         now a wrapper around __call_sync_file_range with cancellation handling.
39441         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39442         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
39443         function name to __call_sync_file_range.
39444         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39445         Add call_sync_file_range.
39447 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39450         bits/timex.h.
39452 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39454         * iconv/iconv.h: Fix typo in comment.
39455         * io/fcntl.h: Likewise.
39456         * libio/stdio.h: Likewise.
39457         * posix/spawn.h: Likewise.
39458         * posix/unistd.h: Likewise.
39459         * stdlib/stdlib.h: Likewise.
39460         * time/time.h: Likewise.
39461         * wcsmbs/wchar.h: Likewise.
39463         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39464         open_by_handle): Add.
39465         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
39466         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
39467         Augment a few comments.
39468         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39469         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39470         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39472         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39473         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
39474         open_by_handle.
39476         * io/fcntl.h (AT_EMPTY_PATH): Define.
39478 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
39480         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
39481         * sysdeps/unix/sysv/linux/bits/time.h: New file.
39482         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
39483         to...
39484         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
39485         * Versions.def: Add GLIBC_2.14.
39486         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
39487         Export.
39489 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
39491         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
39492         round counter.
39493         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39495 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39497         [BZ #12597]
39498         * string/test-strncmp.c (do_page_test): New function.
39499         (check2): Likewise.
39500         (test_main): Call check2.
39501         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
39503 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
39505         [BZ #12587]
39506         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
39507         Handle cache information in CPU leaf 4.
39508         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39510 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
39512         [BZ #12583]
39513         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
39514         character representation.
39515         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
39517 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
39519         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
39520         END(__isnan) to END(__isnanf) to match function entry point/label
39521         EALIGN(__isnanf,...).
39523 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
39525         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
39527 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
39529         [BZ #12510]
39530         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
39531         copy from the symbol referenced in the relocation to initialize the
39532         used variable.
39533         Patch by Piotr Bury <pbury@goahead.com>.
39534         * elf/Makefile: Add rules to build and tst-unique3.
39535         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
39536         * elf/tst-unique3.cc: New file.
39537         * elf/tst-unique3.h: New file.
39538         * elf/tst-unique3lib.cc: New file.
39539         * elf/tst-unique3lib2.cc: New file.
39541         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
39543 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
39545         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
39546         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
39547         to _start.
39549 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
39551         * elf/dl-load.c (_dl_map_object): If we are looking for the first
39552         to-be-loaded object along a path to loader is ld.so.
39554 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39555             Ulrich Drepper  <drepper@gmail.com>
39557         * sysdeps/x86_64/memset.S: After aligning destination, code
39558         branches to different locations depending on the value of
39559         misalignment, when multiarch is enabled. Fix this.
39561 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39563         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
39564         Set _x86_64_preferred_memory_instruction for AMD processsors.
39565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39566         Set bit_Prefer_SSE_for_memop for AMD processors.
39568 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
39570         * libio/fmemopen.c (fmemopen): Optimize a bit.
39572 2011-03-03  Andreas Schwab  <schwab@redhat.com>
39574         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
39576 2011-03-03  Roland McGrath  <roland@redhat.com>
39578         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
39580 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
39582         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
39583         __bzero_ultra1 instead of __memset_ultra1.
39585 2011-02-23  Andreas Schwab  <schwab@redhat.com>
39586             Ulrich Drepper  <drepper@gmail.com>
39588         [BZ #12509]
39589         * include/link.h (struct link_map): Add l_orig_initfini.
39590         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
39591         returning unsuccessfully.
39592         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
39593         close of a file loaded at startup, restore the original l_initfini
39594         list.
39595         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
39596         list, store the pointer.
39597         * elf/Makefile ($(objpfx)noload-mem): New rule.
39598         (noload-ENV): Define.
39599         (tests): Add $(objpfx)noload-mem.
39600         * elf/noload.c: Include <memcheck.h>.
39601         (main): Call mtrace.  Close all opened handles.
39603 2011-02-17  Andreas Schwab  <schwab@redhat.com>
39605         [BZ #12454]
39606         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
39607         dependencies are missing.
39609 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39611         Fix __if_freereq crash: Unlike the generic version which uses free,
39612         Hurd needs munmap.
39613         * sysdeps/mach/hurd/ifreq.h: New file.
39615 2011-01-27  Petr Baudis  <pasky@suse.cz>
39616             Ulrich Drepper  <drepper@gmail.com>
39618         [BZ 12445]#
39619         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
39620         to extend_alloca().
39621         * stdio-common/bug23.c: New file.
39622         * stdio-common/Makefile (tests): Add bug23.
39624 2010-09-28  Andreas Schwab  <schwab@redhat.com>
39625             Ulrich Drepper  <drepper@gmail.com>
39627         [BZ #12489]
39628         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
39629         before performing relro protection.  At old place add assertion
39630         to make sure nothing changed.
39632 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
39633             Glauber de Oliveira Costa  <glommer@gmail.com>
39635         * elf/elf.h: Add new ARM TLS relocs.
39637 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
39639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39640         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
39641         cast from r3.
39642         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
39643         'tests' variable.
39644         * sysdeps/wordsize-64/tst-writev.c: New file.
39646 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
39648         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
39649         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
39650         insns in _dl_start to prevent a TOC reference before relocs are
39651         resolved.
39653 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
39655         [BZ #12469]
39656         * Makeconfig: Remove RANLIB definition.
39657         * Makerules: Don't use RANLIB.
39658         * aclocal.m4: Remove ranlib test.
39659         * configure.in: No need to check for ranlib.
39660         * elf/rtld-Rules: Don't use RANLIB.
39662 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39664         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
39665         protection macro.
39666         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
39667         inclusion protection macro.
39669         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
39670         SIGRTMIN and SIGRTMAX and print information in that case only when
39671         SIGRTMIN is defined.
39673 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
39675         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
39676         arginfo fn returning -1.
39678         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
39679         and thousands string is zero terminated.
39681 2011-02-03  Andreas Schwab  <schwab@redhat.com>
39683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
39684         sysdeps/unix/sysv/linux/bits/socket.h.
39686 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39688         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
39689         (__CPU_COUNT): Remove old macros.
39690         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
39691         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
39692         (__CPU_ALLOC, __CPU_FREE): Add macros.
39693         (__sched_cpualloc, __sched_cpufree): Add declarations.
39695 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
39697         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39698         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39699         * nscd/aicache.c (addhstaiX): Return timeout of added value.
39700         (readdhstai): Return value of addhstaiX call.
39701         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39702         (addgrbyX): Return value returned by cache_addgr.
39703         (readdgrbyname): Return value returned by addgrbyX.
39704         (readdgrbygid): Likewise.
39705         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39706         (addpwbyX): Return value returned by cache_addpw.
39707         (readdpwbyname): Return value returned by addhstbyX.
39708         (readdpwbyuid): Likewise.
39709         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39710         (addservbyX): Return value returned by cache_addserv.
39711         (readdservbyname): Return value returned by addservbyX:
39712         (readdservbyport): Likewise.
39713         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39714         (addhstbyX): Return value returned by cache_addhst.
39715         (readdhstbyname): Return value returned by addhstbyX.
39716         (readdhstbyaddr): Likewise.
39717         (readdhstbynamev6): Likewise.
39718         (readdhstbyaddrv6): Likewise.
39719         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39720         (readdinitgroups): Return value returned by addinitgroupsX.
39721         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39722         (prune_cache): Keep track of timeout value of re-added entries.
39723         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39724         * nscd/nscd.h: Adjust prototypes of readd* functions.
39726 2011-02-04  Roland McGrath  <roland@redhat.com>
39728         * nis/nis_server.c (nis_servstate): Use the right name for 0.
39729         (nis_stats): Likewise.
39730         * nis/nis_modify.c (nis_modify): Likewise.
39731         * nis/nis_remove.c (nis_remove): Likewise.
39732         * nis/nis_add.c (nis_add): Likewise.
39734         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39736         * posix/fnmatch_loop.c: Add some consts.
39738         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39740 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
39742         [BZ #12460]
39743         * config.make.in (config-cflags-novzeroupper): Define.
39744         * configure.in: Substitute libc_cv_cc_novzeroupper.
39745         * elf/Makefile (AVX-CFLAGS): Define.
39746         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39747         (CFLAGS-tst-auditmod4a.c): Likewise.
39748         (CFLAGS-tst-auditmod4b.c): Likewise.
39749         (CFLAGS-tst-auditmod6b.c): Likewise.
39750         (CFLAGS-tst-auditmod6c.c): Likewise.
39751         (CFLAGS-tst-auditmod7b.c): Likewise.
39752         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39754 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
39756         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39757         function to the callback.
39758         Patch partly by Jiri Olsa <jolsa@redhat.com>.
39760 2011-02-02  Andreas Schwab  <schwab@redhat.com>
39762         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39763         of errno.
39765 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
39767         [BZ #11724]
39768         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39769         of constructors.
39770         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39771         of destructors.
39772         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39774         [BZ #11724]
39775         * elf/Makefile: Add rules to build and run new test.
39776         * elf/tst-initorder.c: New file.
39777         * elf/tst-initorder.exp: New file.
39778         * elf/tst-initordera1.c: New file.
39779         * elf/tst-initordera2.c: New file.
39780         * elf/tst-initordera3.c: New file.
39781         * elf/tst-initordera4.c: New file.
39782         * elf/tst-initorderb1.c: New file.
39783         * elf/tst-initorderb2.c: New file.
39784         * elf/tst-order-a1.c: New file.
39785         * elf/tst-order-a2.c: New file.
39786         * elf/tst-order-a3.c: New file.
39787         * elf/tst-order-a4.c: New file.
39788         * elf/tst-order-b1.c: New file.
39789         * elf/tst-order-b2.c: New file.
39790         * elf/tst-order-main.c: New file.
39791         New test case by George Gensure <werkt0@gmail.com>.
39793 2010-10-01  Andreas Schwab  <schwab@redhat.com>
39795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39796         decoding ACE if AI_CANONIDN.
39798 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
39800         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39802 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
39804         * version.h (RELEASE): Bump for 2.13 release.
39805         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39807         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39809         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39810         MADV_NOHUGEPAGE.
39811         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39812         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39813         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39814         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39818         * posix/getconf.c: Update copyright year.
39819         * catgets/gencat.c: Likewise.
39820         * csu/version.c: Likewise.
39821         * debug/catchsegv.sh: Likewise.
39822         * debug/xtrace.sh: Likewise.
39823         * elf/ldconfig.c: Likewise.
39824         * elf/ldd.bash.in: Likewise.
39825         * elf/sprof.c (print_version): Likewise.
39826         * iconv/iconv_prog.c: Likewise.
39827         * iconv/iconvconfig.c: Likewise.
39828         * locale/programs/locale.c: Likewise.
39829         * locale/programs/localedef.c: Likewise.
39830         * malloc/memusage.sh: Likewise.
39831         * malloc/mtrace.pl: Likewise.
39832         * nscd/nscd.c (print_version): Likewise.
39833         * nss/getent.c: Likewise.
39835         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39836         PF_CAIF, and PF_ALG.
39837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39839 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
39841         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39842         (modules-names): Use them.
39843         (ifunc-test-modules, ifunc-pie-tests): Define.
39844         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39845         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39846         (test-extras): Likewise.
39847         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39848         $(compile-command.c).
39849         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39850         (all-built-dso): Define.
39851         (check-textrel.out, check-execstack.out): Depend on it.
39853         * configure.in: Don't override --enable-multi-arch.
39855 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
39857         [BZ #6812]
39858         * nscd/hstcache.c (tryagain): Define.
39859         (cache_addhst): Return tryagain not notfound for temporary errors.
39860         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39861         failed.
39863 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
39865         [BZ #10563]
39866         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39867         to make the syscall.
39868         * sysdeps/unix/sysv/linux/setgroups.c: New file.
39870         [BZ #12378]
39871         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39872         and fall back to matching as normal character if the string ends before
39873         the matching ']' is found.  This is what POSIX requires.
39874         * posix/testfnm.c: Adjust test result.
39875         * posix/globtest.sh: Adjust test result.  Add new test.
39876         * posix/tst-fnmatch.input: Likewise.
39877         * posix/tst-fnmatch2.c: Add new test.
39879 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
39881         * elf/Makefile (check-execstack): Revert last change.  Depend on
39882         check-execstack.h.
39883         (check-execstack.h): New target.
39884         (generated): Add check-execstack.h.
39885         * elf/check-execstack.c: Include "check-execstack.h".
39886         (main): Revert last change.
39887         (handle_file): Return zero if GNU_STACK is absent and
39888         DEFAULT_STACK_PERMS doesn't include PF_X.
39890 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
39892         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39893         in child fails because the descriptor is already closed.
39894         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39895         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39896         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39898         [BZ #12397]
39899         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39900         syscall.
39902         [BZ #10484]
39903         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39904         temporary buffer used to handle multi lookups locally.
39905         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39907 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39909         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39910         loader is ld.so.
39912 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
39914         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39915         alignment for SSE2.
39917 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39919         [BZ #12394]
39920         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39921         characters.  When rounding increased number of integer digits recompute
39922         number of groups.
39923         * stdio-common/tst-grouping.c: New file.
39924         * stdio-common/Makefile: Add rules to build and run tst-grouping.
39926 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
39928         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39929         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
39931         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39932         void.
39933         * bits/select.h: Likewise.
39935 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
39937         * po/ja.po: Update from translation team.
39939 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
39941         [BZ #11155]
39942         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39943         implementation just like for lxstat, fxstatat, et al.
39945 2010-12-27  Jim Meyering  <meyering@redhat.com>
39947         [BZ #12348]
39948         * posix/regexec.c (build_trtable): Return failure indication upon
39949         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
39951 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
39953         [BZ #12201]
39954         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39955         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39956         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39957         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39959         [BZ #12207]
39960         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39962         [BZ #12204]
39963         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39964         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39966 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
39968         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39969         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39970         script has SORT_BY_INIT_PRIORITY.
39971         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39972         NO_CTORS_DTORS_SECTIONS is defined.
39973         * elf/soinit.c: Likewise.
39974         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39975         NO_CTORS_DTORS_SECTIONS is defined.
39976         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39977         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39978         * sysdeps/sh/init-first.c: Likewise.
39979         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39981 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
39983         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39984         always use the slow path.
39986 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
39988         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39989         similar rule which adds the sysdep directories to the header search in
39990         order to pick up the correct platform stackinfo.h.
39991         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39992         perform test if it is, otherwise return successfully without testing.
39993         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39994         DEFAULT_STACK_PERMS define in stackinfo.h.
39995         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39996         defined in stackinfo.h.
39997         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39998         DEFAULT_STACK_PERMS defined in stackinfo.h.
39999         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40000         * sysdeps/ia64/stackinfo.h: Likewise.
40001         * sysdeps/s390/stackinfo.h: Likewise.
40002         * sysdeps/sh/stackinfo.h: Likewise.
40003         * sysdeps/sparc/stackinfo.h: Likewise.
40004         * sysdeps/x86_64/stackinfo.h: Likewise.
40005         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40006         PF_X for powerpc64.  Retain PF_X for powerpc32.
40008 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40010         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40011         accurately.
40012         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40013         GETDENTS_64BIT_ALIGNED.
40015 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40017         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40019 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40021         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40022         _GNU_SOURCE.
40024         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40025         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40026         Remove __restrict.
40027         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40028         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40030 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40032         [BZ #11655]
40033         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40034         are initialized.
40036 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40038         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40040 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40042         * po/it.po: Update from translation team.
40044 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40046         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40047         unused codes.
40049 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40051         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40053 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40055         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40056         specially.
40057         (gaih_getanswer_slice): Likewise.
40059 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40063 2010-05-31  Petr Baudis  <pasky@suse.cz>
40065         [BZ #11149]
40066         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40067         silently even in the chroot mode.
40069 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40071         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40072         last patch a bit.  Pretty printing
40074 2010-05-31  Petr Baudis <pasky@suse.cz>
40076         [BZ #10085]
40077         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40078         initialization of skip_initgroups_dyn.
40080 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40082         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40085 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40087         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40089 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40091         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40092         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40093         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40094         ($(objpfx)tst-fnmatch-mem): New rule.
40095         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40096         * posix/tst-fnmatch.c (main): Call mtrace.
40098 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40101         Support Intel processor model 6 and model 0x2c.
40103 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40105         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40106           signed comparison.
40108 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40110         [BZ #12205]
40111         * string/test-strncasecmp.c (check_result): New function.
40112         (do_one_test): Use it.
40113         (check1): New function.
40114         (test_main): Use it.
40115         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40116         Support strcasecmp and strncasecmp.
40118 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40120         [BZ #12194]
40121         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40122         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40124 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40126         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40127         IFUNC support.
40128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40129         memset-x86-64.
40130         * sysdeps/x86_64/multiarch/bzero.S: New file.
40131         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40132         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40133         * sysdeps/x86_64/multiarch/memset.S: New file.
40134         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40136         Set bit_Prefer_SSE_for_memop for Intel processors.
40137         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40138         Define.
40139         (index_Prefer_SSE_for_memop): Define.
40140         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40142 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40144         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40145         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40147 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40149         [BZ #12191]
40150         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40151         (__x86_64_raw_data_cache_size_half): Likewise.
40152         (__x86_64_raw_shared_cache_size): Likewise.
40153         (__x86_64_raw_shared_cache_size_half): Likewise.
40155         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40156         (__x86_64_raw_data_cache_size_half): Likewise.
40157         (__x86_64_raw_shared_cache_size): Likewise.
40158         (__x86_64_raw_shared_cache_size_half): Likewise.
40159         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40160         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40161         and __x86_64_raw_shared_cache_size_half.  Round
40162         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40163         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40164         to multiple of 256 bytes.
40166 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40168         [BZ #12167]
40169         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40170         of inacessible symlinks.  Verify result of symlink before returning it.
40171         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40172         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40174 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40176         * math/math.h (isinf): Fix typo in comment.
40178 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40180         * po/da.po: Update from translation team.
40182 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40184         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40185         is added to the list.
40187 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40188             Ulrich Drepper  <drepper@gmail.com>
40190         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40191         the global list here.  Move code to...
40192         (_dl_add_to_namespace_list): ...here.  New function.
40193         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40194         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40195         * elf/dl-load.c (lose): Don't remove the element from the list.
40196         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40197         (_dl_map_object): Likewise.
40199 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40201         [BZ #12159]
40202         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40203         into all bytes of SSE register.
40204         Patch by Richard Li <richardpku@gmail.com>.
40206 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40208         [BZ #12140]
40209         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40210         perturbing.
40212 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40214         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40215         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40216         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40217         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40219         submachine.
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40222 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40224         * include/dlfcn.h (__RTLD_SECURE): Define.
40225         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40226         mode & __RTLD_SECURE instead.
40227         (open_path): Rename preloaded parameter to secure.
40228         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40229         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40230         * elf/dl-deps.c (openaux): Likewise.
40231         * elf/rtld.c (struct map_args): Remove is_preloaded.
40232         (map_doit): Don't use it.
40233         (dl_main): Likewise.
40234         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40235         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40237 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40239         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40240         (sysd-rules-targets): Remove duplicates.
40241         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40242         rtld-%.$o dependency.
40244 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40246         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40247         _dl_map_object do it.
40249 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40251         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40252         fast fma builtins, define the macros in the C99 standard.
40253         (FP_FAST_FMAF): Likewise.
40254         (FP_FAST_FMAL): Likewise.
40255         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40257         * bits/mathdef.h: Update copyright year.
40258         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40260 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40262         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40263         builtins, define the macros in the C99 standard.
40264         (FP_FAST_FMAF): Likewise.
40265         (FP_FAST_FMAL): Likewise.
40266         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40267         multiply/add.
40268         (FP_FAST_FMAF): Likewise.
40270 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40272         [BZ #3268]
40273         * math/libm-test.inc (fma_test): Some new testcases.
40274         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40276         y and infinite z.  Do multiplication by C already in long double.
40277         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40279         y and infinite z.  Do bitwise or of inexact bit into u.d.
40280         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40281         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40282         * sysdeps/i386/fpu/s_fma.S: Removed.
40283         * sysdeps/i386/fpu/s_fmal.S: Removed.
40285 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40287         [BZ #3268]
40288         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40290         computation is not scheduled after fetestexcept.  Fix value
40291         of minimum denormal long double.
40293 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40295         [BZ #3268]
40296         * math/libm-test.inc (fma_test): Add some more tests.
40297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40298         correctly.
40300 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40302         * scripts/data/localplt-s390-linux-gnu.data: New file.
40303         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40305 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40307         [BZ #3268]
40308         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40309         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40310         instead of dbl-64.
40311         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40312         inlines.
40313         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40315         if one of x and y is very large and the other is subnormal.
40316         * sysdeps/s390/fpu/s_fmaf.c: New file.
40317         * sysdeps/s390/fpu/s_fma.c: New file.
40318         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40319         * sysdeps/powerpc/fpu/s_fma.S: New file.
40320         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40321         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40322         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40324 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40326         [BZ #3268]
40327         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40328         fma tests.
40329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40330         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40331         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40332         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40333         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40334         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40335         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40337 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40339         [BZ #12078]
40340         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40341         * posix/bug-regex31.input: Add test case.
40343 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40345         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40346         * posix/bug-regex31.input: New file.
40348         [BZ #12078]
40349         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40350         (parse_sub_exp): Fix last change, use postorder.
40352         * posix/bug-regex31.c: New file.
40353         * posix/Makefile: Add rules to build and run bug-regex31.
40355         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40357         [BZ #12078]
40358         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40360         [BZ #12108]
40361         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40362         to have entries in sys_siglist.
40364         [BZ #12093]
40365         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40366         be NULL.
40368 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40370         [BZ #3268]
40371         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40372         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40373         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40374         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40375         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40376         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40377         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40378         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40379         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40380         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40381         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40382         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40383         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40384         * math/ftestexcept.c (fetestexcept): Likewise.
40385         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40386         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40387         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40388         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40389         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40390         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40391         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40393 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40395         [BZ #12107]
40396         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40397         newline.
40399 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
40401         * string/bug-strstr1.c: New file.
40402         * string/Makefile: Add rules to build and run bug-strstr1.
40404 2010-10-05  Eric Blake  <eblake@redhat.com>
40406         [BZ #12092]
40407         * string/str-two-way.h (two_way_long_needle): Always clear memory
40408         when skipping input due to the shift table.
40410 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
40412         [BZ #12005]
40413         * malloc/mcheck.c: Handle large requests.
40415         [BZ #12077]
40416         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40417         for strncmp and strncasecmp.
40418         * string/stratcliff.c: Add tests for strcmp and strncmp.
40419         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40421 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40423         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40424         __set_fpscr.
40426 2010-09-30  Andreas Jaeger  <aj@suse.de>
40428         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40429         (CGROUP_SUPER_MAGIC): Define.
40430         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40431         Handle btrfs and cgroup file systems.
40432         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40433         Likewise.
40435 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
40437         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40438         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40440 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40442         [BZ #12067]
40443         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40444         trying to locate the ELF header.
40446 2010-09-27  Andreas Schwab  <schwab@redhat.com>
40448         [BZ #11611]
40449         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40450         Mask out sign-bit copies when constructing f_fsid.
40452 2010-09-24  Petr Baudis <pasky@suse.cz>
40454         * debug/stack_chk_fail_local.c: Add missing licence exception.
40455         * debug/warning-nop.c: Likewise.
40457 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
40459         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40460         implementing getdents64 using getdents syscall, set d_type if
40461         __ASSUME_GETDENTS32_D_TYPE.
40463 2010-09-16  Andreas Schwab  <schwab@redhat.com>
40465         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
40466         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
40468 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
40470         [BZ #12037]
40471         * posix/unistd.h: Undo change of feature selection for ftruncate from
40472         2010-01-11.
40474 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
40476         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
40477         detection.
40479 2010-09-20  Andreas Schwab  <schwab@redhat.com>
40481         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
40482         fanotify_mark.
40483         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40485 2010-09-14  Andreas Schwab  <schwab@redhat.com>
40487         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
40488         variables after CHECK_SP call.
40489         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
40491 2010-09-13  Andreas Schwab  <schwab@redhat.com>
40492             Ulrich Drepper  <drepper@redhat.com>
40494         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
40495         re-relocationg ld.so.
40496         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
40497         _dl_init_paths call.
40498         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
40499         here anymore.
40501 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
40503         * resolv/res_init.c (__res_vinit): Count the default server we added.
40505 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
40506             Ulrich Drepper  <drepper@redhat.com>
40508         [BZ #11968]
40509         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40510         (____longjmp_chk): Use %ebx for saving value across system call.
40511         Add unwind info.
40513 2010-09-06  Andreas Schwab  <schwab@redhat.com>
40515         * manual/Makefile: Don't mix pattern rules with normal rules.
40517 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40519         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
40520         operation.
40521         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
40522         * libio/iofopncook.c (_IO_cookie_init): Likewise.
40523         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
40524         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
40525         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40526         Likewise.
40528 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
40530         [BZ #11979]
40531         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
40532         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
40534 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
40536         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40537         * sysdeps/x86_64/addmul_1.S: Likewise.
40538         * sysdeps/x86_64/lshift.S: Likewise.
40539         * sysdeps/x86_64/mul_1.S: Likewise.
40540         * sysdeps/x86_64/rshift.S: Likewise.
40541         * sysdeps/x86_64/sub_n.S: Likewise.
40542         * sysdeps/x86_64/submul_1.S: Likewise.
40544 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40546         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
40547         Define __sched_param instead of SCHED_* and sched_param when
40548         <bits/sched.h> is included with __need_schedparam defined.
40549         * bits/sched.h [__need_schedparam]
40550         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
40551         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
40552         (__defined_schedparam): Define to 1.
40553         (__sched_param): New structure, identical to sched_param.
40554         (__need_schedparam): Undefine.
40556 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
40558         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
40559         (epoll_create1): Declare.
40561         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
40563 2010-08-31  Andreas Schwab  <schwab@redhat.com>
40565         [BZ #7066]
40566         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40567         shifting retval into place.
40569 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
40571         * nis/rpcsvc/nis.h: Update copyright notice.
40572         * nis/rpcsvc/nis.x: Likewise.
40573         * nis/rpcsvc/nis_callback.h: Likewise.
40574         * nis/rpcsvc/nis_callback.x: Likewise.
40575         * nis/rpcsvc/nis_object.x: Likewise.
40576         * nis/rpcsvc/nis_tags.h: Likewise.
40577         * nis/rpcsvc/yp.h: Likewise.
40578         * nis/rpcsvc/yp.x: Likewise.
40579         * nis/rpcsvc/ypupd.h: Likewise.
40580         * nis/yp_xdr.c: Likewise.
40581         * nis/ypupdate_xdr.c: Likewise.
40583         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
40584         mainly the body of pmap_getport.  Add parameters to specify timeouts.
40585         (pmap_getport): Use __libc_rpc_getport.
40586         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
40587         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
40588         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
40590 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
40592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
40593         fanotify_mark.
40595 2010-08-27  Roland McGrath  <roland@redhat.com>
40597         * sysdeps/i386/i686/multiarch/Makefile
40598         (CFLAGS-varshift.c): New variable.
40600 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
40602         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
40603         * sysdeps/i386/i686/multiarch/varshift.c: New file.
40605         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
40607         * sysdeps/x86_64/strlen.S: Minimal code improvement.
40609 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
40611         * sysdeps/x86_64/strlen.S: Unroll the loop.
40612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40613         strlen-sse2 strlen-sse2-bsf.
40614         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
40615         __strlen_no_bsf if bit_Slow_BSF is set.
40616         (__strlen_sse42): Removed.
40617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
40618         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
40620 2010-08-25  Roland McGrath  <roland@redhat.com>
40622         * sysdeps/x86_64/multiarch/varshift.S: File removed.
40623         * sysdeps/x86_64/multiarch/varshift.c: New file.
40624         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
40625         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
40626         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
40627         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40629 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
40631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40632         strlen-sse2 strlen-sse2-bsf.
40633         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
40634         __strlen_sse2_bsf if bit_Slow_BSF is unset.
40635         (__strlen_sse2): Removed.
40636         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
40637         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
40638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40639         bit_Slow_BSF for Atom.
40640         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
40641         (index_Slow_BSF): Define.
40642         (HAS_SLOW_BSF): Define.
40644 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
40646         [BZ #10851]
40647         * resolv/res_init.c (__res_vinit): When no server address at all
40648         is given default to loopback.
40650 2010-08-24  Roland McGrath  <roland@redhat.com>
40652         * configure.in: Remove config-name.h generation.
40653         * configure: Regenerated.
40654         * config-name.in: File removed.
40655         * scripts/config-uname.sh: New file.
40656         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
40657         ($(objdir)config-name.h): New target.
40659         * sunrpc/rpc_parse.h: Avoid nested comment.
40661 2010-08-24  Richard Henderson  <rth@redhat.com>
40662             Ulrich Drepper  <drepper@redhat.com>
40663             H.J. Lu  <hongjiu.lu@intel.com>
40665         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
40666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
40667         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
40668         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
40669         _mm_alignr_epi8 with _mm_loadu_si128.
40670         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
40671         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
40672         (__m128i_shift_right): Removed.
40673         * sysdeps/i386/i686/multiarch/varshift.h: New file.
40674         * sysdeps/i386/i686/multiarch/varshift.S: New file.
40675         * sysdeps/x86_64/multiarch/varshift.h: New file.
40676         * sysdeps/x86_64/multiarch/varshift.S: New file.
40678 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
40680         * configure.in: Move assembler checks to before sysdep dir checking.
40682 2010-08-20  Petr Baudis  <pasky@suse.cz>
40684         * LICENSES: Sync the sunrpc license.
40686 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
40688         * sunrpc/auth_des.c: Update copyright notice once again.
40689         * sunrpc/auth_none.c: Likewise.
40690         * sunrpc/auth_unix.c: Likewise.
40691         * sunrpc/authdes_prot.c: Likewise.
40692         * sunrpc/authuxprot.c: Likewise.
40693         * sunrpc/bindrsvprt.c: Likewise.
40694         * sunrpc/clnt_gen.c: Likewise.
40695         * sunrpc/clnt_perr.c: Likewise.
40696         * sunrpc/clnt_raw.c: Likewise.
40697         * sunrpc/clnt_simp.c: Likewise.
40698         * sunrpc/clnt_tcp.c: Likewise.
40699         * sunrpc/clnt_udp.c: Likewise.
40700         * sunrpc/clnt_unix.c: Likewise.
40701         * sunrpc/des_crypt.c: Likewise.
40702         * sunrpc/des_soft.c: Likewise.
40703         * sunrpc/get_myaddr.c: Likewise.
40704         * sunrpc/getrpcport.c: Likewise.
40705         * sunrpc/key_call.c: Likewise.
40706         * sunrpc/key_prot.c: Likewise.
40707         * sunrpc/openchild.c: Likewise.
40708         * sunrpc/pm_getmaps.c: Likewise.
40709         * sunrpc/pm_getport.c: Likewise.
40710         * sunrpc/pmap_clnt.c: Likewise.
40711         * sunrpc/pmap_prot.c: Likewise.
40712         * sunrpc/pmap_prot2.c: Likewise.
40713         * sunrpc/pmap_rmt.c: Likewise.
40714         * sunrpc/rpc/auth.h: Likewise.
40715         * sunrpc/rpc/auth_unix.h: Likewise.
40716         * sunrpc/rpc/clnt.h: Likewise.
40717         * sunrpc/rpc/des_crypt.h: Likewise.
40718         * sunrpc/rpc/key_prot.h: Likewise.
40719         * sunrpc/rpc/netdb.h: Likewise.
40720         * sunrpc/rpc/pmap_clnt.h: Likewise.
40721         * sunrpc/rpc/pmap_prot.h: Likewise.
40722         * sunrpc/rpc/pmap_rmt.h: Likewise.
40723         * sunrpc/rpc/rpc.h: Likewise.
40724         * sunrpc/rpc/rpc_des.h: Likewise.
40725         * sunrpc/rpc/rpc_msg.h: Likewise.
40726         * sunrpc/rpc/svc.h: Likewise.
40727         * sunrpc/rpc/svc_auth.h: Likewise.
40728         * sunrpc/rpc/types.h: Likewise.
40729         * sunrpc/rpc/xdr.h: Likewise.
40730         * sunrpc/rpc_clntout.c: Likewise.
40731         * sunrpc/rpc_cmsg.c: Likewise.
40732         * sunrpc/rpc_common.c: Likewise.
40733         * sunrpc/rpc_cout.c: Likewise.
40734         * sunrpc/rpc_dtable.c: Likewise.
40735         * sunrpc/rpc_hout.c: Likewise.
40736         * sunrpc/rpc_main.c: Likewise.
40737         * sunrpc/rpc_parse.c: Likewise.
40738         * sunrpc/rpc_parse.h: Likewise.
40739         * sunrpc/rpc_prot.c: Likewise.
40740         * sunrpc/rpc_sample.c: Likewise.
40741         * sunrpc/rpc_scan.c: Likewise.
40742         * sunrpc/rpc_scan.h: Likewise.
40743         * sunrpc/rpc_svcout.c: Likewise.
40744         * sunrpc/rpc_tblout.c: Likewise.
40745         * sunrpc/rpc_util.c: Likewise.
40746         * sunrpc/rpc_util.h: Likewise.
40747         * sunrpc/rpcinfo.c: Likewise.
40748         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40749         * sunrpc/rpcsvc/key_prot.x: Likewise.
40750         * sunrpc/rpcsvc/klm_prot.x: Likewise.
40751         * sunrpc/rpcsvc/mount.x: Likewise.
40752         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40753         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40754         * sunrpc/rpcsvc/rex.x: Likewise.
40755         * sunrpc/rpcsvc/rstat.x: Likewise.
40756         * sunrpc/rpcsvc/rusers.x: Likewise.
40757         * sunrpc/rpcsvc/sm_inter.x: Likewise.
40758         * sunrpc/rpcsvc/spray.x: Likewise.
40759         * sunrpc/rpcsvc/yppasswd.x: Likewise.
40760         * sunrpc/rtime.c: Likewise.
40761         * sunrpc/svc.c: Likewise.
40762         * sunrpc/svc_auth.c: Likewise.
40763         * sunrpc/svc_authux.c: Likewise.
40764         * sunrpc/svc_raw.c: Likewise.
40765         * sunrpc/svc_run.c: Likewise.
40766         * sunrpc/svc_simple.c: Likewise.
40767         * sunrpc/svc_tcp.c: Likewise.
40768         * sunrpc/svc_udp.c: Likewise.
40769         * sunrpc/svc_unix.c: Likewise.
40770         * sunrpc/svcauth_des.c: Likewise.
40771         * sunrpc/xcrypt.c: Likewise.
40772         * sunrpc/xdr.c: Likewise.
40773         * sunrpc/xdr_array.c: Likewise.
40774         * sunrpc/xdr_float.c: Likewise.
40775         * sunrpc/xdr_mem.c: Likewise.
40776         * sunrpc/xdr_rec.c: Likewise.
40777         * sunrpc/xdr_ref.c: Likewise.
40778         * sunrpc/xdr_sizeof.c: Likewise.
40779         * sunrpc/xdr_stdio.c: Likewise.
40781         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40782         handling.
40784 2010-08-19  Andreas Schwab  <schwab@redhat.com>
40786         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40788 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
40790         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40791         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40792         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40793         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40794         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40795         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40796         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40797         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40798         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40799         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40800         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40801         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40802         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40803         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40805 2010-07-26  Anton Blanchard  <anton@samba.org>
40807         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40808         * malloc/arena.c (heap_trim): Likewise.
40810 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
40812         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40813         here.  Not...
40814         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40815         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40817 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40819         * sysdeps/i386/elf/Makefile: New file.
40821 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40823         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40824         from fanotify_init.
40825         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40828 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
40830         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40831         of strncasecmp_l.
40832         * sysdeps/multiarch/strcmp.S: Likewise.
40834 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
40836         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40837         strncase_l-nonascii.
40838         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40839         Add strncase_l-ssse3.
40840         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40841         * sysdeps/x86_64/strcmp.S: Likewise.
40842         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40843         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40844         * sysdeps/x86_64/strncase.S: New file.
40845         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40846         * sysdeps/x86_64/strncase_l.S: New file.
40847         * string/Makefile (strop-tests): Add strncasecmp.
40848         * string/test-strncasecmp.c: New file.
40850         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40851         warning.
40853         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40854         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40856 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40858         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40860 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
40862         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40863         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40864         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40866 2010-05-01  Alan Modra  <amodra@gmail.com>
40868         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40869         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40870         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40871         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40872         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40873         tidying.  Don't tail-call __sigjmp_save for static lib.
40874         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40875         save location.
40876         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40877         (CALL_MCOUNT): Add eh info, and nop after bl.
40878         (TAIL_CALL_SYSCALL_ERROR): New macro.
40879         (PSEUDO_RET): Use it.
40880         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40881         Correct save location of integer regs and cr.
40882         (_dl_profile_resolve): Correct cr save location.  Delete nops
40883         after bl when SHARED.  Reduce cfi size a little by better
40884         placement of cfi directives.
40885         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40886         make a stack frame.  Instead use parm save area as a temp.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40888         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40890         Don't make a stack frame for parent, use parm save area.
40891         Increase child stack frame to 112 bytes.  Don't save unused reg,
40892         and adjust reg usage.  Set up cfi on error recovery and
40893         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40895         (__makecontext): Add dummy nop after jump to exit.
40896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40897         Use correct parm save area and cr save, reduce stack frame.
40898         Correct cfi for possible PSEUDO_RET frame setup.
40899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40900         Branch to local label emitted by PSEUDO_RET rather than
40901         __syscall_error.
40903 2010-08-12  Andreas Schwab  <schwab@redhat.com>
40905         [BZ #11904]
40906         * locale/programs/locale.c (print_assignment): New function.
40907         (show_locale_vars): Use it.
40909 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
40911         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40912         field.
40913         (struct statfs64): Likewise.
40914         (_STATFS_F_FLAGS): Define.
40915         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40916         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40917         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40918         (ST_VALID): Define locally.
40919         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40920         __statvfs_getflags, use the provided value.
40921         * sysdeps/unix/sysv/linux/kernel-features.h: Define
40922         __ASSUME_STATFS_F_FLAGS.
40924         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40926         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40927         Add sys/fanotify.h.
40928         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40929         fanotify_mask for GLIBC_2.13.
40930         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40931         fanotify_init and fanotify_mark.
40932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40933         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40935         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40936         Add prlimit.
40937         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40938         prlimit64 for GLIBC_2.13.
40939         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40940         prlimit64.
40941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40942         syscall.
40943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40945         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40946         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40947         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
40948         add prlimit alias.
40949         * sysdeps/unix/sysv/linux/prlimit.c: New file.
40951         [BZ #11903]
40952         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40953         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40955         * nss/Makefile: Add rules to build and run tst-nss-test1.
40956         * shlib-versions: Add entry for libnss_test1.
40957         * nss/nss_test1.c: New file.
40958         * nss/tst-nss-test1.c: New file.
40960         * nss/nsswitch.c (__nss_database_custom): Define new variable.
40961         (__nss_configure_lookup): Set appropriate entry in
40962         __nss_configure_lookup to true.
40963         * nss/nsswitch.h: Define enum with indeces of databases in
40964         databases and __nss_database_custom arrays.  Declare
40965         __nss_database_custom.
40966         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40967         to avoid using nscd when custom rules are installed.
40968         * nss/getXXbyYY_r.c: Likewise.
40969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40971         * nss/nss_files/files-parse.c: Whitespace fixes.
40973 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
40975         [BZ #11883]
40976         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40977         * posix/fnmatch_loop.c: Likewise.
40979 2010-07-17  Andi Kleen  <ak@linux.intel.com>
40981         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40982         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40983         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40984         * Versions.def [GLIBC_2.13]: Add.
40986 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
40988         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40989         Also fail if tpwd after pwuid call is NULL.
40991 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40993         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40994         when converting to ms.
40996 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40998         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40999         EOPNOTSUPP errors with ENOTTY.
41000         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41001         EOPNOTSUPP errors with ENOTTY.
41003 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41005         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41006         Add strcasecmp_l-ssse3.
41007         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41008         strcasecmp.
41009         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41010         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41011         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41013 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41015         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41017         * string/Makefile (strop-tests): Add strcasecmp.
41018         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41019         strcasecmp_l-nonascii.
41020         (gen-as-const-headers): Add locale-defines.sym.
41021         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41022         * sysdeps/x86_64/strcasecmp.S: New file.
41023         * sysdeps/x86_64/strcasecmp_l.S: New file.
41024         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41025         * sysdeps/x86_64/locale-defines.sym: New file.
41026         * string/test-strcasecmp.c: New file.
41028         * string/test-strcasestr.c: Test both ends of the range of characters.
41029         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41031 2010-07-29  Roland McGrath  <roland@redhat.com>
41033         [BZ #11856]
41034         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41036 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41038         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41039         for ld.so.
41041 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41043         * manual/memory.texi (Malloc Tunable Parameters): Document
41044         M_PERTURB.
41046 2010-07-26  Roland McGrath  <roland@redhat.com>
41048         [BZ #11840]
41049         * configure.in (-fgnu89-inline check): Set and substitute
41050         gnu89_inline, not libc_cv_gnu89_inline.
41051         * configure: Regenerated.
41052         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41054 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41056         * string/test-strnlen.c: New file.
41057         * string/Makefile (strop-tests): Add strnlen.
41058         * string/tester.c (test_strnlen): Add a few more test cases.
41059         * string/tst-strlen.c: Better error reporting.
41061         * sysdeps/x86_64/strnlen.S: New file.
41063 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41065         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41066         lower-latency instructions.
41068 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41070         * string/test-strcasestr.c: New file.
41071         * string/test-strstr.c: New file.
41072         * string/Makefile (strop-tests): Add strstr and strcasestr.
41073         * string/str-two-way.h: Don't undefine MAX.
41074         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41076 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41079         strcasestr-nonascii.
41080         (CFLAGS-strcasestr-nonascii.c): Define.
41081         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41082         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41083         Remove unused attribute.
41085 2010-07-20  Roland McGrath  <roland@redhat.com>
41087         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41088         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41089         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41090         like LD_HWCAP_MASK can disable hwcaps.
41092 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41094         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41096 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41098         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41099         call in strcasestr.
41100         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41101         __strcasestr_sse42_nonascii.
41102         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41103         strcasestr-nonascii.c.
41104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41106 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41108         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41109         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41110         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41111         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41113 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41115         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41116         fcntl.
41118 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41120         [BZ #11577]
41121         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41122         dl_signal_cerror.
41124 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41127         _PC_PIPE_BUF using F_GETPIPE_SZ.
41129 2010-07-05  Roland McGrath  <roland@redhat.com>
41131         * manual/arith.texi (Rounding Functions): Fix rint description
41132         implicit in round description.
41134 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41136         * elf/Makefile: Fix linking for a few tests to make recent linker
41137         happy.
41139 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41141         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41142         $(common-objpfx)libc_nonshared.a.
41144 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41146         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41147         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41148         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41149         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41150         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41151         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41152         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41153         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41168         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41169         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41170         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41171         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41172         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41173         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41174         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41175         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41176         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41177         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41178         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41179         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41195 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41197         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41198         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41199         * string/memmove.c (memmove): Renamed to ...
41200         (MEMMOVE): ...this.  Default to memmove.
41201         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41202         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41203         (END_CHK): Define.
41204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41205         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41206         mempcpy-ssse3-back memmove-ssse3-back.
41207         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41208         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41209         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41210         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41211         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41212         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41213         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41214         * sysdeps/x86_64/multiarch/memmove.c: New file.
41215         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41216         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41217         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41218         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41219         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41220         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41221         Define.
41222         (index_Fast_Copy_Backward): Define.
41223         (HAS_ARCH_FEATURE): Define.
41224         (HAS_FAST_REP_STRING): Define.
41225         (HAS_FAST_COPY_BACKWARD): Define.
41227 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41229         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41230         Restore proper fallback handling.
41232 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41234         [BZ #11701]
41235         * posix/group_member.c (__group_member): Correct checking loop.
41237         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41238         OOM in getpwuid_r correctly.  Return error number when the caller
41239         should return, otherwise -1.
41240         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41241         call returning > 0 value.
41242         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41244 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41246         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41247         libc_nonshared.a from targets in modules-names.
41249 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41251         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41252         requires it.
41254 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41256         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41257         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41258         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41259         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41261 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41263         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41265 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41267         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41268         and F_GETPIPE_SZ.
41269         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41270         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41271         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41273         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41274         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41276 2010-06-14  Roland McGrath  <roland@redhat.com>
41278         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41280 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41282         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41283         __REDIRECT followed by __THROW.
41284         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41285         * posix/getopt.h (getopt): Likewise.
41287 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41289         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41290         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41291         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41292         in AT_FLAGS.
41293         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41294         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41296 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41298         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41300 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41302         [BZ #11640]
41303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41304         Properly check family and model.
41306 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41308         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41310 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41312         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41314 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41316         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41317         symbol reference.
41319 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41321         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41322         symbol reference.
41324 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41326         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41327         and internal_recvmmsg.
41328         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41329         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41330         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41331         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41333         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41334         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41335         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41337 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41339         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41341 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41343         POWER7 optimizations.
41344         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41345         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41347 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41349         * version.h: Update for 2.13 development version.
41351 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41353         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41354         exceptions.  Return 0.
41356 2010-05-07  Roland McGrath  <roland@redhat.com>
41358         * elf/ldconfig.c (main): Add a const.
41360 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41362         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41363         (args_options): Add no-idn option.
41364         (ahosts_keys_int): Add idn_flags to ai_flags.
41365         (parse_option): Handle 'i' option to clear idn_flags.
41367         * malloc/malloc.c (_int_free): Possible race in the most recently
41368         added check.  Only act on the data if no current modification
41369         happened.
41371 See ChangeLog.17 for earlier changes.