Generate overall summary of test results.
[glibc.git] / ChangeLog
blobae5c05592ae6f213097994394df43267ba931eae
1 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3         * scripts/merge-test-results.sh: New file.
4         * Makefile (tests-special-notdir): New variable.
5         (tests): Run merge-test-results.sh.
6         (xtests): Likewise.
7         * Rules (tests-special-notdir): New variable.
8         (xtests-special-notdir): Likewise.
9         (tests): Run merge-test-results.sh
10         (xtests): Likewise.
12         * Makeconfig (test-xfail-name): New variable.
13         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14         compute variable name for expected failures.
15         * conform/Makefile (conformtest-headers-data): New variable.
16         (conformtest-standards): Likewise.
17         (conformtest-headers-ISO): Likewise.
18         (conformtest-headers-ISO99): Likewise.
19         (conformtest-headers-ISO11): Likewise.
20         (conformtest-headers-POSIX): Likewise.
21         (conformtest-headers-XPG3): Likewise.
22         (conformtest-headers-XPG4): Likewise.
23         (conformtest-headers-UNIX98): Likewise.
24         (conformtest-headers-XOPEN2K): Likewise.
25         (conformtest-headers-POSIX2008): Likewise.
26         (conformtest-headers-XOPEN2K8): Likewise.
27         (conformtest-header-list-base): Likewise.
28         (conformtest-header-list-tests): Likewise.
29         (conformtest-header-base): Likewise.
30         (conformtest-header-tests): Likewise.
31         (tests-special): Add $(conformtest-header-list-tests).  If
32         [$(fast-check) && !$(cross-compiling)], add
33         $(conformtest-header-tests) instead of
34         $(objpfx)run-conformtest.out.
35         (generated): Add $(conformtest-header-list-base).  If
36         [$(fast-check) && !$(cross-compiling)], add
37         $(conformtest-header-base).  Remove previous setting.
38         ($(conformtest-header-list-tests)): New target.
39         (test-xfail-run-conformtest): Remove variable.
40         ($(objpfx)run-conformtest.out): Remove target.
41         (test-xfail-ISO11/complex.h/conform): New variable.
42         (test-xfail-ISO11/stdalign.h/conform): Likewise.
43         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44         (test-xfail-XPG3/varargs.h/conform): Likewise.
45         (test-xfail-XPG4/varargs.h/conform): Likewise.
46         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
50         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52         (test-xfail-XPG3/ftw.h/conform): Likewise.
53         (test-xfail-XPG3/grp.h/conform): Likewise.
54         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55         (test-xfail-XPG3/limits.h/conform): Likewise.
56         (test-xfail-XPG3/pwd.h/conform): Likewise.
57         (test-xfail-XPG3/search.h/conform): Likewise.
58         (test-xfail-XPG3/signal.h/conform): Likewise.
59         (test-xfail-XPG3/stdio.h/conform): Likewise.
60         (test-xfail-XPG3/stdlib.h/conform): Likewise.
61         (test-xfail-XPG3/string.h/conform): Likewise.
62         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
63         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
64         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
65         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
66         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
67         (test-xfail-XPG3/sys/types.h/conform): Likewise.
68         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
69         (test-xfail-XPG3/termios.h/conform): Likewise.
70         (test-xfail-XPG3/time.h/conform): Likewise.
71         (test-xfail-XPG3/unistd.h/conform): Likewise.
72         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
73         (test-xfail-XPG4/fcntl.h/conform): Likewise.
74         (test-xfail-XPG4/langinfo.h/conform): Likewise.
75         (test-xfail-XPG4/netdb.h/conform): Likewise.
76         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
77         (test-xfail-XPG4/signal.h/conform): Likewise.
78         (test-xfail-XPG4/stdio.h/conform): Likewise.
79         (test-xfail-XPG4/stdlib.h/conform): Likewise.
80         (test-xfail-XPG4/stropts.h/conform): Likewise.
81         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
82         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
83         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
84         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
85         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
86         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
87         (test-xfail-XPG4/sys/time.h/conform): Likewise.
88         (test-xfail-XPG4/sys/types.h/conform): Likewise.
89         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
90         (test-xfail-XPG4/termios.h/conform): Likewise.
91         (test-xfail-XPG4/ucontext.h/conform): Likewise.
92         (test-xfail-XPG4/unistd.h/conform): Likewise.
93         (test-xfail-XPG4/utmpx.h/conform): Likewise.
94         (test-xfail-POSIX/sched.h/conform): Likewise.
95         (test-xfail-POSIX/signal.h/conform): Likewise.
96         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
97         (test-xfail-POSIX/tar.h/conform): Likewise.
98         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
99         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
100         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
101         (test-xfail-UNIX98/netdb.h/conform): Likewise.
102         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
103         (test-xfail-UNIX98/sched.h/conform): Likewise.
104         (test-xfail-UNIX98/signal.h/conform): Likewise.
105         (test-xfail-UNIX98/stdio.h/conform): Likewise.
106         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
107         (test-xfail-UNIX98/stropts.h/conform): Likewise.
108         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
109         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
110         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
111         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
112         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
113         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
114         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
115         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
116         (test-xfail-UNIX98/unistd.h/conform): Likewise.
117         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
118         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
119         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
120         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
121         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
122         (test-xfail-XOPEN2K/math.h/conform): Likewise.
123         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
124         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
125         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
126         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
127         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
128         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
129         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
130         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
131         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
132         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
133         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
134         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
135         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
136         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
137         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
138         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
139         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
140         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
141         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
142         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
143         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
144         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
145         (test-xfail-POSIX2008/signal.h/conform): Likewise.
146         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
147         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
148         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
149         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
150         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
151         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
152         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
153         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
154         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
155         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
156         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
157         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
158         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
159         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
160         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
161         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
162         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
163         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
164         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
165         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
166         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
167         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
168         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
169         (conformtest-cc-flags): Likewise.
170         ($(conformtest-header-tests): New target.
171         * conform/check-header-lists.sh: New file.
172         * conform/run-conformtest.sh: Remove.
174         * conform/conformtest.pl: Allow ' and \ in values given for
175         constants.
176         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
177         inclusion.
178         [POSIX] (sys/types.h): Likewise.
179         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
180         inclusion.
181         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
182         inclusion.
183         * conform/data/signal.h-data (SIGIO): Remove expectation.
184         [XPG3] (SIGBUS): Do not expect.
185         [POSIX || XPG3] (SIGPOLL): Likewise.
186         [POSIX || XPG3] (SIGPROF): Likewise.
187         [POSIX || XPG3] (SIGSYS): Likewise.
188         [XPG3] (SIGTRAP): Likewise.
189         [POSIX || XPG3] (SIGURG): Likewise.
190         [POSIX || XPG3] (SIGVTALRM): Likewise.
191         [POSIX || XPG3] (SIGXCPU): Likewise.
192         [POSIX || XPG3] (SIGXFSZ): Likewise.
193         [POSIX] (SA_SIGINFO): Expect.
194         [XPG3] (siginfo_t): Do not expect type or contents.
195         [POSIX] (si_pid): Do not expect element.
196         [POSIX] (si_uid): Likewise.
197         [POSIX] (si_addr): Likewise.
198         [POSIX] (si_status): Likewise.
199         [POSIX] (si_band): Likewise.
200         [XPG4] (si_value): Likewise.
201         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
202         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
203         [POSIX || XPG3] (ILL_ILLADR): Likewise.
204         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
205         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
206         [POSIX || XPG3] (ILL_PRVREG): Likewise.
207         [POSIX || XPG3] (ILL_COPROC): Likewise.
208         [POSIX || XPG3] (ILL_BADSTK): Likewise.
209         [POSIX || XPG3] (FPE_INTDIV): Likewise.
210         [POSIX || XPG3] (FPE_INTOVF): Likewise.
211         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
212         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
213         [POSIX || XPG3] (FPE_FLTUND): Likewise.
214         [POSIX || XPG3] (FPE_FLTRES): Likewise.
215         [POSIX || XPG3] (FPE_FLTINV): Likewise.
216         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
217         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
218         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
219         [POSIX || XPG3] (BUS_ADRALN): Likewise.
220         [POSIX || XPG3] (BUS_ADRERR): Likewise.
221         [POSIX || XPG3] (BUS_OBJERR): Likewise.
222         [POSIX || XPG3] (CLD_EXITED): Likewise.
223         [POSIX || XPG3] (CLD_KILLED): Likewise.
224         [POSIX || XPG3] (CLD_DUMPED): Likewise.
225         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
226         [POSIX || XPG3] (CLD_STOPPED): Likewise.
227         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
228         [POSIX || XPG3] (POLL_IN): Likewise.
229         [POSIX || XPG3] (POLL_OUT): Likewise.
230         [POSIX || XPG3] (POLL_MSG): Likewise.
231         [POSIX || XPG3] (POLL_ERR): Likewise.
232         [POSIX || XPG3] (POLL_PRI): Likewise.
233         [POSIX || XPG3] (POLL_HUP): Likewise.
234         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
235         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
236         (SIG*): Do not allow.
237         [XPG3] (si_*): Likewise.
238         [XPG3] (SI_*): Likewise.
239         [XPG3 || XPG4] (sigev_*): Likewise.
240         [XPG3 || XPG4] (SIGEV_*): Likewise.
241         [XPG3 || XPG4] (sival_*): Likewise.
242         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
243         [POSIX || XPG3] (BUS_*): Likewise.
244         [POSIX || XPG3] (CLD_*): Likewise.
245         [POSIX || XPG3] (FPE_*): Likewise.
246         [POSIX || XPG3] (ILL_*): Likewise.
247         [POSIX || XPG3] (POLL_*): Likewise.
248         [POSIX || XPG3] (SEGV_*): Likewise.
249         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
250         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
251         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
252         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
253         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
254         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
255         Specify type and value.
256         (TVERSLEN): Likewise.
257         (REGTYPE): Likewise.
258         (AREGTYPE): Likewise.
259         (LNKTYPE): Likewise.
260         (SYMTYPE): Likewise.
261         (CHRTYPE): Likewise.
262         (BLKTYPE): Likewise.
263         (DIRTYPE): Likewise.
264         (FIFOTYPE): Likewise.
265         (CONTTYPE): Likewise.
266         (TSUID): Likewise.
267         (TSGID): Likewise.
268         (TSVTX): Likewise.
269         (TUREAD): Likewise.
270         (TUWRITE): Likewise.
271         (TUEXEC): Likewise.
272         (TGREAD): Likewise.
273         (TGWRITE): Likewise.
274         (TGEXEC): Likewise.
275         (TOREAD): Likewise.
276         (TOWRITE): Likewise.
277         (TOEXEC): Likewise.
278         [POSIX] (TSVTX): Expect constant.
280 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
282         * Makefile (tests): Change dependencies to ....
283         (tests-special): ... additions to this variable.
284         (tests): Depend on $(tests-special).
285         * Makerules (check-abi-list): New variable.
286         (check-abi): Depend on $(check-abi-list).
287         [$(subdir) = elf] (tests-special): Add
288         $(objpfx)check-abi-libc.out.
289         [$(build-shared) = yes && subdir] (tests-special): Add
290         $(check-abi-list).
291         [$(build-shared) = yes && subdir] (tests): Do not depend on
292         check-abi.
293         * Rules (tests): Depend on $(tests-special).
294         (xtests): Depend on $(xtests-special).
295         * catgets/Makefile (tests): Change dependencies to ....
296         (tests-special): ... additions to this variable.
297         * conform/Makefile (tests): Change dependencies to ....
298         (tests-special): ... additions to this variable.
299         * elf/Makefile (tests): Change dependencies to ....
300         (tests-special): ... additions to this variable.
301         * grp/Makefile (tests): Change dependencies to ....
302         (tests-special): ... additions to this variable.
303         * iconv/Makefile (xtests): Change dependencies to ....
304         (xtests-special): ... additions to this variable.
305         * iconvdata/Makefile (tests): Change dependencies to ....
306         (tests-special): ... additions to this variable.
307         * intl/Makefile (tests): Change dependencies to ....
308         (tests-special): ... additions to this variable.  Also add
309         $(objpfx)tst-gettext.out.
310         * io/Makefile (tests): Change dependencies to ....
311         (tests-special): ... additions to this variable.
312         * libio/Makefile (tests): Change dependencies to ....
313         (tests-special): ... additions to this variable.
314         * malloc/Makefile (tests): Change dependencies to ....
315         (tests-special): ... additions to this variable.
316         * misc/Makefile (tests): Change dependencies to ....
317         (tests-special): ... additions to this variable.
318         * nptl/Makefile (tests): Change dependencies to ....
319         (tests-special): ... additions to this variable.
320         * nptl_db/Makefile (tests): Change dependencies to ....
321         (tests-special): ... additions to this variable.
322         * posix/Makefile (tests): Change dependencies to ....
323         (tests-special): ... additions to this variable.
324         (xtests): Change dependencies to ....
325         (xtests-special): ... additions to this variable.
326         * resolv/Makefile (tests): Change dependencies to ....
327         (tests-special): ... additions to this variable.
328         (xtests): Change dependencies to ....
329         (xtests-special): ... additions to this variable.
330         * stdio-common/Makefile (tests): Change dependencies to ....
331         (tests-special): ... additions to this variable.
332         (do-tst-unbputc): Remove target.
333         (do-tst-printf): Likewise.
334         * stdlib/Makefile (tests): Change dependencies to ....
335         (tests-special): ... additions to this variable.
336         * string/Makefile (tests): Change dependencies to ....
337         (tests-special): ... additions to this variable.
338         * sysdeps/x86/Makefile (tests): Change dependencies to ....
339         (tests-special): ... additions to this variable.
341         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
342         whole file.
343         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
344         whole file.
345         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
346         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
348         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
349         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
350         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
351         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
352         * conform/data/libgen.h-data [XPG3]: Likewise.
353         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
354         * conform/data/ndbm.h-data [XPG3]: Likewise.
355         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
356         * conform/data/netdb.h-data [XPG3]: Likewise.
357         * conform/data/netinet/in.h-data [XPG3]: Likewise.
358         * conform/data/poll.h-data [XPG3]: Likewise.
359         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
360         * conform/data/strings.h-data [XPG3]: Likewise.
361         * conform/data/stropts.h-data [XPG3]: Likewise.
362         * conform/data/sys/mman.h-data [XPG3]: Likewise.
363         * conform/data/sys/resource.h-data [XPG3]: Likewise.
364         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
365         Likewise.
366         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
367         * conform/data/sys/time.h-data [XPG3]: Likewise.
368         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
369         * conform/data/sys/uio.h-data [XPG3]: Likewise.
370         * conform/data/sys/un.h-data [XPG3]: Likewise.
371         * conform/data/syslog.h-data [XPG3]: Likewise.
372         * conform/data/ucontext.h-data [XPG3]: Likewise.
373         * conform/data/utmpx.h-data [XPG3]: Likewise.
374         * conform/data/varargs.h-data [UNIX98]: Enable file.
376         * manual/Makefile (INSTALL_INFO): Remove variable setting.
378         * math/libm-test.inc (struct test_f_f_data): Move expected results
379         into structure for each rounding mode.
380         (struct test_ff_f_data): Likewise.
381         (struct test_ff_f_data_nexttoward): Likewise.
382         (struct test_fi_f_data): Likewise.
383         (struct test_fl_f_data): Likewise.
384         (struct test_if_f_data): Likewise.
385         (struct test_fff_f_data): Likewise.
386         (struct test_c_f_data): Likewise.
387         (struct test_f_f1_data): Likewise.
388         (struct test_fF_f1_data): Likewise.
389         (struct test_ffI_f1_data): Likewise.
390         (struct test_c_c_data): Likewise.
391         (struct test_cc_c_data): Likewise.
392         (struct test_f_i_data): Likewise.
393         (struct test_ff_i_data): Likewise.
394         (struct test_f_l_data): Likewise.
395         (struct test_f_L_data): Likewise.
396         (struct test_fFF_11_data): Likewise.
397         (RM_): New macro.
398         (RM_FE_DOWNWARD): Likewise.
399         (RM_FE_TONEAREST): Likewise.
400         (RM_FE_TOWARDZERO): Likewise.
401         (RM_FE_UPWARD): Likewise.
402         (RUN_TEST_LOOP_f_f): Update references to expected results.
403         (RUN_TEST_LOOP_2_f): Likewise.
404         (RUN_TEST_LOOP_fff_f): Likewise.
405         (RUN_TEST_LOOP_c_f): Likewise.
406         (RUN_TEST_LOOP_f_f1): Likewise.
407         (RUN_TEST_LOOP_fF_f1): Likewise.
408         (RUN_TEST_LOOP_fI_f1): Likewise.
409         (RUN_TEST_LOOP_ffI_f1): Likewise.
410         (RUN_TEST_LOOP_c_c): Likewise.
411         (RUN_TEST_LOOP_cc_c): Likewise.
412         (RUN_TEST_LOOP_f_i): Likewise.
413         (RUN_TEST_LOOP_f_i_tg): Likewise.
414         (RUN_TEST_LOOP_ff_i_tg): Likewise.
415         (RUN_TEST_LOOP_f_b): Likewise.
416         (RUN_TEST_LOOP_f_b_tg): Likewise.
417         (RUN_TEST_LOOP_f_l): Likewise.
418         (RUN_TEST_LOOP_f_L): Likewise.
419         (RUN_TEST_LOOP_fFF_11): Likewise.
420         * math/gen-libm-test.pl (parse_args): Output four copies of
421         expected results for each test.
423         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
424         (__ASSUME_UTIMES): Remove.
425         * sysdeps/unix/sysv/linux/tile/kernel-features.h
426         (__ASSUME_UTIMES): Likewise.
428         * math/gen-auto-libm-tests.c: Update comment on output format.
429         (output_for_one_input_case): Generate before-rounding and
430         after-rounding information as conditions on output flags not
431         floating-point format.
432         * math/auto-libm-test-out: Regenerated.
433         * math/gen-libm-test.pl (cond_value): New function.
434         (or_cond_value): Use cond_value.
435         (generate_testfile): Handle conditional exceptions.
437 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
439         * math/libm-test.inc (max_valid_error): New variable.
440         (init_max_error): Take new argument specifying whether function
441         results are exactly determined.  Set max_valid_error and bound
442         other variables for errors based on this argument.
443         (set_max_error): Do not record results above max_valid_error.
444         (check_float_internal): Only accept errors of up to 0.5ulps if
445         also at most max_valid_error.
446         (START): Take new argument EXACT and pass it to init_max_error.
447         (acos_test): Update call to START.
448         (acos_test_tonearest): Likewise.
449         (acos_test_towardzero): Likewise.
450         (acos_test_downward): Likewise.
451         (acos_test_upward): Likewise.
452         (acosh_test): Likewise.
453         (asin_test): Likewise.
454         (asin_test_tonearest): Likewise.
455         (asin_test_towardzero): Likewise.
456         (asin_test_downward): Likewise.
457         (asin_test_upward): Likewise.
458         (asinh_test): Likewise.
459         (atan_test): Likewise.
460         (atanh_test): Likewise.
461         (atan2_test): Likewise.
462         (cabs_test): Likewise.
463         (cacos_test): Likewise.
464         (cacosh_test): Likewise.
465         (carg_test): Likewise.
466         (casin_test): Likewise.
467         (casinh_test): Likewise.
468         (catan_test): Likewise.
469         (catanh_test): Likewise.
470         (cbrt_test): Likewise.
471         (ccos_test): Likewise.
472         (ccosh_test): Likewise.
473         (ceil_test): Likewise.
474         (cexp_test): Likewise.
475         (cimag_test): Likewise.
476         (clog_test): Likewise.
477         (clog10_test): Likewise.
478         (conj_test): Likewise.
479         (copysign_test): Likewise.
480         (cos_test): Likewise.
481         (cos_test_tonearest): Likewise.
482         (cos_test_towardzero): Likewise.
483         (cos_test_downward): Likewise.
484         (cos_test_upward): Likewise.
485         (cosh_test): Likewise.
486         (cosh_test_tonearest): Likewise.
487         (cosh_test_towardzero): Likewise.
488         (cosh_test_downward): Likewise.
489         (cosh_test_upward): Likewise.
490         (cpow_test): Likewise.
491         (cproj_test): Likewise.
492         (creal_test): Likewise.
493         (csin_test): Likewise.
494         (csinh_test): Likewise.
495         (csqrt_test): Likewise.
496         (ctan_test): Likewise.
497         (ctan_test_tonearest): Likewise.
498         (ctan_test_towardzero): Likewise.
499         (ctan_test_downward): Likewise.
500         (ctan_test_upward): Likewise.
501         (ctanh_test): Likewise.
502         (ctanh_test_tonearest): Likewise.
503         (ctanh_test_towardzero): Likewise.
504         (ctanh_test_downward): Likewise.
505         (ctanh_test_upward): Likewise.
506         (erf_test): Likewise.
507         (erfc_test): Likewise.
508         (exp_test): Likewise.
509         (exp_test_tonearest): Likewise.
510         (exp_test_towardzero): Likewise.
511         (exp_test_downward): Likewise.
512         (exp_test_upward): Likewise.
513         (exp10_test): Likewise.
514         (exp10_test_tonearest): Likewise.
515         (exp10_test_towardzero): Likewise.
516         (exp10_test_downward): Likewise.
517         (exp10_test_upward): Likewise.
518         (pow10_test): Likewise.
519         (exp2_test): Likewise.
520         (expm1_test): Likewise.
521         (expm1_test_tonearest): Likewise.
522         (expm1_test_towardzero): Likewise.
523         (expm1_test_downward): Likewise.
524         (expm1_test_upward): Likewise.
525         (fabs_test): Likewise.
526         (fdim_test): Likewise.
527         (floor_test): Likewise.
528         (fma_test): Likewise.
529         (fma_test_towardzero): Likewise.
530         (fma_test_downward): Likewise.
531         (fma_test_upward): Likewise.
532         (fmax_test): Likewise.
533         (fmin_test): Likewise.
534         (fmod_test): Likewise.
535         (fpclassify_test): Likewise.
536         (frexp_test): Likewise.
537         (hypot_test): Likewise.
538         (ilogb_test): Likewise.
539         (isfinite_test): Likewise.
540         (finite_test): Likewise.
541         (isgreater_test): Likewise.
542         (isgreaterequal_test): Likewise.
543         (isinf_test): Likewise.
544         (isless_test): Likewise.
545         (islessequal_test): Likewise.
546         (islessgreater_test): Likewise.
547         (isnan_test): Likewise.
548         (isnormal_test): Likewise.
549         (issignaling_test): Likewise.
550         (isunordered_test): Likewise.
551         (j0_test): Likewise.
552         (j1_test): Likewise.
553         (jn_test): Likewise.
554         (ldexp_test): Likewise.
555         (lgamma_test): Likewise.
556         (gamma_test): Likewise.
557         (lrint_test): Likewise.
558         (lrint_test_tonearest): Likewise.
559         (lrint_test_towardzero): Likewise.
560         (lrint_test_downward): Likewise.
561         (lrint_test_upward): Likewise.
562         (llrint_test): Likewise.
563         (llrint_test_tonearest): Likewise.
564         (llrint_test_towardzero): Likewise.
565         (llrint_test_downward): Likewise.
566         (llrint_test_upward): Likewise.
567         (log_test): Likewise.
568         (log10_test): Likewise.
569         (log1p_test): Likewise.
570         (log2_test): Likewise.
571         (logb_test): Likewise.
572         (logb_test_downward): Likewise.
573         (lround_test): Likewise.
574         (llround_test): Likewise.
575         (modf_test): Likewise.
576         (nearbyint_test): Likewise.
577         (nextafter_test): Likewise.
578         (nexttoward_test): Likewise.
579         (pow_test): Likewise.
580         (pow_test_tonearest): Likewise.
581         (pow_test_towardzero): Likewise.
582         (pow_test_downward): Likewise.
583         (pow_test_upward): Likewise.
584         (remainder_test): Likewise.
585         (drem_test): Likewise.
586         (remainder_test_tonearest): Likewise.
587         (drem_test_tonearest): Likewise.
588         (remainder_test_towardzero): Likewise.
589         (drem_test_towardzero): Likewise.
590         (remainder_test_downward): Likewise.
591         (drem_test_downward): Likewise.
592         (remainder_test_upward): Likewise.
593         (drem_test_upward): Likewise.
594         (remquo_test): Likewise.
595         (rint_test): Likewise.
596         (rint_test_tonearest): Likewise.
597         (rint_test_towardzero): Likewise.
598         (rint_test_downward): Likewise.
599         (rint_test_upward): Likewise.
600         (round_test): Likewise.
601         (scalb_test): Likewise.
602         (scalbn_test): Likewise.
603         (scalbln_test): Likewise.
604         (signbit_test): Likewise.
605         (sin_test): Likewise.
606         (sin_test_tonearest): Likewise.
607         (sin_test_towardzero): Likewise.
608         (sin_test_downward): Likewise.
609         (sin_test_upward): Likewise.
610         (sincos_test): Likewise.
611         (sinh_test): Likewise.
612         (sinh_test_tonearest): Likewise.
613         (sinh_test_towardzero): Likewise.
614         (sinh_test_downward): Likewise.
615         (sinh_test_upward): Likewise.
616         (sqrt_test): Likewise.
617         (sqrt_test_tonearest): Likewise.
618         (sqrt_test_towardzero): Likewise.
619         (sqrt_test_downward): Likewise.
620         (sqrt_test_upward): Likewise.
621         (tan_test): Likewise.
622         (tan_test_tonearest): Likewise.
623         (tan_test_towardzero): Likewise.
624         (tan_test_downward): Likewise.
625         (tan_test_upward): Likewise.
626         (tanh_test): Likewise.
627         (tgamma_test): Likewise.
628         (trunc_test): Likewise.
629         (y0_test): Likewise.
630         (y1_test): Likewise.
631         (yn_test): Likewise.
632         (significand_test): Likewise.
634         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
635         individual tests in comment.
636         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
637         (prev_max_error): New variable.
638         (prev_real_max_error): Likewise.
639         (prev_imag_max_error): Likewise.
640         (compare_ulp_data): Don't refer to test names in comment.
641         (find_test_ulps): Remove function.
642         (find_function_ulps): Likewise.
643         (find_complex_function_ulps): Likewise.
644         (init_max_error): Take function name as argument.  Look up ulps
645         for that function.
646         (print_ulps): Remove function.
647         (print_max_error): Use prev_max_error instead of calling
648         find_function_ulps.
649         (print_complex_max_error): Use prev_real_max_error and
650         prev_imag_max_error instead of calling find_complex_function_ulps.
651         (check_float_internal): Take max_ulp parameter instead of calling
652         find_test_ulps.  Don't call print_ulps.
653         (check_float): Update call to check_float_internal.
654         (check_complex): Update calls to check_float_internal.
655         (START): Pass argument to init_max_error.
656         * math/gen-libm-test.pl (%results): Don't include "kind"
657         information.
658         (parse_ulps): Don't handle ulps of individual tests.
659         (print_ulps_file): Likewise.
660         (output_ulps): Likewise.
661         * math/README.libm-test: Update.
662         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
663         individual tests.
664         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
665         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
666         * sysdeps/arm/libm-test-ulps: Likewise.
667         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
668         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
669         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
671         * sysdeps/microblaze/libm-test-ulps: Likewise.
672         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
673         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
674         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
675         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
676         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
677         * sysdeps/sh/libm-test-ulps: Likewise.
678         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
679         * sysdeps/tile/libm-test-ulps: Likewise.
680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
682 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
684         * math/libm-test.inc (print_complex_max_error): Check separately
685         whether real and imaginary errors are within allowed range and
686         pass 0 to print_complex_function_ulps instead of value within
687         allowed range.
689 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
691         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
692         formatting.
693         (get_handles_fopen): Likewise.
694         (do_write_test): Likewise.
696         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
698         * libio/fileops.c (do_ftell): Use cached offset when
699         available.
700         * libio/iofwide.c (do_ftell_wide): Likewise.
701         * libio/iofdopen.c (_IO_new_fdopen): Don't use
702         _IO_file_attach.
703         * libio/wfileops.c (_IO_fwide): Don't cache offset.
705         [BZ #16532]
706         * libio/libioP.h (get_file_offset): New function.
707         * libio/fileops.c (get_file_offset): Likewise.
708         (do_ftell): Likewise.
709         (_IO_new_file_seekoff): Split out ftell logic.
710         * libio/wfileops.c (do_ftell_wide): Likewise.
711         (_IO_wfile_seekoff): Split out ftell logic.
712         * libio/tst-ftell-active-handler.c: New test case.
713         * libio/Makefile (tests): Add it.
715 2014-03-03  Roland McGrath  <roland@hack.frob.com>
717         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
718         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
720 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
722         [BZ #16639]
723         * nscd/connections.c (nscd_init): Call do_exit.
724         (start_threads): Call do_exit and notify_parent.
725         (begin_drop_privileges): Call do_exit.
726         (finish_drop_privileges): Likewise.
727         * nscd/selinux.c (preserve_capabilities): Likewise.
728         (install_real_capabilities): Likewise.
729         (nscd_selinux_enabled): Likewise.
730         (avc_create_thread): Likewise.
731         (avc_alloc_lock): Likewise.
732         (nscd_avc_init): Likewise.
733         * nscd/nscd.c (parent_fd): New static variable.
734         (main): Create a pipe between parent and child processes.
735         Skip closing parent_fd.
736         (monitor_child): New function.
737         (do_exit): Likewise.
738         (notify_parent): Likewise.
739         * nscd/nscd.h (notify_parent): Likewise.
740         (do_exit): Likewise.
742 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
744         * malloc/malloc.c (__libc_calloc): Revert last change.
746 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
750 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
752         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
754         implementation.
755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
756         (__libc_ifunc_impl_list): Likewise.
757         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
758         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
759         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
760         * string/strrchr.c: Define STRRCHR.
762 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
764         * benchtest/bench-strtok.c (simple_strtok): Delete.
765         (strtok_string): Use as benchmark.
766         * string/strtok (STRTOK): New macro.
768 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
770         * manual/threads.texi: Add header and standard comments to all
771         functions.
773         * elf/dl-lookup.c (check_match): New function.
774         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
775         (do_lookup_x): Remove nested function check_match. Use non-nested
776         function check_match.
778 2014-02-28  Roland McGrath  <roland@hack.frob.com>
780         * csu/Makefile (generated, before-compile): Use += rather than =.
781         * catgets/Makefile (generated, generated-dirs): Likewise.
782         * debug/Makefile (generated): Likewise.
783         * dlfcn/Makefile (generated): Likewise.
784         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
785         * iconvdata/Makefile (before-compile, generated): Likewise.
786         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
787         * libio/Makefile (generated): Likewise.
788         * malloc/Makefile (generated): Likewise.
789         * manual/Makefile (generated, generated-dirs): Likewise.
790         * misc/Makefile (generated): Likewise.
791         * posix/Makefile (generated): Likewise.
792         * resolv/Makefile (generated): Likewise.
793         * sunrpc/Makefile (generated, generated-dirs): Likewise.
794         * timezone/Makefile (generated, generated-dirs): Likewise.
796         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
798 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
801         implementation.
802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
803         POWER8 llround ifunc implementation.
804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
805         POWER8 implementation.
806         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
807         POWER8 llround implementation.
809 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
812         implementation.
813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
814         POWER8 llrint ifunc implementation.
815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
816         POWER8 implementation.
817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
818         POWER8 llrint implementation.
820 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
823         implementation.
824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
825         POWER8 finite ifunc implementation.
826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
827         POWER8 implementation.
828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
829         Likewise.
830         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
831         POWER8 finite implementation.
832         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
834 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
837         implementation.
838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
839         POWER8 isinf ifunc implementation.
840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
841         POWER8 implementation.
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
843         Likewise.
844         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
845         POWER8 isinf implementation.
846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
848 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
850         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
851         Add hwcap2 initialization.
852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
853         implementation.
854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
855         POWER8 isnan ifunc implementation.
856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
857         POWER8 implementation.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
859         Likewise.
860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
861         POWER8 isnan implementation.
862         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
864 2014-02-27  Joey Ye  <joey.ye@arm.com>
866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
867         (_FP_NANFRAC_Q): Set to zero.
869 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
871         [BZ #16623]
872         * math/auto-libm-test-in: New test inputs.
873         * math/auto-libm-test-out: Regenerate.
874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
875         and DA.
876         (__cos): Likewise.
877         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
879 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
881         * scripts/evaluate-test.sh: Take new argument indicating whether
882         failure is expected.
883         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
884         indicating whether failure is expected.
885         * conform/Makefile (test-xfail-run-conformtest): New variable.
886         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
887         level.
888         * posix/Makefile (test-xfail-annexc): New variable.
889         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
891 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
893         * argp/Makefile: Include Makeconfig immediately after defining
894         subdir.
895         * assert/Makefile: Likewise.
896         * benchtests/Makefile: Likewise.
897         * catgets/Makefile: Likewise.
898         * conform/Makefile: Likewise.
899         * crypt/Makefile: Likewise.
900         * csu/Makefile: Likewise.
901         (all): Remove target.
902         * ctype/Makefile: Include Makeconfig immediately after defining
903         subdir.
904         * debug/Makefile: Likewise.
905         * dirent/Makefile: Likewise.
906         * dlfcn/Makefile: Likewise.
907         * gmon/Makefile: Likewise.
908         * gnulib/Makefile: Likewise.
909         * grp/Makefile: Likewise.
910         * gshadow/Makefile: Likewise.
911         * hesiod/Makefile: Likewise.
912         * hurd/Makefile: Likewise.
913         (all): Remove target.
914         * iconvdata/Makefile: Include Makeconfig immediately after
915         defining subdir.
916         * inet/Makefile: Likewise.
917         * intl/Makefile: Likewise.
918         * io/Makefile: Likewise.
919         * libio/Makefile: Likewise.
920         (all): Remove target.
921         * locale/Makefile: Include Makeconfig immediately after defining
922         subdir.
923         * login/Makefile: Likewise.
924         * mach/Makefile: Likewise.
925         (all): Remove target.
926         * malloc/Makefile: Include Makeconfig immediately after defining
927         subdir.
928         (all): Remove target.
929         * manual/Makefile: Include Makeconfig immediately after defining
930         subdir.
931         * math/Makefile: Likewise.
932         * misc/Makefile: Likewise.
933         * nis/Makefile: Likewise.
934         * nss/Makefile: Likewise.
935         * po/Makefile: Likewise.
936         (all): Remove target.
937         * posix/Makefile: Include Makeconfig immediately after defining
938         subdir.
939         * pwd/Makefile: Likewise.
940         * resolv/Makefile: Likewise.
941         * resource/Makefile: Likewise.
942         * rt/Makefile: Likewise.
943         * setjmp/Makefile: Likewise.
944         * shadow/Makefile: Likewise.
945         * signal/Makefile: Likewise.
946         * socket/Makefile: Likewise.
947         * soft-fp/Makefile: Likewise.
948         * stdio-common/Makefile: Likewise.
949         * stdlib/Makefile: Likewise.
950         * streams/Makefile: Likewise.
951         * string/Makefile: Likewise.
952         * sunrpc/Makefile: Likewise.
953         (all): Remove target.
954         * sysvipc/Makefile: Include Makeconfig immediately after defining
955         subdir.
956         * termios/Makefile: Likewise.
957         * time/Makefile: Likewise.
958         * timezone/Makefile: Likewise.
959         (all): Remove target.
960         * wcsmbs/Makefile: Include Makeconfig immediately after defining
961         subdir.
962         * wctype/Makefile: Likewise.
964 2014-02-26  Steve Ellcey  <sellcey@mips.com>
966         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
967         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
968         (libc_feholdexcept_setround_mips): Ditto.
969         (libc_feholdsetround): New.
970         (libc_feholdsetroundf): New.
971         (libc_feholdsetroundl): New.
972         (libc_feupdateenv_test_mips): New.
973         (libc_feupdateenv_test): New.
974         (libc_feupdateenv_testf): New.
975         (libc_feupdateenv_testl): New.
976         (libc_feresetround): New.
977         (libc_feresetroundf): New.
978         (libc_feresetroundl): New.
979         (libc_fetestexcept_mips): New.
980         (libc_fetestexcept): New.
981         (libc_fetestexceptf): New.
982         (libc_fetestexceptl): New.
983         (HAVE_RM_CTX): New.
984         (libc_feholdexcept_setround_mips_ctx): New.
985         (libc_feholdexcept_setround_ctx): New.
986         (libc_feholdexcept_setroundf_ctx): New.
987         (libc_feholdexcept_setroundl_ctx): New.
988         (libc_fesetenv_mips_ctx): New.
989         (libc_fesetenv_ctx): New.
990         (libc_fesetenv_ctxf): New.
991         (libc_fesetenv_ctxl): New.
992         (libc_feupdateenv_mips_ctx): New.
993         (libc_feupdateenv_ctx): New.
994         (libc_feupdateenvf_ctx): New.
995         (libc_feupdateenvl_ctx): New.
996         (libc_feholdsetround_mips_ctx): New.
997         (libc_feholdsetround_ctx): New.
998         (libc_feholdsetroundf_ctx): New.
999         (libc_feholdsetroundl_ctx): New.
1000         (libc_feresetround_mips_ctx): New.
1001         (libc_feresetround_ctx): New.
1002         (libc_feresetroundf_ctx): New.
1003         (libc_feresetroundl_ctx): New.
1005 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1007         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1009         * manual/ipc.texi: New file.
1010         * manual/Makefile (chapters): Add ipc.
1011         * manual/job.texi: Add "Inter-Process Communication" to next.
1012         * manual/process.texi: Add "Inter-Process Communication" to prev.
1014 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1018 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1020         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1022         * manual/arith.texi: Fix spaces after sentences.
1023         * manual/charset.texi: Likewise.
1024         * manual/errno.texi: Likewise.
1025         * manual/install.texi: Likewise.
1026         * manual/llio.texi: Likewise.
1027         * manual/locale.texi: Likewise.
1028         * manual/maint.texi: Likewise.
1029         * manual/math.texi: Likewise.
1030         * manual/memory.texi: Likewise.
1031         * manual/message.texi: Likewise.
1032         * manual/probes.texi: Likewise.
1033         * manual/resource.texi: Likewise.
1034         * manual/signal.texi: Likewise.
1035         * manual/socket.texi: Likewise.
1036         * manual/stdio.texi: Likewise.
1037         * manual/string.texi: Likewise.
1038         * manual/time.texi: Likewise.
1039         * manual/users.texi: Likewise.
1041 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1043         [BZ #16632]
1044         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1045         _DEFAULT_SOURCE is defined.
1047 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1048             Carlos O'Donell  <carlos@redhat.com>
1050         [BZ #16613]
1051         * elf/dl-tls.c (_dl_count_modids): New function.
1052         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1053         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1054         audit library and increment generation counter.
1055         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1056         * elf/tst-audit9.c: New file.
1057         * elf/tst-auditmod9a.c: New file.
1058         * elf/tst-auditmod9b.c: New file.
1059         * elf/Makefile: Add rules to build and run tst-audit9.
1061 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1063         [BZ #15347]
1064         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1066 2014-02-25  Will Newton  <will.newton@linaro.org>
1068         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1069         (__longjmp): Restore sp and lr before restoring callee
1070         saved registers.  Add longjmp and longjmp_target
1071         SystemTap probe point.
1072         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1073         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1074         Define to zero to match jmpbuf layout.
1075         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1076         (__sigsetjmp): Save sp and lr before saving callee
1077         saved registers.  Add setjmp SystemTap probe point.
1079 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1081         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1083 2014-02-24  Andreas Schwab  <schwab@suse.de>
1085         [BZ #15804]
1086         * elf/pldd.c (wait_for_ptrace_stop): New function.
1087         (main): Call it after attaching.
1089 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1091         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1092         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1093         Versions files is now verboten.
1094         * hurd/Versions (libc: GLIBC_2.0):
1095         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1096         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1097         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1098         * mach/Versions: Likewise.
1100         * csu/Versions: Remove unused %include.
1101         * resolv/Versions: Likewise.
1103 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1105         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1106         ($(objpfx)check-local-headers.out): Likewise.
1107         ($(objpfx)begin-end-check.out): Likewise.
1108         * Makerules (check-abi-%.out): Likewise.
1109         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1110         ($(objpfx)test2.cat): Likewise.
1111         ($(objpfx)de/libc.cat): Likewise.
1112         ($(objpfx)test-gencat.out): Likewise.
1113         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1114         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1115         ($(objpfx)noload-mem): Likewise.
1116         ($(objpfx)tst-pathopt.out): Likewise.
1117         ($(objpfx)tst-rtld-load-self.out): Likewise.
1118         ($(objpfx)tst-array1-cmp.out): Likewise.
1119         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1120         ($(objpfx)tst-array2-cmp.out): Likewise.
1121         ($(objpfx)tst-array3-cmp.out): Likewise.
1122         ($(objpfx)tst-array4-cmp.out): Likewise.
1123         ($(objpfx)tst-array5-cmp.out): Likewise.
1124         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1125         ($(objpfx)check-textrel.out): Likewise.
1126         ($(objpfx)check-execstack.out): Likewise.
1127         ($(objpfx)check-localplt.out): Likewise.
1128         ($(objpfx)order2-cmp.out): Likewise.
1129         ($(objpfx)tst-leaks1-mem): Likewise.
1130         ($(objpfx)tst-leaks1-static-mem): Likewise.
1131         ($(objpfx)tst-initorder-cmp.out): Likewise.
1132         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1133         ($(objpfx)tst-unused-dep.out): Likewise.
1134         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1135         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1136         * iconv/Makefile (test-iconvconfig): Likewise.
1137         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1138         ($(objpfx)iconv-test.out): Likewise.
1139         ($(objpfx)tst-tables.out): Likewise.
1140         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1141         ($(objpfx)tst-gettext.out): Likewise.
1142         ($(objpfx)tst-translit.out): Likewise.
1143         ($(objpfx)tst-gettext2.out): Likewise.
1144         ($(objpfx)tst-gettext4.out): Likewise.
1145         ($(objpfx)tst-gettext6.out): Likewise.
1146         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1147         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1148         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1149         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1150         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1151         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1152         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1153         ($(objpfx)wordexp-tst.out): Likewise.
1154         ($(objpfx)annexc.out): Likewise.
1155         ($(objpfx)tst-fnmatch-mem): Likewise.
1156         ($(objpfx)bug-regex2-mem): Likewise.
1157         ($(objpfx)bug-regex14-mem): Likewise.
1158         ($(objpfx)bug-regex21-mem): Likewise.
1159         ($(objpfx)bug-regex31-mem): Likewise.
1160         ($(objpfx)tst-vfork3-mem): Likewise.
1161         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1162         ($(objpfx)tst-pcre-mem): Likewise.
1163         ($(objpfx)tst-boost-mem): Likewise.
1164         ($(objpfx)tst-getconf.out): Likewise.
1165         ($(objpfx)bug-ga2-mem): Likewise.
1166         ($(objpfx)bug-glob2-mem): Likewise.
1167         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1168         ($(objpfx)mtrace-tst-leaks2): Likewise.
1169         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1170         ($(objpfx)tst-printf.out): Likewise.
1171         ($(objpfx)tst-setvbuf1.out): Likewise.
1172         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1173         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1174         ($(objpfx)tst-fmtmsg.out): Likewise.
1175         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1176         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1178         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1179         * bits/sigaction.h [__USE_MISC]: Likewise.
1180         * bits/waitstatus.h: Update #endif comments.
1181         * ctype/ctype.h: Likewise.
1182         * dirent/dirent.h: Likewise.
1183         [__USE_MISC]: Remove redundant conditionals.
1184         * grp/grp.h: Update #endif comments.
1185         [__USE_GNU]: Remove redundant conditionals.
1186         [__USE_MISC]: Likewise.
1187         * inet/netinet/in.h [__USE_GNU]: Likewise.
1188         * io/sys/stat.h [__USE_MISC]: Likewise.
1189         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1190         * libio/bits/stdio.h: Update #endif comments.
1191         [__USE_MISC]: Remove redundant conditionals.
1192         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1193         * libio/stdio.h: Update #endif comments.
1194         [__USE_MISC]: Remove redundant conditionals.
1195         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1196         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1197         * math/math.h: Update #else and #endif comments.
1198         [__USE_MISC]: Remove redundant conditionals.
1199         * misc/sys/uio.h: Update #endif comments.
1200         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1201         * posix/glob.h [__USE_MISC]: Likewise.
1202         * posix/sys/types.h: Update #endif comments.
1203         [__USE_MISC]: Remove redundant conditionals.
1204         * posix/sys/wait.h: Update #endif comments.
1205         [__USE_MISC]: Remove redundant conditionals.
1206         * posix/unistd.h: Update #endif comments.
1207         [__USE_MISC]: Remove redundant conditionals.
1208         * pwd/pwd.h [__USE_GNU]: Likewise.
1209         [__USE_MISC]: Likewise.
1210         * resolv/netdb.h [__USE_GNU]: Likewise.
1211         * signal/signal.h: Update #endif comments.
1212         [__USE_MISC]: Remove redundant conditionals.
1213         * stdlib/stdlib.h: Update #else and #endif comments.
1214         [__USE_MISC]: Remove redundant conditionals.
1215         [__USE_GNU]: Likewise.
1216         * string/bits/string2.h [__USE_MISC]: Likewise.
1217         * string/string.h: Update #endif comments.
1218         [__USE_MISC]: Remove redundant conditionals.
1219         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1220         Likewise.
1221         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1222         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1223         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1228         comments.
1229         [__USE_MISC]: Remove redundant conditionals.
1230         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1231         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1232         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1233         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1234         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1235         Likewise.
1236         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1237         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1238         Likewise.
1239         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1240         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1241         Likewise.
1242         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1243         Likewise.
1244         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1245         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1250         * sysdeps/x86/bits/string.h: Update #endif comments.
1251         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1252         conditionals.
1253         * time/sys/time.h: Update #endif comments.
1254         * time/time.h: Likewise.
1255         [__USE_MISC]: Remove redundant conditionals.
1257 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1259         [BZ #16600]
1260         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1262 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1264         * Versions.def (librt): Add GLIBC_2.17.
1266 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1268         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1269         synonym for _SYS_AUXV_H to allow direct inclusion.
1270         * sysdeps/sparc/bits/hwcap.h: Likewise.
1271         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1272         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1273         * sysdeps/sparc/sysdep.h: Likewise.
1275 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1277         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1279 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1281         * benchtests/bench-strrchr.c: Print length instead of position.
1283 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1285         [BZ #16611]
1286         * sysdeps/unix/sysv/linux/kernel-features.h
1287         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1288         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1289         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1290         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1291         Likewise.
1292         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1293         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1294         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1295         (__ASSUME_SENDMMSG): Define instead of using previous
1296         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1297         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1298         (__ASSUME_SENDMMSG_SYSCALL): Define.
1299         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1300         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1301         Likewise.
1302         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1303         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1304         Likewise.
1305         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1306         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1309         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1310         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1311         [__ASSUME_SENDMMSG]: Change conditionals to
1312         [__ASSUME_SENDMMSG_SOCKETCALL].
1313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1314         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1315         Define.
1316         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1317         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1318         Likewise.
1319         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1320         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1321         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1322         [!__ASSUME_SENDMMSG]: Change conditional to
1323         [!__ASSUME_SENDMMSG_SOCKETCALL].
1324         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1325         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1326         Define.
1328         [BZ #16610]
1329         * sysdeps/unix/sysv/linux/kernel-features.h
1330         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1331         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1332         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1333         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1334         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1335         [__i386__ || __sparc__]
1336         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1337         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1338         (__ASSUME_RECVMMSG): Define instead of using previous
1339         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1340         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1341         (__ASSUME_RECVMMSG_SYSCALL): Define.
1342         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1344         Likewise.
1345         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1349         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1350         Likewise.
1351         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
1352         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1353         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1354         [__ASSUME_RECVMMSG]: Change condition to
1355         [__ASSUME_RECVMMSG_SOCKETCALL].
1356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1357         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1358         Define.
1359         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1360         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1361         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
1364         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
1365         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
1366         [!__ASSUME_RECVMMSG]: Change condition to
1367         [!__ASSUME_RECVMMSG_SOCKETCALL].
1368         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1369         (__ASSUME_RECVMMSG_SYSCALL): Define.
1371         [BZ #16609]
1372         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
1373         __powerpc__ || __s390__ || __sh__ || __sparc__]
1374         (__ASSUME_SOCKETCALL): Define.
1375         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
1376         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
1377         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
1378         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
1379         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1380         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1381         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
1382         (__ASSUME_ACCEPT4): Define instead of using previous
1383         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
1384         __powerpc__ || __sparc__ || __s390__)] condition.
1385         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1386         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1387         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
1388         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1389         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1390         [!__ASSUME_ACCEPT4]: Change condition to
1391         [!__ASSUME_ACCEPT4_SOCKETCALL].
1392         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1393         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
1394         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
1395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1396         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
1397         __ASSUME_ACCEPT4_SYSCALL.
1398         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
1399         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
1400         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1401         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
1402         __ASSUME_ACCEPT4_SYSCALL.
1403         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
1404         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
1405         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
1406         [__ASSUME_ACCEPT4]: Change condition to
1407         [__ASSUME_ACCEPT4_SOCKETCALL].
1408         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1409         (__ASSUME_SOCKETCALL): Define.
1410         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
1411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1412         (__ASSUME_SOCKETCALL): Define.
1413         (__ASSUME_ACCEPT4): Remove.
1414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
1415         Define.
1416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1417         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
1418         Likewise.
1419         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1420         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
1422         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
1423         macro.
1424         (HWCAP_ARM_LPAE): Likewise.
1425         (HWCAP_ARM_EVTSTRM): Likewise.
1426         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
1427         Add vpfd32, lpae and evtstrm.
1428         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1429         Increase to 22.
1431 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
1433         * math/auto-libm-test-in: Add tests of clog10.
1434         * math/auto-libm-test-out: Regenerated.
1435         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
1436         * sysdeps/i386/fpu/libm-test-ulps: Update.
1437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1439 2014-02-18  Andreas Schwab  <schwab@suse.de>
1441         [BZ #16574]
1442         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
1443         Store non-zero if the second buffer was newly allocated.
1444         (send_dg): Likewise.
1445         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
1446         to send_vc and send_dg.
1447         (res_nsend): Pass NULL for ansp2_malloced.
1448         * resolv/res_query.c (__libc_res_nquery): Add parameter
1449         answerp2_malloced and pass it down to __libc_res_nsend.
1450         (res_nquery): Pass additional NULL to __libc_res_nquery.
1451         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
1452         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
1453         second answer buffer if answerp2_malloced was set.
1454         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
1455         (__libc_res_nquerydomain): Add parameter
1456         answerp2_malloced and pass it down to __libc_res_nquery.
1457         (res_nquerydomain): Pass additional NULL to
1458         __libc_res_nquerydomain.
1459         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
1460         additional NULL to __libc_res_nsend and __libc_res_nquery.
1461         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
1462         additional NULL to __libc_res_nsearch.
1463         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
1464         parameter of __libc_res_nsearch to check for separately allocated
1465         second buffer.
1466         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
1467         __libc_res_nquery.
1468         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
1469         additional NULL to __libc_res_nquery.
1470         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
1471         __libc_res_nsearch.
1472         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
1473         * include/resolv.h: Update prototypes of __libc_res_nquery,
1474         __libc_res_nsearch, __libc_res_nsend.
1476 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
1478         * math/auto-libm-test-in: Add tests of fma.
1479         * math/auto-libm-test-out: Regenerated.
1480         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
1481         (fma_towardzero_test_data): Likewise.
1482         (fma_downward_test_data): Likewise.
1483         (fma_upward_test_data): Likewise.
1484         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
1485         mpc_mode.
1486         (rounding_modes): Add values for new field.
1487         (func_calc_method): Add value mpfr_fff_f.
1488         (func_calc_desc): Add mpfr_fff_f union field.
1489         (test_function): Add field exact_args.
1490         (FUNC): Add macro argument EXACT_ARGS.
1491         (FUNC_mpfr_f_f): Update call to FUNC.
1492         (FUNC_mpfr_f_f): Likewise.
1493         (FUNC_mpfr_ff_f): Likewise.
1494         (FUNC_mpfr_if_f): Likewise.
1495         (FUNC_mpc_c_f): Likewise.
1496         (FUNC_mpc_c_c): Likewise.
1497         (test_functions): Add fma.  Update calls to FUNC.
1498         (handle_input_arg): Add argument exact_args.
1499         (add_test): Update call to handle_input_arg.
1500         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
1501         (output_for_one_input_case): Update call to calc_generic_results.
1502         Recalculate exact zero results in each rounding mode.
1504         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
1505         non-negative before setting low bit.
1506         * math/auto-libm-test-in: Mark one asin test possibly having
1507         spurious underflow.
1508         * math/auto-libm-test-out: Regenerated.
1509         * sysdeps/i386/fpu/libm-test-ulps: Update.
1510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
1514         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
1515         * sysdeps/unix/sysv/linux/microblaze: Move directory from
1516         ports/sysdeps/unix/sysv/linux/microblaze.
1517         * README: Add missing listing for microblaze*-*-linux-gnu.
1519 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
1521         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
1522         * sysdeps/unix/sysv/linux/ia64: Move directory from
1523         ports/sysdeps/unix/sysv/linux/ia64.
1524         * README: Update listing for ia64-*-linux-gnu.
1526 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
1527             Joseph Myers  <joseph@codesourcery.com>
1529         * Makeconfig (test-name): New variable.
1530         (evaluate-test): Likewise.
1531         * Makerules (do-test-clean): Remove .test-result files.
1532         (common-mostlyclean): Likewise.
1533         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
1534         * scripts/evaluate-test.sh: New file.
1536 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
1538         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
1539         separate $(objpfx)tst-fopenloc-cmp.out and
1540         $(objpfx)tst-fopenloc-mem.out targets.
1541         (tests): Update dependencies.
1542         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
1543         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
1544         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
1545         (tst-rxspencer-no-utf8-ARGS): New variable.
1546         (tst-rxspencer-no-utf8-ENV): Likewise.
1547         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
1548         instead of $(objpfx)tst-rxspencer-mem.
1549         ($(objpfx)tst-rxspencer-mem): Change target to
1550         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
1551         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
1552         * posix/tst-rxspencer-no-utf8.c: New file.
1554         * elf/Makefile ($(objpfx)order.out): Remove rule.
1555         [$(run-built-tests) = yes] (tests): Depend on
1556         $(objpfx)order-cmp.out.
1557         ($(objpfx)order-cmp.out): New rule.
1558         [$(run-built-tests) = yes] (tests): Depend on
1559         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
1560         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
1561         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
1562         $(objpfx)tst-array5-static-cmp.out.
1563         ($(objpfx)tst-array1.out): Remove rule.
1564         ($(objpfx)tst-array1-cmp.out): New rule.
1565         ($(objpfx)tst-array1-static.out): Remove rule.
1566         ($(objpfx)tst-array1-static-cmp.out): New rule.
1567         ($(objpfx)tst-array2.out): Remove rule.
1568         ($(objpfx)tst-array2-cmp.out): New rule.
1569         ($(objpfx)tst-array3.out): Remove rule.
1570         ($(objpfx)tst-array3-cmp.out): New rule.
1571         ($(objpfx)tst-array4.out): Remove rule.
1572         ($(objpfx)tst-array4-cmp.out): New rule.
1573         ($(objpfx)tst-array5.out): Remove rule.
1574         ($(objpfx)tst-array5-cmp.out): New rule.
1575         ($(objpfx)tst-array5-static.out): Remove rule.
1576         ($(objpfx)tst-array5-static-cmp.out): New rule.
1577         [$(run-built-tests) = yes] (tests): Depend on
1578         $(objpfx)order2-cmp.out.
1579         ($(objpfx)order2.out): Remove rule.
1580         ($(objpfx)order2-cmp.out): New rule.
1581         ($(objpfx)tst-initorder.out): Remove rule.
1582         [$(run-built-tests) = yes] (tests): Depend on
1583         $(objpfx)tst-initorder-cmp.out.
1584         ($(objpfx)tst-initorder-cmp.out): New rule.
1585         ($(objpfx)tst-initorder2.out): Remove rule.
1586         [$(run-built-tests) = yes] (tests): Depend on
1587         $(objpfx)tst-initorder2-cmp.out.
1588         ($(objpfx)tst-initorder2-cmp.out): New rule.
1589         [$(run-built-tests) = yes] (tests): Depend on
1590         $(objpfx)tst-unused-dep-cmp.out.
1591         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
1592         ($(objpfx)tst-unused-dep-cmp.out): New rule.
1593         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
1594         on $(objpfx)tst-setvbuf1-cmp.out.
1595         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
1596         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
1597         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
1598         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
1599         ($(objpfx)tst-svc.out): Remove rule.
1600         ($(objpfx)tst-svc-cmp.out): New rule.
1602 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
1604         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
1605         * ctype/ctype.h [__USE_MISC]: Likewise.
1606         * dirent/dirent.h [__USE_MISC]: Likewise.
1607         * grp/grp.h [__USE_MISC]: Likewise.
1608         * io/fcntl.h [__USE_MISC]: Likewise.
1609         * io/sys/stat.h [__USE_MISC]: Likewise.
1610         * libio/stdio.h [__USE_MISC]: Likewise.
1611         * posix/unistd.h [__USE_MISC]: Likewise.
1612         * pwd/pwd.h [__USE_MISC]: Likewise.
1613         * stdlib.h [__USE_MISC]: Likewise.
1614         * string/bits/string2.h [__USE_MISC]: Likewise.
1615         * string/string.h [__USE_MISC]: Likewise.
1616         * time/time.h [__USE_MISC]: Likewise.
1618 2014-02-13  Andreas Schwab  <schwab@suse.de>
1620         [BZ #16574]
1621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
1622         second answer buffer if it was separately allocated.
1624 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1626         * sysdeps/mips/math-tests.h: Include <features.h>.
1627         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1628         (ROUNDING_TESTS_long_double): Do not define.
1629         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
1630         (EXCEPTION_TESTS_long_double): Likewise.
1631         * sysdeps/mips/mips64/libm-test-ulps: Update.
1633         * include/features.h (__USE_BSD): Remove macro definitions.
1634         (__USE_SVID): Likewise.
1635         (_BSD_SOURCE): Likewise.
1636         (_SVID_SOURCE): Likewise.
1637         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1638         from definition of _DEFAULT_SOURCE.
1639         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1640         [_DEFAULT_SOURCE].
1641         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1642         * bits/mman.h [__USE_BSD]: Likewise.
1643         * bits/termios.h [__USE_BSD]: Likewise.
1644         * bits/waitstatus.h [__USE_BSD]: Likewise.
1645         * ctype/ctype.h [__USE_SVID]: Likewise.
1646         * dirent/dirent.h [__USE_BSD]: Likewise.
1647         * grp/grp.h [__USE_SVID]: Likewise.
1648         [__USE_BSD]: Likewise.
1649         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1650         * io/fcntl.h [__USE_BSD]: Likewise.
1651         * io/ftw.h [__USE_BSD]: Likewise.
1652         * io/sys/stat.h [__USE_BSD]: Likewise.
1653         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1654         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1655         * libio/stdio.h [__USE_SVID]: Likewise.
1656         [__USE_BSD]: Likewise.
1657         * math/math.h [__USE_SVID]: Likewise.
1658         [__USE_BSD]: Likewise.
1659         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1660         * misc/bits/syslog.h [__USE_BSD]: Likewise.
1661         * misc/search.h [__USE_SVID]: Likewise.
1662         * misc/sys/mman.h [__USE_BSD]: Likewise.
1663         * misc/sys/syslog.h [__USE_BSD]: Likewise.
1664         * misc/sys/uio.h [__USE_BSD]: Likewise.
1665         * posix/bits/unistd.h [__USE_BSD]: Likewise.
1666         * posix/glob.h [__USE_BSD]: Likewise.
1667         * posix/regex.h [__USE_BSD]: Likewise.
1668         * posix/sys/types.h [__USE_BSD]: Likewise.
1669         [__USE_SVID]: Likewise.
1670         * posix/sys/utsname.h [__USE_SVID]: Likewise.
1671         * posix/sys/wait.h [__USE_BSD]: Likewise.
1672         [__USE_SVID]: Likewise.
1673         * posix/unistd.h [__USE_BSD]: Likewise.
1674         [__USE_SVID]: Likewise.
1675         * pwd/pwd.h [__USE_SVID]: Likewise.
1676         * resolv/netdb.h [__USE_BSD]: Likewise.
1677         * setjmp/setjmp.h [__USE_BSD]: Likewise.
1678         * signal/signal.h [__USE_BSD]: Likewise.
1679         [__USE_SVID]: Likewise.
1680         * socket/sys/socket.h [__USE_BSD]: Likewise.
1681         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1682         * stdlib/stdlib.h [__USE_BSD]: Likewise.
1683         [__USE_SVID]: Likewise.
1684         * string/bits/string2.h [__USE_BSD]: Likewise.
1685         [__USE_SVID]: Likewise.
1686         * string/bits/string3.h [__USE_BSD]: Likewise.
1687         * string/endian.h [__USE_BSD]: Likewise.
1688         * string/string.h [__USE_SVID]: Likewise.
1689         [__USE_BSD]: Likewise.
1690         * string/strings.h [__USE_BSD]: Likewise.
1691         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1692         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1693         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1694         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1695         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1696         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1697         Likewise.
1698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1699         Likewise.
1700         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1701         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1702         Likewise.
1703         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1704         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1705         Likewise.
1706         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1707         Likewise.
1708         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1709         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1710         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1711         Likewise.
1712         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1713         Likewise.
1714         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1715         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1716         * termios/termios.h [__USE_BSD]: Likewise.
1717         * time/sys/time.h [__USE_BSD]: Likewise.
1718         * time/time.h [__USE_BSD]: Likewise.
1719         [__USE_SVID]: Likewise.
1721         * Makefile (subdir_targets): Remove subdir_lint.out.
1723         * stdio-common/Makefile (do-tst-unbputc): Remove target.
1724         (do-tst-printf): Likewise.
1725         (tests): Depend directly on $(objpfx)tst-unbputc.out and
1726         $(objpfx)tst-printf.out.
1728         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1730         * Makerules (check-abi-%): Change target to
1731         $(objpfx)check-abi-%.out.
1732         (check-abi target): Update dependencies.
1733         (check-abi-pattern variable): Redirect output of diff to $@.
1734         (check-abi variable): Likewise.
1735         * elf/Makefile (check-abi): Update dependencies.
1737         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1738         unused.
1739         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1740         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1741         subnormal range.
1742         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1743         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1744         value has largest subnormal exponent.
1745         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1746         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1747         * sysdeps/aarch64/soft-fp/sfp-machine.h
1748         (_FP_TININESS_AFTER_ROUNDING): New macro.
1749         * sysdeps/alpha/soft-fp/sfp-machine.h
1750         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1751         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1752         Likewise.
1753         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1754         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1755         * sysdeps/mips/soft-fp/sfp-machine.h
1756         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1757         * sysdeps/powerpc/soft-fp/sfp-machine.h
1758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1759         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1760         Likewise.
1761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1762         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
1765         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1766         Likewise.
1768 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
1770         [BZ #16545]
1771         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1772         model 1.
1774 2014-02-12  Richard Henderson  <rth@redhat.com>
1776         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1777         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1778         * sysdeps/unix/sysv/linux/alpha: Move directory from
1779         ports/sysdeps/unix/sysv/linux/alpha.
1780         * README: Update listing for alpha-*-linux-gnu.
1782 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
1784         * include/features.h: Update comment documenting feature test
1785         macros.
1786         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
1787         _DEFAULT_SOURCE.
1788         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1789         (_SVID_SOURCE): Likewise.
1790         (_DEFAULT_SOURCE): Update description of default features.
1791         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1792         with _GNU_SOURCE.
1793         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1794         (S_ISVTX): Likewise.
1795         * manual/math.texi (Mathematical Constants): Likewise.
1796         * manual/signal.texi (Interrupted Primitives): Likewise.
1797         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1798         * math/test-matherr.c (_SVID_SOURCE): Do not define.
1799         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1800         Don't refer to _SVID_SOURCE in warning text.
1802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1804         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1805         already defined.
1806         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1807         * sysdeps/mips/dl-lookup.c: Remove.
1808         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1810 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1812         [BZ #16447]
1813         * math/auto-libm-test-in: Add testcase for expl.
1814         * math/auto-libm-test-out: Regenerate.
1815         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1816         calculation of unsafe.
1817         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1819 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1821         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1822         * sysdeps/unix/sysv/linux/aarch64: Move directory from
1823         ports/sysdeps/unix/sysv/linux/aarch64.
1824         * README: Update listing for aarch64*-*-linux-gnu.
1826 2014-02-11  Will Newton  <will.newton@linaro.org>
1828         * manual/probes.texi (Mathematical Function Probes): Use
1829         "triggered" instead of "hit".
1831 2014-02-11  Will Newton  <will.newton@linaro.org>
1833         * manual/probes.texi (Internal Probes): Add documentation
1834         of setjmp, longjmp and longjmp_target probes.
1836 2014-02-11  Will Newton  <will.newton@linaro.org>
1838         * include/stap-probe.h: Add comment about probe argument
1839         format.
1841 2014-02-11  Will Newton  <will.newton@linaro.org>
1843         * malloc/mtrace.c (attribute_hidden): Remove unused macro
1844         definition.  (tr_where, tr_freehook, tr_mallochook,
1845         tr_reallochook, tr_memalignhook): Use ANSI protoype.
1847 2014-02-11  David S. Miller  <davem@davemloft.net>
1849         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1850         processing int_tests.
1852 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
1854         * sysdeps/mips: Move directory from ports/sysdeps/mips.
1855         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1856         * sysdeps/unix/sysv/linux/mips: Move directory from
1857         ports/sysdeps/unix/sysv/linux/mips.
1858         * README: Update listing for mips-*-linux-gnu and
1859         mips64-*-linux-gnu.
1861 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
1863         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1864         * sysdeps/unix/sysv/linux/m68k: Move directory from
1865         ports/sysdeps/unix/sysv/linux/m68k.
1866         * README: Update listing for m68k-*-linux-gnu.
1868 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
1870         * sysdeps/tile: Move directory from ports/sysdeps/tile.
1871         * sysdeps/unix/sysv/linux/generic: Move directory from
1872         ports/sysdeps/unix/sysv/linux/generic.
1873         * sysdeps/unix/sysv/linux/tile: Move directory from
1874         ports/sysdeps/unix/sysv/linux/tile.
1875         * README: Update listing for tile*-*-linux-gnu.
1877 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1879         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1880         * benchtests/bench-memmem.c (simple_memmem): Likewise.
1881         * catgets/open_catalog.c (__open_catalog): Likewise.
1882         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1883         * debug/confstr_chk.c: Likewise.
1884         * debug/fread_chk.c (__fread_chk): Likewise.
1885         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1886         * debug/getgroups_chk.c: Likewise.
1887         * debug/mbsnrtowcs_chk.c: Likewise.
1888         * debug/mbsrtowcs_chk.c: Likewise.
1889         * debug/mbstowcs_chk.c: Likewise.
1890         * debug/memcpy_chk.c: Likewise.
1891         * debug/memmove_chk.c: Likewise.
1892         * debug/mempcpy_chk.c: Likewise.
1893         * debug/memset_chk.c: Likewise.
1894         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1895         * debug/strcat_chk.c (__strcat_chk): Likewise.
1896         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1897         * debug/strncat_chk.c (__strncat_chk): Likewise.
1898         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1899         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1900         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1901         * debug/wcpncpy_chk.c: Likewise.
1902         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1903         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1904         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1905         * debug/wcsncpy_chk.c: Likewise.
1906         * debug/wcsnrtombs_chk.c: Likewise.
1907         * debug/wcsrtombs_chk.c: Likewise.
1908         * debug/wcstombs_chk.c: Likewise.
1909         * debug/wmemcpy_chk.c: Likewise.
1910         * debug/wmemmove_chk.c: Likewise.
1911         * debug/wmempcpy_chk.c: Likewise.
1912         * debug/wmemset_chk.c: Likewise.
1913         * dirent/scandirat.c (SCANDIRAT): Likewise.
1914         * dlfcn/dladdr1.c (dladdr1): Likewise.
1915         * dlfcn/dladdr.c (dladdr): Likewise.
1916         * dlfcn/dlclose.c (dlclose_doit): Likewise.
1917         * dlfcn/dlerror.c (__dlerror): Likewise.
1918         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1919         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1920         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1921         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1922         * dlfcn/dlsym.c (dlsym_doit): Likewise.
1923         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1924         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1925         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1926         Likewise.
1927         * elf/dl-conflict.c: Likewise.
1928         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1929         * elf/dl-dst.h: Likewise.
1930         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1931         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1932         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1933         * elf/dl-init.c (call_init, _dl_init): Likewise.
1934         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1935         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1936         _dl_map_object_from_fd, open_verify, open_path,
1937         _dl_map_object): Likewise.
1938         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1939         Likewise.
1940         * elf/dl-minimal.c (__libc_memalign): Likewise.
1941         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1942         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1943         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1944         * elf/dl-sym.c (do_sym): Likewise.
1945         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1946         _dl_tls_get_addr_soft): Likewise.
1947         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1948         * elf/dl-writev.h (_dl_writev): Likewise.
1949         * elf/ldconfig.c (search_dir): Likewise.
1950         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1951         dl_main): Likewise.
1952         * elf/setup-vdso.h (setup_vdso): Likewise.
1953         * grp/compat-initgroups.c (compat_call): Likewise.
1954         * grp/fgetgrent.c (fgetgrent): Likewise.
1955         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1956         * grp/putgrent.c (putgrent): Likewise.
1957         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1958         Likewise.
1959         * hurd/hurdinit.c: Likewise.
1960         * iconvdata/8bit-gap.c (struct): Likewise.
1961         * iconvdata/ansi_x3.110.c : Likewise.
1962         * iconvdata/big5.c : Likewise.
1963         * iconvdata/big5hkscs.c : Likewise.
1964         * iconvdata/cp1255.c: Likewise.
1965         * iconvdata/cp1258.c : Likewise.
1966         * iconvdata/cp932.c : Likewise.
1967         * iconvdata/euc-cn.c: Likewise.
1968         * iconvdata/euc-jisx0213.c : Likewise.
1969         * iconvdata/euc-jp.c: Likewise.
1970         * iconvdata/euc-jp-ms.c : Likewise.
1971         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1972         * iconvdata/gb18030.c : Likewise.
1973         * iconvdata/gbbig5.c (const): Likewise.
1974         * iconvdata/gbgbk.c: Likewise.
1975         * iconvdata/gbk.c : Likewise.
1976         * iconvdata/ibm1364.c : Likewise.
1977         * iconvdata/ibm930.c : Likewise.
1978         * iconvdata/ibm932.c: Likewise.
1979         * iconvdata/ibm933.c : Likewise.
1980         * iconvdata/ibm935.c : Likewise.
1981         * iconvdata/ibm937.c : Likewise.
1982         * iconvdata/ibm939.c : Likewise.
1983         * iconvdata/ibm943.c: Likewise.
1984         * iconvdata/iso_11548-1.c: Likewise.
1985         * iconvdata/iso-2022-cn.c : Likewise.
1986         * iconvdata/iso-2022-cn-ext.c : Likewise.
1987         * iconvdata/iso-2022-jp-3.c: Likewise.
1988         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1989         * iconvdata/iso-2022-kr.c : Likewise.
1990         * iconvdata/iso646.c (gconv_end): Likewise.
1991         * iconvdata/iso_6937-2.c : Likewise.
1992         * iconvdata/iso_6937.c : Likewise.
1993         * iconvdata/iso8859-1.c: Likewise.
1994         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1995         * iconvdata/shift_jisx0213.c : Likewise.
1996         * iconvdata/sjis.c : Likewise.
1997         * iconvdata/t.61.c : Likewise.
1998         * iconvdata/tcvn5712-1.c : Likewise.
1999         * iconvdata/tscii.c: Likewise.
2000         * iconvdata/uhc.c : Likewise.
2001         * iconvdata/unicode.c (gconv_end): Likewise.
2002         * iconvdata/utf-16.c (gconv_end): Likewise.
2003         * iconvdata/utf-32.c (gconv_end): Likewise.
2004         * iconvdata/utf-7.c (base64): Likewise.
2005         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2006         * iconv/gconv_close.c (__gconv_close): Likewise.
2007         * iconv/gconv_open.c (__gconv_open): Likewise.
2008         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2009         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2010         internal_ucs4le_loop_single, ucs4le_internal_loop,
2011         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2012         * iconv/iconv.c (iconv): Likewise.
2013         * iconv/iconv_close.c: Likewise.
2014         * iconv/loop.c (SINGLE): Likewise.
2015         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2016         * include/atomic.h: Likewise.
2017         * inet/inet6_option.c (option_alloc): Likewise.
2018         * intl/bindtextdom.c (set_binding_values): Likewise.
2019         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2020         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2021         * intl/localealias.c (read_alias_file): Likewise.
2022         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2023         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2024         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2025         * libio/fmemopen.c (fmemopen): Likewise.
2026         * libio/iofgets.c (_IO_fgets): Likewise.
2027         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2028         * libio/iofgetws.c (fgetws): Likewise.
2029         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2030         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2031         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2032         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2033         * locale/findlocale.c (_nl_find_locale): Likewise.
2034         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2035         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2036         Likewise.
2037         * locale/setlocale.c (setlocale): Likewise.
2038         * login/programs/pt_chown.c (main): Likewise.
2039         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2040         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2041         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2042         mmap, mmap64, mremap, munmap): Likewise.
2043         * math/e_exp2l.c: Likewise.
2044         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2045         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2046         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2047         * math/s_catan.c (__catan): Likewise.
2048         * math/s_catanf.c (__catanf): Likewise.
2049         * math/s_catanh.c (__catanh): Likewise.
2050         * math/s_catanhf.c (__catanhf): Likewise.
2051         * math/s_catanhl.c (__catanhl): Likewise.
2052         * math/s_catanl.c (__catanl): Likewise.
2053         * math/s_ccosh.c (__ccosh): Likewise.
2054         * math/s_ccoshf.c (__ccoshf): Likewise.
2055         * math/s_ccoshl.c (__ccoshl): Likewise.
2056         * math/s_cexp.c (__cexp): Likewise.
2057         * math/s_cexpf.c (__cexpf): Likewise.
2058         * math/s_cexpl.c (__cexpl): Likewise.
2059         * math/s_clog10.c (__clog10): Likewise.
2060         * math/s_clog10f.c (__clog10f): Likewise.
2061         * math/s_clog10l.c (__clog10l): Likewise.
2062         * math/s_clog.c (__clog): Likewise.
2063         * math/s_clogf.c (__clogf): Likewise.
2064         * math/s_clogl.c (__clogl): Likewise.
2065         * math/s_csin.c (__csin): Likewise.
2066         * math/s_csinf.c (__csinf): Likewise.
2067         * math/s_csinh.c (__csinh): Likewise.
2068         * math/s_csinhf.c (__csinhf): Likewise.
2069         * math/s_csinhl.c (__csinhl): Likewise.
2070         * math/s_csinl.c (__csinl): Likewise.
2071         * math/s_csqrt.c (__csqrt): Likewise.
2072         * math/s_csqrtf.c (__csqrtf): Likewise.
2073         * math/s_csqrtl.c (__csqrtl): Likewise.
2074         * math/s_ctan.c (__ctan): Likewise.
2075         * math/s_ctanf.c (__ctanf): Likewise.
2076         * math/s_ctanh.c (__ctanh): Likewise.
2077         * math/s_ctanhf.c (__ctanhf): Likewise.
2078         * math/s_ctanhl.c (__ctanhl): Likewise.
2079         * math/s_ctanl.c (__ctanl): Likewise.
2080         * math/w_pow.c: Likewise.
2081         * math/w_powf.c: Likewise.
2082         * math/w_powl.c: Likewise.
2083         * math/w_scalb.c (sysv_scalb): Likewise.
2084         * math/w_scalbf.c (sysv_scalbf): Likewise.
2085         * math/w_scalbl.c (sysv_scalbl): Likewise.
2086         * misc/error.c (error_tail): Likewise.
2087         * misc/pselect.c (__pselect): Likewise.
2088         * nis/nis_callback.c (__nis_create_callback): Likewise.
2089         * nis/nis_call.c (__nisfind_server): Likewise.
2090         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2091         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2092         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2093         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2094         * nis/nis_lookup.c (nis_lookup): Likewise.
2095         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2096         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2097         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2098         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2099         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2100         internal_getgrgid_r): Likewise.
2101         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2102         Likewise.
2103         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2104         internal_getpwuid_r): Likewise.
2105         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2106         internal_getspnam_r): Likewise.
2107         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2108         _nss_nis_getaliasbyname_r): Likewise.
2109         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2110         _nss_nis_getntohost_r): Likewise.
2111         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2112         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2113         Likewise.
2114         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2115         internal_nis_gethostent_r, internal_gethostbyname2_r,
2116         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2117         _nss_nis_gethostbyname4_r): Likewise.
2118         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2119         initgroups_netid): Likewise.
2120         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2121         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2122         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2123         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2124         _nss_nis_getprotobynumber_r): Likewise.
2125         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2126         _nss_nis_getsecretkey): Likewise.
2127         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2128         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2129         Likewise.
2130         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2131         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2132         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2133         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2134         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2135         _nss_nis_getspnam_r): Likewise.
2136         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2137         Likewise.
2138         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2139         _nss_nisplus_getntohost_r): Likewise.
2140         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2141         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2142         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2143         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2144         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2145         Likewise.
2146         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2147         _nss_nisplus_getnetbyaddr_r): Likewise.
2148         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2149         _nss_nisplus_getprotobynumber_r): Likewise.
2150         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2151         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2152         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2153         Likewise.
2154         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2155         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2156         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2157         _nss_nisplus_getspnam_r): Likewise.
2158         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2159         * nscd/aicache.c (addhstaiX): Likewise.
2160         * nscd/cache.c (cache_search, prune_cache): Likewise.
2161         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2162         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2163         * nscd/grpcache.c (addgrbyX): Likewise.
2164         * nscd/hstcache.c (addhstbyX): Likewise.
2165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2166         * nscd/mem.c (gc, mempool_alloc): Likewise.
2167         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2168         Likewise.
2169         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2170         Likewise.
2171         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2172         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2174         Likewise.
2175         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2176         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2177         * nscd/nscd_helper.c (__readvall, open_socket,
2178         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2179         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2180         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2181         * nscd/pwdcache.c (addpwbyX): Likewise.
2182         * nscd/selinux.c (preserve_capabilities): Likewise.
2183         * nscd/servicescache.c (addservbyX): Likewise.
2184         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2185         * posix/fnmatch.c (fnmatch): Likewise.
2186         * posix/getopt.c (_getopt_internal_r): Likewise.
2187         * posix/glob.c (glob, glob_in_dir): Likewise.
2188         * posix/wordexp.c (exec_comm_child): Likewise.
2189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2190         gaih_getanswer_slice): Likewise.
2191         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2192         * resolv/res_init.c: Likewise.
2193         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2194         * resolv/res_query.c (__libc_res_nquery): Likewise.
2195         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2196         Likewise.
2197         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2198         * stdio-common/perror.c (perror): Likewise.
2199         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2200         * stdio-common/tmpnam.c (tmpnam): Likewise.
2201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2202         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2203         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2204         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2205         * stdlib/putenv.c (putenv): Likewise.
2206         * stdlib/setenv.c (__add_to_environ): Likewise.
2207         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2208         * stdlib/strtol_l.c (INTERNAL): Likewise.
2209         * string/memmem.c (memmem): Likewise.
2210         * string/strerror.c (strerror): Likewise.
2211         * string/strnlen.c (__strnlen): Likewise.
2212         * string/test-memmem.c (simple_memmem): Likewise.
2213         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2214         * sunrpc/pm_getport.c (__get_socket): Likewise.
2215         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2216         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2217         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2218         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2219         Likewise.
2220         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2222         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2223         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2224         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2225         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2226         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2227         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2228         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2230         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2231         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2233         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2234         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2235         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2236         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2237         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2238         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2239         Likewise.
2240         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2241         Likewise.
2242         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2243         Likewise.
2244         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2245         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2246         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2247         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2248         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2249         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2250         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2251         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2252         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2253         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2254         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2256         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2257         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2259         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2260         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2261         Likewise.
2262         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2263         Likewise.
2264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2265         Likewise.
2266         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2268         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2269         Likewise.
2270         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2271         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2272         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2273         * sysdeps/posix/sleep.c: Likewise.
2274         * sysdeps/posix/tempname.c: Likewise.
2275         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2276         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2277         Likewise.
2278         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2279         elf_machine_rela): Likewise.
2280         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2282         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2283         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2284         Likewise.
2285         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2287         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2289         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2290         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2291         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2292         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2293         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2294         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2296         elf_machine_lazy_rel): Likewise.
2297         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2299         elf_machine_lazy_rel): Likewise.
2300         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2301         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2302         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2303         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2304         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2305         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2306         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2308         Likewise.
2309         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2310         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2311         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2312         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2313         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2314         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2315         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2316         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2317         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2318         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2319         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2320         Likewise.
2321         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2322         (__posix_fallocate64_l64): Likewise.
2323         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2324         (posix_fallocate): Likewise.
2325         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2327         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2328         getifaddrs_internal): Likewise.
2329         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2330         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2331         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2332         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2333         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2334         (__posix_fallocate64_l64): Likewise.
2335         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2338         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2341         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2342         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2343         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2345         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2346         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2347         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
2348         Likewise.
2349         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
2350         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
2351         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2352         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2353         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2354         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
2355         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
2356         Likewise.
2357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2358         (posix_fallocate): Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2360         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2361         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
2362         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
2363         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2364         Likewise.
2365         * time/asctime.c (asctime_internal): Likewise.
2366         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
2367         * time/tzset.c (__tzset_parse_tz): Likewise.
2368         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2369         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2370         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2371         * wcsmbs/wcsmbsload.h: Likewise.
2373 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2375         [BZ #15894]
2376         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
2378 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2380         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
2381         arena_get2): Remove THREAD_STATS conditionals.
2382         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
2383         __malloc_stats, int): Likewise.
2385 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2387         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
2388         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
2390 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2392         * manual/setjmp.texi: Fix typos/grammar errors.
2394 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2396         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
2397         Only return early when n is <= 0.  Delete unused return statement.
2399 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2401         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
2402         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2403         * debug/tst-longjmp_chk3.c: New file.
2405 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2407         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
2408         (test_main): Replace code with set_fortify_handler call.
2409         * debug/test-strcpy_chk.c: Likewise.
2410         * debug/tst-chk1.c: Likewise.
2411         * debug/tst-longjmp_chk.c: Likewise.
2412         * test-skeleton.c: Include fcntl.h & paths.h
2413         (set_fortify_handler): Define.
2415 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2417         * debug/tst-longjmp_chk.c: Add header comment and include
2418         ../test-skeleton.c.
2419         (do_test): Mark static.
2420         (TEST_FUNCTION): Define.
2422 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2424         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
2425         (IP_PMTUDISC_INTERFACE): Likewise.
2426         (IP_MULTICAST_IF): Likewise.
2427         (IP_MULTICAST_TTL): Likewise.
2428         (IP_MULTICAST_LOOP): Likewise.
2429         (IP_ADD_MEMBERSHIP): Likewise.
2430         (IP_DROP_MEMBERSHIP): Likewise.
2431         (IP_UNBLOCK_SOURCE): Likewise.
2432         (IP_BLOCK_SOURCE): Likewise.
2433         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
2434         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
2435         (IP_MSFILTER): Likewise.
2436         (MCAST_JOIN_GROUP): Likewise.
2437         (MCAST_BLOCK_SOURCE): Likewise.
2438         (MCAST_UNBLOCK_SOURCE): Likewise.
2439         (MCAST_LEAVE_GROUP): Likewise.
2440         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2441         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2442         (MCAST_MSFILTER): Likewise.
2443         (IP_MULTICAST_ALL): Likewise.
2444         (IP_UNICAST_IF): Likewise.
2446 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2448         * timezone/Makefile: Delete $(have-ksh) check.
2449         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
2450         * timezone/tzselect.ksh: Add +x mode bits.
2452 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
2454         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
2455         (ANON_INODE_FS_MAGIC): Likewise.
2456         (BDEVFS_MAGIC): Likewise.
2457         (BINFMTFS_MAGIC): Likewise.
2458         (BTRFS_TEST_MAGIC): Likewise.
2459         (CRAMFS_MAGIC_WEND): Likewise.
2460         (DEBUGFS_MAGIC): Likewise.
2461         (ECRYPTFS_SUPER_MAGIC): Likewise.
2462         (EXT3_SUPER_MAGIC): Likewise.
2463         (EXT4_SUPER_MAGIC): Likewise.
2464         (FUTEXFS_SUPER_MAGIC): Likewise.
2465         (HOSTFS_SUPER_MAGIC): Likewise.
2466         (HUGETLBFS_MAGIC): Likewise.
2467         (MINIX3_SUPER_MAGIC): Likewise.
2468         (MTD_INODE_FS_MAGIC): Likewise.
2469         (NILFS_SUPER_MAGIC): Likewise.
2470         (OPENPROM_SUPER_MAGIC): Likewise.
2471         (PIPEFS_MAGIC): Likewise.
2472         (PSTOREFS_MAGIC): Likewise.
2473         (QNX6_SUPER_MAGIC): Likewise.
2474         (RAMFS_MAGIC): Likewise.
2475         (REISERFS_SUPER_MAGIC_STRING): Likewise.
2476         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
2477         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
2478         (SECURITYFS_MAGIC): Likewise.
2479         (SELINUX_MAGIC): Likewise.
2480         (SMACK_MAGIC): Likewise.
2481         (SOCKFS_MAGIC): Likewise.
2482         (SQUASHFS_MAGIC): Likewise.
2483         (STACK_END_MAGIC): Likewise.
2484         (TMPFS_MAGIC): Likewise.
2485         (USBDEVICE_SUPER_MAGIC): Likewise.
2486         (V9FS_MAGIC): Likewise.
2487         (XENFS_SUPER_MAGIC): Likewise.
2488         (CRAMFS_MAGIC): Fix typo in comment.
2489         (EXT2_SUPER_MAGIC): Update comment.
2490         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
2492 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
2494         * sysdeps/arm: Move directory from ports/sysdeps/arm.
2495         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
2496         * sysdeps/unix/sysv/linux/arm: Move directory from
2497         ports/sysdeps/unix/sysv/linux/arm.
2498         * README: Update listing for arm-*-linux-gnueabi.
2500         * README: Remove mention of am33.
2502 2014-02-07  Roland McGrath  <roland@hack.frob.com>
2504         * bits/sigset.h (__sigemptyset): Use a statement expression rather
2505         than the comma operator, to avoid "rhs of comma has no effect"
2506         compiler warnings.
2507         (__sigfillset, __sigandset, __sigorset): Likewise.
2508         * include/signal.h (__sigemptyset): Likewise.
2509         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
2511 2014-02-07  Allan McRae  <allan@archlinux.org>
2513         * version.h (RELEASE): Set to "development".
2514         (VERSION): Set to "2.19.90"
2515         * NEWS: Add 2.20 section.
2517 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
2519         [BZ #16529]
2520         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
2522 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2524         * manual/contrib.texi: Update entry for Carlos O'Donell,
2525         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
2527 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
2529         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
2531         * sysdeps/unix/sysv/linux/kernel-features.h
2532         [__LINUX_KERNEL_VERSION >= 0x020621]
2533         (__ASSUME_PROC_PID_TASK_COMM): Define.
2535 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2537         [BZ #16398]
2538         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
2539         conversion when destination buffer does not have enough space.
2540         * libio/tst-ftell-partial-wide.c: New test case.
2541         * libio/Makefile (tests): Add tst-ftell-partial-wide.
2543         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
2544         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
2545         Leonard and Allan McRae.
2547 2014-02-04  David S. Miller  <davem@davemloft.net>
2549         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
2550         32-bit.
2552 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
2555         file
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2557         New file
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
2559         file.
2560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
2561         file.
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2563         New file.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
2565         file.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
2567         file.
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2569         New file.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2571         New file.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2573         New file.
2574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2575         New file.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2577         New file.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2579         New file.
2581 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2583         * nptl/shlib-versions: Change powerpc*le start to 2.17.
2584         * shlib-versions: Likewise.
2586 2014-02-04  Roland McGrath  <roland@hack.frob.com>
2587             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2589         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
2590         (abilist-pattern): New variable, set to %-le.abilist.
2592         * Makerules (abilist-pattern): New variable.
2593         (vpath): Use $(abilist-pattern) in place of %.abilist.
2594         (check-abi-% pattern rule): Likewise.
2595         (check-abi, update-abi): Likewise.
2597 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2601 2014-02-04  Eric Wong  <normalperson@yhbt.net>
2603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2605 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
2607         * manual/startup.texi: Add next, previous, and top entries for
2608         the `Program Arguments' and `Environment Variables' nodes.
2610 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
2612         * manual/macros.texi: Add comments before MTASC-safety macros.
2614         * manual/users.texi: Document MTASC-safety properties.
2616         * manual/threads.texi (pthread_key_create, pthread_key_delete,
2617         pthread_getspecific, pthread_setspecific): Format with
2618         @deftypefun, and add @safety note.
2619         * manual/signal.texi: Move comments that analyze the above
2620         functions to their home place.
2622 2014-02-03  Allan McRae  <allan@archlinux.org>
2624         * po/sl.po: Update Slovenian translation from translation project.
2626 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
2628         * manual/time.texi (timegm): Add missing blank after @c.
2629         Reported by Joseph Myers <joseph@codesourcery.com>.
2631 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
2633         * manual/check-safety.sh: New.
2634         * manual/Makefile ($(objpfx)stamp-summary): Run it.
2636         * manual/terminal.texi: Document MTASC-safety properties.
2638         * manual/filesys.texi: Document MTASC-safety properties.
2640         * manual/errno.texi: Document MTASC-safety properties.
2642         * manual/intro.texi: Document safety identifiers and
2643         conditionals.
2645         * manual/string.texi (wcstok): Fix prototype.
2646         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2648         * manual/time.texi: Document MTASC-safety properties.
2650         * manual/string.texi: Document MTASC-safety properties.
2652         * manual/threads.texi: Document MTASC-safety properties.
2654         * manual/stdio.texi: Document MTASC-safety properties.
2656         * manual/syslog.texi: Document MTASC-safety properties.
2658         * manual/sysinfo.texi: Document MTASC-safety properties.
2660         * manual/startup.texi: Document MTASC-safety properties.
2662         * manual/socket.texi: Document MTASC-safety properties.
2664         * manual/signal.texi: Document MTASC-safety properties.
2666 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
2668         * manual/setjmp.texi: Document MTASC-safety properties.
2670         * manual/search.texi: Document MTASC-safety properties.
2672         * manual/resource.texi: Document MTASC-safety properties.
2674         * manual/process.texi: Document MTASC-safety properties.
2676         * manual/platform.texi: Document MTASC-safety properties.
2678         * manual/pipe.texi: Document MTASC-safety properties.
2680         * manual/pattern.texi: Document MTASC-safety properties.
2682         * manual/message.texi: Document MTASC-safety properties.
2684         [BZ #12751]
2685         * manual/memory.texi: Document MTASC-safety properties.
2687         * manual/math.texi: Document MTASC-safety properties.
2689         * manual/locale.texi: Document MTASC-safety properties.
2691         * manual/llio.texi: Document MTASC-safety properties.
2693         * manual/libdl.texi: New.
2695         * manual/lang.texi: Document MTASC-safety properties.
2697         * manual/job.texi: Document MTASC-safety properties.
2699         * manual/getopt.texi: Document MTASC-safety properties.
2701         * manual/ctype.texi: Document MTASC-safety properties.
2703 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
2705         [BZ #16046]
2706         * csu/libc-tls.c (static_map): Remove variable.
2707         (__libc_setup_tls): Use main executable's link map for TLS data.
2708         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2709         casing for LM_ID_BASE and GL(dl_nns).
2710         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2711         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
2712         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2713         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2714         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2715         member.
2716         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2717         l_phnum members.
2719 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
2721         * manual/debug.texi: Document MTASC-safety properties.
2723 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2725         [BZ #16510]
2726         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2727         of __x86_64__ when disabling x87 inline functions.
2729 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
2731         * manual/charset.texi: Document MTASC-safety properties.
2733         * manual/crypt.texi: Document MTASC-safety properties.
2735         * manual/conf.texi: Document MTASC-safety properties.
2737         * manual/arith.texi: Document MTASC-safety properties.
2739         * manual/argp.texi: Document MTASC-safety properties.
2741         * manual/macros.texi: Introduce macros to document multi
2742         thread, asynchronous signal and asynchronous cancellation
2743         safety properties.
2744         * manual/intro.texi: Introduce the properties themselves.
2746 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2748         * sysdeps/sh/sh4/Makefile: New file.
2750 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
2752         * math/gen-libm-test.pl ($srcdir): New variable.
2753         ($auto_input): Use it.
2755 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2757         [BZ #16506]
2758         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2759         access beyond array bounds when parsing netgroups file.
2761         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2762         the old buffer before realloc.
2764 2014-01-27  Allan McRae  <allan@archlinux.org>
2766         * po/fr.po: Update French translation from translation project.
2768 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2770         * sysdeps/sh/libm-test-ulps: Regenerate.
2772 2014-01-24  David S. Miller  <davem@davemloft.net>
2774         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2776 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2779         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2781 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2783         [BZ #16474]
2784         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2785         string pointers after reallocation.
2787 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2789         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2790         __SH4A__ instead of __SH_FPU_ANY__.
2792 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2794         * sysdeps/sh/fpu_control.h: New file.
2795         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2796         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2797         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2798         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2799         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2800         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2801         * sysdeps/sh/sys/ucontext.h: Remove.
2802         * sysdeps/sh/sys: Remove directory.
2804 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2806         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2807         s390/sys/ucontext.h.
2808         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2811 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
2813         [BZ #15605]
2814         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2816 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2818         [BZ#16431]
2819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2820         Adjust the vDSO correctly for internal calls.
2821         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2823 2014-01-20  Allan McRae  <allan@archlinux.org>
2825         * po/ca.po: Update Catalan translation from translation project.
2827 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
2829         * sysdeps/s390/sotruss-lib.c: New file.
2831 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2833         [BZ#16430]
2834         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2835         (__GI___gettimeofday): Alias for a different internal symbol to avoid
2836         local calls issues by not having a PLT stub required for IFUNC calls.
2837         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2839 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
2841         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2842         * math/test-fpucw-static.c: Likewise.
2844 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846         [BZ #16453]
2847         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2849 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2851         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2852         implementation for powerpc.
2854 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
2856         [BZ #14782]
2857         * sysdeps/posix/system.c (__libc_system): Do not enable
2858         asynchronous cancellation.
2860 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2862         [BZ #16427]
2863         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2864         handling only for numbers special also in the IEEE case.
2866 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2868         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2870 2014-01-11  Allan McRae  <allan@archlinux.org>
2872         * po/bg.po: Update Bulgarian translation from translation project.
2874         * po/de.po: Update German translation from translation project.
2876 2014-01-10  Roland McGrath  <roland@hack.frob.com>
2878         * sysdeps/generic/gcc-compat.h: New file.
2880 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2882         * benchtests/asin-inputs: Correct slow inputs.
2883         * benchtests/acos-inputs: Likewise.
2885 2014-01-10  Allan McRae  <allan@archlinux.org>
2887         * po:sv.po: Update Swedish translation from translation project.
2889         * po/vi.po: Update Vietnamese translation from translation project.
2891         * po/eo.po: Update Esperanto translation from translation project.
2893         * po/cs.po: Update Czech translation from translation project.
2895         * po/nl.po: Update Dutch translation from translation project.
2897         * po/pl.po: Update Polish translation from translation project.
2899         * po/ru.po: Update Russian translation from translation project.
2901         * po/uk.po: Update Ukrainian translation from translation project.
2903 2014-01-08  Brooks Moses  <bmoses@google.com>
2905         * elf/dl-load.c: Fix comment typo.
2907 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
2909         * po/header.pot: Rename to...
2910         * po/pot.header: ... this.
2911         * po/Makefile: Use pot.header.
2913 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
2914             Maxim Kuvyrkov  <maxim@kugelworks.com>
2916         [BZ #16394]
2917         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2918         SRC and DEST against LEN.
2920 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2922         [BZ #16414]
2923         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2924         implementation.
2925         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2927 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2931 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
2933         [BZ #16408]
2934         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2935         for large positive arguments.
2937 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
2939         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2941         * math/auto-libm-test-in: Mark various tests with
2942         xfail-rounding:ldbl-128ibm.
2943         * math/auto-libm-test-out: Regenerated.
2945         [BZ #16407]
2946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2947         Increase overflow threshold.
2949 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
2951         [BZ #14286]
2952         * stdio-common/vfprintf.c: Check for integer overflow.
2954 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2956         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2957         the first argument and return value of __tls_get_addr_internal.
2959 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2961         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2962         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2964 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2966         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2967         * sysdeps/s390/rtld-global-offsets.sym: New file.
2968         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2969         GLIBC_2.19 symbol.
2970         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2972         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2973         ... this.
2974         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2975         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2976         ... this.
2977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2978         Regenerate.
2979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2980         Regenerate.
2981         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2982         halfs of GPRs for high_gprs contexts.
2983         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2984         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
2985         field.
2986         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2987         uc_flags field.
2988         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2989         64 bit versions:
2990         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2991         for high GPRs (uc_high_gprs) and for future extensions
2992         (__reserved).
2993         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2994         for future extensions (__reserved).
2995         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2996         64 bit versions:
2997         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2998         SC_HIGHGPRS offset definition.
2999         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3000         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3002 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3004         * Versions.def: Add GLIBC_2.19 for libpthread.
3005         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3006         siglongjmp for libpthread with GLIBC_2.19 symver.
3007         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3008         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3009         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3010         * sysdeps/s390/__longjmp.c: New file.
3011         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3012         * sysdeps/s390/longjmp.c: New file.
3013         * sysdeps/s390/setjmp.S: New file.
3014         * sysdeps/s390/sigjmp.S: New file.
3015         * sysdeps/s390/v1-longjmp.c: New file.
3016         * sysdeps/s390/v1-setjmp.h: New file.
3017         * sysdeps/s390/v1-sigjmp.c: New file.
3018         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3019         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3020         GLIBC_2.19 version.
3021         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3022         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3023         versioned symbols for ____longjmp_chk.
3024         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3027         Regenerate.
3028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3029         Regenerate.
3030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3031         Regenerate.
3032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3033         Regenerate.
3034         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3035         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3036         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3037         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3038         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3039         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3040         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3041         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3042         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3043         * sysdeps/s390/rtld-__longjmp.c: New file.
3044         * sysdeps/s390/rtld-setjmp.S: New file.
3046 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3048         [BZ #16400]
3049         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3050         Return -__logl (x) for small positive arguments without evaluating
3051         a polynomial.
3053 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3055         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3056         Rename to ...
3057         (__ptrace_peeksiginfo_args): ... this.
3058         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3060         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3062 2014-01-06  Allan McRae  <allan@archlinux.org>
3064         * inet/netinet/in.h: Fix typo in comment.
3066 2014-01-05  Andreas Jaeger  <aj@suse.de>
3068         * sysdeps/i386/fpu/libm-test-ulps: Update.
3070 2014-01-05  Allan McRae  <allan@archlinux.org>
3072         * po/libc.pot: Regenerated.
3074         * malloc/memusagestat.c: Fix gettext call formatting.
3076 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3078         * nscd/nscd.c: Improve usage() output.
3080 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3082         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3083         * sysdeps/unix/sysv/linux/configure: Regenerated.
3084         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3085         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3087 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3089         [BZ #16390]
3090         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3091         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3093 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3095         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3096         extra tokens at end of #undef directive.
3097         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3099         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3101 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3103         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3105         * math/auto-libm-test-in: Mark various tests with
3106         xfail-rounding:ldbl-128ibm.
3107         * math/auto-libm-test-out: Regenerated.
3109 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3111         [BZ #16386]
3112         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3113         numbers with subnormal high part when calculating exponent.
3115         [BZ #16385]
3116         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3117         fabs.
3119         [BZ #16384]
3120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3121         M_LN2l.
3122         (__ieee754_acoshl): Use __log1pl not __log1p.
3124 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3126         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3127         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3128         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3129         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3130         Convert to GNU style.
3131         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3132         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3133         memalign_check, __malloc_set_state): Likewise.
3134         * malloc/mallocbug.c (main): Likewise.
3135         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3136         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3137         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3138         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3139         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3140         * malloc/malloc.h: Likewise.
3141         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3142         memalignhook, reallochook, mabort): Likewise.
3143         * malloc/mcheck.h: Likewise.
3144         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3145         mmap64, mremap, munmap, dest): Likewise.
3146         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3147         * malloc/morecore.c (__default_morecore): Likewise.
3148         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3149         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3150         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3151         print_and_abort): Likewise.
3152         * malloc/obstack.h: Likewise.
3153         * malloc/set-freeres.c (__libc_freeres): Likewise.
3154         * malloc/tst-mallocstate.c (main): Likewise.
3155         * malloc/tst-mtrace.c (main): Likewise.
3156         * malloc/tst-realloc.c (do_test): Likewise.
3158 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3160         [BZ #16366]
3161         * nscd/netgroupcache.c (do_notfound): New function.
3162         (addgetnetgrentX): Use it.
3164         [BZ # 16365]
3165         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3166         NSS_STATUS_NOTFOUND.
3168 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3170         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3173 2014-01-01  Allan McRae  <allan@archlinux.org>
3175         * scripts/update-copyrights: Update configure input file suffix.
3177         * NEWS: Update copyright year.
3178         * catgets/gencat.c: Likewise.
3179         * csu/version.c: Likewise.
3180         * debug/catchsegv.sh: Likewise.
3181         * debug/pcprofiledump.c: Likewise.
3182         * debug/xtrace.sh: Likewise.
3183         * elf/ldconfig.c: Likewise.
3184         * elf/ldd.bash.in: Likewise.
3185         * elf/pldd.c: Likewise.
3186         * elf/sotruss.ksh: Likewise.
3187         * elf/sprof.c: Likewise.
3188         * iconv/iconv_prog.c: Likewise.
3189         * iconv/iconvconfig.c: Likewise.
3190         * locale/programs/locale.c: Likewise.
3191         * locale/programs/localedef.c: Likewise.
3192         * login/programs/pt_chown.c: Likewise.
3193         * malloc/memusage.sh: Likewise.
3194         * malloc/memusagestat.c: Likewise.
3195         * malloc/mtrace.pl: Likewise.
3196         * manual/libc.texinfo: Likewise.
3197         * nscd/nscd.c: Likewise.
3198         * nss/getent.c: Likewise.
3199         * nss/makedb.c: Likewise.
3200         * posix/getconf.c: Likewise.
3201         * scripts/test-installation.pl: Likewise.
3203         * All files with FSF copyright notices: Update copyright dates
3204         using scripts/update-copyrights.
3205         * intl/plural.c: Regenerated.
3206         * locale/programs/charmap-kw.h: Likewise.
3207         * locale/programs/locfile-kw.h: Likewise.
3209 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3211         * sysdeps/unix/sysv/linux/configure: Regenerated.
3212         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3213         the linux/fanotify.h header.
3214         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3215         HAVE_LINUX_FANOTIFY_H is defined.
3217 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3219         * benchtests/cos-inputs: New inputs.
3220         * benchtests/sin-inputs: Likewise.
3222         * benchtests/atan-inputs: New inputs. Fix name of multiple
3223         precision fallback inputs.
3225         * benchtests/atanh-inputs: New inputs.
3226         * benchtests/tanh-inputs: Likewise.
3228         * benchtests/acosh-inputs: New inputs.
3229         * benchtests/asinh-inputs: Likewise.
3231         * benchtests/cosh-inputs: New inputs.
3232         * benchtests/sinh-inputs: Likewise.
3234         * benchtests/acos-inputs: Add more inputs.
3235         * benchtests/asin-inputs: Likewise.
3237 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3239         [BZ #16375]
3240         * manual/arith.texi: Fix spelling.
3241         * manual/charset.texi: Likewise.
3242         * manual/errno.texi: Likewise.
3243         * manual/filesys.texi: Likewise.
3244         * manual/lang.texi: Likewise.
3245         * manual/llio.texi: Likewise.
3246         * manual/locale.texi: Likewise.
3247         * manual/message.texi: Likewise.
3248         * manual/resource.texi: Likewise.
3249         * manual/search.texi: Likewise.
3250         * manual/setjmp.texi: Likewise.
3251         * manual/stdio.texi: Likewise.
3252         * manual/string.texi: Likewise.
3253         * manual/sysinfo.texi: Likewise.
3254         * manual/time.texi: Likewise.
3256 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3258         * po/sl.po: New file.
3260 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3262         * .gitignore: Add core/.gdbinit/.gdb_history.
3264 2013-12-27  Allan McRae  <allan@archlinux.org>
3266         [BZ #16369]
3267         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3268         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3270 2013-12-24  Brooks Moses  <bmoses@google.com>
3272         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3273         all compilers that claim C++98 compliance, not just GCC.
3274         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3275         Likewise.
3277 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3279         * NEWS: Restore accidentally deleted bug-fix entries.
3281 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3282             Ondřej Bílka  <neleai@seznam.cz>
3284         [BZ #15073]
3285         * malloc/malloc.c (_int_free): Perform sanity check only if we
3286         have_lock.
3288 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3290         [BZ #12986]
3291         * manual/stdio.texi (String Input Conversions): Clarify that character
3292         classes are not supported.
3294 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3298 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3300         [BZ #16337]
3301         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3302         Calculate results for small negative arguments directly rather
3303         than using reflection formula with special underflow handling.
3305         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3306         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3307         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3308         (fchflags): Likewise.
3309         (revoke): Likewise.
3310         (setlogin): Likewise.
3311         (sigaltstack): Likewise.
3312         (wait4): Likewise.
3313         (sigblock): Remove.
3314         (sigsetmask): Likewise.
3315         (wait3): Likewise.
3316         (waitpid): Likewise.
3317         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3318         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3319         file.
3320         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3321         * sysdeps/unix/bsd/Makefile: ... here.
3322         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3323         * sysdeps/unix/bsd/Versions: ... here.
3324         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3325         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3326         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3327         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3328         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3329         * sysdeps/unix/bsd/sigblock.c: ... here.
3330         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3331         * sysdeps/unix/bsd/sigsetmask.c: ... here.
3332         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3333         * sysdeps/unix/bsd/sigvec.c: ... here.
3334         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3335         * sysdeps/unix/bsd/tcdrain.c: ... here.
3336         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3337         * sysdeps/unix/bsd/tcgetattr.c: ... here.
3338         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3339         * sysdeps/unix/bsd/tcsetattr.c: ... here.
3340         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3341         * sysdeps/unix/bsd/wait.c: ... here.
3342         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3343         * sysdeps/unix/bsd/wait3.c: ... here.
3344         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
3345         * sysdeps/unix/bsd/waitpid.c: ... here.
3347 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
3349         [BZ #16356]
3350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
3351         round-to-nearest for [!USE_AS_EXPM1L].
3352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3353         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
3354         more tests of exp and exp10.  Expect some exp10 tests to miss
3355         exceptions or fail in directed rounding modes.
3356         * math/auto-libm-test-out: Regenerated.
3357         * math/libm-test.inc (exp10_tonearest_test_data): New array.
3358         (exp10_test_tonearest): New function.
3359         (exp10_towardzero_test_data): New array.
3360         (exp10_test_towardzero): New function.
3361         (exp10_downward_test_data): New array.
3362         (exp10_test_downward): New function.
3363         (exp10_upward_test_data): New array.
3364         (exp10_test_upward): New function.
3365         (main): Call the new functions.
3366         * sysdeps/i386/fpu/libm-test-ulps: Update.
3367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3369 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
3371         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3372         asinh, atan, atan2, atanh, cbrt, cos and cosh.
3373         * math/auto-libm-test-out: Regenerated.
3374         * math/libm-test.inc (acosh_test_data): Add more tests.
3375         (atanh_test_data): Likewise.
3376         (ceil_test_data): Likewise.
3377         (copysign_test_data): Likewise.
3378         * sysdeps/i386/fpu/libm-test-ulps: Update.
3379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3381         * timezone/checktab.awk: Update from tzcode 2013i.
3382         * timezone/private.h: Likewise.
3383         * timezone/scheck.c: Likewise.
3384         * timezone/tzfile.h: Likewise.
3385         * timezone/tzselect.ksh: Likewise.
3386         * timezone/zdump.c: Likewise.
3387         * timezone/zic.c: Likewise.
3389         * math/auto-libm-test-in: Add tests of cpow.
3390         * math/auto-libm-test-out: Regenerated.
3391         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
3392         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
3393         mpc_cc_c.
3394         (func_calc_desc): Add mpc_cc_c union field.
3395         (test_functions): Add cpow.
3396         (special_fill_2pi): New function.
3397         (special_real_inputs): Add 2pi.
3398         (calc_generic_results): Handle mpc_cc_c.
3399         * sysdeps/i386/fpu/libm-test-ulps: Update.
3400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3402         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
3403         csqrt, ctan and ctanh.
3404         * math/auto-libm-test-out: Regenerated.
3405         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3406         (TEST_COND_x86): Likewise.
3407         (ccos_test_data): Use AUTO_TESTS_c_c.
3408         (ccosh_test_data): Likewise.
3409         (cexp_test_data): Likewise.
3410         (clog_test_data): Likewise.
3411         (csqrt_test_data): Likewise.
3412         (ctan_test_data): Likewise.
3413         (ctan_tonearest_test_data): Likewise.
3414         (ctan_towardzero_test_data): Likewise.
3415         (ctan_downward_test_data): Likewise.
3416         (ctan_upward_test_data): Likewise.
3417         (ctanh_test_data): Likewise.
3418         (ctanh_tonearest_test_data): Likewise.
3419         (ctanh_towardzero_test_data): Likewise.
3420         (ctanh_downward_test_data): Likewise.
3421         (ctanh_upward_test_data): Likewise.
3422         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3423         mpc_c_c.
3424         (func_calc_desc): Add mpc_c_c union field.
3425         (FUNC_mpc_c_c): New macro.
3426         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
3427         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
3428         ctanh.
3429         (special_fill_min_subnorm_p120): New function.
3430         (special_real_inputs): Add min_subnorm_p120.
3431         (calc_generic_results): Handle mpc_c_c.
3432         * sysdeps/i386/fpu/libm-test-ulps: Update.
3433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3435 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3437         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
3438         do_sin_slow): New functions.
3439         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
3440         cslow2, csloww1, csloww2): Use the new functions.
3442         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
3443         Use M to change sign of result instead of X.  Assume X is
3444         positive.
3445         (csloww1): Likewise.
3446         (__sin): Adjust.
3447         (__cos): Adjust.
3449         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
3450         arguments A and DA.
3451         (__sin): Adjust.
3452         (__cos): Likewise.
3454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
3455         (__cos): Likewise.
3456         (sloww1): Don't adjust sign of DX.
3457         (csloww1): Likewise.
3458         (sloww2): Use X directly and don't adjust sign of DX.
3459         (csloww2): Likewise.
3461 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3463         * math/auto-libm-test-in: Add tests of cabs and carg.
3464         * math/auto-libm-test-out: Regenerated.
3465         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
3466         (carg_test_data): Likewise.
3467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3468         mpc_c_f.
3469         (func_calc_desc): Add mpc_c_f union field.
3470         (test_functions): Add cabs and carg.
3471         (calc_generic_results): Handle mpc_c_f.
3473         * sysdeps/powerpc/powerpc32/libgcc-compat.S
3474         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
3475         as a macro and a compat symbol.
3476         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3477         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3478         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3479         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3480         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
3481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
3482         not use .hidden.
3483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
3484         Likewise.
3485         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
3486         Likewise.
3487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
3488         Likewise.
3489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
3490         Likewise.
3491         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
3492         Likewise.
3493         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
3494         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
3495         from GLIBC_2.3.2.
3497 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3501 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3503         * manual/texinfo.tex: Update to version 2013-11-26.10 with
3504         trailing whitespace removed.
3505         * scripts/config.guess: Update to version 2013-11-29.
3506         * scripts/config.sub: Update to version 2013-10-01.
3508         * math/auto-libm-test-in: Add tests of sincos.
3509         * math/auto-libm-test-out: Regenerated.
3510         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
3511         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3512         mpfr_f_11.
3513         (func_calc_desc): Add mpfr_f_11 union field.
3514         (test_functions): Add sincos.
3515         (calc_generic_results): Handle mpfr_f_11.
3516         * sysdeps/i386/fpu/libm-test-ulps: Update.
3517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3519 2013-12-19  Andreas Schwab  <schwab@suse.de>
3521         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
3522         CALL_MCOUNT.
3523         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3524         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
3525         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
3527 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
3529         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
3530         * sysdeps/i386/fpu/libm-test-ulps: Update.
3531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3533         [BZ #16293]
3534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
3535         round-to-nearest mode when using frndint.
3536         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
3537         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3538         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3539         Likewise.
3540         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
3541         sinh test to fail.
3542         * math/auto-libm-test-out: Regenerated.
3543         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
3544         (TEST_COND_x86): Likewise.
3545         (expm1_tonearest_test_data): New array.
3546         (expm1_test_tonearest): New function.
3547         (expm1_towardzero_test_data): New array.
3548         (expm1_test_towardzero): New function.
3549         (expm1_downward_test_data): New array.
3550         (expm1_test_downward): New function.
3551         (expm1_upward_test_data): New array.
3552         (expm1_test_upward): New function.
3553         (main): Run the new test functions.
3554         * sysdeps/i386/fpu/libm-test-ulps: Update.
3555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3557         * include/features.h: Update comment documenting feature test
3558         macros.  Mention _DEFAULT_SOURCE in comment.
3559         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
3560         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
3561         _BSD_SOURCE and _SVID_SOURCE.
3562         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
3563         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
3564         !_SVID_SOURCE]: Likewise.
3565         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3566         (__USE_POSIX_IMPLICITLY): Define.
3567         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3568         (_POSIX_SOURCE): Undefine and redefine.
3569         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
3570         (_POSIX_C_SOURCE): Likewise.
3571         * manual/creature.texi (_DEFAULT_SOURCE): Document.
3572         (Feature Test Macros): Update documentation of default features.
3574 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3576         * benchtests/Makefile: Add bench-strtok.
3577         * benchtests/bench-strtok.c: New file: strtok benchtest.
3579 2013-12-19  Allan McRae  <allan@archlinux.org>
3581         * manual/install.texi: Suppress menu for plain text output.
3582         * INSTALL: Regenerated.
3584 2013-12-18  Brooks Moses  <bmoses@google.com>
3586         [BZ #15846]
3587         * misc/getauxval.c: Include errno.h.
3588         (__getauxval): Set errno to ENOENT if the requested type is not
3589         found.
3590         * misc/sys/auxv.h (getauxval): Document that it may set errno;
3591         don't declare with __attribute_const__.
3592         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
3593         * manual/startup.texi: Document that getauxval sets errno.
3595 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3597         * math/auto-libm-test-in: Add tests of jn and yn.
3598         * math/auto-libm-test-out: Regenerated.
3599         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
3600         (yn_test_data): Likewise.
3601         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3602         mpfr_if_f.
3603         (func_calc_desc): Add mpfr_if_f union field.
3604         (FUNC_mpfr_if_f): New macro.
3605         (test_functions): Add jn and yn.
3606         (calc_generic_results): Assert type of second input for
3607         mpfr_ff_f.  Handle mpfr_if_f.
3608         (output_for_one_input_case): Disable all checking for arguments
3609         fitting floating-point types in case of an integer argument.
3610         * sysdeps/i386/fpu/libm-test-ulps: Update.
3611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3614         Don't expect fegetround reference in libm.so.
3616 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3618         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
3619         $(config-cflags-nofma).
3621 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
3623         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
3624         * math/auto-libm-test-out: Regenerated.
3626         [BZ #16338]
3627         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
3628         to determine exponent and adjust argument to have exponent of -1.
3629         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3630         log2.
3631         * math/auto-libm-test-out: Regenerated.
3632         * sysdeps/i386/fpu/libm-test-ulps: Update.
3633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3635 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
3637         * manual/probes.texi: Remove cases when per-thread arenas are
3638         disabled.
3640 2013-12-18  Andreas Schwab  <schwab@suse.de>
3642         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3643         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3644         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3645         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3646         * sysdeps/i386/i686/multiarch/Makefile: Update.
3647         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3649 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3651         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3652         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3654 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3656         [BZ #15968]
3657         Support TZ transition times < 00:00:00.
3658         This is needed for version-3 tz-format files; it supports time
3659         stamps past 2037 for America/Godthab (the only entry in the tz
3660         database for which this change is relevant).
3661         * manual/time.texi (TZ Variable): Document transition times
3662         from -167:59:59 through -00:00:01.
3663         * time/tzset.c (tz_rule): Time of day is now signed.
3664         (__tzset_parse_tz): Parse negative time of day.
3666         Document TZ transition times >= 25:00:00.
3667         * manual/time.texi (TZ Variable): Document transition times from
3668         25:00:00 through 167:59:59.  These are already supported, and this
3669         support will help with version-3 tz-format files.
3671         * manual/time.texi (TZ Variable): Modernize North America example
3672         to reflect current (i.e., 2007-and-later) daylight saving rules.
3674         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3676 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3678         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3679         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3682         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3683         * sysdeps/unix/bsd/bsdstat.h: Likewise.
3684         * sysdeps/unix/bsd/clock.c: Likewise.
3685         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3686         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3687         * sysdeps/unix/bsd/init-posix.c: Likewise.
3688         * sysdeps/unix/bsd/poll.c: Likewise.
3689         * sysdeps/unix/bsd/ptsname.c: Likewise.
3690         * sysdeps/unix/bsd/seekdir.c: Likewise.
3691         * sysdeps/unix/bsd/setegid.c: Likewise.
3692         * sysdeps/unix/bsd/seteuid.c: Likewise.
3693         * sysdeps/unix/bsd/setgid.c: Likewise.
3694         * sysdeps/unix/bsd/setrgid.c: Likewise.
3695         * sysdeps/unix/bsd/setruid.c: Likewise.
3696         * sysdeps/unix/bsd/setsid.c: Likewise.
3697         * sysdeps/unix/bsd/setuid.c: Likewise.
3698         * sysdeps/unix/bsd/sigaction.c: Likewise.
3699         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3700         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3701         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3702         * sysdeps/unix/bsd/telldir.c: Likewise.
3703         * sysdeps/unix/bsd/times.c: Likewise.
3704         * sysdeps/unix/bsd/usleep.c: Likewise.
3706         * misc/Makefile (install-lib): Remove libbsd-compat.a.
3707         ($(objpfx)libbsd-compat.a): Remove rule.
3709         * include/features.h (__FAVOR_BSD): Do not define.
3710         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3711         features conflicting with POSIX.
3712         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3713         (_BSD_SOURCE): Remove description of not being a subset of other
3714         feature test macros.
3715         * manual/job.texi (getpgrp): Do not document BSD version.
3716         (getpgid): Do not document by reference to BSD getpgrp.
3717         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3718         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3719         * signal/signal.h [__FAVOR_BSD]: Likewise.
3720         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3721         instead of making contents conditional on [__FAVOR_BSD].
3722         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3724 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3728 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3730         [BZ #16314]
3731         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3732         values below 2**-450, not 2**-500.
3733         * math/auto-libm-test-in: Don't allow spurious underflow from
3734         hypot.
3735         * math/auto-libm-test-out: Regenerated.
3737         [BZ #16316]
3738         [BZ #16330]
3739         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3740         values of ha and hb and sort them after adjusting subnormal
3741         arguments.
3742         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3743         Likewise.
3744         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3745         values of ea and eb and sort them after adjusting subnormal
3746         arguments.
3747         * math/auto-libm-test-in: Do not expect some hypot tests of
3748         subnormals to fail.  Add more hypot tests.
3749         * math/auto-libm-test-out: Regenerated.
3751 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3753         [BZ #13304]
3754         * sysdeps/sh/s_fma.c: New file.
3755         * sysdeps/sh/s_fmaf.c: New file.
3756         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
3757         version.
3758         * sysdeps/sh/Implies: Add sh/soft-fp.
3760 2013-12-16  Roland McGrath  <roland@hack.frob.com>
3762         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
3763         level of indirection to members `objname', `errstring', `malloced'.
3764         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3765         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
3766         it as the __longjmp argument (just pass 1 instead).
3767         (_dl_catch_error): Initialize C with argument pointers and address of
3768         volatile local ERRCODE rather than copying values out of C at return.
3770 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
3772         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3773         * math/auto-libm-test-out: Regenerated.
3774         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3775         (hypot_test_data): Likewise.
3776         (pow_test_data): Likewise.
3777         (pow_tonearest_test_data): Likewise.
3778         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3779         mpfr_ff_f.
3780         (func_calc_desc): Add mpfr_ff_f union field.
3781         (FUNC_mpfr_ff_f): New macro.
3782         (test_functions): Add atan2, hypot and pow.
3783         (special_fill_min): New function.
3784         (special_fill_minus_min): Likewise.
3785         (special_fill_min_subnorm): Likewise.
3786         (special_fill_minus_min_subnorm): Likewise.
3787         (special_real_inputs): Add min, -min, min_subnorm and
3788         -min_subnorm.
3789         (calc_generic_results): Handle mpfr_ff_f.
3790         * sysdeps/i386/fpu/libm-test-ulps: Update.
3791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793 2013-12-16  Will Newton  <will.newton@linaro.org>
3795         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3796         (Aligned Memory Blocks): Add documentation for aligned_alloc
3797         and suggest it as an alternative to posix_memalign.
3798         (Hooks for Malloc): Document __memalign_hook is also called
3799         for aligned_alloc.  (Summary of Malloc): Add summary for
3800         aligned alloc.  Document __memalign_hook is also called
3801         for aligned_alloc.
3803 2013-12-16  Will Newton  <will.newton@linaro.org>
3805         * manual/memory.texi (Malloc Examples): Clarify default
3806         alignment documentation.  Suggest posix_memalign rather
3807         than memalign or valloc.
3808         (Aligned Memory Blocks): Remove suggestion to use memalign
3809         or valloc.  Remove obsolete comment about BSD.
3810         Document memalign errno values and mark the function obsolete.
3811         Document posix_memalign returned error codes.  Mark valloc
3812         as obsolete.  (Hooks for Malloc): __memalign_hook is also
3813         called for posix_memalign and valloc.
3814         (Summary of Malloc): Add posix_memalign to function summary.
3815         __memalign_hook is also called for posix_memalign and valloc.
3817 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3819         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3820         TAYLOR_SIN.
3821         (__sin): Adjust.
3822         (__cos): Likewise.
3823         (sloww): Use mynumber union.  Expand ternary operator into
3824         if-else statements.
3825         (cslow): use mynumber union.
3827 2013-12-16  Allan McRae  <allan@archlinux.org>
3829         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3830         * configure: Regenerated.
3832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3834         [BZ #14120]
3835         * configure.ac: Added --enable-maintainer-mode. Check for
3836         autoconf when enabled.
3837         * configure: Regenerated.
3839         * nscd/nscd.service: New file.
3840         * nscd/nscd.tmpfiles: New file.
3842 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
3844         [BZ #12100]
3845         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3846         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3847         * sysdeps/x86_64/multiarch/strstr.c: ... here.
3848         (strstr): Add __strstr_sse2_unaligned ifunc.
3849         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3850         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3851         (strcasestr): Remove __strcasestr_sse42 ifunc.
3852         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3856 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3858         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3859         * sysdeps/sh/bits/fenv.h: ... here.
3860         * sysdeps/sh/sh4/fpu/bits: Remove directory.
3862 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3864         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3866 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3869         hypotf multiarch implementations.
3870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3873         multiarch hypot for PPC64.
3874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3877         multiarch hypotf for PPC64.
3879 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3882         modff multiarch implementations.
3883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3886         multiarch modf for PPC64.
3887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3890         multiarch modff for PPC64.
3892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3895         and logl multiarch implementations.
3896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3899         multiarch logb for PPC64.
3900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3903         multiarch logb for PPC64.
3904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3907         multiarch logb for PPC64.
3909 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3912         isinff multiarch implementation.
3913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3914         file.
3915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3917         multiarch isinf for PPC64.
3918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3919         file.
3920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3921         multiarch isinff for PPC64.
3923 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3926         finitef multiarch implementation.
3927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3928         file.
3929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3931         multiarch finite for PPC64.
3932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3933         file.
3934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3935         multiarch finitef for PPC64.
3937 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3940         lrint multiarch implementation.
3941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3942         file.
3943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3945         multiarch llrint for PPC64.
3946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3947         multiarch lrint for PPC64.
3949 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3952         copysignf multiarch implementation.
3953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3954         file.
3955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3956         file.
3957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3958         multiarch copysign for PPC64.
3959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3960         multiarch copysignf for PPC64.
3962 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3965         multiarch implementation.
3966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3967         file.
3968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3969         file.
3970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3971         file.
3972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3973         file.
3974         multiarch llround for PPC64.
3975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3976         multiarch trunc for PPC64.
3977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3978         multiarch truncf for PPC64.
3980 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3983         multiarch implementation.
3984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3985         file.
3986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3987         file.
3988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3989         file.
3990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3991         file.
3992         multiarch llround for PPC64.
3993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3994         multiarch round for PPC64.
3995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3996         multiarch roundf for PPC64.
3998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4001         multiarch implementation.
4002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4003         file.
4004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4005         file.
4006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4007         file.
4008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4009         file.
4010         multiarch llround for PPC64.
4011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4012         multiarch floor for PPC64.
4013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4014         multiarch floorf for PPC64.
4016 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4019         multiarch implementation.
4020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4021         file.
4022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4023         file.
4024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4025         file.
4026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4027         file.
4028         multiarch llround for PPC64.
4029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4030         multiarch ceil for PPC64.
4031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4032         multiarch ceilf for PPC64.
4034 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4037         multiarch implementation.
4038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4039         file.
4040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4041         file.
4042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4043         file.
4044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4045         multiarch llround for PPC64.
4046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4047         multiarch lround for PPC64.
4049 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4052         multiarch implementation.
4053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4056         file.
4057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4060         multiarch isnan for PPC64.
4061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4062         multiarch isnanf for PPC64.
4064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4066         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4067         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4068         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4069         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4070         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4073 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4075         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4076         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4077         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4080 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4083         multiarch implementations.
4084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4085         (__libc_ifunc_impl_list): Likewise.
4086         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4089         multiarch stpcpy for PPC64.
4091 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4094         multiarch implementations.
4095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4096         (__libc_ifunc_impl_list): Likewise.
4097         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4098         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4099         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4100         multiarch strcpy for PPC64.
4102 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4104         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4105         redefine function name.
4106         (_wordcopy_fwd_dest_aligned): Likewise.
4107         (_wordcopy_bwd_aligned): Likewise.
4108         (_wordcopy_bwd_dest_aligned): Likewise.
4109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4110         multiarch implementations.
4111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4112         (__libc_ifunc_impl_list): Likewise.
4113         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4114         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4117         multiarch wcscpy for PPC64.
4119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4122         multiarch implementations.
4123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4124         (__libc_ifunc_impl_list): Likewise.
4125         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4126         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4128         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4129         multiarch wcscpy for PPC64.
4131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4134         multiarch implementations.
4135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4136         (__libc_ifunc_impl_list): Likewise.
4137         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4138         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4140         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4141         multiarch wcsrchr for PPC64.
4143 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4146         multiarch implementations.
4147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4148         (__libc_ifunc_impl_list): Likewise.
4149         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4150         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4151         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4152         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4153         multiarch wcschr for PPC64.
4155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4158         multiarch implementations.
4159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4160         (__libc_ifunc_impl_list): Likewise.
4161         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4162         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4163         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4164         multiarch strchrnul for PPC64.
4166 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4169         implementations.
4170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4171         (__libc_ifunc_impl_list): Likewise.
4172         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4173         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4174         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4175         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4176         strchr for PPC64.
4178 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4181         implementations.
4182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4183         (__libc_ifunc_impl_list): Likewise.
4184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4185         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4187         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4188         strncmp for PPC64.
4190 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4193         multiarch implementations.
4194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4195         (__libc_ifunc_impl_list): Likewise.
4196         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4197         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4198         strncasecmp for PPC64.
4199         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4200         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4201         multiarch strncasecmp_l for PPC64.
4203 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4206         multiarch implementations.
4207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4208         (__libc_ifunc_impl_list): Likewise.
4209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4211         multiarch strcasecmp for PPC64.
4212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4213         file.
4214         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4215         multiarch strcasecmp_l for PPC64.
4217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4220         implementations.
4221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4222         (__libc_ifunc_impl_list): Likewise.
4223         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4224         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4225         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4226         strnlen for PPC64.
4228 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4231         implementations.
4232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4233         (__libc_ifunc_impl_list): Likewise.
4234         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4235         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4236         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4237         strlen for PPC64.
4239 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4242         implementations.
4243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4244         (__libc_ifunc_impl_list): Likewise.
4245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4246         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4247         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4248         rawmemrchr for PPC64.
4250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4253         implementation.
4254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4255         (__libc_ifunc_impl_list): Likewise.
4256         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4257         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4258         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4259         memrchr for PPC64.
4261 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4264         implementation.
4265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4266         (__libc_ifunc_impl_list): Likewise.
4267         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4268         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4269         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4270         memchr for PPC64.
4272 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4275         implementation.
4276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4277         (__libc_ifunc_impl_list): Likewise.
4278         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4279         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4280         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4281         mempcpy for PPC64.
4283 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4285         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4286         avoid cretion of __bzero symbol.
4287         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4288         Likewise.
4289         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4290         Likewise.
4291         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4292         Likewise.
4293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4294         multiarch implementations.
4295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4296         (__libc_ifunc_impl_list): Likewise.
4297         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4299         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4300         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4301         bzero for PPC32.
4302         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4303         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4304         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4305         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4306         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4307         memset for PPC64.
4308         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4310 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4312         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4314         implementations.
4315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4316         (__libc_ifunc_impl_list): Likewise.
4317         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4318         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4319         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4320         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4321         memcmp for PPC64.
4323 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4326         multiarch for POWER/PPC64.
4327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4328         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4335         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4336         memcpy for PPC64.
4338 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4340         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4341         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4342         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4343         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4344         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
4345         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
4346         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
4347         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
4348         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
4349         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
4350         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
4351         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
4352         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
4353         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
4354         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
4357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
4360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
4363 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4365         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
4367 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4369         * benchtests/Makefile (bench): Add exp2 and log2.
4370         (LDLIBS-bench-exp2): Add -lm.
4371         (LDLIBS-bench-log2): Likewise.
4372         * benchtests/exp2-inputs: New inputs file.
4373         * benchtests/log2-inputs: New inputs file.
4374         * benchtests/log-inputs: Add new inputs.
4375         * benchtests/tan-inputs: Likewise.
4377 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4379         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
4380         definition...
4381         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
4382         csloww1, csloww2): ... from here.
4384         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4385         instead of structures.
4386         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
4387         (POLYNOMIAL): Likewise.
4388         (TAYLOR_SLOW): Likewise.
4389         (__sin): Likewise.
4390         (__cos): Likewise.
4391         (slow1): Likewise.
4392         (slow2): Likewise.
4393         (sloww): Likewise.
4394         (sloww1); Likewise.
4395         (sloww2): Likewise.
4396         (bsloww1): Likewise.
4397         (bsloww2): Likewise.
4398         (cslow2): Likewise.
4399         (csloww): Likewise.
4400         (csloww1): Likewise.
4401         (csloww2): Likewise.
4403 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4405         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
4406         (__malloc_assert, __libc_realloc, __libc_calloc,
4407         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
4408         memcpy and memset.
4409         * malloc/hooks.c (realloc_check): Likewise.
4411 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
4413         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
4414         * malloc/arena.c: Remove PER_THREAD conditional.
4415         [!PER_THREAD]: Remove code.
4416         (ptmalloc_unlock_all2): Likewise.
4417         (ptmalloc_init): Likewise.
4418         (_int_new_arena): Likewise.
4419         (arena_get2): Likewise.
4420         * malloc/hooks.c (__malloc_get_state): Likewise.
4421         (__malloc_set_state): Likewise.
4422         * malloc/malloc.c: Likewise.
4423         (struct malloc_state): Likewise.
4424         (struct malloc_par): Likewise.
4425         (__libc_realloc): Likewise.
4426         (__libc_mallopt): Likewise.
4428 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4430         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
4432 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4434         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
4435         macro to a function.  Check for zero perturb_byte.
4436         (_int_malloc, _int_free): Remove zero perturb_byte checks.
4438 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
4440         * malloc/malloc.c: (force_reg): Remove.
4441         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
4442         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
4443         force_reg by atomic_forced_read.
4444         * malloc/arena.c (ptmalloc_init): Likewise.
4445         * malloc/hooks.c (top_check): Likewise.
4447 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4451 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
4453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4455 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
4457         * math/auto-libm-test-in: Add tests of lgamma.
4458         * math/auto-libm-test-out: Regenerated.
4459         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
4460         (M_LOG_2_SQRT_PIl): Likewise.
4461         (lgamma_test_data): Use AUTO_TESTS_f_f1.
4462         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4463         mpfr_f_f1.
4464         (func_calc_desc): Add mpfr_f_f1 union field.
4465         (ARGS1): New macro.
4466         (ARGS2): Likewise.
4467         (ARGS3): Likewise.
4468         (ARGS4): Likewise.
4469         (RET1): Likewise.
4470         (RET2): Likewise.
4471         (CALC): Likewise.
4472         (FUNC): Likewise.
4473         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
4474         (test_functions): Add lgamma.
4475         (calc_generic_results): Handle mpfr_f_f1.
4476         * sysdeps/i386/fpu/libm-test-ulps: Update.
4477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4479 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4481         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
4482         __mpn_add_n for PowerPC64/POWER7.
4483         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
4484         __mpn_sub_n for PowerPC64/POWER7.
4486 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
4489         __mpn_addmul_1 for PowerPC64.
4490         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
4491         __mpn_submul_1 for PowerPC64.
4492         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
4493         for PowerPC64.
4494         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
4495         for PowerPC64.
4497 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
4499         [BZ #15089]
4500         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
4502 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4504         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
4506 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4508         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
4509         add multiarch folders.
4510         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
4511         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
4512         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
4513         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
4514         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
4515         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
4516         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
4517         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
4518         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
4519         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
4520         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
4521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
4525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
4528 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4531         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
4532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
4533         New file.
4534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
4535         New file.
4536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
4537         multiarch __ieee754_hypot for PowerPC32.
4538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
4539         New file.
4540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
4541         New file.
4542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
4543         multiarch __ieee754_hypotf for PowerPC32.
4545 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
4548         long_double_symbol only if __logbl is defined.
4549         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
4550         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
4551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
4552         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
4553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
4554         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
4555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
4556         path for implementation.
4557         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
4558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
4559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
4560         logb, and logbl multiarch implementations for PowerPC32.
4561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
4562         file.
4563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
4564         file.
4565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
4566         multiarch logb for PowerPC32.
4567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
4568         file.
4569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
4570         file.
4571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
4572         multiarch logbf for PowerPC32.
4573         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
4574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
4575         file.
4576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
4577         multiarch logbl implementation for PowerPC32.
4579 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
4582         and modff multiarch implementations.
4583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
4584         New file.
4585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
4586         New file.
4587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
4588         multiarch modf for PowerPC32.
4589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
4590         New file.
4591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
4592         New file.
4593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
4594         multiarch modff for PowerPC32.
4596 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
4599         and lrintf multiarch implementations.
4600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
4601         New file.
4602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
4603         New file.
4604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
4605         multiarch lrint for PowerPC32.
4606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
4607         file: multiarch lrintf for PowerPC32.
4609 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
4612         and lroundf multiarch implementations.
4613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
4614         New file.
4615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
4616         New file.
4617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
4618         New file.
4619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
4620         multiarch lround for PowerPC32.
4621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
4622         file: multiarch lroundf for PowerPC32.
4624 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
4627         copysign and copysignf multiarch implementations.
4628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
4629         New file.
4630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4631         New file.
4632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4633         file: multiarch copysign for PowerPC32.
4634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4635         file: multiarch copysignf for PowerPC32.
4637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4640         and truncf multiarch implementations.
4641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4642         New file.
4643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4644         file.
4645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4646         multiarch trunc for PowerPC32.
4647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4648         New file.
4649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4650         New file.
4651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4652         multiarch truncf for PowerPC32.
4654 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4657         and roundf multiarch implementations.
4658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4659         New file.
4660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4661         file.
4662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4663         multiarch round for PowerPC32.
4664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4665         New file.
4666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4667         New file.
4668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4669         multiarch roundf for PowerPC32.
4671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4674         and floorf multiarch implementations.
4675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4676         New file.
4677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4678         file.
4679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4680         multiarch floor for PowerPC32.
4681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4682         New file.
4683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4684         New file.
4685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4686         multiarch floorf for PowerPC32.
4688 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4691         and ceilf multiarch implementations.
4692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4693         New file.
4694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4695         file.
4696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4697         multiarch ceil for PowerPC32.
4698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4699         New file.
4700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4701         file.
4702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4703         multiarch ceilf for PowerPC32.
4705 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4708         is defined.
4709         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4710         FINITEF is defined.
4711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4712         and finitef multiarch implementations.
4713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4714         New file.
4715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4716         file.
4717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4718         multiarch finite for PowerPC32.
4719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4720         New file.
4721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4722         file: multiarch finitef for PowerPC32.
4724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4727         and isinff multiarch implementations.
4728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4729         file.
4730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4731         file.
4732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4733         multiarch isinf for PowerPC32.
4734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4735         New file.
4736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4737         multiarch isinff for PowerPC32.
4739 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4741         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4742         alias when __isnan is defined.
4743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4744         and isnanf multiarch implementations.
4745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4746         file.
4747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4748         file.
4749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4750         file.
4751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4752         file.
4753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4754         multiarch isnan for PowerPC32.
4755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4756         New file.
4757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4758         New file.
4759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4760         multiarch isnanf for PowerPC32.
4762 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4765         and sqrtf multiarch implementations.
4766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4767         file.
4768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4769         file.
4770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4771         multiarch sqrt for PowerPC32.
4772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4773         file.
4774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4775         file.
4776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4777         multiarch sqrtf for PowerPC32.
4779 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4782         and llroundf multiarch implementations.
4783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4784         New file.
4785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4786         New file.
4787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4788         New file.
4789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4790         file: multiarch llround for PowerPC32.
4791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4792         file: multiarch llroundf for PowerPC32.
4794 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4797         multiarch PowerPC32 fpu implementations.
4798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4799         New file.
4800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4801         New file.
4802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4803         multiarch llrint for PowerPC32.
4804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4805         New file.
4806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4807         New file.
4808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4809         file.
4811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4815 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4817         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4818         file.
4819         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4820         file.
4821         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4822         file.
4823         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4824         multiarch wordcopy for PPC32.
4825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4826         wordcopy objects.
4827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4828         (__libc_ifunc_impl_list): Likewise.
4829         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4830         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4831         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4832         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4833         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4834         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4836 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4838         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4840         file.
4841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4842         file.
4843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4844         file.
4845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4846         multiarch wcscpy for PPC32.
4847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4848         multiarch objects.
4849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4850         (__libc_ifunc_impl_list): Likewise.
4851         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4852         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4853         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4854         sysdeps/powerpc/power6/wcscpy.c.
4856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4858         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4860         file.
4861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4862         file.
4863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4864         file.
4865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4866         multiarch wcsrchr for PPC32.
4867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4868         multiarch objects.
4869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4870         (__libc_ifunc_impl_list): Likewise.
4871         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4872         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4873         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4874         sysdeps/powerpc/power6/wcsrchr.c.
4876 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4879         file.
4880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4881         file.
4882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4884         multiarch wcschr for PPc32.
4885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4886         multiarch objects.
4887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4888         (__libc_ifunc_impl_list): Likewise.
4889         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4890         * sysdeps/powerpc/power6/wcschr.c: ... to here.
4891         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4892         sysdeps/powerpc/power6/wcschr.c.
4894 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4896         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4897         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4898         file.
4899         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4900         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4901         file: multiarch strchr for PPC32.
4902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4903         multiarch objects.
4904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4905         (__libc_ifunc_impl_list): Likewise.
4907 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4909         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4910         name.
4911         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4912         file.
4913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4914         file.
4915         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4916         multiarch strchrnul for PPC32.
4917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4918         multiarch objects.
4919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4920         (__libc_ifunc_impl_list): Likewise.
4922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4925         file.
4926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4927         multiarch strncasecmp for PPC32.
4928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4929         file.
4930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4931         multiarch strncasecmp_l for PPC32.
4932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4933         strncasecmp multiarch objects.
4934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4935         (__libc_ifunc_impl_list): Likewise.
4937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4940         file.
4941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4942         multiarch strncasecmp for PPC32.
4943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4944         New file.
4945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4946         multiarch strcasecmp_l for PPC32.
4947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4948         multiarch objects.
4949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4950         (__libc_ifunc_impl_list): Likewise.
4952 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4955         file.
4956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4957         file.
4958         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4959         multiarch strncmp for PPC32.
4960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4961         multiarch objects.
4962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4963         (__libc_ifunc_impl_list): Likewise.
4965 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4968         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4969         file.
4970         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4973         multiarch objects.
4974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4975         (__libc_ifunc_impl_list): Likewise.
4977 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4980         file.
4981         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4982         file.
4983         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4985         multiarch objects.
4986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4987         (__libc_ifunc_impl_list): Likewise.
4989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4991         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4992         file.
4993         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4994         file.
4995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4996         multiarch rawmemchr for PPC32.
4997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4998         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/memrchr-power7.S: New
5005         file.
5006         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5007         file.
5008         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5009         file: memrchr multiarch for PPC32.
5010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5011         multiarch objects.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5013         (__libc_ifunc_impl_list): Likewise.
5015 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5017         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5019         file.
5020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5021         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5022         multiarch memchr for PPC32.
5023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5024         multiarch objects.
5025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5026         (__libc_ifunc_impl_list): Likewise.
5028 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5030         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5031         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5032         file.
5033         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5034         file.
5035         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5036         file: multiarch mempcpy for PPC32.
5037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5038         multiarch objects.
5039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5040         (__libc_ifunc_impl_list): Likewise.
5042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5046         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5047         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5048         multiarch bzero for PPC32.
5049         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5050         file.
5051         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5052         file.
5053         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5054         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5055         file: multiarch memset for PPC32.
5056         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5058         memset multiarch objects.
5059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5060         (__libc_ifunc_impl_list): Likewise.
5062 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5065         file.
5066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5068         memcmp for PPC32.
5069         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5071         multiarch objects.
5072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5073         (__libc_ifunc_impl_list): Likewise.
5075 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5080         file.
5081         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5082         file.
5083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5084         file.
5085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5086         multiarch memcpy for PPC32.
5087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5088         multiarch objects.
5089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5090         (__libc_ifunc_impl_list): Likewise.
5092 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5095         support multiarch for POWER/PPC32.
5096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5097         Likewise.
5098         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5100         Implies file to make multiarch folder appers before the fpu and
5101         default folder for power4 configuration.
5103 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5105         * scripts/bench.pl: Append volatile keyword to type.
5107 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5109         * sysdeps/sh/sotruss-lib.c: New file.
5110         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5116 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5118         [BZ #6810]
5119         * math/w_tgamma.c: Include <errno.h>.
5120         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5121         * math/w_tgammaf.c: Include <errno.h>.
5122         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5123         * math/w_tgammal.c: Include <errno.h>.
5124         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5125         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5126         underflow.  Add more tgamma tests.
5127         * math/auto-libm-test-out: Regenerated.
5128         * sysdeps/i386/fpu/libm-test-ulps: Update.
5129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5131         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5132         sin, sinh, tan, tanh, tgamma, y0 and y1.
5133         * math/auto-libm-test-out: Regenerated.
5134         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5135         (TEST_COND_x86): Likewise.
5136         (M_E2l): Remove macro.
5137         (M_E3l): Likewise.
5138         (M_2_SQRT_PIl): Likewise.
5139         (M_SQRT_PIl): Likewise.
5140         (M_1_DIV_El): Likewise.
5141         (log_test_data): Use AUTO_TESTS_f_f.
5142         (log10_test_data): Likewise.
5143         (log1p_test_data): Likewise.
5144         (log2_test_data): Likewise.
5145         (sin_test_data): Likewise.
5146         (sin_tonearest_test_data): Likewise.
5147         (sin_towardzero_test_data): Likewise.
5148         (sin_downward_test_data): Likewise.
5149         (sin_upward_test_data): Likewise.
5150         (sinh_test_data): Likewise.
5151         (sinh_tonearest_test_data): Likewise.
5152         (sinh_towardzero_test_data): Likewise.
5153         (sinh_downward_test_data): Likewise.
5154         (sinh_upward_test_data): Likewise.
5155         (tan_test_data): Likewise.
5156         (tan_tonearest_test_data): Likewise.
5157         (tan_towardzero_test_data): Likewise.
5158         (tan_downward_test_data): Likewise.
5159         (tan_upward_test_data): Likewise.
5160         (tanh_test_data): Likewise.
5161         (tgamma_test_data): Likewise.
5162         (y0_test_data): Likewise.
5163         (y1_test_data): Likewise.
5164         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5165         (special_real_inputs): Add pi/4.
5166         * sysdeps/i386/fpu/libm-test-ulps: Update.
5167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5169 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5171         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5172         "longjmp_target" static probes.
5173         (__longjmp): Rename to __longjmp_symbol.
5174         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5175         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5176         on which longjmp to generate.
5177         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5178         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5179         probe.
5180         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5181         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5182         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5183         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5184         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5185         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5187         __longjmp_symbol based on which __longjmp to generate.
5188         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5189         probe.
5190         (setjmp): Rename to setjmp_symbol.
5191         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5192         (_setjmp): Rename to _setjmp_symbol.
5193         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5194         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5195         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5196         which setjmp to generate.
5197         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5198         "longjmp_target" static probes.
5200 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5202         * benchtests/README: Add note about output arguments.
5203         * benchtests/bench-sincos.c: Remove file.
5204         * benchtests/sincos-inputs: New file.
5205         * scripts/bench.pl: Identify output arguments and define
5206         static variables for them.
5208         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5210         [BZ #15941]
5211         * Makefile (INSTALL): Add install-plain.texi as the primary
5212         dependency.
5213         * manual/install-plain.texi: New file.
5214         * manual/install.texi: Include node directive only for
5215         non-plaintext output.
5217 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5219         * stdlib/longlong.h: Update from GCC.
5221         [BZ #6807]
5222         [BZ #15901]
5223         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5224         * math/w_j0f.c (y0f): Likewise.
5225         * math/w_j0l.c (__y0l): Likewise.
5226         * math/w_j1.c (y1): Likewise.
5227         * math/w_j1f.c (y1f): Likewise.
5228         * math/w_j1l.c (__y1l): Likewise
5229         * math/w_jn.c (yn): Likewise.
5230         * math/w_jnf.c (ynf): Likewise.
5231         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5232         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5233         value for Bessel function domain errors outside _SVID_ mode.
5234         Adjust sign of return value for yn (negative integer, 0).
5235         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5236         by zero in return for negative x and set sign appropriately for
5237         negative n.
5238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5240         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5241         expectations in error cases.
5242         (y1_test_data): Likewise.
5243         (yn_test_data): Likewise.
5244         * sysdeps/i386/fpu/libm-test-ulps: Update.
5245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5247 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5249         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5250         "64" to "64-v1".  Add "64-v2".
5251         (abi-64-options): Rename to ...
5252         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5253         (abi-64-condition): Rename to ...
5254         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5255         (abi-64-ld-soname): Rename to ...
5256         (abi-64-v1-ld-soname): ... this.
5257         (abi-64-v2-options): Define.
5258         (abi-64-v2-condition): Likewise.
5259         (abi-64-v2-ld-soname): Likewise.
5260         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5261         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5266 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5267             Alan Modra  <amodra@gmail.com>
5269         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5270         New versions for use with the ELFv2 ABI.
5271         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5272         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5273         declaration.
5274         (struct La_ppc64v2_retval): Likewise.
5275         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5276         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5277         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5278         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5279         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5280         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5281         Do not save or restore CR.
5282         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5283         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5284         return values for ELFv2 ABI.  Fix location of FPR return registers.
5285         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5286         updated values for _CALL_ELF == 2.
5287         (La_regs, La_retval, int_retval): Likewise.
5289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5291         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5292         (FRAME_MIN_SIZE_PARM): Likewise.
5293         (FRAME_BACKCHAIN): Likewise.
5294         (FRAME_CR_SAVE): Likewise.
5295         (FRAME_LR_SAVE): Likewise.
5296         (FRAME_TOC_SAVE): Likewise.
5297         (FRAME_PARM_SAVE): Likewise.
5298         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5299         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5300         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5301         (call_mcount_parm_offset): New macro.
5302         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5303         (PROF): Use symbolic stack frame offsets.
5304         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5306         Redefine in terms of FRAME_MIN_SIZE.
5307         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5308         (_dl_profile_resolve): Likewise.  Update comment.
5309         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5310         symbols stack frame offsets.
5311         (__sigsetjmp): Likewise.
5312         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5313         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5314         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5315         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5318         (FRAME_BACKCHAIN): Remove.
5319         (FRAME_CR_SAVE): Likewise.
5320         (FRAME_LR_SAVE): Likewise.
5321         (FRAME_COMPILER_DW): Likewise.
5322         (FRAME_LINKER_DW): Likewise.
5323         (FRAME_TOC_SAVE): Likewise.
5324         (FRAME_PARM_SAVE): Likewise.
5325         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5326         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5327         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5329         (CHECK_SP): Use symbolic stack frame offsets.
5330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5331         zone" instead of caller's parameter save area for temp storage.
5332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5333         Likewise.  Also, use symbolic stack frame offsets.
5334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5335         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5336         our own stack frame instead of the caller's.
5337         (__socket): Use symbolic stack frame offsets.
5339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5340             Alan Modra  <amodra@gmail.com>
5342         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5343         Define.
5344         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
5345         PPC64_LOCAL_ENTRY_OFFSET): Define.
5346         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
5347         New function.
5348         (elf_machine_fixup_plt): Call it.
5349         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
5350         reloc arguments.
5351         (elf_machine_rela): Update call to elf_machine_plt_conflict.
5352         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5353         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
5354         r2 before calling target.
5356 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5357             Alan Modra  <amodra@gmail.com>
5359         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
5360         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
5361         versions of macros to support ELFv2 ABI.
5362         (LOCALENTRY): New macro.
5363         (ENTRY, EALIGN): Use it.
5364         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
5365         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
5366         fall through into ENTRY entry point.
5367         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
5368         Only define if _CALL_ELF != 2.
5370         (elf_machine_matches_host): Verify ABI version matches.
5371         (RTLD_START): Use LOCALENTRY.
5372         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
5373         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
5374         (PLT_ENTRY_WORDS): New macro.
5375         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
5376         (elf_machine_runtime_setup): Support ELFv2 ABI.
5377         (elf_machine_fixup_plt): Likewise.
5378         (elf_machine_plt_conflict): Likewise.
5379         (resolve_ifunc): Likewise.
5380         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5381         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5382         Likewise.
5383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
5384         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
5385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5386         (makecontext): Support ELFv2 ABI.
5387         * elf/elf.h (EF_PPC64_ABI): Define.
5389 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5391         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
5392         New assembler macro.
5393         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
5394         [ASSEMBLER] (ENTRY): ... but instead here ...
5395         [ASSEMBLER] (EALIGN): ... and here.
5396         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
5397         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
5398         [!ASSEMBLER] (ENTRY_2): Use it.
5399         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
5400         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
5401         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
5402         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
5403         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
5404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
5405         Use PPC64_LOAD_FUNCPTR.
5407 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5409         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
5411 2013-12-04  Alan Modra  <amodra@gmail.com>
5413         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
5414         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5415         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
5416         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
5418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
5419         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
5420         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
5421         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
5422         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
5423         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
5425 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5428         (__makecontext): Fix incorrect CFI when backtracing out of
5429         context created via makecontext.
5430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
5431         (__setcontext): Fix incorrect CFI during switch to new context.
5432         (__novec_setcontext): Likewise.
5434 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5436         [BZ #4772]
5437         * time/strptime_l.c (__strptime_internal): Allow modifiers
5438         in strptime.
5439         * time/tst-strptime.c (day_tests): Add testcase.
5442 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5444         * scripts/bench.pl: Skip over blank lines.
5446 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5448         [BZ #926]
5449         * manual/time.texi (Calendar Time): Clarify what timezone functions
5450         use.
5452 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5456 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
5458         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
5459         implementation.
5460         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5461         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5462         * debug/memset_chk.c (__memset_chk): Likewise.
5463         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
5464         * debug/strncpy_chk.c: Likewise.
5466 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #15268]
5469         [BZ #15425]
5470         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
5471         (__ieee754_exp): For possibly underflowing results, check size of
5472         result and force underflow exception if required.
5473         * math/auto-libm-test-in: Add more tests of exp.
5474         * math/auto-libm-test-out: Regenerated.
5475         * sysdeps/i386/fpu/libm-test-ulps: Update.
5476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478         [BZ #16283]
5479         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
5480         * math/w_exp2f.c (__exp2f): Likewise.
5481         * math/w_exp2l.c (__exp2l): Likewise.
5482         * math/auto-libm-test-in: Do not allow missing errno on exp2
5483         underflow.
5484         * math/auto-libm-test-out: Regenerated.
5486 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
5488         [BZ #16274]
5489         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
5490         handle filename validation.
5491         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
5492         (do_open): Delete.
5494 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #6786]
5497         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
5498         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
5499         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
5500         <float.h>.
5501         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
5502         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
5503         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5504         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
5505         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5506         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
5507         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
5508         * math/auto-libm-test-in: Don't allow missing errno from erfc.
5509         Add more erfc tests.
5510         * math/auto-libm-test-out: Regenerated.
5511         * sysdeps/i386/fpu/libm-test-ulps: Update.
5512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
5515         exp2, expm1, j0 and j1.
5516         * math/auto-libm-test-out: Regenerated.
5517         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
5518         (erfc_test_data): Likewise.
5519         (exp_test_data): Likewise.
5520         (exp_tonearest_test_data): Likewise.
5521         (exp_towardzero_test_data): Likewise.
5522         (exp_downward_test_data): Likewise.
5523         (exp_upward_test_data): Likewise.
5524         (exp10_test_data): Likewise.
5525         (exp2_test_data): Likewise.
5526         (expm1_test_data): Likewise.
5527         (j0_test_data): Likewise.
5528         (j1_test_data): Likewise.
5529         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
5530         (input_flag_type): Add flag_xfail_rounding.
5531         (input_flags): Add xfail-rounding.
5532         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
5533         (output_for_one_input_case): Handle flag_xfail_rounding.
5534         * sysdeps/i386/fpu/libm-test-ulps: Update.
5535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
5539         [BZ #16289]
5540         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5541         division by 0.
5543 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5545         [BZ #16195]
5546         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5547         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
5548         (STAP_PROBE0): New macro.
5549         (STAP_PROBE1): Likewise.
5550         (STAP_PROBE2): Likewise.
5551         (STAP_PROBE3): Likewise.
5552         (STAP_PROBE4): Likewise.
5554 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
5556         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
5558 2013-12-02  Steve Ellcey  <sellcey@mips.com>
5560         * benchtests/Makefile (bench): Add sqrt.
5561         (LDLIBS-bench-sqrt): New.
5562         * benchtests/sqrt-input: New.
5564 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
5566         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
5567         (GAIH_EAI): Likewise.
5568         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
5569         (gaih_inet): Likewise.
5570         (getaddrinfo): Don't use GAIH_EAI.
5572         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
5573         (struct gaih): Remove definition.
5575 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5577         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
5578         Use HERRNOP directly.
5580 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5584 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
5586         * math/gen-auto-libm-tests.c (test_functions): Add more
5587         single-argument functions.
5588         (special_fill_pi_2): New function.
5589         (special_fill_minus_pi_2): Likewise.
5590         (special_fill_pi_6): Likewise.
5591         (special_fill_minus_pi_6): Likewise.
5592         (special_fill_pi_3): Likewise.
5593         (special_fill_2pi_3): Likewise.
5594         (special_fill_e): Likewise.
5595         (special_fill_1_e): Likewise.
5596         (special_fill_e_minus_1): Likewise.
5597         (special_real_inputs): Add more special inputs.
5598         (output_for_one_input_case): Do not require ERANGE on underflow to
5599         zero if round-to-nearest result does not underflow to zero, unless
5600         exact results required.
5601         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
5602         atan, atanh, cbrt, cos and cosh.
5603         * math/auto-libm-test-out: Regenerated.
5604         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
5605         (acos_tonearest_test_data): Likewise.
5606         (acos_towardzero_test_data): Likewise.
5607         (acos_downward_test_data): Likewise.
5608         (acos_upward_test_data): Likewise.
5609         (acosh_test_data): Likewise.
5610         (asin_test_data): Likewise.
5611         (asin_tonearest_test_data): Likewise.
5612         (asin_towardzero_test_data): Likewise.
5613         (asin_upward_test_data): Likewise.
5614         (asinh_test_data): Likewise.
5615         (atan_test_data): Likewise.
5616         (atanh_test_data): Likewise.
5617         (cbrt_test_data): Likewise.
5618         (cos_test_data): Likewise.
5619         (cos_tonearest_test_data): Likewise.
5620         (cos_towardzero_test_data): Likewise.
5621         (cos_downward_test_data): Likewise.
5622         (cos_upward_test_data): Likewise.
5623         (cosh_test_data): Likewise.
5624         (cosh_tonearest_test_data): Likewise.
5625         (cosh_towardzero_test_data): Likewise.
5626         (cosh_downward_test_data): Likewise.
5627         (cosh_upward_test_data): Likewise.
5628         * sysdeps/i386/fpu/libm-test-ulps: Update.
5629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5631 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
5633         [BZ #6787]
5634         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5635         * math/w_exp10f.c (__exp10f): Likewise.
5636         * math/w_exp10l.c (__exp10l): Likewise.
5637         * math/libm-test.inc (exp10_test_data): Add more tests and expect
5638         errno settings in existing tests.
5640         [BZ #14032]
5641         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5642         precision control set to double precision.
5643         * sysdeps/i386/fpu/w_sqrt.c: New file.
5644         * math/auto-libm-test-in: Add more tests.
5645         * math/auto-libm-test-out: Update.
5647         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5648         (sqrt_test_tonearest): New function.
5649         (sqrt_towardzero_test_data): New variable.
5650         (sqrt_test_towardzero): New function.
5651         (sqrt_downward_test_data): New variable.
5652         (sqrt_test_downward): New function.
5653         (sqrt_upward_test_data): New variable.
5654         (sqrt_test_upward): New function.
5655         (main): Call the new functions.
5657         * math/gen-auto-libm-tests.c: New file.
5658         * math/auto-libm-test-in: Likewise.
5659         * math/auto-libm-test-out: New generated file.
5660         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5661         variables.
5662         (%beautify): Add generated representations of zero.
5663         (top level): Set $auto_input and call parse_auto_input.
5664         (beautify): Remove trailing "f" from hex float constants.
5665         (parse_args): Handle XFAIL_TEST.
5666         (convert_condition): New function.
5667         (or_value): Likewise.
5668         (or_cond_value): Likewise.
5669         (generate_testfile): Handle AUTO_TESTS_* lines.
5670         (parse_auto_input): New function.
5671         * math/libm-test.inc (XFAIL_TEST): New macro.
5672         (ERRNO_UNCHANGED): Update value.
5673         (ERRNO_EDOM): Likewise.
5674         (ERRNO_ERANGE): Likewise.
5675         (IGNORE_RESULT): Likewise.
5676         (TEST_COND_flt_32): New macro.
5677         (TEST_COND_dbl_64): Likewise.
5678         (TEST_COND_ldbl_96_intel): Likewise.
5679         (TEST_COND_ldbl_96_m68k): Likewise.
5680         (TEST_COND_ldbl_128): Likewise.
5681         (TEST_COND_ldbl_128ibm): Likewise.
5682         (TEST_COND_long32): Likewise.
5683         (TEST_COND_long64): Likewise.
5684         (TEST_COND_before_rounding): Likewise.
5685         (TEST_COND_after_rounding): Likewise.
5686         (enable_test): Handle XFAIL_TEST flag.
5687         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5688         with finite results.
5689         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5690         auto-libm-test-out.
5692 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5693             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5695         [BZ #16214]
5696         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5697         __tls_get_addr_internal instead of __tls_get_offset in order to
5698         avoid GOT pointer dependency.  Make rtld export
5699         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5700         __tls_get_addr since we are a __tls_get_offset platform.
5701         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5702         GOT pointer being set up before.
5703         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5705 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
5707         * manual/math.texi (Errors in Math Functions): Document accuracy
5708         goals.
5710         [BZ #15004]
5711         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5712         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5713         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5714         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5715         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5716         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5717         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5718         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5719         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5720         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5721         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5722         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5723         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5724         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5725         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5726         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5728         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5729         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5730         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5731         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5732         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5733         Likewise.
5734         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5735         Likewise.
5736         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5737         Likewise.
5738         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5739         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5740         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5741         atomic-feupdateenv and flt-rounds.
5742         * sysdeps/powerpc/nofpu/Versions (libc): Add
5743         __atomic_feholdexcept, __atomic_feclearexcept,
5744         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5745         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5746         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5747         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5748         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5749         here.
5750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5751         Update.
5753         * manual/arith.texi (FP Exceptions): Document that exceptions may
5754         not be raised when matherr is used.
5755         (Math Error Reporting): Document overflow in directed rounding
5756         modes.  Document that errno may not be set when finite values are
5757         returned on overflow.  Document intent to set errno on underflow
5758         only for underflow to zero.
5760         [BZ #16271]
5761         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5762         round-to-nearest then adjust result for other rounding modes.
5763         * include/fenv.h (fegetround): Use libm_hidden_proto.
5764         * math/fegetround.c (fegetround): Use libm_hidden_def.
5765         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5766         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5767         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5769         Likewise.
5770         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5771         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5772         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5773         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5775 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5777         [BZ #16077]
5778         * nss/Versions (libnss_files): Add
5779         _nss_files_gethostbyname3_r.
5780         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5781         New function.
5782         (HOST_DB_LOOKUP): Remove macro.
5783         (_nss_files_gethostbyname_r): Implement function without the
5784         HOST_DB_LOOKUP macro.
5785         (_nss_files_gethostbyname2_r): Likewise.
5787 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
5789         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5791 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
5793         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5794         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5795         warning.
5797 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5799         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5800         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5801         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5802         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5803         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5804         __fe_nomask_env_priv and attribute_hidden.
5805         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5806         (libc_feupdateenv_test_ppc): Likewise.
5807         (libc_feresetround_ppc): Likewise.
5808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5809         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5810         compat_symbol macro.
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5812         (__fe_nomask_env): Likewise.
5813         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5815 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5817         * string/Makefile: Remove ifunc tests.
5818         * string/test-string.h: Define TEST_IFUNC.
5819         * string/test-bcopy-ifunc.c: Remove.
5820         * string/test-bzero-ifunc.c: Likewise.
5821         * string/test-memccpy-ifunc.c: Likewise.
5822         * string/test-memchr-ifunc.c: Likewise.
5823         * string/test-memcmp-ifunc.c: Likewise.
5824         * string/test-memcpy-ifunc.c: Likewise.
5825         * string/test-memmem-ifunc.c: Likewise.
5826         * string/test-memmove-ifunc.c: Likewise.
5827         * string/test-mempcpy-ifunc.c: Likewise.
5828         * string/test-memrchr-ifunc.c: Likewise.
5829         * string/test-memset-ifunc.c: Likewise.
5830         * string/test-rawmemchr-ifunc.c: Likewise.
5831         * string/test-stpcpy-ifunc.c: Likewise.
5832         * string/test-stpncpy-ifunc.c: Likewise.
5833         * string/test-strcasecmp-ifunc.c: Likewise.
5834         * string/test-strcasestr-ifunc.c: Likewise.
5835         * string/test-strcat-ifunc.c: Likewise.
5836         * string/test-strchr-ifunc.c: Likewise.
5837         * string/test-strchrnul-ifunc.c: Likewise.
5838         * string/test-strcmp-ifunc.c: Likewise.
5839         * string/test-strcpy-ifunc.c: Likewise.
5840         * string/test-strcspn-ifunc.c: Likewise.
5841         * string/test-strlen-ifunc.c: Likewise.
5842         * string/test-strncasecmp-ifunc.c: Likewise.
5843         * string/test-strncat-ifunc.c: Likewise.
5844         * string/test-strncmp-ifunc.c: Likewise.
5845         * string/test-strncpy-ifunc.c: Likewise.
5846         * string/test-strnlen-ifunc.c: Likewise.
5847         * string/test-strpbrk-ifunc.c: Likewise.
5848         * string/test-strrchr-ifunc.c: Likewise.
5849         * string/test-strspn-ifunc.c: Likewise.
5850         * string/test-strstr-ifunc.c: Likewise.
5852 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5854         * benchtests/Makefile: Remove ifunc tests.
5855         * benchtests/bench-string.h: Define TEST_IFUNC.
5856         * benchtests/bench-bcopy-ifunc.c: Remove.
5857         * benchtests/bench-bzero-ifunc.c: Likewise.
5858         * benchtests/bench-memccpy-ifunc.c: Likewise.
5859         * benchtests/bench-memchr-ifunc.c: Likewise.
5860         * benchtests/bench-memcmp-ifunc.c: Likewise.
5861         * benchtests/bench-memcpy-ifunc.c: Likewise.
5862         * benchtests/bench-memmem-ifunc.c: Likewise.
5863         * benchtests/bench-memmove-ifunc.c: Likewise.
5864         * benchtests/bench-mempcpy-ifunc.c: Likewise.
5865         * benchtests/bench-memrchr-ifunc.c: Likewise.
5866         * benchtests/bench-memset-ifunc.c: Likewise.
5867         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5868         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5869         * benchtests/bench-stpcpy-ifunc.c: Likewise.
5870         * benchtests/bench-stpncpy-ifunc.c: Likewise.
5871         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5872         * benchtests/bench-strcasestr-ifunc.c: Likewise.
5873         * benchtests/bench-strcat-ifunc.c: Likewise.
5874         * benchtests/bench-strchr-ifunc.c: Likewise.
5875         * benchtests/bench-strchrnul-ifunc.c: Likewise.
5876         * benchtests/bench-strcmp-ifunc.c: Likewise.
5877         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5878         * benchtests/bench-strcpy-ifunc.c: Likewise.
5879         * benchtests/bench-strcspn-ifunc.c: Likewise.
5880         * benchtests/bench-strlen-ifunc.c: Likewise.
5881         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5882         * benchtests/bench-strncat-ifunc.c: Likewise.
5883         * benchtests/bench-strncmp-ifunc.c: Likewise.
5884         * benchtests/bench-strncpy-ifunc.c: Likewise.
5885         * benchtests/bench-strnlen-ifunc.c: Likewise.
5886         * benchtests/bench-strpbrk-ifunc.c: Likewise.
5887         * benchtests/bench-strrchr-ifunc.c: Likewise.
5888         * benchtests/bench-strsep-ifunc.c: Likewise.
5889         * benchtests/bench-strspn-ifunc.c: Likewise.
5890         * benchtests/bench-strstr-ifunc.c: Likewise.
5892 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5894         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5896 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5898         * resolv/netdb.h: Use __glibc_reserved instead __unused.
5899         * rt/aio.h: Likewise.
5900         * sysdeps/gnu/bits/utmp.h: Likewise.
5901         * sysdeps/gnu/bits/utmpx.h: Likewise.
5902         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5903         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5904         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5905         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5906         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5907         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5908         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5909         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5910         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5911         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5912         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5913         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5914         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5916         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5917         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5918         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5919         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5920         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5921         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5922         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5923         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5924         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5925         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5926         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5928         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5929         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5930         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5931         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5932         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5934         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5935         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5936         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5937         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5938         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5939         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5940         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5941         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5942         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5943         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5945 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
5947         [BZ #16245]
5948         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5949         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5951 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
5953         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5954         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5955         Likewise.
5957 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5960         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5961         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5962         (__fesetround): Remove define.
5963         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5964         rounding and exceptions handling.
5965         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5966         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5967         (__fe_nomask_env): Likewise.
5968         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5969         __fegetround instead of fegetround.
5970         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5971         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5973 2013-11-21  Roland McGrath  <roland@hack.frob.com>
5975         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5976         it's there.
5978         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5980 2013-11-21  Meador Inge  <meadori@codesourcery.com>
5982         [BZ #11157]
5983         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5984         (encrypt_r): Likewise.
5985         * malloc/obstack.h (obstack_free): Likewise.
5986         * posix/unistd.h (encrypt): Likewise.
5988 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5990         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5991         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5992         DL_CALL_DT_FINI() that call the functions directly.
5993         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5994         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5995         * elf/dl-fini.c: Likewise.
5997 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
5999         * malloc/hooks.c (memalign_check): Add alignment rounding.
6000         * malloc/malloc.c (_mid_memalign): New function.
6001         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6002         Implement by calling _mid_memalign.
6003         * manual/probes.texi (Memory Allocation Probes): Remove
6004         memory_valloc_retry and memory_pvalloc_retry.
6006 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6008         * locale/programs/locarchive.c (open_archive): Add const
6009         qualifier to ARCHIVEFNAME and copy default fname to
6010         DEFAULT_FNAME.
6012         [BZ #15601]
6013         * libio/tst-widetext.input: Rename Oriya to Odia.
6014         * locale/iso-639.def: Likewise.
6016         * manual/probes.texi (Mathematical Function Probes): Add
6017         documentation for sin, cos, asin and acos probes.
6018         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6019         (__sin32): Add slowasin probe.
6020         (__cos32): Add slowacos probe.
6021         (__mpsin): Add slowsin probe.
6022         (__mpcos): Add slowcos probe.
6024 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6026         [BZ #15483]
6027         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6028         thread-local __sim_exceptions_thread and global
6029         __sim_exceptions_global.
6030         (__sim_disabled_exceptions): Change to thread-local
6031         __sim_disabled_exceptions_thread and global
6032         __sim_disabled_exceptions_global.
6033         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6034         and global __sim_round_mode_global.
6035         (__simulate_exceptions): Use thread-local floating-point state and
6036         set global state from it as needed.
6037         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6038         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6039         __sim_round_mode_thread.
6040         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6041         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6042         and global __sim_exceptions_global.
6043         (__sim_disabled_exceptions): Change to thread-local
6044         __sim_disabled_exceptions_thread and global
6045         __sim_disabled_exceptions_global.
6046         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6047         and global __sim_round_mode_global.
6048         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6049         (SIM_SET_GLOBAL): Likewise.
6050         * sysdeps/powerpc/soft-fp/sfp-machine.h
6051         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6052         __sim_round_mode_thread.
6053         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6054         __sim_disabled_exceptions_thread.
6055         (__sim_exceptions): Change to __sim_exceptions_thread.
6056         (__sim_disabled_exceptions): Change to
6057         __sim_disabled_exceptions_thread.
6058         (__sim_round_mode): Change to __sim_round_mode_thread.
6059         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6060         thread-local floating-point state and set global state from it as
6061         needed.
6062         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6063         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6064         (__sim_disabled_exceptions): Remove extern declaration.
6065         (feenableexcept): Use thread-local floating-point state and set
6066         global state from it as needed.
6067         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6068         extern declaration.
6069         (__sim_disabled_exceptions): Likewise.
6070         (__sim_round_mode): Likewise.
6071         (__fegetenv): Use thread-local floating-point state.
6072         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6073         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6074         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6075         floating-point state and set global state from it as needed.
6076         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6077         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6078         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6079         Likewise.
6080         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6081         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6082         Likewise.
6083         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6084         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6085         Use __sim_round_mode_thread.
6086         * math/test-fenv-tls.c: New file.
6087         * math/Makefile (tests): Add test-fenv-tls.
6088         ($(objpfx)test-fenv-tls): Depend on
6089         $(common-objpfx)nptl/libpthread.so.
6091 2013-11-19  Andreas Schwab  <schwab@suse.de>
6093         * locale/programs/locale.c (show_info): Decode wordarray elements.
6094         * locale/categories.def (LC_MONETARY): Add element for
6095         _NL_MONETARY_CRNCYSTR.
6096         * locale/C-monetary.c (conversion_rate): New variable.
6097         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6098         element.
6100 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6102         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6103         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6105 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6107         * elf/Makefile (tst-auxv): New test.
6108         * elf/tst-auxv.c: New
6109         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6111 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6113         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6114         (hidden_proto): Caller changed.
6115         (hidden_tls_proto): New macro.
6116         (libc_hidden_tls_proto): Likewise.
6117         (rtld_hidden_tls_proto): Likewise.
6118         (libm_hidden_tls_proto): Likewise.
6119         (libresolv_hidden_tls_proto): Likewise.
6120         (librt_hidden_tls_proto): Likewise.
6121         (libdl_hidden_tls_proto): Likewise.
6122         (libnss_files_hidden_tls_proto): Likewise.
6123         (libnsl_hidden_tls_proto): Likewise.
6124         (libnss_nisplus_hidden_tls_proto): Likewise.
6125         (libutil_hidden_tls_proto): Likewise.
6127 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6129         [BZ #10253]
6130         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6131         (decompose_rpath): Defer expansion to fillin_rpath.
6132         (_dl_init_paths): Pass linkmap to fillin_rpath.
6134 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6136         * benchtests/Makefile: Add strsep.
6137         * benchtests/bench-strsep.c: New file: strsep benchtest.
6138         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6140 2013-11-18  Andreas Schwab  <schwab@suse.de>
6142         * locale/programs/locale.c (show_info) [case byte]: Check for
6143         '\377' instead of '\177'.
6144         * locale/C-monetary.c (not_available): Always use "\377".
6145         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6146         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6147         detect unavailable sign_posn locale elements.
6148         * locale/localeconv.c (__localeconv): For grouping and
6149         mon_grouping handle "\177" and "\377" like no grouping.
6150         (INT_ELEM): New macro.  Use it to set all numeric members.
6151         * locale/programs/ld-monetary.c (monetary_read)
6152         <tok_mon_grouping>: Normalize single -1 to the empty string.
6153         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6154         Likewise.
6156 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6158         [BZ #16055]
6159         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6160         when we match (nil).
6161         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6163 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6165         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6166         (NO_TEST_INLINE): Update value.
6167         (ERRNO_UNCHANGED): Likewise.
6168         (ERRNO_EDOM): Likewise.
6169         (ERRNO_ERANGE): Likewise.
6170         (IGNORE_RESULT): Likewise.
6171         (check_float_internal): Check signs of NaN results if
6172         TEST_NAN_SIGN used.
6173         (check_complex): Pass TEST_NAN_SIGN flag through to second
6174         check_float_internal call.
6175         (copysign_test_data): Add tests with quiet NaNs as second
6176         argument.  Use TEST_NAN_SIGN.
6177         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6178         TEST_NAN_SIGN.
6179         (signbit_test_data): Add tests of quiet NaN argument.
6180         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6182         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6183         $ignore_result.
6184         (parse_args): Handle function results specified as IGNORE.
6185         * math/libm-test.inc (IGNORE_RESULT): New macro.
6186         (check_float_internal): Do not check numerical result if flag
6187         IGNORE_RESULT set.
6188         (check_complex): Pass through IGNORE_RESULT to second
6189         check_float_internal call.
6190         (check_int): Do not check numerical result if flag IGNORE_RESULT
6191         set.
6192         (check_long): Likewise.
6193         (check_bool): Likewise.
6194         (check_longlong): Likewise.
6195         (lrint_test_data): Add tests of infinite and NaN arguments.
6196         (lrint_tonearest_test_data): Likewise.
6197         (lrint_towardzero_test_data): Likewise.
6198         (lrint_downward_test_data): Likewise.
6199         (lrint_upward_test_data): Likewise.
6200         (llrint_test_data): Likewise.
6201         (llrint_tonearest_test_data): Likewise.
6202         (llrint_towardzero_test_data): Likewise.
6203         (llrint_downward_test_data): Likewise.
6204         (llrint_upward_test_data): Likewise.
6205         (lround_test_data): Likewise.
6206         (llround_test_data): Likewise.
6208         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6209         (ERRNO_UNCHANGED): Update value.
6210         (ERRNO_EDOM): Likewise.
6211         (ERRNO_ERANGE): Likewise.
6212         (NO_TEST_INLINE_FLOAT): New macro.
6213         (NO_TEST_INLINE_DOUBLE): Likewise.
6214         (enable_test): New function.
6215         (RUN_TEST_f_f): Check enable_test before running test.
6216         (RUN_TEST_2_f): Likewise.
6217         (RUN_TEST_fff_f): Likewise.
6218         (RUN_TEST_c_f): Likewise.
6219         (RUN_TEST_f_f1): Likewise.
6220         (RUN_TEST_fF_f1): Likewise.
6221         (RUN_TEST_fI_f1): Likewise.
6222         (RUN_TEST_ffI_f1): Likewise.
6223         (RUN_TEST_c_c): Likewise.
6224         (RUN_TEST_cc_c): Likewise.
6225         (RUN_TEST_f_i): Likewise.
6226         (RUN_TEST_f_i_tg): Likewise.
6227         (RUN_TEST_ff_i_tg): Likewise.
6228         (RUN_TEST_f_b): Likewise.
6229         (RUN_TEST_f_b_tg): Likewise.
6230         (RUN_TEST_f_l): Likewise.
6231         (RUN_TEST_f_L): Likewise.
6232         (RUN_TEST_fFF_11): Likewise.
6233         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6234         conditionals.
6235         (cosh_test_data): Likewise.
6236         (exp_test_data): Likewise.
6237         (expm1_test_data): Likewise.
6238         (hypot_test_data): Likewise.
6239         (pow_test_data): Likewise.
6240         (sinh_test_data): Likewise.
6241         (tanh_test_data): Likewise.
6242         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6243         flags argument.
6245         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6246         tests with quiet NaN input and output.
6247         (acosh_test_data): Likewise.
6248         (asin_test_data): Likewise.
6249         (asinh_test_data): Likewise.
6250         (atan_test_data): Likewise.
6251         (atanh_test_data): Likewise.
6252         (atan2_test_data): Likewise.
6253         (cbrt_test_data): Likewise.
6254         (cos_test_data): Likewise.
6255         (cosh_test_data): Likewise.
6256         (erf_test_data): Likewise.
6257         (erfc_test_data): Likewise.
6258         (exp_test_data): Likewise.
6259         (exp10_test_data): Likewise.
6260         (exp2_test_data): Likewise.
6261         (expm1_test_data): Likewise.
6262         (hypot_test_data): Likewise.
6263         (j0_test_data): Likewise.
6264         (j1_test_data): Likewise.
6265         (jn_test_data): Likewise.
6266         (lgamma_test_data): Likewise.
6267         (log_test_data): Likewise.
6268         (log10_test_data): Likewise.
6269         (log1p_test_data): Likewise.
6270         (log2_test_data): Likewise.
6271         (pow_test_data): Likewise.
6272         (scalb_test_data): Likewise.
6273         (sin_test_data): Likewise.
6274         (sincos_test_data): Likewise.
6275         (sinh_test_data): Likewise.
6276         (tan_test_data): Likewise.
6277         (tanh_test_data): Likewise.
6278         (tgamma_test_data): Likewise.
6279         (y0_test_data): Likewise.
6280         (y1_test_data): Likewise.
6281         (yn_test_data): Likewise.
6283         [BZ #16167]
6284         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6285         argument being NaN and avoid computations with second argument in
6286         that case.
6287         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6288         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6289         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6291 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6293         * locale/iso-639.def: Add Chitwani Tharu (the).
6295 2013-11-14  Andreas Schwab  <schwab@suse.de>
6297         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6298         word instead of empty string.
6300 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6303         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6305         (__fe_nomask_env): Likewise.
6307 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6309         * benchtests/bench-timing.h: Include time.h.
6311 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6313         [BZ #15997]
6314         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6315         to 3.4.0 for x32.
6316         * sysdeps/unix/sysv/linux/configure: Regenerated.
6318 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
6320         [BZ #16151]
6321         * stdlib/strtod_l.c (round_and_return): Do not consider
6322         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6323         exponent one less than half the least subnormal exponent.
6324         * stdlib/test-strtod-round-data: Add more tests.
6325         * stdlib/tst-strtod-round.c (tests): Regenerated.
6327 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6329         [BZ #14143]
6330         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6331         (__fe_mask_env): Likewise.
6332         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6333         libm_hidden_proto and add function prototype.
6334         (__fe_mask_env): Add function prototype.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6336         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6338         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6340         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6342 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6344         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
6345         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
6347 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6349         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
6350         of htab_find_slot().
6352 2013-11-11  David S. Miller  <davem@davemloft.net>
6354         [BZ #16150]
6355         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
6356         symbol in the non-vis3 case in static builds.
6357         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
6358         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
6359         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
6360         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
6362 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6364         [BZ #387]
6365         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
6366         it is empty.
6368 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6370         * benchtests/Makefile: Add bench-strtod.
6371         * benchtests/bench-strtod.c: New file: strtod benchtest
6373 2013-11-11  Andreas Schwab  <schwab@suse.de>
6375         [BZ #16153]
6376         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
6377         terminating NUL in key length.
6379 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6381         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6382         Add artificial ODP entry for vDSO symbol for PPC64.
6383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
6384         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6386 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6388         [BZ #15374]
6389         * nss/getent.c (services_keys): Recognize services starting with digit.
6391 2013-11-06  David S. Miller  <davem@davemloft.net>
6393         [BZ #15985]
6394         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
6395         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
6397 2013-11-06  Will Newton  <will.newton@linaro.org>
6399         * manual/memory.texi (Malloc Examples): Remove register
6400         keyword from examples.
6402 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
6404         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
6406 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #6981]
6409         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
6410         depending on [__GCC_IEC_559 > 0].
6411         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
6412         depending on [__GCC_IEC_559_COMPLEX > 0].
6414 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
6416         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
6417         to iso-639.def.
6419 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
6421         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
6423 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
6425         [BZ #16112]
6426         * malloc/malloc (malloc_info): Do not handle first bin as
6427         special case.
6429 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
6431         * locale/iso-639.def: Add Central Nahuatl (nhn).
6433 2013-11-01  Bruno Haible  <bruno@clisp.org>
6435         [BZ #7003]
6436         * manual/math.texi (BSD Random): Specify range upper bound as
6437         in POSIX.
6439 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
6441         * locale/iso-639.def: Add Meadow Mari (mhr).
6443 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
6445         [BZ #14752], [BZ #15763]
6446         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
6447         Validate name.
6448         * rt/tst_shm.c: Add test for escaping directory.
6450 2013-10-31  Andreas Schwab  <schwab@suse.de>
6452         [BZ #15917]
6453         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
6454         followed by 'x' as part of digit sequence.
6455         * stdio-common/tst-sscanf.c (double_tests2): New tests.
6457 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
6459         [BZ #16037]
6460         * configure.ac: allow GNU Make 4.0 and greater.
6461         * configure: Regenerated.
6463 2013-10-30  Will Newton  <will.newton@linaro.org>
6465         [BZ #16038]
6466         * malloc/hooks.c (memalign_check): Limit alignment to the
6467         maximum representable power of two.
6468         * malloc/malloc.c (__libc_memalign): Likewise.
6469         * malloc/tst-memalign.c (do_test): Add test for very
6470         large alignment values.
6471         * malloc/tst-posix_memalign.c (do_test): Likewise.
6473 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6475         [BZ #11087]
6476         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
6477         (munmap_chunk): Likewise.
6478         (mremap_chunk): Likewise.
6480 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
6482         [BZ #15799]
6483         * stdlib/div.c (div): Remove obsolete code.
6484         * stdlib/ldiv.c (ldiv): Likewise.
6485         * stdlib/lldiv.c (lldiv): Likewise.
6487 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6489         [BZ #16071]
6490         * nss/nss_files/files-XXX.c (get_contents_ret): New
6491         enumerator.
6492         (get_contents): New function.
6493         (internal_getent): Use it.  Expand size of LINEBUFLEN.
6495 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
6497         * configure.in: Moved to ...
6498         * configure.ac: ... here. Change reference to configure.in
6499         to configure.ac.
6500         * sysdeps/arm/preconfigure.ac: ... here.
6501         configure.in to configure.ac.
6502         * sysdeps/gnu/configure.in: Moved to ...
6503         * sysdeps/gnu/configure.ac: ... here.
6504         * sysdeps/i386/configure.in: Moved to ...
6505         * sysdeps/i386/configure.ac: ... here.
6506         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
6507         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
6508         * sysdeps/mach/configure.in: Moved to ...
6509         * sysdeps/mach/configure.ac: ... here.
6510         * sysdeps/mach/hurd/configure.in: Moved to ...
6511         * sysdeps/mach/hurd/configure.ac: ... here.
6512         * sysdeps/powerpc/configure.in: Moved to ...
6513         * sysdeps/powerpc/configure.ac: ... here.
6514         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
6515         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
6516         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
6517         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
6518         * sysdeps/s390/s390-32/configure.in: Moved to ...
6519         * sysdeps/s390/s390-32/configure.ac: ... here.
6520         * sysdeps/s390/s390-64/configure.in: Moved to ...
6521         * sysdeps/s390/s390-64/configure.ac: ... here.
6522         * sysdeps/sh/configure.in: Moved to ...
6523         * sysdeps/sh/configure.ac: ... here.
6524         * sysdeps/sparc/configure.in: Moved to ...
6525         * sysdeps/sparc/configure.ac: ... here.
6526         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
6527         * sysdeps/unix/sysv/linux/configure.ac: ... here.
6528         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
6529         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
6530         * sysdeps/x86_64/configure.in: Moved to ...
6531         * sysdeps/x86_64/configure.ac: ... here.
6532         * sysdeps/x86_64/preconfigure.in: Moved to ...
6533         * sysdeps/x86_64/preconfigure.ac: ... here.
6534         * aclocal.m4: Change reference to configure.in to configure.ac.
6535         * config.h.in: Likewise.
6536         * manual/install.texi: Likewise.
6537         * manual/maint.texi: Likewise.
6538         * Makefile: Likewise.
6539         * malloc/Makefile: Likewise.
6540         * nscd/Makefile: Likewise.
6541         * Makeconfig: Change reference to configure.in and
6542         preconfigure.in to configure.ac and preconfigure.ac
6543         respectively.
6544         * INSTALL: Regenerated.
6545         * configure: Likewise.
6546         * sysdeps/gnu/configure: Likewise.
6547         * sysdeps/i386/configure: Likewise.
6548         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
6549         * sysdeps/mach/configure: Likewise.
6550         * sysdeps/mach/hurd/configure: Likewise.
6551         * sysdeps/powerpc/configure: Likewise.
6552         * sysdeps/powerpc/powerpc32/configure: Likewise.
6553         * sysdeps/powerpc/powerpc64/configure: Likewise.
6554         * sysdeps/s390/s390-32/configure: Likewise.
6555         * sysdeps/s390/s390-64/configure: Likewise.
6556         * sysdeps/sh/configure: Likewise.
6557         * sysdeps/sparc/configure: Likewise.
6558         * sysdeps/unix/sysv/linux/configure: Likewise.
6559         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
6560         * sysdeps/x86_64/configure: Likewise.
6561         * sysdeps/x86_64/preconfigure: Likewise.
6563 2013-10-29  Andreas Schwab  <schwab@suse.de>
6565         * stdio-common/Makefile (tst-swscanf-ENV): Define.
6567 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6569         * benchtests/pow-inputs: Add new inputs.
6571         * benchtests/exp-inputs: Add new inputs.
6573         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
6574         conditional check for return value.
6575         (__cos32): Likewise.
6577 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6579         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
6580         to provide a boost for large inputs with word alignment.
6581         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
6582         implementation based on optimized PPC64 strcpy.
6583         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
6584         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
6585         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
6586         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
6588 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6590         [BZ #2801]
6591         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
6593 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6595         [BZ #14876]
6596         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
6597         * time/tst-strptime.c (day_tests): Add testcase.
6599 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
6601         [BZ #14029]
6602         * manual/pattern.texi: Acknowledge that fnmatch can fail.
6604 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
6606         [BZ #16074]
6607         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
6608         MAP_FAILED on error.
6610 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6612         [BZ #16072]
6613         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
6614         heap for large requests.
6616 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
6618         [BZ #9954]
6619         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
6620         result if the result has no associated interface.
6621         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
6622         interface for all 127.X.Y.Z addresses.
6624 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
6626         * locale/iso-639.def: Add Ligurian (lij)
6628 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
6630         [BZ #15825]
6631         * sunrpc/rpc_main.c: Document rpcgen -5.
6633 2013-10-19  Michael Stahl  <mstahl@redhat.com>
6635         * elf/rtld.c (do_preload): Print the reason why preloading failed.
6637 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6639         [BZ #10278]
6640         * posix/glob.c: Match only directories when trailing slash is present.
6641         * posix/tst-gnuglob.c (my_opendir): Do not open files.
6642         (main): Add testcase.
6644 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
6646         [BZ #15670]
6647         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6649 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
6651         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6652         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6653         AUTH_DES and cindex for FIPS 140-2.
6654         (DES Encryption): Add cindex FIPS 46-3.
6656         * locale/locarchive.h (struct locarhandle): Add fname.
6657         * locale/programs/localedef.c (main): Pass ARGV[remaining]
6658         if an optional argument was specified to --list-archive,
6659         otherwise NULL.
6660         * locale/programs/locarchive.c (show_archive_content): Take new
6661         argument fname and pass it via ah.fname to open_archive.
6662         * locale/programs/localedef.h: Update decl.
6663         (open_archive): If AH->fname is non-null, open that file
6664         rather than the default file name, and don't ignore ENOENT.
6665         (create_archive): Set AH.fname to NULL.
6666         (delete_locales_from_archive): Likewise.
6667         (add_locales_to_archive): Likewise.
6668         * locale/programs/locfile.c (write_all_categories): Likewise.
6670 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
6671             Aldy Hernandez  <aldyh@redhat.com>
6673         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6674         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6675         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6676         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6677         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6678         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6679         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6680         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6681         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6682         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6683         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6684         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6685         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6686         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6687         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6688         Likewise.
6689         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6690         Likewise.
6691         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6692         Likewise.
6693         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6694         Likewise.
6695         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6696         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6697         Likewise.
6698         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6699         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6700         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6701         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6702         Likewise.
6703         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6704         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6705         * sysdeps/powerpc/preconfigure: Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6707         Likewise.
6708         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6709         Replace contents of file by #include of <fenv_libc.h>.
6710         * sysdeps/powerpc/soft-fp/sfp-machine.h
6711         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6712         and <sys/prctl.h>.
6713         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6714         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6715         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6716         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6717         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6718         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6720         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6721         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6722         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6723         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6726         Allow copysignl PLT reference to be missing.
6728 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
6729             Joseph Myers  <joseph@codesourcery.com
6731         [BZ #15948]
6732         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6733         single character.
6734         (add_to_tablewc): Assert sequence of wide characters is nonempty.
6736 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6738         * elf/tst-tls-dlinfo.c: Don't include tls.h.
6739         * elf/tst-tls1.c: Likewise.
6740         * elf/tst-tls10.h: Likewise.
6741         * elf/tst-tls14.c: Likewise.
6742         * elf/tst-tls2.c: Likewise.
6743         * elf/tst-tls3.c: Likewise.
6744         * elf/tst-tls4.c: Likewise.
6745         * elf/tst-tls5.c: Likewise.
6746         * elf/tst-tls6.c: Likewise.
6747         * elf/tst-tls7.c: Likewise.
6748         * elf/tst-tls8.c: Likewise.
6749         * elf/tst-tls9.c: Likewise.
6750         * elf/tst-tlsmod1.c: Likewise.
6751         * elf/tst-tlsmod13.c: Likewise.
6752         * elf/tst-tlsmod13a.c: Likewise.
6753         * elf/tst-tlsmod14a.c: Likewise.
6754         * elf/tst-tlsmod16a.c: Likewise.
6755         * elf/tst-tlsmod16b.c: Likewise.
6756         * elf/tst-tlsmod2.c: Likewise.
6757         * elf/tst-tlsmod3.c: Likewise.
6758         * elf/tst-tlsmod4.c: Likewise.
6759         * elf/tst-tlsmod5.c: Likewise.
6760         * elf/tst-tlsmod6.c: Likewise.
6762 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
6764         [BZ #12486]
6765         * malloc/malloc.c: remove checks for statistics.
6767 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6769         [BZ #15277]
6770         * inet/inet_net.c (inet_network): Detect additional invalid strings.
6771         * inet/tst-network.c: Add testcase.
6773 2013-10-17  Andreas Schwab  <schwab@suse.de>
6775         [BZ #15218]
6776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6777         to determine canonical name.
6779 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
6781         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6782         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6784         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6786         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6787         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6788         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6789         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6790         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6791         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6792         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6793         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6794         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6795         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6796         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6797         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6801         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6803         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6804         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6805         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6806         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6807         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6808         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6809         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6810         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6811         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6812         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6813         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6814         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6815         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6816         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6817         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6818         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6819         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6820         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6821         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6822         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6823         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6824         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6825         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6826         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6827         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6828         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6829         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6830         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6831         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6832         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6833         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6834         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6835         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6836         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6837         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6838         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6840 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #16041]
6843         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6844         make result into a quiet NaN.
6846 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
6848         * soft-fp/adddf3.c: Fix horizontal whitespace.
6849         * soft-fp/addsf3.c: Likewise.
6850         * soft-fp/addtf3.c: Likewise.
6851         * soft-fp/divdf3.c: Likewise.
6852         * soft-fp/divsf3.c: Likewise.
6853         * soft-fp/divtf3.c: Likewise.
6854         * soft-fp/double.h: Likewise.
6855         * soft-fp/eqdf2.c: Likewise.
6856         * soft-fp/eqsf2.c: Likewise.
6857         * soft-fp/eqtf2.c: Likewise.
6858         * soft-fp/extenddftf2.c: Likewise.
6859         * soft-fp/extended.h: Likewise.
6860         * soft-fp/extendsfdf2.c: Likewise.
6861         * soft-fp/extendsftf2.c: Likewise.
6862         * soft-fp/extendxftf2.c: Likewise.
6863         * soft-fp/fixdfdi.c: Likewise.
6864         * soft-fp/fixdfsi.c: Likewise.
6865         * soft-fp/fixdfti.c: Likewise.
6866         * soft-fp/fixsfdi.c: Likewise.
6867         * soft-fp/fixsfsi.c: Likewise.
6868         * soft-fp/fixsfti.c: Likewise.
6869         * soft-fp/fixtfdi.c: Likewise.
6870         * soft-fp/fixtfsi.c: Likewise.
6871         * soft-fp/fixtfti.c: Likewise.
6872         * soft-fp/fixunsdfdi.c: Likewise.
6873         * soft-fp/fixunsdfsi.c: Likewise.
6874         * soft-fp/fixunsdfti.c: Likewise.
6875         * soft-fp/fixunssfdi.c: Likewise.
6876         * soft-fp/fixunssfsi.c: Likewise.
6877         * soft-fp/fixunssfti.c: Likewise.
6878         * soft-fp/fixunstfdi.c: Likewise.
6879         * soft-fp/fixunstfsi.c: Likewise.
6880         * soft-fp/fixunstfti.c: Likewise.
6881         * soft-fp/floatdidf.c: Likewise.
6882         * soft-fp/floatdisf.c: Likewise.
6883         * soft-fp/floatditf.c: Likewise.
6884         * soft-fp/floatsidf.c: Likewise.
6885         * soft-fp/floatsisf.c: Likewise.
6886         * soft-fp/floatsitf.c: Likewise.
6887         * soft-fp/floattidf.c: Likewise.
6888         * soft-fp/floattisf.c: Likewise.
6889         * soft-fp/floattitf.c: Likewise.
6890         * soft-fp/floatundidf.c: Likewise.
6891         * soft-fp/floatundisf.c: Likewise.
6892         * soft-fp/floatunditf.c: Likewise.
6893         * soft-fp/floatunsidf.c: Likewise.
6894         * soft-fp/floatunsisf.c: Likewise.
6895         * soft-fp/floatunsitf.c: Likewise.
6896         * soft-fp/floatuntidf.c: Likewise.
6897         * soft-fp/floatuntisf.c: Likewise.
6898         * soft-fp/floatuntitf.c: Likewise.
6899         * soft-fp/fmadf4.c: Likewise.
6900         * soft-fp/fmasf4.c: Likewise.
6901         * soft-fp/fmatf4.c: Likewise.
6902         * soft-fp/gedf2.c: Likewise.
6903         * soft-fp/gesf2.c: Likewise.
6904         * soft-fp/getf2.c: Likewise.
6905         * soft-fp/ledf2.c: Likewise.
6906         * soft-fp/lesf2.c: Likewise.
6907         * soft-fp/letf2.c: Likewise.
6908         * soft-fp/muldf3.c: Likewise.
6909         * soft-fp/mulsf3.c: Likewise.
6910         * soft-fp/multf3.c: Likewise.
6911         * soft-fp/negdf2.c: Likewise.
6912         * soft-fp/negsf2.c: Likewise.
6913         * soft-fp/negtf2.c: Likewise.
6914         * soft-fp/op-1.h: Likewise.
6915         * soft-fp/op-2.h: Likewise.
6916         * soft-fp/op-4.h: Likewise.
6917         * soft-fp/op-8.h: Likewise.
6918         * soft-fp/op-common.h: Likewise.
6919         * soft-fp/quad.h: Likewise.
6920         * soft-fp/single.h: Likewise.
6921         * soft-fp/soft-fp.h: Likewise.
6922         * soft-fp/sqrtdf2.c: Likewise.
6923         * soft-fp/sqrtsf2.c: Likewise.
6924         * soft-fp/sqrttf2.c: Likewise.
6925         * soft-fp/subdf3.c: Likewise.
6926         * soft-fp/subsf3.c: Likewise.
6927         * soft-fp/subtf3.c: Likewise.
6928         * soft-fp/truncdfsf2.c: Likewise.
6929         * soft-fp/trunctfdf2.c: Likewise.
6930         * soft-fp/trunctfsf2.c: Likewise.
6931         * soft-fp/trunctfxf2.c: Likewise.
6932         * soft-fp/unorddf2.c: Likewise.
6933         * soft-fp/unordsf2.c: Likewise.
6934         * soft-fp/unordtf2.c: Likewise.
6936 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
6938         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6939         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6941 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
6943         * elf/dl-libc.c: Clear initfini list after freeing.
6945 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
6947         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6948         * soft-fp/addsf3.c: Likewise.
6949         * soft-fp/addtf3.c: Likewise.
6950         * soft-fp/divdf3.c: Likewise.
6951         * soft-fp/divsf3.c: Likewise.
6952         * soft-fp/divtf3.c: Likewise.
6953         * soft-fp/double.h: Likewise.
6954         * soft-fp/eqdf2.c: Likewise.
6955         * soft-fp/eqsf2.c: Likewise.
6956         * soft-fp/eqtf2.c: Likewise.
6957         * soft-fp/extenddftf2.c: Likewise.
6958         * soft-fp/extended.h: Likewise.
6959         * soft-fp/extendsfdf2.c: Likewise.
6960         * soft-fp/extendsftf2.c: Likewise.
6961         * soft-fp/extendxftf2.c: Likewise.
6962         * soft-fp/fixdfdi.c: Likewise.
6963         * soft-fp/fixdfsi.c: Likewise.
6964         * soft-fp/fixdfti.c: Likewise.
6965         * soft-fp/fixsfdi.c: Likewise.
6966         * soft-fp/fixsfsi.c: Likewise.
6967         * soft-fp/fixsfti.c: Likewise.
6968         * soft-fp/fixtfdi.c: Likewise.
6969         * soft-fp/fixtfsi.c: Likewise.
6970         * soft-fp/fixtfti.c: Likewise.
6971         * soft-fp/fixunsdfdi.c: Likewise.
6972         * soft-fp/fixunsdfsi.c: Likewise.
6973         * soft-fp/fixunsdfti.c: Likewise.
6974         * soft-fp/fixunssfdi.c: Likewise.
6975         * soft-fp/fixunssfsi.c: Likewise.
6976         * soft-fp/fixunssfti.c: Likewise.
6977         * soft-fp/fixunstfdi.c: Likewise.
6978         * soft-fp/fixunstfsi.c: Likewise.
6979         * soft-fp/fixunstfti.c: Likewise.
6980         * soft-fp/floatdidf.c: Likewise.
6981         * soft-fp/floatdisf.c: Likewise.
6982         * soft-fp/floatditf.c: Likewise.
6983         * soft-fp/floatsidf.c: Likewise.
6984         * soft-fp/floatsisf.c: Likewise.
6985         * soft-fp/floatsitf.c: Likewise.
6986         * soft-fp/floattidf.c: Likewise.
6987         * soft-fp/floattisf.c: Likewise.
6988         * soft-fp/floattitf.c: Likewise.
6989         * soft-fp/floatundidf.c: Likewise.
6990         * soft-fp/floatundisf.c: Likewise.
6991         * soft-fp/floatunsidf.c: Likewise.
6992         * soft-fp/floatunsisf.c: Likewise.
6993         * soft-fp/floatuntidf.c: Likewise.
6994         * soft-fp/floatuntisf.c: Likewise.
6995         * soft-fp/floatuntitf.c: Likewise.
6996         * soft-fp/fmadf4.c: Likewise.
6997         * soft-fp/fmasf4.c: Likewise.
6998         * soft-fp/fmatf4.c: Likewise.
6999         * soft-fp/gedf2.c: Likewise.
7000         * soft-fp/gesf2.c: Likewise.
7001         * soft-fp/getf2.c: Likewise.
7002         * soft-fp/ledf2.c: Likewise.
7003         * soft-fp/lesf2.c: Likewise.
7004         * soft-fp/letf2.c: Likewise.
7005         * soft-fp/muldf3.c: Likewise.
7006         * soft-fp/mulsf3.c: Likewise.
7007         * soft-fp/multf3.c: Likewise.
7008         * soft-fp/negdf2.c: Likewise.
7009         * soft-fp/negsf2.c: Likewise.
7010         * soft-fp/negtf2.c: Likewise.
7011         * soft-fp/op-1.h: Likewise.
7012         * soft-fp/op-2.h: Likewise.
7013         * soft-fp/op-4.h: Likewise.
7014         * soft-fp/op-8.h: Likewise.
7015         * soft-fp/op-common.h: Likewise.
7016         * soft-fp/quad.h: Likewise.
7017         * soft-fp/single.h: Likewise.
7018         * soft-fp/soft-fp.h: Likewise.
7019         * soft-fp/sqrtdf2.c: Likewise.
7020         * soft-fp/sqrtsf2.c: Likewise.
7021         * soft-fp/sqrttf2.c: Likewise.
7022         * soft-fp/subdf3.c: Likewise.
7023         * soft-fp/subsf3.c: Likewise.
7024         * soft-fp/subtf3.c: Likewise.
7025         * soft-fp/truncdfsf2.c: Likewise.
7026         * soft-fp/trunctfdf2.c: Likewise.
7027         * soft-fp/trunctfsf2.c: Likewise.
7028         * soft-fp/trunctfxf2.c: Likewise.
7029         * soft-fp/unorddf2.c: Likewise.
7030         * soft-fp/unordsf2.c: Likewise.
7031         * soft-fp/unordtf2.c: Likewise.
7033 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7035         [BZ #15672]
7036         * misc/error.c (error_tail): Fix possible buffer overflow.
7038 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7040         [BZ #13028]
7041         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7042         address.
7044 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7046         [BZ #832]
7047         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7048         testing pipefail option.
7050 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7052         * soft-fp/double.h: Indent preprocessor directives inside #if.
7053         * soft-fp/extended.h: Likewise.
7054         * soft-fp/op-2.h: Likewise.
7055         * soft-fp/op-4.h: Likewise.
7056         * soft-fp/op-common.h: Likewise.
7057         * soft-fp/quad.h: Likewise.
7058         * soft-fp/single.h: Likewise.
7059         * soft-fp/soft-fp.h: Likewise.
7061 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7063         * iconv/iconv_prog.c: Fix typos.
7064         * stdio-common/psiginfo-data.h: Likewise.
7066 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7068         [BZ #15764]
7069         * locale/setlocale.c: Fix typo.
7071 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #16036]
7074         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7075         signaling NaN arguments.
7076         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7077         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7079         [BZ #14910]
7080         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7081         unordered operands.
7082         * soft-fp/gesf2.c (__gesf2): Likewise.
7083         * soft-fp/getf2.c (__getf2): Likewise.
7084         * soft-fp/ledf2.c (__ledf2): Likewise.
7085         * soft-fp/lesf2.c (__lesf2): Likewise.
7086         * soft-fp/letf2.c (__letf2): Likewise.
7088         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7089         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7090         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7091         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7092         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7093         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7094         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7095         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7096         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7097         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7098         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7099         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7100         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7101         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7102         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7103         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7104         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7105         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7106         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7107         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7108         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7109         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7110         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7111         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7112         * soft-fp/floattidf.c (__floattidf): Likewise.
7113         * soft-fp/floattisf.c (__floattisf): Likewise.
7114         * soft-fp/floattitf.c (__floattitf): Likewise.
7115         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7116         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7117         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7118         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7119         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7120         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7121         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7122         * soft-fp/gesf2.c (__gesf2): Likewise.
7123         * soft-fp/getf2.c (__getf2): Likewise.
7124         * soft-fp/ledf2.c (__ledf2): Likewise.
7125         * soft-fp/lesf2.c (__lesf2): Likewise.
7126         * soft-fp/letf2.c (__letf2): Likewise.
7128         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7129         Undefine and redefine.
7130         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7131         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7132         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7133         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7134         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7135         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7136         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7137         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7138         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7139         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7140         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7141         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7142         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7143         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7144         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7146         [BZ #16032]
7147         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7148         without decrementing exponent if mantissa >= that for the
7149         denominator, not >.
7150         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7151         denominator, not >.  Decrement exponent in < case instead of
7152         incrementing in >= case.
7153         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7154         without decrementing exponent if mantissa >= that for the
7155         denominator, not >.
7157         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7158         computing saturated result for unsigned overflow.
7160 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7161             Jeff Law  <law@redhat.com>
7163         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7164         (atan2Mp): Add systemtap probe marker.
7165         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7166         (__ieee754_log): Add systemtap probe marker.
7167         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7168         (atanMp): Add systemtap probe marker.
7169         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7170         (tanMp): Add systemtap probe marker.
7171         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7172         (__slowexp): Add systemtap probe marker.
7173         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7174         (__slowpow): Add systemtap probe marker.
7175         * manual/probes.texi: Document probes.
7177 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7179         [BZ #15362]
7180         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7181         written.
7182         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7183         written.
7184         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7185         written to buffer but not flushed.
7186         * libio/iofwrite_u.c:  Likewise.
7187         * libio/iopadn.c:  Return bytes returned even if EOF was
7188         encountered.
7189         * libio/iowpadn.c:  Likewise.
7190         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7191         if _IO_padn does not write the whole buffer.
7192         [!COMPILE_WPRINTF] (PAD): Likewise.
7194 2013-10-10  David S. Miller  <davem@davemloft.net>
7196         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7197         directory block.
7199 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7201         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7202         instead of FSF address.
7203         * soft-fp/fixdfti.c: Likewise.
7204         * soft-fp/fixsfti.c: Likewise.
7205         * soft-fp/fixtfti.c: Likewise.
7206         * soft-fp/fixunsdfti.c: Likewise.
7207         * soft-fp/fixunssfti.c: Likewise.
7208         * soft-fp/fixunstfti.c: Likewise.
7209         * soft-fp/floattidf.c: Likewise.
7210         * soft-fp/floattisf.c: Likewise.
7211         * soft-fp/floattitf.c: Likewise.
7212         * soft-fp/floatuntidf.c: Likewise.
7213         * soft-fp/floatuntisf.c: Likewise.
7214         * soft-fp/floatuntitf.c: Likewise.
7215         * soft-fp/trunctfxf2.c: Likewise.
7217         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7218         * soft-fp/fixdfti.c: Likewise.
7219         * soft-fp/fixsfti.c: Likewise.
7220         * soft-fp/fixtfti.c: Likewise.
7221         * soft-fp/fixunsdfti.c: Likewise.
7222         * soft-fp/fixunssfti.c: Likewise.
7223         * soft-fp/fixunstfti.c: Likewise.
7224         * soft-fp/floattidf.c: Likewise.
7225         * soft-fp/floattisf.c: Likewise.
7226         * soft-fp/floattitf.c: Likewise.
7227         * soft-fp/floatuntidf.c: Likewise.
7228         * soft-fp/floatuntisf.c: Likewise.
7229         * soft-fp/floatuntitf.c: Likewise.
7230         * soft-fp/trunctfxf2.c: Likewise.
7232 2013-10-10  David S. Miller  <davem@davemloft.net>
7234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7236 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7238         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7239         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7240         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7241         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7242         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7243         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7244         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7246         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7247         for NaNs before doing comparisons on argument.
7248         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7249         Likewise.
7251 2013-10-10  Will Newton  <will.newton@linaro.org>
7253         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7254         passed to _int_memalign does not overflow.
7256 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7258         * scripts/bench.pl: Add include-sources directive.
7259         * benchtests/README: Update documentation.
7261 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7263         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7264         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7265         instead of FP_INIT_ROUNDMODE.
7266         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7267         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7269         [BZ #16034]
7270         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7271         copy class of input value.
7272         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7273         not handle exceptions.
7274         * soft-fp/negsf2.c (__negsf2): Likewise.
7275         * soft-fp/negtf2.c (__negtf2): Likewise.
7276         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7278 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7280         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7281         semicolon.  From Linux kernel.
7283 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7285         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7287 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7289         [BZ #156]
7290         * manual/socket.texi: Added statement about buffer
7291         for gethostbyname2_r.
7293 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7295         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7296         Use .p2align directive instead, throughout.
7297         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7298         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7299         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7300         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7301         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7302         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7303         * sysdeps/x86_64/strchr.S: Likewise.
7304         * sysdeps/x86_64/strrchr.S: Likewise.
7306 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7308         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7310         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7312         * sysdeps/generic/math_private.h (__mpsin1): Remove
7313         declaration.
7314         (__mpcos1): Likewise.
7315         (__mpsin): New argument __range_reduce.
7316         (__mpcos): Likewise.
7317         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7318         (slow): Use __mpsin and __mpcos.
7319         (slow1): Likewise.
7320         (slow2): Likewise.
7321         (sloww): Likewise.
7322         (sloww1): Likewise.
7323         (sloww2): Likewise.
7324         (bsloww): Likewise.
7325         (bsloww1): Likewise.
7326         (bsloww2): Likewise.
7327         (cslow2): Likewise.
7328         (csloww): Likewise.
7329         (csloww1): Likewise.
7330         (csloww2): Likewise.
7331         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7332         range_reduce.  Merge in __mpsin1.
7333         (__mpcos): Likewise.
7334         (__mpsin1): Remove.
7335         (__mpcos1): Likewise.
7337 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
7339         * locale/loadlocale.c (_nl_intern_locale_data): Use
7340         LOCFILE_ALIGNED_P.
7341         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7342         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7343         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7344         obstack data is appropriately aligned.
7345         (obstack_int32_grow_fast): Likewise.
7346         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
7347         * locale/programs/locfile.c (add_locale_uint32): Likewise.
7348         (add_locale_uint32_array): Likewise.
7350 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7352         * benchtests/Makefile: Remove ARGLIST and RET variables.
7353         ($(objpfx)bench-%.c): Pass only function name to the script.
7354         * benchtests/README: Update documentation.
7355         * benchtests/acos-inputs: Add new directives.
7356         * benchtests/acosh-inputs: Likewise.
7357         * benchtests/asin-inputs: Likewise.
7358         * benchtests/asinh-inputs: Likewise.
7359         * benchtests/atan-inputs: Likewise.
7360         * benchtests/atanh-inputs: Likewise.
7361         * benchtests/cos-inputs: Likewise.
7362         * benchtests/cosh-inputs: Likewise.
7363         * benchtests/exp-inputs: Likewise.
7364         * benchtests/log-inputs: Likewise.
7365         * benchtests/pow-inputs: Likewise.
7366         * benchtests/rint-inputs: Likewise.
7367         * benchtests/sin-inputs: Likewise.
7368         * benchtests/sinh-inputs: Likewise.
7369         * benchtests/tan-inputs: Likewise.
7370         * benchtests/tanh-inputs: Likewise.
7371         * scripts/bench.pl: Add support for new directives.
7373 2013-10-07  Alan Modra  <amodra@gmail.com>
7375         * README: Fix careless merge.
7377 2013-10-05  Alan Modra  <amodra@gmail.com>
7379         * NEWS: Mention powerpc64le support and bugs fixed.
7380         * README: Both big-endian and little-endian powerpc64 supported.
7382 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7384         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
7385         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7386         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
7387         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
7389 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
7391         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
7392         match prototype.
7394 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
7396         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
7397         Move -mhard-float appending from
7398         ports/sysdeps/powerpc/powerpc32/Makefile.
7399         [$(with-fp) = yes] (ASFLAGS): Likewise.
7400         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
7401         * sysdeps/powerpc/nofpu: Move directory from
7402         ports/sysdeps/powerpc/nofpu.
7403         * sysdeps/powerpc/soft-fp: Move directory from
7404         ports/sysdeps/powerpc/soft-fp.
7405         * sysdeps/powerpc/powerpc32/405: Move directory from
7406         ports/sysdeps/powerpc/powerpc32/405.
7407         * sysdeps/powerpc/powerpc32/440: Move directory from
7408         ports/sysdeps/powerpc/powerpc32/440.
7409         * sysdeps/powerpc/powerpc32/464: Move directory from
7410         ports/sysdeps/powerpc/powerpc32/464.
7411         * sysdeps/powerpc/powerpc32/476: Move directory from
7412         ports/sysdeps/powerpc/powerpc32/476.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
7414         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
7416         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
7418         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
7420         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
7422         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
7423         * README: Update for powerpc-*-linux-gnu software floating point
7424         support in libc.
7426         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
7427         case to powerpc/powerpc32*.
7428         * sysdeps/unix/sysv/linux/configure: Regenerated.
7430         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
7431         (_FPU_MASK_OM): Define as 0x04.
7432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
7433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
7434         0x00c10080.
7435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
7436         0x0000003c.
7437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
7440         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7441         getcontext_e500.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
7443         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
7444         setcontext_e500.
7445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7446         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
7447         and setcontext_e500.
7449 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
7451         * locale/iso-3166.def: Update iso-1366.def and related occurrences
7453 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7455         * manual/threads.texi (Default Thread Attributes): Fix typo.
7457 2013-10-04  Will Newton  <will.newton@linaro.org>
7459         * malloc/Makefile: Add tst-memalign.
7460         * malloc/tst-memalign.c: New file.
7462         * malloc/tst-posix_memalign.c: Add comments.
7463         (do_test): Add comments and call free on all potentially
7464         allocated pointers. Add space after cast.
7466         * malloc/tst-pvalloc.c: Add comments.
7467         (do_test): Add comments and call free on all potentially
7468         allocated pointers. Remove duplicate check for NULL pointer.
7469         Add space after cast.
7471         * malloc/tst-valloc.c: Add comments.
7472         (do_test): Add comments and call free on all potentially
7473         allocated pointers. Remove duplicate check for NULL pointer.
7474         Add space after cast.
7476 2013-10-04  Alan Modra  <amodra@gmail.com>
7478         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7479         Use stdint types in rather than __attribute__((mode())).
7480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7482 2013-10-04  Alan Modra  <amodra@gmail.com>
7484         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7485         Correct handling of unaligned relocs for little-endian.
7486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7488 2013-10-04  Alan Modra  <amodra@gmail.com>
7490         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
7491         * configure: Regenerate.
7492         * nptl/shlib-versions: Powerpc*le starts at 2.18.
7493         * shlib-versions: Likewise.
7495 2013-10-04  Alan Modra  <amodra@gmail.com>
7497         * string/tester.c (test_memrchr): Increment reported test cycle.
7499 2013-10-04  Alan Modra  <amodra@gmail.com>
7501         * string/test-memcpy.c (do_one_test): When reporting errors, print
7502         string address and don't overrun end of string.
7504 2013-10-04  Alan Modra  <amodra@gmail.com>
7506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
7507         insrdi.  Make better use of reg selection to speed exit slightly.
7508         Schedule entry path a little better.  Remove useless "are we done"
7509         checks on entry to main loop.  Handle wrapping around zero address.
7510         Correct main loop count.  Handle single left-over word from main
7511         loop inline rather than by using loop_small.  Remove extra word
7512         case in loop_small caused by wrong loop count.  Add little-endian
7513         support.
7514         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
7516         cache hint.
7517         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7518         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
7519         support.  Avoid rlwimi.
7520         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
7522 2013-10-04  Alan Modra  <amodra@gmail.com>
7524         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
7525         insrdi.  Formatting.
7526         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
7527         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7528         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7529         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7530         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7531         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
7533 2013-10-04  Alan Modra  <amodra@gmail.com>
7535         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
7536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7537         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7538         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7539         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7541         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7542         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7543         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
7544         use of regs.  Use power7 mtocrf.  Tidy function tails.
7546 2013-10-04  Alan Modra  <amodra@gmail.com>
7548         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
7549         Formatting.  Consistently use rXXX register defines or rN defines.
7550         Use early exit labels that avoid restoring unused non-volatile regs.
7551         Make cr field use more consistent with rWORDn compares.  Rename
7552         regs used as shift registers for unaligned loop, using rN defines
7553         for short lifetime/multiple use regs.
7554         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7555         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
7556         addi 1,1,64 to pop stack frame.  Simplify return value code.
7557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7559 2013-10-04  Alan Modra  <amodra@gmail.com>
7561         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
7562         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
7563         rather than rlwimi.
7564         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7565         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
7566         little-endian support.  Correct typos.
7567         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
7568         rather than rlwimi.
7569         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
7570         in loop and entry code to keep "and." results.
7571         (strchr): Add little-endian support.  Comment.  Move cntlzd
7572         earlier in tail.
7573         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
7575 2013-10-04  Alan Modra  <amodra@gmail.com>
7577         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
7578         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
7579         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7580         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
7582 2013-10-04  Alan Modra  <amodra@gmail.com>
7584         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
7585         (rTMP): Define as r11.
7586         (strcmp): Add little-endian support.  Optimise tail.
7587         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
7588         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7589         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7590         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7591         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7592         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7593         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7595 2013-10-04  Alan Modra  <amodra@gmail.com>
7597         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
7598         little-endian support.  Remove unnecessary "are we done" tests.
7599         Handle "s" wrapping around zero and extremely large "size".
7600         Correct main loop count.  Handle single left-over word from main
7601         loop inline rather than by using small_loop.  Correct comments.
7602         Delete "zero" tail, use "end_max" instead.
7603         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
7605 2013-10-04  Alan Modra  <amodra@gmail.com>
7607         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
7608         support.  Don't branch over align.
7609         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
7610         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
7611         support.  Rearrange tmp reg use to suit.  Comment.
7612         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
7614 2013-10-04  Alan Modra  <amodra@gmail.com>
7616         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
7618 2013-10-04  Alan Modra  <amodra@gmail.com>
7620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
7621         conditional form of branch and link when obtaining pc.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7624 2013-10-04  Alan Modra  <amodra@gmail.com>
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
7627         HIWORD/LOWORD.
7628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7631 2013-10-04  Alan Modra  <amodra@gmail.com>
7633         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7634         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7635         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7636         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7637         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7638         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7639         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7640         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7641         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7642         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7644 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7645             Alistair Popple <alistair@ozlabs.au.ibm.com>
7646             Alan Modra <amodra@gmail.com>
7648         [BZ #15723]
7649         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7650         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7651         _dl_hwcap access for little-endian.
7652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
7653         destroy vmx regs when saving unaligned.
7654         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7655         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
7656         destroy vmx regs when saving unaligned.
7658 2013-10-04  Alan Modra  <amodra@gmail.com>
7660         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7661         Don't use a union to pack hi/low value.
7663 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7665         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7666         for little-endian.
7667         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7668         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7669         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7670         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7671         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7673 2013-10-04  Alan Modra  <amodra@gmail.com>
7675         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7676         constants to usual value for .cst8 section, and remove redundant
7677         high address load.
7678         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7679         constant for 0x1p52.  Load little-endian words of double from
7680         correct stack offsets.
7682 2013-10-04  Alan Modra  <amodra@gmail.com>
7684         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7685         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7686         words of double from correct stack offsets.
7687         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7688         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7689         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7690         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7692         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7693         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7694         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7695         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7696         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7697         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7698         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7699         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7700         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7701         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7702         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7703         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7705 2013-10-04  Alan Modra  <amodra@gmail.com>
7707         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7708         64-bit int/double union.
7709         (_FPU_SETCW): Likewise.
7710         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7711         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7713 2013-10-04  Alan Modra  <amodra@gmail.com>
7715         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7716         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7718 2013-10-04  Alan Modra  <amodra@gmail.com>
7720         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7721         use vector int constants.
7722         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7724 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7726         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7727         array with long long.
7728         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7729         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7730         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7731         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7732         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7733         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7734         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7736         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7737         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7738         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7739         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7740         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7742 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
7744         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7745         (__signbit): Likewise.  Correct for little-endian.
7746         (__signbitl): Call __signbit.
7747         (lrint): Correct for little-endian.
7748         (lrintf): Call lrint.
7750 2013-10-04  Alan Modra  <amodra@gmail.com>
7752         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7753         union 32-bit int array member with 64-bit int array.
7754         (t515, tm256): Double rather than long double.
7755         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7757 2013-10-04  Alan Modra  <amodra@gmail.com>
7759         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7760         Delete.
7761         (IEEE854_LONG_DOUBLE_BIAS): Delete.
7762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7763         version of math_ldbl.h.
7765 2013-10-04  Alan Modra  <amodra@gmail.com>
7767         [BZ #15734], [BZ #15735]
7768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7769         all uses of ieee875 long double macros and unions.  Simplify test
7770         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
7771         ldbl_extract_mantissa value for ix,iy exponents.  Properly
7772         normalize after ldbl_extract_mantissa, and don't add hidden bit
7773         already handled.  Don't treat low word of ieee854 mantissa like
7774         low word of IBM long double and mask off bit when testing for
7775         zero.
7776         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7777         all uses of ieee875 long double macros and unions.  Simplify tests
7778         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
7779         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
7780         two1022, instead use their values.  Recognise that tests for large
7781         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
7782         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7783         Rewrite all uses of ieee875 long double macros and unions.  Simplify
7784         test for 0.0L and nan.  Correct negation.
7785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7786         ieee875 long double macros and unions.  Correct output for large
7787         magnitude x.  Correct absolute value calculation.
7788         (__erfcl): Likewise.
7789         * math/libm-test.inc: Add tests for errors discovered in IBM long
7790         double versions of fmodl, remainderl, erfl and erfcl.
7792 2013-10-04  Alan Modra  <amodra@gmail.com>
7794         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7795         all uses of ieee854 long double macros and unions.  Simplify tests
7796         for long doubles that are fully specified by the high double.
7797         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7798         Likewise.
7799         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7800         Remove dead code too.
7801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7802         (__ieee754_ynl): Likewise.
7803         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7804         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7805         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7806         Remove dead code too.
7807         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7808         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7809         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7810         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7811         Simplify.
7812         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7813         Simplify.
7814         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7815         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7816         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7817         Comment on variable precision.
7818         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7820         Likewise.
7821         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7822         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7823         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7824         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7825         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7827 2013-10-04  Alan Modra  <amodra@gmail.com>
7829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7831         all uses of ieee854 long double macros and unions.
7832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7834         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7835         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7836         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7837         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7838         Likewise.
7839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7840         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7841         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7843         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7844         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7845         Simplify sign and nan test too.
7846         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7847         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7848         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7849         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7850         Likewise.
7851         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7852         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7853         Likewise.
7854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7855         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7856         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7857         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7858         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7861 2013-10-04  Alan Modra  <amodra@gmail.com>
7863         * stdio-common/printf_size.c (__printf_size): Don't use
7864         union ieee854_long_double in fpnum union.
7865         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
7866         signbit macro to retrieve sign from long double.
7867         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7868         retrieve sign from long double.
7869         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7870         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7871         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7872         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7873         * math/test-misc.c (main): Don't use union ieee854_long_double.
7875 2013-10-04  Alan Modra  <amodra@gmail.com>
7877         [BZ #15680]
7878         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7880         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7881         calculation.  Remove unnecessary test for denormal exponent.
7882         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7883         Correct handling of denormals.  Avoid undefined shift behaviour.
7884         Correct normalisation of low mantissa when low double is denormal.
7885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7886         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
7887         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7888         Correct normalisation of low mantissa.  Test for overflow of high
7889         mantissa and normalise.
7890         (ldbl_nearbyint): Use more readable constant for two52.
7891         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7892         (__mpn_construct_long_double): Fix test for overflow of high
7893         mantissa and correct normalisation.  Avoid undefined shift.
7895 2013-10-04  Alan Modra  <amodra@gmail.com>
7897         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7898         (union ibm_extended_long_double): Define as an array of ieee754_double.
7899         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7900         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7901         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7902         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7904         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7906         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7907         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7908         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7909         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7911 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
7913         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7914         page size instead of calling getpagesize.
7916         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7917         (LOCFILE_ALIGN_MASK): Likewise.
7918         (LOCFILE_ALIGN_UP): Likewise.
7919         (LOCFILE_ALIGNED_P): Likewise.
7920         * locale/programs/ld-collate.c (collate_output): Use the new
7921         macros instead of __alignof__ (int32_t).
7922         * locale/weight.h (findidx): Likewise.
7924 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
7926         [BZ #431]
7927         * manual/string.texi: Fix strncat and wcsncat.
7929 2013-10-03  Brooks Moses  <bmoses@google.com>
7931         [BZ #15915]
7932         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7933         * Makerules: ...here, and adjust associated comments.
7935 2013-10-02  Will Newton  <will.newton@linaro.org>
7937         * malloc/Makefile: Add tst-pvalloc.
7938         * malloc/tst-pvalloc.c: New file.
7940 2013-10-02  Will Newton  <will.newton@linaro.org>
7942         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7943         improve test coverage.
7945 2013-10-02  Will Newton  <will.newton@linaro.org>
7947         * malloc/Makefile: Add tst-posix_memalign.
7948         * malloc/tst-posix_memalign.c: New file.
7950 2013-10-01  Eric Blake  <eblake@redhat.com>
7952         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7953         Use __THROWNL rather than __THROW on static functions.
7955 2013-09-30  Petr Machata  <pmachata@redhat.com>
7957         * elf/elf.h (R_AARCH64_ABS16): New macro.
7958         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7959         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7960         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7961         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7962         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7963         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7964         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7965         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7966         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7967         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7968         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7969         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7970         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7971         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7972         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7973         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7974         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7975         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7976         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7977         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7978         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7979         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7980         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7981         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7982         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7983         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7984         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7985         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7986         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7987         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7988         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7989         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7990         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7991         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7992         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7993         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7994         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7995         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7996         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7997         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7998         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7999         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8000         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8001         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8002         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8003         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8004         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8005         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8006         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8007         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8008         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8009         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8010         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8011         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8012         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8013         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8014         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8015         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8016         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8017         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8018         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8019         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8020         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8021         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8022         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8023         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8024         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8025         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8026         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8027         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8028         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8029         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8030         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8031         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8032         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8033         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8034         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8035         (R_AARCH64_TLSDESC_LDR): Likewise.
8036         (R_AARCH64_TLSDESC_ADD): Likewise.
8037         (R_AARCH64_TLSDESC_CALL): Likewise.
8039 2013-09-30  Andreas Schwab  <schwab@suse.de>
8041         [BZ #15048]
8042         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8043         the nss database lookup.
8044         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8047 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8049         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8051 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8053         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8054         ${Bash-specific parameter/pattern/string} parameter expansion.
8055         * sysdeps/unix/make-syscalls.sh: Likewise.
8057 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8059         * sysdeps/sh/stackguard-macros.h: New file.
8061 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8065         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8066         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8067         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8068         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8070 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8072         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8073         Fix thread ID register.
8075 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8077         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8078         [POSIX || UNIX98]: Require rather than permitting all symbols from
8079         <time.h>.
8080         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8081         element of struct sched_param.
8082         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8083         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8084         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8085         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8086         constant.
8088 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8090         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8091         argument calculation.
8093 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8095         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8096         Expect macro.
8097         [POSIX] (pthread_attr_t): Do not require type.
8098         [POSIX] (pthread_cond_t): Likewise.
8099         [POSIX] (pthread_condattr_t): Likewise.
8100         [POSIX] (pthread_key_t): Likewise.
8101         [POSIX] (pthread_mutex_t): Likewise.
8102         [POSIX] (pthread_mutexattr_t): Likewise.
8103         [POSIX] (pthread_once_t): Likewise.
8104         [POSIX] (pthread_t): Likewise.
8105         [POSIX-based standards] (pthread_atfork): Expect function.
8107 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8108             Richard Sandiford  <richard@codesourcery.com>
8110         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8111         (swap_endianness_p): New extern variable.
8112         (set_big_endian): New inline function.
8113         (maybe_swap_uint32): Likewise.
8114         (maybe_swap_uint32_array): Likewise.
8115         (maybe_swap_uint32_obstack): Likewise.
8116         * locale/programs/locfile.c: Include <stdbool.h>.
8117         (swap_endianness_p): New variable.
8118         (add_locale_uint32): Call maybe_swap_uint32.
8119         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8120         (write_locale_data): Call maybe_swap_uint32_array.
8121         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8122         maybe_swap_uint32.
8123         (obstack_int32_grow_fast): Likewise.
8124         (output_weightwc): Call maybe_swap_uint32_obstack.
8125         (collate_output): Likewise.
8126         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8127         (OPT_LITTLE_ENDIAN): Likewise.
8128         (options): Add --little-endian and --big-endian options.
8129         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8130         * locale/programs/locarchive.c: Include "locfile.h".
8131         (GET): New macro.
8132         (SET): Likewise.
8133         (INC): Likewise.
8134         (create_archive): Use the new macros to access fields of
8135         structures directly mapped from or written to locale archives.
8136         (oldlocrecentcmp): Likewise.
8137         (enlarge_archive): Likewise.
8138         (insert_name): Likewise.
8139         (add_alias): Likewise.
8140         (add_locale): Likewise.
8141         (delete_locales_from_archive): Likewise.
8142         (show_archive_content): Likewise.
8143         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8144         locale data.
8146 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8148         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8149         http://www.gnu.org/doc/freemanuals.texi.
8150         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8152 2013-09-24  Will Newton  <will.newton@linaro.org>
8154         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8155         macro.
8157 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8159         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8160         unsigned char.
8162 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8164         * manual/threads.texi (POSIX Threads): Fix a typo.
8166 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8168         [BZ #14547]
8169         * string/tst-strcoll-overflow.c: New test case.
8170         * string/Makefile (xtests): Add tst-strcoll-overflow.
8171         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8172         cache if string sizes may cause integer overflow.
8174         [BZ #14547]
8175         * string/strcoll_l.c (coll_seq): New members rule, idx,
8176         save_idx and back_us.
8177         (get_next_seq_nocache): New function.
8178         (do_compare_nocache): New function.
8179         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8180         when malloc fails.
8182 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8184         [BZ #15754]
8185         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8186         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8187         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8189         [BZ #15754]
8190         * elf/Makefile (tests): Add tst-ptrguard1.
8191         (tests-static): Add tst-ptrguard1-static.
8192         (tst-ptrguard1-ARGS): Define.
8193         (tst-ptrguard1-static-ARGS): Define.
8194         * elf/tst-ptrguard1.c: New file.
8195         * elf/tst-ptrguard1-static.c: New file.
8196         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8197         * sysdeps/i386/stackguard-macros.h: Likewise.
8198         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8199         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8200         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8201         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8202         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8203         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8205 2013-09-23  Hector Marco  <hecmargi@upv.es>
8206             Ismael Ripoll  <iripoll@disca.upv.es>
8207             Carlos O'Donell  <carlos@redhat.com>
8209         [BZ #15754]
8210         * sysdeps/generic/stackguard-macros.h: Define
8211         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8212         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8213         Define __pointer_chk_guard_local.
8214         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8215         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8217 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8219         [BZ #15859]
8220         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8222 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8224         * include/string.h (__ffs): Declare as hidden.
8225         * string/ffs.c (__ffs): Define as hidden.
8226         * sysdeps/i386/ffs.c (__ffs): Likewise.
8227         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8228         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8229         * sysdeps/s390/ffs.c (__ffs): Likewise.
8230         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8232 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8234         * NEWS: Mention malloc probes.
8236         * malloc/arena.c (new_heap): New memory_heap_new probe.
8237         (grow_heap): New memory_heap_more probe.
8238         (shrink_heap): New memory_heap_less probe.
8239         (heap_trim): New memory_heap_free probe.
8240         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8241         (systrim): New memory_sbrk_less probe.
8242         * manual/probes.texi: Document them.
8244         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8245         * manual/probes.texi: Document it.
8247         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8248         (__libc_realloc): Add memory_realloc_retry probe.
8249         (__libc_memalign): Add memory_memalign_retry probe.
8250         (__libc_valloc): Add memory_valloc_retry probe.
8251         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8252         (__libc_calloc): Add memory_calloc_retry probe.
8253         * manual/probes.texi: Document them.
8255         * malloc/arena.c (get_free_list): Add probe
8256         memory_arena_reuse_free_list.
8257         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8258         and memory_arena_reuse.
8259         (arena_get2) [!PER_THREAD]: Likewise.
8260         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8261         memory_arena_reuse_realloc.
8262         * manual/probes.texi: Document them.
8264         * malloc/malloc.c (__libc_free): Add
8265         memory_mallopt_free_dyn_thresholds probe.
8266         (__libc_mallopt): Add multiple memory_mallopt probes.
8267         * manual/probes.texi: Document them.
8269         * malloc/malloc.c: Include stap-probe.h.
8270         (__libc_mallopt): Add memory_mallopt probe.
8271         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8272         * manual/probes.texi: New.
8273         * manual/Makefile (chapters): Add probes.
8274         * manual/threads.texi: Set next node.
8276 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8278         [BZ #15963, #13985]
8279         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8280         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8281         Add `Chinese' to `nan' entry name.
8283 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8286         (POLYNOMIAL): Likewise.
8287         (TAYLOR_SINCOS): Likewise.
8288         (TAYLOR_SLOW): Likewise.
8289         (__sin): Use TAYLOR_SINCOS.
8290         (__cos): Likewise.
8291         (slow): Use TAYLOR_SLOW.
8292         (sloww): Likewise.
8293         (bsloww): Likewise.
8294         (csloww): Likewise.
8296 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8298         * stdlib/strtod_l.c: Fix buffer overrun.
8300 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8302         * benchtests/Makefile (bench): Add sincos.
8303         * benchtests/bench-sincos.c: New file.
8305         * math/libm-test.inc (cos_test_data): New test inputs.
8306         (sin_test_data): Likewise.
8308         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8309         macro.
8310         (__sin): Use it.
8311         (__cos): Likewise.
8312         (slow1): Likewise.
8313         (slow2): Likewise.
8314         (sloww1): Likewise.
8315         (sloww2): Likewise.
8316         (bsloww1): Likewise.
8317         (bsloww2): Likewise.
8318         (cslow2): Likewise.
8319         (csloww1): Likewise.
8320         (csloww2): Likewise.
8322         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8323         function.
8324         (__sin): Use it.
8325         (__cos): Likewise.
8327         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8328         gotos.
8329         (__cos): Likewise.
8331 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
8333         * config.h.in (HAVE_MIPS_NAN2008): New macro.
8334         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8335         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8336         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8337         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8338         * elf/cache.c (print_entry): Handle the new cache flags.
8340 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8341             Aldy Hernandez  <aldyh@redhat.com>
8343         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8344         Change condition to [_SOFT_FLOAT].
8345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
8346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
8347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
8348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
8349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
8350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
8351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
8352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
8353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
8354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
8355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
8356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
8357         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
8358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
8359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
8360         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
8361         declaration.
8363 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8365         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
8366         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8367         (__longjmp): Use LOAD_GP to load saved GPRs.
8368         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
8369         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
8370         (__sigsetjmp): Use SAVE_GP to save GPRs.
8372         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
8373         Do not append -msoft-float.
8374         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
8376 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8378         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
8380 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
8382         [BZ #15966]
8383         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
8384         (_FPU_GETCW): Use initial "__" on variable and field names but not
8385         on macro parameter name.
8386         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
8387         parentheses around reference to macro parameter.
8389 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
8391         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
8392         prototype.
8393         (ctype_startup): Use uint32_t in cast and sizeof for
8394         ctype->charnames.
8396 2013-09-11  Jia Liu  <proljc@gmail.com>
8398         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
8399         __daddr_t_defined.
8400         [__FreeBSD__]: Likewise.
8402 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
8404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8405         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
8406         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
8407         (strchr): Remove __strchr_sse42 ifunc selection.
8408         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
8409         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
8411 2013-09-11  Will Newton  <will.newton@linaro.org>
8413         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
8414         parameter to RES. Remove hardcoded 1000 value.
8415         * benchtests/bench-skeleton.c (main): Pass RES parameter
8416         to TIMING_INIT and multiply result by 1000.
8418 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8422 2013-09-11  Andreas Schwab  <schwab@suse.de>
8424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8425         if not defined.
8426         (O_TMPFILE) [__USE_GNU]: Define.
8427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
8428         Define.
8430 2013-09-11  Will Newton  <will.newton@linaro.org>
8432         [BZ #15857]
8433         * malloc/malloc.c (__libc_memalign): Check the value of bytes
8434         does not overflow.
8436 2013-09-11  Will Newton  <will.newton@linaro.org>
8438         [BZ #15856]
8439         * malloc/malloc.c (__libc_valloc): Check the value of bytes
8440         does not overflow.
8442 2013-09-11  Will Newton  <will.newton@linaro.org>
8444         [BZ #15855]
8445         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
8446         does not overflow.
8448 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
8450         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
8451         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8452         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8453         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8454         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8456 2013-09-10  Allan McRae  <allan@archlinux.org>
8458         [BZ #15748]
8459         * manual/arith.texi (Parsing of Floats): Clarify
8460         cross-reference.
8462         [BZ #15849]
8463         * manual/install.texi (Running make install): Mention
8464         --enable-pt-chown.
8465         * INSTALL: Regenerated.
8467 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
8469         * csu/init-first.c (_init): Remove the !SHARED condition around
8470         FPU control word initialization.
8471         * elf/dl-support.c (_dl_fpu_control): New variable.
8472         (_dl_aux_init) <AT_FPUCW>: Initialize it.
8473         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
8474         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
8475         * math/test-fpucw-static.c: New file.
8476         * math/test-fpucw-ieee.c: New file.
8477         * math/test-fpucw-ieee-static.c: New file.
8478         * math/Makefile (tests): Add `test-fpucw-ieee' and
8479         `$(tests-static)'.
8480         (tests-static): New variable.
8481         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
8482         dependency to...
8483         [($(build-shared),yes)]
8484         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8485         ... this.
8486         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
8487         New dependency.
8489 2013-09-09  Allan McRae  <allan@archlinux.org>
8491         [BZ #15939]
8492         * manual/string.texi (Collation Functions): Fix typo in
8493         strcoll example.
8494         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
8496         [BZ #15893]
8497         * stdlib/isomac.c (get_null_defines): Fix memory leak.
8499         [BZ #15892]
8500         * libio/memstream.c (open_memstream): Fix memory leak.
8501         * libio/wmemstream.c (open_wmemstream): Likewise.
8503         [BZ #15895]
8504         * nscd/netgroupcache.c: Fix nesting of ifdefs.
8506 2013-09-09  Will Newton  <will.newton@linaro.org>
8508         * malloc/Makefile: Add tst-realloc to tests.
8509         * malloc/tst-realloc.c: New file.
8511 2013-09-09  Allan McRae  <allan@archlinux.org>
8513         [BZ #15844]
8514         * COPYING: Update from GNU website to fix FSF address.
8515         * COPYING.LIB: Likewise.
8517 2013-09-06  David S. Miller  <davem@davemloft.net>
8519         * po/zh_TW.po: Update Chinese (traditional) translation from
8520         translation project.
8522 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
8523             Joseph Myers  <joseph@codesourcery.com>
8525         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
8526         "localeinfo.h".
8527         (obstack_chunk_alloc): New macro.
8528         (obstack_chunk_free): Likewise.
8529         (record_offset): New function.
8530         (init_locale_data): Likewise.
8531         (align_locale_data): Likewise.
8532         (add_locale_empty): Likewise.
8533         (add_locale_raw_data): Likewise.
8534         (add_locale_raw_obstack): Likewise.
8535         (add_locale_string): Likewise.
8536         (add_locale_wstring): Likewise.
8537         (add_locale_uint32): Likewise.
8538         (add_locale_uint32_array): Likewise.
8539         (add_locale_char): Likewise.
8540         (start_locale_structure): Likewise.
8541         (end_locale_structure): Likewise.
8542         (start_locale_prelude): Likewise.
8543         (end_locale_prelude): Likewise.
8544         (write_locale_data): Take locale_file structure rather than an
8545         iovec.
8546         * locale/programs/locfile.h: Include "obstack.h".
8547         (struct locale_file): Change to store locale file contents instead
8548         of header.
8549         (init_locale_data): New prototype.
8550         (align_locale_data): Likewise.
8551         (add_locale_empty): Likewise.
8552         (add_locale_raw_data): Likewise.
8553         (add_locale_raw_obstack): Likewise.
8554         (add_locale_string): Likewise.
8555         (add_locale_wstring): Likewise.
8556         (add_locale_uint32): Likewise.
8557         (add_locale_uint32_array): Likewise.
8558         (add_locale_char): Likewise.
8559         (start_locale_structure): Likewise.
8560         (end_locale_structure): Likewise.
8561         (start_locale_prelude): Likewise.
8562         (end_locale_prelude): Likewise.
8563         (write_locale_data): Update prototype.
8564         * locale/programs/3level.h (struct TABLE): Remove result field.
8565         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
8566         Use new locale_file interface.
8567         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
8568         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
8569         * locale/programs/ld-address.c (address_output): Use new
8570         locale_file interface.
8571         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
8572         NO_ADD_LOCALE.
8573         (collate_finish): Don't call collseq_table_finalize.
8574         (collate_output): Use new locale_file interface.
8575         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
8576         in file.
8577         (NO_FINALIZE): Change to NO_ADD_LOCALE.
8578         (TABLE): Move defines earlier in file.
8579         (ELEMENT): Likewise.
8580         (DEFAULT): Likewise.
8581         (wctrans_table_add): Move macro and inline function earlier in
8582         file.
8583         (struct wctype_table): Move type earlier in file.
8584         (add_locale_wctype_table): New static prototype.
8585         (struct locale_ctype_t): Use logical types instead of struct iovec
8586         pointers for members.
8587         (ctype_output): Use new locale_file interface.
8588         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
8589         new locale_file interface.
8590         (allocate_arrays): Update for use of new locale_file interface.
8591         * locale/programs/ld-identification.c (identification_output): Use
8592         new locale_file interface.
8593         * locale/programs/ld-measurement.c (measurement_output): Likewise.
8594         * locale/programs/ld-messages.c (messages_output): Likewise.
8595         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8596         * locale/programs/ld-name.c (name_output): Likewise.
8597         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8598         * locale/programs/ld-paper.c (paper_output): Likewise.
8599         * locale/programs/ld-telephone.c (telephone_output): Likewise.
8600         * locale/programs/ld-time.c (time_output): Likewise.
8602 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8604         * benchtests/Makefile: Add memrchr benchmark.
8605         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
8606         benchmark as memrchr.
8607         * benchtests/bench-memrchr-ifunc.c: New file.
8608         * benchtests/bench-memrchr.c: New file.
8610 2013-09-06   Will Newton  <will.newton@linaro.org>
8612         * benchtests/Makefile (string-bench): Add memcpy.
8614 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
8615             Cong Wang  <amwang@redhat.com>
8617         [BZ #15850]
8618         * sysdeps/unix/sysv/linux/bits/in.h
8619         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
8620         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
8621         before __USE_KERNEL_IPV6_DEFS uses.
8622         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
8623         IPPROTO_BEETPH.
8624         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
8625         sockaddr_in6, or ipv6_mreq.
8627 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8629         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
8630         memory access for final bytes in some large inputs.
8631         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8633 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8635         * string/test-memrchr.c: New file.
8636         * string/test-memrchr-ifunc.c: New file.
8637         * string/Makefile: Add new memrchr testcase.
8639 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
8641         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8642         fanotify_init returns EPERM.
8644 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8646         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8647         errors.
8648         (top level): Treat second token from macro or constant entries for
8649         allowed headers as allowed.
8650         * include/complex.h: Condition internal declarations on
8651         [!_ISOMAC].
8652         * include/fenv.h: Condition include of <stdbool.h> and internal
8653         declarations on [!_ISOMAC].
8655 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
8657         [BZ #15923]
8658         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8660 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
8662         * configure.in (--enable-versioning): Remove configure option.
8663         (libc_cv_asm_symver_directive): Remove configure test.
8664         (libc_cv_ld_version_script_option): Likewise.
8665         (VERSIONING): Remove variable and AC_SUBST.
8666         (DO_VERSIONING): Remove AC_DEFINE.
8667         * configure: Regenerated.
8668         * config.h.in (DO_VERSIONING): Remove macro.
8669         * Makerules [$(versioning) = yes]: Change conditionals to
8670         [$(build-shared) = yes].
8671         * config.make.in (versioning): Remove variable.
8672         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8673         [$(build-shared) = yes].
8674         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8675         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8676         * elf/Makefile [$(versioning) = yes]: Change conditionals to
8677         [$(build-shared) = yes].
8678         * extra-lib.mk [$(versioning) = yes]: Likewise.
8679         * hurd/Makefile [$(versioning) = yes]: Likewise.
8680         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8681         [SHARED].
8682         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8683         [SHARED].
8684         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8685         [SHARED && !NO_HIDDEN].
8686         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8687         [SHARED].
8688         [SHARED && DO_VERSIONING]: Likewise..
8689         * libio/Makefile [$(versioning) = yes]: Change conditionals to
8690         [$(build-shared) = yes].
8691         * manual/install.texi (--disable-versioning): Remove
8692         documentation.
8693         * INSTALL: Regenerated.
8694         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8695         to [SHARED].
8696         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8697         [$(build-shared) = yes].
8698         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8699         * sysdeps/i386/i686/multiarch/strstr-c.c
8700         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8701         [SHARED && !NO_HIDDEN].
8702         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8703         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8704         * sysdeps/powerpc/powerpc32/dl-machine.c
8705         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8706         * sysdeps/powerpc/powerpc32/sysdep.h
8707         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8708         to [SHARED && PIC && !NO_HIDDEN].
8709         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8710         conditional to [SHARED].
8712 2013-09-04   Will Newton  <will.newton@linaro.org>
8714         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8715         * benchtests/bench-string.h: Include bench-timing.h instead
8716         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8717         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8718         call to HP_TIMING_DIFF_INIT.
8719         * benchtests/bench-memccpy.c: Use bench-timing.h macros
8720         instead of hp-timing.h macros.
8721         * benchtests/bench-memchr.c: Likewise.
8722         * benchtests/bench-memcmp.c: Likewise.
8723         * benchtests/bench-memcpy.c: Likewise.
8724         * benchtests/bench-memmem.c: Likewise.
8725         * benchtests/bench-memmove.c: Likewise.
8726         * benchtests/bench-memset.c: Likewise.
8727         * benchtests/bench-rawmemchr.c: Likewise.
8728         * benchtests/bench-strcasecmp.c: Likewise.
8729         * benchtests/bench-strcasestr.c: Likewise.
8730         * benchtests/bench-strcat.c: Likewise.
8731         * benchtests/bench-strchr.c: Likewise.
8732         * benchtests/bench-strcmp.c: Likewise.
8733         * benchtests/bench-strcpy.c: Likewise.
8734         * benchtests/bench-strcpy_chk.c: Likewise.
8735         * benchtests/bench-strlen.c: Likewise.
8736         * benchtests/bench-strncasecmp.c: Likewise.
8737         * benchtests/bench-strncat.c: Likewise.
8738         * benchtests/bench-strncmp.c: Likewise.
8739         * benchtests/bench-strncpy.c: Likewise.
8740         * benchtests/bench-strnlen.c: Likewise.
8741         * benchtests/bench-strpbrk.c: Likewise.
8742         * benchtests/bench-strrchr.c: Likewise.
8743         * benchtests/bench-strspn.c: Likewise.
8744         * benchtests/bench-strstr.c: Likewise.
8746 2013-09-04  Will Newton  <will.newton@linaro.org>
8748         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8750 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
8752         [BZ #15427]
8753         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8754         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8755         * math/libm-test.inc (lgamma_test_data): Add more tests.
8756         * sysdeps/i386/fpu/libm-test-ulps: Update.
8757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8759 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
8761         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8763         Add ifunc.
8764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8765         Add strcmp-sse2-unaligned
8766         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8768 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8770         * Versions.def (libc): Add GLIBC_2.19.
8772 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
8774         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8775         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8777 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
8779         [BZ #14155]
8780         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8781         intermediate calculations in recurrence.
8782         (__ieee754_ynf): Likewise.
8783         * math/libm-test.inc (jn_test_data): Do not allow spurious
8784         underflow exception.  Add more tests.
8785         (yn_test_data): Add more tests.
8786         * sysdeps/i386/fpu/libm-test-ulps: Update.
8787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8789 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
8791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8793 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8795         * csu/init-first.c: Fix then/than typos.
8796         * locale/programs/ld-collate.c: Likewise.
8797         * locale/programs/linereader.h: Likewise.
8798         * manual/charset.texi: Likewise.
8799         * manual/filesys.texi: Likewise.
8800         * manual/stdio.texi: Likewise.
8801         * manual/string.texi: Likewise.
8802         * stdlib/fmtmsg.c: Likewise.
8803         * sysdeps/i386/stpncpy.S: Likewise.
8804         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8805         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8806         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8807         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8809 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
8811         * elf/dl-open.c: Fix typos.
8812         * iconvdata/gbbig5.c: Likewise.
8813         * iconvdata/iso-2022-jp.c: Likewise.
8814         * iconv/gconv_int.h: Likewise.
8815         * iconv/loop.c: Likewise.
8816         * nis/rpcsvc/nis.h: Likewise.
8817         * resolv/ns_name.c: Likewise.
8818         * stdio-common/vfscanf.c: Likewise.
8819         * streams/stropts.h: Likewise.
8820         * sunrpc/rpc_thread.c: Likewise.
8821         * sysdeps/i386/strpbrk.S: Likewise.
8822         * sysdeps/ieee754/k_standard.c: Likewise.
8823         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8825         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8826         * sysdeps/mach/hurd/profil.c: Likewise.
8827         * sysdeps/s390/dl-procinfo.h: Likewise.
8828         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8829         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8830         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8831         * sysdeps/x86_64/dl-trampoline.S: Likewise.
8832         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8834 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
8836         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8839 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
8841         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8842         aix specific files.
8843         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8844         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8845         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8846         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8847         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8848         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8850         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8852 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8853             Roland McGrath  <roland@hack.frob.com>
8855         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8856         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8858 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8860         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8861         __executable_start symbol instead of _start.
8863 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
8865         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8866         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8867         Move macros to...
8868         * sysdeps/gnu/ldsodefs.h: ... this new file.
8870         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8871         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8872         instead of ELFOSABI_LINUX.
8874         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8875         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8876         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8877         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8878         Likewise.
8879         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8880         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8881         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8882         Likewise.
8883         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8884         (ibm_extended_long_double): Add ieee_nan member.
8885         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8886         (do_test): New function.
8888         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8889         TEST_TRUNC.
8890         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8891         functions, renamed from truncdfsf_test, trunctfsf_test,
8892         trunctfdf_test.
8893         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8894         functions.
8895         (do_test): Run all these.
8897 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
8899         * argp/argp-help.c: Fix typos.
8900         * argp/argp-parse.c: Likewise.
8901         * debug/backtracesyms.c: Likewise.
8902         * elf/elf.h: Likewise.
8903         * malloc/malloc.c: Likewise.
8904         * nis/nis_print.c: Likewise.
8905         * resolv/res_comp.c: Likewise.
8906         * stdlib/stdlib.h: Likewise.
8907         * sunrpc/clnt_tcp.c: Likewise.
8908         * sunrpc/clnt_udp.c: Likewise.
8909         * sunrpc/clnt_unix.c: Likewise.
8910         * sysdeps/unix/bsd/ptsname.c: Likewise.
8911         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8912         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8914         Likewise.
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8916         Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8921 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8923         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8926 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
8928         [BZ #15897]
8929         * dlfcn/Makefile (tests): Add bug-dl-leaf.
8930         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8931         ($(objpfx)bug-dl-leaf): New rule.
8932         ($(objpfx)bug-dl-leaf.so): Likewise.
8933         ($(objpfx)bug-dl-leaf.out): Likewise.
8934         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8935         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8936         * dlfcn/bug-dl-leaf.c: New test.
8937         * dlfcn/bug-dl-leaf-lib.c: Likewise.
8938         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8939         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8940         (dlclose): Likewise.
8941         (dlmopen): Likewise.
8943 2013-08-27  Roland McGrath  <roland@hack.frob.com>
8945         * include/netdb.h [!_ISOMAC]:
8946         Don't include <tls.h>.
8947         (h_errno, __libc_h_errno): Move declaration and macros out of
8948         [_LIBC_REENTRANT].
8950         * include/resolv.h [_RESOLV_H_]:
8951         Don't include <tls.h>.
8952         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8953         * resolv/res_libc.c: Don't include <tls.h>.
8954         (_res): Use __attribute__ ((nocommon)) in place of
8955         __attribute__ ((section (".bss"))).
8957         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8958         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8960         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8962         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8963         only under [SIOCGIFCONF && SIOCGIFNETMASK].
8965         * resolv/res_mkquery.c: Include <sys/time.h>.
8967         * inet/ifreq.c: Moved to ...
8968         * sysdeps/unix/ifreq.c: ... here.
8969         * inet/ifreq.c: New file, true stub version.
8971         * socket/sa_len.c: New file.
8972         * socket/Makefile (aux): Add it.
8973         * sysdeps/unix/sysv/linux/Makefile
8974         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8975         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8976         and #include <socket/sa_len.c>.
8977         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8978         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8980         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8981         * bits/socket.h: ... here.
8983         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8984         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8985         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8987 2013-08-27  Andreas Schwab  <schwab@suse.de>
8989         [BZ #15736]
8990         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8991         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8992         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8993         * string/test-strcasecmp.c (test_main): Run tests in several
8994         locales.
8995         * string/test-strncasecmp.c (test_main): Likewise.
8997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8998         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8999         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9001         (__strncasecmp_ssse3) [PIC]: Likewise.
9003 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9005         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9007         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9008         instead of explicitly declaring xdecrypt.
9009         * nis/nss_nis/nis-publickey.c: Likewise.
9011 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9013         [BZ #15890]
9014         * nscd/aicache.c: Include res_hconf.h.
9015         (addhstaiX): Initialize res_hconf.
9017 2013-08-26  Andreas Schwab  <schwab@suse.de>
9019         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9020         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9022 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9024         * nscd/aicache.c (addhstaiX): Fix indentation.
9026 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9028         * configure.ac: Quote $build_pt_chown test.
9029         * configure: Regenerated.
9031 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9033         [BZ #15532]
9034         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9035         * math/s_cexpf.c (__cexpf): Likewise.
9036         * math/s_cexpl.c (__cexpl): Likewise.
9037         * math/libm-test.inc (cexp_test_data): Correct expected return
9038         value for NaN + i0.  Add another test.
9040 2013-08-22  David S. Miller  <davem@davemloft.net>
9042         * po/ca.po: Update Catalan translation from translation project.
9043         * po/uk.po: Add Ukrainian translations from translation project.
9045 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9047         [BZ #15797]
9048         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9049         is infinite, not alongside NaN test.
9050         * math/s_fdimf.c (__fdimf): Likewise.
9051         * math/s_fdiml.c (__fdiml): Likewise.
9052         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9053         errno is unchanged.
9055 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9057         * argp/argp-help.c: Fix typos.
9058         * crypt/speeds.c: Likewise.
9059         * csu/check_fds.c: Likewise.
9060         * elf/dl-load.c: Likewise.
9061         * elf/dl-open.c: Likewise.
9062         * elf/reldep3.c: Likewise.
9063         * elf/reldep.c: Likewise.
9064         * elf/sprof.c: Likewise.
9065         * iconv/iconv_charmap.c: Likewise.
9066         * iconv/skeleton.c: Likewise.
9067         * iconv/strtab.c: Likewise.
9068         * io/lockf64.c: Likewise.
9069         * libio/libioP.h: Likewise.
9070         * resolv/gai_notify.c: Likewise.
9071         * resolv/ns_name.c: Likewise.
9072         * resolv/ns_samedomain.c: Likewise.
9073         * resolv/res_send.c: Likewise.
9074         * stdlib/random.c: Likewise.
9075         * sunrpc/rpc/xdr.h: Likewise.
9076         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9077         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9078         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9079         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9081         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9082         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9083         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9084         * sysdeps/mach/hurd/check_fds.c: Likewise.
9085         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9086         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9087         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9088         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9089         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9090         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9091         * sysdeps/pthread/aio_notify.c: Likewise.
9092         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9093         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9094         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9095         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9096         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9098 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9100         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9101         version if bit_Slow_SSE4_2 is set.
9102         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9105 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9107         [BZ #15867]
9108         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9109         trampoline stack frame information.
9110         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9111         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9112         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9113         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9114         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9115         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9116         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9117         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9118         sa_flags value.
9119         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9120         interrupting a syscall and set with option SA_SIGINFO.
9122 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #15531]
9125         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9126         argument is infinite.
9127         * math/s_cprojf.c (__cprojf): Likewise.
9128         * math/s_cprojl.c (__cprojl): Likewise.
9129         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9130         * math/libm-test.inc (cproj_test_data): Add more tests.
9132         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9134         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9135         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9136         size.  Use __ffs to determine corresponding shift.
9138 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9139             Roland McGrath  <roland@hack.frob.com>
9141         * Makefile (INSTALL): Remove trailing blank lines from output of
9142         makeinfo.
9144 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9146         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9147         Align 32 bit compat elf_greg to 8 bytes.
9149 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9151         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9153 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9155         * string/strcoll_l.c (coll_seq): New structure.
9156         (get_next_seq_cached): New function.
9157         (get_next_seq): New function.
9158         (do_compare): New function.
9159         (STRCOLL): Use GNU style definition.  Simplify implementation
9160         by using get_next_seq, get_next_seq_cached and do_compare.
9162 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9164         [BZ #14699]
9165         CVE-2013-4237
9166         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9167         member.
9168         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9169         member.
9170         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9171         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9172         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9173         conditional.
9174         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9175         GETDENTS_64BIT_ALIGNED.
9176         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9177         * manual/filesys.texi (Reading/Closing Directory): Document
9178         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9179         strongly.
9180         * manual/conf.texi (Limits for Files): Add portability note to
9181         NAME_MAX, PATH_MAX.
9182         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9184 2013-08-13  Andreas Schwab  <schwab@suse.de>
9186         [BZ #15749]
9187         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9188         of fabs.
9189         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9190         LDBL_MAX_EXP >= 16384]: Add tests for it.
9192 2013-08-12  David S. Miller  <davem@davemloft.net>
9194         * version.h (RELEASE): Set to "development".
9195         (VERSION): Set to "2.18.90".
9196         * NEWS: Add 2.19 section.
9198 2013-08-03  David S. Miller  <davem@davemloft.net>
9200         * po/ko.po: Update Korean translation from translation project.
9202 2013-08-01  David S. Miller  <davem@davemloft.net>
9204         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9205         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9206         Bilka.
9208 2013-07-30  David S. Miller  <davem@davemloft.net>
9210         * po/fr.po: Update French translation from translation project.
9212 2013-07-28  David S. Miller  <davem@davemloft.net>
9214         * po/cs.po: Update Czech translation from translation project.
9216         * po/sv.po: Update Swedish translation from translation project.
9218 2013-07-27  David S. Miller  <davem@davemloft.net>
9220         * po/eo.po: Update Esperanto translation from translation project.
9222         * po/vi.po: Update Vietnamese translation from translation project.
9224         * po/de.po: Update German translation from translation project.
9226 2013-07-26  David S. Miller  <davem@davemloft.net>
9228         * po/bg.po: Update Bulgarian translation from translation project.
9230         * po/nl.po: Update Dutch translation from translation project.
9231         * po/pl.po: Update Polish translation from translation project.
9232         * po/ru.po: Update Russian translation from translation project.
9234 2013-07-24  David S. Miller  <davem@davemloft.net>
9236         * po/libc.pot: Update.
9238 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9240         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9241         variable page size.
9242         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9244         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9246 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9248         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9250 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9251             Andreas Schwab  <schwab@suse.de>
9252             Roland McGrath  <roland@hack.frob.com>
9253             Joseph Myers  <joseph@codesourcery.com>
9254             Carlos O'Donell  <carlos@redhat.com>
9256         [BZ #15755]
9257         * config.h.in: Define HAVE_PT_CHOWN.
9258         * config.make.in (build-pt-chown): New variable.
9259         * configure.in (--enable-pt_chown): New configure option.
9260         * configure: Regenerate.
9261         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9262         build-pt-chown is enabled.
9263         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9264         pt_chown to fix pty ownership.
9265         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9266         CLOSE_ALL_FDS.
9267         * manual/install.texi (Configuring and compiling): Mention
9268         --enable-pt_chown. Add @findex for grantpt.
9269         * INSTALL: Regenerate.
9271 2013-07-20  David S. Miller  <davem@davemloft.net>
9273         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9274         difference between 32-bit and 64-bit.
9276 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9278         [BZ #15711]
9279         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9280         Avoid system header dependency with -ffreestanding.
9281         ($(objpfx)bits/syscall%d): Likewise.
9283 2013-07-13  David S. Miller  <davem@davemloft.net>
9285         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9286         underflows from atanl/atan2l due to bug 15319.
9287         (casinh_test_data): Likewise.
9289 2013-07-07  David S. Miller  <davem@davemloft.net>
9291         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9293 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9295         * sysdeps/i386/fpu/libm-test-ulps: Update.
9296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9298 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9300         * configure.in (--enable-lock-elision): Fix message text.
9301         * INSTALL: Regenerate.
9302         * configure: Regenerate.
9304 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9308 2013-07-03  Andreas Jaeger  <aj@suse.de>
9310         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9311         define.
9312         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9313         (ptrace_peeksiginfo_args): Add.
9314         (__ptrace_peeksiginfo_flags): Add.
9315         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9317         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9319 2013-07-03  Allan McRae  <allan@archlinux.org>
9321         * sysdeps/i386/fpu/libm-test-ulps: Update.
9323 2013-07-02  David S. Miller  <davem@davemloft.net>
9325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9327 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
9329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9331 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9333         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9336 2013-07-02  Andi Kleen <ak@linux.intel.com>
9338         * config.h.in (ENABLE_LOCK_ELISION): Add.
9339         * configure.in (--enable-lock-elision): Add option.
9340         * manual/install.texi: Document --enable lock elision.
9341         * configure: Regenerate
9342         * INSTALL: Regenerate.
9344 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9346         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
9347         SSE4.2 strcasecmp for libc.a.
9348         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9350 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9352         [BZ #13304]
9353         * soft-fp/op-common.h (_FP_FMA): New macro.
9354         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
9355         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
9356         (_FP_MUL_MEAT_1_imm): ... here.
9357         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
9358         (_FP_MUL_MEAT_1_wide): ... here.
9359         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
9360         (_FP_MUL_MEAT_1_hard): ... here.
9361         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
9362         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
9363         (_FP_MUL_MEAT_2_wide): ... here.
9364         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
9365         (_FP_MUL_MEAT_2_wide_3mul): ... here.
9366         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
9367         (_FP_MUL_MEAT_2_gmp): ... here.
9368         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
9369         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
9370         (_FP_MUL_MEAT_4_wide): ... here.
9371         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
9372         (_FP_MUL_MEAT_4_gmp): ... here.
9373         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
9374         (_FP_WFRACBITS_DW_S): Likewise.
9375         (_FP_WFRACXBITS_DW_S): Likewise.
9376         (_FP_HIGHBIT_DW_S): Likewise.
9377         (FP_FMA_S): Likewise.
9378         (_FP_FRAC_HIGH_DW_S): Likewise.
9379         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
9380         (_FP_WFRACBITS_DW_D): Likewise.
9381         (_FP_WFRACXBITS_DW_D): Likewise.
9382         (_FP_HIGHBIT_DW_D): Likewise.
9383         (FP_FMA_D): Likewise.
9384         (_FP_FRAC_HIGH_DW_D): Likewise.
9385         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
9386         (_FP_WFRACBITS_DW_E): Likewise.
9387         (_FP_WFRACXBITS_DW_E): Likewise.
9388         (_FP_HIGHBIT_DW_E): Likewise.
9389         (FP_FMA_E): Likewise.
9390         (_FP_FRAC_HIGH_DW_E): Likewise.
9391         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
9392         (_FP_WFRACBITS_DW_Q): Likewise.
9393         (_FP_WFRACXBITS_DW_Q): Likewise.
9394         (_FP_HIGHBIT_DW_Q): Likewise.
9395         (FP_FMA_Q): Likewise.
9396         (_FP_FRAC_HIGH_DW_Q): Likewise.
9397         * soft-fp/fmasf4.c: New file.
9398         * soft-fp/fmadf4.c: Likewise.
9399         * soft-fp/fmatf4.c: Likewise.
9401 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9404         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
9405         Silvermont.
9406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
9407         macro.
9408         (index_Slow_SSE4_2): Likewise.
9409         (index_Prefer_PMINUB_for_stringop): Likewise.
9410         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
9411         bit_Slow_SSE4_2 is set.
9412         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9413         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9415 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9417         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
9418         rtld_global._dl_hwcap2.
9419         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
9420         POWER8.
9421         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
9422         POWER8 feature descriptions defined in _dl_hwcap2.
9423         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
9424         string handling for POWER8 feature bits.
9425         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
9426         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
9427         _dl_powerpc_cap_flags.
9428         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
9429         * sysdeps/powerpc/rtld-global-offsets.sym
9430         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
9431         _dl_hwcap2 in the rtld_global_ro structure.
9433 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9435         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
9436         hardware capabilities in support of AT_HWCAP2.
9437         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
9438         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
9439         GLRO(dl_hwcap2).
9440         (_dl_show_auxv): Add support for calling _dl_procinfo to display
9441         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
9442         explicitly the unknown a_type display mechanism is used.
9443         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
9444         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
9445         struct member.
9446         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
9447         to macro prototype for AT_HWCAP2 support.
9448         * sysdeps/i386/dl-procinfo.h: Likewise.
9449         * sysdeps/s390/dl-procinfo.h: Likewise.
9450         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
9451         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
9452         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
9453         return -1 for unknown a_type display fallback.
9454         * sysdeps/sparc/dl-procinfo.h: Likewise.
9455         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
9456         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
9458 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
9460         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
9461         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
9463 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
9465         [BZ #12492]
9466         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
9467         mprotect making __stack_prot writable.
9469 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
9470             Joseph Myers  <joseph@codesourcery.com>
9472         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
9473         as being properly aligned.
9475 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
9477         * dlfcn/modstatic5.c: New file.
9478         * dlfcn/tststatic5.c: New file.
9479         * dlfcn/Makefile (tests): Add tststatic5.
9480         (tests-static): Likewise.
9481         (modules-names): Add modstatic5.
9482         (tststatic5-ENV): New variable.
9483         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
9485         [BZ #15022]
9486         * elf/dl-support.c (_dl_main_map): New variable.
9487         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
9488         (_dl_nns, _dl_load_adds): Set to 1.
9489         (_dl_initial_searchlist): Refer to _dl_main_map.
9490         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
9491         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
9492         call to _dl_get_origin.
9493         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
9494         around call_map.
9495         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
9496         * dlfcn/modstatic3.c: New file.
9497         * dlfcn/tststatic3.c: New file.
9498         * dlfcn/tststatic4.c: New file.
9499         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
9500         (tests-static): Likewise.
9501         (modules-names): Add modstatic3.
9502         (tststatic3-ENV, tststatic4-ENV): New variables.
9503         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
9504         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
9506 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
9508         * configure.in (CC): Require GCC version 4.4 or later.
9509         * configure: Regenerated.
9510         * manual/install.texi (Tools for Compilation): Update GCC version
9511         requirement.
9512         * INSTALL: Regenerated.
9514 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9516         [BZ #15674]
9517         * string/test-memcmp.c (check2): New.
9518         (main): Call check2.
9520         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9522 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
9524         [BZ #15022]
9525         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
9526         over to...
9527         (dl_open_worker) [!SHARED]: ... here.
9529 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9531         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
9533 2013-06-25  Richard Henderson  <rth@redhat.com>
9535         * locale/programs/locarchive.c: Include <libc-internal.h>
9537 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
9539         * manual/texinfo.tex: Update to version 2013-06-21.17, with
9540         trailing whitespace removed.
9542 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9544         [BZ #10283]
9545         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
9546         * locale/programs/locarchive.c: Include libc-mmap.h.
9547         (prepare_address_space): Take two new outputs (the mmap base and len).
9548         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
9549         values.
9550         (create_archive): Declare new mmap base and len values for
9551         prepare_address_space, and store the result in ah.
9552         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
9553         (enlarge_archive): If ah->mmap_base is not NULL, use that and
9554         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9555         Declare new mmap base and len values for
9556         prepare_address_space, and store the result in new_ah.
9557         (open_archive): Declare new mmap base and len values for
9558         prepare_address_space, and store the result in ah.
9559         (close_archive): If ah->mmap_base is not NULL, use that and
9560         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
9561         * sysdeps/generic/libc-mmap.h: New file.
9563 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
9565         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
9566         (ALIGN_UP): Likewise.
9567         (PTR_ALIGN_DOWN): Likewise.
9568         (PTR_ALIGN_UP): Likewise.
9570 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9572         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
9573         entry mapped to PPC_PLATFORM_POWER8.
9574         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
9575         POWER8.
9576         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
9577         (_dl_string_platform): Add case for exporting platform position for
9578         POWER8.
9579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
9580         search path to sysdeps/powerpc/powerpc32/power8 directory.
9581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
9582         search path to sysdeps/powerpc/powerpc64/power8 directory.
9583         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
9584         power7 directories.
9585         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
9586         power7 directories.
9588 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9590         * INSTALL: Regenerate.
9592         * nscd/connections.c (nscd_init): Fix comment.
9594 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
9596         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
9598         [BZ #15667]
9599         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
9600         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9602 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9604         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
9605         DL_DST_REQ_STATIC.
9606         (DL_DST_REQ_STATIC): Remove macro.
9608 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
9610         [BZ #7006]
9611         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
9612         with a shift of 0 bits.
9614 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
9616         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
9617         $(tststatic-ENV).
9619 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9621         [BZ #15655]
9622         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
9624 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9626         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9627         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
9628         accepts -fno-tree-loop-distribute-patterns.
9629         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
9630         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9631         recursive call.
9632         * string/memset.c (memset): Likewise.
9633         * string/test-memmove.c (simple_memmove): Disable loop transformation
9634         to library calls.
9635         * string/test-memset.c (simple_memset): Likewise.
9636         * benchtests/bench-memmove.c (simple_memmove): Likewise.
9637         * benchtests/bench-memset.c (simple_memset): Likewise.
9638         * configure: Regenerated.
9640 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
9642         * math/test-misc.c (main): Ignore fesetround failure when failures
9643         of subsequent rounding tests would be ignored.
9645         [BZ #15654]
9646         * math/fedisblxcpt.c (fedisableexcept): Return 0.
9647         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9648         * math/fegetenv.c (__fegetenv): Return 0.
9649         * math/fegetexcept.c (fegetexcept): Return 0.
9650         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9651         FE_TONEAREST.
9652         * math/feholdexcpt.c (feholdexcept): Return 0.
9653         * math/fesetenv.c (__fesetenv): Return 0.
9654         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9655         argument FE_TONEAREST.
9656         * math/feupdateenv.c (__feupdateenv): Return 0.
9657         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9659 2013-06-18  Roland McGrath  <roland@hack.frob.com>
9661         * elf/rtld-Rules (rtld-compile-command.S): New variable.
9662         (rtld-compile-command.s, rtld-compile-command.c): New variables.
9663         ($(objpfx)rtld-%.os rules): Use them.
9665 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9667         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9668         fields.
9670 2013-06-17  Roland McGrath  <roland@hack.frob.com>
9672         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9673         length of target pattern, then descending length of dependency pattern.
9674         * configure.in (AWK): Require gawk 3.1.2 or newer.
9675         * manual/install.texi (Tools for Compilation): Say that we do.
9676         * configure: Regenerated.
9678         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9679         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9680         * scripts/sysd-rules.awk: ... this new script.
9681         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9682         than a glob-style pattern.
9684 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
9686         * math/test-misc.c (main): Do not treat incorrectly rounded
9687         conversions as failure unless ROUNDING_TESTS passes.
9689 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
9691         [BZ #15631]
9692         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9693         restore exception state around main square root computation, then
9694         check for inexactness explicitly.
9696         * math/libm-test.inc (fma_test_data): Add another test.
9698 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9700         * manual/threads.texi (Non-POSIX Extensions): New document
9701         node.  Document pthread_getattr_default_np and
9702         pthread_setattr_default_np.
9704         * Versions.def (libpthread): Add GLIBC_2.18.
9705         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9707         Likewise.
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9709         Likewise.
9710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9711         Likewise.
9712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9713         Likewise.
9714         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9715         Likewise.
9716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9717         Likewise.
9718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9719         Likewise.
9720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9721         Likewise.
9722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9723         Likewise.
9725 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9728         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9730 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9731             H.J. Lu  <hjl.tools@gmail.com>
9733         [BZ #15627]
9734         * sysdeps/x86_64/rtld-memset.c: Remove file.
9735         * sysdeps/x86_64/rtld-memset.S: New file.
9737 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
9739         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9740         (test_in_one_mode): Take arguments for whether the rounding mode
9741         is supported for each floating-point type.
9742         (do_test): Pass new arguments to test_in_one_mode using
9743         ROUNDING_TESTS.
9745 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9747         * posix/tst-waitid.c (do_test): Distinguish different instances of
9748         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
9749         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9750         before entering the kernel for waitpid.
9752 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9754         * NEWS: Fix note on clock function precision.  Text by Roland
9755         McGrath.
9757 2013-06-13  Roland McGrath  <roland@hack.frob.com>
9759         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9760         it into place only when and if the sanity check passes.
9762 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
9764         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9765         output for whether conversion result is exact.  Take argument
9766         indicating whether type is IBM long double.
9767         (round_for_all): Change need_exact field to ibm_ld.
9768         * stdlib/tst-strtod-round.c (struct exactness): New type.
9769         (struct test): Change bool ld_ok field to struct exactness exact.
9770         (TEST): Update all definitions for change to field.
9771         (tests): Regenerate array contents.
9772         (test_in_one_mode): Take pointer to new field instead of old ld_ok
9773         field value.  Check for IBM long double here.
9774         (do_test): Update calls to test_in_one_mode.
9776 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9778         [BZ #12515]
9779         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9780         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9782 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9784         [BZ #15605]
9785         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9786         generated by the compiler on loop optimizations.
9787         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9788         general definitions.
9790 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
9792         * math/bug-nextafter.c: Include <math-tests.h>.
9793         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9794         the relevant type.
9795         * math/bug-nexttoward.c: Include <math-tests.h>.
9796         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9797         the relevant type.
9798         * math/test-misc.c: Include <math-tests.h>.
9799         (main): Only test for exceptions if EXCEPTION_TESTS is true for
9800         the relevant type.
9802 2013-06-12  Andreas Jaeger  <aj@suse.de>
9804         * po/ia.po: Update Interlingua translation from translation
9805         project.
9807 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9809         * include/fenv.h: Include stdbool.h.
9810         (struct rm_ctx): New structure.
9811         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9812         Define macro.
9813         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9814         (SET_RESTORE_ROUNDF): Likewise.
9815         (SET_RESTORE_ROUNDL): Likewise.
9816         (SET_RESTORE_ROUND_NOEX): Likewise.
9817         (SET_RESTORE_ROUND_NOEXF): Likewise.
9818         (SET_RESTORE_ROUND_NOEXL): Likewise.
9819         (SET_RESTORE_ROUND_53BIT): Likewise.
9820         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9821         (libc_feresetround_noexf_ctx): Likewise.
9822         (libc_feresetround_noexl_ctx): Likewise.
9823         (libc_feholdsetround_53bit_ctx): Likewise.
9824         (libc_feresetround_53bit_ctx): Likewise.
9825         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9826         (libc_feholdexcept_setround_sse_ctx): New function.
9827         (libc_fesetenv_sse_ctx): Likewise.
9828         (libc_feupdateenv_sse_ctx): Likewise.
9829         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9830         (libc_feholdexcept_setround_387_ctx): Likewise.
9831         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9832         (libc_feholdsetround_387_prec_ctx): Likewise.
9833         (libc_feholdsetround_387_ctx): Likewise.
9834         (libc_feholdsetround_387_53bit_ctx): Likewise.
9835         (libc_feholdsetround_sse_ctx): Likewise.
9836         (libc_feresetround_sse_ctx): Likewise.
9837         (libc_feresetround_387_ctx): Likewise.
9838         (libc_feupdateenv_387_ctx): Likewise.
9839         (libc_feholdexcept_setroundf_ctx): Define macro.
9840         (libc_fesetenvf_ctx): Likewise.
9841         (libc_feupdateenvf_ctx): Likewise.
9842         (libc_feholdsetroundf_ctx): Likewise.
9843         (libc_feresetroundf_ctx): Likewise.
9844         (libc_feholdexcept_setround_ctx): Likewise.
9845         (libc_fesetenv_ctx): Likewise.
9846         (libc_feupdateenv_ctx): Likewise.
9847         (libc_feholdsetround_ctx): Likewise.
9848         (libc_feresetround_ctx): Likewise.
9849         (libc_feholdexcept_setroundl_ctx): Likewise.
9850         (libc_feupdateenvl_ctx): Likewise.
9851         (libc_feholdsetroundl_ctx): Likewise.
9852         (libc_feresetroundl_ctx): Likewise.
9853         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9854         (libc_feresetround_53bit_ctx): Likewise.
9856 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9858         * locale/iso-639.def: Convert to UTF-8.
9860 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
9862         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9863         (EXCEPTION_TESTS_double): Likewise.
9864         (EXCEPTION_TESTS_long_double): Likewise.
9865         (EXCEPTION_TESTS): Likewise.
9866         * math/libm-test.inc (test_exceptions): Only test exceptions if
9867         EXCEPTION_TESTS (FLOAT).
9869 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9871         * benchtests/Makefile (string-bench): Add strcpy_chk and
9872         stpcpy_chk.
9873         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9874         * benchtests/bench-stpcpy_chk.c: New file.
9875         * benchtests/bench-strcpy_chk-ifunc.c: New file.
9876         * benchtests/bench-strcpy_chk.c: New file.
9877         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9878         code.
9879         (do_test): Likewise.
9881 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9883         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9884         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9885         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9886         with tabs where appropriate.
9887         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9888         dl-procinfo.h.
9889         [PPC_PLATFORM_PPC440]: Likewise.
9890         [PPC_PLATFORM_PPC464]: Likewise.
9891         [PPC_PLATFORM_PPC476]: Likewise.
9892         (_dl_string_platform): Add support for detecting ppc405, ppc440,
9893         ppc464, and ppc476 platform strings merging from ports/
9894         dl-procinfo.h.
9896 2013-06-11  Andreas Schwab  <schwab@suse.de>
9898         [BZ #14991]
9899         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9900         (from_ucs4_idx): Regenerate.
9901         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9902         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9903         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9904         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9905         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9906         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9907         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9908         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9909         from FROM_LOOP and TO_LOOP specific macros.
9910         (BODY): Handle combining characters.
9911         * iconvdata/BIG5HKSCS.irreversible: Update.
9912         * iconvdata/BIG5HKSCS.precomposed: New file.
9913         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9914         characters.
9915         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9917 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9919         * include/sys/time.h: Fix indentation and add copyright header.
9921         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9922         (do_test): Likewise.
9923         * string/test-memchr.c (do_one_test): Likewise.
9924         (do_test): Likewise.
9925         * string/test-memcmp.c (do_one_test): Likewise.
9926         (do_test): Likewise.
9927         * string/test-memcpy.c (do_one_test): Likewise.
9928         (do_test): Likewise.
9929         * string/test-memmem.c (do_one_test): Likewise.
9930         (do_test): Likewise.
9931         (do_random_tests): Likewise.
9932         * string/test-memmove.c (do_one_test): Likewise.
9933         (do_test): Likewise.
9934         * string/test-memset.c (do_one_test): Likewise.
9935         (do_test): Likewise.
9936         * string/test-rawmemchr.c (do_one_test): Likewise.
9937         (do_test): Likewise.
9938         * string/test-strcasecmp.c (do_one_test): Likewise.
9939         (do_test): Likewise.
9940         * string/test-strcasestr.c (do_one_test): Likewise.
9941         (do_test): Likewise.
9942         * string/test-strcat.c (do_one_test): Likewise.
9943         (do_test): Likewise.
9944         * string/test-strchr.c (do_one_test): Likewise.
9945         (do_test): Likewise.
9946         * string/test-strcmp.c (do_one_test): Likewise.
9947         (do_test): Likewise.
9948         * string/test-strcpy.c (do_one_test): Likewise.
9949         (do_test): Likewise.
9950         * string/test-string.h: Likewise.
9951         (test_init): Likewise.
9952         * string/test-strlen.c (do_one_test): Likewise.
9953         (do_test): Likewise.
9954         * string/test-strncasecmp.c (do_one_test): Likewise.
9955         (do_test): Likewise.
9956         * string/test-strncat.c (do_one_test): Likewise.
9957         (do_test): Likewise.
9958         * string/test-strncmp.c (do_one_test): Likewise.
9959         (do_test_limit): Likewise.
9960         (do_test): Likewise.
9961         * string/test-strncpy.c (do_one_test): Likewise.
9962         (do_test): Likewise.
9963         * string/test-strnlen.c (do_one_test): Likewise.
9964         (do_test): Likewise.
9965         * string/test-strpbrk.c (do_one_test): Likewise.
9966         (do_test): Likewise.
9967         * string/test-strrchr.c (do_one_test): Likewise.
9968         (do_test): Likewise.
9969         * string/test-strspn.c (do_one_test): Likewise.
9970         (do_test): Likewise.
9971         * string/test-strstr.c (do_one_test): Likewise.
9972         (do_test): Likewise.
9974         * benchtests/Makefile (string-bench): Add string benchmarks.
9975         * benchtests/bench-bcopy-ifunc.c: New file.
9976         * benchtests/bench-bcopy.c: New file.
9977         * benchtests/bench-bzero-ifunc.c: New file.
9978         * benchtests/bench-bzero.c: New file.
9979         * benchtests/bench-memccpy-ifunc.c: New file.
9980         * benchtests/bench-memccpy.c: New file.
9981         * benchtests/bench-memchr-ifunc.c: New file.
9982         * benchtests/bench-memchr.c: New file.
9983         * benchtests/bench-memcmp-ifunc.c: New file.
9984         * benchtests/bench-memcmp.c: New file.
9985         * benchtests/bench-memmem-ifunc.c: New file.
9986         * benchtests/bench-memmem.c: New file.
9987         * benchtests/bench-memmove-ifunc.c: New file.
9988         * benchtests/bench-memmove.c: New file.
9989         * benchtests/bench-mempcpy-ifunc.c: New file.
9990         * benchtests/bench-mempcpy.c: New file.
9991         * benchtests/bench-memset-ifunc.c: New file.
9992         * benchtests/bench-memset.c: New file.
9993         * benchtests/bench-rawmemchr-ifunc.c: New file.
9994         * benchtests/bench-rawmemchr.c: New file.
9995         * benchtests/bench-stpcpy-ifunc.c: New file.
9996         * benchtests/bench-stpcpy.c: New file.
9997         * benchtests/bench-stpncpy-ifunc.c: New file.
9998         * benchtests/bench-stpncpy.c: New file.
9999         * benchtests/bench-strcasecmp-ifunc.c: New file.
10000         * benchtests/bench-strcasecmp.c: New file.
10001         * benchtests/bench-strcasestr-ifunc.c: New file.
10002         * benchtests/bench-strcasestr.c: New file.
10003         * benchtests/bench-strcat-ifunc.c: New file.
10004         * benchtests/bench-strcat.c: New file.
10005         * benchtests/bench-strchr-ifunc.c: New file.
10006         * benchtests/bench-strchr.c: New file.
10007         * benchtests/bench-strchrnul-ifunc.c: New file.
10008         * benchtests/bench-strchrnul.c: New file.
10009         * benchtests/bench-strcmp-ifunc.c: New file.
10010         * benchtests/bench-strcmp.c: New file.
10011         * benchtests/bench-strcpy-ifunc.c: New file.
10012         * benchtests/bench-strcpy.c: New file.
10013         * benchtests/bench-strcspn-ifunc.c: New file.
10014         * benchtests/bench-strcspn.c: New file.
10015         * benchtests/bench-strlen-ifunc.c: New file.
10016         * benchtests/bench-strlen.c: New file.
10017         * benchtests/bench-strncasecmp-ifunc.c: New file.
10018         * benchtests/bench-strncasecmp.c: New file.
10019         * benchtests/bench-strncat-ifunc.c: New file.
10020         * benchtests/bench-strncat.c: New file.
10021         * benchtests/bench-strncmp-ifunc.c: New file.
10022         * benchtests/bench-strncmp.c: New file.
10023         * benchtests/bench-strncpy-ifunc.c: New file.
10024         * benchtests/bench-strncpy.c: New file.
10025         * benchtests/bench-strnlen-ifunc.c: New file.
10026         * benchtests/bench-strnlen.c: New file.
10027         * benchtests/bench-strpbrk-ifunc.c: New file.
10028         * benchtests/bench-strpbrk.c: New file.
10029         * benchtests/bench-strrchr-ifunc.c: New file.
10030         * benchtests/bench-strrchr.c: New file.
10031         * benchtests/bench-strspn-ifunc.c: New file.
10032         * benchtests/bench-strspn.c: New file.
10033         * benchtests/bench-strstr-ifunc.c: New file.
10034         * benchtests/bench-strstr.c: New file.
10036         * benchtests/Makefile: Disable parallel execution of targets.
10037         (string-bench): Add memcpy.
10038         (benchset): New variable to store a list of benchmark sets.
10039         (bench-func): Renamed from bench.
10040         (bench-set): New target.
10041         (bench): Depend on bench-func and bench-set.
10042         * benchtests/README: Add section on benchmark sets.
10043         * benchtests/bench-memcpy-ifunc.c: New file.
10044         * benchtests/bench-memcpy.c: New file.
10045         * benchtests/bench-string.h: New file.
10047 2013-06-11  Andreas Schwab  <schwab@suse.de>
10049         [BZ #15577]
10050         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10051         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10052         values in the triple.
10053         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10054         terminator in the group key.
10056 2013-06-11  Andreas Jaeger  <aj@suse.de>
10058         * po/zh_TW.po: Update Chinese (traditional) translation from
10059         translation project.
10061 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10063         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10064         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10065         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10066         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10067         (clock_getcpuclockid): Likewise.
10068         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10069         Add weak_alias and libc_hidden_def.
10070         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10071         * rt/clock_gettime.c (clock_gettime): Rename to
10072         __clock_gettime.  Add weak_alias and libc_hidden_def.
10073         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10074         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10075         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10076         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10077         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10078         Likewise.
10079         * rt/clock_settime.c (clock_settime): Rename to
10080         __clock_settime.  Add weak_alias and libc_hidden_def.
10081         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10083 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10085         * mach/err_boot.sub: Remove trailing whitespace.
10086         * mach/err_ipc.sub: Likewise.
10087         * mach/err_mach.sub: Likewise.
10089         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10090         (ROUNDING_TESTS_double): Likewise.
10091         (ROUNDING_TESTS_long_double): Likewise.
10092         (ROUNDING_TESTS): Likewise.
10093         * math/libm-test.inc: Include <math-tests.h>.
10094         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10095         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10096         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10097         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10099 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10101         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10102         of assigning.
10104 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10106         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10107         otherwise empty TRANS lines.
10108         * sysdeps/gnu/errlist.c: Regenerated.
10110         * catgets/gencat.c (error_print): Use (void) in function
10111         definition.
10112         * crypt/crypt_util.c (__init_des): Likewise.
10113         * crypt/speeds.c (Stop): Likewise.
10114         (main): Likewise.
10115         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10116         * inet/ruserpass.c (token): Likewise.
10117         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10118         * intl/localealias.c (extend_alias_table): Likewise.
10119         * intl/plural-exp.c (init_germanic_plural): Likewise.
10120         * libio/fcloseall.c (__fcloseall): Likewise.
10121         * libio/genops.c (_IO_flush_all): Likewise.
10122         (_IO_flush_all_linebuffered): Likewise.
10123         (_IO_cleanup): Likewise.
10124         (_IO_iter_begin): Likewise.
10125         (_IO_iter_end): Likewise.
10126         (_IO_list_lock): Likewise.
10127         (_IO_list_unlock): Likewise.
10128         (_IO_list_resetlock): Likewise.
10129         * libio/getchar.c (getchar): Likewise.
10130         * libio/getchar_u.c (getchar_unlocked): Likewise.
10131         * libio/getwchar.c (getwchar): Likewise.
10132         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10133         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10134         * login/getpt.c (__getpt): Likewise.
10135         * login/tst-utmp.c (main): Likewise.
10136         * malloc/hooks.c (__malloc_check_init): Likewise.
10137         * malloc/malloc.c (__malloc_stats): Likewise.
10138         * malloc/mtrace.c (tr_break): Likewise.
10139         (mtrace): Likewise.
10140         (muntrace): Likewise.
10141         * misc/fstab.c (endfsent): Likewise.
10142         * misc/getclktck.c (__getclktck): Likewise.
10143         * misc/getdtsz.c (__getdtablesize): Likewise.
10144         * misc/gethostid.c (gethostid): Likewise.
10145         * misc/getpagesize.c (__getpagesize): Likewise.
10146         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10147         (__get_nprocs): Likewise.
10148         (__get_phys_pages): Likewise.
10149         (__get_avphys_pages): Likewise.
10150         * misc/getttyent.c (getttyent): Likewise.
10151         (setttyent): Likewise.
10152         (endttyent): Likewise.
10153         * misc/getusershell.c (getusershell): Likewise.
10154         (endusershell): Likewise.
10155         (setusershell): Likewise.
10156         (initshells): Likewise.
10157         * misc/hsearch.c (__hdestroy): Likewise.
10158         * misc/sync.c (sync): Likewise.
10159         * misc/syslog.c (closelog_internal): Likewise.
10160         (closelog): Likewise.
10161         * misc/ttyslot.c (ttyslot): Likewise.
10162         * misc/vhangup.c (vhangup): Likewise.
10163         * posix/fork.c (__fork): Likewise.
10164         * posix/getegid.c (__getegid): Likewise.
10165         * posix/geteuid.c (__geteuid): Likewise.
10166         * posix/getgid.c (__getgid): Likewise.
10167         * posix/getpid.c (__getpid): Likewise.
10168         * posix/getppid.c (__getppid): Likewise.
10169         * posix/getuid.c (__getuid): Likewise.
10170         * posix/pause.c (pause): Likewise.
10171         * posix/setpgrp.c (setpgrp): Likewise.
10172         * posix/setsid.c (__setsid): Likewise.
10173         * posix/test-vfork.c (noop): Likewise.
10174         * resolv/gethnamaddr.c (_endhtent): Likewise.
10175         (_gethtent): Likewise.
10176         (ht_endhostent): Likewise.
10177         (gethostent): Likewise.
10178         (dns_service): Likewise.
10179         * stdlib/drand48.c (drand48): Likewise.
10180         * stdlib/lrand48.c (lrand48): Likewise.
10181         * stdlib/mrand48.c (mrand48): Likewise.
10182         * stdlib/rand.c (rand): Likewise.
10183         * stdlib/random.c (__random): Likewise.
10184         * stdlib/setenv.c (clearenv): Likewise.
10185         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10186         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10187         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10188         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10189         (__get_nprocs): Likewise.
10190         (__get_phys_pages): Likewise.
10191         (__get_avphys_pages): Likewise.
10192         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10193         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10194         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10195         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10196         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10197         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10198         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10199         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10200         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10201         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10202         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10203         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10204         * sysdeps/posix/clock.c (clock): Likewise.
10205         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10206         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10207         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10208         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10209         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10211         (__get_nprocs_conf): Likewise.
10212         (__get_phys_pages): Likewise.
10213         (__get_avphys_pages): Likewise.
10214         * time/clock.c (clock): Likewise.
10215         * time/tzset.c (__tzname_max): Likewise.
10217 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10219         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10220         (__bswap_32): Do not use "register".
10221         * crypt/crypt.c (_ufc_doit_r): Likewise.
10222         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10223         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10224         * gmon/gmon.c (__monstartup): Likewise.
10225         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10226         * hurd/hurdmalloc.c (more_memory): Likewise.
10227         (malloc): Likewise.
10228         (free): Likewise.
10229         (realloc): Likewise.
10230         (malloc_fork_prepare): Likewise.
10231         (malloc_fork_parent): Likewise.
10232         (malloc_fork_child): Likewise.
10233         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10234         (_svcauth_des): Likewise.
10235         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10236         * inet/inet_net.c (inet_network): Likewise.
10237         * inet/inet_netof.c (inet_netof): Likewise.
10238         * inet/rcmd.c (__validuser2_sa): Likewise.
10239         * io/fts.c (fts_open): Likewise.
10240         (fts_load): Likewise.
10241         (fts_close): Likewise.
10242         (fts_read): Likewise.
10243         (fts_children): Likewise.
10244         (fts_build): Likewise.
10245         (fts_stat): Likewise.
10246         (fts_sort): Likewise.
10247         (fts_alloc): Likewise.
10248         (fts_lfree): Likewise.
10249         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10250         (_IO_file_xsgetn): Likewise.
10251         (_IO_file_xsgetn_mmap): Likewise.
10252         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10253         (_IO_cookie_write): Likewise.
10254         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10255         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10256         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10257         * malloc/obstack.c (_obstack_begin): Likewise.
10258         (_obstack_begin_1): Likewise.
10259         (_obstack_newchunk): Likewise.
10260         (_obstack_allocated_p): Likewise.
10261         (obstack_free): Likewise.
10262         (_obstack_memory_used): Likewise.
10263         * misc/getttyent.c (getttynam): Likewise.
10264         (getttyent): Likewise.
10265         (skip): Likewise.
10266         (value): Likewise.
10267         * misc/getusershell.c (initshells): Likewise.
10268         * misc/syslog.c (__vsyslog_chk): Likewise.
10269         * misc/ttyslot.c (ttyslot): Likewise.
10270         * nis/nis_hash.c (__nis_hash): Likewise.
10271         * posix/fnmatch_loop.c (FCT): Likewise.
10272         * posix/getconf.c (print_all): Likewise.
10273         (main): Likewise.
10274         * posix/getopt.c (exchange): Likewise.
10275         * posix/glob.c (globfree): Likewise.
10276         (prefix_array): Likewise.
10277         (__glob_pattern_type): Likewise.
10278         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10279         (NS_GET32): Likewise.
10280         (NS_PUT16): Likewise.
10281         (NS_PUT32): Likewise.
10282         * resolv/gethnamaddr.c (getanswer): Likewise.
10283         (gethostbyname2): Likewise.
10284         (gethostbyaddr): Likewise.
10285         (_gethtent): Likewise.
10286         (_gethtbyname2): Likewise.
10287         (_gethtbyaddr): Likewise.
10288         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10289         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10290         * resolv/res_init.c (__res_vinit): Likewise.
10291         (net_mask): Likewise.
10292         * resolv/res_mkquery.c (outchar): Likewise.
10293         (PRINT): Likewise.
10294         * stdio-common/printf_fp.c (outchar): Likewise.
10295         (PRINT): Likewise.
10296         * stdio-common/printf_fphex.c (outchar): Likewise.
10297         (PRINT): Likewise.
10298         * stdio-common/printf_size.c (outchar): Likewise.
10299         (PRINT): Likewise.
10300         * stdio-common/test_rdwr.c (main): Likewise.
10301         * stdio-common/tfformat.c (matches): Likewise.
10302         * stdio-common/vfprintf.c (outchar): Likewise.
10303         (printf_unknown): Likewise.
10304         (buffered_vfprintf): Likewise.
10305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10306         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10307         (ReadFile): Likewise.
10308         * stdlib/qsort.c (SWAP): Likewise.
10309         (_quicksort): Likewise.
10310         * stdlib/setenv.c (__add_to_environ): Likewise.
10311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10312         * stdlib/strtol_l.c (__strtol_l): Likewise.
10313         * stdlib/tst-strtod.c (main): Likewise.
10314         * stdlib/tst-strtol.c (main): Likewise.
10315         * stdlib/tst-strtoll.c (main): Likewise.
10316         * string/bits/string2.h (__strcmp_cc): Likewise.
10317         (__strcmp_cg): Likewise.
10318         (__strcspn_c1): Likewise.
10319         (__strcspn_c2): Likewise.
10320         (__strcspn_c3): Likewise.
10321         (__strspn_c1): Likewise.
10322         (__strspn_c2): Likewise.
10323         (__strspn_c3): Likewise.
10324         (__strsep_1c): Likewise.
10325         (__strsep_2c): Likewise.
10326         (__strsep_3c): Likewise.
10327         * string/memccpy.c (__memccpy): Likewise.
10328         * string/stpcpy.c (__stpcpy): Likewise.
10329         * string/strcmp.c (strcmp): Likewise.
10330         * string/strrchr.c (strrchr): Likewise.
10331         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10332         Likewise.
10333         * sysdeps/mach/hurd/getcwd.c
10334         (_hurd_canonicalize_directory_name_internal): Likewise.
10335         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10336         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10337         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10338         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10339         Likewise, in both definitions.
10340         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10341         definitions.
10342         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10343         64] (__bswap_64): Likewise.
10344         * time/test_time.c (main): Likewise.
10345         * time/tzfile.c (__tzfile_read): Likewise.
10346         (__tzfile_compute): Likewise.
10347         * time/tzset.c (__tzset_parse_tz): Likewise.
10348         (tzset_internal): Likewise.
10349         (compute_change): Likewise.
10350         * wcsmbs/wcscat.c (__wcscat): Likewise.
10351         * wcsmbs/wcschr.c (wcschr): Likewise.
10352         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10353         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10354         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10355         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
10356         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10357         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10358         * wcsmbs/wmemchr.c (wmemchr): Likewise.
10359         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10360         * wcsmbs/wmemset.c (wmemset): Likewise.
10362 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
10364         * scripts/config.guess: Update to version 2013-05-16.
10365         * scripts/config.sub: Update to version 2013-04-24.
10366         * scripts/install-sh: Update to version 2011-11-20.07.
10367         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
10368         * scripts/move-if-change: Update to version 2012-01-06 07:23.
10370 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
10372         * debug/fgetws_u_chk.c: Fix leading whitespaces.
10373         * elf/sln.c: Likewise.
10374         * hurd/hurd/ioctl.h: Likewise.
10375         * hurd/hurdmalloc.c: Likewise.
10376         * hurd/xattr.c: Likewise.
10377         * include/shlib-compat.h: Likewise.
10378         * inet/ruserpass.c: Likewise.
10379         * libio/iofgets_u.c: Likewise.
10380         * libio/iofgetws_u.c: Likewise.
10381         * locale/programs/ld-identification.c: Likewise.
10382         * locale/programs/ld-time.c: Likewise.
10383         * mach/msg-destroy.c: Likewise.
10384         * nss/nss_files/files-netgrp.c: Likewise.
10385         * resolv/res_data.c: Likewise.
10386         * soft-fp/op-1.h: Likewise.
10387         * soft-fp/op-2.h: Likewise.
10388         * soft-fp/op-4.h: Likewise.
10389         * soft-fp/op-common.h: Likewise.
10390         * stdio-common/printf_fphex.c: Likewise.
10391         * stdlib/strtod_l.c: Likewise.
10392         * sunrpc/rpc/clnt.h: Likewise.
10393         * sysdeps/generic/framestate.c: Likewise.
10394         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10395         * sysdeps/i386/bsd-setjmp.S: Likewise.
10396         * sysdeps/i386/__longjmp.S: Likewise.
10397         * sysdeps/i386/setjmp.S: Likewise.
10398         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10399         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10400         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10401         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10403         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10407         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10408         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10409         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10410         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10411         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10412         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10413         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10414         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10415         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
10416         * sysdeps/ieee754/support.c: Likewise.
10417         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10418         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
10419         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
10420         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
10421         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
10422         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
10423         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
10424         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
10425         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
10426         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
10427         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
10428         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
10429         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
10430         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
10431         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
10432         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
10433         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10436 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
10438         * posix/transbug.c: Remove executable mode.
10440 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
10442         * crypt/speeds.c: Remove trailing whitespace.
10443         * dlfcn/default.c: Likewise.
10444         * elf/ifuncdep2.c: Likewise.
10445         * elf/ifuncmain1.c: Likewise.
10446         * elf/ifuncmain1vis.c: Likewise.
10447         * elf/testobj.h: Likewise.
10448         * elf/tst-stackguard1.c: Likewise.
10449         * gmon/sys/gmon.h: Likewise.
10450         * hurd/hurdmsg.c: Likewise.
10451         * hurd/new-fd.c: Likewise.
10452         * hurd/ports-get.c: Likewise.
10453         * iconvdata/ibm1008_420.c: Likewise.
10454         * inet/tst-getni1.c: Likewise.
10455         * inet/tst-getni2.c: Likewise.
10456         * libio/ioungetc.c: Likewise.
10457         * libio/wfiledoalloc.c: Likewise.
10458         * manual/libm-err-tab.pl: Likewise.
10459         * math/w_dremf.c: Likewise.
10460         * misc/ftruncate.c: Likewise.
10461         * posix/bug-glob2.c: Likewise.
10462         * posix/tst-pcre.c: Likewise.
10463         * posix/wait4.c: Likewise.
10464         * resolv/README: Likewise.
10465         * resolv/res_debug.h: Likewise.
10466         * resolv/tst-inet_ntop.c: Likewise.
10467         * setjmp/bug269-setjmp.c: Likewise.
10468         * soft-fp/extended.h: Likewise.
10469         * soft-fp/op-1.h: Likewise.
10470         * soft-fp/op-2.h: Likewise.
10471         * soft-fp/op-4.h: Likewise.
10472         * soft-fp/op-8.h: Likewise.
10473         * soft-fp/testit.c: Likewise.
10474         * stdio-common/bug16.c: Likewise.
10475         * stdlib/random.c: Likewise.
10476         * sunrpc/rpcsvc/rquota.x: Likewise.
10477         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
10478         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10479         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10480         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10481         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10482         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10483         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10484         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10485         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10486         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10487         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10488         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10489         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10490         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10491         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10492         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10493         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10494         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10495         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10496         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10497         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10498         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10499         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10500         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10501         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10502         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10504         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10505         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10506         * sysdeps/ieee754/s_lib_version.c: Likewise.
10507         * sysdeps/mach/hurd/check_fds.c: Likewise.
10508         * sysdeps/mach/hurd/getsockname.c: Likewise.
10509         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
10510         * sysdeps/mach/hurd/recvfrom.c: Likewise.
10511         * sysdeps/powerpc/bits/link.h: Likewise.
10512         * sysdeps/powerpc/dl-procinfo.c: Likewise.
10513         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
10514         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
10515         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
10516         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10517         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10518         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
10519         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10520         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
10521         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10522         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10523         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10524         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
10525         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10526         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10527         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10528         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10529         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10530         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10531         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10532         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10533         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
10534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10535         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10536         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
10537         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10538         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10539         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10540         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10541         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10542         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10544         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10545         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10546         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
10547         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10548         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
10549         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10550         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10551         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
10552         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
10553         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
10554         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
10555         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
10556         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10557         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
10558         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
10559         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10560         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
10561         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
10562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10563         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10565         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10566         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
10567         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10568         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10569         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
10571         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10572         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
10573         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
10574         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
10575         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10576         * sysdeps/powerpc/sysdep.h: Likewise.
10577         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10578         * sysdeps/s390/s390-64/sub_n.S: Likewise.
10579         * sysdeps/sh/dl-trampoline.S: Likewise.
10580         * sysdeps/sh/memset.S: Likewise.
10581         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
10582         * sysdeps/sh/strlen.S: Likewise.
10583         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
10584         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
10585         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
10586         * sysdeps/sparc/sparc32/rem.S: Likewise.
10587         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
10588         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
10589         * sysdeps/sparc/sparc32/strchr.S: Likewise.
10590         * sysdeps/sparc/sparc32/udiv.S: Likewise.
10591         * sysdeps/sparc/sparc32/urem.S: Likewise.
10592         * sysdeps/sparc/sparc64/add_n.S: Likewise.
10593         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10594         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
10595         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
10596         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
10597         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
10598         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10599         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
10600         * sysdeps/unix/bsd/times.c: Likewise.
10601         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
10602         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
10603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10606         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10607         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10608         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10609         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
10610         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
10611         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
10612         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10613         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
10614         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10615         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10616         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10617         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10618         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
10619         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
10620         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
10621         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10622         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
10623         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10624         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
10625         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
10626         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10627         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
10628         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10629         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
10630         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10631         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10632         * sysdeps/x86_64/strcspn.S: Likewise.
10634 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10636         * locale/C-translit.h: Revert #include <stdint.h> because this is a
10637         generated file.  Regenerate properly from gen-translit.pl.
10638         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
10639         locale/C-translit.h.
10641 2013-06-05  Andreas Schwab  <schwab@suse.de>
10643         [BZ #15100]
10644         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10645         week as 6 instead of -1.
10646         * time/tst-strptime.c (day_tests): Add test case.
10648 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10650         * sysdeps/generic/math_private.h
10651         (libc_feholdexcept_setround_53bit): Replace with
10652         libc_feholdsetround_53bit.
10653         (libc_feupdateenv_53bit): Replace with
10654         libc_feresetround_53bit.
10655         (SET_RESTORE_ROUND_53BIT): Adjust.
10657 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10659         * string/test-strchrnul.c: Add copyright header.
10661         * posix/tst-getaddrinfo4.c: Increase test timeout.
10663 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
10665         [BZ #15536]
10666         * math/libm-test.inc (MAX_EXP): Remove
10667         (MIN_EXP): Define.
10668         (ulp): Use MIN_EXP - MANT_DIG.
10669         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10671 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
10673         * po/be.po: Revert last change.
10674         * po/zh_CN.po: Likewise.
10675         * po/header.pot: Likewise.
10677 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
10679         * Makefile ($(common-objpfx)linkobj/libc.so): Define
10680         link-libc-deps to empty as target-specific variable.
10681         * Makerules (link-libc-args): New variable.
10682         (libc-for-link): Likewise.
10683         (link-libc-deps): Likewise.
10684         (lib%.so): Depend on $(link-libc-deps).  Link with
10685         $(link-libc-args).
10686         (build-module): Link with $(link-libc-args).
10687         (build-module-asneeded): Likewise.
10688         (build-module-helper-objlist): Filter out $(link-libc-deps) from
10689         list of objects.
10690         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10691         target-specific variable.
10692         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10693         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10694         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10695         libc.
10696         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10697         libc and ld.so.
10698         ($(objpfx)libpcprofile.so): Likewise.
10699         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10700         libc_nonshared.a.
10701         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10702         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10703         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10704         $(link-libc-deps).
10705         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10706         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10707         * login/Makefile ($(objpfx)libutil.so): Likewise.
10708         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10709         * math/Makefile ($(objpfx)libm.so): Likewise.
10710         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10711         $(objpfx)libnsl.so): Define libc-for-link as target-specific
10712         variable instead of depending directly on libc.
10713         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10714         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10715         $(link-libc-deps).
10716         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10717         libc.
10718         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10719         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10720         ($(objpfx)libanl.so): Likewise.
10721         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10722         ld.so.
10723         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10724         $(link-libc-deps).
10725         * sysdeps/i386/fpu/Makefile: Remove file.
10726         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10727         ($(objpfx)libm.so): Remove dependency on ld.so.
10729 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
10731         [BZ # 15553]
10732         * nis/yp_xdr.c (XDRMAXNAME): Define.
10733         (XDRMAXRECORD): Define.
10734         (xdr_domainname): Use XDRMAXNAME.
10735         (xdr_mapname): Likewise.
10736         (xdr_peername): Likewise.
10737         (xdr_keydat): Use XDRMAXRECORD.
10738         (xdr_valdat): Likewise.
10740 2013-05-30  Jeff Law  <law@redhat.com>
10742         [BZ #14256]
10743         * manual/errno.texi (ESTALE): Update to account for more than
10744         just NFS file systems.
10745         * sysdeps/gnu/errlist.c: Regenerated.
10747 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10749         [BZ #15465]
10750         * elf/Makefile (tests): Add tst-null-argv.
10751         (modules-names):  Add tst-null-argv-lib.
10752         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10753         (tst-null-argv-ENV): Set environment for tst-null-argv.
10754         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10755         (RTLD_PROGNAME): New macro.
10756         * elf/tst-null-argv.c: New test case.
10757         * elf/tst-null-argv-lib.c: Library for test case.
10758         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10759         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10760         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10761         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10762         * elf/dl-init.c (call_init): Likewise.
10763         (_dl_init): Likewise.
10764         * elf/dl-load.c (print_search_path): Likewise.
10765         (_dl_map_object): Likewise.
10766         * elf/dl-lookup.c (do_lookup_x): Likewise.
10767         (add_dependency): Likewise.
10768         (_dl_lookup_symbol_x): Likewise.
10769         (_dl_debug_bindings): Likewise.
10770         * elf/dl-open.c (_dl_show_scope): Likewise.
10771         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10772         * elf/dl-version.c (match_symbol): Likewise.
10773         (_dl_check_map_versions): Likewise.
10774         * elf/rtld.c (dl_main): Likewise.
10775         (print_unresolved): Use RTLD_PROGNAME.
10776         (print_missing_version): Likewise.
10777         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10778         (elf_machine_rela): Likewise.
10779         * sysdeps/powerpc/powerpc32/dl-machine.c
10780         (__process_machine_rela): Likewise.
10781         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10782         Likewise.
10783         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10784         Likewise.
10785         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10786         Likewise.
10787         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10789         Likewise.
10790         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10791         Likewise.
10792         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10794 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
10796         * po/be.po: Add descriptive title.
10797         * po/zh_CN.po: Likewise.
10798         * po/header.pot: Likewise.
10800 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
10802         * locale/programs/locarchive.c (create_archive): Inlucde fname in
10803         error message.
10804         (enlarge_archive): Likewise.
10806 2013-05-28  Ben North  <ben@redfrontdoor.org>
10808         * manual/arith.texi (frexp): It is the magnitude of the return
10809         value which lies in [0.5, 1), not the return value itself.
10811 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10815 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
10817         * stdio-common/bug26.c (main): Correct fscanf template.
10819         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10820         declare _dl_skip_args.
10822         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10823         Don't declare.
10825         * manual/platform.texi: Add missing @end deftypefun.
10827 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #15529]
10830         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10831         bit of mantissa of 2^16382.
10832         * math/libm-test.inc (hypot_test_data): Add more tests.
10834         * math/libm-test.inc: Add drem and pow10 to list of tested
10835         functions.
10836         (pow10_test): New function.
10837         (drem_test): Likewise.
10838         (drem_test_tonearest): Likewise.
10839         (drem_test_towardzero): Likewise.
10840         (drem_test_downward): Likewise.
10841         (drem_test_upward): Likewise.
10842         (main): Call the new functions.
10844         * math/libm-test.inc (finite_test_data): Remove.
10845         (finite_test): Run tests from isfinite_test_data.
10846         (gamma_test_data): Remove.
10847         (gamma_test): Run tests from lgamma_test_data.
10848         * sysdeps/i386/fpu/libm-test-ulps: Update.
10849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10853         * manual/platform.texi: Add PowerPC PPR function set documentation.
10854         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10855         implementation.
10857 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
10859         * math/libm-test.inc (MAX_EXP): Define.
10860         (ULPDIFF): Define.
10861         (ulp): New function.
10862         (check_float_internal): Use ULPDIFF.
10863         (cpow_test): Disable failing test.
10864         (check_ulp): Test ulp() implemetnation.
10865         (main): Call check_ulp before starting tests.
10867 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
10869         * math/gen-libm-test.pl (generate_testfile): Do not handle
10870         START_DATA and END_DATA.
10871         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10872         END_DATA.
10873         (acos_tonearest_test_data): Likewise.
10874         (acos_towardzero_test_data): Likewise.
10875         (acos_downward_test_data): Likewise.
10876         (acos_upward_test_data): Likewise.
10877         (acosh_test_data): Likewise.
10878         (asin_test_data): Likewise.
10879         (asin_tonearest_test_data): Likewise.
10880         (asin_towardzero_test_data): Likewise.
10881         (asin_downward_test_data): Likewise.
10882         (asin_upward_test_data): Likewise.
10883         (asinh_test_data): Likewise.
10884         (atan_test_data): Likewise.
10885         (atanh_test_data): Likewise.
10886         (atan2_test_data): Likewise.
10887         (cabs_test_data): Likewise.
10888         (cacos_test_data): Likewise.
10889         (cacosh_test_data): Likewise.
10890         (carg_test_data): Likewise.
10891         (casin_test_data): Likewise.
10892         (casinh_test_data): Likewise.
10893         (catan_test_data): Likewise.
10894         (catanh_test_data): Likewise.
10895         (cbrt_test_data): Likewise.
10896         (ccos_test_data): Likewise.
10897         (ccosh_test_data): Likewise.
10898         (ceil_test_data): Likewise.
10899         (cexp_test_data): Likewise.
10900         (cimag_test_data): Likewise.
10901         (clog_test_data): Likewise.
10902         (clog10_test_data): Likewise.
10903         (conj_test_data): Likewise.
10904         (copysign_test_data): Likewise.
10905         (cos_test_data): Likewise.
10906         (cos_tonearest_test_data): Likewise.
10907         (cos_towardzero_test_data): Likewise.
10908         (cos_downward_test_data): Likewise.
10909         (cos_upward_test_data): Likewise.
10910         (cosh_test_data): Likewise.
10911         (cosh_tonearest_test_data): Likewise.
10912         (cosh_towardzero_test_data): Likewise.
10913         (cosh_downward_test_data): Likewise.
10914         (cosh_upward_test_data): Likewise.
10915         (cpow_test_data): Likewise.
10916         (cproj_test_data): Likewise.
10917         (creal_test_data): Likewise.
10918         (csin_test_data): Likewise.
10919         (csinh_test_data): Likewise.
10920         (csqrt_test_data): Likewise.
10921         (ctan_test_data): Likewise.
10922         (ctan_tonearest_test_data): Likewise.
10923         (ctan_towardzero_test_data): Likewise.
10924         (ctan_downward_test_data): Likewise.
10925         (ctan_upward_test_data): Likewise.
10926         (ctanh_test_data): Likewise.
10927         (ctanh_tonearest_test_data): Likewise.
10928         (ctanh_towardzero_test_data): Likewise.
10929         (ctanh_downward_test_data): Likewise.
10930         (ctanh_upward_test_data): Likewise.
10931         (erf_test_data): Likewise.
10932         (erfc_test_data): Likewise.
10933         (exp_test_data): Likewise.
10934         (exp_tonearest_test_data): Likewise.
10935         (exp_towardzero_test_data): Likewise.
10936         (exp_downward_test_data): Likewise.
10937         (exp_upward_test_data): Likewise.
10938         (exp10_test_data): Likewise.
10939         (exp2_test_data): Likewise.
10940         (expm1_test_data): Likewise.
10941         (fabs_test_data): Likewise.
10942         (fdim_test_data): Likewise.
10943         (finite_test_data): Likewise.
10944         (floor_test_data): Likewise.
10945         (fma_test_data): Likewise.
10946         (fma_towardzero_test_data): Likewise.
10947         (fma_downward_test_data): Likewise.
10948         (fma_upward_test_data): Likewise.
10949         (fmax_test_data): Likewise.
10950         (fmin_test_data): Likewise.
10951         (fmod_test_data): Likewise.
10952         (fpclassify_test_data): Likewise.
10953         (frexp_test_data): Likewise.
10954         (gamma_test_data): Likewise.
10955         (hypot_test_data): Likewise.
10956         (ilogb_test_data): Likewise.
10957         (isfinite_test_data): Likewise.
10958         (isgreater_test_data): Likewise.
10959         (isgreaterequal_test_data): Likewise.
10960         (isinf_test_data): Likewise.
10961         (isless_test_data): Likewise.
10962         (islessequal_test_data): Likewise.
10963         (islessgreater_test_data): Likewise.
10964         (isnan_test_data): Likewise.
10965         (isnormal_test_data): Likewise.
10966         (issignaling_test_data): Likewise.
10967         (isunordered_test_data): Likewise.
10968         (j0_test_data): Likewise.
10969         (j1_test_data): Likewise.
10970         (jn_test_data): Likewise.
10971         (ldexp_test_data): Likewise.
10972         (lgamma_test_data): Likewise.
10973         (lrint_test_data): Likewise.
10974         (lrint_tonearest_test_data): Likewise.
10975         (lrint_towardzero_test_data): Likewise.
10976         (lrint_downward_test_data): Likewise.
10977         (lrint_upward_test_data): Likewise.
10978         (llrint_test_data): Likewise.
10979         (llrint_tonearest_test_data): Likewise.
10980         (llrint_towardzero_test_data): Likewise.
10981         (llrint_downward_test_data): Likewise.
10982         (llrint_upward_test_data): Likewise.
10983         (log_test_data): Likewise.
10984         (log10_test_data): Likewise.
10985         (log1p_test_data): Likewise.
10986         (log2_test_data): Likewise.
10987         (logb_test_data): Likewise.
10988         (logb_downward_test_data): Likewise.
10989         (lround_test_data): Likewise.
10990         (llround_test_data): Likewise.
10991         (modf_test_data): Likewise.
10992         (nearbyint_test_data): Likewise.
10993         (nextafter_test_data): Likewise.
10994         (nexttoward_test_data): Likewise.
10995         (pow_test_data): Likewise.
10996         (pow_tonearest_test_data): Likewise.
10997         (pow_towardzero_test_data): Likewise.
10998         (pow_downward_test_data): Likewise.
10999         (pow_upward_test_data): Likewise.
11000         (remainder_test_data): Likewise.
11001         (remainder_tonearest_test_data): Likewise.
11002         (remainder_towardzero_test_data): Likewise.
11003         (remainder_downward_test_data): Likewise.
11004         (remainder_upward_test_data): Likewise.
11005         (remquo_test_data): Likewise.
11006         (rint_test_data): Likewise.
11007         (rint_tonearest_test_data): Likewise.
11008         (rint_towardzero_test_data): Likewise.
11009         (rint_downward_test_data): Likewise.
11010         (rint_upward_test_data): Likewise.
11011         (round_test_data): Likewise.
11012         (scalb_test_data): Likewise.
11013         (scalbn_test_data): Likewise.
11014         (scalbln_test_data): Likewise.
11015         (signbit_test_data): Likewise.
11016         (sin_test_data): Likewise.
11017         (sin_tonearest_test_data): Likewise.
11018         (sin_towardzero_test_data): Likewise.
11019         (sin_downward_test_data): Likewise.
11020         (sin_upward_test_data): Likewise.
11021         (sincos_test_data): Likewise.
11022         (sinh_test_data): Likewise.
11023         (sinh_tonearest_test_data): Likewise.
11024         (sinh_towardzero_test_data): Likewise.
11025         (sinh_downward_test_data): Likewise.
11026         (sinh_upward_test_data): Likewise.
11027         (sqrt_test_data): Likewise.
11028         (tan_test_data): Likewise.
11029         (tan_tonearest_test_data): Likewise.
11030         (tan_towardzero_test_data): Likewise.
11031         (tan_downward_test_data): Likewise.
11032         (tan_upward_test_data): Likewise.
11033         (tanh_test_data): Likewise.
11034         (tgamma_test_data): Likewise.
11035         (trunc_test_data): Likewise.
11036         (y0_test_data): Likewise.
11037         (y1_test_data): Likewise.
11038         (yn_test_data): Likewise.
11039         (significand_test_data): Likewise.
11041         * math/gen-libm-test.pl (@functions): Remove variable.
11042         (generate_testfile): Don't handle START and END lines.
11043         * math/libm-test.inc (START): New macro.
11044         (END): Likewise.
11045         (END_COMPLEX): Likewise.
11046         (acos_test): Use END macro without arguments.
11047         (acos_test_tonearest): Likewise.
11048         (acos_test_towardzero): Likewise.
11049         (acos_test_downward): Likewise.
11050         (acos_test_upward): Likewise.
11051         (acosh_test): Likewise.
11052         (asin_test): Likewise.
11053         (asin_test_tonearest): Likewise.
11054         (asin_test_towardzero): Likewise.
11055         (asin_test_downward): Likewise.
11056         (asin_test_upward): Likewise.
11057         (asinh_test): Likewise.
11058         (atan_test): Likewise.
11059         (atanh_test): Likewise.
11060         (atan2_test): Likewise.
11061         (cabs_test): Likewise.
11062         (cacos_test): Use END_COMPLEX macro without arguments.
11063         (cacosh_test): Likewise.
11064         (carg_test): Use END macro without arguments.
11065         (casin_test): Use END_COMPLEX macro without arguments.
11066         (casinh_test): Likewise.
11067         (catan_test): Likewise.
11068         (catanh_test): Likewise.
11069         (cbrt_test): Use END macro without arguments.
11070         (ccos_test): Use END_COMPLEX macro without arguments.
11071         (ccosh_test): Likewise.
11072         (ceil_test): Use END macro without arguments.
11073         (cexp_test): Use END_COMPLEX macro without arguments.
11074         (cimag_test): Use END macro without arguments.
11075         (clog_test): Use END_COMPLEX macro without arguments.
11076         (clog10_test): Likewise.
11077         (conj_test): Likewise.
11078         (copysign_test): Use END macro without arguments.
11079         (cos_test): Likewise.
11080         (cos_test_tonearest): Likewise.
11081         (cos_test_towardzero): Likewise.
11082         (cos_test_downward): Likewise.
11083         (cos_test_upward): Likewise.
11084         (cosh_test): Likewise.
11085         (cosh_test_tonearest): Likewise.
11086         (cosh_test_towardzero): Likewise.
11087         (cosh_test_downward): Likewise.
11088         (cosh_test_upward): Likewise.
11089         (cpow_test): Use END_COMPLEX macro without arguments.
11090         (cproj_test): Likewise.
11091         (creal_test): Use END macro without arguments.
11092         (csin_test): Use END_COMPLEX macro without arguments.
11093         (csinh_test): Likewise.
11094         (csqrt_test): Likewise.
11095         (ctan_test): Likewise.
11096         (ctan_test_tonearest): Likewise.
11097         (ctan_test_towardzero): Likewise.
11098         (ctan_test_downward): Likewise.
11099         (ctan_test_upward): Likewise.
11100         (ctanh_test): Likewise.
11101         (ctanh_test_tonearest): Likewise.
11102         (ctanh_test_towardzero): Likewise.
11103         (ctanh_test_downward): Likewise.
11104         (ctanh_test_upward): Likewise.
11105         (erf_test): Use END macro without arguments.
11106         (erfc_test): Likewise.
11107         (exp_test): Likewise.
11108         (exp_test_tonearest): Likewise.
11109         (exp_test_towardzero): Likewise.
11110         (exp_test_downward): Likewise.
11111         (exp_test_upward): Likewise.
11112         (exp10_test): Likewise.
11113         (exp2_test): Likewise.
11114         (expm1_test): Likewise.
11115         (fabs_test): Likewise.
11116         (fdim_test): Likewise.
11117         (finite_test): Likewise.
11118         (floor_test): Likewise.
11119         (fma_test): Likewise.
11120         (fma_test_towardzero): Likewise.
11121         (fma_test_downward): Likewise.
11122         (fma_test_upward): Likewise.
11123         (fmax_test): Likewise.
11124         (fmin_test): Likewise.
11125         (fmod_test): Likewise.
11126         (fpclassify_test): Likewise.
11127         (frexp_test): Likewise.
11128         (gamma_test): Likewise.
11129         (hypot_test): Likewise.
11130         (ilogb_test): Likewise.
11131         (isfinite_test): Likewise.
11132         (isgreater_test): Likewise.
11133         (isgreaterequal_test): Likewise.
11134         (isinf_test): Likewise.
11135         (isless_test): Likewise.
11136         (islessequal_test): Likewise.
11137         (islessgreater_test): Likewise.
11138         (isnan_test): Likewise.
11139         (isnormal_test): Likewise.
11140         (issignaling_test): Likewise.
11141         (isunordered_test): Likewise.
11142         (j0_test): Likewise.
11143         (j1_test): Likewise.
11144         (jn_test): Likewise.
11145         (ldexp_test): Likewise.
11146         (lgamma_test): Likewise.
11147         (lrint_test): Likewise.
11148         (lrint_test_tonearest): Likewise.
11149         (lrint_test_towardzero): Likewise.
11150         (lrint_test_downward): Likewise.
11151         (lrint_test_upward): Likewise.
11152         (llrint_test): Likewise.
11153         (llrint_test_tonearest): Likewise.
11154         (llrint_test_towardzero): Likewise.
11155         (llrint_test_downward): Likewise.
11156         (llrint_test_upward): Likewise.
11157         (log_test): Likewise.
11158         (log10_test): Likewise.
11159         (log1p_test): Likewise.
11160         (log2_test): Likewise.
11161         (logb_test): Likewise.
11162         (logb_test_downward): Likewise.
11163         (lround_test): Likewise.
11164         (llround_test): Likewise.
11165         (modf_test): Likewise.
11166         (nearbyint_test): Likewise.
11167         (nextafter_test): Likewise.
11168         (nexttoward_test): Likewise.
11169         (pow_test): Likewise.
11170         (pow_test_tonearest): Likewise.
11171         (pow_test_towardzero): Likewise.
11172         (pow_test_downward): Likewise.
11173         (pow_test_upward): Likewise.
11174         (remainder_test): Likewise.
11175         (remainder_test_tonearest): Likewise.
11176         (remainder_test_towardzero): Likewise.
11177         (remainder_test_downward): Likewise.
11178         (remainder_test_upward): Likewise.
11179         (remquo_test): Likewise.
11180         (rint_test): Likewise.
11181         (rint_test_tonearest): Likewise.
11182         (rint_test_towardzero): Likewise.
11183         (rint_test_downward): Likewise.
11184         (rint_test_upward): Likewise.
11185         (round_test): Likewise.
11186         (scalb_test): Likewise.
11187         (scalbn_test): Likewise.
11188         (scalbln_test): Likewise.
11189         (signbit_test): Likewise.
11190         (sin_test): Likewise.
11191         (sin_test_tonearest): Likewise.
11192         (sin_test_towardzero): Likewise.
11193         (sin_test_downward): Likewise.
11194         (sin_test_upward): Likewise.
11195         (sincos_test): Likewise.
11196         (sinh_test): Likewise.
11197         (sinh_test_tonearest): Likewise.
11198         (sinh_test_towardzero): Likewise.
11199         (sinh_test_downward): Likewise.
11200         (sinh_test_upward): Likewise.
11201         (sqrt_test): Likewise.
11202         (tan_test): Likewise.
11203         (tan_test_tonearest): Likewise.
11204         (tan_test_towardzero): Likewise.
11205         (tan_test_downward): Likewise.
11206         (tan_test_upward): Likewise.
11207         (tanh_test): Likewise.
11208         (tgamma_test): Likewise.
11209         (trunc_test): Likewise.
11210         (y0_test): Likewise.
11211         (y1_test): Likewise.
11212         (yn_test): Likewise.
11213         (significand_test): Likewise.
11215 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11217         [BZ #15381]
11218         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11220 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11222         [BZ #14894]
11223         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11224         __ppc_mdoio and __ppc_mdoom.
11225         * manual/platform.texi: Document new functions __ppc_yield,
11226         __ppc_mdoio and __ppc_mdoom.
11228 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11230         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11231         (main): Mention "tls" pseudo-hwcap is legacy.
11232         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11234 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11236         * math/gen-libm-test.pl (parse_args): Output only string of
11237         arguments as text for test name, not full call or descriptions of
11238         tests for extra outputs.
11239         (generate_testfile): Do not pass function name to parse_args.
11240         Generate this_func variable from START.
11241         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11242         field to arg_str.
11243         (struct test_ff_f_data): Likewise.
11244         (test_ff_f_data_nexttoward): Likewise.
11245         (struct test_fi_f_data): Likewise.
11246         (struct test_fl_f_data): Likewise.
11247         (struct test_if_f_data): Likewise.
11248         (struct test_fff_f_data): Likewise.
11249         (struct test_c_f_data): Likewise.
11250         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11251         (struct test_fF_f1_data): Likewise.
11252         (struct test_ffI_f1_data): Likewise.
11253         (struct test_c_c_data): Rename test_name field to arg_str.
11254         (struct test_cc_c_data): Likewise.
11255         (struct test_f_i_data): Likewise.
11256         (struct test_ff_i_data): Likewise.
11257         (struct test_f_l_data): Likewise.
11258         (struct test_f_L_data): Likewise.
11259         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11260         and extra2_name.
11261         (COMMON_TEST_SETUP): New macro.
11262         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11263         (COMMON_TEST_CLEANUP): Likewise.
11264         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11265         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11266         macros.
11267         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11268         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11269         macros.
11270         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11271         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11272         cleanup macros.
11273         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11274         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11275         macros.
11276         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11277         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11278         macros.
11279         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11280         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11281         cleanup macros.
11282         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11283         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11284         cleanup macros.
11285         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11286         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11287         cleanup macros.
11288         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11289         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11290         macros.
11291         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11292         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11293         macros.
11294         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11295         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11296         macros.
11297         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11298         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11299         cleanup macros.
11300         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11301         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11302         cleanup macros.
11303         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11304         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11305         macros.
11306         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11307         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11308         cleanup macros.
11309         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11310         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
11311         macros.
11312         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11313         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
11314         macros.
11315         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11316         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
11317         cleanup macros.
11318         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11320 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11322         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11323         to _sifields.sigfault.
11324         (si_addr_lsb): Define new macro.
11325         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11327         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11329 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
11331         [BZ #15441]
11332         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11333         returns -1.
11334         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11335         null return -1.
11336         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11337         loading the domain.
11339 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11341         * math/gen-libm-test.pl (parse_args): Do not include expected
11342         result in test name.
11343         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11344         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11345         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11346         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11347         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11352         * benchtests/Makefile: Sort function entries.
11354         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
11355         tanh, asinh, acosh, atanh.
11356         * benchtests/acos-inputs: New file.
11357         * benchtests/acosh-inputs: New file.
11358         * benchtests/asin-inputs: New file.
11359         * benchtests/asinh-inputs: New file.
11360         * benchtests/atanh-inputs: New file.
11361         * benchtests/cosh-inputs: New file.
11362         * benchtests/log-inputs: New file.
11363         * benchtests/sinh-inputs: New file.
11364         * benchtests/tanh-inputs: New file.
11366 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
11368         [BZ #15339]
11369         * posix/tst-getaddrinfo4.c: New test.
11370         * posix/Makefile (tests): Add it.
11372 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11374         [BZ #15339]
11375         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
11376         when no services were used.
11377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
11378         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
11380 2013-05-21  Andreas Schwab  <schwab@suse.de>
11382         [BZ #15014]
11383         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
11384         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
11385         successful.
11386         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
11387         redundant variable declarations and reallocation of buffer when
11388         parsing as IPv6 address.  Always set NSS status when called from
11389         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
11390         buffer too small.  Correct computation of needed size.
11391         * nss/Makefile (tests): Add test-digits-dots.
11392         * nss/test-digits-dots.c: New test.
11394 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11396         * benchtests/Makefile: Remove instructions for adding
11397         benchmark tests.
11398         * benchtests/README: New file to explain how to execute and
11399         enhance the benchmark tests.
11401 2013-05-21  Andreas Schwab  <schwab@suse.de>
11403         [BZ #15493]
11404         * setjmp/Makefile (tests): Add tst-sigsetjmp.
11405         * setjmp/tst-sigsetjmp.c: New test.
11407 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11409         * sysdeps/x86_64/memset.S (memset): New implementation.
11410         (__bzero): Likewise.
11411         (__memset_tail): New function.
11413 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
11415         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
11416         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
11417         __memcpy_sse2_unaligned ifunc selection.
11418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11419         Add memcpy-sse2-unaligned.S.
11420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11421         Add: __memcpy_sse2_unaligned.
11423 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
11425         [BZ #15490]
11426         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11427         math_force_eval before restoring floating-point envrionment.
11428         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
11429         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11430         Likewise.
11431         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
11432         <math_private.h>.
11433         (__nearbyintl): Use math_force_eval before restoring
11434         floating-point environment.
11435         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
11437         * math/gen-libm-test.pl (special_functions): Remove.
11438         (parse_args): Don't handle TEST_extra.  Handle functions with no
11439         return value.
11440         * math/libm-test.inc (struct test_sincos_data): Replace with
11441         struct test_fFF_11_data.
11442         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
11443         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
11444         (sincos_test_data): Change element type to struct
11445         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
11446         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
11447         RUN_TEST_LOOP_sincos.
11448         * math/README.libm-test: Don't mention special handling of
11449         individual functions.
11450         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
11451         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11452         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11453         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11454         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11457         * math/gen-libm-test.pl (get_variable): Remove function.
11458         (parse_args): Don't show pointer parameters to call in test
11459         names.  Use "extra output N" in test names for extra outputs
11460         rather than naming variables.
11462 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
11464         [BZ #15488]
11465         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
11466         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
11467         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
11468         double tests.
11469         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
11470         disable.
11471         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
11472         check_long_double.
11474         * math/gen-libm-test.pl (@tests): Remove variable.
11475         ($count): Likewise.
11476         (new_test): Remove function.
11477         (show_exceptions): New function.
11478         (special_functions): Use show_exceptions instead of new_test.
11479         (parse_args): Likewise.
11480         (generate_testfile): Pass only function name in generated call to
11481         print_max_error or print_complex_max_error.
11482         (get_ulps): Do not handle complex tests specially.
11483         (output_test): Rename to ...
11484         (get_all_ulps_for_test): ... this.  Return a string rather than
11485         printing to a file.  Require ulps to be present.
11486         (output_ulps): Generate arrays rather than #defines.
11487         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
11488         (struct ulp_data): New type.
11489         (BUILD_COMPLEX_ULP): Remove macro.
11490         (compare_ulp_data): New function.
11491         (find_ulps): Likewise.
11492         (find_test_ulps): Likewise.
11493         (find_function_ulps): Likewise.
11494         (find_complex_function_ulps): Likewise.
11495         (print_max_error): Determine allowed ulps using
11496         find_function_ulps.
11497         (print_complex_max_error): Determine allowed ulps using
11498         find_complex_function_ulps.
11499         (check_float_internal): Determine max ulps using find_test_ulps.
11500         (check_float): Do not take max_ulp parameter.  Update call to
11501         check_float_internal.
11502         (check_complex): Likewise.
11503         (check_int): Do not take max_ulp parameter.
11504         (check_long): Likewise.
11505         (check_bool): Likewise.
11506         (check_longlong): Likewise.
11507         (struct test_f_f_data): Remove max_ulp field.
11508         (struct test_ff_f_data): Likewise.
11509         (struct test_ff_f_data_nexttoward): Likewise.
11510         (struct test_fi_f_data): Likewise.
11511         (struct test_fl_f_data): Likewise.
11512         (struct test_if_f_data): Likewise.
11513         (struct test_fff_f_data): Likewise.
11514         (struct test_c_f_data): Likewise.
11515         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
11516         (struct test_fF_f1_data): Likewise.
11517         (struct test_ffI_f1_data): Likewise.
11518         (struct test_c_c_data): Remove max_ulp field.
11519         (struct test_cc_c_data): Likewise.
11520         (struct test_f_i_data): Likewise.
11521         (struct test_ff_i_data): Likewise.
11522         (struct test_f_l_data): Likewise.
11523         (struct test_f_L_data): Likewise.
11524         (struct test_sincos_data): Likewise.
11525         (RUN_TEST_f_f): Do not handle ulps.
11526         (RUN_TEST_LOOP_f_f): Likewise.
11527         (RUN_TEST_2_f): Likewise.
11528         (RUN_TEST_LOOP_2_f): Likewise.
11529         (RUN_TEST_fff_f): Likewise.
11530         (RUN_TEST_LOOP_fff_f): Likewise.
11531         (RUN_TEST_c_f): Likewise.
11532         (RUN_TEST_LOOP_c_f): Likewise.
11533         (RUN_TEST_f_f1): Likewise.
11534         (RUN_TEST_LOOP_f_f1): Likewise.
11535         (RUN_TEST_fF_f1): Likewise.
11536         (RUN_TEST_LOOP_fF_f1): Likewise.
11537         (RUN_TEST_fI_f1): Likewise.
11538         (RUN_TEST_LOOP_fI_f1): Likewise.
11539         (RUN_TEST_ffI_f1): Likewise.
11540         (RUN_TEST_LOOP_ffI_f1): Likewise.
11541         (RUN_TEST_c_c): Likewise.
11542         (RUN_TEST_LOOP_c_c): Likewise.
11543         (RUN_TEST_cc_c): Likewise.
11544         (RUN_TEST_LOOP_cc_c): Likewise.
11545         (RUN_TEST_f_i): Likewise.
11546         (RUN_TEST_LOOP_f_i): Likewise.
11547         (RUN_TEST_f_i_tg): Likewise.
11548         (RUN_TEST_LOOP_f_i_tg): Likewise.
11549         (RUN_TEST_ff_i_tg): Likewise.
11550         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11551         (RUN_TEST_f_b): Likewise.
11552         (RUN_TEST_LOOP_f_b): Likewise.
11553         (RUN_TEST_f_b_tg): Likewise.
11554         (RUN_TEST_LOOP_f_b_tg): Likewise.
11555         (RUN_TEST_f_l): Likewise.
11556         (RUN_TEST_LOOP_f_l): Likewise.
11557         (RUN_TEST_f_L): Likewise.
11558         (RUN_TEST_LOOP_f_L): Likewise.
11559         (RUN_TEST_sincos): Likewise.
11560         (RUN_TEST_LOOP_sincos): Likewise.
11562 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
11564         [BZ #15480]
11565         [BZ #15485]
11566         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
11567         main case of finite arguments, set rounding mode to FE_TONEAREST
11568         and discard exceptions.
11569         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
11570         exceptions.
11571         (remainder_tonearest_test_data): New variable.
11572         (remainder_test_tonearest): New function.
11573         (remainder_towardzero_test_data): New variable.
11574         (remainder_test_towardzero): New function.
11575         (remainder_downward_test_data): New variable.
11576         (remainder_test_downward): New function.
11577         (remainder_upward_test_data): New variable.
11578         (remainder_test_upward): New function.
11579         (main): Call the new test functions.
11581         * math/libm-test.inc (struct test_f_f1_data): Remove field
11582         extra_init.
11583         (struct test_fF_f1_data): Likewise.
11584         (struct test_ffI_f1_data): Likewise.
11585         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
11586         based on value of EXTRA_EXPECTED.
11587         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11588         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
11589         EXTRA_VAR based on value of EXTRA_EXPECTED.
11590         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11591         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
11592         EXTRA_VAR based on value of EXTRA_EXPECTED.
11593         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11594         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
11595         EXTRA_VAR based on value of EXTRA_EXPECTED.
11596         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11597         * math/gen-libm-test.pl (parse_args): Don't output initializers
11598         for extra output values.
11600         * math/libm-test.inc (check_int): Expect result to be exactly
11601         equal to expected value and do not handle ulps.
11602         (check_long): Likewise.
11603         (check_longlong): Likewise.
11605         * math/libm-test.inc (ceil_test_data): Test for "inexact"
11606         exceptions.
11607         (cimag_test_data): Likewise.
11608         (conj_test_data): Likewise.
11609         (copysign_test_data): Likewise.
11610         (cproj_test_data): Likewise.
11611         (creal_test_data): Likewise.
11612         (fabs_test_data): Likewise.
11613         (fdim_test_data): Likewise.
11614         (finite_test_data): Likewise.
11615         (floor_test_data): Likewise.
11616         (fmax_test_data): Likewise.
11617         (fmin_test_data): Likewise.
11618         (fmod_test_data): Likewise.
11619         (fpclassify_test_data): Likewise.
11620         (frexp_test_data): Likewise.
11621         (ilogb_test_data): Likewise.
11622         (isfinite_test_data): Likewise.
11623         (isgreater_test_data): Likewise.
11624         (isgreaterequal_test_data): Likewise.
11625         (isinf_test_data): Likewise.
11626         (isless_test_data): Likewise.
11627         (islessequal_test_data): Likewise.
11628         (islessgreater_test_data): Likewise.
11629         (isnan_test_data): Likewise.
11630         (isnormal_test_data): Likewise.
11631         (issignaling_test_data): Likewise.
11632         (isunordered_test_data): Likewise.
11633         (ldexp_test_data): Likewise.
11634         (lrint_test_data): Likewise.
11635         (lrint_test_data) [TEST_FLOAT]: Disable one test.
11636         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11637         (lrint_tonearest_test_data): Test for "inexact" exceptions.
11638         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11639         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11640         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11641         test input.
11642         (lrint_towardzero_test_data): Test for "inexact" exceptions.
11643         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11644         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11645         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11646         that test input.
11647         (lrint_downward_test_data): Test for "inexact" exceptions.
11648         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11649         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11650         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11651         test input.
11652         (lrint_upward_test_data): Test for "inexact" exceptions.
11653         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11654         test input.
11655         (llrint_test_data): Test for "inexact" exceptions.
11656         (llrint_test_data) [TEST_FLOAT]: Disable one test.
11657         (llrint_tonearest_test_data): Test for "inexact" exceptions.
11658         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11659         (llrint_towardzero_test_data): Test for "inexact" exceptions.
11660         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11661         (llrint_downward_test_data): Test for "inexact" exceptions.
11662         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11663         (llrint_upward_test_data): Test for "inexact" exceptions.
11664         (logb_test_data): Likewise.
11665         (logb_downward_test_data): Likewise.
11666         (nextafter_test_data): Likewise.
11667         (nexttoward_test_data): Likewise.
11668         (remainder_test_data): Likewise.
11669         (remquo_test_data): Likewise.
11670         (scalbn_test_data): Likewise.
11671         (scalbln_test_data): Likewise.
11672         (signbit_test_data): Likewise.
11673         (sqrt_test_data): Likewise.
11674         (significand_test_data): Likewise.
11676 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11678         [BZ #15424]
11679         * benchtests/bench-modf.c (struct args): Mark arg0 as
11680         volatile.
11681         * scripts/bench.pl: Mark members of struct args as volatile.
11683 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685         [BZ # 15497]
11686         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11687         negative infinity on POWER6 or lower.
11688         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11690 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11692         [BZ #15442]
11693         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11694         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11695         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11696         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11697         (_FP_SETQNAN): New macro.
11698         (_FP_SETQNAN_SEMIRAW): Likewise.
11699         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11700         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11701         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11702         (FP_EXTEND): Use _FP_FRAC_SNANP.
11703         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11704         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11705         into account.
11706         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11707         New macro.
11708         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11709         Likewise.
11711 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11713         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11714         with DIVIDE_BY_ZERO_EXCEPTION.
11715         (gamma_test_data): Likewise.
11716         (lgamma_test_data): Likewise.
11717         (log_test_data): Likewise.
11718         (log10_test_data): Likewise.
11719         (log2_test_data): Likewise.
11720         (tgamma_test_data): Likewise.
11722         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11723         (acos_test_tonearest): Likewise.
11724         (acos_test_towardzero): Likewise.
11725         (acos_test_downward): Likewise.
11726         (acos_test_upward): Likewise.
11727         (acosh_test): Likewise.
11728         (asin_test): Likewise.
11729         (asin_test_tonearest): Likewise.
11730         (asin_test_towardzero): Likewise.
11731         (asin_test_downward): Likewise.
11732         (asin_test_upward): Likewise.
11733         (asinh_test): Likewise.
11734         (atan_test): Likewise.
11735         (atanh_test): Likewise.
11736         (atan2_test): Likewise.
11737         (cabs_test): Likewise.
11738         (cacos_test): Likewise.
11739         (cacosh_test): Likewise.
11740         (casin_test): Likewise.
11741         (casinh_test): Likewise.
11742         (catan_test): Likewise.
11743         (catanh_test): Likewise.
11744         (cbrt_test): Likewise.
11745         (ccos_test): Likewise.
11746         (ccosh_test): Likewise.
11747         (cexp_test): Likewise.
11748         (clog_test): Likewise.
11749         (clog10_test): Likewise.
11750         (cos_test): Likewise.
11751         (cos_test_tonearest): Likewise.
11752         (cos_test_towardzero): Likewise.
11753         (cos_test_downward): Likewise.
11754         (cos_test_upward): Likewise.
11755         (cosh_test): Likewise.
11756         (cosh_test_tonearest): Likewise.
11757         (cosh_test_towardzero): Likewise.
11758         (cosh_test_downward): Likewise.
11759         (cosh_test_upward): Likewise.
11760         (cpow_test): Likewise.
11761         (csin_test): Likewise.
11762         (csinh_test): Likewise.
11763         (csqrt_test): Likewise.
11764         (ctan_test): Likewise.
11765         (ctan_test_tonearest): Likewise.
11766         (ctan_test_towardzero): Likewise.
11767         (ctan_test_downward): Likewise.
11768         (ctan_test_upward): Likewise.
11769         (ctanh_test): Likewise.
11770         (ctanh_test_tonearest): Likewise.
11771         (ctanh_test_towardzero): Likewise.
11772         (ctanh_test_downward): Likewise.
11773         (ctanh_test_upward): Likewise.
11774         (erf_test): Likewise.
11775         (erfc_test): Likewise.
11776         (exp_test): Likewise.
11777         (exp_test_tonearest): Likewise.
11778         (exp_test_towardzero): Likewise.
11779         (exp_test_downward): Likewise.
11780         (exp_test_upward): Likewise.
11781         (exp10_test): Likewise.
11782         (exp2_test): Likewise.
11783         (expm1_test): Likewise.
11784         (fmod_test): Likewise.
11785         (gamma_test): Likewise.
11786         (hypot_test): Likewise.
11787         (j0_test): Likewise.
11788         (j1_test): Likewise.
11789         (jn_test): Likewise.
11790         (lgamma_test): Likewise.
11791         (log_test): Likewise.
11792         (log10_test): Likewise.
11793         (log1p_test): Likewise.
11794         (log2_test): Likewise.
11795         (logb_test_downward): Likewise.
11796         (pow_test): Likewise.
11797         (pow_test_tonearest): Likewise.
11798         (pow_test_towardzero): Likewise.
11799         (pow_test_downward): Likewise.
11800         (pow_test_upward): Likewise.
11801         (remainder_test): Likewise.
11802         (remquo_test): Likewise.
11803         (sin_test): Likewise.
11804         (sin_test_tonearest): Likewise.
11805         (sin_test_towardzero): Likewise.
11806         (sin_test_downward): Likewise.
11807         (sin_test_upward): Likewise.
11808         (sincos_test): Likewise.
11809         (sinh_test): Likewise.
11810         (sinh_test_tonearest): Likewise.
11811         (sinh_test_towardzero): Likewise.
11812         (sinh_test_downward): Likewise.
11813         (sinh_test_upward): Likewise.
11814         (sqrt_test): Likewise.
11815         (tan_test): Likewise.
11816         (tan_test_tonearest): Likewise.
11817         (tan_test_towardzero): Likewise.
11818         (tan_test_downward): Likewise.
11819         (tan_test_upward): Likewise.
11820         (tanh_test): Likewise.
11821         (tgamma_test): Likewise.
11822         (y0_test): Likewise.
11823         (y1_test): Likewise.
11824         (yn_test): Likewise.
11826         * math/gen-libm-test.pl (adjust_arg): Remove function.
11827         (special_function): Remove argument $in_func.  Only handle
11828         generating output for tables of tests, not inside functions.
11829         (parse_args): Likewise.
11830         (generate_testfile): Remove variable $in_func.  Update call to
11831         parse_args.
11832         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11833         (MINUS_ZERO_INIT): Rename macro to minus_zero.
11834         (PLUS_INFTY_INIT): Rename macro to plus_infty.
11835         (MINUS_INFTY_INIT): Rename macro to minus_infty.
11836         (QNAN_VALUE_INIT): Rename macro to qnan_value.
11837         (MAX_VALUE_INIT): Rename macro to max_value.
11838         (MIN_VALUE_INIT): Rename macro to min_value.
11839         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11840         (plus_zero): Remove variable.
11841         (minus_zero): Likewise.
11842         (plus_infty): Likewise.
11843         (minus_infty): Likewise.
11844         (qnan_value): Likewise.
11845         (max_value): Likewise.
11846         (min_value): Likewise.
11847         (min_subnorm_value): Likewise.
11849 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11851         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11852         uint64_t or uint32_t usage.
11853         * crypt/sha256-block.c: Likewise.
11854         * crypt/sha256-crypt.c: Likewise.
11855         * crypt/sha256.c: Likewise.
11856         * crypt/sha512-block.c: Likewise.
11857         * crypt/sha512-crypt.c: Likewise.
11858         * crypt/sha512.c: Likewise.
11859         * debug/backtrace-tst.c: Likewise.
11860         * debug/pcprofiledump.c: Likewise.
11861         * elf/cache.c: Likewise.
11862         * elf/dl-cache.c: Likewise.
11863         * elf/dl-misc.c: Likewise.
11864         * elf/dl-profile.c: Likewise.
11865         * elf/dl-support.c: Likewise.
11866         * elf/ldconfig.c: Likewise.
11867         * elf/sprof.c: Likewise.
11868         * iconv/dummy-repertoire.c: Likewise.
11869         * iconv/iconv_charmap.c: Likewise.
11870         * iconv/skeleton.c: Likewise.
11871         * iconvdata/8bit-generic.c: Likewise.
11872         * iconvdata/cp737.h: Likewise.
11873         * iconvdata/cp775.h: Likewise.
11874         * iconvdata/ibm1008.h: Likewise.
11875         * iconvdata/ibm1025.h: Likewise.
11876         * iconvdata/ibm1046.h: Likewise.
11877         * iconvdata/ibm1097.h: Likewise.
11878         * iconvdata/ibm1112.h: Likewise.
11879         * iconvdata/ibm1122.h: Likewise.
11880         * iconvdata/ibm1123.h: Likewise.
11881         * iconvdata/ibm1124.h: Likewise.
11882         * iconvdata/ibm1129.h: Likewise.
11883         * iconvdata/ibm1130.h: Likewise.
11884         * iconvdata/ibm1132.h: Likewise.
11885         * iconvdata/ibm1133.h: Likewise.
11886         * iconvdata/ibm1137.h: Likewise.
11887         * iconvdata/ibm1140.h: Likewise.
11888         * iconvdata/ibm1141.h: Likewise.
11889         * iconvdata/ibm1142.h: Likewise.
11890         * iconvdata/ibm1143.h: Likewise.
11891         * iconvdata/ibm1144.h: Likewise.
11892         * iconvdata/ibm1145.h: Likewise.
11893         * iconvdata/ibm1146.h: Likewise.
11894         * iconvdata/ibm1147.h: Likewise.
11895         * iconvdata/ibm1148.h: Likewise.
11896         * iconvdata/ibm1149.h: Likewise.
11897         * iconvdata/ibm1153.h: Likewise.
11898         * iconvdata/ibm1154.h: Likewise.
11899         * iconvdata/ibm1155.h: Likewise.
11900         * iconvdata/ibm1156.h: Likewise.
11901         * iconvdata/ibm1157.h: Likewise.
11902         * iconvdata/ibm1158.h: Likewise.
11903         * iconvdata/ibm1160.h: Likewise.
11904         * iconvdata/ibm1161.h: Likewise.
11905         * iconvdata/ibm1162.h: Likewise.
11906         * iconvdata/ibm1163.h: Likewise.
11907         * iconvdata/ibm1164.h: Likewise.
11908         * iconvdata/ibm1166.h: Likewise.
11909         * iconvdata/ibm1167.h: Likewise.
11910         * iconvdata/ibm12712.h: Likewise.
11911         * iconvdata/ibm1390.h: Likewise.
11912         * iconvdata/ibm1399.h: Likewise.
11913         * iconvdata/ibm16804.h: Likewise.
11914         * iconvdata/ibm4517.h: Likewise.
11915         * iconvdata/ibm4899.h: Likewise.
11916         * iconvdata/ibm4909.h: Likewise.
11917         * iconvdata/ibm4971.h: Likewise.
11918         * iconvdata/ibm5347.h: Likewise.
11919         * iconvdata/ibm803.h: Likewise.
11920         * iconvdata/ibm856.h: Likewise.
11921         * iconvdata/ibm901.h: Likewise.
11922         * iconvdata/ibm902.h: Likewise.
11923         * iconvdata/ibm9030.h: Likewise.
11924         * iconvdata/ibm9066.h: Likewise.
11925         * iconvdata/ibm921.h: Likewise.
11926         * iconvdata/ibm922.h: Likewise.
11927         * iconvdata/ibm9448.h: Likewise.
11928         * iconvdata/isiri-3342.h: Likewise.
11929         * iconvdata/jis0201.h: Likewise.
11930         * include/link.h: Likewise.
11931         * include/netdb.h: Likewise.
11932         * inet/check_native.c: Likewise.
11933         * inet/check_pf.c: Likewise.
11934         * inet/getipv4sourcefilter.c: Likewise.
11935         * inet/getnameinfo.c: Likewise.
11936         * inet/getsourcefilter.c: Likewise.
11937         * inet/htonl.c: Likewise.
11938         * inet/setipv4sourcefilter.c: Likewise.
11939         * inet/setsourcefilter.c: Likewise.
11940         * inet/test-inet6_opt.c: Likewise.
11941         * inet/tst-network.c: Likewise.
11942         * locale/C-collate.c: Likewise.
11943         * locale/C-ctype.c: Likewise.
11944         * locale/C-time.c: Likewise.
11945         * locale/C-translit.h: Likewise.
11946         * locale/loadarchive.c: Likewise.
11947         * locale/programs/3level.h: Likewise.
11948         * locale/programs/charmap.c: Likewise.
11949         * locale/programs/charmap.h: Likewise.
11950         * locale/programs/ld-address.c: Likewise.
11951         * locale/programs/ld-collate.c: Likewise.
11952         * locale/programs/ld-ctype.c: Likewise.
11953         * locale/programs/ld-identification.c: Likewise.
11954         * locale/programs/ld-measurement.c: Likewise.
11955         * locale/programs/ld-messages.c: Likewise.
11956         * locale/programs/ld-monetary.c: Likewise.
11957         * locale/programs/ld-name.c: Likewise.
11958         * locale/programs/ld-numeric.c: Likewise.
11959         * locale/programs/ld-paper.c: Likewise.
11960         * locale/programs/ld-telephone.c: Likewise.
11961         * locale/programs/ld-time.c: Likewise.
11962         * locale/programs/linereader.c: Likewise.
11963         * locale/programs/locale.c: Likewise.
11964         * locale/programs/locarchive.c: Likewise.
11965         * locale/programs/locfile.h: Likewise.
11966         * locale/programs/repertoire.c: Likewise.
11967         * locale/programs/simple-hash.c: Likewise.
11968         * locale/programs/simple-hash.h: Likewise.
11969         * malloc/memusage.c: Likewise.
11970         * malloc/memusagestat.c: Likewise.
11971         * nis/nis_defaults.c: Likewise.
11972         * nis/nis_hash.c: Likewise.
11973         * nis/nis_print.c: Likewise.
11974         * nis/nis_xdr.c: Likewise.
11975         * nscd/connections.c: Likewise.
11976         * nscd/hstcache.c: Likewise.
11977         * nscd/nscd_gethst_r.c: Likewise.
11978         * nscd/nscd_getserv_r.c: Likewise.
11979         * nscd/nscd_helper.c: Likewise.
11980         * nscd/servicescache.c: Likewise.
11981         * nss/makedb.c: Likewise.
11982         * nss/nss_db/db-XXX.c: Likewise.
11983         * nss/nss_db/db-initgroups.c: Likewise.
11984         * nss/nss_db/db-netgrp.c: Likewise.
11985         * nss/nss_files/files-network.c: Likewise.
11986         * nss/nss_files/files-parse.c: Likewise.
11987         * posix/bug-regex5.c: Likewise.
11988         * posix/fnmatch_loop.c: Likewise.
11989         * posix/regcomp.c: Likewise.
11990         * posix/regexec.c: Likewise.
11991         * posix/tst-rfc3484-2.c: Likewise.
11992         * posix/tst-rfc3484-3.c: Likewise.
11993         * posix/tst-rfc3484.c: Likewise.
11994         * resolv/nss_dns/dns-canon.c: Likewise.
11995         * resolv/nss_dns/dns-network.c: Likewise.
11996         * resolv/res_init.c: Likewise.
11997         * resolv/res_mkquery.c: Likewise.
11998         * resolv/tst-aton.c: Likewise.
11999         * stdlib/cxa_atexit.c: Likewise.
12000         * stdlib/cxa_finalize.c: Likewise.
12001         * stdlib/gen-fpioconst.c: Likewise.
12002         * stdlib/strtol_l.c: Likewise.
12003         * string/tst-endian.c: Likewise.
12004         * sunrpc/auth_des.c: Likewise.
12005         * sunrpc/clnt_udp.c: Likewise.
12006         * sunrpc/rtime.c: Likewise.
12007         * sunrpc/svcauth_des.c: Likewise.
12008         * sunrpc/xdr.c: Likewise.
12009         * sunrpc/xdr_intXX_t.c: Likewise.
12010         * sunrpc/xdr_rec.c: Likewise.
12011         * sysdeps/generic/ldconfig.h: Likewise.
12012         * sysdeps/generic/ldsodefs.h: Likewise.
12013         * sysdeps/generic/memusage.h: Likewise.
12014         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12015         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12016         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12017         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12018         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12020         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12021         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12022         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12024         * sysdeps/posix/getaddrinfo.c: Likewise.
12025         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12026         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12027         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12028         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12029         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12030         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12031         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12032         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12033         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12035         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12036         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12037         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12038         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12039         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12040         * sysdeps/x86_64/dl-tls.h: Likewise.
12041         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12042         * time/alt_digit.c: Likewise.
12043         * time/era.c: Likewise.
12044         * wcsmbs/tst-c16c32-1.c: Likewise.
12046 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12048         * math/libm-test.inc (struct test_sincos_data): New type.
12049         (RUN_TEST_LOOP_sincos): New macro.
12050         (sincos_test_data): New variable.
12051         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12053 2013-05-16  Richard Henderson  <rth@redhat.com>
12055         * math/atest-exp2.c (LIMB64): New macro.
12056         (CONSTSZ): New macro.
12057         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12058         (hexdig): Move ...
12059         (print_mpn_fp): ... to function scope.
12060         (read_mpn_hex): Remove.
12061         (get_log2): Remove.
12062         (exp2_mpn): Use mp_log2.
12063         (main): Use mp_exp1.
12065 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12067         * math/libm-test.inc: Remove comment about not testing "inexact"
12068         exceptions.
12069         (INEXACT_EXCEPTION): New macro.
12070         (NO_INEXACT_EXCEPTION): Likewise.
12071         (INVALID_EXCEPTION_OK): Update value.
12072         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12073         (OVERFLOW_EXCEPTION_OK): Likewise.
12074         (UNDERFLOW_EXCEPTION_OK): Likewise.
12075         (IGNORE_ZERO_INF_SIGN): Likewise.
12076         (ERRNO_UNCHANGED): Likewise.
12077         (ERRNO_EDOM): Likewise.
12078         (ERRNO_ERANGE): Likewise.
12079         (test_exceptions): Handle testing "inexact" exceptions.
12080         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12081         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12082         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12083         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12084         INEXACT_EXCEPTION.
12085         (rint_towardzero_test_data): Likewise.
12086         (rint_downward_test_data): Likewise.
12087         (rint_upward_test_data): Likewise.
12089         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12090         with OVERFLOW_EXCEPTION.
12091         (exp10_test_data): Likewise.
12092         (exp2_test_data): Likewise.
12093         (expm1_test_data): Likewise.
12094         (lgamma_test_data): Likewise.
12095         (pow_test_data): Likewise.
12096         (tgamma_test_data): Likewise.
12097         (yn_test_data): Remove duplicate test of overflow.
12099         * math/libm-test.inc (struct test_cc_c_data): New type.
12100         (RUN_TEST_LOOP_cc_c): New macro.
12101         (cpow_test_data): New variable.
12102         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12104         * math/libm-test.inc (struct test_f_L_data): New type.
12105         (RUN_TEST_LOOP_f_L): New macro.
12106         (llrint_test_data): New variable.
12107         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12108         (llrint_tonearest_test_data): New variable.
12109         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12110         (llrint_towardzero_test_data): New variable.
12111         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12112         (llrint_downward_test_data): New variable.
12113         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12114         (llrint_upward_test_data): New variable.
12115         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12116         (llround_test_data): New variable.
12117         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12119 2013-05-13  Peter Collingbourne  <pcc@google.com>
12121         * math/atest-exp2.c (get_log2): Remove const attribute.
12123 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12125         * math/libm-test.inc (struct test_f_l_data): New type.
12126         (RUN_TEST_LOOP_f_l): New macro.
12127         (lrint_test_data): New variable.
12128         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12129         (lrint_tonearest_test_data): New variable.
12130         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12131         (lrint_towardzero_test_data): New variable.
12132         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12133         (lrint_downward_test_data): New variable.
12134         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12135         (lrint_upward_test_data): New variable.
12136         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12137         (lround_test_data): New variable.
12138         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12140 2013-05-15  Peter Collingbourne  <pcc@google.com>
12142         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12143         (EXTRACT_WORDS64) Use where appropriate.
12144         (INSERT_WORDS64) Likewise.
12146         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12147         constraints with x constraints.
12148         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12150         * malloc/obstack.c (_obstack_compat): Add initializer.
12152 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12154         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12155         si_trapno and add si_addr_lsb to _sifields.sigfault.
12156         (si_trapno): Remove macro.
12157         (si_addr_lsb): Define new macro.
12158         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12160 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12162         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12163         instead of TEST_f_l.
12164         (llrint_test_tonearest): Likewise.
12165         (llrint_test_towardzero): Likewise.
12166         (llrint_test_downward): Likewise.
12167         (llrint_test_upward): Likewise.
12168         (llround_test): Likewise.
12170         * math/libm-test.inc (struct test_f_i_data): Add comment.
12171         (RUN_TEST_LOOP_f_b): New macro.
12172         (RUN_TEST_LOOP_f_b_tg): Likewise.
12173         (finite_test_data): New variable.
12174         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12175         (isfinite_test_data): New variable.
12176         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12177         (isinf_test_data): New variable.
12178         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12179         (isnan_test_data): New variable.
12180         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12181         (isnormal_test_data): New variable.
12182         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12183         (issignaling_test_data): New variable.
12184         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12185         (signbit_test_data): New variable.
12186         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12188         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12189         with INVALID_EXCEPTION.
12190         (acosh_test_data): Likewise.
12191         (asin_test_data): Likewise.
12192         (atanh_test_data): Likewise.
12193         (fmod_test_data): Likewise.
12194         (log_test_data): Likewise.
12195         (log10_test_data): Likewise.
12196         (log2_test_data): Likewise.
12197         (pow_test_data): Likewise.
12198         (sqrt_test_data): Likewise.
12199         (y0_test_data): Likewise.
12200         (y1_test_data): Likewise.
12201         (yn_test_data): Likewise.
12203         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12204         function contents.
12206         * math/libm-test.inc (struct test_ff_i_data): New type.
12207         (RUN_TEST_LOOP_ff_i_tg): New macro.
12208         (isgreater_test_data): New variable.
12209         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12210         (isgreaterequal_test_data): New variable.
12211         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12212         (isless_test_data): New variable.
12213         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12214         (islessequal_test_data): New variable.
12215         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12216         (islessgreater_test_data): New variable.
12217         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12218         (isunordered_test_data): New variable.
12219         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12221 2013-05-14  David S. Miller  <davem@davemloft.net>
12223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12225 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12227         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12229         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12230         extra_test to int.
12231         (struct test_f_i_data): Change type of max_ulp to int.
12233         * math/libm-test.inc (test_ffI_f1_data): New type.
12234         (RUN_TEST_LOOP_ffI_f1): New macro.
12235         (remquo_test_data): New variable.
12236         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12238         * setjmp/tst-setjmp-fp.c: New file.
12239         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12240         (link-libm): New variable.
12241         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12243         * math/libm-test.inc (struct test_f_i_data): New type.
12244         (RUN_TEST_LOOP_f_i): New macro.
12245         (RUN_TEST_LOOP_f_i_tg): Likewise.
12246         (fpclassify_test_data): New variable.
12247         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12248         (ilogb_test_data): New variable.
12249         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12251         * math/libm-test.inc (scalbln_test): Correct function name in END
12252         call.
12254         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12255         (RUN_TEST_LOOP_fI_f1): New macro.
12256         (frexp_test_data): New variable.
12257         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12259         * math/libm-test.inc (struct test_fF_f1_data): New type.
12260         (RUN_TEST_LOOP_fF_f1): New macro.
12261         (modf_test_data): New variable.
12262         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12264         * math/libm-test.inc (struct test_f_f1_data): New type.
12265         (RUN_TEST_LOOP_f_f1): New macro.
12266         (gamma_test_data): New variable.
12267         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12268         (lgamma_test_data): New variable.
12269         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12271 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12273         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12274         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12275         (main): Comment "tls" pseudo-hwcap.
12277 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12279         * math/libm-test.inc (struct test_fl_f_data): New type.
12280         (RUN_TEST_LOOP_fl_f): New variable.
12281         (scalbln_test_data): New variable.
12282         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12284         * math/libm-test.inc (struct test_fi_f_data): New type.
12285         (RUN_TEST_LOOP_fi_f): New macro.
12286         (ldexp_test_data): New variable.
12287         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12288         (scalbn_test_data): New variable.
12289         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12291         * math/libm-test.inc (struct test_c_f_data): New type.
12292         (RUN_TEST_LOOP_c_f): New macro.
12293         (cabs_test_data): New variable.
12294         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12295         (carg_test_data): New variable.
12296         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12297         (cimag_test_data): New variable.
12298         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12299         (creal_test_data): New variable.
12300         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12302         * math/libm-test.inc (struct test_if_f_data): New type.
12303         (RUN_TEST_LOOP_if_f): New macro.
12304         (jn_test_data): New variable.
12305         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12306         (yn_test_data): New variable.
12307         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12309         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12311 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12313         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12314         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12316 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12318         * benchtests/Makefile (CPPFLAGS-nonlib): Add
12319         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12320         (bench-deps): Add bench-timing.h.
12321         * benchtests-bench-skeleton.c: Include bench-timing.h.
12322         (main): Use TIMING_* macros instead of clock_gettime.
12323         * benchtests/bench-timing.h: New file.
12325         [BZ #14582]
12326         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12327         Renamed from _LIB_VERSION.
12328         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12330 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
12332         * math/libm-test.inc (struct test_fff_f_data): New type.
12333         (RUN_TEST_LOOP_fff_f): New macro.
12334         (fma_test_data): New variable.
12335         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12336         (fma_towardzero_test_data): New variable.
12337         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12338         (fma_downward_test_data): New variable.
12339         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12340         (fma_upward_test_data): New variable.
12341         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12343         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12344         (struct test_c_c_data): New type.
12345         (RUN_TEST_LOOP_c_c): New macro.
12346         (cacos_test_data): New variable.
12347         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
12348         (cacosh_test_data): New variable.
12349         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
12350         (casin_test_data): New variable.
12351         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
12352         (casinh_test_data): New variable.
12353         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
12354         (catan_test_data): New variable.
12355         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
12356         (catanh_test_data): New variable.
12357         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
12358         (ccos_test_data): New variable.
12359         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
12360         (ccosh_test_data): New variable.
12361         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
12362         (cexp_test_data): New variable.
12363         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
12364         (clog_test_data): New variable.
12365         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
12366         (clog10_test_data): New variable.
12367         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
12368         (conj_test_data): New variable.
12369         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
12370         (cproj_test_data): New variable.
12371         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
12372         (csin_test_data): New variable.
12373         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
12374         (csinh_test_data): New variable.
12375         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
12376         (csqrt_test_data): New variable.
12377         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
12378         (ctan_test_data): New variable.
12379         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
12380         (ctan_tonearest_test_data): New variable.
12381         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12382         (ctan_towardzero_test_data): New variable.
12383         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12384         (ctan_downward_test_data): New variable.
12385         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12386         (ctan_upward_test_data): New variable.
12387         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12388         (ctanh_test_data): New variable.
12389         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
12390         (ctanh_tonearest_test_data): New variable.
12391         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
12392         (ctanh_towardzero_test_data): New variable.
12393         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
12394         (ctanh_downward_test_data): New variable.
12395         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
12396         (ctanh_upward_test_data): New variable.
12397         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
12398         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
12399         of BUILD_COMPLEX.
12401         * math/libm-test.inc (struct test_ff_f_data): New type.
12402         (struct test_ff_f_data_nexttoward): Likewise.
12403         (RUN_TEST_LOOP_2_f): New macro.
12404         (RUN_TEST_LOOP_ff_f): Likewise.
12405         (atan2_test_data): New variable.
12406         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
12407         (copysign_test_data): New variable.
12408         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
12409         (fdim_test_data): New variable.
12410         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
12411         (fmax_test_data): New variable.
12412         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
12413         (fmin_test_data): New variable.
12414         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
12415         (fmod_test_data): New variable.
12416         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
12417         (hypot_test_data): New variable.
12418         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
12419         (nextafter_test_data): New variable.
12420         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
12421         (nexttoward_test_data): New variable.
12422         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
12423         (pow_test_data): New variable.
12424         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
12425         (pow_tonearest_test_data): New variable.
12426         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
12427         (pow_towardzero_test_data): New variable.
12428         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
12429         (pow_downward_test_data): New variable.
12430         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
12431         (pow_upward_test_data): New variable.
12432         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
12433         (remainder_test_data): New variable.
12434         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
12435         (scalb_test_data): New variable.
12436         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
12437         * sysdeps/i386/fpu/libm-test-ulps: Update.
12439 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
12441         * math/libm-test.inc (fma_test): Use max_value instead of local
12442         variable fltmax.
12443         (nextafter_test): Likewise.
12445         * math/libm-test.inc (acos_towardzero_test_data): New variable.
12446         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12447         (acos_downward_test_data): New variable.
12448         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12449         (acos_upward_test_data): New variable.
12450         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12451         (acosh_test_data): New variable.
12452         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
12453         (asin_test_data): New variable.
12454         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
12455         (asin_tonearest_test_data): New variable.
12456         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12457         (asin_towardzero_test_data): New variable.
12458         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12459         (asin_downward_test_data): New variable.
12460         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12461         (asin_upward_test_data): New variable.
12462         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12463         (asinh_test_data): New variable.
12464         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
12465         (atan_test_data): New variable.
12466         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
12467         (atanh_test_data): New variable.
12468         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
12469         (cbrt_test_data): New variable.
12470         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
12471         (ceil_test_data): New variable.
12472         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
12473         (cos_test_data): New variable.
12474         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
12475         (cos_tonearest_test_data): New variable.
12476         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12477         (cos_towardzero_test_data): New variable.
12478         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12479         (cos_downward_test_data): New variable.
12480         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12481         (cos_upward_test_data): New variable.
12482         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12483         (cosh_test_data): New variable.
12484         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
12485         (cosh_tonearest_test_data): New variable.
12486         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12487         (cosh_towardzero_test_data): New variable.
12488         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12489         (cosh_downward_test_data): New variable.
12490         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12491         (cosh_upward_test_data): New variable.
12492         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12493         (erf_test_data): New variable.
12494         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
12495         (erfc_test_data): New variable.
12496         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
12497         (exp_test_data): New variable.
12498         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
12499         (exp_tonearest_test_data): New variable.
12500         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12501         (exp_towardzero_test_data): New variable.
12502         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12503         (exp_downward_test_data): New variable.
12504         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12505         (exp_upward_test_data): New variable.
12506         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12507         (exp10_test_data): New variable.
12508         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
12509         (exp2_test_data): New variable.
12510         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
12511         (expm1_test_data): New variable.
12512         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
12513         (fabs_test_data): New variable.
12514         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
12515         (floor_test_data): New variable.
12516         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
12517         (j0_test_data): New variable.
12518         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
12519         (j1_test_data): New variable.
12520         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
12521         (log_test_data): New variable.
12522         (log_test): Run tests with RUN_TEST_LOOP_f_f.
12523         (log10_test_data): New variable.
12524         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
12525         (log1p_test_data): New variable.
12526         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
12527         (log2_test_data): New variable.
12528         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
12529         (logb_test_data): New variable.
12530         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
12531         (logb_downward_test_data): New variable.
12532         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12533         (nearbyint_test_data): New variable.
12534         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
12535         (rint_test_data): New variable.
12536         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
12537         (rint_tonearest_test_data): New variable.
12538         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12539         (rint_towardzero_test_data): New variable.
12540         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12541         (rint_downward_test_data): New variable.
12542         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12543         (rint_upward_test_data): New variable.
12544         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12545         (round_test_data): New variable.
12546         (round_test): Run tests with RUN_TEST_LOOP_f_f.
12547         (sin_test_data): New variable.
12548         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
12549         (sin_tonearest_test_data): New variable.
12550         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12551         (sin_towardzero_test_data): New variable.
12552         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12553         (sin_downward_test_data): New variable.
12554         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12555         (sin_upward_test_data): New variable.
12556         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12557         (sinh_test_data): New variable.
12558         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
12559         (sinh_tonearest_test_data): New variable.
12560         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12561         (sinh_towardzero_test_data): New variable.
12562         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12563         (sinh_downward_test_data): New variable.
12564         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12565         (sinh_upward_test_data): New variable.
12566         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12567         (sqrt_test_data): New variable.
12568         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
12569         (tan_test_data): New variable.
12570         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
12571         (tan_tonearest_test_data): New variable.
12572         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12573         (tan_towardzero_test_data): New variable.
12574         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
12575         (tan_downward_test_data): New variable.
12576         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
12577         (tan_upward_test_data): New variable.
12578         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
12579         (tanh_test_data): New variable.
12580         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
12581         (tgamma_test_data): New variable.
12582         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
12583         (trunc_test_data): New variable.
12584         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
12585         (y0_test_data): New variable.
12586         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
12587         (y1_test_data): New variable.
12588         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
12589         (significand_test_data): New variable.
12590         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
12592 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
12594         [BZ #12387]
12595         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
12597 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12599         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
12601 2013-05-10  Andreas Jaeger  <aj@suse.de>
12603         [BZ #15448]
12604         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
12605         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
12607 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12609         * math/gen-libm-test.pl (adjust_arg): New function.
12610         (special_functions): Handle generating output in both functions
12611         and arrays.
12612         (parse_args): Likewise.
12613         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
12614         $in_func argument to parse_args.
12615         * math/libm-test.inc (struct test_f_f_data): New type.
12616         (IF_ROUND_INIT_): New macro.
12617         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12618         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12619         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12620         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12621         (ROUND_RESTORE_): Likewise.
12622         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
12623         (ROUND_RESTORE_FE_TONEAREST): Likewise.
12624         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
12625         (ROUND_RESTORE_FE_UPWARD): Likewise.
12626         (RUN_TEST_LOOP_f_f): New macro.
12627         (acos_test_data): New variable.
12628         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
12629         (acos_tonearest_test_data): New variable.
12630         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12632 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12634         * benchtests/bench-skeleton.c (startup): Fix coding style.
12636 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
12638         [BZ #6809]
12639         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12640         negative infinity argument.
12641         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12642         negative infinity argument.
12643         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12644         negative infinity argument.
12645         * math/libm-test.inc (tgamma_test): Expect errno to be set for
12646         domain errors.
12648 2013-05-10  Florian Weimer  <fweimer@redhat.com>
12650         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12651         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12652         * iconv/iconv_prog.c (main): Likewise.
12653         * locale/programs/charmap-dir.c (charmap_readdir)
12654         (fopen_uncompressed): Likewise.
12655         * locale/programs/locfile.c (siblings_uncached)
12656         (write_locale_data): Use lstat64 instead of lstat.
12657         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12658         stat.
12660 2013-05-10  Andreas Jaeger  <aj@suse.de>
12662         [BZ #15395]
12663         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12664         localization.
12665         Include <locale.h>.
12667 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
12669         * elf/dl-close.c (_dl_close_worker): Add comments.
12671 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #15359]
12674         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12675         high part of pi/2.
12676         (__ieee754_rem_pio2l): Update comments.
12678         [BZ #15429]
12679         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12680         high part of pi/2.
12681         (__ieee754_rem_pio2l): Update comments.
12683         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12684         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12686         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12687         M_PI_4l.
12689         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12690         (M_PI_34_LOG10El): Likewise.
12691         (M_PI2_LOG10El): Likewise.
12692         (M_PI4_LOG10El): Likewise.
12693         (M_PI_LOG10El): Likewise.
12695 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12699 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
12701         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12702         (MINUS_ZERO_INIT): Likewise.
12703         (PLUS_INFTY_INIT): Likewise.
12704         (MINUS_INFTY_INIT): Likewise.
12705         (QNAN_VALUE_INIT): Likewise.
12706         (MAX_VALUE_INIT): Likewise.
12707         (MIN_VALUE_INIT): Likewise.
12708         (MIN_SUBNORM_VALUE_INIT): Likewise.
12709         (plus_zero): Initialize with PLUS_ZERO_INIT.
12710         (minus_zero): Initialize with MINUS_ZERO_INIT.
12711         (plus_infty): Initialize with PLUS_INFTY_INIT.
12712         (minus_infty): Initialize with MINUS_INFTY_INIT.
12713         (qnan_value): Initialize with QNAN_VALUE_INIT.
12714         (max_value): Initialize with MAX_VALUE_INIT.
12715         (min_value): Initialize with MIN_VALUE_INIT.
12716         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12718         * math/libm-test.inc (RUN_TEST_if_f): New macro.
12719         (jn_test): Use TEST_if_f instead of TEST_ff_f.
12720         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12721         (yn_test): Use TEST_if_f instead of TEST_ff_f.
12723         * math/libm-test.inc (RUN_TEST_f_f): New macro.
12724         (RUN_TEST_2_f): Likewise.
12725         (RUN_TEST_ff_f): Likewise.
12726         (RUN_TEST_fi_f): Likewise.
12727         (RUN_TEST_fl_f): Likewise.
12728         (RUN_TEST_fff_f): Likewise.
12729         (RUN_TEST_c_f): Likewise.
12730         (RUN_TEST_f_f1): Likewise.
12731         (RUN_TEST_fF_f1): Likewise.
12732         (RUN_TEST_fI_f1): Likewise.
12733         (RUN_TEST_ffI_f1): Likewise.
12734         (RUN_TEST_c_c): Likewise.
12735         (RUN_TEST_cc_c): Likewise.
12736         (RUN_TEST_f_i): Likewise.
12737         (RUN_TEST_f_i_tg): Likewise.
12738         (RUN_TEST_ff_i_tg): Likewise.
12739         (RUN_TEST_f_b): Likewise.
12740         (RUN_TEST_f_b_tg): Likewise.
12741         (RUN_TEST_f_l): Likewise.
12742         (RUN_TEST_f_L): Likewise.
12743         (RUN_TEST_sincos): Likewise.
12744         * math/gen-libm-test.pl (new_test): Take new argument to indicate
12745         whether to show exceptions.  Do not include ");\n" in return
12746         value.
12747         (special_functions): Output call to RUN_TEST_sincos instead of
12748         check_float calls.  Update calls to new_test.
12749         (parse_args): Output call to single RUN_TEST_* macro instead of
12750         check_* calls and other assignments.  Update calls to new_test.
12752         [BZ #2546]
12753         [BZ #2560]
12754         [BZ #5159]
12755         [BZ #15426]
12756         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12757         input to result for tgamma overflow.
12758         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12759         (gamma_coeff): New variable.
12760         (NCOEFF): New macro.
12761         (gamma_positive): New function.
12762         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12763         underflow here.  Use gamma_positive instead of exp (lgamma) for
12764         other arguments.
12765         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12766         (gamma_coeff): New variable.
12767         (NCOEFF): New macro.
12768         (gammaf_positive): New function.
12769         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12770         underflow here.  Use gamma_positive instead of exp (lgamma) for
12771         other arguments.
12772         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12773         (gamma_coeff): New variable.
12774         (NCOEFF): New macro.
12775         (gammal_positive): New function.
12776         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12777         underflow here.  Use gamma_positive instead of exp (lgamma) for
12778         other arguments.
12779         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12780         (gamma_coeff): New variable.
12781         (NCOEFF): New macro.
12782         (gammal_positive): New function.
12783         (__ieee754_gammal_r): Handle positive infinity, overflow and
12784         underflow here.  Handle NaN the same as positive infinity.  Remove
12785         check x < 0xffffffff for negative integers.  Use gamma_positive
12786         instead of exp (lgamma) for other arguments.
12787         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12788         (gamma_coeff): New variable.
12789         (NCOEFF): New macro.
12790         (gammal_positive): New function.
12791         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12792         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12793         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12794         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12795         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12796         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12797         * sysdeps/generic/math_private.h (__gamma_productf): New
12798         prototype.
12799         (__gamma_product): Likewise.
12800         (__gamma_productl): Likewise.
12801         * math/Makefile (libm-calls): Add gamma_product.
12802         * math/libm-test.inc (tgamma_test): Add more tests.
12803         * sysdeps/i386/fpu/libm-test-ulps: Update.
12804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12806 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
12808         * benchtests/bench-skeleton.c (main): Preheat CPU.
12810 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
12812         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12814 2013-05-07  Roland McGrath  <roland@hack.frob.com>
12816         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12817         and _dl_skip_args_internal.
12819 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
12821         * manual/message.texi (Message Translation): Talk about users.
12822         Message to key mapping impacts design.
12824 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12826         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12828         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12830         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12831         * sysdeps/wordsize-64/glob64.c: ... here.
12833         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12834         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12835         New macros.
12837         * debug/getlogin_r_chk.c: Moved to ...
12838         * login/getlogin_r_chk.c: ... here.
12839         * debug/Makefile (routines): Move getlogin_r_chk to ...
12840         * login/Makefile (routines): ... here.
12841         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12842         * login/Versions (libc: GLIBC_2.4): ... here.
12844         * io/poll.c (__poll): Renamed from poll.
12845         Add libc_hidden_def.
12846         (poll): Define as weak alias.
12848         * debug/ptsname_r_chk.c: Moved to ...
12849         * login/ptsname_r_chk.c: ... here.
12850         * debug/Makefile (routines): Move ptsname_r_chk to ...
12851         * login/Makefile (routines): ... here.
12852         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12853         * login/Versions (libc: GLIBC_2.4): ... here.
12855         * posix/getlogin.c: Moved to ...
12856         * login/getlogin.c: ... here.
12857         * posix/getlogin_r.c: Moved to ...
12858         * login/getlogin_r.c: ... here.
12859         * posix/getlogin_r.c: Moved to ...
12860         * login/getlogin_r.c: ... here.
12861         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12862         * login/Makefile (routines): ... here.
12863         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12864         * login/Versions (libc: GLIBC_2.0): ... here.
12866         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12867         (setrlimit): Define as weak alias.
12869         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12870         Call __ names for open, ftruncate, and close.
12871         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12872         (truncate): Define as weak alias.
12874 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
12876         * math/gen-libm-test.pl (parse_args): Initialize x before each
12877         test of frexp, modf and remquo.
12879         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12880         test signgam value.
12882 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12884         [BZ #15418]
12885         [BZ #15419]
12886         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12887         internal tests.
12888         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12890 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12892         * elf/dl-writev.h: New file.
12893         * elf/dl-misc.c: Include it.
12894         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12895         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12897 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
12899         * math/libm-test.inc (noXFails): Remove variable.
12900         (noXPasses): Likewise.
12901         (BUILD_COMPLEX_INT): Remove macro.
12902         (print_screen): Remove xfail argument.
12903         (print_screen_max_error): Likewise.
12904         (update_stats): Likewise.
12905         (print_max_error): Likewise.  Update calls to other affected
12906         functions.
12907         (print_complex_max_error): Likewise.
12908         (test_single_exception): Update calls to print_screen.
12909         (test_single_errno): Likewise.
12910         (check_float_internal): Remove xfail argument.  Update calls to
12911         other affected functions.
12912         (check_float): Likewise.
12913         (check_complex): Likewise.
12914         (check_int): Likewise.
12915         (check_long): Likewise.
12916         (check_bool): Likewise.
12917         (check_longlong): Likewise.
12918         (main): Don't print noXFails and noXPasses.
12919         * math/gen-libm-test.pl (top level): Don't mention expected
12920         failure handling in comment.
12921         (new_test): Don't handle expected failures.
12922         (parse_args): Don't mention expected failure handling in comment.
12923         (generate_testfile): Don't handle expected failures.
12924         (parse_ulps): Likewise.
12925         (print_ulps_file): Likewise.
12926         (get_failure): Remove function.
12927         (output_test): Don't handle expected failures.
12928         * make/README.libm-test: Don't mention expected failure handling.
12930         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
12931         (minus_zero): Likewise.
12932         (plus_infty): Likewise.
12933         (minus_infty): Likewise.
12934         (qnan_value): Likewise.
12935         (max_value): Likewise.
12936         (min_value): Likewise.
12937         (min_subnorm_value): Likewise.
12938         (initialize): Do not initialize those variables dynamically.
12940 2013-05-03  Roland McGrath  <roland@hack.frob.com>
12942         * io/open.c (__open_2): Moved to ...
12943         * io/open_2.c: ... this new file.
12944         * io/open64.c (__open64_2): Moved to ...
12945         * io/open64_2.c: ... this new file.
12946         * io/openat.c (__openat_2): Moved to ...
12947         * io/openat_2.c: ... this new file.
12948         * io/openat64.c (__openat64_2): Moved to ...
12949         * io/openat64_2.c: ... this new file.
12950         * io/Makefile (routines): Add them.
12951         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12952         * sysdeps/unix/sysv/linux/open_2.c: File removed.
12953         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12954         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12955         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12956         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12957         (__openat64): Add hidden_ver.
12958         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12959         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12961         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12962         Separately conditionalize setting of GLRO(dl_sysinfo) so
12963         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12964         as well, but the actual setting is only under [NEED_DL_SYSINFO].
12966 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12968         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12969         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12970         definition.
12971         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12972         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12973         (_libc_vdso_platform_setup): Add __vdso_time initialization.
12974         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12975         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12977 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
12979         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12980         test signgam value.
12982         * math/libm-test.inc (hypot_test): Do not use
12983         IGNORE_ZERO_INF_SIGN.
12985 2013-05-03  Andreas Jaeger  <aj@suse.de>
12987         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12988         Linux 3.9.
12989         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12990         (PF_MAX): Adjust for VSOCK change.
12992 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12996 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
12998         [BZ #15264]
12999         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13000         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13001         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13003 2013-05-02  David S. Miller  <davem@davemloft.net>
13005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13007 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13009         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13011 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13013         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13015 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13017         [BZ #14952]
13018         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13019         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13020         Use __attribute__ ((__gnu_inline__)).
13021         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13022         Don't use __attribute__ ((__gnu_inline__)).
13024 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13026         [BZ #15423]
13027         * math/s_catan.c (__catan): Handle small real or imaginary part of
13028         input specially to avoid spurious underflow.
13029         * math/s_catanf.c (__catanf): Likewise.
13030         * math/s_catanh.c (__catanh): Likewise.
13031         * math/s_catanhf.c (__catanhf): Likewise.
13032         * math/s_catanhl.c (__catanhl): Likewise.
13033         * math/s_catanl.c (__catanl): Likewise.
13034         * math/libm-test.inc (catan_test): Add more tests.
13035         (catanh_test): Likewise.
13036         * sysdeps/i386/fpu/libm-test-ulps: Update.
13037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13039 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13043 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13045         [BZ #15416]
13046         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13047         accurately for denominator in atan2.
13048         * math/s_catanf.c (__catanf): Likewise.
13049         * math/s_catanh.c (__catanh): Likewise.
13050         * math/s_catanhf.c (__catanhf): Likewise.
13051         * math/s_catanhl.c (__catanhl): Likewise.
13052         * math/s_catanl.c (__catanl): Likewise.
13053         * math/libm-test.inc (catan_test): Add more tests.
13054         (catanh_test): Likewise.
13055         * sysdeps/i386/fpu/libm-test-ulps: Update.
13056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13058 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13060         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13062         * benchtests/Makefile (bench): Remove slow benchmarks.
13063         * benchtests/atan-inputs: Add slow benchmark inputs.
13064         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13065         (BENCH_FUNC): Accept variant offset.
13066         (VARIANT): Define.
13067         * benchtests/bench-skeleton.c (main): Run benchmark for each
13068         variant.
13069         * benchtests/cos-inputs: Add slow benchmark inputs.
13070         * benchtests/exp-inputs: Likewise.
13071         * benchtests/pow-inputs: Likewise.
13072         * benchtests/sin-inputs: Likewise.
13073         * benchtests/slowatan-inputs: Remove.
13074         * benchtests/slowatan.c: Remove.
13075         * benchtests/slowcos-inputs: Remove.
13076         * benchtests/slowcos.c: Remove.
13077         * benchtests/slowexp-inputs: Remove.
13078         * benchtests/slowexp.c: Remove.
13079         * benchtests/slowpow-inputs: Remove.
13080         * benchtests/slowpow.c: Remove.
13081         * benchtests/slowsin-inputs: Remove.
13082         * benchtests/slowsin.c: Remove.
13083         * benchtests/slowtan-inputs: Remove.
13084         * benchtests/slowtan.c: Remove.
13085         * benchtests/tan-inputs: Add slow benchmark inputs.
13086         * scripts/bench.pl: Parse comments and directives.
13088         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13089         in CPPFLAGS.
13090         ($(objpfx)bench-%.c): Remove *-ITER.
13091         * benchtests/bench-modf.c: Remove definition of ITER.
13092         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13093         (main): Loop for DURATION seconds instead of fixed number of
13094         iterations.
13095         * scripts/bench.pl: Don't expect iterations in parameters.
13097 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13099         * io/fchdir.c (__fchdir): Renamed from fchdir.
13100         (fchdir): Define as weak alias.
13102 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13104         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13105         (ERRNO_EDOM): Likewise.
13106         (ERRNO_ERANGE): Likewise.
13107         (noErrnoTests): New variable.
13108         (init_max_error): Set errno to 0.
13109         (test_single_errno): New function.
13110         (test_errno): Likewise.
13111         (check_float_internal): Call test_errno.  Set errno to 0.
13112         (check_complex): Refer to errno tests in comment.
13113         (check_int): Call test_errno.  Set errno to 0.
13114         (check_long): Likewise.
13115         (check_bool): Likewise.
13116         (check_longlong): Likewise.
13117         (cos_test): Use ERRNO_* flags for errno tests instead of
13118         check_int.
13119         (expm1_test): Likewise.
13120         (fmod_test): Likewise.
13121         (ilogb_test): Likewise.
13122         (lgamma_test): Likewise.
13123         (pow_test): Likewise.
13124         (remainder_test): Likewise.
13125         (sin_test): Likewise.
13126         (tan_test): Likewise.
13127         (yn_test): Likewise.
13128         (initialize): Set errno to 0.
13129         (main): Print number of errno tests.
13130         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13132 2013-04-29  Andreas Jaeger  <aj@suse.de>
13134         [BZ #15084]
13135         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13136         and RES_USEVC.
13138         [BZ #15085]
13139         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13140         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13141         unimplemented.
13143         [BZ #15380]
13144         * stdlib/random.c (__initstate): Return NULL if
13145         __initstate fails.
13147         [BZ #15086]
13148         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13149         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13150         RES_SNGLKUPREOP.
13152 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13156 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13158         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13159         of individual tests.
13160         (casin_test): Likewise.
13161         (casinh_test): Likewise.
13163 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #15409]
13166         * math/s_catan.c (__catan): Handle arguments with large real or
13167         imaginary part separately without squaring.
13168         * math/s_catanf.c (__catanf): Likewise.
13169         * math/s_catanh.c (__catanh): Likewise.
13170         * math/s_catanhf.c (__catanhf): Likewise.
13171         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13172         and redefine.
13173         (__catanhl): Handle arguments with large real or imaginary part
13174         separately without squaring.
13175         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13176         and redefine.
13177         (__catanl): Handle arguments with large real or imaginary part
13178         separately without squaring.
13179         * math/libm-test.inc (catan_test): Add more tests.
13180         (catanh_test): Likewise.
13181         * sysdeps/i386/fpu/libm-test-ulps: Update.
13182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13184 2013-04-27  Andreas Jaeger  <aj@suse.de>
13186         [BZ #15007]
13187         * stdlib/stdlib.h: Update guards for qecvt.
13188         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13189         <stdlib.h>.
13191 2013-04-27  Allan McRae  <allan@archlinux.org>
13193         * sysdeps/i386/fpu/libm-test-ulps: Update.
13195 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13197         [BZ #15406]
13198         * math/s_catan.c: Include <float.h>.
13199         (__catan): Ensure underflow exception occurs for underflowed
13200         result.
13201         * math/s_catanf.c: Include <float.h>.
13202         (__catanf): Ensure underflow exception occurs for underflowed
13203         result.
13204         * math/s_catanh.c: Include <float.h>.
13205         (__catanh): Ensure underflow exception occurs for underflowed
13206         result.
13207         * math/s_catanhf.c: Include <float.h>.
13208         (__catanhf): Ensure underflow exception occurs for underflowed
13209         result.
13210         * math/s_catanhl.c: Include <float.h>.
13211         (__catanhl): Ensure underflow exception occurs for underflowed
13212         result.
13213         * math/s_catanl.c: Include <float.h>.
13214         (__catanl): Ensure underflow exception occurs for underflowed
13215         result.
13216         * math/libm-test.inc (catan_test): Add more tests.
13217         (catanh_test): Likewise.
13219         [BZ #15405]
13220         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13221         underflowed result.
13222         * math/s_ccoshf.c (__ccoshf): Likewise.
13223         * math/s_ccoshl.c (__ccoshl): Likewise.
13224         * math/s_csin.c (__csin): Likewise.
13225         * math/s_csinf.c (__csinf): Likewise.
13226         * math/s_csinh.c (__csinh): Likewise.
13227         * math/s_csinhf.c (__csinhf): Likewise.
13228         * math/s_csinhl.c (__csinhl): Likewise.
13229         * math/s_csinl.c (__csinl): Likewise.
13230         * math/libm-test.inc (ccos_test): Add more tests.
13231         (ccosh_test): Likewise.
13232         (csin_test): Likewise.
13233         (csinh_test): Likewise.
13235 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13237         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13238         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13239         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13240         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13241         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13242         powerpc/power5+/fpu folders.
13243         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13246 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13250 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13252         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13253         additions to variable.
13254         [$(config-machine) = x86_64] (modules-names): Likewise.
13255         ($(objpfx)tst-audit3): Remove dependency.
13256         ($(objpfx)tst-audit3.out): Likewise.
13257         ($(objpfx)tst-audit4): Likewise.
13258         ($(objpfx)tst-audit4.out): Likewise.
13259         ($(objpfx)tst-audit5): Likewise.
13260         ($(objpfx)tst-audit5.out): Likewise.
13261         ($(objpfx)tst-audit6): Likewise.
13262         ($(objpfx)tst-audit6.out): Likewise.
13263         ($(objpfx)tst-audit7): Likewise.
13264         ($(objpfx)tst-audit7.out): Likewise.
13265         (tst-audit3-ENV): Remove variable.
13266         (tst-audit4-ENV): Likewise.
13267         (tst-audit5-ENV): Likewise.
13268         (tst-audit6-ENV): Likewise.
13269         (tst-audit7-ENV): Likewise.
13270         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13271         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13272         addition to variable.
13273         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13274         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13275         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13276         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13277         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13278         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13279         tst-audit3, tst-audit4 and tst-audit5.
13280         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13281         tst-audit6 and tst-audit7.
13282         [$(subdir) = elf] (modules-names): Add audit modules for those
13283         tests.
13284         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13285         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13286         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13287         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13288         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13289         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13290         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13291         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13292         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13293         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13294         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13295         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13296         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13297         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13298         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13299         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13300         Likewise.
13301         [$(subdir) = elf && $(config-cflags-avx) = yes]
13302         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13303         [$(subdir) = elf && $(config-cflags-avx) = yes]
13304         (CFLAGS-tst-auditmod4a.c): Likewise.
13305         [$(subdir) = elf && $(config-cflags-avx) = yes]
13306         (CFLAGS-tst-auditmod4b.c): Likewise.
13307         [$(subdir) = elf && $(config-cflags-avx) = yes]
13308         (CFLAGS-tst-auditmod6b.c): Likewise.
13309         [$(subdir) = elf && $(config-cflags-avx) = yes]
13310         (CFLAGS-tst-auditmod6c.c): Likewise.
13311         [$(subdir) = elf && $(config-cflags-avx) = yes]
13312         (CFLAGS-tst-auditmod7b.c): Likewise.
13313         * elf/tst-audit3.c: Move to ...
13314         * sysdeps/x86_64/tst-audit3.c: ... here.
13315         * elf/tst-audit4.c: Move to ...
13316         * sysdeps/x86_64/tst-audit4.c: ... here.
13317         * elf/tst-audit5.c: Move to ...
13318         * sysdeps/x86_64/tst-audit5.c: ... here.
13319         * elf/tst-audit6.c: Move to ...
13320         * sysdeps/x86_64/tst-audit6.c: ... here.
13321         * elf/tst-audit7.c: Move to ...
13322         * sysdeps/x86_64/tst-audit7.c: ... here.
13323         * elf/tst-auditmod3a.c: Move to ...
13324         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13325         * elf/tst-auditmod3b.c: Move to ...
13326         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13327         * elf/tst-auditmod4a.c: Move to ...
13328         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13329         * elf/tst-auditmod4b.c: Move to ...
13330         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13331         * elf/tst-auditmod5a.c: Move to ...
13332         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13333         * elf/tst-auditmod5b.c: Move to ...
13334         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13335         * elf/tst-auditmod6a.c: Move to ...
13336         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13337         * elf/tst-auditmod6b.c: Move to ...
13338         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13339         * elf/tst-auditmod6c.c: Move to ...
13340         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13341         * elf/tst-auditmod7a.c: Move to ...
13342         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13343         * elf/tst-auditmod7b.c: Move to ...
13344         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
13346 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
13348         [BZ #15366]
13349         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
13350         define unconditionally.
13351         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
13352         define unconditionally.
13353         (INT8_C, INT16_C, etc.): Likewise.
13355 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
13357         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
13358         __ehdr_start with hidden visibility.
13360         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
13362 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
13364         * math/libm-test.inc (cos_test): Use accurate hex constants.
13365         (sincost_test): Likewise.
13367 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
13369         * math/libm-test.inc (catan_test): Add more tests.
13370         (catanh_test): Likewise.
13372         * math/s_catanf.c (__catanf): Use suffixed floating-point
13373         constants.
13374         * math/s_catanhf.c (__catanhf): Likewise.
13375         * math/s_catanhl.c (__catanhl): Likewise.
13376         * math/s_catanl.c (__catanl): Likewise.
13378         [BZ #15394]
13379         * math/s_catan.c (__catan): Calculate imaginary part of result
13380         with log1p not log unless computing log of number close to 0.
13381         * math/s_catanf.c (__catanf): Likewise.
13382         * math/s_catanl.c (__catanl): Likewise.
13383         * math/s_catanh.c (__catanh): Calculate real part of result with
13384         log1p not log unless computing log of number close to 0.
13385         * math/s_catanhf.c (__catanhf): Likewise.
13386         * math/s_catanhl.c (__catanhl): Likewise.
13387         * math/libm-test.inc (catan_test): Add more tests.
13388         (catanh_test): Likewise.
13389         * sysdeps/i386/fpu/libm-test-ulps: Update.
13390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13392 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13394         * benchtests/Makefile: Mention files in which fast and slow
13395         paths of math functions are implemented.
13397 2013-04-23  Roland McGrath  <roland@hack.frob.com>
13399         * sysdeps/posix/timespec_get.c: New file.
13401 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13403         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
13404         POWER.
13405         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
13406         for POWER.
13407         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
13408         powerpc/power5/fpu folders.
13409         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
13410         * benchtests/Makefile: Add modf testcase.
13411         * benchtests/bench-modf.c: New file: Benchmark test for mo
13413 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13415         [BZ #14888]
13416         * time/Makefile (tests): Add tst-strptime-whitespace.
13417         * time/strptime_l.c (get_number): Use ISSPACE.
13418         (__strptime_internal): Likewise.
13419         * time/tst-strptime-whitespace.c: New test case.
13421 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
13423         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
13424         member.
13425         (_nss_files_init): Set it here.
13427 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
13429         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
13430         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
13431         unsigned.
13433 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
13435         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
13437 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13439         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
13440         size just once.
13442 2013-04-21  David S. Miller  <davem@davemloft.net>
13444         * po/ru.po: Update Russion translation from translation project.
13446 2013-04-17  Adam Conrad  <adconrad@0c3.net>
13448         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
13449         and setfsgid.
13451 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
13453         * configure.in: Remove i386 configure warning. Remove i386 case.
13454         * configure: Regenerate.
13455         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
13456         Add example to error message.
13457         * sysdeps/i386/configure: Regenerate.
13459 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13461         * benchtests/Makefile (bench): Add cos, tan, slowcos and
13462         slowtan.
13463         * benchtests/cos-inputs: New file.
13464         * benchtests/slowcos-inputs: New file.
13465         * benchtests/slowcos.c: New file.
13466         * benchtests/slowtan-inputs: New file.
13467         * benchtests/slowtan.c: New file.
13468         * benchtests/tan-inputs: New file.
13470 2013-04-16  Roland McGrath  <roland@hack.frob.com>
13472         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
13473         considered kosher.
13475 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13477         * benchtests/Makefile: Include cppflags-iterator.mk to add
13478         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
13480         * Makefile.in (bench-clean): New target.
13481         * benchtests/Makefile (bench-clean): Likewise.
13483 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
13485         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
13487 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
13489         * stdio-common/tstdiomisc.c: Fix coding-style violation.
13491 2013-04-15  Andreas Schwab  <schwab@suse.de>
13493         * nscd/grpcache.c (cache_addgr): Properly check for short write.
13494         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13495         * nscd/pwdcache.c (cache_addpw): Likewise.
13496         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
13497         more than recsize.
13499 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13501         * benchtests/Makefile (bench): Write all output to
13502         bench-out.tmp together.
13504 2013-04-15  Andreas Schwab  <schwab@suse.de>
13506         * nscd/nscd.c (main): Don't fork again after closing files.
13508 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13510         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
13512         * benchtests/Rules (bench-deps): Collect dependencies into a
13513         single variable.  Add Makefile to dependencies.
13514         ($(objpfx)bench-%.c): Depend on bench-deps.
13516 2013-04-12  Roland McGrath  <roland@hack.frob.com>
13517             Xavier Roche  <roche+kml2@exalead.com>
13519         [BZ #15361]
13520         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
13521         just that it's a file descriptor.
13522         * manual/llio.texi (Synchronizing AIO Operations): Update description
13523         for EBADF error from aio_fsync.
13525 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13527         * Rules (bench): Move target definition...
13528         * benchtests/Makefile: ... here.
13530 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
13532         * math/libm-test.inc (cos_test): Fix PI/2 test.
13533         (sincos_test): Likewise.
13534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13535         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13537 2013-04-11  Andreas Schwab  <schwab@suse.de>
13539         [BZ #13988]
13540         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
13541         accept exponent character only when digits were seen.
13542         * stdio-common/Makefile (tests): Add bug26.
13543         * stdio-common/bug26.c: New file.
13545         [BZ #14293]
13546         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
13547         non-freeable.
13549 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13551         * Makeconfig (rtld-prefix): Define built linker prefix.
13552         * Rules (run-bench): Use it.
13553         * math/Makefile (run-regen-ulps): Likewise.
13555         * Rules (bench): Remove eval.
13557 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13558             Roland McGrath  <roland@hack.frob.com>
13559             Ondrej Bilka  <neleai@seznam.cz>
13561         [BZ #15346]
13562         * time/getdate.c: Include ctype.h and alloca.h.
13563         (__getdate_r): Trim leading and trailing spaces of input.
13564         * time/tst-getdate.c (tests): Add tests with leading and
13565         trailing spaces.
13567 2013-04-08  Roland McGrath  <roland@hack.frob.com>
13569         [BZ #14280]
13570         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
13571         when computing value.
13573 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13575         * math/README.libm-test (How can I generate "libm-test-ulps"?):
13576         Use testrun.sh to run libm tests.
13578         [BZ #15309]
13579         * elf/dl-open.c (dl_open_worker): memset all of seen array.
13581 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
13583         [BZ #15264]
13584         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
13586 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13588         * Makefile.in (regen-ulps): New target.
13589         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
13590         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
13591         [ifneq (no,$(PERL)] (regen-ulps): New target.
13592         [ifeq (no,$(PERL)] (regen-ulps): New target.
13593         * math/libm-test.inc (ulps_file_name): Define.
13594         (output_dir): New variable.
13595         (options): Add "output-dir" option.
13596         (parse_opt): Handle 'o' case.
13597         (main): If output_dir is non-NULL use it as a prefix
13598         otherwise use "".
13599         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
13601 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13603         [BZ #10060, #10062]
13604         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
13605         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
13606         fail configure if __sync_val_compare_and_swap is not inlined.
13607         * sysdeps/i386/configure: Regenerate.
13608         * configure.in: Build for i686 when configured for i386.
13609         * configure: Regenerate.
13610         * README: Remove i386 reference.
13612 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
13614         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
13615         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13617 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13619         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
13620         (lmsnanval): New variables.
13621         (F): Add conversion tests.
13622         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
13623         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13625         * stdio-common/tstdiomisc.c (F): Properly collect individual
13626         tests' results.
13628         [BZ #14686, #15336]
13629         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
13630         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13631         Instead, use input NaN values or generate a qNaN by arithmetic
13632         operation.  Also fix bugs to comply with the standard.
13633         * math/libm-test.inc (remainder_test): Add more tests.
13635         [BZ #15335, #15342]
13636         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13638         input NaN values or generate a qNaN by arithmetic operation.
13640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13641         unreachable code.
13643         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13644         definitions.
13646 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
13648         [BZ #14478]
13649         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13650         underflowed result.
13651         * math/s_cexpf.c (__cexpf): Likewise.
13652         * math/s_cexpl.c (__cexpl): Likewise.
13653         * math/libm-test.inc (cexp_test): Add more tests.
13655 2013-04-03  Andreas Schwab  <schwab@suse.de>
13657         [BZ #15330]
13658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13659         order arrays from heap if bigger than alloca cutoff.
13661 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
13663         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13664         (SNAN_TESTS_double): Refer to GCC PR56831.
13665         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13666         GCC PR56828.
13668 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13670         * Rules (bench): Move bench.out after the run is complete.
13672         * Rules (bench): Echo currently running benchmark.
13674         * benchtests/Makefile (bench): Add atan and slowatan.
13675         * benchtests/atan-inputs: New file.
13676         * benchtests/slowatan-inputs: New file.
13677         * benchtests/slowatan.c: New file.
13679         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13680         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13681         its value.
13683         [BZ #15305]
13684         * sysdeps/unix/sysv/linux/kernel-features.h
13685         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13686         __ASSUME_XFS_RESTRICTED_CHOWN.
13687         * sysdeps/unix/sysv/linux/pathconf.c
13688         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13689         Save and restore errno.
13691 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
13693         [BZ #15327]
13694         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13695         arguments using __kernel_casinh.
13696         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13697         arguments using __kernel_casinhf.
13698         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13699         arguments using __kernel_casinhl.
13700         * math/libm-test.inc (cacosh_test): Add more tests.
13701         * sysdeps/i386/fpu/libm-test-ulps: Update.
13702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13704 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13706         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13709         * bench/Makefile (bench): Add sin and slowsin.
13710         * benchtests/sin-inputs: New file.
13711         * benchtests/slowsin-inputs: New file.
13712         * benchtests/slowsin.c: New file.
13714         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13715         (bench): Add slowexp and slowpow.
13716         (exp-ITER): Increase iterations.
13717         (pow-ITER): Likewise.
13718         * benchtests/exp-inputs: Change input.
13719         * benchtests/pow-inputs: Likewise.
13720         * benchtests/slowexp-inputs: New file.
13721         * benchtests/slowexp.c: New file.
13722         * benchtests/slowpow-inputs: New file.
13723         * benchtests/slowpow.c: New file.
13725 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13727         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13728         instructions.
13729         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13730         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13731         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13732         * benchtests/Makefile: Add rint benchtest.
13733         * benchtests/rint-inputs: Input for rint benchtest.
13735 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13737         * Versions.def (libm): Add GLIBC_2.18.
13738         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13739         hidden libm prototypes.
13740         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13741         * math/Makefile (libm-calls): Add s_issignaling.
13742         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13743         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
13744         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13745         declaration.
13746         * math/math.h [__USE_GNU] (issignaling): New macro.
13747         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13748         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13749         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13750         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13751         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13752         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13753         * manual/arith.texi (issignaling): New section.
13754         * manual/libm-err-tab.pl (@all_functions): Update comment.
13755         * math/gen-libm-test.pl (parse_args): Apply special handling for
13756         issignaling.
13757         * math/libm-test.inc (print_float, issignaling_test): New
13758         functions.
13759         (check_float_internal): Add issignaling checks.
13760         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13761         default definition.
13762         * sysdeps/powerpc/math-tests.h: New file.
13763         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13764         tests.
13765         * math/test-snan.c (TEST_FUNC): Likewise.
13767 2013-03-30  David S. Miller  <davem@davemloft.net>
13769         * po/de.po: Update from translation team.
13771 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
13773         [BZ #10357]
13774         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13775         imaginary part less than 1.0 and real part less than 0.5
13776         specially.
13777         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13778         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13779         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13780         (cacos_test): Add more tests.
13781         (casin_test): Likewise.
13782         (casinh_test): Likewise.
13783         * sysdeps/i386/fpu/libm-test-ulps: Update.
13784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13786 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13788         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13789         ONE with its value.
13791         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13792         (__pow_mp): Replace ONE and MONE with their values.
13793         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13795         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13796         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13797         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13798         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13800         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13802         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13803         (__pow_mp): Replace ZERO and MZERO with their values.
13804         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13805         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13806         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13808         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13809         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13810         (__sqr): Likewise.
13812         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13814         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13816 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13818         * include/stdlib.h [!SHARED] (__call_tls_dtors):
13819         Declare with __attribute__ ((weak)).
13820         * stdlib/exit.c (__libc_atexit) [!SHARED]:
13821         Call __call_tls_dtors only if it's not NULL.
13823 2013-03-28  Roland McGrath  <roland@hack.frob.com>
13825         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13826         didn't do it already, then set _dl_phdr and _dl_phnum based on the
13827         magic __ehdr_start linker symbol if it's defined.
13828         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13829         them up here if it was already done.
13831         * elf/dl-support.c (_dl_phdr): Make pointer to const.
13832         (_dl_aux_init): Use const in cast when setting it.
13833         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13834         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13835         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13837         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13838         Declare them here.
13839         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13840         * csu/libc-tls.c: Nor here.
13841         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13843         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13844         (__libc_message): Never call vsyslog.
13846 2013-03-28  Alan Modra  <amodra@gmail.com>
13848         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13849         Define as empty.
13850         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13851         Likewise.
13853 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13855         [BZ #15214]
13856         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13857         underflow.
13858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13860 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13862         [BZ #15304]
13863         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13864         Don't add gid passed as argument.
13866         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13868 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #15307]
13871         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13872         imaginary part between 1.0 and 1.5 and real part less than 0.5
13873         specially.
13874         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13875         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13876         * math/libm-test.inc (cacos_test): Add more tests.
13877         (casin_test): Likewise.
13878         (casinh_test): Likewise.
13879         * sysdeps/i386/fpu/libm-test-ulps: Update.
13880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13882 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13884         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13885         constants.
13886         (norm): Likewise.
13887         (denorm): Likewise.
13888         (__dbl_mp): Likewise.
13889         (add_magnitudes): Likewise.
13890         (sub_magnitudes): Likewise.
13891         (__add): Likewise.
13892         (__sub): Likewise.
13893         (__mul): Likewise.
13894         (__sqr): Likewise.
13895         (__inv): Likewise.
13896         (__dvd): Likewise.
13898         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13899         commented code.
13900         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13901         (__dubcos): Likewise.
13902         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13903         (__ieee754_acos): Likewise.
13904         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13905         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13906         (__exp1): Likewise.
13907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13908         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13909         (log1): Likewise.
13910         (my_log2): Likewise.
13911         (checkint): Likewise.
13912         * sysdeps/ieee754/dbl-64/e_remainder.c
13913         (__ieee754_remainder): Likewise.
13914         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13916         (bsloww): Likewise.
13917         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13919         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13920         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13921         MANTISSA_STORE_T to store computations on mantissa.  Use
13922         macros for rounding and division.
13923         (denorm): Likewise.
13924         (__dbl_mp): Likewise.
13925         (add_magnitudes): Likewise.
13926         (sub_magnitudes): Likewise.
13927         (__mul): Likewise.
13928         (__sqr): Likewise.
13929         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13930         powers of two in terms of TWOPOW macro.
13931         (mp_no): Make type of mantissa as MANTISSA_T.
13932         [!RADIXI]: Define RADIXI.
13933         [!TWO52]: Define TWO52.
13934         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13936 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13938         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13939         llroundl symbol when building for PPC32.
13941 2013-03-24  Mark H Weaver  <mhw@netris.org>
13943         * manual/arith.texi (Normalization Functions): Fix prototypes for
13944         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13946 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13948         [BZ #13889]
13949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13950         high value to check if expl overflow.
13951         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13952         to check for underflow and overflow.
13953         * math/libm-test.inc: Add exp test.
13955 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
13957         [BZ #11120]
13958         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13959         with NOT_IN_libc.
13961 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13963         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13964         symbol.
13966 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13968         * math/gen-libm-test.pl (parse_args, special_functions): Properly
13969         wrap blocks consisting of several statements.
13971         * sysdeps/generic/math-tests.h: New file.
13972         * sysdeps/i386/fpu/math-tests.h: Likewise.
13973         * math/test-snan.c: Include it.
13974         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13976 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #15285]
13979         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13980         (__ieee754_j0l): Do not improve calculations using cos of twice
13981         input for inputs above LDBL_MAX / 2.0L.
13982         (__ieee754_y0l): Likewise.
13983         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13984         (__ieee754_j1l): Do not improve calculations using cos of twice
13985         input for inputs above LDBL_MAX / 2.0L.
13986         (__ieee754_y1l): Likewise.
13987         * math/libm-test.inc (j0_test): Add another test.
13988         (j1_test): Likewise.
13989         (y0_test): Likewise.
13990         (y1_test): Likewise.
13991         * sysdeps/i386/fpu/libm-test-ulps: Update.
13993 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13995         * Rules ($(objpfx)bench-%.c): Include code from a C source
13996         file.
13998 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14000         [BZ #15287]
14001         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14002         imaginary part 1.0 and real part less than 0.5 specially.
14003         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14004         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14005         * math/libm-test.inc (cacos_test): Add more tests.
14006         (casin_test): Likewise.
14007         (casinh_test): Likewise.
14008         * sysdeps/i386/fpu/libm-test-ulps: Update.
14009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14011 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14014         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14016 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14018         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14019         * config.make.in (config-cflags-sse4): Remove variable.
14020         (config-cflags-avx): Likewise.
14021         (config-cflags-sse2avx): Likewise.
14022         (config-cflags-novzeroupper): Likewise.
14023         (config-asflags-i686): Likewise.
14024         (have-mfma4): Likewise.
14025         (have-as-vis3): Likewise.
14026         (MIG): Likewise.
14027         * configure.in (MIG): Do not AC_SUBST.
14028         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14029         (libc_cv_cc_sse4): Do not AC_SUBST.
14030         (libc_cv_cc_avx): Likewise.
14031         (libc_cv_cc_sse2avx): Likewise.
14032         (libc_cv_cc_novzeroupper): Likewise.
14033         (libc_cv_cc_fma4): Likewise.
14034         (libc_cv_as_i686): Likewise.
14035         (libc_cv_sparc_as_vis3): Likewise.
14036         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14037         LIBC_CONFIG_VAR.
14038         (config-asflags-i686): Likewise.
14039         (config-cflags-avx): Likewise.
14040         (config-cflags-sse2avx): Likewise.
14041         (have-mfma4): Likewise.
14042         (config-cflags-novzeroupper): Likewise.
14043         * sysdeps/mach/configure.in (MIG): Likewise.
14044         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14045         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14046         LIBC_CONFIG_VAR.
14047         (config-cflags-avx): Likewise.
14048         (config-cflags-sse2avx): Likewise.
14049         (have-mfma4): Likewise.
14050         (config-cflags-novzeroupper): Likewise.
14051         * configure: Regenerated.
14052         * sysdeps/i386/configure: Likewise.
14053         * sysdeps/mach/configure: Likewise.
14054         * sysdeps/sparc/configure: Likewise.
14055         * sysdeps/x86_64/configure: Likewise.
14057 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14059         [BZ #14812]
14060         * locale/programs/localedef.c (options): Put N_ translation marker
14061         on argument names, not just descriptions.
14063 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14065         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14067 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14069         [BZ #14176]
14070         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14072 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14074         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14075         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14076         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14077         [!BEFORE_ABORT] (before_abort): New function.
14078         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14079         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14080         (writev_for_fatal): New function.
14081         (WRITEV_FOR_FATAL): New macro; call that.
14082         (backtrace_and_maps): New function.
14083         (BEFORE_ABORT): New macro; call that.
14084         (struct str_list): Type removed.
14085         (__libc_message, __libc_fatal): Functions removed.
14086         Include <sysdeps/posix/libc_fatal.c> instead.
14088 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14090         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14091         constants.
14092         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14093         double constants.
14095 2013-03-19  Andreas Schwab  <schwab@suse.de>
14097         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14098         * sysdeps/gnu/configure: Regenerate.
14100         * configure.in: Substitute libc_cv_rtlddir.
14101         * configure: Regenerate.
14102         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14103         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14104         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14105         * elf/Makefile (install-others, CFLAGS-interp.c)
14106         (ldso_install, common-ldd-rewrite): Likewise.
14107         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14108         $(inst_slibdir)/$(rtld-installed-name).
14109         * scripts/rellns-sh: Add -p option.
14110         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14111         for source.
14113 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14115         * manual/nptl.texi: Renamed to ...
14116         * manual/threads.texi: ... this.
14117         * manual/Makefile (chapters): Update.
14119 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14121         [BZ #14812]
14122         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14123         on argument names, not just descriptions.
14124         * malloc/memusagestat.c (options): Likewise.
14125         * nss/getent.c (options): Likewise.
14127 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14129         [BZ #14812]
14130         * iconv/iconv_prog.c (options): Put N_ translation marker
14131         on argument names, not just descriptions.
14132         * iconv/iconvconfig.c (options): Likewise.
14134 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14136         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14137         implementation which is faster on all x86_64 architectures.
14138         Tested on AMD, Intel Nehalem, SNB, IVB.
14139         * sysdeps/x86_64/strnlen.S: Likewise.
14141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14142         Remove all multiarch strlen and strnlen versions.
14143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14144         Remove strlen and strnlen related parts.
14146         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14147         Inline strlen part.
14148         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14150         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14151         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14152         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14153         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14154         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14155         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14157 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14159         * manual/memory.texi (Malloc Tunable Parameters):
14160         Sort parameters alphabetically. Add comments for missing entries.
14162 2013-03-17  David S. Miller  <davem@davemloft.net>
14164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14166 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14168         [BZ #15283]
14169         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14170         for arguments at most half maximum finite value.
14171         * math/libm-test.inc (j0_test): Add more tests.
14172         (j1_test): Likewise.
14173         (y0_test): Likewise.
14174         (y1_test): Likewise.
14175         * sysdeps/i386/fpu/libm-test-ulps: Update.
14176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178         [BZ #14155]
14179         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14180         1 / x and functions P and Q for arguments above 0x1p256L.
14181         (__ieee754_y0l): Likewise.
14182         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14183         (__ieee754_y1l): Likewise.
14184         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14185         (j1_test): Likewise.
14186         (y0_test): Likewise.
14187         (y1_test): Likewise.
14189 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14191         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14192         variable.
14194 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14196         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14197         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14198         zero since it's initialized to EXEC_PAGESIZE.
14200         * sysdeps/unix/sysv/linux/ldsodefs.h
14201         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14202         * sysdeps/generic/ldsodefs.h: ... here.
14204 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14206         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14208         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14209         math/test-snan.c.
14210         * math/test-snan.c: Renamed from
14211         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14212         * math/Makefile (tests): Add test-snan.
14213         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14214         test-powerpc-snan.
14216         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14217         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14218         functions.
14219         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14220         __builtin_nan family of functions.
14221         * math/libm-test.inc (initialize): Initialize qnan_value with
14222         __builtin_nan family of functions.
14223         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14224         Remove variables.
14225         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14226         Remove functions.
14227         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14228         storage class.  Initialize qNaN_var and sNaN_var with
14229         __builtin_nan and __builtin_nans families of functions,
14230         respectively.
14232         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14233         (sqrt_test): Remove duplicate test with qNaN input.
14234         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14235         (round_test, signbit_test, significand_test): Note missing +/-Inf
14236         as well as qNaN tests.
14238         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14239         qNaN_var.  Fix a few strings, too.
14240         * math/libm-test.inc (nan_value): Rename to qnan_value.
14241         * math/gen-libm-test.pl (%beautify): Adjust to that.
14242         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14243         * math/test-misc.c (main): Likewise.
14244         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14245         to __qnan_bytes, and __qnan_union, respectively.
14246         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14247         Likewise.
14248         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14249         and lqnanval, respectively.
14250         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14251         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14252         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14253         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14255         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14256         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14257         doubles.
14259         * math/test-misc.c (main): Fix copy'n'pastos.
14260         * misc/tst-efgcvt.c (special): Likewise.
14262         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14263         Remove declarations.
14265 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14267         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14268         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14269         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14270         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14272 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14274         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14275         macro to return vdso values correctly in IFUNC implementations.
14276         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14277         Optimization by using IFUNC.
14279 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14280             Richard Henderson  <rth@redhat.com>
14281             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14283         * Makefile.in (bench): New target.
14284         * NEWS: Mention the benchmark framework.
14285         * Rules (bench): Likewise.
14286         (binaries-bench): Generate binaries for functions to
14287         benchmark.
14288         * benchtests/Makefile: New makefile for benchmark tests.
14289         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14290         programs.
14291         * benchtests/exp-inputs: New input file for EXP function.
14292         * benchtests/pow-inputs: New input file for POW function.
14293         * scripts/bench.pl: New script to generate source files for
14294         benchmark programs.
14296 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14298         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14299         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14300         computations on mantissa.  Use macros for rounding and
14301         division.
14302         (denorm): Likewise.
14303         (__dbl_mp): Likewise.
14304         (add_magnitudes): Likewise.
14305         (sub_magnitudes): Likewise.
14306         (__mul): Likewise.
14307         (__sqr): Likewise.
14308         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14309         powers of two in terms of TWOPOW macro.
14310         (mp_no): Make type of mantissa as MANTISSA_T.
14311         [!RADIXI]: Define RADIXI.
14312         [!TWO52]: Define TWO52.
14313         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14315         * manual/nptl.texi (cindex): Modify threads to pthreads.
14317 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
14319         * sysdeps/x86_64/preconfigure: Regenerated.
14321 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
14323         [BZ #14155]
14324         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14325         0x1p28 and above.
14326         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14327         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14328         0x1p28 and above.
14329         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14330         * math/libm-test.inc (j0_test): Do not allow one spurious
14331         underflow exception.
14332         (y1_test): Likewise.
14334 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14336         * manual/Makefile (chapters): Add nptl.
14337         * manual/debug.texi (Debugging Support): Add link to Threads
14338         chapter.
14339         * manual/nptl.texi: New file.
14341         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14343 2013-03-14  Petr Baudis  <pasky@ucw.cz>
14345         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
14346         for non-NULL pointer before the memory validity test. Pointed
14347         out by Holger Brunck <holger.brunck@keymile.com>.
14349 2013-03-13  Andreas Schwab  <schwab@suse.de>
14351         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
14352         instead of .os.
14354 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
14356         * timezone/zic.c: Update from tzcode 2013b.
14358 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
14360         * manual/install.texi (Configuring and compiling):
14361         Mention i686 and i586.
14362         * INSTALL: Regenerate.
14364 2013-03-12  Roland McGrath  <roland@hack.frob.com>
14366         * sysdeps/init_array/elf-init.c: New file.
14367         * csu/elf-init.c
14368         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
14369         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
14371         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
14372         __gmon_start__ as global, but as static with a .preinit_array pointer.
14373         * sysdeps/init_array/gmon-start.c: New file.  Use that.
14374         * sysdeps/init_array/crti.S: New file, empty except for comments.
14375         * sysdeps/init_array/crtn.S: Likewise.
14377 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
14379         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
14380         definining bcopy.
14381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14382         Remove Prefer_SSE_for_memop.
14383         * sysdeps/x86_64/multiarch/init-arch.h: Remove
14384         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
14385         HAS_PREFER_SSE_FOR_MEMOP.
14386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14387         memset-x86-64.
14388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14389         Remove bzero, memset ifunc support.
14390         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
14391         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
14392         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14393         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14395 2013-03-11  Andreas Schwab  <schwab@suse.de>
14397         [BZ #15234]
14398         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
14399         by SHLIB_COMPAT.
14400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
14401         (GLIBC_2.16): Remove pthread_atfork.
14403 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14405         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
14406         (ptestcases.h): Likewise.
14408 2013-03-08  Roland McGrath  <roland@hack.frob.com>
14410         * Makeconfig ($(common-objpfx)config.status): Depend on
14411         sysdeps/*/preconfigure{,.in} too.
14413 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
14415         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14416         (__free_hook): Use void * instead of __malloc_ptr_t.
14417         (__malloc_hook): Likewise.
14418         (__realloc_hook): Likewise.
14419         (__memalign_hook): Likewise.
14420         (__after_morecore_hook): Likewise.
14421         * malloc/arena.c (save_malloc_hook): Likewise.
14422         (save_free_hook): Likewise.
14423         * malloc/hooks.c (malloc_hook_ini): Likewise.
14424         (realloc_hook_ini): Likewise.
14425         (memalign_hook_ini): Likewise.
14426         * malloc/malloc.c (malloc_hook_ini): Likewise.
14427         (realloc_hook_ini): Likewise.
14428         (memalign_hook_ini): Likewise.
14429         (__free_hook): Likewise.
14430         (__malloc_hook): Likewise.
14431         (__realloc_hook): Likewise.
14432         (__memalign_hook): Likewise.
14433         (__libc_malloc): Likewise.
14434         (__libc_free): Likewise.
14435         (__libc_realloc): Likewise.
14436         (__libc_memalign): Likewise.
14437         (__libc_valloc): Likewise.
14438         (__libc_pvalloc): Likewise.
14439         (__libc_calloc): Likewise.
14440         (__posix_memalign): Likewise.
14441         * malloc/morecore.c (__sbrk): Likewise.
14442         (__default_morecore): Likewise.
14444         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
14446         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
14447         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
14448         __malloc_ptrdiff_t.
14450         * malloc/malloc.h (__malloc_size_t): Remove macro.
14451         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
14452         __malloc_size_t.
14453         (old_memalign_hook): Likewise.
14454         (old_realloc_hook): Likewise.
14455         (struct hdr): Likewise.
14456         (flood): Likewise.
14457         (mallochook): Likewise.
14458         (memalignhook): Likewise.
14459         (reallochook): Likewise.
14460         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
14461         (tr_old_realloc_hook): Likewise.
14462         (tr_old_memalign_hook): Likewise.
14463         (tr_mallochook): Likewise.
14464         (tr_reallochook): Likewise.
14465         (tr_memalignhook): Likewise.
14467 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
14470         default_ldbl_pack and using as default implementation.
14471         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
14472         implementation.
14473         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
14474         redundant definition.
14475         (ldbl_insert_mantissa): Likewise.
14476         (ldbl_canonicalize): Likewise.
14477         (ldbl_nearbyint): Likewise.
14478         (ldbl_pack): Rename to ldbl_pack_ppc.
14479         (ldbl_unpack): Rename to ldbl_unpack_ppc.
14480         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
14481         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
14483 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
14486         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
14487         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
14488         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
14489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
14490         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
14491         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
14492         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
14494 2013-03-07  Andreas Jaeger  <aj@suse.de>
14496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14497         bits/mman-linux.h.
14499 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14501         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
14502         Include mpa.h and declare __MPEXP.
14503         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
14504         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14505         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14506         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14507         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14508         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
14509         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
14511         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
14512         (__slowpow): Use long double EXPL and LOGL functions to
14513         compute POW.
14514         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
14515         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14516         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
14517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
14518         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
14519         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
14521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
14522         intermediate variable to calculate exponent.
14523         (__sqr): Likewise.
14524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14525         Likewise.
14526         (__sqr): Likewise.
14528         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
14529         [!NO__SQR]: Define __sqr.
14530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
14531         and NO__SQR.  Remove all code except __mul and __sqr.  Include
14532         sysdeps/ieee754/dbl-64/mpa.c.
14533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14535         [BZ #12723]
14536         * posix/Makefile (tests): Add tst-pathconf.
14537         * posix/tst-pathconf.c: New test case.
14538         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
14539         _PC_PIPE_BUF.
14540         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
14542 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
14544         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
14546 2013-03-06  Andreas Jaeger  <aj@suse.de>
14548         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
14549         definition via __MAP_ANONYMOUS.
14551         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
14552         it's not part of Linux headers.
14554         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
14555         (MAP_HUGE_MASK): Define.
14557         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14558         Define.
14559         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14561         Define.
14562         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14563         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14564         Define.
14565         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14566         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
14567         Define.
14568         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
14570         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
14571         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
14572         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
14573         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
14574         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
14575         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
14577         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14578         Handle f2fs.
14580         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14581         Handle f2fs and efivarfs.
14583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
14584         f2fs.
14586         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
14587         (EFIVARFS_MAGIC): Add.
14588         (F2FS_LINK_MAX): Add.
14590 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14592         * stdio-common/vfprintf.c: Replace __builtin_expect with
14593         __glibc_unlikely.
14595 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
14597         [BZ #13550]
14598         * sysdeps/generic/bp-sym.h: Remove file.
14599         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
14600         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
14601         <bp-sym.h> and <bp-asm.h>.
14602         (__longjmp): Don't use BP_SYM.
14603         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
14604         and <bp-asm.h>.
14605         (memcpy): Don't use BP_SYM.
14606         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
14607         <bp-sym.h> and <bp-asm.h>.
14608         (memcpy): Don't use BP_SYM.
14609         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
14610         <bp-asm.h>.
14611         (memcpy): Don't use BP_SYM.
14612         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
14613         <bp-asm.h>.
14614         (memset): Don't use BP_SYM.
14615         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14616         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14617         (__bzero): Don't use BP_SYM.
14618         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14619         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14620         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
14621         <bp-sym.h> and <bp-asm.h>.
14622         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14623         pointers.
14624         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
14625         <bp-sym.h> and <bp-asm.h>.
14626         (memcpy): Don't use BP_SYM.
14627         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
14628         <bp-sym.h> and <bp-asm.h>.
14629         (memset): Don't use BP_SYM.
14630         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14631         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14632         (__bzero): Don't use BP_SYM.
14633         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14634         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14635         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14636         <bp-sym.h> and <bp-asm.h>.
14637         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14638         pointers.
14639         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14640         <bp-sym.h> and <bp-asm.h>.
14641         (memcpy): Don't use BP_SYM.
14642         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14643         <bp-sym.h> and <bp-asm.h>.
14644         (memset): Don't use BP_SYM.
14645         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14646         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14647         (__bzero): Don't use BP_SYM.
14648         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14649         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14650         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14651         <bp-sym.h> and <bp-asm.h>.
14652         (__memchr): Don't use BP_SYM.
14653         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14654         <bp-sym.h> and <bp-asm.h>.
14655         (memcmp): Don't use BP_SYM.  Remove comment about bounded
14656         pointers.
14657         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14658         <bp-sym.h> and <bp-asm.h>.
14659         (memcpy): Don't use BP_SYM.
14660         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14661         <bp-sym.h> and <bp-asm.h>.
14662         (__mempcpy): Don't use BP_SYM.
14663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14664         <bp-sym.h> and <bp-asm.h>.
14665         (__memrchr): Don't use BP_SYM.
14666         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14667         <bp-sym.h> and <bp-asm.h>.
14668         (memset): Don't use BP_SYM.
14669         (__bzero): Likewise.
14670         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14671         <bp-sym.h> and <bp-asm.h>.
14672         (__rawmemchr): Don't use BP_SYM.
14673         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14674         <bp-sym.h> and <bp-asm.h>.
14675         (__STRCMP): Don't use BP_SYM.
14676         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14677         <bp-sym.h> and <bp-asm.h>.
14678         (strchr): Don't use BP_SYM.
14679         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14680         <bp-sym.h> and <bp-asm.h>.
14681         (__strchrnul): Don't use BP_SYM.
14682         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14683         <bp-sym.h> and <bp-asm.h>.
14684         (strlen): Don't use BP_SYM.
14685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14686         <bp-sym.h> and <bp-asm.h>.
14687         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14688         pointers.
14689         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14690         <bp-sym.h> and <bp-asm.h>.
14691         (__strnlen): Don't use BP_SYM.
14692         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14693         <bp-sym.h> and <bp-asm.h>.
14694         (__GI__setjmp): Don't use BP_SYM.
14695         (_setjmp): Likewise.
14696         (__sigsetjmp): Likewise.
14697         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14698         (L(start_addresses)): Don't use BP_SYM.
14699         (_start): Likewise.
14700         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14701         <bp-asm.h>.
14702         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14703         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14704         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14705         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14706         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14707         <bp-asm.h>.
14708         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14709         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
14710         about bounded pointers.
14711         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14712         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14713         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14714         <bp-asm.h>.
14715         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14716         about bounded pointers.  Remove GKM FIXME comments.
14717         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14718         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14719         <bp-asm.h>.
14720         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14721         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
14722         Remove GKM FIXME comments.
14723         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14724         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14725         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14726         <bp-asm.h>.
14727         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
14728         about bounded pointers.  Remove GKM FIXME comment.
14729         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14730         and <bp-asm.h>.
14731         (strncmp): Don't use BP_SYM.  Remove comment about bounded
14732         pointers.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14734         <bp-sym.h> and <bp-asm.h>.
14735         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14737         <bp-sym.h> and <bp-asm.h>.
14738         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14739         comment.
14741 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14743         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14744         call free(NULL).
14746 2013-03-05  David S. Miller  <davem@davemloft.net>
14748         * po/es.po: Update from translation team.
14750 2013-03-05  Andreas Jaeger  <aj@suse.de>
14752         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14753         <bits/mman-linux.h>.
14754         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14755         is fine.
14756         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14757         <bits/mman-linux.h> to end of file.
14758         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14759         is fine.
14760         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14761         <bits/mman-linux.h> to end of file.
14762         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14763         is fine.
14764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14765         <bits/mman-linux.h> to end of file.
14767         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14768         (MCL_CURRENT, MCL_FUTURE): Define here.
14770 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14772         [BZ #15232]
14773         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14774         attribute_hidden.
14775         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14777 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14780         fourth parameter needed for rt_sigprocmask syscall.
14781         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14782         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14783         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14784         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14785         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14786         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14788 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
14790         [BZ #13550]
14791         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14792         comment about bounded pointers.
14793         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14794         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14796 2013-03-04  Andreas Jaeger  <aj@suse.de>
14798         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14799         common definitions.
14801         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14802         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14803         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14804         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14805         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14806         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14808 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14810         [BZ #15055]
14811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14812         __ieee754_sqrl instead of __sqrl.
14814 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
14816         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14817         * sysdeps/powerpc/fpu_control.h: ... here.
14818         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14819         * sysdeps/powerpc/bits/fenvinline.h: ... here.
14820         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14821         * sysdeps/powerpc/bits/mathinline.h: ... here.
14823 2013-03-01  Roland McGrath  <roland@hack.frob.com>
14825         * elf/dl-hwcaps.c (_dl_important_hwcaps):
14826         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14827         to just [NEED_DL_SYSINFO_DSO].
14828         * elf/dl-support.c: Likewise.
14829         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14830         * elf/rtld.c (dl_main): Likewise.
14831         * elf/setup-vdso.h (setup_vdso): Likewise.
14832         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14833         * sysdeps/unix/sysv/linux/dl-sysdep.c
14834         (_dl_discover_osversion): Likewise.
14836 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
14838         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14839         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14841 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14843         * NEWS: Mention libm performance improvements and non-x86 PI
14844         futex support.
14846         * csu/libc-start.c (__pthread_initialize_minimal): Change
14847         function arguments.
14848         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14850 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
14852         [BZ #13550]
14853         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14854         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14855         <bp-sym.h> and <bp-asm.h>.
14856         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14857         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14858         and <bp-asm.h>.
14859         (memcpy): Don't use BP_SYM.
14860         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14861         <bp-asm.h>.
14862         (__mpn_add_n): Don't use BP_SYM.
14863         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14864         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14865         and <bp-asm.h>.
14866         (__mpn_addmul_1): Don't use BP_SYM.
14867         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14868         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14869         <bp-sym.h>.
14870         (_setjmp): Don't use BP_SYM.
14871         (__novmx_setjmp): Likewise.
14872         (__GI__setjmp): Likewise.
14873         (__vmx_setjmp): Likewise.
14874         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14875         <bp-sym.h>.
14876         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14877         (__bzero): Don't use BP_SYM.
14878         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14879         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14880         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14881         <bp-sym.h> and <bp-asm.h>.
14882         (memcpy): Don't use BP_SYM.
14883         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14884         <bp-sym.h> and <bp-asm.h>.
14885         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14886         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14887         <bp-sym.h> and <bp-asm.h>.
14888         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14889         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14890         <bp-asm.h>.
14891         (__mpn_lshift): Don't use BP_SYM.
14892         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14893         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14894         <bp-asm.h>.
14895         (memset): Don't use BP_SYM.
14896         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14897         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14898         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14899         <bp-asm.h>.
14900         (__mpn_mul_1): Don't use BP_SYM.
14901         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14902         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14903         <bp-sym.h> and <bp-asm.h>.
14904         (memcmp): Don't use BP_SYM.
14905         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14906         <bp-sym.h> and <bp-asm.h>.
14907         (memcpy): Don't use BP_SYM.
14908         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14909         <bp-sym.h> and <bp-asm.h>.
14910         (memset): Don't use BP_SYM.
14911         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14912         <bp-sym.h> and <bp-asm.h>.
14913         (strncmp): Don't use BP_SYM.
14914         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14915         <bp-sym.h> and <bp-asm.h>.
14916         (memcpy): Don't use BP_SYM.
14917         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14918         <bp-sym.h> and <bp-asm.h>.
14919         (memset): Don't use BP_SYM.
14920         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14921         <bp-sym.h> and <bp-asm.h>.
14922         (__memchr): Don't use BP_SYM.
14923         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14924         <bp-sym.h> and <bp-asm.h>.
14925         (memcmp): Don't use BP_SYM.
14926         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14927         <bp-sym.h> and <bp-asm.h>.
14928         (memcpy): Don't use BP_SYM.
14929         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14930         <bp-sym.h> and <bp-asm.h>.
14931         (__mempcpy): Don't use BP_SYM.
14932         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14933         <bp-sym.h> and <bp-asm.h>.
14934         (__memrchr): Don't use BP_SYM.
14935         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14936         <bp-sym.h> and <bp-asm.h>.
14937         (memset): Don't use BP_SYM.
14938         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14939         <bp-sym.h> and <bp-asm.h>.
14940         (__rawmemchr): Don't use BP_SYM.
14941         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14942         <bp-sym.h> and <bp-asm.h>.
14943         (__STRCMP): Don't use BP_SYM.
14944         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14945         <bp-sym.h> and <bp-asm.h>.
14946         (strchr): Don't use BP_SYM.
14947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14948         <bp-sym.h> and <bp-asm.h>.
14949         (__strchrnul): Don't use BP_SYM.
14950         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14951         <bp-sym.h> and <bp-asm.h>.
14952         (strlen): Don't use BP_SYM.
14953         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14954         <bp-sym.h> and <bp-asm.h>.
14955         (strncmp): Don't use BP_SYM.
14956         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14957         <bp-sym.h> and <bp-asm.h>.
14958         (__strnlen): Don't use BP_SYM.
14959         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14960         <bp-asm.h>.
14961         (__mpn_rshift): Don't use BP_SYM.
14962         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14963         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14964         <bp-sym.h> and <bp-asm.h>.
14965         (__sigsetjmp): Don't use BP_SYM.
14966         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14967         (L(start_addresses)): Don't use BP_SYM.
14968         (_start): Likewise.
14969         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14970         <bp-asm.h>.
14971         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14972         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14973         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14974         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14975         <bp-asm.h>.
14976         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14977         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14978         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14979         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14980         <bp-asm.h>.
14981         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14982         comments.
14983         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14984         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14985         <bp-asm.h>.
14986         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
14987         FIXME comments.
14988         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14989         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14990         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14991         <bp-asm.h>.
14992         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14993         comment.
14994         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14995         and <bp-asm.h>.
14996         (strncmp): Don't use BP_SYM,
14997         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14998         <bp-asm.h>.
14999         (__mpn_sub_n): Don't use BP_SYM.
15000         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15001         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15002         and <bp-asm.h>.
15003         (__mpn_submul_1): Don't use BP_SYM.
15004         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15006         <bp-sym.h> and <bp-asm.h>.
15007         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15009         <bp-sym.h> and <bp-asm.h>.
15010         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15011         comment.
15013 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15016         Use ZK to minimize writes to Z.
15017         (sub_magnitudes): Simplify code a bit.
15018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15019         Use ZK to minimize writes to Z.
15020         (sub_magnitudes): Simplify code a bit.
15022 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15024         * csu/gmon-start.c: Add special exception to license text.
15026 2013-02-27  Richard Henderson  <rth@redhat.com>
15028         * scripts/config.guess: Update from config.git.
15029         * scripts/config.sub: Likewise.
15031 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15033         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15035         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15037         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15039         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15041         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15043 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15045         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15046         [$(build-shared = yes].
15048 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15050         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15051         (__mul): Reduce iterations for calculating mantissa.
15053         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15054         MPTWO.
15055         (__mpranred): Likewise.
15057         [BZ #15160]
15058         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15059         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15061 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15063         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15064         Define __attribute__.
15066 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15068         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15069         unused.
15070         * posix/regex_internal.h (__attribute): Remove.
15071         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15072         (re_string_context_at): Likewise.
15073         (bitset_not): Use __attribute__ and mark function as possibly
15074         unused.
15075         (bitset_merge): Likewise.
15076         (bitset_mask): Likewise.
15077         (re_string_char_size_at): Likewise.
15078         (re_string_wchar_at): Likewise.
15079         (re_string_elem_size_at): Likewise.
15081 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15083         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15084         code.
15085         (cc32): Likewise.
15087         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15088         (__acr): Likewise.
15089         (__cpy): Likewise.
15090         (norm): Likewise.
15091         (denorm): Likewise.
15092         (__dbl_mp): Likewise.
15093         (add_magnitudes): Likewise.
15094         (sub_magnitudes): Likewise.
15095         (__mul): Likewise.
15096         (__inv): Likewise.
15098         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15099         style.
15101         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15102         style.
15104         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15105         code.
15107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15108         up changes with default code.
15109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15110         Likewise.
15112 2013-02-24  Allan McRae  <allan@archlinux.org>
15114         * manual/socket.texi (The Internet Namespace): Order menu items
15115         to match that in the file.
15117         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15118         node listing of the info page menu.
15120 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15122         [BZ #13550]
15123         * sysdeps/i386/bp-asm.h: Remove file.
15124         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15125         (PARMS): Do not use macros from bp-asm.h.
15126         (S1): Likewise.
15127         (S2): Likewise.
15128         (SIZE): Likewise.
15129         (__mpn_add_n): Do not use BP_SYM
15130         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15131         "bp-asm.h".
15132         (PARMS): Do not use macros from bp-asm.h.
15133         (S1): Likewise.
15134         (SIZE): Likewise.
15135         (__mpn_addmul_1): Do not use BP_SYM
15136         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15137         "bp-asm.h".
15138         (PARMS): Do not use macros from bp-asm.h.
15139         (SIGMSK): Likewise.
15140         (_setjmp): Likewise.  Do not use BP_SYM.
15141         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15142         "bp-asm.h".
15143         (PARMS): Do not use macros from bp-asm.h.
15144         (SIGMSK): Likewise.
15145         (setjmp): Likewise.  Do not use BP_SYM.
15146         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15147         "bp-asm.h".
15148         (PARMS): Do not use macros from bp-asm.h.
15149         (__frexp): Do not use BP_SYM.
15150         (frexp): Likewise.
15151         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15152         "bp-asm.h".
15153         (PARMS): Do not use macros from bp-asm.h.
15154         (__frexpf): Do not use BP_SYM.
15155         (frexpf): Likewise.
15156         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15157         "bp-asm.h".
15158         (PARMS): Do not use macros from bp-asm.h.
15159         (__frexpl): Do not use BP_SYM.
15160         (frexpl): Likewise.
15161         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15162         "bp-asm.h".
15163         (PARMS): Do not use macros from bp-asm.h.
15164         (__remquo): Do not use BP_SYM.
15165         (remquo): Likewise.
15166         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15167         "bp-asm.h".
15168         (PARMS): Do not use macros from bp-asm.h.
15169         (__remquof): Do not use BP_SYM.
15170         (remquof): Likewise.
15171         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15172         "bp-asm.h".
15173         (PARMS): Do not use macros from bp-asm.h.
15174         (__remquol): Do not use BP_SYM.
15175         (remquol): Likewise.
15176         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15177         "bp-asm.h".
15178         (PARMS): Do not use macros from bp-asm.h.
15179         (DEST): Likewise.
15180         (SRC): Likewise.
15181         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15182         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15183         "bp-asm.h".
15184         (PARMS): Do not use macros from bp-asm.h.
15185         (strlen): Do not use BP_SYM.
15186         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15187         "bp-asm.h".
15188         (PARMS): Do not use macros from bp-asm.h.
15189         (S1): Likewise.
15190         (S2): Likewise.
15191         (SIZE): Likewise.
15192         (__mpn_add_n): Do not use BP_SYM.
15193         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15194         "bp-asm.h".
15195         (PARMS): Do not use macros from bp-asm.h.
15196         (S1): Likewise.
15197         (SIZE): Likewise.
15198         (__mpn_addmul_1): Do not use BP_SYM.
15199         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15200         weak_alias.
15201         (bzero): Likewise.
15202         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15203         "bp-asm.h".
15204         (PARMS): Do not use macros from bp-asm.h.
15205         (S): Likewise.
15206         (SIZE): Likewise.
15207         (__mpn_lshift): Do not use BP_SYM.
15208         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15209         "bp-asm.h".
15210         (PARMS): Do not use macros from bp-asm.h.
15211         (DEST): Likewise.
15212         (SRC): Likewise.
15213         (LEN): Likewise.
15214         (memcpy): Likewise.  Do not use BP_SYM.
15215         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15216         libc_hidden_def and weak_alias.
15217         (mempcpy): Do not use BP_SYM in weak_alias.
15218         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15219         "bp-asm.h".
15220         (PARMS): Do not use macros from bp-asm.h.
15221         (DEST): Likewise.
15222         (LEN): Likewise.
15223         [!BZERO_P] (CHR): Likewise.
15224         (memset): Likewise.  Do not use BP_SYM.
15225         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15226         "bp-asm.h".
15227         (PARMS): Do not use macros from bp-asm.h.
15228         (S1): Likewise.
15229         (SIZE): Likewise.
15230         (__mpn_mul_1): Do not use BP_SYM.
15231         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15232         "bp-asm.h".
15233         (PARMS): Do not use macros from bp-asm.h.
15234         (S): Likewise.
15235         (SIZE): Likewise.
15236         (__mpn_rshift): Do not use BP_SYM.
15237         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15238         "bp-asm.h".
15239         (PARMS): Do not use macros from bp-asm.h.
15240         (STR): Likewise.
15241         (CHR): Likewise.
15242         (strchr): Likewise.  Do not use BP_SYM.
15243         (index): Do not use BP_SYM in weak_alias.
15244         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15245         "bp-asm.h".
15246         (PARMS): Do not use macros from bp-asm.h.
15247         (DEST): Likewise.
15248         (SRC): Likewise.
15249         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15250         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15251         "bp-asm.h".
15252         (PARMS): Do not use macros from bp-asm.h.
15253         (strlen): Do not use BP_SYM.
15254         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15255         "bp-asm.h".
15256         (PARMS): Do not use macros from bp-asm.h.
15257         (S1): Likewise.
15258         (S2): Likewise.
15259         (SIZE): Likewise.
15260         (__mpn_sub_n): Do not use BP_SYM.
15261         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15262         "bp-asm.h".
15263         (PARMS): Do not use macros from bp-asm.h.
15264         (S1): Likewise.
15265         (SIZE): Likewise.
15266         (__mpn_submul_1): Do not use BP_SYM.
15267         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15268         "bp-asm.h".
15269         (PARMS): Do not use macros from bp-asm.h.
15270         (S1): Likewise.
15271         (S2): Likewise.
15272         (SIZE): Likewise.
15273         (__mpn_add_n): Do not use BP_SYM.
15274         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15275         weak_alias.
15276         (bzero): Likewise.
15277         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15278         "bp-asm.h".
15279         (PARMS): Do not use macros from bp-asm.h.
15280         (BLK2): Likewise.
15281         (LEN): Likewise.
15282         (memcmp): Do not use BP_SYM.
15283         (bcmp): Do not use BP_SYM in weak_alias.
15284         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15285         "bp-asm.h".
15286         (PARMS): Do not use macros from bp-asm.h.
15287         (DEST): Likewise.
15288         (SRC): Likewise.
15289         (LEN): Likewise.
15290         (memcpy): Likewise.  Do not use BP_SYM.
15291         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15292         "bp-asm.h".
15293         (PARMS): Do not use macros from bp-asm.h.
15294         (DEST): Likewise.
15295         (SRC): Likewise.
15296         (LEN): Likewise.
15297         (memmove): Likewise.  Do not use BP_SYM.
15298         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15299         "bp-asm.h".
15300         (PARMS): Do not use macros from bp-asm.h.
15301         (DEST): Likewise.
15302         (SRC): Likewise.
15303         (LEN): Likewise.
15304         (__mempcpy): Likewise.  Do not use BP_SYM.
15305         (mempcpy): Do not use BP_SYM in weak_alias.
15306         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15307         "bp-asm.h".
15308         (PARMS): Do not use macros from bp-asm.h.
15309         (DEST): Likewise.
15310         (LEN): Likewise.
15311         [!BZERO_P] (CHR): Likewise.
15312         (memset): Likewise.  Do not use BP_SYM.
15313         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15314         "bp-asm.h".
15315         (PARMS): Do not use macros from bp-asm.h.
15316         (STR2): Likewise.
15317         (strcmp): Do not use BP_SYM.
15318         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15319         "bp-asm.h".
15320         (PARMS): Do not use macros from bp-asm.h.
15321         (STR): Likewise.
15322         (DELIM): Likewise.
15323         [USE_AS_STRTOK_R] (SAVE): Likewise.
15324         (FUNCTION): Likewise.  Do not use BP_SYM.
15325         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15326         aliases.
15327         (strtok_r): Likewise.
15328         (__GI___strtok_r): Likewise.
15329         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15330         (PARMS): Do not use macros from bp-asm.h.
15331         (S): Likewise.
15332         (SIZE): Likewise.
15333         (__mpn_lshift): Do not use BP_SYM.
15334         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15335         (PARMS): Do not use macros from bp-asm.h.
15336         (STR): Likewise.
15337         (CHR): Likewise.
15338         (__memchr): Do not use BP_SYM.
15339         (memchr): Do not use BP_SYM in weak_alias.
15340         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15341         (PARMS): Do not use macros from bp-asm.h.
15342         (BLK2): Likewise.
15343         (LEN): Likewise.
15344         (memcmp): Do not use BP_SYM.
15345         (bcmp): Do not use BP_SYM in weak_alias.
15346         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
15347         (PARMS): Do not use macros from bp-asm.h.
15348         (S1): Likewise.
15349         (SIZE): Likewise.
15350         (__mpn_mul_1): Do not use BP_SYM.
15351         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
15352         "bp-asm.h".
15353         (PARMS): Do not use macros from bp-asm.h.
15354         (STR): Likewise.
15355         (CHR): Likewise.
15356         (__rawmemchr): Do not use BP_SYM.
15357         (rawmemchr): Do not use BP_SYM in weak_alias.
15358         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15359         (PARMS): Do not use macros from bp-asm.h.
15360         (S): Likewise.
15361         (SIZE): Likewise.
15362         (__mpn_rshift): Do not use BP_SYM.
15363         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15364         (PARMS): Do not use macros from bp-asm.h.
15365         (SIGMSK): Likewise.
15366         (__sigsetjmp): Likewise.  Do not use BP_SYM.
15367         * sysdeps/i386/start.S: Do not include "bp-sym.h".
15368         (_start): Do not use BP_SYM.
15369         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
15370         (PARMS): Do not use macros from bp-asm.h.
15371         (DEST): Likewise.
15372         (SRC): Likewise.
15373         (__stpcpy): Likewise.  Do not use BP_SYM.
15374         (stpcpy): Do not use BP_SYM in weak_alias.
15375         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
15376         "bp-asm.h".
15377         (PARMS): Do not use macros from bp-asm.h.
15378         (DEST): Likewise.
15379         (SRC): Likewise.
15380         (LEN): Likewise.
15381         (__stpncpy): Likewise.  Do not use BP_SYM.
15382         (stpncpy): Do not use BP_SYM in weak_alias.
15383         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15384         (PARMS): Do not use macros from bp-asm.h.
15385         (STR): Likewise.
15386         (CHR): Likewise.
15387         (strchr): Likewise.  Do not use BP_SYM.
15388         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
15389         "bp-asm.h".
15390         (PARMS): Do not use macros from bp-asm.h.
15391         (STR): Likewise.
15392         (CHR): Likewise.
15393         (__strchrnul): Likewise.  Do not use BP_SYM.
15394         (strchrnul): Do not use BP_SYM in weak_alias.
15395         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
15396         "bp-asm.h".
15397         (PARMS): Do not use macros from bp-asm.h.
15398         (STOP): Likewise.
15399         (strcspn): Do not use BP_SYM.
15400         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
15401         "bp-asm.h".
15402         (PARMS): Do not use macros from bp-asm.h.
15403         (STR): Likewise.
15404         (STOP): Likewise.
15405         (strpbrk): Likewise.  Do not use BP_SYM.
15406         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
15407         "bp-asm.h".
15408         (PARMS): Do not use macros from bp-asm.h.
15409         (STR): Likewise.
15410         (CHR): Likewise.
15411         (strrchr): Likewise.  Do not use BP_SYM.
15412         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
15413         (PARMS): Do not use macros from bp-asm.h.
15414         (SKIP): Likewise.
15415         (strspn): Do not use BP_SYM.
15416         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
15417         (PARMS): Do not use macros from bp-asm.h.
15418         (STR): Likewise.
15419         (DELIM): Likewise.
15420         (SAVE): Likewise.
15421         (FUNCTION): Likewise.  Do not use BP_SYM.
15422         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
15423         aliases.
15424         (strtok_r): Likewise.
15425         (__GI___strtok_r): Likewise.
15426         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15427         (PARMS): Do not use macros from bp-asm.h.
15428         (S1): Likewise.
15429         (S2): Likewise.
15430         (SIZE): Likewise.
15431         (__mpn_sub_n): Do not use BP_SYM.
15432         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
15433         "bp-asm.h".
15434         (PARMS): Do not use macros from bp-asm.h.
15435         (S1): Likewise.
15436         (SIZE): Likewise.
15437         (__mpn_submul_1): Do not use BP_SYM.
15438         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
15439         <bp-sym.h>.
15440         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
15441         and <bp-asm.h>.
15442         (PARMS): Do not use macros from bp-asm.h.
15443         (FLAGS): Likewise.
15444         (PTID): Likewise.
15445         (TLS): Likewise.
15446         (CTID): Likewise.
15447         (__clone): Do not use BP_SYM.
15448         (clone): Do not use BP_SYM in weak_alias.
15449         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
15450         and <bp-asm.h>.
15451         (PARMS): Do not use macros from bp-asm.h.
15452         (LEN): Likewise.
15453         (__mmap64): Do not use BP_SYM.
15454         (mmap64): Do not use BP_SYM in weak_alias.
15455         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15456         <bp-sym.h> and <bp-asm.h>.
15457         (PARMS): Do not use macros from bp-asm.h.
15458         (__posix_fadvise64_l64): Do not use BP_SYM.
15459         * sysdeps/unix/sysv/linux/i386/semtimedop.S
15460         (PARMS): Do not use macros from bp-asm.h.
15461         (NSOPS): Likewise.
15462         (semtimedop): Do not use BP_SYM.
15463         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
15464         and <bp-asm.h>.
15466 2013-02-21  Allan McRae  <allan@archlinux.org>
15468         * manual/message.texi (Charset conversion in gettext):
15469         Move @end statement to beginning of line.
15471 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
15474         static.
15475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15476         Likewise.
15478         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
15479         (denorm): Likewise.
15480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
15481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
15483 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15485         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
15486         tail-call to the resolved function if pltexit isn't needed.
15488 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
15491         or Y being zero as being unlikely.
15492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15493         Likewise.
15495 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
15497         * manual/nss.texi (System Databases and Name Service Switch):
15498         Remove frobnicate @pxref.
15500 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15502         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15503         __attribute__ ((unused)) to __attribute__ ((__unused__)).
15505 2013-02-20  Petr Machata  <pmachata@redhat.com>
15507         * elf/elf.h (R_ARM_TARGET1): New macro.
15508         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
15509         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
15510         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
15511         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
15512         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
15513         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
15514         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
15515         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
15516         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
15517         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
15518         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15519         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
15520         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
15521         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
15522         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
15523         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
15524         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
15525         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
15526         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
15527         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
15528         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
15529         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
15530         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
15531         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
15532         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
15533         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
15534         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
15535         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
15536         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
15537         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
15538         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
15539         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
15540         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
15541         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
15542         (R_ARM_THM_GOT_BREL12): Likewise.
15543         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
15544         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
15545         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
15546         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
15547         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
15548         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
15549         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
15550         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
15551         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
15553 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
15555         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
15556         __attribute_used__ to __attribute__ ((unused)).
15558 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15560         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
15561         powerpc mpa.c.
15562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
15563         comment formatting.
15564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
15566 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #13550]
15569         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
15570         Remove macro.
15571         (ENTER): Remove both macro definitions.
15572         (LEAVE): Likewise.
15573         (CHECK_BOUNDS_LOW): Likewise.
15574         (CHECK_BOUNDS_HIGH): Likewise.
15575         (CHECK_BOUNDS_BOTH): Likewise.
15576         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
15577         (RETURN_BOUNDED_POINTER): Likewise.
15578         (RETURN_NULL_BOUNDED_POINTER): Likewise.
15579         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
15580         (POP_ERRNO_LOCATION_RETURN): Likewise.
15581         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
15582         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15583         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
15584         macros.
15585         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15586         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
15587         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
15588         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
15589         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
15590         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
15591         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
15592         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
15593         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
15594         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
15595         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
15596         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
15597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15598         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
15599         removed macros.
15600         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15601         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
15602         macros.
15603         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15604         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
15605         * sysdeps/i386/i586/memset.S (memset): Likewise.
15606         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
15607         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15608         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
15609         macros.
15610         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15611         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
15612         Change uses of L(2) to L(out).
15613         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
15614         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
15615         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
15616         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15617         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
15618         removed macros.
15619         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15620         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
15621         macros.
15622         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15623         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
15624         (RETURN): Do not use macro LEAVE.
15625         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
15626         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
15627         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
15628         * sysdeps/i386/i686/memset.S (memset): Likewise.
15629         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
15630         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15631         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15632         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15633         Likewise.
15634         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15635         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
15636         L(1_2) and L(1_3) into L(1).
15637         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15638         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15639         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15640         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15641         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15642         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15643         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15644         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15645         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15646         macros.
15647         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15648         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15649         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15650         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15651         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15652         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15653         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15654         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15655         * sysdeps/i386/strcspn.S (strcspn): Likewise.
15656         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15657         * sysdeps/i386/strrchr.S (strrchr): Likewise.
15658         * sysdeps/i386/strspn.S (strspn): Likewise.
15659         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15660         conditional code.
15661         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15662         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15663         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15664         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
15665         L(1_3) into L(1_1).
15666         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15667         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15668         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15669         macros.
15670         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15672 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
15674         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15675         macro.
15677 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15679         * math/atest-exp.c (exp_mpn): Remove ROUND.
15680         * math/atest-exp2.c (exp_mpn): Likewise.
15681         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15683         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15684         * stdlib/tst-tls-atexit-lib.c: Likewise.
15685         * stdlib/tst-tls-atexit.c: Likewise.
15687 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15689         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15690         and __attribute_alloc_size__.
15692 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15694         * include/programs/xmalloc.h: Change __attribute_alloc_size to
15695         __attribute_alloc_size__.
15696         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15697         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15699 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
15701         * include/programs/xmalloc.h: New file.
15702         * catgets/gencat.c: Include it.
15703         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15704         * elf/pldd.c: Likewise.
15705         * iconv/iconv_charmap.c: Likewise.
15706         * iconv/iconvconfig.c: Likewise.
15707         * iconv/strtab.c: Likewise.
15708         * locale/programs/locale.c: Likewise.
15709         * locale/programs/localedef.h: Likewise.
15710         * locale/programs/simple-hash.c: Likewise.
15711         * nscd/nscd.h: Likewise.
15712         * nss/makedb.c: Likewise.
15713         * sysdeps/generic/ldconfig.h: Likewise.
15715 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15717         * Versions.def: Add GLIBC_2.18.
15718         * include/link.h (struct link_map): New member l_tls_dtor_count.
15719         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15720         (__call_tls_dtors): Likewise.
15721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15722         __cxa_thread_atexit_impl.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15724         Likewise.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15726         Likewise.
15727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15728         Likewise.
15729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15733         Likewise.
15734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15735         Likewise.
15736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15738         Likewise.
15739         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15740         (tests): Add test case tst-tls-atexit.
15741         (modules-names): Add shared library for tst-tls-atexit.
15742         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15743         (GLIBC_PRIVATE): Add __call_tls_dtors.
15744         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15745         for libstdc++.
15746         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15747         * stdlib/tst-tls-atexit.c: New test case.
15748         * stdlib/tst-tls-atexit-lib.c: New test case.
15750         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15752         * elf/Versions (ld): Add _dl_find_dso_for_object.
15753         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15754         * elf/dl-open.c (_dl_find_dso_for_object): New function.
15755         (dl_open_worker): Use _dl_find_dso_for_object.
15756         * elf/dl-sym.c (do_sym): Likewise.
15757         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15759 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15761         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15762         Syntactic changes only.
15763         (_dl_runtime_profile): Do a tail-call to the resolved function.
15765 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
15767         [BZ #13550]
15768         * sysdeps/x86_64/bp-asm.h: Remove file.
15769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15770         <bp-sym.h> and <bp-asm.h>.
15771         (__clone): Do not use BP_SYM.
15772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15773         <bp-sym.h> and <bp-asm.h>.
15774         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15775         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15776         "bp-asm.h".
15777         (_setjmp): Do not use BP_SYM.
15778         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15779         "bp-asm.h".
15780         (setjmp): Do not use BP_SYM.
15781         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15782         libc_hidden_def.
15783         (mempcpy): Do not use BP_SYM in weak_alias.
15784         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15785         "bp-asm.h".
15786         (strchr): Do not use BP_SYM.
15787         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15788         "bp-asm.h".
15789         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15790         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15791         (_start): Do not use BP_SYM.
15792         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15793         "bp-asm.h".
15794         (strcat): Do not use BP_SYM.
15795         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15796         "bp-asm.h".
15797         (STRCMP): Do not use BP_SYM.
15798         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15799         "bp-asm.h".
15800         (STRCPY): Do not use BP_SYM.
15801         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15802         "bp-asm.h".
15803         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15804         "bp-asm.h".
15805         (FUNCTION): Do not use BP_SYM.
15806         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15807         weak_alias.
15808         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15810 2013-02-17  Andreas Jaeger  <aj@suse.de>
15812         * time/Versions: Sort entries.
15813         * string/Versions: Likewise.
15814         * resolv/Versions: Likewise.
15815         * posix/Versions: Likewise.
15816         * iconv/Versions: Likewise.
15817         * elf/Versions: Likewise.
15818         * wcsmbs/Versions: Likewise.
15820 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15822         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15823         loop termination condition.
15825         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15826         variable to calculate EZ.
15827         (__sqr): Likewise.
15829         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15830         the lower precision input.
15832 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #13550]
15835         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15836         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15837         (run-via-rtld-prefix): Do not handle %-bp tests.
15838         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15839         (all-object-suffixes): Remove .ob.
15840         (bppfx): Remove variable.
15841         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15842         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15843         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15844         [$(build-bounded) = yes] (libtype.ob): Likewise.
15845         * Makerules (elide-routines.ob): Remove variable.
15846         (do-tests-clean): Do not handle *-bp.out.
15847         (common-mostlyclean): Do not handle *-bp and *-bp.out.
15848         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15849         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15850         (tests): Do not include $(tests-bp.out).
15851         (xtests): Do not include $(xtests-bp.out).
15852         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15853         [$(build-bounded) = yes] ($(addprefix
15854         $(objpfx),$(binaries-bounded))): Remove rule.
15855         ($(objpfx)%-bp.out): Remove rule.
15856         * config.make.in (build-bounded): Remove variable.
15857         * crypt/Makefile [$(build-bounded) = yes]
15858         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15859         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15860         append to variable.
15861         [$(build-bounded) = yes] (install-lib): Likewise.
15862         [$(build-bounded) = yes] (generated): Likewise.
15863         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15864         Remove rule.
15865         * intl/Makefile [$(build-bounded) = yes]
15866         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15867         * math/Makefile [$(build-bounded) = yes]
15868         ($(tests:%=$(objpfx)%-bp): Likewise.
15869         * misc/Makefile [$(build-bounded) = yes]
15870         ($(objpfx)tst-tsearch-bp): Likewise.
15871         * nptl/Makeconfig (bounded-thread-library): Remove variable.
15872         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15873         Remove dependency.
15874         * string/Makefile (o-objects.ob): Remove variable.
15875         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15876         (CFLAGS-.ob): Remove variable.
15877         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15878         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15879         both definitions of variable.
15880         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15881         (ASFLAGS-.ob): Remove variable.
15883 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
15885         [BZ #13550]
15886         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15887         Remove __BOUNDED_POINTERS__ from condition.
15888         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15889         * string/bits/string2.h [!__NO_STRING_INLINES &&
15890         !__BOUNDED_POINTERS__]: Likewise.
15891         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15892         Likewise.
15893         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15894         Remove conditional code.
15895         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15896         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15897         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15898         condition.
15900         [BZ #13550]
15901         * csu/libc-start.c: Do not include <bp-sym.h>.
15902         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15903         * elf/dl-open.c: Do not include <bp-sym.h>.
15904         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15905         * math/fegetenv.c: Do not include <bp-sym.h>.
15906         (fegetenv): Do not use BP_SYM in versioned symbols.
15907         * nptl/sysdeps/pthread/bits/libc-lockP.h
15908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15909         <bp-sym.h>.
15910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15911         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15913         (__pthread_mutex_destroy): Likewise.
15914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15915         (__pthread_mutex_lock): Likewise.
15916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15917         (__pthread_mutex_trylock): Likewise.
15918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15919         (__pthread_mutex_unlock): Likewise.
15920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15921         (__pthread_mutexattr_init): Likewise.
15922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15923         (__pthread_mutexattr_destroy): Likewise.
15924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15925         (__pthread_mutexattr_settype): Likewise.
15926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15927         (__pthread_rwlock_init): Likewise.
15928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15929         (__pthread_rwlock_destroy): Likewise.
15930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15931         (__pthread_rwlock_rdlock): Likewise.
15932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15933         (__pthread_rwlock_tryrdlock): Likewise.
15934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15935         (__pthread_rwlock_wrlock): Likewise.
15936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15937         (__pthread_rwlock_trywrlock): Likewise.
15938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15939         (__pthread_rwlock_unlock): Likewise.
15940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15941         (__pthread_key_create): Likewise.
15942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15943         (__pthread_setspecific): Likewise.
15944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15945         (__pthread_getspecific): Likewise.
15946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15947         Likewise.
15948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15949         (_pthread_cleanup_push_defer): Likewise.
15950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15951         (_pthread_cleanup_pop_restore): Likewise.
15952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15953         (pthread_setcancelstate): Likewise.
15954         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15955         <bp-sym.h>.
15956         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15957         (memchr): Do not use BP_SYM in weak_alias.
15958         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15959         (fegetenv): Do not use BP_SYM in versioned symbols.
15960         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15961         (fesetenv): Do not use BP_SYM in versioned symbols.
15962         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15963         (feupdateenv): Do not use BP_SYM in versioned symbols.
15964         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15965         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15966         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15967         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15968         (open64): Do not use BP_SYM in weak_alias.
15969         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15970         (fegetenv): Do not use BP_SYM in versioned symbols.
15971         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15972         (fesetenv): Do not use BP_SYM in versioned symbols.
15973         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15974         (feupdateenv): Do not use BP_SYM in versioned symbols.
15975         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15976         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15977         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15978         (feraiseexcept): Do not use BP_SYM in versioned symbols.
15979         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15980         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15981         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15982         <bp-sym.h>.
15983         (__libc_start_main): Do not use BP_SYM.
15985 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15988         redundant return line.
15989         (norm): Likewise.
15990         (denorm): Likewise.
15991         (dbl_mp): Likewise.
15992         (sub_magnitudes): Likewise.
15993         (__add): Likewise.
15994         (__sub): Likewise.
15995         (__mul): Likewise.
15996         (__inv): Likewise.
15997         (__dvd): Likewise.
15998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15999         (norm): Likewise.
16000         (denorm): Likewise.
16001         (dbl_mp): Likewise.
16002         (sub_magnitudes): Likewise.
16003         (__add): Likewise.
16004         (__sub): Likewise.
16005         (__mul): Likewise.
16006         (__inv): Likewise.
16007         (__dvd): Likewise.
16009         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16010         instead of __mul.
16011         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16012         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16013         (cc32): Likewise.
16015         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16016         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16018         of __mul for squares.
16019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16020         function
16021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16022         Likewise.
16023         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16024         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16026 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16028         [BZ #13550]
16029         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16030         code.
16031         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16032         prototype or function definition.  Rename ubp_* variables and
16033         parameters.  Remove argv definitions conditional on
16034         [__BOUNDED_POINTERS__].
16035         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16036         * elf/dl-runtime.c (_dl_fixup): Likewise.
16037         * include/set-hooks.h (RUN_HOOK): Likewise.
16038         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16039         definition.
16040         * string/strcpy.c (strcpy): Do not use __unbounded.
16041         * sysdeps/generic/frame.h (struct layout): Likewise.
16042         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16043         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16044         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16045         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16046         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16047         (__backtrace): Likewise.
16048         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16049         use __ptrvalue.
16050         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16051         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16052         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16053         Likewise.
16054         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16055         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16056         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16057         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16058         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16059         Do not use __unbounded.
16060         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16061         Rename __unboundedrlimits parameter to rlimits in prototype.
16062         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16063         Do not use __unbounded.
16064         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16065         not use __ptrvalue.
16066         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16067         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16068         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16069         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16070         __ptrvalue or __unbounded.
16071         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16072         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16073         use __unbounded.
16074         (__new_msgctl): Do not use __ptrvalue.
16075         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16076         __unbounded.
16077         (__libc_msgrcv): Do not use __ptrvalue.
16078         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16079         startup_info): Do not use __unbounded.
16080         (__libc_start_main): Likewise.  Rename ubp_* variables and
16081         parameters.  Remove argv definitions conditional on
16082         [__BOUNDED_POINTERS__].
16083         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16084         __ptrvalue.
16085         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16086         use __unbounded.
16087         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16088         or __ptrvalue.
16089         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16090         use __unbounded.
16091         (__new_shmctl): Do not use __ptrvalue.
16092         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16093         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16094         Likewise.
16095         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16096         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16097         (__libc_sigaction): Likewise.
16098         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16099         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16100         Likewise.
16101         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16103 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16105         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16107         * string/mempcpy.c: Implement by calling memcpy.
16109 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16111         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16114         evaluation.
16116         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16117         values in the mantissa.
16119         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16120         minimize writes to Z.
16121         (sub_magnitudes): Simplify code a bit.
16123 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16125         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16126         from the message.  The linker prefixes all warnings with that already.
16128 2013-02-12  Andreas Schwab  <schwab@suse.de>
16130         [BZ #15078]
16131         * posix/regexec.c (extend_buffers): Add parameter min_len.
16132         (check_matching): Pass minimum needed length.
16133         (clean_state_log_if_needed): Likewise.
16134         (get_subexp): Likewise.
16135         * posix/Makefile (tests): Add bug-regex34.
16136         (bug-regex34-ENV): Define.
16137         * posix/bug-regex34.c: New file.
16139         [BZ #11561]
16140         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16141         elements compare against the byte sequence of it, not its name.
16142         * posix/Makefile (tests): Add bug-regex35.
16143         (bug-regex35-ENV): Define.
16144         * posix/bug-regex35.c: New file.
16146 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16148         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16149         comment.
16150         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16151         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16152         (CHECK_EOL): Add undef.
16154 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16156         * bits/stdlib-bsearch.h: New file.
16157         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16158         * stdlib/stdlib.h: Likewise.
16160 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16162         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16163         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16164         declaration.
16165         * manual/search.texi (Array Search Function): Add missing const in
16166         lfind prototype.
16167         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16168         declaration to use rlim_t.
16169         (Basic Scheduling Functions): Remove erroneous const from
16170         sched_getparam prototype.  Remove erroneous * from
16171         sched_get_priority_max and sched_get_priority_min prototypes.
16172         (Resource Usage): Fix summary @comment on vtimes to refer to
16173         sys/vtimes.h rather than vtimes.h.
16174         Add missing *s in vtimes prototype.
16175         (Limits on Resources): Fix ulimit prototype to return long int.
16176         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16177         prototypes to use long int rather than double.
16178         (BSD Random): Fix initstate and setstate to use char *, not void *.
16179         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16180         prototype to make second argument 'struct aiocb64 *const[]'.
16181         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16182         (Status of AIO Operations): Remove erroneous const in aio_return and
16183         aio_return64 prototypes.
16184         (Synchronizing I/O): Fix sync prototype to return void.
16185         * manual/startup.texi (Suboptions): Remove an erroneous const in
16186         getsubopt prototype.
16187         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16188         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16189         use size_t rather than int.
16190         (Scanning All Users): Likewise for getpwent_r.
16191         (Setting Groups): Add missing const to setgroups prototype.
16192         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16193         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16194         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16195         'const void *' rather than 'const char *'.
16196         (Host Address Functions): Likewise for inet_ntop.
16197         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16198         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16199         ssize_t for return value.
16200         (Sending Data): Likewise for send, sendto, sendmsg.
16201         (Socket Option Functions): Add a missing const in setsockopt prototype.
16202         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16203         use wchar_t for the argument.
16204         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16205         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16206         take no arguments.
16207         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16208         double/float/long double for second argument.
16209         Fix return types of significand, significandf, significandl.
16210         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16211         argument in fchmod prototype.
16212         (File Owner): Use uid_t and gid_t in fchown prototype.
16213         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16214         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16215         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16216         use 'const struct dirent **' as argument types to CMP function pointer
16217         argument.
16218         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16219         (File Times): Fix summary magic @comment for struct utimbuf and utime
16220         to refer to utime.h, not time.h.
16221         * manual/string.texi (Argz Functions): Add missing const in
16222         argz_extract and argz_next prototypes.
16223         (Finding Tokens in a String): Likewise for basename.
16224         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16225         (Copying and Concatenation): Fix typo in wmemmove prototype.
16226         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16227         (Signal Stack): Remove erroneous const in sigstack prototype.
16228         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16229         prototype.
16230         (Simple Calendar Time): Likewise for stime.
16231         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16232         prototype.
16233         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16234         say sys/sysctl.h instead.
16235         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16236         and vsyslog prototypes.
16238 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16240         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16241         Remove.
16243 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16245         * misc/sys/mman.h: Fix typo in mremap comment.
16247 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16249         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16250         the '\0' terminator.
16252 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #13550]
16255         * debug/segfault.c: Don't include <bp-checks.h>.
16256         * sysdeps/generic/bp-checks.h: Remove file.
16257         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16258         (__GETDENTS): Don't use CHECK_N.
16259         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16260         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16261         (__getgroups): Don't use CHECK_N.
16262         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16263         (setgroups): Don't use CHECK_N.
16264         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16265         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16266         (__libc_msgrcv): Don't use CHECK_N.
16267         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16268         (__libc_msgsnd): Don't use CHECK_N.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16270         <bp-checks.h>.
16271         (__libc_pread): Don't use CHECK_N.
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16273         include <bp-checks.h>.
16274         (__libc_pread64): Don't use CHECK_N.
16275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16276         include <bp-checks.h>.
16277         (__libc_pwrite): Don't use CHECK_N.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16279         include <bp-checks.h>.
16280         (__libc_pwrite64): Don't use CHECK_N.
16281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16282         <bp-checks.h>.
16283         (__libc_pread): Don't use CHECK_N.
16284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16285         include <bp-checks.h>.
16286         (__libc_pread64): Don't use CHECK_N.
16287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16288         include <bp-checks.h>.
16289         (__libc_pwrite): Don't use CHECK_N.
16290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16291         include <bp-checks.h>.
16292         (__libc_pwrite64): Don't use CHECK_N.
16293         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16294         (do_pread): Don't use CHECK_N.
16295         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16296         (do_pread64): Don't use CHECK_N.
16297         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16298         (do_pwrite): Don't use CHECK_N.
16299         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16300         (do_pwrite64): Don't use CHECK_N.
16301         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16302         (__libc_readv): Don't use CHECK_N.
16303         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16304         (semop): Don't use CHECK_N.
16305         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16306         <bp-checks.h>.
16307         (semtimedop): Don't use CHECK_N.
16308         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16309         (__libc_pread): Don't use CHECK_N.
16310         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16311         <bp-checks.h>.
16312         (__libc_pread64): Don't use CHECK_N.
16313         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16314         <bp-checks.h>.
16315         (__libc_pwrite): Don't use CHECK_N.
16316         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16317         <bp-checks.h>.
16318         (__libc_pwrite64): Don't use CHECK_N.
16319         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16320         <bp-checks.h>.
16321         (__libc_msgrcv): Don't use CHECK_N.
16322         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16323         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
16324         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16325         (__libc_writev): Don't use CHECK_N.
16327 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16329         * string/strcpy.c: Removed unused variable.
16331         * Makeconfig (+sysdep-includes): Define with := rather than =.
16332         Use an existing include/ subdir of each sysdeps dir before it.
16334 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16336         * nscd/connection.c (register_traced_file): Comment function.
16337         [HAVE_INOTIFY] (union __inev): Define.
16338         [HAVE_INOTIFY] (inotify_check_files): New function.
16339         [HAVE_INOTIFY] (clear_db_cache): Likewise.
16340         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16341         clear_db_cache.
16342         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16344 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16346         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
16347         loaded if not already and that a failure is permanent.
16349 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16351         [BZ #15006]
16352         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
16353         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
16355 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16357         [BZ #13550]
16358         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
16359         (CHECK_1_NULL_OK): Likewise.
16360         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
16361         (__fxstat): Do not use CHECK_1.
16362         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
16363         <bp-checks.h>.
16364         (___fxstat64): Do not use CHECK_1.
16365         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16366         <bp-checks.h>.
16367         (__fxstatat): Do not use CHECK_1.
16368         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16369         <bp-checks.h>.
16370         (__fxstatat64): Do not use CHECK_1.
16371         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
16372         <bp-checks.h>.
16373         (__fxstat): Do not use CHECK_1.
16374         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16375         <bp-checks.h>.
16376         (__fxstatat): Do not use CHECK_1.
16377         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16378         <bp-checks.h>.
16379         (__getresgid): Do not use CHECK_1.
16380         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16381         <bp-checks.h>.
16382         (__getresuid): Do not use CHECK_1.
16383         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
16384         <bp-checks.h>.
16385         (__lxstat): Do not use CHECK_1.
16386         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16387         <bp-checks.h>.
16388         (__old_msgctl): Do not use CHECK_1.
16389         (__new_msgctl): Likewise.
16390         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
16391         <bp-checks.h>.
16392         (__new_setrlimit): Do not use CHECK_1.
16393         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16394         <bp-checks.h>.
16395         (__old_shmctl): Do not use CHECK_1.
16396         (__new_shmctl): Likewise.
16397         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
16398         <bp-checks.h>.
16399         (__xstat): Do not use CHECK_1.
16400         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
16401         (__lxstat): Do not use CHECK_1.
16402         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
16403         <bp-checks.h>.
16404         (___lxstat64): Do not use CHECK_1.
16405         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
16406         (__old_msgctl): Do not use CHECK_1.
16407         (__new_msgctl): Likewise.
16408         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
16409         <bp-checks.h>.
16410         (__gettimeofday): Do not use CHECK_1.
16411         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
16412         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
16413         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
16414         <bp-checks.h>.
16415         (__gettimeofday): Do not use CHECK_1.
16416         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
16417         (__old_shmctl): Do not use CHECK_1_NULL_OK.
16418         (__new_shmctl): Do not use CHECK_1.
16419         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
16420         <bp-checks.h>.
16421         (do_sigtimedwait): Do not use CHECK_1.
16422         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
16423         <bp-checks.h>.
16424         (do_sigwaitinfo): Do not use CHECK_1.
16425         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
16426         <bp-checks.h>.
16427         (msgctl): Do not use CHECK_1.
16428         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
16429         <bp-checks.h>.
16430         (shmctl): Do not use CHECK_1.
16431         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
16432         (ustat): Do not use CHECK_1.
16433         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
16434         <bp-checks.h>.
16435         (__fxstat): Do not use CHECK_1.
16436         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16437         <bp-checks.h>.
16438         (__fxstatat): Do not use CHECK_1.
16439         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
16440         <bp-checks.h>.
16441         (__lxstat): Do not use CHECK_1.
16442         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
16443         <bp-checks.h>.
16444         (__xstat): Do not use CHECK_1.
16445         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
16446         (__xstat): Do not use CHECK_1.
16447         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
16448         (___xstat64): Do not use CHECK_1.
16450         [BZ #13550]
16451         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
16452         definitions.
16453         (CHECK_BOUNDS_HIGH): Likewise.
16454         * string/strcpy.c: Do not include <bp-checks.h>.
16455         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
16457 2013-02-07  Roland McGrath  <roland@hack.frob.com>
16459         * nscd/nscd-client.h (__nscd_drop_map_ref):
16460         Add __attribute__ ((unused)).
16461         * nis/nss-nisplus.h (niserr2nss): Likewise.
16463         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
16464         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
16466         * csu/libc-tls.c (init_static_tls, init_slotinfo):
16467         Remove inline keyword.
16468         * include/rounding-mode.h (round_away): Likewise.
16469         * libio/wfileops.c (adjust_wide_data): Likewise.
16470         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
16471         (__m128i_strloadu_tolower): Likewise.
16472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
16473         (__m128i_strloadu_tolower): Likewise.
16474         * time/mktime.c (ydhms_diff): Likewise.
16475         * locale/elem-hash.h (elem_hash): Likewise.
16476         * locale/setlocale.c (setdata): Likewise.
16477         * posix/regex_internal.h (re_string_char_size_at): Likewise.
16478         (re_string_wchar_at): Likewise.
16479         (bitset_not, bitset_merge, bitset_mask): Likewise.
16480         [!(__GNUC__ > 3)] (inline): Remove macro.
16481         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
16482         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
16483         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16484         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
16485         * string/memcmp.c (memcmp_bytes): Likewise.
16486         * locale/programs/locarchive.c (compute_hashval): Likewise.
16487         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
16488         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16489         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
16490         * nss/getent.c (print_rpc, print_protocols): Likewise.
16491         (print_passwd, print_group, print_aliases): Likewise.
16492         * nis/nss-nisplus.h (niserr2nss): Likewise.
16493         * nscd/connections.c (restart_p): Likewise.
16494         Change return type to bool.
16496 2013-02-05  Roland McGrath  <roland@hack.frob.com>
16498         * Makeconfig (all-Depend-files): Add existing
16499         $(sorted-subdirs:=/Depend) files.
16500         (all-subdirs): Remove nss.
16501         * sysdeps/unix/inet/Subdirs: Add it here instead.
16502         * hesiod/Depend: New file.
16504         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
16505         instead of calling alloca.
16507         * io/lseek.c (__lseek): Rename to __libc_lseek.
16508         Define __lseek as an alias.
16510         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
16512 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
16514         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
16515         else clause and remove check for non-standard endianness.
16517 2013-02-04  David S. Miller  <davem@davemloft.net>
16519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16521 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
16523         [BZ #13550]
16524         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
16525         (__ubp_memchr): Remove prototype.
16526         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
16527         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16528         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
16529         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
16530         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
16531         Remove alias.
16532         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
16533         (__ubp_memchr): Likewise.
16534         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
16535         (__ubp_memchr): Likewise.
16536         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
16537         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
16538         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
16539         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
16540         CHECK_STRING.
16541         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16542         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
16543         (__getcwd): Do not use CHECK_STRING.
16544         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16545         <bp-checks.h>.
16546         (__real_chown): Do not use CHECK_STRING.
16547         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
16548         <bp-checks.h>.
16549         (fchownat): Do not use CHECK_STRING.
16550         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
16551         CHECK_STRING.
16552         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16553         <bp-checks.h>.
16554         (__lchown): Do not use CHECK_STRING.
16555         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16556         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16557         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16558         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16560         include <bp-checks.h>.
16561         (truncate64): Do not use CHECK_STRING.
16562         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16563         <bp-checks.h>.
16564         (__real_chown): Do not use CHECK_STRING.
16565         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16566         <bp-checks.h>.
16567         (__lchown): Do not use CHECK_STRING.
16568         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16569         <bp-checks.h>.
16570         (__chown): Do not use CHECK_STRING.
16571         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
16572         <bp-checks.h>.
16573         (truncate64): Do not use CHECK_STRING.
16574         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
16575         Likewise.
16576         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
16577         (__xmknod): Do not use CHECK_STRING.
16578         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16579         <bp-checks.h>.
16580         (__xmknodat): Do not use CHECK_STRING.
16581         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16582         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16584 2013-02-04  Andreas Schwab  <schwab@suse.de>
16586         [BZ #14142]
16587         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
16588         * include/netdb.h: Likewise for h_errno.
16589         * elf/tst-stackguard1.c: Include <tls.h>.
16591 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
16593         * elf/link.h (struct link_map): Extend the l_addr comment.
16594         * include/link.h (struct link_map): Likewise.
16596 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
16598         [BZ #13550]
16599         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
16600         (BOUNDED_1): Remove macro.
16601         * debug/backtrace.c: Don't include <bp-checks.h>.
16602         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
16603         (__backtrace): Likewise.
16604         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
16605         <bp-checks.h>.
16606         (__backtrace): Don't use BOUNDED_1.
16607         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
16608         <bp-checks.h>.
16609         (__backtrace): Don't use BOUNDED_1.
16610         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16611         (__backtrace): Don't use BOUNDED_1.
16612         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
16613         (shmat): Don't use BOUNDED_N.
16615 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
16617         [BZ #13550]
16618         * sysdeps/generic/bp-start.h: Remove file.
16619         * csu/libc-start.c: Don't include <bp-start.h>.
16620         (LIBC_START_MAIN): Set up __environ directly instead of using
16621         INIT_ARGV_and_ENVIRON.
16622         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
16623         <bp-start.h>.
16625         [BZ #13550]
16626         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
16627         definitions.
16628         (CHECK_FCNTL): Likewise.
16629         (CHECK_N_PAGES): Likewise.
16631         [BZ #13550]
16632         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16633         definitions.
16634         (CHECK_SIGSET_NULL_OK): Likewise.
16635         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16636         <bp-checks.h>.
16637         (sigpending): Don't use CHECK_SIGSET.
16638         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16639         <bp-checks.h>.
16640         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16641         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16642         <bp-checks.h>.
16643         (do_sigsuspend): Don't use CHECK_SIGSET.
16644         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16645         use CHECK_SIGSET.
16646         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16647         (do_sigwait): Don't use CHECK_SIGSET.
16648         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16649         use CHECK_SIGSET.
16650         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16651         include <bp-checks.h>.
16652         (sigpending): Don't use CHECK_SIGSET.
16653         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16654         include <bp-checks.h>.
16655         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16656         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16657         <bp-checks.h>.
16658         (sigpending): Don't use CHECK_SIGSET.
16659         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16660         <bp-checks.h>.
16661         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16663         [BZ #13550]
16664         * sysdeps/generic/bp-semctl.h: Remove file.
16665         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16666         <bp-checks.h> and <bp-semctl.h>.
16667         (__old_semctl): Don't use CHECK_SEMCTL.
16668         (__new_semctl): Likewise.
16669         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16670         and <bp-semctl.h>.
16671         (__old_semctl): Don't use CHECK_SEMCTL.
16672         (__new_semctl): Likewise.
16673         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16674         <bp-checks.h> and <bp-semctl.h>.
16675         (__old_semctl): Don't use CHECK_SEMCTL.
16676         (__new_semctl): Likewise.
16677         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16678         <bp-checks.h> and <bp-semctl.h>.
16679         (semctl): Don't use CHECK_SEMCTL.
16681         [BZ #13550]
16682         * Makerules (elide-bp-thunks): Remove variable.
16683         (elide-routines.oS): Don't use $(elide-bp-thunks).
16684         (elide-routines.os): Likewise.
16685         (elide-routines.o): Likewise.
16686         (elide-routines.op): Likewise.
16687         (elide-routines.og): Likewise.
16688         (objects): Don't use $(bp-thunks).
16689         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16690         include.
16691         (common-generated): Do not add s-proto-bp.d.
16692         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16693         (int): Likewise.
16694         (typ): Likewise.
16695         Do not generate makefile rules for bounded-pointer thunks.
16696         * sysdeps/generic/bp-thunks.h: Remove file.
16697         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16698         * sysdeps/unix/s-proto-bp.S: Likewise.
16700         [BZ #15062]
16701         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16702         parts of result separately when argument is not close to line from
16703         -i to i and one part of argument is small.
16704         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16705         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16706         * math/libm-test.inc (cacos_test): Add more tests.
16707         (casin_test): Likewise.
16708         (casinh_test): Likewise.
16709         * sysdeps/i386/fpu/libm-test-ulps: Update.
16710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16712 2013-01-31  David S. Miller  <davem@davemloft.net>
16714         * po/de.po: Update from translation team.
16716 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
16718         * time/tzfile.c: Include stdint.h for SIZE_MAX.
16720 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
16722         * configure.in (_AC_PROG_CC_C89): New definition.
16723         * configure: Regenerate.
16725         * configure.in (AC_PROG_CPP): New definition.
16726         * configure: Regenerate.
16728 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16730         * debug/tst-backtrace.h: New file.
16731         * debug/tst-backtrace2.c: Include tst-backtrace.h.
16732         (ret): Remove variable.
16733         (x): Likewise.
16734         (FAIL): Remove macro.
16735         (NO_INLINE): Likewise.
16736         (fn1): Use match function instead of strstr.
16737         * debug/tst-backtrace3.c: Include tst-backtrace.h.
16738         (ret): Remove variable.
16739         (x): Likewise.
16740         (FAIL): Remove macro.
16741         (NO_INLINE): Likewise.
16742         (fn): Use match function instead of strstr.
16743         * debug/tst-backtrace4.c: Include tst-backtrace.h.
16744         (ret): Remove variable.
16745         (x): Likewise.
16746         (FAIL): Remove macro.
16747         (NO_INLINE): Likewise.
16748         (handle_signal): Use match function instead of strstr.
16749         * debug/tst-backtrace5.c: Include tst-backtrace.h.
16750         (ret): Remove variable.
16751         (x): Likewise.
16752         (FAIL): Remove macro.
16753         (NO_INLINE): Likewise.
16754         (handle_signal): Use match function instead of strstr.
16756 2013-01-23  Roland McGrath  <roland@hack.frob.com>
16758         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16760 2013-01-23  David S. Miller  <davem@davemloft.net>
16762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16763         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16764         argument of CAS if possible.
16765         * sysdeps/sparc/sparc64/bits/atomic.h
16766         (__arch_compare_and_exchange_val_32_acq): Likewise.
16767         (__arch_compare_and_exchange_val_64_acq): Likewise.
16769 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
16771         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16772         * sysdeps/posix/ulimit.c: ... this.
16773         Include <limits.h>.
16774         * sysdeps/unix/bsd/ulimit.c: Remove file.
16776 2013-01-23  Adam Conrad  <adconrad@0c3.net>
16778         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16779         (LDFLAGS-tst-array5): Likewise.
16781 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #15036]
16784         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16785         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16786         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16787         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16789 2013-01-21  David S. Miller  <davem@davemloft.net>
16791         * sysdeps/sparc/backtrace.c: New file.
16792         * sysdeps/sparc/sparc32/backtrace.h: New file.
16793         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16794         * sysdeps/sparc/sparc64/backtrace.h: New file.
16795         * sysdeps/sparc/sparc64/backtrace.c: Delete.
16796         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16797         -funwind-tables.
16799 2013-01-21  Andreas Schwab  <schwab@suse.de>
16801         [BZ #15020]
16802         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16803         closed its stdout.
16805 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
16807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16808         "mpa2.h".
16809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16811 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
16812             Mark Mitchell  <mark@codesourcery.com>
16813             Tom de Vries  <tom@codesourcery.com>
16814             Paul Pluzhnikov  <ppluzhnikov@google.com>
16816         * debug/tst-backtrace2.c: New file.
16817         * debug/tst-backtrace3.c: Likewise.
16818         * debug/tst-backtrace4.c: Likewise.
16819         * debug/tst-backtrace5.c: Likewise.
16820         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16821         (CFLAGS-tst-backtrace3.c): Likewise.
16822         (CFLAGS-tst-backtrace4.c): Likewise.
16823         (CFLAGS-tst-backtrace5.c): Likewise.
16824         (LDFLAGS-tst-backtrace2): Likewise.
16825         (LDFLAGS-tst-backtrace3): Likewise.
16826         (LDFLAGS-tst-backtrace4): Likewise.
16827         (LDFLAGS-tst-backtrace5): Likewise.
16828         (tests): Add new tests tst-backtrace2, tst-backtrace3,
16829         tst-backtrace4 and tst-backtrace5.
16831 2013-01-18  Anton Blanchard  <anton@samba.org>
16832             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16834         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16835         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16836         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16837         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16839         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16840         "+r" and remove output regs list as redundant.  Add explicit inline
16841         asm to specify register of return val to work around compiler codegen
16842         bug.  Remove (int) cast on return value.  Add return type parameter to
16843         use in macro so that this macro does not truncate return value for
16844         64-bit values.
16845         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16846         pass to INTERNAL_VSYSCALL_NCS.
16847         (INLINE_VSYSCALL): Add 'long int' as return type to
16848         INTERNAL_VSYSCALL_NCS macro invocation.
16849         (INTERNAL_VSYSCALL): Add 'long int' as return type to
16850         INTERNAL_VSYSCALL_NCS macro invocation.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16853 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16855         [BZ #14496]
16856         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16857         Fix application of SIMD FP exception mask.
16859         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16860         mp_no from a power of two.
16861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16862         __mpexp_twomm1.  Use __pow_mp.
16864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16865         multiplication.
16867 2013-01-17  David S. Miller  <davem@davemloft.net>
16869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16871 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16873         [BZ #15023]
16874         * include/complex.h: Condition contents on [!_COMPLEX_H].
16875         (__kernel_casinhf): New prototype.
16876         (__kernel_casinh): Likewise.
16877         (__kernel_casinhl): Likewise.
16878         * math/Makefile (libm_calls): Add k_casinh.
16879         * math/k_casinh.c: New file.
16880         * math/k_casinhf.c: Likewise.
16881         * math/k_casinhl.c: Likewise.
16882         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16883         finite nonzero arguments.
16884         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16885         finite nonzero arguments.
16886         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16887         finite nonzero arguments.
16888         * math/s_casinh.c: Do not include <float.h>.
16889         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16890         * math/s_casinhf.c: Do not include <float.h>.
16891         (__casinhf): Move code for finite nonzero arguments to
16892         k_casinhf.c.
16893         * math/s_casinhl.c: Do not include <float.h>.
16894         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16895         redefine.
16896         (__casinhl): Move code for finite nonzero arguments to
16897         k_casinhl.c.
16898         * math/libm-test.inc (cacos_test): Add more tests.
16899         * sysdeps/i386/fpu/libm-test-ulps: Update.
16900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
16904         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16905         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16906         [!HAVE_MREMAP]: Remove [defined linux] case.
16907         * malloc/arena.c: Do not include <malloc-sysdep.h>.
16909 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16911         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16913 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
16915         * elf/elf.h (R_386_SIZE32): New relocation.
16916         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16917         R_386_SIZE32.
16918         (elf_machine_rela): Likewise.
16919         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16920         R_X86_64_SIZE64 and R_X86_64_SIZE32.
16922 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16924         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16925         (FP_FAST_FMA): Do not define.
16926         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16927         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16928         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16929         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16930         !_SOFT_FLOAT]: Likewise.
16931         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16932         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16933         value.
16934         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16935         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16936         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16937         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16938         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16939         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16940         file.
16942 2013-01-16  Andreas Schwab  <schwab@suse.de>
16944         [BZ #14327]
16945         * include/stdlib.h (__mktemp): Add declaration.
16946         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16947         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16949 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16951         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16952         definitions.
16953         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16954         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16955         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16956         definitions here.
16957         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16958         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16959         definitions.
16960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16961         and ONE.
16962         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16963         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16964         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16965         definitions.
16966         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16967         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16968         definitions.
16969         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16971         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16973 2013-01-15  David S. Miller  <davem@davemloft.net>
16975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16976         trunc{,f} to libm-sysdep_routes.
16977         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16979         file.
16980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16982         file.
16983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16984         file.
16985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16987         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16988         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16989         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16990         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16991         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16992         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16995         nearbyint{,f} to libm-sysdep_routes.
16996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16998         New file.
16999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17000         file.
17001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17002         New file.
17003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17004         file.
17005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17007         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17008         file.
17009         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17010         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17011         file.
17012         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17013         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17014         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17016         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17017         libc_feholdexcept and libc_fesetenv.
17019 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17021         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17023 2013-01-14  David S. Miller  <davem@davemloft.net>
17025         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17026         (SPARC_ASM_VIS2_IFUNC): Likewise.
17027         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17029         use of 'siam' instruction.
17030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17031         Likewise.
17032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17033         Likewise.
17034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17035         Likewise.
17036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17041         file.
17042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17043         file.
17044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17045         file.
17046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17047         file.
17048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17053         new VIS2 routines.
17054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17057         Likewise.
17058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17063         routines to libm-sysdep_routines.
17064         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17067         fdim/fdimf to libm-sysdep_routines.
17068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17069         file.
17070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17072         file.
17073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17076         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17077         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17078         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17079         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17081 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17083         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17084         to optimize copies.
17086         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17091         local variable MPTWO.
17092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17093         Likewise.
17095 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17097         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17098         GLOB_NOESCAPE.
17100 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17102         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17104 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17106         * manual/pattern.texi (glob_t): Document gl_flags.
17107         (glob64_t): Likewise.
17109 2013-01-11  David S. Miller  <davem@davemloft.net>
17111         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17112         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17113         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17114         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17115         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17116         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17117         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17118         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17119         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17120         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17121         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17122         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17123         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17125         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17126         sparc V9 rather than using V8 code.
17127         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17128         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17130         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17131         Move to...
17132         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17133         Here.
17135 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17137         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17138         not in the main loop.
17139         * configure: Regenerated.
17141 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17143         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17144         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17145         to just #else.
17146         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17147         [!__GLIBC_HAVE_LONG_LONG] case.
17148         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17149         condition to just #else.
17150         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17151         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17152         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17153         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17154         unconditional.
17155         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17156         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17157         #elif condition to just #else.
17158         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17159         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17160         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17161         #elif condition to just #else.
17163 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17165         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17166         (EF_MIPS_ARCH_64): Fix value.
17167         (EF_MIPS_ARCH_32R2): New.
17168         (EF_MIPS_ARCH_64R2): New.
17170 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17172         * Makeconfig (+link-pie-before-libc): New.
17173         (+link-pie-after-libc): Likewise.
17174         (+link-pie-tests): Likewise.
17175         (+link-pie): Rewritten.
17176         (link-before-libc): Remove $(config-LDFLAGS).
17177         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17178         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17179         (config-LDFLAGS): Renamed to ...
17180         (rtld-LDFLAGS): This.
17181         (rtld-tests-LDFLAGS): New macro.
17182         (link-libc-rpath-link): Likewise.
17183         (link-libc-tests-rpath-link): Likewise.
17184         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17185         (link-libc): Prepand $(link-libc-rpath-link).
17186         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17187         (test-program-prefix): New macro.
17188         (test-via-rtld-prefix): Likewise.
17189         (test-program-cmd): Likewise.
17190         (host-test-program-cmd): Likewise.
17191         * Makefile ($(common-objpfx)testrun.sh): Replace
17192         $(run-program-prefix) with $(test-program-prefix).
17193         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17194         $(rtld-LDFLAGS).
17195         ($(common-objpfx)shlib.lds): Likewise.
17196         (build-module-helper): Likewise.
17197         ($(common-objpfx)format.lds): Likewise.
17198         * Rules (binaries-pie-tests): New.
17199         (binaries-pie-notests): Likewise.
17200         (binaries-pie): Rewritten.
17201         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17202         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17203         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17204         (make-test-out): Replace $(host-built-program-cmd) with
17205         $(host-test-program-cmd).
17206         * config.make.in (build-hardcoded-path-in-tests): New variable.
17207         * configure.in (--enable-hardcoded-path-in-tests): New configure
17208         option.
17209         (hardcoded_path_in_tests): New AC_SUBST.
17210         * configure: Regenerated.
17211         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17212         $(built-program-cmd) with $(test-program-cmd).
17213         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17214         (test_program_cmd): This.
17215         * elf/Makefile ($(objpfx)order.out): Run test with
17216         $(test-program-prefix).
17217         ($(objpfx)order2.out): Likewise.
17218         ($(objpfx)tst-initorder.out): Likewise.
17219         ($(objpfx)tst-initorder2.out): Likewise.
17220         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17221         $(test-program-cmd).
17222         ($(objpfx)tst-array1-static.out): Likewise.
17223         ($(objpfx)tst-array2.out): Likewise.
17224         ($(objpfx)tst-array3.out): Likewise.
17225         ($(objpfx)tst-array4.out): Likewise.
17226         ($(objpfx)tst-array5.out): Likewise.
17227         ($(objpfx)tst-array5-static.out): Likewise.
17228         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17229         $(test-program-cmd).
17230         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17231         $(run-program-prefix) with $(test-program-prefix).
17232         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17233         (test_program_prefix): This.
17234         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17235         $(run-program-prefix) with $(test-program-prefix).
17236         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17237         (test_program_prefix): This.
17238         * iconvdata/tst-tables.sh: Likewise.
17239         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17240         $(run-program-prefix) with $(test-program-prefix).
17241         ($(objpfx)tst-translit.out): Likewise.
17242         ($(objpfx)tst-gettext2.out): Likewise.
17243         ($(objpfx)tst-gettext4.out): Likewise.
17244         ($(objpfx)tst-gettext6.out): Likewise.
17245         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17246         (test_program_prefix): This.
17247         * intl/tst-gettext2.sh: Likewise.
17248         * intl/tst-gettext4.sh  Likewise.
17249         * intl/tst-gettext6.sh: Likewise.
17250         * intl/tst-translit.sh: Likewise.
17251         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17252         with $(test-program-cmd).
17253         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17254         $(run-program-prefix) with $(test-program-prefix).
17255         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17256         (test_program_prefix): This.
17257         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17258         $(run-program-prefix) with $(test-program-prefix).
17259         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17260         (test_program_prefix): This.
17261         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17262         * posix/Makefile ($(objpfx)globtest.out): Replace
17263         $(run-via-rtld-prefix) and $(test-wrapper) with
17264         $(test-program-prefix) and $(test-via-rtld-prefix).
17265         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17266         $(test-program-prefix).
17267         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17268         $(host-test-program-cmd).
17269         (tst-spawn-ARGS): Likewise.
17270         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17271         $(test-program-prefix).
17272         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17273         (test_via_rtld_prefix): This.
17274         (test_wrapper): Renamed to ...
17275         (test_program_prefix): This.
17276         (run_program_prefix): Replaced by test_program_prefix.
17277         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17278         (test_program_prefix): This.
17279         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17280         with $(host-test-program-cmd).
17281         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17282         $(run-program-prefix) with $(test-program-prefix).
17283         ($(objpfx)tst-printf.out): Likewise.
17284         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17285         $(test-program-cmd).
17286         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17287         (test_program_prefix): This.
17288         * stdio-common/tst-unbputc.sh: Likewise.
17289         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17290         $(run-program-prefix) with $(test-program-prefix).
17291         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17292         (test_program_prefix): This.
17293         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17294         $(built-program-cmd) with $(test-program-cmd).
17296 2013-01-11  Andreas Jaeger  <aj@suse.de>
17298         [BZ #15003]
17299         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17300         value. Sync with Linux 3.7.
17302 2013-01-10  David S. Miller  <davem@davemloft.net>
17304         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17305         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17306         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17308 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17310         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17311         never set.
17312         * configure: Regenerated.
17314 2013-01-10  David S. Miller  <davem@davemloft.net>
17316         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17317         sparc V9 rather than using V8 code.
17318         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17319         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17321 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17323         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17324         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17325         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17326         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17327         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17328         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17329         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17330         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17331         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17332         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17333         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17334         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17335         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17336         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17337         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17338         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17339         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17340         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17341         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17342         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17343         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17344         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
17345         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
17346         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
17347         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
17348         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
17349         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
17351 2013-01-10  David S. Miller  <davem@davemloft.net>
17353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17355 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17357         * posix/Makefile (tests-static): New variable.
17358         (tests): Add $(tests-static).
17359         (tst-exec-static-ARGS): New variable.
17360         (tst-spawn-static-ARGS): Likewise.
17361         * posix/tst-exec-static.c: New file.
17362         * posix/tst-spawn-static.c: Likewise.
17363         * posix/tst-exec.c: Support run directly.
17364         * posix/tst-spawn.c: Likewise.
17366 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
17368         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
17369         long.
17370         * math/bits/mathcalls.h (llrint): Likewise.
17371         (llround): Likewise.
17372         * stdlib/stdlib.h (struct drand48_data): Likewise.
17373         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
17374         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
17375         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
17376         Likewise.
17377         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
17378         Likewise.
17379         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
17380         (elf_greg_t): Likewise.
17381         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
17382         (__jmp_buf): Likewise.
17383         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
17384         definitions.
17385         (llrint): Likewise, for all definitions.
17386         (llrintl): Likewise.
17388         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
17389         Remove [__GNUC__] condition.
17390         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
17391         condition to just [__USE_ISOC99].
17392         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
17394 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
17396         [BZ #14200]
17397         * sysdeps/unix/sysv/linux/x86/bits/environments.h
17398         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
17399         defined.
17400         (_POSIX_V6_ILP32_OFF32): Likewise.
17401         (_XBS5_ILP32_OFF32): Likewise.
17402         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
17403         (__ILP32_OFFBIG_LDFLAGS): Likewise.
17405 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17407         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
17409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
17410         doubles __mpexp_twomm1.  Adjust usage.
17411         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
17412         Remove.
17414 2013-01-10  Andreas Schwab  <schwab@suse.de>
17416         [BZ #14964]
17417         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
17418         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
17420 2013-01-09  David S. Miller  <davem@davemloft.net>
17422         [BZ #15003]
17423         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
17424         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
17425         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
17426         TCP_FASTOPEN): Define.
17427         (tcp_repair_opt): New structure.
17428         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
17429         enum values.
17430         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
17431         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
17432         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
17433         (tcp_cookie_transactions): New structure.
17435 2013-01-09  Anton Blanchard  <anton@samba.org>
17437         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
17438         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
17439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
17440         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17442 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
17444         * include/features.h (__USE_ANSI): Remove.
17446 2013-01-09  Roland McGrath  <roland@hack.frob.com>
17448         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
17450         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
17452 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17454         * sysdeps/s390/fpu/libm-test-ulps: Update.
17456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17458         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
17459         (__acr): Likewise.
17460         (__cpy): Likewise.
17461         (norm): Likewise.
17462         (denorm): Likewise.
17463         (__mp_dbl): Likewise.
17464         (__dbl_mp): Likewise.
17465         (add_magnitudes): Likewise.
17466         (sub_magnitudes): Likewise.
17467         (__add): Likewise.
17468         (__sub): Likewise.
17469         (__mul): Likewise.
17470         (__inv): Likewise.
17471         (__dvd): Likewise.
17472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
17473         (__acr): Likewise.
17474         (__cpy): Likewise.
17475         (norm): Likewise.
17476         (denorm): Likewise.
17477         (__mp_dbl): Likewise.
17478         (__dbl_mp): Likewise.
17479         (add_magnitudes): Likewise.
17480         (sub_magnitudes): Likewise.
17481         (__add): Likewise.
17482         (__sub): Likewise.
17483         (__mul): Likewise.
17484         (__inv): Likewise.
17485         (__dvd): Likewise.
17486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
17487         (__acr): Likewise.
17488         (__cpy): Likewise.
17489         (norm): Likewise.
17490         (denorm): Likewise.
17491         (__mp_dbl): Likewise.
17492         (__dbl_mp): Likewise.
17493         (add_magnitudes): Likewise.
17494         (sub_magnitudes): Likewise.
17495         (__add): Likewise.
17496         (__sub): Likewise.
17497         (__mul): Likewise.
17498         (__inv): Likewise.
17499         (__dvd): Likewise.
17501 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
17503         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
17504         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
17505         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
17506         2 && __USE_EXTERN_INLINES]: Likewise.
17508 2013-01-08  Andreas Jaeger  <aj@suse.de>
17510         [BZ# 14985]
17511         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
17512         Remove.
17513         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17514         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
17516 2013-01-07  Anton Blanchard  <anton@samba.org>
17518         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
17519         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17520         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
17521         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17522         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17523         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17524         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
17525         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17527         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17528         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17529         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17530         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17531         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17532         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17533         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17534         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17535         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17536         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17537         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17538         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17539         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
17540         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17541         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17542         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
17543         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17544         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17545         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
17547         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17548         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17550         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17551         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17552         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17553         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17556         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
17557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17558         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
17559         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17560         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17562 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
17564         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
17565         (__MALLOC_PMT): Likewise.
17566         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
17567         [__GNUC__], only on [_LIBC].
17568         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17569         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
17570         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
17571         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
17572         forward declaration.
17573         (realloc_hook_ini): Likewise.
17574         (memalign_hook_ini): Likewise.
17575         (__libc_memalign): Do not use __MALLOC_PMT in variable
17576         declaration.
17577         (__libc_valloc): Likewise.
17578         (__libc_pvalloc): Likewise.
17579         (__libc_calloc): Likewise.
17580         (__posix_memalign): Likewise.
17582         [BZ #14996]
17583         * math/s_casinh.c: Include <float.h>.
17584         (__casinh): Do not do computation with squaring and square root
17585         for large arguments.
17586         * math/s_casinhf.c: Include <float.h>.
17587         (__casinhf): Do not do computation with squaring and square root
17588         for large arguments.
17589         * math/s_casinhl.c: Include <float.h>.
17590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
17591         (__casinhl): Do not do computation with squaring and square root
17592         for large arguments.
17593         * math/libm-test.inc (casin_test): Add more tests.
17594         (casinh_test): Likewise.
17595         * sysdeps/i386/fpu/libm-test-ulps: Update.
17596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17598 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
17600         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
17601         (__x86_64_raw_data_cache_size): Likewise.
17602         (__x86_64_data_cache_size_half): Likewise.
17603         (__x86_64_raw_data_cache_size_half): Likewise.
17604         (__x86_64_shared_cache_size): Likewise.
17605         (__x86_64_raw_shared_cache_size): Likewise.
17606         (__x86_64_shared_cache_size_half): Likewise.
17607         (__x86_64_raw_shared_cache_size_half): Likewise.
17608         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
17609         to ...
17610         (__x86_data_cache_size): This.
17611         (__x86_64_raw_data_cache_size): Renamed to ...
17612         (__x86_raw_data_cache_size): This.
17613         (__x86_64_data_cache_size_half): Renamed to ...
17614         (__x86_data_cache_size_half): This.
17615         (__x86_64_raw_data_cache_size_half): Renamed to ...
17616         (__x86_raw_data_cache_size_half): This.
17617         (__x86_64_shared_cache_size): Renamed to ...
17618         (__x86_shared_cache_size): This.
17619         (__x86_64_raw_shared_cache_size): Renamed to ...
17620         (__x86_raw_shared_cache_size): This.
17621         (__x86_64_shared_cache_size_half): Renamed to ...
17622         (__x86_shared_cache_size_half): This.
17623         (__x86_64_raw_shared_cache_size_half): Renamed to ...
17624         (__x86_raw_shared_cache_size_half): This.
17625         * sysdeps/x86_64/memcpy.S: Updated.
17626         * sysdeps/x86_64/memset.S: Likewise.
17627         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17628         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17629         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17631 2013-01-04  David S. Miller  <davem@davemloft.net>
17633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17635 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
17637         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17638         1 to avoid redefinition warning.
17639         (__USE_GNU): Don't define.
17640         (init_signaling_nan): Protoize.
17642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17644 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17646         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17648         (__cpymn): Likewise.
17649         (norm): Remove commented code.
17650         (denorm): Likewise.
17651         (__mp_dbl): Likewise.
17652         (__inv): Likewise.
17653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17654         (__cpymn): Likewise.
17655         (norm): Remove commented code.
17656         (denorm): Likewise.
17657         (__mp_dbl): Likewise.
17658         (__inv): Likewise.
17660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17661         mp_no value for 1.0 and 2.0.
17662         (norm): Use RADIXI instead of radixi.d.
17663         (denorm): Likewise.
17664         (__mul): Use 0.0 instead of zero.d.
17665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17666         mp_no value for 1.0 and 2.0.
17667         (norm): Use RADIXI instead of radixi.d.
17668         (denorm): Likewise.
17669         (__mul): Use 0.0 instead of zero.d.
17671 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
17673         [BZ #14994]
17674         * math/s_casinh.c (__casinh): Reduce finite argument to first
17675         quadrant then set signs of results at the end.
17676         * math/s_casinhf.c (__casinhf): Likewise.
17677         * math/s_casinhl.c (__casinhl): Likewise.
17678         * math/libm-test.inc (casin_test): Add more tests.
17679         (casinh_test): Likewise.
17680         * sysdeps/i386/fpu/libm-test-ulps: Update.
17681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17683 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17685         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17687         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17689         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17690         declarations.
17691         (denorm): Likewise.
17692         (__mp_dbl): Likewise.
17693         (__inv): Likewise.
17695         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17696         and adjust the header comment.
17698         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17699         variable name from declaration.
17701 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
17703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17704         Initialize COMMON_CPUID_INDEX_7 element.
17705         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17706         (CPUID_RTM): Likewise.
17707         (HAS_RTM): Likewise.
17708         (COMMON_CPUID_INDEX_7): New enum.
17710 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
17712         [BZ #14981]
17713         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17714         size is zero, record memory as freed.
17716 2013-01-03  Andreas Jaeger  <aj@suse.de>
17718         * po/ia.po: Add new Interlingua translation.
17720 2012-01-03  Allan McRae  <allan@archlinux.org>
17722         * locale/programs/localedef.c: Fix description of '--posix' flag.
17724 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
17726         * NEWS: Update dates in second copyright notice.
17727         * README: Update copyright dates in example.
17728         * manual/libc.texinfo: Update copyright dates.
17729         * scripts/test-installation.pl: Update copyright date in --version
17730         output.
17732         * hurd/ctty-input.c: Fix copyright notice formatting.
17733         * hurd/ctty-output.c: Likewise.
17734         * hurd/dtable.c: Likewise.
17735         * hurd/hurd-raise.c: Likewise.
17736         * hurd/hurdprio.c: Likewise.
17737         * hurd/msgportdemux.c: Likewise.
17738         * misc/sys/file.h: Likewise.
17739         * misc/sys/ioctl.h: Likewise.
17740         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17741         * sysdeps/mach/hurd/chdir.c: Likewise.
17742         * sysdeps/mach/hurd/fchdir.c: Likewise.
17743         * sysdeps/mach/hurd/rename.c: Likewise.
17744         * sysdeps/mach/hurd/rmdir.c: Likewise.
17745         * sysdeps/mach/hurd/seekdir.c: Likewise.
17746         * sysdeps/mach/hurd/setsid.c: Likewise.
17747         * sysdeps/posix/wait3.c: Likewise.
17749         * All files with FSF copyright notices: Update copyright dates
17750         using scripts/update-copyrights.
17751         * intl/plural.c: Regenerated.
17752         * locale/programs/charmap-kw.h: Likewise.
17753         * locale/programs/locfile-kw.h: Likewise.
17755 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17757         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17758         four values.
17760         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17761         calculation loop and add branch prediction.
17763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17764         check access beyond bounds of m1np.
17766         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17767         MPTWO.
17768         (__inv): Remove local variable MPTWO to use the global
17769         constant.
17770         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17772         variable MPTWO.
17773         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17774         MP3HALFS static const.
17776 2013-01-01  David S. Miller  <davem@davemloft.net>
17778         * po/ca.po: Update from translation team.
17780 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
17782         * scripts/update-copyrights: New file.
17783         * Makeconfig: Reformat copyright notice.
17784         * ctype/ctype.h: Likewise.
17785         * debug/swprintf_chk.c: Likewise.
17786         * elf/dl-cache.c: Likewise.
17787         * elf/dl-debug.c: Likewise.
17788         * elf/dl-object.c: Likewise.
17789         * grp/initgroups.c: Likewise.
17790         * hurd/Makefile: Likewise.
17791         * hurd/hurd/signal.h: Likewise.
17792         * hurd/hurdfault.c: Likewise.
17793         * hurd/hurdioctl.c: Likewise.
17794         * hurd/hurdlookup.c: Likewise.
17795         * hurd/intr-msg.c: Likewise.
17796         * iconv/gconv_open.c: Likewise.
17797         * libio/swprintf.c: Likewise.
17798         * locale/lc-ctype.c: Likewise.
17799         * locale/nl_langinfo.c: Likewise.
17800         * mach/Machrules: Likewise.
17801         * mach/Makefile: Likewise.
17802         * malloc/obstack.h: Likewise.
17803         * manual/Makefile: Likewise.
17804         * manual/tsort.awk: Likewise.
17805         * misc/bits/stab.def: Likewise.
17806         * nis/nis_print_group_entry.c: Likewise.
17807         * nis/nis_table.c: Likewise.
17808         * nis/nss_compat/compat-pwd.c: Likewise.
17809         * nis/nss_compat/compat-spwd.c: Likewise.
17810         * po/Makefile: Likewise.
17811         * posix/fnmatch.c: Likewise.
17812         * posix/regex.h: Likewise.
17813         * resolv/Makefile: Likewise.
17814         * resolv/nss_dns/dns-network.c: Likewise.
17815         * resolv/res_hconf.c: Likewise.
17816         * scripts/gen-sorted.awk: Likewise.
17817         * soft-fp/soft-fp.h: Likewise.
17818         * stdio-common/printf.h: Likewise.
17819         * stdlib/monetary.h: Likewise.
17820         * stdlib/random.c: Likewise.
17821         * stdlib/random_r.c: Likewise.
17822         * sysdeps/generic/Makefile: Likewise.
17823         * sysdeps/gnu/Makefile: Likewise.
17824         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17826         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17828         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17831         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17834         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17835         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17836         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17837         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17838         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17840         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17841         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17844         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17845         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17846         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17847         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17848         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17852         * sysdeps/mach/hurd/errnos.awk: Likewise.
17853         * sysdeps/mach/hurd/fork.c: Likewise.
17854         * sysdeps/mach/hurd/getcwd.c: Likewise.
17855         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17856         * sysdeps/mach/hurd/mmap.c: Likewise.
17857         * sysdeps/mach/hurd/utimes.c: Likewise.
17858         * sysdeps/mach/hurd/xmknod.c: Likewise.
17859         * sysdeps/posix/profil.c: Likewise.
17860         * sysdeps/posix/readdir_r.c: Likewise.
17861         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17862         * sysdeps/powerpc/bits/setjmp.h: Likewise.
17863         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17864         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17866         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17867         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17868         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17870         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17871         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17872         * sysdeps/pthread/lio_listio.c: Likewise.
17873         * sysdeps/sparc/dl-procinfo.h: Likewise.
17874         * sysdeps/unix/i386/sysdep.S: Likewise.
17875         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17876         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17877         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17878         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17880         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17881         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17882         * sysdeps/unix/sysv/linux/speed.c: Likewise.
17883         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17884         * sysdeps/wordsize-32/divdi3.c: Likewise.
17885         * time/sys/time.h: Likewise.
17886         * wcsmbs/Makefile: Likewise.
17888 2013-01-01  David S. Miller  <davem@davemloft.net>
17890         * po/fr.po: Update from translation team.
17892         * catgets/gencat.c: Update copyright year.
17893         * csu/version.c: Likewise.
17894         * debug/catchsegv.sh: Likewise.
17895         * debug/pcprofiledump.c: Likewise.
17896         * debug/xtrace.sh: Likewise.
17897         * elf/ldconfig.c: Likewise.
17898         * elf/ldd.bash.in: Likewise.
17899         * elf/pldd.c: Likewise.
17900         * elf/sotruss.ksh: Likewise.
17901         * elf/sprof.c: Likewise.
17902         * iconv/iconv_prog.c: Likewise.
17903         * iconv/iconvconfig.c: Likewise.
17904         * locale/programs/locale.c: Likewise.
17905         * locale/programs/localedef.c: Likewise.
17906         * login/programs/pt_chown.c: Likewise.
17907         * malloc/memusage.sh: Likewise.
17908         * malloc/memusagestat.c: Likewise.
17909         * malloc/mtrace.pl: Likewise.
17910         * nscd/nscd.c: Likewise.
17911         * nss/getent.c: Likewise.
17912         * nss/makedb.c: Likewise.
17913         * posix/getconf.c: Likewise.
17915 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17917         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17918         numbers.
17920 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
17922         * math/bits/mathcalls.h (modf): Use __nonnull.
17924 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17926         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17927         (split): Use macro CN instead of the bare value.
17928         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17929         could be used.
17930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17931         instead of the bare value.
17932         (power1): Likewise.
17934 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17937         __ATAN_TWOM.
17938         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17940         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17941         their values.
17942         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17943         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17944         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17945         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17947 2012-12-28  Andreas Jaeger  <aj@suse.de>
17949         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
17950         values are from Linux 3.7.
17952         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17953         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
17955 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17957         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17958         TRUE case.
17960         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17961         (norm): Likewise.
17962         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17963         variables with preprocessor constants.
17964         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17965         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17966         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17968 2012-12-27  Bruno Haible  <bruno@clisp.org>
17970         [BZ #14317]
17971         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17972         only if needed.
17974 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17977         and use variable directly.
17978         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17980         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17981         MPONE.
17982         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17983         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17984         variable MPONE.
17985         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17987         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17988         include directive.  Remove local variable MPONE.
17989         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17990         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17991         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17993 2012-12-25  David S. Miller  <davem@davemloft.net>
17995         * version.h (RELEASE): Set to "development".
17996         (VERSION): Set to "2.17.90".
17997         * NEWS: Add 2.18 section.
17999 2012-12-21  David S. Miller  <davem@davemloft.net>
18001         * po/hr.po: Update from translation team.
18003 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18005         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18007 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18009         * NEWS:  Mention new memcpy for MIPS.
18011 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18013         * manual/contrib.texi (Contributors): Spelling correction.
18015 2012-12-15  David S. Miller  <davem@davemloft.net>
18017         * po/ru.po: Update from translation team.
18019 2012-12-13  David S. Miller  <davem@davemloft.net>
18021         * NEWS: Mention IFUNC testsuite enhancements.
18023         * po/pl.po: Update from translation team.
18024         * po/bg.po: Likewise.
18026         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18027         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18029 2012-12-11  David S. Miller  <davem@davemloft.net>
18031         * po/sv.po: Update from translation team.
18033         * po/vi.po: Update from translation team.
18035         * po/cs.po: Update from translation team.
18037         * po/de.po: Update from translation team.
18038         * po/eo.po: Likewise.
18039         * po/nl.po: Likewise.
18041 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18043         [BZ #14246]
18044         * manual/argp.texi (Argp Helper Functions): Move node to follow
18045         Argp Parsing State.
18047         [BZ #14872]
18048         * manual/conf.texi (Limits on File System Capacity): Mention if
18049         terminating null is included in the max size.
18051 2012-12-10  Andreas Jaeger  <aj@suse.de>
18053         * po/cs.po: Update from translation team.
18055 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18057         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18058         void pointer and cast to uintptr_t.
18059         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18060         path.
18061         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18062         * sysdeps/s390/s390-64/memset.S: Likewise.
18064 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18066         [BZ #14833]
18067         * menual/message.texi (Message Translation): Fix typos.
18068         (Helper programs for gettext): Likewise.
18070 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18072         [BZ #14898]
18073         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18074         Change to -1.
18076 2012-12-07  David S. Miller  <davem@davemloft.net>
18078         * po/libc.pot: Update.
18080 2012-12-07  Richard Henderson  <rth@redhat.com>
18082         [BZ #10114]
18083         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18084         normal/normal case to before the switch.
18085         (_FP_DIV): Likewise.
18087 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18088             Mike Frysinger  <vapier@gentoo.org>
18090         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18091         check for __NR_fadvise64_64.
18093 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18095         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18096         0, not just to plain "0" as a statement.
18097         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18098         with cw.
18100 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18102         * NEWS: Use sourceware.org in Bugzilla URL.
18104 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18107         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18109         * stdio-common/tst-put-error.c (do_test): Add newline to the
18110         padded test to ensure flush.
18112 2012-12-05  Jeff Law  <law@redhat.com>
18114         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18116 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18118         * README: Don't refer to ports add-on as distributed separately.
18119         Mention AArch64 in list of systems supported in the ports add-on.
18121         * LICENSES: Add more non-FSF copyright and license notices.
18123         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18124         ((unused)).
18126         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18128         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18129         10000 as width of padded output.
18131 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18133         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18135         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18136         variable LX with __attribute__ ((unused)).
18137         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18138         Likewise.
18139         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18142         with __attribute__ ((unused)).
18144 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18146         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18148 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18150         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18151         (CFLAGS-nldbl-acos.c): New variable.
18152         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18153         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18154         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18155         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18156         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18157         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18158         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18159         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18160         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18161         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18162         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18163         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18164         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18165         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18166         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18167         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18168         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18169         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18170         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18171         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18172         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18173         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18174         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18175         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18176         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18177         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18178         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18179         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18180         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18181         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18182         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18183         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18184         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18185         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18186         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18187         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18188         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18189         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18190         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18191         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18192         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18193         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18194         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18195         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18196         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18197         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18198         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18199         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18200         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18201         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18202         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18203         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18204         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18205         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18206         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18207         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18208         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18209         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18210         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18211         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18212         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18213         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18214         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18215         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18216         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18217         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18218         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18219         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18220         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18221         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18222         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18223         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18224         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18225         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18226         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18227         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18228         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18229         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18230         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18231         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18232         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18233         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18234         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18235         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18236         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18237         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18238         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18239         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18240         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18241         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18242         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18243         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18244         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18245         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18246         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18247         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18248         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18251         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18253         [BZ #14914]
18254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18255         whole low double instead of just low 47 bits when splitting values
18256         into two parts.
18258 2012-12-03  Allan McRae  <allan@archlinux.org>
18260         * manual/stdio.texi (Predefined Printf Handlers): Remove
18261         @hsep and @vsep usage.
18263 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18265         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18266         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18268 2012-12-03  Jeff Law  <law@redhat.com>
18270         * time/sys/time.h (settimeofday): Do not mark TV argument
18271         as __nonnull.
18273 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18275         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18276         when currently writing and seek to current position when not.
18277         * libio/Makefile (tests): Remove bug-fclose1.
18278         * libio/bug-fclose1.c: Delete.
18280 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18282         * manual/arith.texi (feenableexcept): Fix typo.
18283         (fedisableexcept): Likewise.
18285 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18287         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18288         second, differently-typed declaration, rather than a cast.
18290 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18292         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18293         * include/rpc/svc.h: ... here.
18295 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18297         [BZ #13013]
18298         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18299         depending n and resplen2 to catch cases where answer
18300         equals answerp2.
18302 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18304         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18305         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18307 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18309         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18311 2012-11-29  Roland McGrath  <roland@hack.frob.com>
18313         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18315 2012-11-28  Jeff Law  <law@redhat.com>
18317         [BZ #13761]
18318         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18319         dataset_temporary.  Track alloca usage into alloca_used.
18320         If dataset is large allocate and release it via malloc/free.
18322 2012-06-04  Florian Weimer  <fweimer@redhat.com>
18324         [BZ #14197]
18325         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18327 2012-11-28  David S. Miller  <davem@davemloft.net>
18329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18331 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18333         [BZ #14803]
18334         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18335         of pi/2 rounded to nearest to 64 bits.
18336         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18337         nearest to 64 bits.
18338         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18339         bits.
18341 2012-11-28  Jeff Law <law@redhat.com>
18342             Martin Osvald <mosvald@redhat.com>
18344         [BZ #14889]
18345         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
18346         * sunrpc/svc.c: Include time.h.
18347         (__svc_accept_failed): New function.
18348         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
18349         any reason other than EINTR, call __svc_accept_failed.
18350         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
18351         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
18353 2012-11-28  Andreas Schwab  <schwab@suse.de>
18355         * scripts/abilist.awk: Also handle indirect functions in .opd
18356         section.
18358 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18360         [BZ #13881]
18361         * sysdeps/x86/fpu/powl_helper.c: New file.
18362         * sysdeps/x86/fpu/Makefile: Likewise.
18363         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
18364         (p3): New object.
18365         (__ieee754_powl): Use __powl_helper for finite arguments except
18366         integer exponents below 8.
18367         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
18368         (p3): New object.
18369         (__ieee754_powl): Use __powl_helper for finite arguments except
18370         integer exponents below 8.
18371         * math/libm-test.inc (pow_test): Add more tests and enable some
18372         previously disabled tests.
18373         * sysdeps/i386/fpu/libm-test-ulps: Update.
18374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18376 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18377             Carlos O'Donell  <carlos_odonell@mentor.com>
18379         * nss/makedb.c (is_prime): Assert that input is odd and greater
18380         than 4.  Note that fact in a comment too.
18381         (next_prime): Add 4 to input.
18383 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18385         [BZ #11741]
18386         * libio/Makefile (tests): Add test case tst-fwrite-error.
18387         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
18388         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18389         * libio/tst-fwrite-error.c: New test case.
18391 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
18393         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
18394         before casting to void *.
18395         * include/libc-internal.h (__pointer_type): New macro.
18396         (__integer_if_pointer_type_sub): Likewise.
18397         (__integer_if_pointer_type): Likewise.
18398         (cast_to_integer): Likewise.
18399         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
18400         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
18401         before casting to atomic64_t.
18402         (atomic_exchange_acq): Likewise.
18403         (__arch_exchange_and_add_body): Likewise.
18404         (__arch_add_body): Likewise.
18405         (atomic_add_negative): Likewise.
18406         (atomic_add_zero): Likewise.
18408 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
18410         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
18411         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
18412         (add_fdes): Likewise.
18413         (linear_search_fdes): Likewise.
18414         (binary_search_unencoded_fdes): Likewise.
18416 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
18418         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
18420 2012-11-24  Adam Conrad  <adconrad@0c3.net>
18422         * configure.in: Autodetect C++ header directories.
18423         * configure: Regenerated.
18425 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
18427         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
18429 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
18431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18433 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
18435         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
18436         LDBL_MANT_DIG == 106]: Disable some tests.
18437         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18438         Likewise.
18439         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
18440         Likewise.
18442         [BZ #14871]
18443         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
18444         input for small inputs.  Return +/- pi/2 for large inputs.
18445         * math/libm-test.inc (atan_test): Add more tests.
18447         * sysdeps/generic/unwind-dw2-fde-glibc.c
18448         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
18449         __attribute__ ((unused)).
18451         [BZ #14645]
18452         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
18453         x * y if x and y are nonzero and z is zero.
18455         [BZ #14811]
18456         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
18457         nonzero exponents with absolute value below 0x1p-117 to +/-
18458         0x1p-117.
18460         [BZ #14869]
18461         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
18462         up arguments below 2**-450, not just those below 2**-500.
18463         * math/libm-test.inc (hypot_test): Add another test.
18465         [BZ #14868]
18466         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18467         Return a+b for ratio over 2**120, not 2**60.
18468         * math/libm-test.inc (hypot_test): Add another test.
18470         * math/libm-test.inc (clog_test): Use
18471         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
18472         (clog10_test): Likewise.
18474         [BZ #6778]
18475         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
18477 2012-11-22  Andreas Schwab  <schwab@suse.de>
18479         * sysdeps/i386/fpu/libm-test-ulps: Update.
18481 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
18483         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
18484         printf output with newline.
18486 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
18488         [BZ #14865]
18489         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
18490         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
18491         -z nodlopen, -z initfirst and -z execstack support.
18492         * configure: Regenerated.
18494         * elf/elf.h (DF_1_NODIRECT): New macro.
18495         (DF_1_IGNMULDEF): Likewise.
18496         (DF_1_NOKSYMS): Likewise.
18497         (DF_1_NOHDR): Likewise.
18498         (DF_1_EDITED): Likewise.
18499         (DF_1_NORELOC): Likewise.
18500         (DF_1_SYMINTPOSE): Likewise.
18501         (DF_1_GLOBAUDIT): Likewise.
18502         (DF_1_SINGLETON): Likewise.
18503         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
18504         DT_1_SUPPORTED_MASK bits.
18505         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
18507 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
18509         * sysdeps/unix/make-syscalls.sh: Document prefixes.
18511 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
18513         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
18514         macro.
18516         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
18517         (sendmmsg): Move declarations...
18518         * socket/sys/socket.h: ... here.
18519         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
18520         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
18521         include it from...
18522         * socket/recvmmsg.c: ... this new file.
18523         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
18524         (sendmmsg): Rename to __sendmmsg, create weak alias and make
18525         definition of __sendmmsg hidden.
18526         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18527         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
18528         Move ENOSYS stub into and include it from...
18529         * socket/sendmmsg.c: ... this new file.
18530         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
18531         (sysdep_routines): Move recvmmsg and sendmmsg...
18532         * socket/Makefile (routines): ... here.
18533         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
18534         (GLIBC_PRIVATE): Add __sendmmsg.
18535         * include/sys/socket.h (__sendmmsg): Add declarations.
18536         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
18537         sendmmsg.
18539 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
18541         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
18542         variable I1 with __attribute__ ((unused)).
18543         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18545 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18547         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
18548         DUMMY variables with __attribute__ ((unused)).
18550         * bits/byteswap.h: Include <bits/types.h>.
18551         (__bswap_64): Use __uint64_t instead of unsigned long long int.
18553 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18555         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
18556         string_t.  Do not manually set errno.
18557         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
18558         length with __strnlen.  Make sure to both set errno and return it on
18559         failure.
18561 2012-11-19  David S. Miller  <davem@davemloft.net>
18563         With help from Joseph Myers.
18564         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
18565         very large arguments properly.
18566         * math/libm-test.inc (atan_test): New tests.
18567         (atan2_test): New tests.
18568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18571 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
18573         [BZ #14856]
18574         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
18575         Define to 3.
18577         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
18578         [POSIX] (EADDRNOTAVAIL): Likewise.
18579         [POSIX] (EAFNOSUPPORT): Likewise.
18580         [POSIX] (EALREADY): Likewise.
18581         [POSIX] (ECONNABORTED): Likewise.
18582         [POSIX] (ECONNREFUSED): Likewise.
18583         [POSIX] (ECONNRESET): Likewise.
18584         [POSIX] (EDESTADDRREQ): Likewise.
18585         [POSIX] (EDQUOT): Likewise.
18586         [POSIX] (EHOSTUNREACH): Likewise.
18587         [POSIX] (EIDRM): Likewise.
18588         [POSIX] (EISCONN): Likewise.
18589         [POSIX] (ELOOP): Likewise.
18590         [POSIX] (EMULTIHOP): Likewise.
18591         [POSIX] (ENETDOWN): Likewise.
18592         [POSIX] (ENETUNREACH): Likewise.
18593         [POSIX] (ENOBUFS): Likewise.
18594         [POSIX] (ENODATA): Likewise.
18595         [POSIX] (ENOLINK): Likewise.
18596         [POSIX] (ENOMSG): Likewise.
18597         [POSIX] (ENOPROTOOPT): Likewise.
18598         [POSIX] (ENOSR): Likewise.
18599         [POSIX] (ENOSTR): Likewise.
18600         [POSIX] (ENOTCONN): Likewise.
18601         [POSIX] (ENOTSOCK): Likewise.
18602         [POSIX] (EOPNOTSUPP): Likewise.
18603         [POSIX] (EOVERFLOW): Likewise.
18604         [POSIX] (EPROTO): Likewise.
18605         [POSIX] (EPROTONOSUPPORT): Likewise.
18606         [POSIX] (EPROTOTYPE): Likewise.
18607         [POSIX] (ESTALE): Likewise.
18608         [POSIX] (ETIME): Likewise.
18609         [POSIX] (ETXTBSY): Likewise.
18610         [POSIX] (EWOULDBLOCK): Likewise.
18611         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
18612         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
18613         [POSIX] (SEEK_CUR): Likewise.
18614         [POSIX] (SEEK_END): Likewise.
18615         [POSIX || UNIX98] (mode_t): Do not require.
18616         [POSIX] (off_t): Likewise.
18617         [POSIX] (pid_t): Likewise.
18618         [POSIX] (sys/stat.h): Do not allow header.
18619         [POSIX] (unistd.h): Likewise.
18620         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
18621         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
18622         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
18623         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
18624         require.
18625         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
18626         sigevent): Specify elements.
18627         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
18628         entry.
18629         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
18630         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18632         * conform/data/cpio.h-data [POSIX]: Disable whole file.
18633         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18634         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18635         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18636         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18637         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18638         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18639         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18640         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18641         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18642         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18643         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18644         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18645         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18646         Likewise.
18647         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18648         Likewise.
18649         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18650         Likewise.
18651         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18652         Likewise.
18653         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18654         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18655         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18656         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18657         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18658         Specify lower bound on value.
18659         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18660         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18661         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18662         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18663         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18664         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18665         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18666         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18667         value.
18668         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18669         as optional.
18670         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18671         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18672         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18673         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18674         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18675         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18676         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18677         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18678         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18679         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18680         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18681         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18682         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18683         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18684         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18685         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18686         entry.
18687         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18688         optional.
18689         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18690         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18691         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18692         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18693         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18694         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18695         Likewise.
18696         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18697         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18698         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18699         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18700         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
18701         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18702         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18703         as optional.
18704         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18705         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18706         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18707         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18708         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18709         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18710         specify as optional.
18711         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18712         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18713         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18714         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18715         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18716         [XPG3] (NL_LANGMAX): Likewise.
18717         [POSIX || XPG3] (NL_MSGMAX): Likewise.
18718         [POSIX || XPG3] (NL_NMAX): Likewise.
18719         [POSIX || XPG3] (NL_SETMAX): Likewise.
18720         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18721         [XPG3] (NZERO): Likewise.
18722         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18723         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18724         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18725         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18726         (REG_ERANGE): Expect.
18727         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18728         optional-constant.
18729         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18730         Use (void) in prototype.
18731         [POSIX] (*_t): Allow.
18732         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18733         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18734         (WRDE_BADVAL): Expect.
18736         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18737         expect.
18738         [XPG3 || XPG4] (O_RSYNC): Likewise.
18739         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18740         Likewise.
18741         [XPG3 || XPG4] (pthread_sigmask): Likewise.
18742         [XPG3 || XPG4] (sigqueue): Likewise.
18743         [XPG3 || XPG4] (sigtimedwait): Likewise.
18744         [XPG3 || XPG4] (sigwaitinfo): Likewise.
18745         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18746         [XPG3 || XPG4] (vsnprintf): Likewise.
18747         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18748         Likewise.
18749         [XPG3 || XPG4] (blksize_t): Likewise.
18750         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18751         Likewise.
18752         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18753         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18754         [XPG3 || XPG4] (struct itimerspec): Likewise.
18755         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18756         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18757         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18758         [XPG3 || XPG4] (clockid_t): Likewise.
18759         [XPG3 || XPG4] (timer_t): Likewise.
18760         [XPG3 || XPG4] (clock_getres): Likewise.
18761         [XPG3 || XPG4] (clock_gettime): Likewise.
18762         [XPG3 || XPG4] (clock_settime): Likewise.
18763         [XPG3 || XPG4] (nanosleep): Likewise.
18764         [XPG3 || XPG4] (timer_create): Likewise.
18765         [XPG3 || XPG4] (timer_delete): Likewise.
18766         [XPG3 || XPG4] (timer_gettime): Likewise.
18767         [XPG3 || XPG4] (timer_getoverrun): Likewise.
18768         [XPG3 || XPG4] (timer_settime): Likewise.
18769         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18770         [XPG3 || XPG4] (getlogin_r): Likewise.
18771         [XPG3 || XPG4] (pread): Likewise.
18772         [XPG3 || XPG4] (pthread_atfork): Likewise.
18773         [XPG3 || XPG4] (pwrite): Likewise.
18775         [BZ #14835]
18776         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18777         <bits/siginfo.h>.
18779 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
18781         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18782         finalizing MALLSTREAM.
18784         * sysdeps/mach/hurd/syncfs.c: New file.
18786 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18788         [BZ #14719]
18789         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18790         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18791         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18792         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18793         (_nss_dns_gethostbyname4_r): Likewise.
18794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18795         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18797 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
18799         [BZ #13763]
18800         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18802 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
18804         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18805         * elf/cache.c (print_entry): Print ",AArch64" for
18806         FLAG_AARCH64_LIB64
18808         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18809         * elf/cache.c (print_entry): Print ",hard-float" for
18810         FLAG_ARM_LIBHF.
18812 2012-11-18  David S. Miller  <davem@davemloft.net>
18814         With help from Joseph Myers.
18815         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18816         cutoff to 2**-13.
18817         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18818         cutoff to 2**-25.
18819         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18820         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18821         small.
18822         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18823         * math/libm-test.inc (y0_test): New tests.
18824         (y1_test): New tests.
18825         * sysdeps/i386/fpu/libm-test-ulps: Update.
18826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18829 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
18831         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18832         64-bit targets.
18833         * configure: Regenerated.
18835 2012-11-17  David S. Miller  <davem@davemloft.net>
18837         [BZ #14811]
18838         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18839         nonzero exponents with absolute value below 0x1p-128 to +/-
18840         0x1p-128.
18842 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
18844         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18846         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18848         * posix/getconf-speclist.c: New file.
18849         * posix/posix-envs.def: Likewise.
18850         * posix/confstr.c (START_ENV_GROUP): New macro.
18851         (END_ENV_GROUP): Likewise.
18852         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18853         (KNOWN_PRESENT_ENV_STRING): Likewise.
18854         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18855         (UNKNOWN_ENVIRONMENT): Likewise.
18856         (confstr): Include posix-envs.def instead of handling
18857         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18858         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18859         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18860         (END_ENV_GROUP): Likewise.
18861         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18862         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18863         (UNKNOWN_ENVIRONMENT): Likewise.
18864         (__sysconf): Include posix-envs.def instead of handling associated
18865         cases directly here.
18866         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18867         preprocessing getconf-speclist.c rather than running getconf or
18868         generating empty file.
18870 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
18872         * scripts/check-local-headers.sh: Ignore 'mach' headers.
18874 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
18876         [BZ #14672]
18877         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18879 2012-11-16  David S. Miller  <davem@davemloft.net>
18881         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18882         smaller than LDBL_EPSILON/2.0L, just return xm1.
18884 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
18886         * elf/tst-array1.c (init): Set constructor priority to 1000.
18887         (fini): Set destructor priority to 1000.
18888         * elf/tst-array2dep.c: Likewise.
18890 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18892         [BZ #11741]
18893         * libio/fileops.c (_IO_new_file_write): Correctly return error.
18894         (_IO_new_file_xsputn): Also return EOF if none of the input
18895         data was written when overflow failed.
18896         * libio/iopadn.c (_IO_padn): Likewise.
18897         * libio/iowpadn.c (_IO_wpadn): Likewise.
18898         * stdio-common/tst-put-error.c: Add copyright notice.
18899         (do_test): Add case for printing padded string.
18900         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18901         _IO_padn returned error.
18902         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18903         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18904         return EOF.
18906 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18908         * libio/libioP.h: Add comment note that the references to C++
18909         bits are now obsolete.
18911 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18913         * math/libm-test.inc (check_complex): Use asprintf.
18915 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
18917         * debug/pcprofiledump.c (print_version): Update copyright year.
18918         * malloc/memusagestat.c (print_version): Likewise.
18920 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18922         [BZ #14831]
18923         * elf/Makefile (tests): Add tst-audit8.
18924         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18925         ($(objpfx)tst-audit8.out): New target.
18926         (tst-audit8-ENV): New variable.
18927         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18928         audit if l_reloc_result is NULL.
18929         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18930         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18931         * elf/tst-audit8.c: New file.
18933 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18935         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18936         * misc/Makefile (CFLAGS-select.c): Define.
18937         * posix/Makefile (CFLAGS-pause.c): Define.
18939 2012-11-13  David S. Miller  <davem@davemloft.net>
18941         * crypt/Makefile: Move test targets after toplevel Rules
18942         inclusion.  Grab any necessary sysdep routines when linking.
18943         * crypt/md5.c (md5_process_block): Remove define, we will always
18944         name it __md5_process_block.
18945         (md5_finish_ctx): Update md5_process_block call.
18946         (md5_stream): Likewise.
18947         (md5_process_bytes): Likewise.
18948         (md5_process_block): Rename to __md5_process_block and move to ...
18949         * crypt/md5-block.c: ... here.
18950         * crypt/sha256.c (sha256_process_block): Move to ...
18951         * crypt/sha256-block.c: ... here.
18952         * crypt/sha512.c (sha512_process_block): Move to ...
18953         * crypt/sha512-block.c: ... here.
18954         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18955         path.
18956         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18957         * sysdeps/sparc/sparc64/multiarch/Makefile
18958         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18959         crypt subdir.
18960         (localedef-aux): Add md5 crypto assembler when in locale subdir.
18961         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18962         multiarch changes.
18963         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18964         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18965         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18966         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18967         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18968         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18969         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18970         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18971         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18972         file.
18973         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18974         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18975         file.
18976         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18978 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
18980         * timezone/tzselect.ksh: Update from tzcode git revision
18981         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18982         * timezone/zdump.c: Likewise.
18983         * timezone/zic.c: Likewise.
18984         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18985         in TZVERSION setting, not $(PKGVERSION).
18986         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
18987         REPORT_BUGS_TO settings.
18989         [BZ #14838]
18990         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18991         macro.
18993 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18995         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18996         detection to immediately after _FP_ROUND().
18997         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18998         bits are 0.
19000 2012-11-11  David S. Miller  <davem@davemloft.net>
19002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19003         inttypes.h
19004         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19005         __close rather than their public counterparts.
19007 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19009         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19010         file.
19011         [UNIX98] (sem_timedwait): Do not expect.
19012         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19013         [XPG4 || UNIX98] (sockatmark): Do not expect.
19014         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19015         (clock_getcpuclockid): Do not expect.
19016         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19017         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19018         Do not expect.
19019         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19020         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19021         [UNIX98] (vwscanf): Likewise.
19022         [UNIX98] (vswscanf): Likewise.
19024 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19026         * timezone/version.h: Remove file.
19027         * timezone/README: Do not refer to version.h.
19028         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19029         $(objpfx)version.h.
19030         ($(objpfx)zdump.o): Likewise.
19031         ($(objpfx)version.h): New target.
19033         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19034         2012i.
19035         * timezone/README: Don't mention modification to tzselect.ksh.
19036         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19037         work on unmodified tzselect.ksh.  Substitute version numbers in
19038         tzselect.ksh.
19040         * Makefile (format-me): Remove.
19041         (INSTALL): Adjust indentation.  Use commands directly instead of
19042         using $(format-me).
19044         * aclocal.m4 (ACX_PKGVERSION): New macro.
19045         (ACX_BUGURL): Likewise.
19046         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19047         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19048         (REPORT_BUGS_TO): Likewise.
19049         * configure: Regenerated.
19050         * config.h.in (PKGVERSION): New macro.
19051         (REPORT_BUGS_TO): Likewise.
19052         * config.make.in (PKGVERSION): New variable.
19053         (PKGVERSION_TEXI): Likewise.
19054         (REPORT_BUGS_TO): Likewise.
19055         (REPORT_BUGS_TEXI): Likewise.
19056         * Makefile (format-me): Use -I$(common-objpfx)manual.
19057         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19058         ($(common-objpfx)manual/%): New target.
19059         (manual/%): Remove target.
19060         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19061         (print_version): Use PKGVERSION.
19062         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19063         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19064         and REPORT_BUGS_TO.
19065         ($(objpfx)xtrace): Likewise.
19066         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19067         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19068         (print_version): Use PKGVERSION.
19069         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19070         (do_version): Use PKGVERSION.
19071         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19072         REPORT_BUGS_TO.
19073         (common-ldd-rewrite): Likewise.
19074         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19075         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19076         (print_version): Use PKGVERSION.
19077         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19078         * elf/pldd.c (argp_program_bug_address): Remove variable.
19079         (more_help): New function.
19080         (argp): Use more_help.
19081         (print_version): Use PKGVERSION.
19082         * elf/sln.c (main): Use PKGVERSION.
19083         (usage): Use REPORT_BUGS_TO.
19084         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19085         (top level): Use PKGVERSION.
19086         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19087         (print_version): Use PKGVERSION.
19088         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19089         (print_version): Use PKGVERSION.
19090         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19091         (print_version): Use PKGVERSION.
19092         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19093         (print_version): Use PKGVERSION.
19094         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19095         (print_version): Use PKGVERSION.
19096         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19097         (print_version): Use PKGVERSION.
19098         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19099         and BUGURL.
19100         ($(objpfx)memusage): Likewise.
19101         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19102         (do_version): Use PKGVERSION.
19103         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19104         (print_version): Use PKGVERSION.
19105         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19106         ($PKGVERSION): New variable.
19107         ($REPORT_BUGS_TO): Likewise.
19108         (usage): Use $REPORT_BUGS_TO.
19109         (top level): Use $PKGVERSION.
19110         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19111         ($(objpfx)pkgvers.texi): New rule.
19112         ($(objpfx)stamp-pkgvers): Likewise.
19113         * manual/install.texi: Include pkgvers.texi.
19114         (--with-pkgversion): Document new configure option.
19115         (--with-bugurl): Likewise.
19116         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19117         than necessarily for this particular distribution.  Use
19118         REPORT_BUGS_TO for where to report bugs.
19119         * INSTALL: Regenerated.
19120         * manual/libc.texinfo: Include pkgvers.texi.
19121         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19122         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19123         (print_version): Use PKGVERSION.
19124         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19125         (print_version): Use PKGVERSION.
19126         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19127         (print_version): Use PKGVERSION.
19128         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19129         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19130         macro.
19131         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19132         (print_version): Use PKGVERSION.
19133         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19134         (print_version): Use PKGVERSION.
19135         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19136         and PKGVERSION.
19138         * timezone/checktab.awk: Update from tzcode 2012i.
19139         * timezone/ialloc.c: Likewise.
19140         * timezone/private.h: Likewise.
19141         * timezone/scheck.c: Likewise.
19142         * timezone/tzfile.h: Likewise.
19143         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19144         (TZVERSION): Hardcode tzcode version number.
19145         * timezone/zdump.c: Update from tzcode 2012i.
19146         * timezone/zic.c: Likewise.
19147         * timezone/version.h: New file.
19148         * timezone/README: Describe version.h.  Update upstream location.
19150         [BZ #14824]
19151         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19152         (mktemp): Enable declaration.
19153         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19154         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19155         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19157         Likewise.
19158         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19159         Likewise.
19160         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19161         Likewise.
19162         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19163         Likewise.
19164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19165         Likewise.
19166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19167         Likewise.
19169         [BZ #14821]
19170         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19171         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19172         for copies of such integer values.
19173         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19174         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19176 2012-11-09  Andreas Jaeger  <aj@suse.de>
19178         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19179         definitions and declarations that are provided by
19180         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19182 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19184         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19185         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19186         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19187         definition.
19189 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19191         * elf/elf.h: Update comment before AArch64 relocations.
19193 2012-11-07  David S. Miller  <davem@davemloft.net>
19195         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19196         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19197         (__start_context): Declare.
19198         (__makecontext_ret): Delete.
19199         (__makecontext): Hook up __start_context instead of
19200         __makecontext_ret.
19201         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19202         (sysdep_routines): Add __start_context when in stdlib.
19204 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19206         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19207         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19208         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19209         hardcoded "nm".
19210         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19211         (READELF): New variable.  Use it instead of hardcoded "readelf".
19213 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19215         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19216         * sysdeps/x86/Makefile: Here.
19217         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19218         * sysdeps/x86/tst-xmmymm.sh: This.
19220 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19222         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19223         expectations.
19224         [UNIX98] (pthread_barrier_t): Do not expect.
19225         [UNIX98] (pthread_barrierattr_t): Likewise.
19226         [UNIX98] (pthread_spinlock_t): Likewise.
19227         [UNIX98] (pthread_barrier_destroy): Likewise.
19228         [UNIX98] (pthread_barrier_init): Likewise.
19229         [UNIX98] (pthread_barrier_wait): Likewise.
19230         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19231         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19232         [UNIX98] (pthread_barrierattr_init): Likewise.
19233         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19234         [UNIX98] (pthread_getcpuclockid): Likewise.
19235         [UNIX98] (pthread_mutex_timedlock): Likewise.
19236         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19237         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19238         [UNIX98] (pthread_sigmask): Likewise.
19239         [UNIX98] (pthread_spin_destroy): Likewise.
19240         [UNIX98] (pthread_spin_init): Likewise.
19241         [UNIX98] (pthread_spin_lock): Likewise.
19242         [UNIX98] (pthread_spin_trylock): Likewise.
19243         [UNIX98] (pthread_spin_unlock): Likewise.
19244         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19245         Do not expect.
19246         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19247         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19248         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19249         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19250         [XPG3 || XPG4] (pthread_key_t): Likewise.
19251         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19252         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19253         [XPG3 || XPG4] (pthread_once_t): Likewise.
19254         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19255         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19256         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19257         [XPG3 || XPG4] (pthread_t): Likewise.
19259         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19260         not expect.
19261         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19263         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19264         Change function return type to int.
19266         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19267         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19268         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19269         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19270         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19271         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19272         [!POSIX] (posix_madvise): Likewise.
19273         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19274         && !UNIX98].
19275         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19276         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19277         (mode_t): Likewise.
19278         (posix_mem_offset): Likewise.
19279         (posix_typed_mem_get_info): Likewise.
19280         (posix_typed_mem_open): Likewise.
19282         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19283         Change condition to [XOPEN2K8].
19285         * conform/conformtest.pl: Preprocess allow-header data with -x c
19286         instead of from stdin.
19287         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19288         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19289         [C99-based standards] (cerfc): Likewise.
19290         [C99-based standards] (cexp2): Likewise.
19291         [C99-based standards] (cexpm1): Likewise.
19292         [C99-based standards] (clog10): Likewise.
19293         [C99-based standards] (clog1p): Likewise.
19294         [C99-based standards] (clog2): Likewise.
19295         [C99-based standards] (clgamma): Likewise.
19296         [C99-based standards] (ctgamma): Likewise.
19297         [C99-based standards] (cerff): Likewise.
19298         [C99-based standards] (cerfcf): Likewise.
19299         [C99-based standards] (cexp2f): Likewise.
19300         [C99-based standards] (cexpm1f): Likewise.
19301         [C99-based standards] (clog10f): Likewise.
19302         [C99-based standards] (clog1pf): Likewise.
19303         [C99-based standards] (clog2f): Likewise.
19304         [C99-based standards] (clgammaf): Likewise.
19305         [C99-based standards] (ctgammaf): Likewise.
19306         [C99-based standards] (cerfl): Likewise.
19307         [C99-based standards] (cerfcl): Likewise.
19308         [C99-based standards] (cexp2l): Likewise.
19309         [C99-based standards] (cexpm1l): Likewise.
19310         [C99-based standards] (clog10l): Likewise.
19311         [C99-based standards] (clog1pl): Likewise.
19312         [C99-based standards] (clog2l): Likewise.
19313         [C99-based standards] (clgammal): Likewise.
19314         [C99-based standards] (ctgammal): Likewise.
19315         * conform/data/inttypes.h-data [C99-based standards]: Include
19316         stdint.h-data.  Remove all expectations for stdint.h contents.
19317         [C99-based standards] (PRI*): Do not allow.
19318         [C99-based standards] (SCN*): Likewise.
19319         [C99-based standards] (*_t): Likewise.
19320         [C99-based-standards] (PRId8): Expect macro.
19321         [C99-based-standards] (PRIi8): Likewise.
19322         [C99-based-standards] (PRIo8): Likewise.
19323         [C99-based-standards] (PRIu8): Likewise.
19324         [C99-based-standards] (PRIx8): Likewise.
19325         [C99-based-standards] (PRIX8): Likewise.
19326         [C99-based-standards] (SCNd8): Likewise.
19327         [C99-based-standards] (SCNi8): Likewise.
19328         [C99-based-standards] (SCNo8): Likewise.
19329         [C99-based-standards] (SCNu8): Likewise.
19330         [C99-based-standards] (SCNx8): Likewise.
19331         [C99-based-standards] (PRIdLEAST8): Likewise.
19332         [C99-based-standards] (PRIiLEAST8): Likewise.
19333         [C99-based-standards] (PRIoLEAST8): Likewise.
19334         [C99-based-standards] (PRIuLEAST8): Likewise.
19335         [C99-based-standards] (PRIxLEAST8): Likewise.
19336         [C99-based-standards] (PRIXLEAST8): Likewise.
19337         [C99-based-standards] (SCNdLEAST8): Likewise.
19338         [C99-based-standards] (SCNiLEAST8): Likewise.
19339         [C99-based-standards] (SCNoLEAST8): Likewise.
19340         [C99-based-standards] (SCNuLEAST8): Likewise.
19341         [C99-based-standards] (SCNxLEAST8): Likewise.
19342         [C99-based-standards] (PRIdFAST8): Likewise.
19343         [C99-based-standards] (PRIiFAST8): Likewise.
19344         [C99-based-standards] (PRIoFAST8): Likewise.
19345         [C99-based-standards] (PRIuFAST8): Likewise.
19346         [C99-based-standards] (PRIxFAST8): Likewise.
19347         [C99-based-standards] (PRIXFAST8): Likewise.
19348         [C99-based-standards] (SCNdFAST8): Likewise.
19349         [C99-based-standards] (SCNiFAST8): Likewise.
19350         [C99-based-standards] (SCNoFAST8): Likewise.
19351         [C99-based-standards] (SCNuFAST8): Likewise.
19352         [C99-based-standards] (SCNxFAST8): Likewise.
19353         [C99-based-standards] (PRId16): Likewise.
19354         [C99-based-standards] (PRIi16): Likewise.
19355         [C99-based-standards] (PRIo16): Likewise.
19356         [C99-based-standards] (PRIu16): Likewise.
19357         [C99-based-standards] (PRIx16): Likewise.
19358         [C99-based-standards] (PRIX16): Likewise.
19359         [C99-based-standards] (SCNd16): Likewise.
19360         [C99-based-standards] (SCNi16): Likewise.
19361         [C99-based-standards] (SCNo16): Likewise.
19362         [C99-based-standards] (SCNu16): Likewise.
19363         [C99-based-standards] (SCNx16): Likewise.
19364         [C99-based-standards] (PRIdLEAST16): Likewise.
19365         [C99-based-standards] (PRIiLEAST16): Likewise.
19366         [C99-based-standards] (PRIoLEAST16): Likewise.
19367         [C99-based-standards] (PRIuLEAST16): Likewise.
19368         [C99-based-standards] (PRIxLEAST16): Likewise.
19369         [C99-based-standards] (PRIXLEAST16): Likewise.
19370         [C99-based-standards] (SCNdLEAST16): Likewise.
19371         [C99-based-standards] (SCNiLEAST16): Likewise.
19372         [C99-based-standards] (SCNoLEAST16): Likewise.
19373         [C99-based-standards] (SCNuLEAST16): Likewise.
19374         [C99-based-standards] (SCNxLEAST16): Likewise.
19375         [C99-based-standards] (PRIdFAST16): Likewise.
19376         [C99-based-standards] (PRIiFAST16): Likewise.
19377         [C99-based-standards] (PRIoFAST16): Likewise.
19378         [C99-based-standards] (PRIuFAST16): Likewise.
19379         [C99-based-standards] (PRIxFAST16): Likewise.
19380         [C99-based-standards] (PRIXFAST16): Likewise.
19381         [C99-based-standards] (SCNdFAST16): Likewise.
19382         [C99-based-standards] (SCNiFAST16): Likewise.
19383         [C99-based-standards] (SCNoFAST16): Likewise.
19384         [C99-based-standards] (SCNuFAST16): Likewise.
19385         [C99-based-standards] (SCNxFAST16): Likewise.
19386         [C99-based-standards] (PRId32): Likewise.
19387         [C99-based-standards] (PRIi32): Likewise.
19388         [C99-based-standards] (PRIo32): Likewise.
19389         [C99-based-standards] (PRIu32): Likewise.
19390         [C99-based-standards] (PRIx32): Likewise.
19391         [C99-based-standards] (PRIX32): Likewise.
19392         [C99-based-standards] (SCNd32): Likewise.
19393         [C99-based-standards] (SCNi32): Likewise.
19394         [C99-based-standards] (SCNo32): Likewise.
19395         [C99-based-standards] (SCNu32): Likewise.
19396         [C99-based-standards] (SCNx32): Likewise.
19397         [C99-based-standards] (PRIdLEAST32): Likewise.
19398         [C99-based-standards] (PRIiLEAST32): Likewise.
19399         [C99-based-standards] (PRIoLEAST32): Likewise.
19400         [C99-based-standards] (PRIuLEAST32): Likewise.
19401         [C99-based-standards] (PRIxLEAST32): Likewise.
19402         [C99-based-standards] (PRIXLEAST32): Likewise.
19403         [C99-based-standards] (SCNdLEAST32): Likewise.
19404         [C99-based-standards] (SCNiLEAST32): Likewise.
19405         [C99-based-standards] (SCNoLEAST32): Likewise.
19406         [C99-based-standards] (SCNuLEAST32): Likewise.
19407         [C99-based-standards] (SCNxLEAST32): Likewise.
19408         [C99-based-standards] (PRIdFAST32): Likewise.
19409         [C99-based-standards] (PRIiFAST32): Likewise.
19410         [C99-based-standards] (PRIoFAST32): Likewise.
19411         [C99-based-standards] (PRIuFAST32): Likewise.
19412         [C99-based-standards] (PRIxFAST32): Likewise.
19413         [C99-based-standards] (PRIXFAST32): Likewise.
19414         [C99-based-standards] (SCNdFAST32): Likewise.
19415         [C99-based-standards] (SCNiFAST32): Likewise.
19416         [C99-based-standards] (SCNoFAST32): Likewise.
19417         [C99-based-standards] (SCNuFAST32): Likewise.
19418         [C99-based-standards] (SCNxFAST32): Likewise.
19419         [C99-based-standards] (PRId64): Likewise.
19420         [C99-based-standards] (PRIi64): Likewise.
19421         [C99-based-standards] (PRIo64): Likewise.
19422         [C99-based-standards] (PRIu64): Likewise.
19423         [C99-based-standards] (PRIx64): Likewise.
19424         [C99-based-standards] (PRIX64): Likewise.
19425         [C99-based-standards] (SCNd64): Likewise.
19426         [C99-based-standards] (SCNi64): Likewise.
19427         [C99-based-standards] (SCNo64): Likewise.
19428         [C99-based-standards] (SCNu64): Likewise.
19429         [C99-based-standards] (SCNx64): Likewise.
19430         [C99-based-standards] (PRIdLEAST64): Likewise.
19431         [C99-based-standards] (PRIiLEAST64): Likewise.
19432         [C99-based-standards] (PRIoLEAST64): Likewise.
19433         [C99-based-standards] (PRIuLEAST64): Likewise.
19434         [C99-based-standards] (PRIxLEAST64): Likewise.
19435         [C99-based-standards] (PRIXLEAST64): Likewise.
19436         [C99-based-standards] (SCNdLEAST64): Likewise.
19437         [C99-based-standards] (SCNiLEAST64): Likewise.
19438         [C99-based-standards] (SCNoLEAST64): Likewise.
19439         [C99-based-standards] (SCNuLEAST64): Likewise.
19440         [C99-based-standards] (SCNxLEAST64): Likewise.
19441         [C99-based-standards] (PRIdFAST64): Likewise.
19442         [C99-based-standards] (PRIiFAST64): Likewise.
19443         [C99-based-standards] (PRIoFAST64): Likewise.
19444         [C99-based-standards] (PRIuFAST64): Likewise.
19445         [C99-based-standards] (PRIxFAST64): Likewise.
19446         [C99-based-standards] (PRIXFAST64): Likewise.
19447         [C99-based-standards] (SCNdFAST64): Likewise.
19448         [C99-based-standards] (SCNiFAST64): Likewise.
19449         [C99-based-standards] (SCNoFAST64): Likewise.
19450         [C99-based-standards] (SCNuFAST64): Likewise.
19451         [C99-based-standards] (SCNxFAST64): Likewise.
19452         [C99-based-standards] (PRIdMAX): Likewise.
19453         [C99-based-standards] (PRIiMAX): Likewise.
19454         [C99-based-standards] (PRIoMAX): Likewise.
19455         [C99-based-standards] (PRIuMAX): Likewise.
19456         [C99-based-standards] (PRIxMAX): Likewise.
19457         [C99-based-standards] (PRIXMAX): Likewise.
19458         [C99-based-standards] (SCNdMAX): Likewise.
19459         [C99-based-standards] (SCNiMAX): Likewise.
19460         [C99-based-standards] (SCNoMAX): Likewise.
19461         [C99-based-standards] (SCNuMAX): Likewise.
19462         [C99-based-standards] (SCNxMAX): Likewise.
19463         [C99-based-standards] (PRIdPTR): Likewise.
19464         [C99-based-standards] (PRIiPTR): Likewise.
19465         [C99-based-standards] (PRIoPTR): Likewise.
19466         [C99-based-standards] (PRIuPTR): Likewise.
19467         [C99-based-standards] (PRIxPTR): Likewise.
19468         [C99-based-standards] (PRIXPTR): Likewise.
19469         [C99-based-standards] (SCNdPTR): Likewise.
19470         [C99-based-standards] (SCNiPTR): Likewise.
19471         [C99-based-standards] (SCNoPTR): Likewise.
19472         [C99-based-standards] (SCNuPTR): Likewise.
19473         [C99-based-standards] (SCNxPTR): Likewise.
19474         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
19475         allow.
19476         * conform/data/stdint.h-data: Update comments to clarify
19477         requirements.
19478         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
19479         type.
19480         [C99-based standards] (INT8_MAX): Likewise.
19481         [C99-based standards] (INT16_MIN): Likewise.
19482         [C99-based standards] (INT16_MAX): Likewise.
19483         [C99-based standards] (INT32_MIN): Likewise.
19484         [C99-based standards] (INT32_MAX): Likewise.
19485         [C99-based standards] (INT64_MIN): Likewise.
19486         [C99-based standards] (INT64_MAX): Likewise.
19487         [C99-based standards] (UINT8_MAX): Likewise.
19488         [C99-based standards] (UINT16_MAX): Likewise.
19489         [C99-based standards] (UINT32_MAX): Likewise.
19490         [C99-based standards] (UINT64_MAX): Likewise.
19491         [C99-based standards] (INT_LEAST8_MIN): Likewise.
19492         [C99-based standards] (INT_LEAST8_MAX): Likewise.
19493         [C99-based standards] (INT_LEAST16_MIN): Likewise.
19494         [C99-based standards] (INT_LEAST16_MAX): Likewise.
19495         [C99-based standards] (INT_LEAST32_MIN): Likewise.
19496         [C99-based standards] (INT_LEAST32_MAX): Likewise.
19497         [C99-based standards] (INT_LEAST64_MIN): Likewise.
19498         [C99-based standards] (INT_LEAST64_MAX): Likewise.
19499         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
19500         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
19501         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
19502         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
19503         [C99-based standards] (INT_FAST8_MIN): Likewise.
19504         [C99-based standards] (INT_FAST8_MAX): Likewise.
19505         [C99-based standards] (INT_FAST16_MIN): Likewise.
19506         [C99-based standards] (INT_FAST16_MAX): Likewise.
19507         [C99-based standards] (INT_FAST32_MIN): Likewise.
19508         [C99-based standards] (INT_FAST32_MAX): Likewise.
19509         [C99-based standards] (INT_FAST64_MIN): Likewise.
19510         [C99-based standards] (INT_FAST64_MAX): Likewise.
19511         [C99-based standards] (UINT_FAST8_MAX): Likewise.
19512         [C99-based standards] (UINT_FAST16_MAX): Likewise.
19513         [C99-based standards] (UINT_FAST32_MAX): Likewise.
19514         [C99-based standards] (UINT_FAST64_MAX): Likewise.
19515         [C99-based standards] (INTPTR_MIN): Likewise.
19516         [C99-based standards] (INTPTR_MAX): Likewise.
19517         [C99-based standards] (UINTPTR_MAX): Likewise.
19518         [C99-based standards] (INTMAX_MIN): Likewise.
19519         [C99-based standards] (INTMAX_MAX): Likewise.
19520         [C99-based standards] (UINTMAX_MAX): Likewise.
19521         [C99-based standards] (PTRDIFF_MIN): Likewise.
19522         [C99-based standards] (PTRDIFF_MAX): Likewise.
19523         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
19524         [C99-based standards] (SIZE_MAX): Likewise.
19525         [C99-based standards] (WCHAR_MAX): Likewise.
19526         [C99-based standards] (WINT_MAX): Likewise.
19527         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
19528         constraint on value.
19529         [C99-based standards] (WCHAR_MIN): Likewise.
19530         [C99-based standards] (WINT_MIN): Likewise.
19531         [C99-based standards] (*_t): Allow.
19532         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
19533         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
19534         Include math.h-data and complex.h-data.  Remove all expectations
19535         of math.h and complex.h contents.
19536         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
19537         at end of line.
19538         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
19539         (struct tm): Expect tag.
19540         [C99-based-standards] (wcstof): Expect function.
19541         [C99-based-standards] (wcstold): Likewise.
19542         [C99-based-standards] (wcstoll): Likewise.
19543         [C99-based-standards] (wcstoull): Likewise.
19544         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
19545         macro-int-constant.  Specify type.
19546         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
19547         constraint on value.
19548         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19549         Specify type.
19550         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
19551         Specify value.
19552         [ISO C standards]: Do not allow headers.
19553         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
19554         wcs[abcdefghijklmnopqrstuvwxyz]*.
19555         [ISO C standards] (*_t): Do not allow.
19556         * conform/data/wctype.h-data [C99-based standards] (iswblank):
19557         Expect function.
19558         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
19559         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
19560         Specify type.
19561         [ISO C standards]: Do not allow headers.
19562         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
19563         is[abcdefghijklmnopqrstuvwxyz]*.
19564         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
19565         to[abcdefghijklmnopqrstuvwxyz]*.
19566         [ISO C standards] (*_t): Do not allow.
19567         * conform/data/stdalign.h-data: New file.
19568         * conform/data/stdbool.h-data: Likewise.
19569         * conform/data/stdnoreturn.h-data: Likewise.
19571 2012-11-07  Roland McGrath  <roland@hack.frob.com>
19573         [BZ #14815]
19574         * manual/filesys.texi (Directory Entries): Typo fix.
19575         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
19577 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19579         * elf/elf.h (EM_AARCH64): New macro.
19580         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
19581         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
19582         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
19583         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
19584         (R_AARCH64_TLSDESC): Likewise.
19585         (NT_ARM_TLS): Likewise.
19586         (NT_ARM_HW_BREAK): Likewise.
19587         (NT_ARM_HW_WATCH): Likewise.
19589 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19591         [BZ #14811]
19592         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
19593         (__ieee754_powl): Saturate nonzero exponents with absolute value
19594         below 0x1p-79 to +/- 0x1p-79.
19595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
19596         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
19597         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
19598         nonzero exponents with absolute value below 0x1p-32 to +/-
19599         0x1p-32.
19600         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
19601         (__ieee754_powl): Saturate nonzero exponents with absolute value
19602         below 0x1p-79 to +/- 0x1p-79.
19603         * math/libm-test.inc (pow_test): Add more tests.
19605 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19607         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
19608         _dl_s390_cap_flags with kernel. Increase string length.
19609         (_dl_s390_platforms): Add z196 and zEC12.
19611 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19613         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
19614         Change XOPEN21K to XOPEN2K.
19616 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
19618         * string/memmove.c: Use memcpy when possible.
19620 2012-11-06  Andreas Jaeger  <aj@suse.de>
19622         * po/eo.po: Update from translation team.
19624 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
19626         [BZ #14793]
19627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
19628         exponent and small x and y exponents, scale x or y up.  Increase
19629         by 2 the exponent used in scaling up.
19630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19632         * math/libm-test.inc (fma_test): Add more tests.
19633         (fma_test_towardzero): Likewise.
19634         (fma_test_downward): Likewise.
19635         (fma_test_upward): Likewise.
19637 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
19639         [BZ #14805]
19640         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19641         fenv_t *.
19643         [BZ #14801]
19644         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19645         namespace for names of struct fields.
19646         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19647         fenv_t fields.
19648         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19649         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19651 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19653         [BZ #3665]
19654         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19656 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19658         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19659         PTR_DEMANGLE.
19661         [BZ #5246]
19662         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19663         PTR_DEMANGLE.
19665 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
19667         [BZ #14797]
19668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19669         definitely overflow as x * y not x * y + z.
19670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19672         * math/libm-test.inc (fma_test): Add more tests.
19673         (fma_test_towardzero): Likewise.
19674         (fma_test_downward): Likewise.
19675         (fma_test_upward): Likewise.
19677 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
19679         [BZ #157]
19681         * include/stub-tag.h: Remove file.
19682         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19683         '#include' of it.
19684         * manual/maint.texi (Porting): Don't reference it.
19685         * Makerules ($(objpfx)stubs): Likewise.
19686         * dirent/closedir.c: Don't include <stub-tag.h>.
19687         * dirent/dirfd.c: Likewise.
19688         * dirent/fdopendir.c: Likewise.
19689         * dirent/getdents.c: Likewise.
19690         * dirent/getdents64.c: Likewise.
19691         * dirent/opendir.c: Likewise.
19692         * dirent/readdir.c: Likewise.
19693         * dirent/readdir64.c: Likewise.
19694         * dirent/readdir64_r.c: Likewise.
19695         * dirent/readdir_r.c: Likewise.
19696         * dirent/rewinddir.c: Likewise.
19697         * dirent/seekdir.c: Likewise.
19698         * dirent/telldir.c: Likewise.
19699         * gmon/profil.c: Likewise.
19700         * grp/setgroups.c: Likewise.
19701         * inet/if_index.c: Likewise.
19702         * io/access.c: Likewise.
19703         * io/chdir.c: Likewise.
19704         * io/chmod.c: Likewise.
19705         * io/chown.c: Likewise.
19706         * io/close.c: Likewise.
19707         * io/dup.c: Likewise.
19708         * io/dup2.c: Likewise.
19709         * io/dup3.c: Likewise.
19710         * io/euidaccess.c: Likewise.
19711         * io/faccessat.c: Likewise.
19712         * io/fchdir.c: Likewise.
19713         * io/fchmod.c: Likewise.
19714         * io/fchmodat.c: Likewise.
19715         * io/fchown.c: Likewise.
19716         * io/fchownat.c: Likewise.
19717         * io/fcntl.c: Likewise.
19718         * io/flock.c: Likewise.
19719         * io/fstatfs.c: Likewise.
19720         * io/fstatfs64.c: Likewise.
19721         * io/fstatvfs.c: Likewise.
19722         * io/fstatvfs64.c: Likewise.
19723         * io/futimens.c: Likewise.
19724         * io/fxstat.c: Likewise.
19725         * io/fxstat64.c: Likewise.
19726         * io/fxstatat.c: Likewise.
19727         * io/fxstatat64.c: Likewise.
19728         * io/getcwd.c: Likewise.
19729         * io/isatty.c: Likewise.
19730         * io/lchmod.c: Likewise.
19731         * io/lchown.c: Likewise.
19732         * io/link.c: Likewise.
19733         * io/linkat.c: Likewise.
19734         * io/lseek.c: Likewise.
19735         * io/lseek64.c: Likewise.
19736         * io/lxstat64.c: Likewise.
19737         * io/mkdir.c: Likewise.
19738         * io/mkdirat.c: Likewise.
19739         * io/mkfifo.c: Likewise.
19740         * io/mkfifoat.c: Likewise.
19741         * io/open.c: Likewise.
19742         * io/open64.c: Likewise.
19743         * io/openat.c: Likewise.
19744         * io/openat64.c: Likewise.
19745         * io/pipe.c: Likewise.
19746         * io/pipe2.c: Likewise.
19747         * io/poll.c: Likewise.
19748         * io/posix_fadvise.c: Likewise.
19749         * io/posix_fadvise64.c: Likewise.
19750         * io/posix_fallocate.c: Likewise.
19751         * io/posix_fallocate64.c: Likewise.
19752         * io/read.c: Likewise.
19753         * io/readlink.c: Likewise.
19754         * io/readlinkat.c: Likewise.
19755         * io/rmdir.c: Likewise.
19756         * io/sendfile.c: Likewise.
19757         * io/sendfile64.c: Likewise.
19758         * io/statfs.c: Likewise.
19759         * io/statfs64.c: Likewise.
19760         * io/statvfs.c: Likewise.
19761         * io/statvfs64.c: Likewise.
19762         * io/symlink.c: Likewise.
19763         * io/symlinkat.c: Likewise.
19764         * io/ttyname.c: Likewise.
19765         * io/ttyname_r.c: Likewise.
19766         * io/umask.c: Likewise.
19767         * io/unlink.c: Likewise.
19768         * io/unlinkat.c: Likewise.
19769         * io/utime.c: Likewise.
19770         * io/utimensat.c: Likewise.
19771         * io/write.c: Likewise.
19772         * io/xmknod.c: Likewise.
19773         * io/xmknodat.c: Likewise.
19774         * io/xstat.c: Likewise.
19775         * io/xstat64.c: Likewise.
19776         * login/getpt.c: Likewise.
19777         * login/grantpt.c: Likewise.
19778         * login/unlockpt.c: Likewise.
19779         * math/e_acoshl.c: Likewise.
19780         * math/e_acosl.c: Likewise.
19781         * math/e_asinl.c: Likewise.
19782         * math/e_atan2l.c: Likewise.
19783         * math/e_atanhl.c: Likewise.
19784         * math/e_coshl.c: Likewise.
19785         * math/e_expl.c: Likewise.
19786         * math/e_fmodl.c: Likewise.
19787         * math/e_gammal_r.c: Likewise.
19788         * math/e_hypotl.c: Likewise.
19789         * math/e_j0l.c: Likewise.
19790         * math/e_j1l.c: Likewise.
19791         * math/e_jnl.c: Likewise.
19792         * math/e_lgammal_r.c: Likewise.
19793         * math/e_log10l.c: Likewise.
19794         * math/e_log2l.c: Likewise.
19795         * math/e_logl.c: Likewise.
19796         * math/e_powl.c: Likewise.
19797         * math/e_rem_pio2l.c: Likewise.
19798         * math/e_sinhl.c: Likewise.
19799         * math/e_sqrtl.c: Likewise.
19800         * math/fclrexcpt.c: Likewise.
19801         * math/fedisblxcpt.c: Likewise.
19802         * math/feenablxcpt.c: Likewise.
19803         * math/fegetenv.c: Likewise.
19804         * math/fegetexcept.c: Likewise.
19805         * math/fegetround.c: Likewise.
19806         * math/feholdexcpt.c: Likewise.
19807         * math/fesetenv.c: Likewise.
19808         * math/fesetround.c: Likewise.
19809         * math/feupdateenv.c: Likewise.
19810         * math/fgetexcptflg.c: Likewise.
19811         * math/fraiseexcpt.c: Likewise.
19812         * math/fsetexcptflg.c: Likewise.
19813         * math/ftestexcept.c: Likewise.
19814         * math/k_cosl.c: Likewise.
19815         * math/k_rem_pio2l.c: Likewise.
19816         * math/k_sinl.c: Likewise.
19817         * math/k_tanl.c: Likewise.
19818         * math/s_asinhl.c: Likewise.
19819         * math/s_atanl.c: Likewise.
19820         * math/s_cbrtl.c: Likewise.
19821         * math/s_erfl.c: Likewise.
19822         * math/s_expm1l.c: Likewise.
19823         * math/s_log1pl.c: Likewise.
19824         * math/s_tanhl.c: Likewise.
19825         * misc/acct.c: Likewise.
19826         * misc/brk.c: Likewise.
19827         * misc/chflags.c: Likewise.
19828         * misc/chroot.c: Likewise.
19829         * misc/fchflags.c: Likewise.
19830         * misc/fgetxattr.c: Likewise.
19831         * misc/flistxattr.c: Likewise.
19832         * misc/fremovexattr.c: Likewise.
19833         * misc/fsetxattr.c: Likewise.
19834         * misc/fsync.c: Likewise.
19835         * misc/ftruncate.c: Likewise.
19836         * misc/futimes.c: Likewise.
19837         * misc/futimesat.c: Likewise.
19838         * misc/getdomain.c: Likewise.
19839         * misc/getdtsz.c: Likewise.
19840         * misc/gethostid.c: Likewise.
19841         * misc/gethostname.c: Likewise.
19842         * misc/getloadavg.c: Likewise.
19843         * misc/getpagesize.c: Likewise.
19844         * misc/getsysstats.c: Likewise.
19845         * misc/getxattr.c: Likewise.
19846         * misc/gtty.c: Likewise.
19847         * misc/ioctl.c: Likewise.
19848         * misc/lgetxattr.c: Likewise.
19849         * misc/listxattr.c: Likewise.
19850         * misc/llistxattr.c: Likewise.
19851         * misc/lremovexattr.c: Likewise.
19852         * misc/lsetxattr.c: Likewise.
19853         * misc/lutimes.c: Likewise.
19854         * misc/madvise.c: Likewise.
19855         * misc/mincore.c: Likewise.
19856         * misc/mlock.c: Likewise.
19857         * misc/mlockall.c: Likewise.
19858         * misc/mmap.c: Likewise.
19859         * misc/mprotect.c: Likewise.
19860         * misc/msync.c: Likewise.
19861         * misc/munlock.c: Likewise.
19862         * misc/munlockall.c: Likewise.
19863         * misc/munmap.c: Likewise.
19864         * misc/preadv.c: Likewise.
19865         * misc/preadv64.c: Likewise.
19866         * misc/ptrace.c: Likewise.
19867         * misc/pwritev.c: Likewise.
19868         * misc/pwritev64.c: Likewise.
19869         * misc/readv.c: Likewise.
19870         * misc/reboot.c: Likewise.
19871         * misc/remap_file_pages.c: Likewise.
19872         * misc/removexattr.c: Likewise.
19873         * misc/revoke.c: Likewise.
19874         * misc/select.c: Likewise.
19875         * misc/setdomain.c: Likewise.
19876         * misc/setegid.c: Likewise.
19877         * misc/seteuid.c: Likewise.
19878         * misc/sethostid.c: Likewise.
19879         * misc/sethostname.c: Likewise.
19880         * misc/setregid.c: Likewise.
19881         * misc/setreuid.c: Likewise.
19882         * misc/setxattr.c: Likewise.
19883         * misc/sstk.c: Likewise.
19884         * misc/stty.c: Likewise.
19885         * misc/swapoff.c: Likewise.
19886         * misc/swapon.c: Likewise.
19887         * misc/sync.c: Likewise.
19888         * misc/syncfs.c: Likewise.
19889         * misc/syscall.c: Likewise.
19890         * misc/truncate.c: Likewise.
19891         * misc/ualarm.c: Likewise.
19892         * misc/usleep.c: Likewise.
19893         * misc/ustat.c: Likewise.
19894         * misc/utimes.c: Likewise.
19895         * misc/vhangup.c: Likewise.
19896         * misc/writev.c: Likewise.
19897         * posix/_exit.c: Likewise.
19898         * posix/alarm.c: Likewise.
19899         * posix/execve.c: Likewise.
19900         * posix/fexecve.c: Likewise.
19901         * posix/fork.c: Likewise.
19902         * posix/fpathconf.c: Likewise.
19903         * posix/getaddrinfo.c: Likewise.
19904         * posix/getegid.c: Likewise.
19905         * posix/geteuid.c: Likewise.
19906         * posix/getgid.c: Likewise.
19907         * posix/getgroups.c: Likewise.
19908         * posix/getlogin.c: Likewise.
19909         * posix/getlogin_r.c: Likewise.
19910         * posix/getpgid.c: Likewise.
19911         * posix/getpid.c: Likewise.
19912         * posix/getppid.c: Likewise.
19913         * posix/getresgid.c: Likewise.
19914         * posix/getresuid.c: Likewise.
19915         * posix/getsid.c: Likewise.
19916         * posix/getuid.c: Likewise.
19917         * posix/glob64.c: Likewise.
19918         * posix/nanosleep.c: Likewise.
19919         * posix/pathconf.c: Likewise.
19920         * posix/pause.c: Likewise.
19921         * posix/posix_madvise.c: Likewise.
19922         * posix/pread.c: Likewise.
19923         * posix/pread64.c: Likewise.
19924         * posix/pwrite.c: Likewise.
19925         * posix/pwrite64.c: Likewise.
19926         * posix/sched_getaffinity.c: Likewise.
19927         * posix/sched_getp.c: Likewise.
19928         * posix/sched_gets.c: Likewise.
19929         * posix/sched_primax.c: Likewise.
19930         * posix/sched_primin.c: Likewise.
19931         * posix/sched_rr_gi.c: Likewise.
19932         * posix/sched_setaffinity.c: Likewise.
19933         * posix/sched_setp.c: Likewise.
19934         * posix/sched_sets.c: Likewise.
19935         * posix/sched_yield.c: Likewise.
19936         * posix/setgid.c: Likewise.
19937         * posix/setlogin.c: Likewise.
19938         * posix/setpgid.c: Likewise.
19939         * posix/setresgid.c: Likewise.
19940         * posix/setresuid.c: Likewise.
19941         * posix/setsid.c: Likewise.
19942         * posix/setuid.c: Likewise.
19943         * posix/sleep.c: Likewise.
19944         * posix/spawni.c: Likewise.
19945         * posix/sysconf.c: Likewise.
19946         * posix/times.c: Likewise.
19947         * posix/wait.c: Likewise.
19948         * posix/wait3.c: Likewise.
19949         * posix/wait4.c: Likewise.
19950         * posix/waitpid.c: Likewise.
19951         * resolv/gai_sigqueue.c: Likewise.
19952         * resource/getpriority.c: Likewise.
19953         * resource/getrlimit.c: Likewise.
19954         * resource/getrusage.c: Likewise.
19955         * resource/nice.c: Likewise.
19956         * resource/setpriority.c: Likewise.
19957         * resource/setrlimit.c: Likewise.
19958         * resource/ulimit.c: Likewise.
19959         * rt/aio_cancel.c: Likewise.
19960         * rt/aio_fsync.c: Likewise.
19961         * rt/aio_read.c: Likewise.
19962         * rt/aio_sigqueue.c: Likewise.
19963         * rt/aio_suspend.c: Likewise.
19964         * rt/aio_write.c: Likewise.
19965         * rt/clock_getres.c: Likewise.
19966         * rt/clock_gettime.c: Likewise.
19967         * rt/clock_nanosleep.c: Likewise.
19968         * rt/clock_settime.c: Likewise.
19969         * rt/lio_listio.c: Likewise.
19970         * rt/mq_close.c: Likewise.
19971         * rt/mq_getattr.c: Likewise.
19972         * rt/mq_notify.c: Likewise.
19973         * rt/mq_open.c: Likewise.
19974         * rt/mq_receive.c: Likewise.
19975         * rt/mq_send.c: Likewise.
19976         * rt/mq_setattr.c: Likewise.
19977         * rt/mq_timedreceive.c: Likewise.
19978         * rt/mq_timedsend.c: Likewise.
19979         * rt/mq_unlink.c: Likewise.
19980         * rt/shm_open.c: Likewise.
19981         * rt/shm_unlink.c: Likewise.
19982         * rt/timer_create.c: Likewise.
19983         * rt/timer_delete.c: Likewise.
19984         * rt/timer_getoverr.c: Likewise.
19985         * rt/timer_gettime.c: Likewise.
19986         * rt/timer_settime.c: Likewise.
19987         * setjmp/__longjmp.c: Likewise.
19988         * setjmp/setjmp.c: Likewise.
19989         * signal/kill.c: Likewise.
19990         * signal/killpg.c: Likewise.
19991         * signal/raise.c: Likewise.
19992         * signal/sigaction.c: Likewise.
19993         * signal/sigaltstack.c: Likewise.
19994         * signal/sigblock.c: Likewise.
19995         * signal/sigignore.c: Likewise.
19996         * signal/sigintr.c: Likewise.
19997         * signal/signal.c: Likewise.
19998         * signal/sigpause.c: Likewise.
19999         * signal/sigpending.c: Likewise.
20000         * signal/sigqueue.c: Likewise.
20001         * signal/sigreturn.c: Likewise.
20002         * signal/sigset.c: Likewise.
20003         * signal/sigsetmask.c: Likewise.
20004         * signal/sigstack.c: Likewise.
20005         * signal/sigsuspend.c: Likewise.
20006         * signal/sigtimedwait.c: Likewise.
20007         * signal/sigvec.c: Likewise.
20008         * signal/sigwait.c: Likewise.
20009         * signal/sigwaitinfo.c: Likewise.
20010         * signal/sysv_signal.c: Likewise.
20011         * socket/accept.c: Likewise.
20012         * socket/accept4.c: Likewise.
20013         * socket/bind.c: Likewise.
20014         * socket/connect.c: Likewise.
20015         * socket/getpeername.c: Likewise.
20016         * socket/getsockname.c: Likewise.
20017         * socket/getsockopt.c: Likewise.
20018         * socket/isfdtype.c: Likewise.
20019         * socket/listen.c: Likewise.
20020         * socket/recv.c: Likewise.
20021         * socket/recvfrom.c: Likewise.
20022         * socket/recvmsg.c: Likewise.
20023         * socket/send.c: Likewise.
20024         * socket/sendmsg.c: Likewise.
20025         * socket/sendto.c: Likewise.
20026         * socket/setsockopt.c: Likewise.
20027         * socket/shutdown.c: Likewise.
20028         * socket/sockatmark.c: Likewise.
20029         * socket/socket.c: Likewise.
20030         * socket/socketpair.c: Likewise.
20031         * stdio-common/ctermid.c: Likewise.
20032         * stdio-common/cuserid.c: Likewise.
20033         * stdio-common/remove.c: Likewise.
20034         * stdio-common/rename.c: Likewise.
20035         * stdio-common/renameat.c: Likewise.
20036         * stdio-common/tempname.c: Likewise.
20037         * stdlib/getcontext.c: Likewise.
20038         * stdlib/makecontext.c: Likewise.
20039         * stdlib/setcontext.c: Likewise.
20040         * stdlib/swapcontext.c: Likewise.
20041         * stdlib/system.c: Likewise.
20042         * streams/fattach.c: Likewise.
20043         * streams/fdetach.c: Likewise.
20044         * streams/getmsg.c: Likewise.
20045         * streams/getpmsg.c: Likewise.
20046         * streams/putmsg.c: Likewise.
20047         * streams/putpmsg.c: Likewise.
20048         * sysdeps/unix/bsd/getpt.c: Likewise.
20049         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20050         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20051         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20053         Likewise.
20054         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20055         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20056         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20057         * sysvipc/msgctl.c: Likewise.
20058         * sysvipc/msgget.c: Likewise.
20059         * sysvipc/msgrcv.c: Likewise.
20060         * sysvipc/msgsnd.c: Likewise.
20061         * sysvipc/semctl.c: Likewise.
20062         * sysvipc/semget.c: Likewise.
20063         * sysvipc/semop.c: Likewise.
20064         * sysvipc/semtimedop.c: Likewise.
20065         * sysvipc/shmat.c: Likewise.
20066         * sysvipc/shmctl.c: Likewise.
20067         * sysvipc/shmdt.c: Likewise.
20068         * sysvipc/shmget.c: Likewise.
20069         * termios/tcdrain.c: Likewise.
20070         * termios/tcflow.c: Likewise.
20071         * termios/tcflush.c: Likewise.
20072         * termios/tcgetattr.c: Likewise.
20073         * termios/tcgetpgrp.c: Likewise.
20074         * termios/tcsendbrk.c: Likewise.
20075         * termios/tcsetattr.c: Likewise.
20076         * termios/tcsetpgrp.c: Likewise.
20077         * time/adjtime.c: Likewise.
20078         * time/clock.c: Likewise.
20079         * time/getitimer.c: Likewise.
20080         * time/gettimeofday.c: Likewise.
20081         * time/setitimer.c: Likewise.
20082         * time/settimeofday.c: Likewise.
20083         * time/stime.c: Likewise.
20084         * time/time.c: Likewise.
20086 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20088         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20089         /usr/old/bin.
20091         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20092         instead of spaces.
20093         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20095 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #14796]
20098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20099         FE_TONEAREST before applying Dekker multiplication and Knuth
20100         addition.  Clear inexact exceptions and check for exact zero
20101         results afterwards.
20102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20103         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20105         * math/libm-test.inc (fma_test): Add more tests.
20106         (fma_test_towardzero): Likewise.
20107         (fma_test_downward): Likewise.
20108         (fma_test_upward): Likewise.
20109         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20110         function.
20111         (libc_fesetround): New macro.
20112         (libc_fesetroundf): Likewise.
20113         (libc_fesetroundl): Likewise.
20114         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20115         function.
20116         (libc_fesetround_387): Likewise.
20117         (libc_fesetroundf): New macro.
20118         (libc_fesetround): Likewise.
20119         (libc_fesetroundl): Likewise.
20120         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20121         function.
20122         (libc_fesetroundf): New macro.
20123         (libc_fesetround): Likewise.
20124         (libc_fesetroundl): Likewise.
20125         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20126         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20127         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20128         libm_hidden_ver.
20129         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20130         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20131         libm_hidden_def.
20132         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20133         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20134         libm_hidden_ver.
20135         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20136         libm_hidden_def.
20138         [BZ #3439]
20139         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20140         integer constant usable in #if and use that to give value to enum
20141         constant.
20142         (FE_DIVBYZERO): Likewise.
20143         (FE_UNDERFLOW): Likewise.
20144         (FE_OVERFLOW): Likewise.
20145         (FE_INVALID): Likewise.
20146         (FE_INVALID_SNAN): Likewise.
20147         (FE_INVALID_ISI): Likewise.
20148         (FE_INVALID_IDI): Likewise.
20149         (FE_INVALID_ZDZ): Likewise.
20150         (FE_INVALID_IMZ): Likewise.
20151         (FE_INVALID_COMPARE): Likewise.
20152         (FE_INVALID_SOFTWARE): Likewise.
20153         (FE_INVALID_SQRT): Likewise.
20154         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20155         (FE_TONEAREST): Likewise.
20156         (FE_TOWARDZERO): Likewise.
20157         (FE_UPWARD): Likewise.
20158         (FE_DOWNWARD): Likewise.
20159         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20160         (FE_DIVBYZERO): Likewise.
20161         (FE_OVERFLOW): Likewise.
20162         (FE_UNDERFLOW): Likewise.
20163         (FE_INEXACT): Likewise.
20164         (FE_TONEAREST): Likewise.
20165         (FE_DOWNWARD): Likewise.
20166         (FE_UPWARD): Likewise.
20167         (FE_TOWARDZERO): Likewise.
20168         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20169         (FE_UNDERFLOW): Likewise.
20170         (FE_OVERFLOW): Likewise.
20171         (FE_DIVBYZERO): Likewise.
20172         (FE_INVALID): Likewise.
20173         (FE_TONEAREST): Likewise.
20174         (FE_TOWARDZERO): Likewise.
20175         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20176         (FE_OVERFLOW): Likewise.
20177         (FE_UNDERFLOW): Likewise.
20178         (FE_DIVBYZERO): Likewise.
20179         (FE_INEXACT): Likewise.
20180         (FE_TONEAREST): Likewise.
20181         (FE_TOWARDZERO): Likewise.
20182         (FE_UPWARD): Likewise.
20183         (FE_DOWNWARD): Likewise.
20184         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20185         (FE_DIVBYZERO): Likewise.
20186         (FE_OVERFLOW): Likewise.
20187         (FE_UNDERFLOW): Likewise.
20188         (FE_INEXACT): Likewise.
20189         (FE_TONEAREST): Likewise.
20190         (FE_DOWNWARD): Likewise.
20191         (FE_UPWARD): Likewise.
20192         (FE_TOWARDZERO): Likewise.
20194 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20196         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20198 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20200         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20201         commands.  Quote $PWD.
20202         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20203         -x" by "export".
20204         (remove_newlines): Remove.
20206 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20208         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20209         * stdlib/stdlib.h (atof): Moved to ...
20210         * include/bits/stdlib-float.h: Here.  New file.
20211         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20212         * stdlib/bits/stdlib-float.h: New file.
20213         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20214         -mno-sse -mno-mmx.
20215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20216         <xmmintrin.h>.
20218 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20220         * conform/conformtest.pl (@headers): Add fenv.h.
20221         * conform/data/fenv.h-data: New file.
20222         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20223         include of <math/fenv.h>.
20225         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20226         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20227         && !UNIX98].  Enables tests for XOPEN2K8.
20228         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20229         POSIX2008]: Likewise.
20231         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20232         (struct rusage): Do not expect type or its members.
20234         [BZ #3439]
20235         * math/math.h (FP_NAN): Define macro to integer constant usable in
20236         #if and use that to give value to enum constant.
20237         (FP_INFINITE): Likewise.
20238         (FP_ZERO): Likewise.
20239         (FP_SUBNORMAL): Likewise.
20240         (FP_NORMAL): Likewise.
20242 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20244         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20245         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20246         arguments.
20248 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20250         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20251         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20252         autoconf-time if not.
20253         * configure.in: Remove AC_PREREQ.
20255 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20257         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20258         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20259         of the internal implementation.
20261 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20263         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20264         except include of <misc/sys/syslog.h>.
20266 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20269         function returns with a NULL context exit with zero.
20271 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20273         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20275 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20277         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20278         (run_program_cmd): This.
20279         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20280         (tst_langinfo): New variable.  Use it.
20282 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20284         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20285         floating point opcodes.
20287 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20289         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20290         variable.
20292         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20294         * sysdeps/mach/hurd/powerpc: Remove directory.
20295         * sysdeps/mach/powerpc: Likewise.
20297 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20299         * scripts/check-local-headers.sh: Ignore c++ headers.
20301 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20303         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20304         __libc_cleanup_region_start argument.
20306 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20308         [BZ #14784]
20309         [BZ #14785]
20310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20311         x * y using scaling, not as x * y + z.
20312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20314         * math/libm-test.inc (fma_test): Add more tests.
20315         (fma_test_towardzero): Likewise.
20316         (fma_test_downward): Likewise.
20317         (fma_test_upward): Likewise.
20319 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20321         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20323 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20325         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20326         New variable.
20328 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
20330         * rt/tst-shm.c (worker): Correct checking for mmap failure.
20332 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20335         Fix sort order.
20336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20337         Likewise.
20339 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20342         Fix the order of the list for glibc 2.17.
20343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20344         Likewise.
20346 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20350 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20352         [BZ #14610]
20353         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
20354         for low part of x being zero before using __atanl (y).
20355         * math/libm-test.inc (atan2_test): Add another test.
20357         * manual/install.texi (Configuring and compiling): Document
20358         general use of test-wrapper and test-wrapper-env.
20359         * INSTALL: Regenerated.
20361         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
20362         (__fma): Do not extract and scale down low bits on after-rounding
20363         systems when result rounded to normal precision would have normal
20364         exponent.
20365         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
20366         (__fmal): Do not extract and scale down low bits on after-rounding
20367         systems when result rounded to normal precision would have normal
20368         exponent.
20369         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
20370         (__fmal): Do not extract and scale down low bits on after-rounding
20371         systems when result rounded to normal precision would have normal
20372         exponent.
20373         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
20374         macro.
20375         (fma_test): Add more tests.
20376         (fma_test_towardzero): Likewise.
20377         (fma_test_downward): Likewise.
20378         (fma_test_upward): Likewise.
20380 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
20382         * sysdeps/i386/tininess.h: Renamed to ...
20383         * sysdeps/x86/tininess.h: This.
20384         * sysdeps/x86_64/tininess.h: Removed.
20386 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20388         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
20389         input.  Use $(build-program-cmd).
20390         ($(objpfx)tst-array1-static.out): Likewise.
20391         ($(objpfx)tst-array2.out): Likewise.
20392         ($(objpfx)tst-array3.out): Likewise.
20393         ($(objpfx)tst-array4.out): Likewise.
20394         ($(objpfx)tst-array5.out): Likewise.
20395         ($(objpfx)tst-array5-static.out): Likewise.
20397 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
20399         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
20400         if defined.
20402         * nss/nsswitch.h (nss_interface_function): Provide new
20403         macro for use with NSS functions.
20404         * grp/initgroups.c: Use new macro.
20405         * nss/getXXbyYY.c: Likewise.
20406         * nss/getXXbyYY_r.c: Likewise.
20407         * nss/getXXent.c: Likewise.
20408         * nss/getXXent_r.c: Likewise.
20409         * sysdeps/posix/getaddrinfo.c: Likewise.
20411 2012-10-30  Andreas Jaeger  <aj@suse.de>
20413         * po/ru.po: Update Russion translation from translation project.
20415 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #14152]
20418         [BZ #14783]
20419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
20420         result and shift together with sticky bit instead of replicating
20421         round-to-nearest rounding.
20422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20424         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
20425         missing underflow exceptions.
20426         (fma_test_towardzero): Add more tests.
20427         (fma_test_downward): Likewise.
20428         (fma_test_upward): Likewise.
20430         [BZ #14047]
20431         * sysdeps/generic/tininess.h: New file.
20432         * sysdeps/i386/tininess.h: Likewise.
20433         * sysdeps/sh/tininess.h: Likewise.
20434         * sysdeps/x86_64/tininess.h: Likewise.
20435         * stdlib/tst-strtod-underflow.c: Likewise.
20436         * stdlib/tst-tininess.c: Likewise.
20437         * stdlib/strtod_l.c: Include <tininess.h>.
20438         (round_and_return): Do not set errno for exact underflow cases.
20439         Force an underflow exception when setting errno for underflow.
20440         Determine underflow based on rounding to normal precision if
20441         TININESS_AFTER_ROUNDING.
20442         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
20443         ERANGE for exact underflow cases.
20444         * stdlib/Makefile (tests): Add tst-tininess and
20445         tst-strtod-underflow.
20446         ($(objpfx)tst-tininess): Use $(link-libm).
20447         ($(objpfx)tst-strtod-underflow): Likewise.
20449 2012-10-30  Andreas Jaeger  <aj@suse.de>
20451         [BZ#14767]
20452         * elf/Makefile (tests): Remove conditional for have-initfini-array
20453         since this is now always required and the variable does not exist
20454         anymore.
20455         (tests-static): Likewise.
20456         (modules-names): Likewise.
20458         * po/eo.po: Add Esperanto translation from translation project.
20460         * elf/tst-array1.c (fini_array): Make writeable so that it can be
20461         merged with constructor/destructor.
20462         (init_array): Likewise.
20463         * elf/tst-array2dep.c (fini_array): Likewise.
20464         (init_array): Likewise.
20466 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
20468         * manual/message.texi: Delete @cartouche tags.
20470 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
20472         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
20473         EOPNOTSUPP.
20474         * sysdeps/mach/hurd/fsync.c: Likewise.
20476         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
20477         [_POSIX_REALTIME_SIGNALS]: Change condition to
20478         [_POSIX_REALTIME_SIGNALS > 0].
20480 2012-10-27  Andreas Jaeger  <aj@suse.de>
20482         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
20483         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
20484         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20485         [__WORDSIZE != 64]: Likewise.
20487 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
20489         *  iconvdata/tst-table.sh: Remove ${SHELL}.
20490         *  iconvdata/tst-tables.sh: Likewise.
20492 2012-10-25  David S. Miller  <davem@davemloft.net>
20494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20495         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
20496         of strtoull.
20498         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
20499         ifunc-impl-list.c
20500         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20501         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
20502         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
20503         file.
20505 2012-10-25  Roland McGrath  <roland@hack.frob.com>
20507         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20508         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
20509         __getdirentries.
20511 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20512             Jim Blandy  <jimb@codesourcery.com>
20514         * scripts/cross-test-ssh.sh: New file.
20515         * manual/install.texi (Configuring and compiling): Document use of
20516         cross-test-ssh.sh.
20517         * INSTALL: Regenerated.
20519 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
20521         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
20522         EOPNOTSUPP.
20524 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
20526         * Makeconfig (run-program-prefix): Fix comment.
20528 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20529             Jim Blandy  <jimb@codesourcery.com>
20531         * Makeconfig (test-wrapper): New variable,
20532         (test-wrapper-env): Likewise.
20533         [$(cross-compiling) = yes && $(test-wrapper) != ""]
20534         (run-built-tests): Define to yes.
20535         (run-program-prefix): Use $(test-wrapper).
20536         (built-program-cmd): Likewise.
20537         * Rules (make-test-out): Use $(test-wrapper-env) and
20538         $(host-built-program-cmd).
20539         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
20540         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
20541         tst-pathopt.sh.
20542         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
20543         $(test-wrapper-env) to tst-rtld-load-self.sh.
20544         ($(objpfx)order2.out): Use $(test-wrapper).
20545         ($(objpfx)tst-initorder.out): Likewise.
20546         ($(objpfx)tst-initorder2.out): Likewise.
20547         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
20548         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
20549         (test_wrapper_env): New variable.  Use it to run ld.so.
20550         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
20551         Use it to run ld.so.
20552         (test_wrapper_env): Likewise.
20553         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
20554         $(test-wrapper) to run-iconv-test.sh.
20555         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
20556         (ICONV): Use $test_wrapper.
20557         * posix/Makefile ($(objpfx)globtest.out): Pass
20558         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
20559         globtest.sh, not $(run-program-prefix).
20560         * posix/globtest.sh (run_via_rtld_prefix): New variable.
20561         (test_wrapper): Likewise.
20562         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
20563         set together with run_via_rtld_prefix.
20564         (run_program_prefix): Define in terms of test_wrapper and
20565         run_via_rtld_prefix.
20567 2012-10-24  Roland McGrath  <roland@hack.frob.com>
20569         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
20570         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
20571         Targets removed.
20573         [BZ #14743]
20574         * include/time.h: Remove librt_hidden_proto (clock_gettime).
20575         Declare __clock_getres, __clock_gettime, __clock_settime,
20576         __clock_nanosleep, and __clock_getcpuclockid.
20577         * rt/clock_gettime.c: Define __clock_gettime as an alias.
20578         Remove librt_hidden_def (clock_gettime).
20579         * sysdeps/unix/clock_gettime.c: Likewise.
20580         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
20581         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20582         * rt/clock_getres.c: Define __clock_getres as an alias.
20583         * sysdeps/posix/clock_getres.c: Likewise.
20584         * rt/clock_settime.c: Define __clock_settime as an alias.
20585         * sysdeps/unix/clock_settime.c: Likewise.
20586         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
20587         * sysdeps/unix/clock_nanosleep.c: Likewise.
20588         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20589         * rt/clock-compat.c: New file.
20590         * rt/Makefile (librt-routines): Add clock-compat and move
20591         $(clock-routines) to ...
20592         (routines): ... here, new variable.
20593         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
20594         Don't add get_clockfreq here.
20595         * rt/Versions (libc: GLIBC_2.17): New version set.
20596         Add clock_* symbols here.
20597         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
20598         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
20599         (GLIBC_2.17): Add clock_* symbols.
20600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20602         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20604         Likewise.
20605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20606         Likewise.
20607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20611         * NEWS: Mention the move.
20613         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20614         Use __open, __read, __close rather than their public counterparts.
20615         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20616         (__get_clockfreq_via_cpuinfo): Likewise.
20617         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
20618         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
20620         * config.h.in (HAVE_IFUNC): New #undef.
20621         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
20622         was successful.
20623         * configure: Regenerated.
20625 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20627         * configure.in: Move READELF check to start of file.
20628         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
20629         libc_cv_asm_gnu_indirect_function in the process.
20630         * configure: Regenerated.
20632 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
20634         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20635         send the output to /dev/null.
20636         (libc_cv_cc_with_libunwind): Likewise.
20637         (libc_cv_as_noexecstack): Likewise.
20638         * configure: Regenerate.
20640 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
20642         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20644         * posix/globtest.sh (TMPDIR): Do not set.
20645         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20646         (testout): Likewise.
20648 2012-10-24  Andreas Jaeger  <aj@suse.de>
20650         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20651         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20652         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20653         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20654         posix_fadvise64, posix_fallocate64.
20656         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20657         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20658         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20659         Likewise.
20660         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20661         Likewise.
20662         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20665         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20666         <bits/fcntl-linux.h>.
20667         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20670         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20671         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20672         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20673         [__WORDSIZE != 64]: Likewise.
20675 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20677         * Makeconfig (run-built-tests): New variable.
20678         * Rules [$(cross-compiling) = yes]: Change condition to
20679         [$(run-built-tests) = no].
20680         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20681         to [$(run-built-tests) = yes].
20682         * elf/Makefile [$(cross-compiling) = no]: Likewise
20683         * grp/Makefile [$(cross-compiling) = no]: Likewise.
20684         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20685         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20686         * intl/Makefile [$(cross-compiling) = no]: Likewise.
20687         * io/Makefile [$(cross-compiling) = no]: Likewise.
20688         * libio/Makefile [$(cross-compiling) = no]: Likewise.
20689         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20690         * misc/Makefile [$(cross-compiling) = no]: Likewise.
20691         * posix/Makefile [$(cross-compiling) = no]: Likewise.
20692         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20693         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20694         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20695         * string/Makefile [$(cross-compiling) = no]: Likewise.
20697         * posix/Makefile ($(objpfx)globtest.out): Pass
20698         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20699         $(rtld-installed-name).
20700         * posix/globtest.sh (elf_objpfx): Remove variable.
20701         (rtld_installed_name): Likewise.
20702         (library_path): Likewise.
20703         (run_program_prefix): New variable.  Use for running globtest
20704         binary.
20706 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
20707             Joseph Myers  <joseph@codesourcery.com>
20709         * Makeconfig (host-built-program-cmd): New variable.
20710         * elf/Makefile (tst-stackguard1-ARGS): Use
20711         $(host-built-program-cmd).
20712         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20713         (tst-spawn-ARGS): Likewise.
20714         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20716 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
20717             Jim Blandy  <jimb@codesourcery.com>
20719         * Makeconfig (run-via-rtld-prefix): New variable.
20720         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20721         (built-program-cmd): Likewise.
20723 2012-10-22  Andreas Jaeger  <aj@suse.de>
20725         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20726         __O_RSYNC if it exists, otherwise to O_SYNC.
20728 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
20729             Joseph Myers  <joseph@codesourcery.com>
20731         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20732         /dev/null.
20733         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20734         from /dev/null
20735         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20736         /dev/null.
20738 2012-10-22  Andreas Jaeger  <aj@suse.de>
20740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20741         Define always.
20742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20745         bits/fcntl-linux.h.
20747         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20748         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20750         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20751         to __O_LARGEFILE.
20752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20753         to __O_LARGEFILE.
20755 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
20756             Joseph Myers  <joseph@codesourcery.com>
20758         * config.make.in (NM): New variable.
20760 2012-10-21  Andreas Jaeger  <aj@suse.de>
20762         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20763         definitions and declarations that are provided by
20764         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20766 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20768         [BZ #14683]
20769         * elf/Makefile (tests-static): Add tst-leaks1-static.
20770         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20771         ($(objpfx)tst-leaks1-static): New rule.
20772         ($(objpfx)tst-leaks1-static-mem): Likewise.
20773         (tst-leaks1-static-ENV): New macro.
20774         * elf/dl-open.c (dl_open_worker): Check the main application
20775         only if SHARED is defined.
20776         * elf/tst-leaks1-static.c: New file.
20778 2012-10-20  Andreas Jaeger  <aj@suse.de>
20780         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20781         generic values for Linux.
20782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20783         and declarations that are provided by <bits/fcntl-linux.h> and
20784         include <bits/fcntl-linux.h>.
20785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20788 2012-10-20  Roland McGrath  <roland@hack.frob.com>
20790         * io/fcntl.h: Move include of <bits/types.h> to the top and
20791         include it unconditionally.
20793 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
20795         * wcsmbs/Makefile (tests-ifunc): New variable.
20796         (tests): Add $(tests-ifunc).
20797         * wcsmbs/test-wcschr-ifunc.c: New file.
20798         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20799         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20800         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20801         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20802         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20804         * string/Makefile (tests-ifunc): New variable.
20805         (tests): Add $(tests-ifunc).
20806         * string/test-memccpy.c (TEST_NAME): New macro.
20807         * string/test-memchr.c (TEST_NAME): Likewise.
20808         * string/test-memcmp.c (TEST_NAME): Likewise.
20809         * string/test-memcpy.c (TEST_NAME): Likewise.
20810         * string/test-memmem.c (TEST_NAME): Likewise.
20811         * string/test-memmove.c (TEST_NAME): Likewise.
20812         * string/test-memset.c (TEST_NAME): Likewise.
20813         * string/test-rawmemchr.c (TEST_NAME): Likewise.
20814         * string/test-stpcpy.c (TEST_NAME): Likewise.
20815         * string/test-stpncpy.c (TEST_NAME): Likewise.
20816         * string/test-strcasecmp.c (TEST_NAME): Likewise.
20817         * string/test-strcasestr.c (TEST_NAME): Likewise.
20818         * string/test-strcat.c (TEST_NAME): Likewise.
20819         * string/test-strchr.c (TEST_NAME): Likewise.
20820         * string/test-strcmp.c(TEST_NAME): Likewise.
20821         * string/test-strcpy.c (TEST_NAME): Likewise.
20822         * string/test-strcspn.c (TEST_NAME): Likewise.
20823         * string/test-strlen.c (TEST_NAME): Likewise.
20824         * string/test-strncasecmp.c (TEST_NAME): Likewise.
20825         * string/test-strncmp.c (TEST_NAME): Likewise.
20826         * string/test-strncpy.c (TEST_NAME): Likewise.
20827         * string/test-strnlen.c (TEST_NAME): Likewise.
20828         * string/test-strpbrk.c (TEST_NAME): Likewise.
20829         * string/test-strrchr.c (TEST_NAME): Likewise.
20830         * string/test-strspn.c (TEST_NAME): Likewise.
20831         * string/test-strstr.c (TEST_NAME): Likewise.
20832         * string/test-bcopy-ifunc.c: New file.
20833         * string/test-bzero-ifunc.c: Likewise.
20834         * string/test-memccpy-ifunc.c: Likewise.
20835         * string/test-memchr-ifunc.c: Likewise.
20836         * string/test-memcmp-ifunc.c: Likewise.
20837         * string/test-memcpy-ifunc.c: Likewise.
20838         * string/test-memmem-ifunc.c: Likewise.
20839         * string/test-memmove-ifunc.c: Likewise.
20840         * string/test-mempcpy-ifunc.c: Likewise.
20841         * string/test-memset-ifunc.c: Likewise.
20842         * string/test-rawmemchr-ifunc.c: Likewise.
20843         * string/test-stpcpy-ifunc.c: Likewise.
20844         * string/test-stpncpy-ifunc.c: Likewise.
20845         * string/test-strcasecmp-ifunc.c: Likewise.
20846         * string/test-strcasestr-ifunc.c: Likewise.
20847         * string/test-strcat-ifunc.c: Likewise.
20848         * string/test-strchr-ifunc.c: Likewise.
20849         * string/test-strchrnul-ifunc.c: Likewise.
20850         * string/test-strcmp-ifunc.c: Likewise.
20851         * string/test-strcpy-ifunc.c: Likewise.
20852         * string/test-strcspn-ifunc.c: Likewise.
20853         * string/test-strlen-ifunc.c: Likewise.
20854         * string/test-strncasecmp-ifunc.c: Likewise.
20855         * string/test-strncat-ifunc.c: Likewise.
20856         * string/test-strncmp-ifunc.c: Likewise.
20857         * string/test-strncpy-ifunc.c: Likewise.
20858         * string/test-strnlen-ifunc.c: Likewise.
20859         * string/test-strpbrk-ifunc.c: Likewise.
20860         * string/test-strrchr-ifunc.c: Likewise.
20861         * string/test-strspn-ifunc.c: Likewise.
20862         * string/test-strstr-ifunc.c: Likewise.
20864         * debug/Makefile (tests-ifunc): New variable.
20865         (tests): Add $(tests-ifunc).
20866         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20867         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20868         * debug/test-stpcpy_chk-ifunc.c: New file.
20869         * debug/test-strcpy_chk-ifunc.c: Likewise.
20871 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20873         [BZ #13601]
20874         * elf/dl-load.c (open_verify): Retry read if the entire ELF
20875         header is not read in.
20877 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
20879         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
20880         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
20881         directly.  Pass built executable to script as
20882         $(built-program-cmd).
20883         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
20884         $testprogram without using LD_LIBRARY_PATH and $ldso.
20886         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20887         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20888         $(rtld-installed-name).
20889         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20890         (rtld_installed_name): Likewise.
20891         (library_path): Likewise.
20892         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
20893         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20894         $(run-program-prefix) to tst-tables.sh.
20895         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
20896         it to run tst-table-from and tst-table-to.
20897         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20898         Pass it to tst-table.sh.
20899         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20900         $(run-program-prefix) to tst-gettext.sh.
20901         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20902         tst-translit.sh.
20903         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20904         tst-gettext2.sh.
20905         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
20906         to run tst-gettext.
20907         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
20908         to run tst-gettext2.
20909         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
20910         to run tst-translit.
20911         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20912         $(run-program-prefix) to tst-mtrace.sh.
20913         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
20914         to run tst-mtrace.
20915         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20916         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20917         $(rtld-installed-name).
20918         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20919         (rtld_installed_name): Likewise.
20920         (run_program_prefix): New variable.  Use it to run wordexp-test.
20922         * Makeconfig (ARCH): Remove all definitions.
20923         (machine): Likewise.
20924         [ARCH]: Remove conditional code.
20925         [!objdir]: Give error.
20926         [!objdir] (objpfx): Remove.
20927         [!objdir] (common-objpfx): Likewise.
20928         [!objdir] (common-objdir): Likewise.
20929         * configure.in (config_makefile): Remove.  Hardcode Makefile in
20930         AC_CONFIG_FILES call.
20931         * configure: Regenerated.
20933         [BZ #13888]
20934         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20935         or TMPDIR.
20936         (testout): Likewise.
20938         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20939         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20940         $(rtld-installed-name).
20941         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20942         (rtld_installed_name): Likwise.
20943         (runit): Remove function.
20944         (run_getconf): New variable,  Use it for running getconf binary.
20946 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
20948         [BZ #14716]
20949         * string/test-memmem.c (check_result): New function.
20950         (do_one_test): Use it.
20951         (check1): New function.
20952         (test_main): Use it.
20954 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
20956         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20958 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
20960         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20961         (_G_LSEEK64): Likewise.
20962         (_G_MMAP64): Likewise.
20963         (_G_FSTAT64): Likewise.
20964         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20965         (_G_LSEEK64): Likewise.
20966         (_G_MMAP64): Likewise.
20967         (_G_FSTAT64): Likewise.
20968         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20969         unconditional.  Call __mmap64 directly.
20970         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20971         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
20972         __lseek64 directly.
20973         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20974         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
20975         __mmap64 directly.
20976         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20977         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20978         __lseek64 directly.
20979         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20980         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20981         __lseek64 directly.
20982         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20983         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
20984         __lseek64 directly.
20985         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20986         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
20987         __fxstat64 directly.
20988         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20989         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20990         unconditional.
20991         (freopen64) [!_G_OPEN64]: Remove conditional code.
20992         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20993         unconditional.
20994         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20995         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20996         unconditional.
20997         (ftello64) [!_G_LSEEK64]: Remove conditional code.
20998         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20999         unconditional.
21000         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21001         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21002         unconditional.
21003         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21004         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21005         unconditional.
21006         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21007         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21008         unconditional.
21009         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21010         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21011         unconditional.
21012         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21014 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21016         [BZ #12140]
21017         * manual/memory.texi (Malloc Tunable Parameters): Add note
21018         about free list pointers overwriting some perturb bytes.
21019         Wording suggested by Roland McGrath.
21021 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21023         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21024         (lgamma_test): Likewise.
21025         (tgamma_test): Likewise.
21027 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21029         [BZ #14700]
21030         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21031         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21033 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21035         * NEWS: Mention BZ #14716.
21036         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21037         when removing AVAILABLE1_USES_J macro.
21039 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21041         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21042         (__bswap_64): __uint64_t for unsigned 64-bit int.
21044 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21046         * include/string.h (memmem): Declare libc hidden alias.
21047         * string/memmem.c (memmem): Define libc hidden alias.
21048         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21049         __read, __close instead of open, read, close.
21051 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21053         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21054         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21055         global and hidden.
21056         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21057         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21058         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21059         Likewise.
21060         (__rawmemchr_sse2): Likewise.
21061         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21062         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21063         (__strchr_sse2): Likewise.
21064         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21065         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21066         (__strcasecmp_sse2): Likewise.
21067         (__strncasecmp_sse2): Likewise.
21068         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21069         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21070         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21071         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21072         (__strrchr_sse2): Likewise.
21073         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21074         ifunc-impl-list.c.
21075         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21076         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21077         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21078         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21079         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21080         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21081         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21082         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21083         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21084         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21085         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21086         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21087         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21088         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21089         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21090         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21091         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21092         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21093         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21094         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21095         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21096         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21097         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21098         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21099         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21100         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21101         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21102         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21103         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21104         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21106         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21107         global and hidden.
21108         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21109         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21110         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21111         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21112         Likewise.
21113         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21114         Likewise.
21115         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21116         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21117         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21118         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21119         ifunc-impl-list.c.
21120         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21121         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21122         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21123         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21124         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21125         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21126         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21127         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21128         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21129         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21130         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21131         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21132         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21133         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21134         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21135         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21136         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21137         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21138         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21139         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21140         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21141         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21142         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21143         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21145         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21146         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21147         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21148         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21149         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21150         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21151         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21152         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21153         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21154         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21155         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21157         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21158         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21159         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21160         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21162         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21163         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21164         * include/ifunc-impl-list.h: New file.
21165         * misc/ifunc-impl-list.c: Likewise.
21166         * misc/Makefile (routines): Add ifunc-impl-list.
21167         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21168         * string/test-string.h: Include <ifunc-impl-list.h>.
21169         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21170         impl_array): New variables.
21171         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21172         are defined.
21173         (test_init): Call __libc_ifunc_impl_list to initialize
21174         func_list if TEST_IFUNC and TEST_NAME are defined.
21176         * string/Makefile (strop-tests): Add bcopy and bzero.
21177         * string/test-bcopy.c: New file.
21178         * string/test-bzero.c: Likewise.
21179         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21180         defined.
21181         * string/test-memset.c: Support bzero test if TEST_BZERO is
21182         defined.
21183         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21184         __libc_memmove.
21185         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21186         __libc_memset.
21187         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21188         of memset.
21190 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21192         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21193         * configure: Regenerated.
21195         * Makeconfig (+link-static-before-libc): Don't include
21196         $(link-static-libc).
21198         * libio/libio.h (_IO_pos_t): Remove.
21200 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21202         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21203         McGrath.
21205 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21207         * crypt/crypt-entry.c: Include fips-private.h.
21208         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21209         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21210         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21211         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21213 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21215         * crypt/crypt-private.h: Include stdbool.h.
21216         (_ufc_setup_salt_r): Return bool.
21217         * crypt/crypt-entry.c: Include errno.h.
21218         (__crypt_r): Return NULL with EINVAL for bad salt.
21219         * crypt/crypt_util.c (bad_for_salt): New.
21220         (_ufc_setup_salt_r): Check that salt is long enough and within
21221         the specified alphabet.
21222         * crypt/badsalttest.c: New file.
21223         * crypt/Makefile (tests): Add it.
21224         ($(objpfx)badsalttest): New.
21226 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21228         * NEWS: Add entry for BZ #14602.
21230 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21232         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21233         type-generic.
21234         * math/libm-test.inc: Update comment listing what functions and
21235         macros are tested.
21236         (isgreater_test): New function.
21237         (isgreaterequal_test): Likewise.
21238         (isless_test): Likewise.
21239         (islessequal_test): Likewise.
21240         (islessgreater_test): Likewise.
21241         (isunordered_test): Likewise.
21242         (main): Call the new functions.
21244 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21246         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21247         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21248         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21249         * sysdeps/i386/configure: Regenerated.
21250         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21251         * sysdeps/mach/configure: Regenerated.
21252         * sysdeps/mach/hurd/configure: Regenerated.
21253         * sysdeps/powerpc/configure: Regenerated.
21254         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21255         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21256         * sysdeps/s390/s390-32/configure: Regenerated.
21257         * sysdeps/s390/s390-64/configure: Regenerated.
21258         * sysdeps/sh/configure: Regenerated.
21259         * sysdeps/sparc/configure: Regenerated.
21260         * sysdeps/unix/sysv/linux/configure: Regenerated.
21261         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21262         * sysdeps/x86_64/configure: Regenerated.
21264         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21265         defined.  Don't check if MAP is NULL.
21267 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21269         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21270         (_G_stat64): Likewise.
21271         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21272         (_G_stat64): Likewise.
21273         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21274         instead of struct _G_stat64.
21275         * libio/fileops.c (mmap_remap_check): Likewise.
21276         (decide_maybe_mmap): Likewise.
21277         (_IO_new_file_seekoff): Likewise.
21278         (_IO_file_stat): Likewise.
21279         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21280         _G_off64_t.
21281         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21282         instead of struct _G_stat64.
21283         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21285 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21287         [BZ #14602]
21288         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21289         Replace with ...
21290         (CHECK_EOL): New macro.
21291         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21292         CHECK_EOL.
21293         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21294         Replace with CHECK_EOL.
21295         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21296         Replace with CHECK_EOL.
21298 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21300         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21301         type-generic.
21302         * math/libm-test.inc: Update comment listing what functions and
21303         macros are tested.
21304         (finite_test): New function.
21305         (isinf_test): Likewise.
21306         (isnan_test): Likewise.
21307         (fpclassify_test): Test subnormal input.
21308         (isfinite_test): Likewise.
21309         (isnormal_test): Likewise.
21310         (main): Call the new functions.
21312 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
21314         [BZ #14660]
21315         * Makerules (%.dynsym): Force C locale when running
21316         $(OBJDUMP) --dynamic-syms.
21318 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
21320         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21321         <stdint.h>.
21323 2012-10-06  David S. Miller  <davem@davemloft.net>
21325         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21326         upper 32-bits of the length value in %o2 since we use branch-on-register
21327         tests which consider the entire 64-bit register.
21329 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
21331         * string/test-strstr.c (check2): Add a test for page boundary.
21333 2012-10-05  David S. Miller  <davem@davemloft.net>
21335         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21336         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21337         file.
21338         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21339         sysdep_routines.
21340         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21341         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21342         and bzero when HWCAP_SPARC_CRYPTO is present.
21344 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
21346         [BZ #14602]
21347         * string/test-strstr.c (check2): New function.
21348         (test_main): Call check2.
21350         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
21351         and bug-strchr1.
21352         * string/bug-strcasestr1.c (do_test): Moved to ...
21353         * string/test-strcasestr.c (check1): Here.  New function.
21354         (do_one_test): Break out result checking code into ...
21355         (check_result): This.  New function.
21356         (do_one_test): Call check_result.
21357         (test_main): Call check1.
21358         * string/bug-strchr1.c (do_test): Moved to ...
21359         * string/test-strchr.c (check1): Here.  New function.
21360         (do_one_test): Break out result checking code into ...
21361         (check_result): This.  New function.
21362         (do_one_test): Call check_result.
21363         (test_main): Call check1.
21364         * string/bug-strstr1.c (main): Moved to ...
21365         * string/test-strstr.c (check1): Here.  New function.
21366         (do_one_test): Break out result checking code into ...
21367         (check_result): This.  New function.
21368         (do_one_test): Call check_result.
21369         (test_main): Call check1.
21370         * string/bug-strcasestr1.c: Removed.
21371         * string/bug-strchr1.c: Likewise.
21372         * string/bug-strstr1.c: Likewise.
21374         * elf/Makefile (dl-routines): Add hwcaps.
21375         * elf/dl-support.c (_dl_important_hwcaps): Removed.
21376         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
21377         (_dl_important_hwcaps): Moved to ...
21378         * elf/dl-hwcaps.c: Here.  New file.
21379         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
21381         [BZ #14557]
21382         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
21383         if IS_IN_rtld isn't defined.
21385         * elf/dl-support.c (_dl_sysinfo_map): New.
21386         Include "get-dynamic-info.h" and "setup-vdso.h".
21387         (_dl_non_dynamic_init): Call setup_vdso.
21388         * elf/dynamic-link.h: Don't include <assert.h>.
21389         (elf_get_dynamic_info): Moved to ...
21390         * elf/get-dynamic-info.h: Here.  New file.
21391         * elf/dynamic-link.h: Include "get-dynamic-info.h".
21392         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
21393         * elf/setup-vdso.h: Here.  New file.
21394         * elf/rtld.c: Include "setup-vdso.h".
21395         (dl_main): Call setup_vdso.
21397 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
21399         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
21400         creal in comment listing functions tested.  List finite, isinf,
21401         isnan, isless, islessequal, isgreater, isgreaterequal,
21402         islessgreater, isunordered, lgamma_r and pow10 as functions and
21403         macros not tested.  Mention which functions not tested are aliases
21404         for other functions.  Fix typo.  Note that signs of NaNs are not
21405         tested.
21407         * scripts/config.guess: Update from config.git.
21408         * scripts/config.sub: Likewise.
21410 2012-10-04  Roland McGrath  <roland@hack.frob.com>
21412         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
21413         * misc/madvise.c (madvise): Renamed to __madvise.
21414         Make madvise a weak alias.
21415         * include/sys/mman.h: Declare __madvise.
21416         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
21417         * sysdeps/unix/syscalls.list
21418         (madvise): Make __madvise the strong name, and madvise a weak alias.
21419         * sysdeps/unix/sysv/linux/syscalls.list
21420         (madvise, mmap): Remove redundant entries.
21421         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
21422         * malloc/malloc.c (mtrim): Likewise.
21423         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
21425 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21427         * sysdeps/mach/hurd/dl-cache.c: File removed.
21428         * config.h.in (USE_LDCONFIG): New #undef.
21429         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
21430         * configure: Regenerated.
21431         * elf/Makefile (dl-routines): Add dl-cache only under
21432         [$(use-ldconfig) = yes].
21433         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
21434         cache on [USE_LDCONFIG].
21435         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
21436         [USE_LDCONFIG].
21437         * elf/rtld.c (dl_main): Likewise.
21439 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
21441         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
21442         _SC_LEVEL4_CACHE_LINESIZE.
21444 2012-10-03  Roland McGrath  <roland@hack.frob.com>
21446         * sysdeps/unix/bsd/confstr.h: File removed.
21448 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
21450         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
21451         sys/sdt-config.h.
21453 2012-10-02  Roland McGrath  <roland@hack.frob.com>
21455         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
21456         Make 'mapoff' field ElfW(Off) rather than off_t.
21458 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
21460         * nscd/Makefile: Remove nscd-cflags and all its users.
21461         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
21462         (CFLAGS-nonlib): Add compiler flags for nscd modules.
21464         [BZ #10631]
21465         * malloc.c (malloc_printerr): Clarify error message.
21467 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
21469         [BZ #14648]
21470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21471         Set bit_FMA_Usable if FMA is supported.
21472         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
21473         macro.
21474         (bit_FMA4_Usable): Updated.
21475         (index_FMA_Usable): New macro.
21476         (CPUID_FMA): Likewise
21477         (HAS_FMA): Defined with bit_FMA_Usable.
21479 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21481         * bits/types.h (__swblk_t): Type removed.
21482         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
21483         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
21484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21485         (__SWBLK_T_TYPE): Likewise.
21486         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21487         (__SWBLK_T_TYPE): Likewise.
21488         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21489         (__SWBLK_T_TYPE): Likewise.
21490         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21491         (__SWBLK_T_TYPE): Likewise.
21493 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
21494             Honza Horak <hhorak@redhat.com>
21496         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
21497         (xdr_mapname): Use YPMAXMAP as maxsize.
21498         (xdr_peername): Use YPMAXPEER as maxsize.
21499         (xdr_keydat): Use YPAXRECORD as maxsize.
21500         (xdr_valdat): Use YPMAXRECORD as maxsize.
21502 2012-10-01  Roland McGrath  <roland@hack.frob.com>
21504         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
21506         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
21507         * csu/init-first.c: ... here.
21508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
21509         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21510         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21511         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21512         * sysdeps/i386/init-first.c: File removed.
21513         * sysdeps/sh/init-first.c: File removed.
21515 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
21517         [BZ #14645]
21518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
21519         if x * y might underflow to zero and z is zero.
21520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21522         * math/libm-test.inc (min_subnorm_value): New variable.
21523         (fma_test): Add more tests.
21524         (fma_test_towardzero): Likewise.
21525         (fma_test_downward): Likewise
21526         (fma_test_upward): Likewise.
21527         (initialize): Set min_subnorm_value.
21529 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
21531         [BZ #14638]
21532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
21533         0 + 0.
21534         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
21535         mode for addition resulting in exact zero.
21536         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
21537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
21538         exact 0 + 0.
21539         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21541         * math/libm-test.inc (fma_test): Add more tests.
21542         (fma_test_towardzero): New function.
21543         (fma_test_downward): Likewise.
21544         (fma_test_upward): Likewise.
21545         (main): Call the new functions.
21547 2012-09-28  David S. Miller  <davem@davemloft.net>
21549         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
21551 2012-09-28  Roland McGrath  <roland@hack.frob.com>
21553         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
21554         instead of SIGALRM.
21556         * sysdeps/gnu/_G_config.h: Moved to ...
21557         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
21558         * sysdeps/mach/hurd/_G_config.h: Moved to ...
21559         * sysdeps/generic/_G_config.h: ... here.
21561         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
21563         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
21565         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
21566         Conditionalize target on [libnss_test1.so-version].
21568         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
21570         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
21571         (elfobjdir): Move out of conditionals.
21573         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
21574         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
21575         (__nss_lookup_function): Conditionalize label remove_from_tree on
21576         [!DO_STATIC_NSS || SHARED], matching its only use.
21578 2012-09-28  David S. Miller  <davem@davemloft.net>
21580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
21581         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
21582         file.
21583         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21584         sysdep_routines.
21585         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21586         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
21587         when HWCAP_SPARC_CRYPTO is present.
21589 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21591         * io/tst-mknodat.c: Create a FIFO instead of a socket.
21593 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
21595         [BZ #6530]
21596         * stdio-common/vfprintf.c (process_string_arg): Revert
21597         2000-07-22 change.
21599 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
21601         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
21602         for testcase.
21603         * stdio-common/tst-sprintf.c: Include <locale.h>
21604         (main): Test sprintf's handling of incomplete multibyte
21605         characters.
21607 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
21609         * elf/dl-runtime.c (VERSYMIDX): Removed.
21610         * elf/dl-version.c (VERSYMIDX): Likewise.
21611         * elf/do-rel.h (VERSYMIDX): Likewise.
21612         (VALIDX): Likewise.
21613         * elf/dynamic-link.h (VERSYMIDX): Likewise.
21614         * elf/rtld.c (VALIDX): Likewise.
21615         (ADDRIDX): Likewise.
21616         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
21617         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
21618         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
21619         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
21620         (VALIDX): Likewise.
21621         (ADDRIDX): Likewise.
21623 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21625         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
21627 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
21629         [BZ #11438]
21630         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21631         to global scope.
21632         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21633         addresses are in the same scope as 192.0.2/24.
21634         * posix/gai.conf: Document new scope table defaults.
21636 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21638         [BZ #5298]
21639         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21640         for ftell.  Compute offsets from write pointers instead.
21641         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21643 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21645         [BZ #14543]
21646         * libio/Makefile (tests): New test case tst-fseek.
21647         * libio/tst-fseek.c: New test case to verify that fseek/ftell
21648         combination works in wide mode.
21649         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21650         state when the external buffer state changes.
21652 2012-09-27  David S. Miller  <davem@davemloft.net>
21654         [BZ #14376]
21655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21656         pass reloc->r_addend in as the 'high' argument to
21657         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21661 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
21663         * rt/tst-aio2.c: Include <pthread.h>.
21664         * rt/tst-aio3.c: Likewise.
21666 2012-09-27  Steve Ellcey  <sellcey@mips.com>
21668         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21670 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
21672         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21673         contents on [SHARED].
21675 2012-09-26  Marek Polacek  <polacek@redhat.com>
21677         [BZ #14530]
21678         [BZ #13741]
21679         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21680         for C++ and GCC <4.3 as well as for non GCC compilers.
21682 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21686 2012-09-25  Roland McGrath  <roland@hack.frob.com>
21688         * Makefile.in (all, install): Declare with .PHONY.
21689         Reported by Michael Hope <michael.hope@linaro.org>.
21691 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21693         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21694         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21695         system header.
21696         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21697         Likewise.
21698         (sydep_routines): Add the new and the internal functions.
21699         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21700         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21702         (GLIBC_2.17): Add the new function.
21703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21704         (GLIBC_2.17): Likewise.
21705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21706         (GLIBC_2.17): Likewise.
21707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21708         (GLIBC_2.17): Likewise.
21709         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21711 2012-09-25  Alan Modra  <amodra@gmail.com>
21713         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21714         Add release barrier before setting once_control to say
21715         initialisation is done.  Add hints on lwarx.  Use macro in
21716         place of isync.
21717         (clear_once_control): Add release barrier.
21719 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21721         [BZ #13629]
21722         * math/s_clog.c (__clog): Handle more values close to |z| = 1
21723         specially.
21724         * math/s_clog10.c (__clog10): Likewise.
21725         * math/s_clog10f.c (__clog10f): Likewise.
21726         * math/s_clog10l.c (__clog10l): Likewise.
21727         * math/s_clogf.c (__clogf): Likewise.
21728         * math/s_clogl.c (__clogl): Likewise.
21729         * math/Makefile (libm-calls): Add x2y2m1.
21730         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21731         (__x2y2m1): Likewise.
21732         (__x2y2m1l): Likewise.
21733         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21734         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21735         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21736         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21737         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21738         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21739         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21740         * sysdeps/i386/fpu/libm-test-ulps: Update.
21741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21743         [BZ #14621]
21744         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21745         int as type of variable DEPTH.
21746         (glob): Use size_t instead of int as type of variables NEWCOUNT
21747         and OLD_PATHC.
21749 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21751         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21752         Add s_sincosf-sse2.
21753         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21754         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21755         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21756         macros for using routine as __sincosf_ia32.
21757         Use macro for function declaration and weak_alias.
21758         * sysdeps/i386/fpu/libm-test-ulps: Update.
21760         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21763         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21764         subnormal argument.
21765         * math/s_cexpf.c (__cexpf): Likewise.
21766         * math/s_csinf.c (__csinf): Likewise.
21767         * math/s_csinhf.c (__csinhf): Likewise.
21768         * math/s_ctanf.c (__ctanf): Likewise.
21769         * math/s_ctanhf.c (__ctanhf): Likewise.
21770         * math/s_ccosh.c (__ccoshf): Likewise.
21771         * math/s_cexp.c (__cexpl): Likewise.
21772         * math/s_csin.c (__csin): Likewise.
21773         * math/s_csinh.c (__csinh): Likewise.
21774         * math/s_ctan.c (__ctan): Likewise.
21775         * math/s_ctanh.c (ctanh): Likewise.
21776         * math/s_ccoshl.c (__ccoshl): Likewise.
21777         * math/s_cexpl.c (__cexpl): Likewise.
21778         * math/s_csinl.c (__csinl): Likewise.
21779         * math/s_csinhl.c (__csinhl): Likewise.
21780         * math/s_ctanl.c (__ctanl): Likewise.
21781         * math/s_ctanhl.c (__ctanhl): Likewise.
21783 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
21785         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21786         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21787         (_IO_off_t): Define to __off_t, not _G_off_t.
21788         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21789         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21790         (_IO_wint_t): Define to wint_t, not _G_wint_t.
21791         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21792         type of __dummy and __dummy2 fields.
21793         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21794         (_G_ssize_t): Likewise.
21795         (_G_off_t): Likewise.
21796         (_G_pid_t): Likewise.
21797         (_G_uid_t): Likewise.
21798         (_G_wchar_t): Likewise.
21799         (_G_wint_t): Likewise.
21800         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21801         (_G_ssize_t): Likewise.
21802         (_G_off_t): Likewise.
21803         (_G_pid_t): Likewise.
21804         (_G_uid_t): Likewise.
21805         (_G_wchar_t): Likewise.
21806         (_G_wint_t): Likewise.
21807         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21808         (_G_ssize_t): Likewise.
21809         (_G_off_t): Likewise.
21810         (_G_pid_t): Likewise.
21811         (_G_uid_t): Likewise.
21812         (_G_wchar_t): Likewise.
21813         (_G_wint_t): Likewise.
21815 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21817         * malloc/arena.c: Include malloc-sysdep.h.
21818         (shrink_heap): Use check_may_shrink_heap to decide if madvise
21819         is sufficient to shrink the heap or an unmap is needed.
21820         * sysdeps/generic/malloc-sysdep.h: New file.  Define
21821         new function check_may_shrink_heap.
21822         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
21823         new function check_may_shrink_heap.
21825 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21827         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21828         comments.
21830 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
21832         * catgets/test-gencat.sh: Add "set -e".
21833         * elf/tst-pathopt.sh: Likewise.
21834         * grp/tst_fgetgrent.sh: Likewise.
21835         * iconvdata/run-iconv-test.sh: Likewise.
21836         * intl/tst-gettext.sh: Likewise.
21837         * intl/tst-gettext2.sh: Likewise.
21838         * intl/tst-gettext4.sh: Likewise.
21839         * intl/tst-gettext6.sh: Likewise.
21840         * intl/tst-translit.sh: Likewise.
21841         * io/ftwtest-sh: Likewise.
21842         * libio/test-freopen.sh: Likewise.
21843         * malloc/tst-mtrace.sh: Likewise.
21844         * posix/globtest.sh: Likewise.
21845         * posix/tst-getconf.sh: Likewise.
21846         * posix/wordexp-tst.sh: Likewise.
21847         * stdio-common/tst-printf.sh: Likewise.
21848         * stdio-common/tst-unbputc.sh: Likewise.
21849         * stdlib/tst-fmtmsg.sh: Likewise.
21850         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21851         * catgets/Makefile: Do not specify -e option when running
21852         testsuite shell scripts.
21853         * elf/Makefile: Likewise.
21854         * grp/Makefile: Likewise.
21855         * iconvdata/Makefile: Likewise.
21856         * intl/Makefile: Likewise.
21857         * io/Makefile: Likewise.
21858         * libio/Makefile: Likewise.
21859         * malloc/Makefile: Likewise.
21860         * posix/Makefile: Likewise.
21861         * stdio-common/Makefile: Likewise.
21862         * stdlib/Makefile: Likewise.
21863         * sysdeps/x86_64/Makefile: Likewise.
21865         * io/ftwtest-sh: Add copyright header.
21866         * posix/globtest.sh: Likewise.
21867         * posix/tst-getconf.sh: Likewise.
21868         * posix/wordexp-tst.sh: Likewise.
21869         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21871 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
21873         [BZ #13679]
21874         * Makeconfig (+link): Defined as $(+link-static) if
21875         $(build-shared) isn't yes.
21876         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21877         isn't yes.
21878         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21880         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21882         [BZ #14562]
21883         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21884         new chunk size with MALLOC_ALIGN_MASK.
21886 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #5044]
21889         * stdio-common/printf_fphex.c: Include <stdbool.h> and
21890         <rounding-mode.h>.
21891         (__printf_fphex): Determine rounding using get_rounding_mode and
21892         round_away.
21893         * stdio-common/tst-printf-round.c (struct hex_test): New
21894         structure.
21895         (hex_tests): New variable.
21896         (test_hex_in_one_mode): New function.
21897         (do_test): Also run tests for hex float output.
21899 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
21901         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21902         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21903         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21904         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21905         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21906         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21907         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21908         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21910 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
21912         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21913         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21914         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21915         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21917 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
21919         [BZ #14579]
21920         * elf/rtld.c (dl_main): Limit the check for self loading to normal
21921         mode only.
21922         * elf/tst-rtld-load-self.sh: New test.
21923         * elf/Makefile: Run it.
21925 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
21927         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21928         (tst-writev-ENV): Remove.
21929         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21931 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
21933         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21935 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
21937         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21938         unconditional.
21939         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21940         Likewise.
21941         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21942         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21943         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21944         Likewise.
21946 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
21948         [BZ #14587]
21949         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21950         * config.make.in (have-cpp-asm-debuginfo): Removed.
21951         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21952         * configure: Regenerated.
21954 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
21956         [BZ #5044]
21957         * stdio-common/printf_fp.c: Include <stdbool.h> and
21958         <rounding-mode.h>.
21959         (___printf_fp): Determine rounding using get_rounding_mode and
21960         round_away.
21961         * stdio-common/tst-printf-round.c: New file.
21962         * stdio-common/Makefile (tests): Add tst-printf-round.
21963         (link-libm): New variable.
21964         ($(objpfx)tst-printf-round): Depend in $(link-libm).
21966 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
21968         [BZ #14576]
21969         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21970         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21971         Likewise.
21972         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21973         Likewise.
21975 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
21977         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21978         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21979         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21980         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21982 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
21984         [BZ #14518]
21985         * include/rounding-mode.h: New file.
21986         * sysdeps/generic/get-rounding-mode.h: Likewise.
21987         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21988         * stdlib/strtod_l.c: Include <rounding-mode.h>.
21989         (MAX_VALUE): New macro.
21990         (MIN_VALUE): Likewise.
21991         (overflow_value): New function.
21992         (underflow_value): Likewise.
21993         (round_and_return): Use overflow_value and underflow_value to
21994         determine return values in overflow and underflow cases.  Use
21995         round_away to determine rounding depending on rounding mode.
21996         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21997         determine return values in overflow and underflow cases.
21998         * stdlib/tst-strtod-round.c: Include <fenv.h>.
21999         (struct test_results): New structure.
22000         (struct test): Use struct test_results to store expected results
22001         for all rounding modes.
22002         (TEST): Include expected results for all rounding modes.
22003         (test_in_one_mode): New function.
22004         (do_test): Use test_in_one_mode to compute and check results.
22005         Check results for all rounding modes.
22006         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22007         $(link-libm).
22009 2012-12-09  Allan McRae  <allan@archlinux.org>
22011         * sysdeps/i386/fpu/libm-test-ulps: Update
22013 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22015         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22016         (_G_int32_t): Likewise.
22017         (_G_uint16_t): Likewise.
22018         (_G_uint32_t): Likewise.
22019         (_G_HAVE_BOOL): Likewise.
22020         (_G_HAVE_ATEXIT): Likewise.
22021         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22022         (_G_HAVE_IO_FILE_OPEN): Likewise.
22023         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22024         (_G_int32_t): Likewise.
22025         (_G_uint16_t): Likewise.
22026         (_G_uint32_t): Likewise.
22027         (_G_HAVE_BOOL): Likewise.
22028         (_G_HAVE_ATEXIT): Likewise.
22029         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22030         (_G_HAVE_IO_FILE_OPEN): Likewise.
22031         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22032         (_G_int32_t): Likewise.
22033         (_G_uint16_t): Likewise.
22034         (_G_uint32_t): Likewise.
22035         (_G_HAVE_BOOL): Likewise.
22036         (_G_HAVE_ATEXIT): Likewise.
22037         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22038         (_G_HAVE_IO_FILE_OPEN): Likewise.
22040 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22042         * csu/libc-tls.c: Update copyright years.
22044 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22046         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22047         [!_G_USING_THUNKS]: Remove conditional code.
22048         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22049         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22051         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22052         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22053         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22054         (_G_VTABLE_LABEL_PREFIX): Likewise.
22055         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22056         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22057         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22058         (_G_VTABLE_LABEL_PREFIX): Likewise.
22059         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22060         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22061         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22062         (_G_VTABLE_LABEL_PREFIX): Likewise.
22063         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22065 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22067         * libio/Makefile: Include ../Makeconfig before tests.
22068         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22069         only if $(build-shared) is yes.
22071         * iconv/gconv_db.c: Update copyright years.
22073 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22075         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22076         unwind info if defined PIC. Fix special cases description.
22077         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22079         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22080         DP_HI_MASK entry.
22081         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22083 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22085         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22087         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22088         is NULL.
22090         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22091         (LDLIBS-tst-chk4): This.
22092         (LDFLAGS-tst-chk5): Renamed to ...
22093         (LDLIBS-tst-chk5): This.
22094         (LDFLAGS-tst-chk6): Renamed to ...
22095         (LDLIBS-tst-chk6): This.
22096         (LDFLAGS-tst-lfschk4): Renamed to ...
22097         (LDLIBS-tst-lfschk4): This.
22098         (LDFLAGS-tst-lfschk5): Renamed to ...
22099         (LDLIBS-tst-lfschk5): This.
22100         (LDFLAGS-tst-lfschk6): Renamed to ...
22101         (LDLIBS-tst-lfschk6): This.
22103         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22104         on $(common-objpfx)soversions.mk.
22106 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22108         [BZ #10014]
22109         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22110         example host name.
22112 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114         * malloc/arena.c (arena_get_retry): New function that gets
22115         another arena for the caller to try its request on.
22116         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22117         current arena cannot fulfill the request.
22118         (__libc_memalign): Likewise.
22119         (__libc_memalign): Likewise.
22120         (__libc_pvalloc): Likewise.
22121         (__libc_calloc): Likewise.
22123 2012-09-05  John Tobey  <john.tobey@gmail.com>
22125         [BZ #13542]
22126         * manual/arith.texi (Operations on Complex): Fix description
22127         of carg branch cut.
22129 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22131         [BZ #10014]
22132         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22133         host name.
22135         [BZ #10038]
22136         * manual/memory.texi (Memory): Make order of menu items match
22137         order of sections.
22139 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22141         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22142         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22143         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22145 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22147         * csu/libc-tls.c (static_dtv): Renamed to ...
22148         (_dl_static_dtv): This.  Make it global.
22149         (_dl_initial_dtv): Removed.
22150         (__libc_setup_tls): Updated.
22151         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22152         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22153         DL_INITIAL_DTV.
22155 2012-09-06  Petr Machata  <pmachata@redhat.com>
22157         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22158         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22159         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22160         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22162 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22164         [BZ #14545]
22165         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22166         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22167         freeing dtv[-1].
22169 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22171         [BZ #14544]
22172         * Makeconfig (link-static-before-libc): Replace $(+prector)
22173         with $(+prectorT).
22174         (link-static-after-libc): Replace $(+postctor) with
22175         $(+postctorT).
22176         (link-bounded): Replace $(+prector)/$(+postctor) with
22177         $(+prectorT)/$(+postctorT).
22178         (+prectorT): New macro.
22179         (+postctorT): Likewise.
22181 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22183         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22184         (round_str): Handle values above the maximum for IBM long double
22185         as inexact.
22186         * stdlib/tst-strtod-round.c (tests): Regenerated.
22188 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22190         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22191         assembler flag.
22192         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22193         zarch_nohighgprs around the zarch optimized routines.
22194         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22195         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22196         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22197         for zarch.
22199 2012-09-05  David S. Miller  <davem@davemloft.net>
22201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22203         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22204         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22205         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22206         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22207         entries.
22209 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22211         * malloc/arena.c: Fold copyright years.
22212         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22214 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22216         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22218 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22220         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22222 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22224         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22225         change internal state upon failure.
22227 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22229         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22230         * malloc/memusage.c (mmap): Likewise.
22231         (mmap64, mremap): Likewise.  Adjust name in comment.
22233 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22235         * libio/fileops.c: Fix typos in comments.
22236         * libio/oldfileops.c: Likewise.
22237         * libio/wfileops.c: Likewise.
22239 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22241         [BZ #1349]
22242         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22243         (tst-malloc-usable-ENV): Set environment for test case.
22244         * malloc/hooks.c (malloc_check_get_size): New function to get
22245         requested size.
22246         * malloc/malloc.c (musable): Use malloc_check_get_size.
22247         * malloc/tst-malloc-usable.c: New test case.
22249 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22251         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22253 2012-09-05  Allan McRae  <allan@archlinux.org>
22255         [BZ #13966]
22256         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22257         determine header location.
22258         * configure: Regenerated.
22260 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22262         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22263         float format.
22264         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22265         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22266         format.
22267         (test): Regenerate.
22269 2012-09-04  David S. Miller  <davem@davemloft.net>
22271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22273         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22275 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22277         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22278         failures.
22280         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22282 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22284         [BZ #9914]
22285         * libio/iogetdelim.c: Include <limits.h>.
22286         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22287         + len + 1 would overflow.
22289 2012-09-03  Andreas Jaeger  <aj@suse.de>
22291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22292         * sysdeps/i386/fpu/libm-test-ulps: Update.
22294 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22296         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22297         Add s_sinf-sse2, s_conf-sse2.
22299         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22300         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22301         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22302         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22304         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22305         for using routine as __sinf_ia32.
22306         Use macro for function declaration and weak_alias.
22307         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22308         for using routine as __cosf_ia32.
22309         Use macro for function declaration and weak_alias.
22311         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22312         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22314         * sysdeps/x86_64/fpu/s_sinf.S: New file.
22315         * sysdeps/x86_64/fpu/s_cosf.S: New file.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22318         * math/libm-test.inc (cos_test): Add more test cases.
22319         (sin_test): Likewise.
22320         (sincos_test): Likewise.
22322 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22324         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22325         (IFUNC_RESOLVE): Make pointers to the specialized implementations
22326         hidden.
22327         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22329 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
22331         [BZ #14538]
22332         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22333         first element of the GOT.
22334         (elf_machine_load_address): Return the difference between
22335         the runtime address of _DYNAMIC and elf_machine_dynamic ().
22337 2012-09-01  Allan McRae  <allan@archlinux.org>
22339         [BZ #13412]
22340         * configure.in (AWK): Require gawk version 3.0 or later.
22341         * configure: Regenerated.
22343 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
22345         * sysdeps/unix/sysv/linux/kernel-features.h
22346         (__ASSUME_POSIX_CPU_TIMERS): Remove.
22347         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22348         [__NR_clock_getres]: Make code unconditional.
22349         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
22350         (clock_getcpuclockid): Remove code left unreachable by removal of
22351         conditionals.
22352         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
22353         code unconditional.
22354         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22355         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22356         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
22357         Make code unconditional.
22358         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
22359         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22360         * sysdeps/unix/sysv/linux/clock_settime.c
22361         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
22362         conditional code.
22363         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22364         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
22366 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
22368         [BZ #14476]
22369         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
22370         scripts/test-installation.pl.
22372         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
22373         and $ld_so_version if it is set.
22375 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22377         [BZ #14516]
22378         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
22379         failure if reading from procfs failed.
22380         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
22382 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22384         * sysdeps/unix/sysv/linux/kernel-features.h
22385         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
22386         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22387         Remove conditional code.
22388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22389         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
22390         Remove conditional code.
22391         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22392         * sysdeps/unix/sysv/linux/i386/fxstat.c
22393         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22394         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22395         * sysdeps/unix/sysv/linux/i386/fxstatat.c
22396         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22397         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22398         * sysdeps/unix/sysv/linux/i386/lxstat.c
22399         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
22400         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22401         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
22402         Remove conditional code.
22403         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22404         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
22405         Remove conditional code.
22406         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22407         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
22408         <kernel-features.h>.
22409         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
22410         Remove.
22411         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
22412         Remove conditional code.
22413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
22414         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
22415         Remove conditional.
22417 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
22419         [BZ #5400]
22420         * NEWS: Add fixed bug number.
22422 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
22424         [BZ #14519]
22425         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
22426         underflowing exponent in case of negative sign.
22427         * stdlib/tst-strtod-round-data: Add more tests.
22428         * stdlib/tst-strtod-round.c (tests): Regenerated.
22430         [BZ #3479]
22431         * stdlib/strtod_l.c (NDIG): Remove.
22432         (HEXNDIG): Likewise.
22433         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
22434         smallest representable value.
22435         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
22436         lie within an exact representation of 1/2 ulp of the result.
22437         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
22438         unconditionally.
22439         (TENS_P9_IDX): Define unconditionally.
22440         (TENS_P9_SIZE): Likewise.
22441         (TENS_P10_IDX): Likewise.
22442         (TENS_P10_SIZE): Likewise.
22443         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
22444         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
22445         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
22446         entries for 10^2^13 and 10^2^14.
22447         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
22448         (TENS_P13_IDX): Define.
22449         (TENS_P13_SIZE): Likewise.
22450         (TENS_P14_IDX): Likewise.
22451         (TENS_P14_SIZE): Likewise.
22452         (_fpioconst_pow10): Change array size to
22453         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
22454         unconditional.
22455         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
22456         1024]: Add entries for 10^2^13 and 10^2^14.
22457         [LAST_POW10 > _LAST_POW10]: Remove #error.
22458         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
22459         (_fpioconst_pow10): Change array size to
22460         FPIOCONST_POW10_ARRAY_SIZE.
22461         * stdlib/gen-fpioconst.c: New file.
22462         * stdlib/gen-tst-strtod-round.c: Likewise.
22463         * stdlib/tst-strtod-round-data: Likewise.
22464         * stdlib/tst-strtod-round.c: Likewise.
22465         * stdlib/Makefile (tests): Add tst-strtod-round.
22467         [BZ #14459]
22468         * stdlib/strtod_l.c: Include <stdint.h>.
22469         (NDEBUG): Do not define.
22470         (round_and_return): Change EXPONENT parameter to type intmax_t.
22471         Rearrange calculations to avoid internal overflow possibilities.
22472         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
22473         Rearrange calculations to avoid internal overflow possibilities.
22474         Assert that number fits inside MPNSIZE limbs.
22475         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
22476         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
22477         calculations and add assertions to avoid internal overflow
22478         possibilities.  Add casts to avoid signed/unsigned operations.
22479         * stdlib/tst-strtod-overflow.c: New file.
22480         * stdlib/Makefile (tests): Add tst-strtod-overflow.
22482 2012-08-25  Marek Polacek  <polacek@redhat.com>
22484         * time/time.h: Fix some typos in comments.
22486 2012-08-23  Roland McGrath  <roland@hack.frob.com>
22488         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
22489         * posix/tst-rfc3484-2.c: Likewise.
22490         * posix/tst-rfc3484-3.c: Likewise.
22492 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
22494         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
22495         (EF_ARM_ABI_FLOAT_HARD): Likewise.
22497 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
22499         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
22500         #include of fxstatat64.c.
22502 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22504         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
22505         * shadow/getspent_r.c: Likewise.
22506         * shadow/getspnam.c: Likewise.
22507         * shadow/getspnam_r.c: Likewise.
22508         * gshadow/getsgent.c: Likewise.
22509         * gshadow/getsgent_r.c: Likewise.
22510         * gshadow/getsgnam.c: Likewise.
22511         * gshadow/getsgnam_r.c: Likewise.
22512         * inet/getnetbyad.c: Likewise.
22513         * inet/getnetbyad_r.c: Likewise.
22514         * inet/getnetbynm.c: Likewise.
22515         * inet/getnetbynm_r.c: Likewise.
22516         * inet/getnetent.c: Likewise.
22517         * inet/getnetent_r.c: Likewise.
22518         * inet/getproto.c: Likewise.
22519         * inet/getproto_r.c: Likewise.
22520         * inet/getprtent.c: Likewise.
22521         * inet/getprtent_r.c: Likewise.
22522         * inet/getprtname.c: Likewise.
22523         * inet/getprtname_r.c: Likewise.
22524         * inet/getrpcbyname.c: Likewise.
22525         * inet/getrpcbyname_r.c: Likewise.
22526         * inet/getrpcbynumber.c: Likewise.
22527         * inet/getrpcbynumber_r.c: Likewise.
22528         * inet/getrpcent.c: Likewise.
22529         * inet/getrpcent_r.c: Likewise.
22530         * inet/getaliasent.c: Likewise.
22531         * inet/getaliasent_r.c: Likewise.
22532         * inet/getaliasname.c: Likewise.
22533         * inet/getaliasname_r.c: Likewise.
22534         * nscd/getgrgid_r.c: Likewise.
22535         * nscd/getgrnam_r.c: Likewise.
22536         * nscd/gethstbyad_r.c: Likewise.
22537         * nscd/gethstbynm3_r.c: Likewise.
22538         * nscd/getpwnam_r.c: Likewise.
22539         * nscd/getpwuid_r.c: Likewise.
22540         * nscd/getsrvbynm_r.c: Likewise.
22541         * nscd/getsrvbypt_r.c: Likewise.
22542         * nscd/gai.c: Likewise.
22544         * configure.in (build_nscd): New substituted variable, set
22545         by --disable-build-nscd and defaults to $use_nscd.
22546         * configure: Regenerated.
22547         * config.make.in (build-nscd): New substituted variable.
22548         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
22549         Change conditional to require [$(build-nscd) = yes] as well.
22550         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
22552         [BZ# 13696]
22553         * configure.in (use_nscd): New substituted variable, set by
22554         --disable-nscd.  If enabled, define USE_NSCD.
22555         * configure: Regenerated.
22556         * config.h.in: Add USE_NSCD.
22557         * config.make.in (use-nscd): New substituted variable.
22558         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22559         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
22560         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
22561         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
22562         (CFLAGS-getgrnam_r.c): Likewise.
22563         (CFLAGS-initgroups.c): Likewise.
22564         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
22565         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
22566         Variables removed.
22567         * inet/getnetgrent_r.c
22568         (nscd_setnetgrent): New function, broken out of ...
22569         (setnetgrent): ... here.  Call it.
22570         (innetgr): Conditionalize nscd bits on [USE_NSCD].
22571         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
22572         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
22573         * nscd/Makefile (routines, aux): Move definitions after include of
22574         Makeconfig.  Conditionalize on [$(use-nscd) != no].
22575         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
22576         Conditionalize on [USE_NSCD].
22577         (is_nscd, nscd_init_cb): Likewise.
22578         (nss_load_library): Conditionalize init callback on [USE_NSCD].
22579         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
22580         * nss/nss_db/db-init.c: Likewise.
22581         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
22582         [USE_NSCD].
22583         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
22584         (make_request): Use it.
22585         (cache_valid_p): New function.
22586         (__check_pf): Use it.
22587         * NEWS: Add item for --disable-nscd.
22589 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
22591         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
22592         to support sed >= 4.2.1-20-ga9bf076.
22593         * configure: Regenerated.
22595 2012-08-22  Roland McGrath  <roland@hack.frob.com>
22597         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
22598         Conditionalize whole body on [IREL].
22600 2012-08-22  Jeff Law <law@redhat.com>
22602         [BZ #14505]
22603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
22604         if the family is PF_UNSPEC.
22606 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
22608         * Makerules (lib-version): Rename from V.
22609         (install-lib-nosubdir): Change V to lib-version.
22611 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
22613         [BZ #14252]
22614         * powerpc32/power6/wcschr.c: New file.
22615         * powerpc32/power6/wcscpy.c: New file.
22616         * powerpc32/power6/wcsrchr.c: New file.
22617         * powerpc64/power6/wcschr.c: New file.
22618         * powerpc64/power6/wcscpy.c: New file.
22619         * powerpc64/power6/wcsrchr.c: New file.
22621 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22623         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
22624         (two_way_short_needle): Use it.
22625         * string/strstr.c (AVAILABLE1_USES_J): Define.
22626         * string/strcasestr.c: Likewise.
22628         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
22629         array references.
22630         * string/strcasestr.c (TOLOWER): Make side-effect safe.
22632         [BZ #11607]
22633         * NEWS: Add an entry.
22634         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22635         define their defaults.
22636         (two_way_short_needle): Detect end-of-string on-the-fly.
22637         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22638         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22639         * string/bug-strcasestr1.c: New test.
22640         * string/Makefile: Run it.
22642 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
22644         [BZ #11607]
22645         * string/str-two-way.h (two_way_short_needle): Optimize matching of
22646         the first character.
22648 2012-08-21  Roland McGrath  <roland@hack.frob.com>
22650         * csu/elf-init.c (__libc_csu_irel): Function removed.
22651         * csu/libc-start.c (apply_irel): New function.
22652         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22654 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
22656         * sysdeps/unix/sysv/linux/kernel-features.h
22657         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22658         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22659         <kernel-features.h>.
22660         [__NR_fadvise64_64]: Make code unconditional.
22661         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22662         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22663         !__NR_fadvise64_64)]: Likewise.
22664         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22665         !__NR_fadvise64_64))]: Likewise.
22666         [__NR_fadvise64]: Make code unconditional.
22667         [!__NR_fadvise64]: Remove conditional code.
22668         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22669         <kernel-features.h>.
22670         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22671         unconditional.
22672         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22673         conditional code.
22674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22675         not include <kernel-features.h>.
22676         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22677         unconditional.
22678         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22679         conditional code.
22680         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22681         include <kernel-features.h>.
22682         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22683         unconditional.
22684         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22685         conditional code.
22687 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
22689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22690         slight instruction rearrangements per scrollpipe analysis.
22691         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22693 2012-08-20  Roland McGrath  <roland@hack.frob.com>
22695         * manual/syslog.texi (syslog; vsyslog, closelog):
22696         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22697         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22699         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22700         DSOCAPS to match condition on defining it.
22702 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
22704         * sysdeps/unix/sysv/linux/kernel-features.h
22705         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22707         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22708         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22710         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22711         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22713         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22714         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22716         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22717         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22719         * sysdeps/unix/sysv/linux/kernel-features.h
22720         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22721         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22722         unconditional.
22723         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22724         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22725         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22726         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22727         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22728         Make code unconditional.
22729         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22730         (__mmap64) [!__NR_mmap2]: Likewise.
22731         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22732         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22733         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22734         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22735         [__NR_mmap2]: Make code unconditional.
22736         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22737         (__mmap64) [!__NR_mmap2]: Likewise.
22739 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22741         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22743 2012-08-18  Andreas Jaeger  <aj@suse.de>
22745         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22747 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22749         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22750         * include/unistd.h (__have_sock_cloexec): Likewise.
22751         (__have_pipe2): Likewise.
22752         (__have_dup3): Likewise.
22754 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
22756         [BZ #9685]
22757         * include/unistd.h (__have_pipe2): Change define into an extern int.
22758         (__have_dup3): Likewise.
22759         * socket/have_sock_cloexec.c: Include fcntl.h.
22760         (__have_pipe2): New variable.
22761         (__have_dup3): Likewise.
22763 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
22765         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22767 2012-08-17  Marek Polacek  <polacek@redhat.com>
22769         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22770         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22772 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22774         * configure.in: Add AC_SUBST for sysheaders.
22775         * configure: Regenerated.
22776         * config.make.in (sysheaders): New substituted variable.
22778         * sysdeps/unix/mkfifo.c: Moved ...
22779         * sysdeps/posix/mkfifo.c: ... here.
22780         * sysdeps/unix/mkfifoat.c: Moved ...
22781         * sysdeps/posix/mkfifoat.c: ... here.
22783         * sysdeps/unix/utime.c: Moved ...
22784         * sysdeps/posix/utime.c: ... here.
22786         * sysdeps/unix/time.c: Moved ...
22787         * sysdeps/posix/time.c: ... here.
22788         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22789         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22791         * sysdeps/unix/nice.c: Moved ...
22792         * sysdeps/posix/nice.c: ... here.
22794         * sysdeps/unix/alarm.c: Moved ...
22795         * sysdeps/posix/alarm.c: ... here.
22797         * intl/Makefile ($(codeset_mo)): Depend on the input file.
22799 2012-08-17  Jeff Law <law@redhat.com>
22801         * intl/Makefile (codeset_mo): New variable.
22802         ($(codeset_mo)): New target.
22803         (tst-codeset.out): Depend on that.  Remove explicit rule.
22804         (tst-gettext3.out, tst-gettext5.out): Likewise.
22805         (LOCPATH-ENV, tst-codeset-ENV): New variables.
22806         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22807         * intl/tst-codeset.sh: Remove.
22808         * intl/tst-gettext3.sh: Likewise.
22809         * intl/tst-gettext5.sh: Likewise.
22811 2012-08-17  Roland McGrath  <roland@hack.frob.com>
22813         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
22814         * sysdeps/unix/syscalls.list: ... here.
22816         * sysdeps/posix/getaddrinfo.c
22817         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22818         (gaiconf_init, gaiconf_reload): Use them.
22819         [!_STATBUF_ST_NSEC]
22820         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22821         Define using time_t rather than struct timespec.
22823         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22824         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22825         Macros removed.
22826         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22827         [!NO_THREADS].
22828         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22829         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22830         Likewise.
22832         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22833         __libc_cleanup_push argument.
22835         * bits/param.h: New file.
22836         * misc/sys/param.h: New file.
22837         * include/sys/param.h: New file.
22838         * misc/Makefile (headers): Add bits/param.h.
22839         * sysdeps/generic/sys/param.h: File removed.
22840         * sysdeps/unix/sysv/linux/bits/param.h: New file.
22841         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22842         * sysdeps/mach/hurd/bits/param.h: New file.
22843         * sysdeps/mach/hurd/sys/param.h: File removed.
22845         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22846         last change.
22848         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22849         [_IO_MTSAFE_IO].
22850         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22851         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22852         New macros.
22854         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22855         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22856         rather than -D_IO_MTSAFE_IO conditionally.
22857         * stdio-common/Makefile (CPPFLAGS): Likewise.
22858         * wcsmbs/Makefile (CPPFLAGS): Likewise.
22859         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22860         Use $(libio-mtsafe).
22861         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22862         of -D_IO_MTSAFE_IO.
22863         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22864         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22865         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22866         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22867         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22868         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22869         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22870         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22871         (CFLAGS-fread_u_chk.c): Likewise.
22872         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22873         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22874         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22875         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22876         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22877         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22878         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22879         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22880         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22882         * libio/Makefile: Test [$(libc-reentrant) = yes]
22883         instead of [$(filter %REENTRANT, $(defines)) nonempty].
22885         * Makeconfig
22886         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22887         * sysdeps/pthread/configure: File removed.
22888         * sysdeps/pthread/Makeconfig: New file.
22889         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22890         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22892 2012-08-16  Gary Benson  <gbenson@redhat.com>
22894         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22895         unmapping the first object in a namespace.
22897 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22899         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22900         (__internal_setnetgrent): ... this.  Add internal_function to
22901         definition.  Add libc_hidden_def.
22902         (setnetgrent): Update caller.
22903         (internal_endnetgrent): Renamed to ...
22904         (__internal_endnetgrent): ... this.  Add internal_function to
22905         definition.  Add libc_hidden_def.
22906         (endnetgrent): Update caller.
22907         (internal_getnetgrent_r): Renamed to ...
22908         (__internal_getnetgrent_r): ... this.  Add internal_function to
22909         definition.  Add libc_hidden_def.
22910         (__getnetgrent_r): Update caller.
22911         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
22913 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22915         * stdlib/longlong.h: Update from GCC.
22917 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22919         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22920         on _QL, which is set by umul_ppmm but never used.
22921         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22922         variables, which are set by GMP macros but never used.
22923         * stdio-common/_itowa.c (_itowa): Likewise.
22924         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22925         * stdlib/mod_1.c (mpn_mod_1): Likewise.
22927 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
22929         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22930         struct La_sh_regs is not constant.
22931         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22932         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22933         and struct La_sparc64_regs are not constant.
22935 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22937         * sysdeps/unix/sysv/linux/kernel-features.h
22938         (__ASSUME_POSIX_TIMERS): Remove.
22939         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22940         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22941         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22942         Make code unconditional.
22943         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22944         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22945         Make code unconditional.
22946         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22947         * sysdeps/unix/sysv/linux/clock_nanosleep.c
22948         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22949         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22950         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22951         Make code unconditional.
22952         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22953         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22954         (__libc_missing_posix_timers): Remove.
22956 2012-08-15  Roland McGrath  <roland@hack.frob.com>
22958         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22959         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22961         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22963         * elf/dl-sym.c: Include <stdlib.h>.
22965         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22966         constants, which avoids warnings in 32-bit builds.
22968         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22969         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22971         * misc/lseek.c: File moved to ...
22972         * io/lseek.c: ... here.
22974         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22976         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22977         shifting LEN more than 31 bits at once.
22979 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22981         [BZ #14195]
22982         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22983         segmentation fault for a case of two empty input strings.
22984         * string/test-strncasecmp.c (check1): Renamed to...
22985         (bz12205): ...this.
22986         (bz14195): Add new testcase for two empty input strings and N > 0.
22987         (test_main): Call new testcase, adapt for renamed function.
22989 2012-08-15  Andreas Jaeger  <aj@suse.de>
22991         [BZ #14090]
22992         * crypt/md5test2.c: New test, based on test supplied by Serge
22993         Belyshev <belyshev@depni.sinp.msu.ru>.
22994         * crypt/Makefile (xtests): Add md5test-giant..
22995         * crypt/Makefile ($(objpfx)md5test-giant): Add.
22997 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
22999         [BZ #14090]
23000         * crypt/md5.c (md5_process_block): Don't assume the buffer
23001         length is less than 2**32.
23002         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23003         length is less than 2**64.
23005 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23007         * string/str-two-way.h: Include <sys/param.h>.
23008         (MAX): Macro removed.
23010         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23011         Move #define and #undef of memmove to just before and after
23012         including <string.h>.
23014         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23015         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23016         and after including <string.h>.  Move declarations of
23017         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23018         to before #include "string/memmove.c".
23020         * include/dirent.h: Declare __getdirentries.
23022         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23023         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23025 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23027         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23028         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23029         * sysdeps/i386/configure: Regenerated.
23030         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23031         STABS_CURRENT_FILE, and STABS_FUN.
23032         (END): Remove call to STABS_FUN_END.
23033         (STABS_CURRENT_FILE1): Delete.
23034         (STABS_CURRENT_FILE): Likewise.
23035         (STABS_FUN): Likewise.
23036         (STABS_FUN_END): Likewise.
23037         (STABS_FUN2): Likewise.
23038         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23039         * sysdeps/x86_64/configure: Regenerated.
23041 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23043         * elf/dl-open.c: Include <atomic.h>.
23044         * elf/dl-lookup.c: Likewise.
23046 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23048         * sysdeps/unix/sysv/linux/kernel-features.h
23049         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23050         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23051         unconditionally.
23052         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23053         unconditionally.
23054         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23055         condition on __ASSUME_CLONE_THREAD_FLAGS.
23057 2012-08-14  Andreas Jaeger  <aj@suse.de>
23059         * sysdeps/i386/fpu/libm-test-ulps: Update.
23061 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23063         * include/atomic.h (atomic_exchange_and_add): Split into ...
23064         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23065         New atomic macros.
23067 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23071 2012-08-13  Jeff Law <law@redhat.com>
23073         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23074         null byte in the output string.
23076 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23078         * sysdeps/unix/sysv/linux/kernel-features.h
23079         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23080         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23081         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23082         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23083         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23084         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23085         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23087 2012-08-09  Jeff Law <law@redhat.com>
23089         [BZ #13939]
23090         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23091         When avoid_arena is set, don't retry in the that arena.  Pick the
23092         next one, whatever it might be.
23093         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23094         (arena_lock): Pass in new parameter to arena_get2.
23095         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23096         arena_get2.
23097         (__libc_malloc): Unify retrying after main arena failure with
23098         __libc_memalign version.
23099         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23101 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23103         [BZ #14166]
23104         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23105         to __redirect_strstr.
23106         (__strstr_sse42): Use typeof __redirect_strstr.
23107         (__strstr_ia32): Likewise.
23108         (__libc_strstr): New prototype.
23109         (strstr): Renamed to ...
23110         (__libc_strstr): This.
23111         (strstr): New strong alias of __libc_strstr.
23112         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23113         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23114         __redirect_time.
23115         Include <time.h>.
23116         (__libc_time): New prototype.
23117         (time_ifunc): Replace time with __libc_time.
23118         (time): New strong alias and hidden definition of __libc_time.
23119         (__GI_time): Remove strong alias.
23120         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23121         Include <stddef.h>.
23122         (memmove): Redefined to __redirect_memmove.
23123         (__memmove_sse2): Use typeof __redirect_memmove.
23124         (__memmove_ssse3): Likewise.
23125         (__memmove_ssse3_back): Likewise.
23126         (__libc_memmove): New prototype.
23127         (memmove): Renamed to ...
23128         (__libc_memmove): This.
23129         (memmove): New strong alias of __libc_memmove.
23131 2012-08-08  Mark Salter  <msalter@redhat.com>
23133         * elf/elf.h
23134         (R_MN10300_TLS_GD): Define.
23135         (R_MN10300_TLS_LD): Likewise.
23136         (R_MN10300_TLS_LDO): Likewise.
23137         (R_MN10300_TLS_GOTIE): Likewise.
23138         (R_MN10300_TLS_IE): Likewise.
23139         (R_MN10300_TLS_LE): Likewise.
23140         (R_MN10300_TLS_DTPMOD): Likewise.
23141         (R_MN10300_TLS_DTPOFF): Likewise.
23142         (R_MN10300_TLS_TPOFF): Likewise.
23143         (R_MN10300_SYM_DIFF): Likewise.
23144         (R_MN10300_ALIGN): Likewise.
23145         (R_MN10300_NUM): Update.
23147 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23150         Remove.
23152 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23156         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23157         sysdeps/unix -> sysdeps/posix move.
23158         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23160 2012-08-07      Allan McRae     <allan@archlinux.org>
23162         [BZ #14303]
23163         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23164         (SUNOS_CPP): Likewise.
23165         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23166         not found.
23167         (open_input): Call CPP using execvp.
23169 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23171         * sysdeps/unix/sysv/linux/kernel-features.h
23172         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23173         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23174         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23175         (__ASSUME_WAITID_SYSCALL): Likewise.
23176         * sysdeps/unix/sysv/linux/dl-execstack.c
23177         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23178         code unconditional.
23179         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23180         conditional code.
23181         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23182         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23183         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23184         code.
23185         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23186         unconditional.
23187         [__ASSUME_WAITID_SYSCALL]: Likewise.
23188         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23190 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23192         * sysdeps/unix/closedir.c: Renamed to ...
23193         * sysdeps/posix/closedir.c: ... here.
23194         * sysdeps/unix/dirfd.c: Renamed to ...
23195         * sysdeps/posix/dirfd.c: ... here.
23196         * sysdeps/unix/dirstream.h: Renamed to ...
23197         * sysdeps/posix/dirstream.h: ... here.
23198         * sysdeps/unix/fdopendir.c: Renamed to ...
23199         * sysdeps/posix/fdopendir.c: ... here.
23200         * sysdeps/unix/opendir.c: Renamed to ...
23201         * sysdeps/posix/opendir.c: ... here.
23202         * sysdeps/unix/readdir.c: Renamed to ...
23203         * sysdeps/posix/readdir.c: ... here.
23204         * sysdeps/unix/readdir_r.c: Renamed to ...
23205         * sysdeps/posix/readdir_r.c: ... here.
23206         * sysdeps/unix/rewinddir.c: Renamed to ...
23207         * sysdeps/posix/rewinddir.c: ... here.
23208         * sysdeps/unix/seekdir.c: Renamed to ...
23209         * sysdeps/posix/seekdir.c: ... here.
23210         * sysdeps/unix/telldir.c: Renamed to ...
23211         * sysdeps/posix/telldir.c: ... here.
23212         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23213         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23214         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23215         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23217         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23218         * bits/fcntl.h: ... here.
23220         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23221         not 0.
23222         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23223         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23224         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23225         (struct flock): Move l_start, l_len to the beginning.
23226         Use __pid_t for l_pid.
23227         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23228         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23229         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23230         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23231         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23232         [__USE_LARGEFILE64] (struct flock64): New type.
23233         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23235         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23236         * bits/dirent.h: ... here.
23238         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23239         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23241 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23243         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23244         Change from 2.6.0 to 2.6.16.
23245         * sysdeps/unix/sysv/linux/configure: Regenerated.
23246         * sysdeps/unix/sysv/linux/kernel-features.h
23247         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23248         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23249         version.
23250         (__ASSUME_UTIMES): Likewise.
23251         (__ASSUME_CLONE_STOPPED): Remove.
23252         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23253         architectures, not kernel version.
23254         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23255         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23256         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23257         (__ASSUME_WAITID_SYSCALL): Likewise.
23258         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23259         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23260         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23261         refer to older versions.
23263 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23265         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23266         Define alphasort64 as an alias.
23267         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23268         Define versionsort64 as an alias.
23269         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23270         Define scandir64 as an alias.
23271         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23272         Define scandirat64 as an alias.
23273         * dirent/alphasort64.c (alphasort64):
23274         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23275         * dirent/versionsort64.c: Likewise.
23276         * dirent/scandir64.c: Likewise.
23277         * dirent/scandirat64.c: Likewise.
23278         * sysdeps/wordsize-64/alphasort.c: File removed.
23279         * sysdeps/wordsize-64/alphasort64.c: File removed.
23280         * sysdeps/wordsize-64/scandir.c: File removed.
23281         * sysdeps/wordsize-64/scandir64.c: File removed.
23282         * sysdeps/wordsize-64/scandirat.c: File removed.
23283         * sysdeps/wordsize-64/scandirat64.c: File removed.
23284         * sysdeps/wordsize-64/versionsort.c: File removed.
23285         * sysdeps/wordsize-64/versionsort64.c: File removed.
23286         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23288         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23289         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23290         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23291         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23292         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23293         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23295         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23297         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23298         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23299         [defined __arch64__ || defined __sparcv9]
23300         (__INO_T_MATCHES_INO64_T): New macro.
23301         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23302         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23303         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23304         * sysdeps/unix/sysv/linux/bits/dirent.h
23305         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23306         (_DIRENT_MATCHES_DIRENT64): New macro.
23308         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23309         Define lockf64 as an alias.
23310         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23311         Define fseeko64 as an alias.
23312         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23313         Define ftello64 as an alias.
23314         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23315         Define _IO_fgetpos64 and fgetpos64 as aliases.
23316         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23317         Define _IO_fsetpos64 and fsetpos64 as aliases.
23318         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23319         Conditionalize body on this.
23320         * libio/fseeko64.c: Likewise.
23321         * libio/ftello64.c: Likewise.
23322         * libio/iofgetpos64.c: Likewise.
23323         * libio/iofsetpos64.c: Likewise.
23324         * sysdeps/wordsize-64/lockf.c: File removed.
23325         * sysdeps/wordsize-64/lockf64.c: File removed.
23326         * sysdeps/wordsize-64/fseeko.c: File removed.
23327         * sysdeps/wordsize-64/fseeko64.c: File removed.
23328         * sysdeps/wordsize-64/ftello.c: File removed.
23329         * sysdeps/wordsize-64/ftello64.c: File removed.
23330         * sysdeps/wordsize-64/iofgetpos.c: File removed.
23331         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23332         * sysdeps/wordsize-64/iofsetpos.c: File removed.
23333         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23334         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23335         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23336         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23337         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23338         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23339         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23340         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23341         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23342         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23343         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
23345         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23346         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23347         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
23348         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23349         [defined __arch64__ || defined __sparcv9]
23350         (__OFF_T_MATCHES_OFF64_T): New macro.
23351         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23352         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
23353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23354         (__OFF_T_MATCHES_OFF64_T): New macro.
23356 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23358         * stdlib/secure-getenv.c (__secure_getenv): Replace
23359         GLIBC_2_16 with GLIBC_2_17.
23361 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
23363         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
23364         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23366 2012-08-03  David S. Miller  <davem@davemloft.net>
23368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23370 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
23373         Remove.
23374         (__ASSUME_CORRECT_SI_PID): Likewise.
23375         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
23376         (__ASSUME_TMPFS_NAME): Likewise.
23377         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23378         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
23379         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
23380         (HAVE_AUX_SECURE): Make definition unconditional.
23381         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
23382         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23384 2012-08-03  Roland McGrath  <roland@hack.frob.com>
23386         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
23387         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
23388         * sysdeps/mach/hurd/eloop-threshold.h: New file.
23389         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23390         __eloop_threshold instead of SYMLOOP_MAX.
23392         * sysdeps/generic/eloop-threshold.h: New file.
23393         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
23394         of MAXSYMLINKS.
23395         * elf/chroot_canon.c (chroot_canon): Likewise.
23397 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
23399         [BZ #13717]
23400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23401         Change to 2.6.0 everywhere.
23402         * sysdeps/unix/sysv/linux/configure: Regenerated.
23403         * sysdeps/unix/sysv/linux/kernel-features.h
23404         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
23405         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
23406         kernel versions.
23407         (__ASSUME_POSIX_TIMERS): Define unconditionally.
23408         (__ASSUME_FUTEX_REQUEUE): Remove.
23409         (__ASSUME_STATFS64): Define unconditionally.
23410         (__ASSUME_AT_SECURE): Likewise.
23411         (__ASSUME_CORRECT_SI_PID): Likewise.
23412         (__ASSUME_TGKILL): Define without depending on kernel version for
23413         i386.
23414         (__ASSUME_UTIMES): Likewise.
23415         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
23416         kernel version.
23417         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
23418         (__ASSUME_TMPFS_NAME): Likewise.
23419         * README: Update reference to Linux kernel versions.
23421 2012-08-02  Marek Polacek  <polacek@redhat.com>
23423         [BZ# 14150]
23424         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
23425         libc_cv_asm_type_prefix with %.
23426         * configure: Regenerated.
23427         * include/libc-symbols.h: Remove comment about
23428         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23429         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
23430         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
23431         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
23432         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
23433         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
23434         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
23435         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
23436         * elf/tst-unique2mod1.c: Likewise.
23437         * elf/tst-unique1mod2.c: Likewise.
23438         * elf/tst-unique1mod1.c: Likewise.
23439         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
23440         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
23441         Replace ASM_TYPE_DIRECTIVE with .type.
23442         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23443         * sysdeps/i386/sysdep.h: Likewise.
23444         * sysdeps/x86_64/sysdep.h: Likewise.
23445         * sysdeps/sh/sysdep.h: Likewise.
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23447         Do not define ASM_TYPE_DIRECTIVE.
23448         * sysdeps/powerpc/sysdep.h: Likewise.
23449         * sysdeps/powerpc/powerpc32/sysdep.h:
23450         Replace ASM_TYPE_DIRECTIVE with .type.
23451         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23452         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23453         * sysdeps/i386/fpu/e_powf.S: Likewise.
23454         * sysdeps/i386/fpu/e_expl.S: Likewise.
23455         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23456         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23457         * sysdeps/i386/fpu/e_pow.S: Likewise.
23458         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23459         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23460         * sysdeps/i386/fpu/s_expm1.S: Likewise.
23461         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23462         * sysdeps/i386/fpu/e_log2.S: Likewise.
23463         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23464         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23465         * sysdeps/i386/fpu/e_powl.S: Likewise.
23466         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23467         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23468         * sysdeps/i386/fpu/e_logl.S: Likewise.
23469         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23470         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23471         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23472         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23473         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23474         * sysdeps/i386/fpu/e_log.S: Likewise.
23475         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23476         * sysdeps/i386/fpu/e_logf.S: Likewise.
23477         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23478         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23479         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23480         * sysdeps/i386/fpu/e_log10.S: Likewise.
23481         * sysdeps/i386/fpu/s_frexp.S: Likewise.
23482         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23483         * sysdeps/i386/fpu/s_asinh.S: Likewise.
23484         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23485         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23486         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23487         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23488         * sysdeps/i386/i686/strtok.S: Likewise.
23489         * sysdeps/i386/i386-mcount.S: Likewise.
23490         * sysdeps/i386/strtok.S: Likewise.
23491         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
23492         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23493         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23494         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23495         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23496         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23497         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23498         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23499         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23500         * sysdeps/x86_64/_mcount.S: Likewise.
23501         * sysdeps/x86_64/strtok.S: Likewise.
23502         * sysdeps/sh/_mcount.S: Likewise.
23504 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23506         * libio/iofopen.c: Include <fcntl.h>.
23507         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
23508         (_IO_fopen64, fopen64): Define as aliases.
23509         * libio/iofopen64.c: Include <fcntl.h>.
23510         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
23511         Conditionalize body on this.
23512         * sysdeps/wordsize-64/iofopen.c: File removed.
23513         * sysdeps/wordsize-64/iofopen64.c: File removed.
23515 2012-08-01  Marek Polacek  <polacek@redhat.com>
23517         * libc/Makeconfig: Use elf in place of binfmt-subdir.
23518         Use dlfcn directly instead of a variable.
23519         (binfmt-subdir): Do not define.
23520         (dlfcn): Likewise.
23522 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
23524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
23525         Remove all definitions.
23526         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
23527         <kernel-features.h>.
23528         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23529         (miss_F_GETOWN_EX): Remove all definitions.
23530         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
23531         macro definition.
23532         [!__ASSUME_FCNTL64]: Remove conditional code.
23533         [__ASSUME_FCNTL64]: Make code unconditional.
23534         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
23535         <kernel-features.h>.
23536         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
23537         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
23538         (lockf64) [__NR_fcntl64]: Make code unconditional.
23539         (lockf64) [__ASSUME_FCNTL64]: Likewise.
23541         * sysdeps/unix/sysv/linux/kernel-features.h
23542         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
23543         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23544         Make code unconditional.
23545         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23546         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
23548         [__NR_vfork]: Make code unconditional.
23549         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23550         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
23552         [__NR_vfork]: Make code unconditional.
23553         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
23554         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
23556 2012-08-01  Roland McGrath  <roland@hack.frob.com>
23558         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
23559         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
23561         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23562         Define mkstemp64 as an alias.
23563         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23564         Define mkstemps64 as an alias.
23565         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23566         Define mkostemp64 as an alias.
23567         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
23568         Define mkostemps64 as an alias.
23569         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
23570         Conditionalize body on this.
23571         * misc/mkostemp64.c: Likewise.
23572         * misc/mkostemps64.c: Likewise.
23573         * misc/mkstemps64.c: Likewise.
23574         * sysdeps/wordsize-64/mkstemp64.c: File removed.
23575         * sysdeps/wordsize-64/mkostemp64.c: File removed.
23576         * sysdeps/wordsize-64/mkostemp.c: File removed.
23577         * sysdeps/wordsize-64/mkstemp.c: File removed.
23578         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
23579         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
23580         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
23581         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
23583         [BZ #14138]
23584         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
23585         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
23586         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23587         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
23589         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
23590         compat_symbol macros from <shlib-compat.h> rather than the underlying
23591         default_symbol_version and symbol_version macros, so that DEFAULT
23592         lines in shlib-versions are respected.
23593         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
23595 2012-08-01  Florian Weimer  <fweimer@redhat.com>
23597         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
23598         Declare with warn_unused_result.
23599         (setgid, setregid, setegid, setresgid): Likewise.
23600         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
23601         Likewise.
23602         * WUR-REPORT: Remove set*id functions.
23604 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
23606         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
23608 2012-07-31  Roland McGrath  <roland@hack.frob.com>
23610         [BZ #10191]
23611         * include/sys/socket.h (__libc_accept, __libc_accept4):
23612         Add attribute_hidden.
23613         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
23615         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
23616         use of PTR_MANGLE.
23617         * inet/getnetgrent_r.c (setup): Likewise.
23619         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
23621 2012-07-31  David S. Miller  <davem@davemloft.net>
23623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23625 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
23627         [BZ #13629]
23628         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
23629         value between 1.0 and 2.0 and smaller part has absolute value less
23630         than 1.0.
23631         * math/s_clog10.c (__clog10): Likewise.
23632         * math/s_clog10f.c (__clog10f): Likewise.
23633         * math/s_clog10l.c (__clog10l): Likewise.
23634         * math/s_clogf.c (__clogf): Likewise.
23635         * math/s_clogl.c (__clogl): Likewise.
23636         * math/libm-test.inc (clog_test): Add more tests.
23637         (clog10_test): Likewise.
23638         * sysdeps/i386/fpu/libm-test-ulps: Update.
23639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23641 2012-07-31  Florian Weimer  <fweimer@redhat.com>
23643         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23644         Exit with zero in case no suitable GID is found, and write a
23645         message to standard error.
23647 2012-07-30  Roland McGrath  <roland@hack.frob.com>
23649         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23650         rather than to 1.
23651         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23652         (MAXPATHLEN): Removed.
23653         (NOGROUP, NODEV): New macros.
23654         (setbit, clrbit, isset, isclr): New macros.
23655         (howmany, roundup, powerof2): New macros.
23656         (DEV_BSIZE): New macro.
23658         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23659         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23661         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23662         definition on [!__NO_LONG_DOUBLE_MATH].
23664         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23665         PTR_MANGLE and PTR_DEMANGLE.
23667         * socket/accept4.c (accept4): Rename to __libc_accept4.
23668         Define accept4 as a weak alias.
23670         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23671         on [_DIRENT_HAVE_D_TYPE].
23672         * io/ftw.c (ftw_dir): Likewise.
23674         * io/xmknod.c (__xmknod): Don't check PATH for being null.
23676         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23678         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23679         Use the BSD numbers rather than the arbitrary ones we had.
23680         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23681         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23682         (SIGXCPU, SIGXFSZ): New macros.
23683         (_NSIG): Now 32.
23685         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23686         initializer on [_LIBC_REENTRANT].
23688         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23689         definitions inside [_POSIX_MAPPED_FILES].
23691         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23693         * dirent/opendir.c: Include <fcntl.h>.
23695         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23696         (__libc_getspecific): Likewise.
23697         (__libc_key_create): Likewise.
23699         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23700         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23701         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23702         (tmpfile64): Define as alias.
23703         * sysdeps/wordsize-64/tmpfile.c: File removed.
23704         * sysdeps/wordsize-64/tmpfile64.c: File removed.
23705         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23706         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23708         * stdio-common/vfscanf.c: Include <stdbool.h>.
23709         * nss/makedb.c: Likewise.
23710         * stdio-common/_i18n_number.h: Likewise.
23711         * argp/argp-help.c: Likewise.
23712         * posix/wordexp.c: Likewise.
23713         * sysdeps/posix/spawni.c: Likewise.
23714         * nss/nss_files/files-initgroups.c: Likewise.
23715         * stdio-common/reg-modifier.c: Include <stdlib.h>.
23716         * nss/nss_files/files-initgroups.c: Likewise.
23717         * nss/nss_db/db-netgrp.c: Likewise.
23718         * nss/nss_db/db-initgroups.c: Likewise.
23719         * io/fchmodat.c: Include <sys/stat.h>.
23721         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23722         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23724         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23725         [HAVE_MMAP].
23727         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23728         Add multiple inclusion protection.
23730 2012-07-27  David S. Miller  <davem@davemloft.net>
23732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23734 2012-07-27  Gary Benson  <gbenson@redhat.com>
23736         [BZ #14298]
23737         * elf/rtld.c: Include <stap-probe.h>.
23738         (dl_main): Added static probes "init_start" and "init_complete".
23739         * elf/dl-load.c: Include <stap-probe.h>.
23740         (lose): Take new parameter "nsid".
23741         Added static probe "map_failed".
23742         (_dl_map_object_from_fd): Pass namespace id to lose.
23743         Added static probe "map_start".
23744         (open_verify): Pass namespace id to lose.
23745         * elf/dl-open.c: Include <stap-probe.h>.
23746         (dl_open_worker) Added static probes "map_complete", "reloc_start"
23747         and "reloc_complete".
23748         * elf/dl-close.c: Include <stap-probe.h>.
23749         (_dl_close_worker): Added static probes "unmap_start" and
23750         "unmap_complete".
23751         * elf/rtld-debugger-interface.txt: New file documenting the above.
23753 2012-07-26  Roland McGrath  <roland@hack.frob.com>
23755         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23756         rather than a string variable.
23757         * sunrpc/rpc_main.c (h_output): Likewise.
23758         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23760 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
23762         * inet/check_native.c: New file.
23764 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
23766         [BZ #13629]
23767         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23768         if larger part has absolute value 1.0.
23769         * math/s_clog10.c (__clog10): Likewise.
23770         * math/s_clog10f.c (__clog10f): Likewise.
23771         * math/s_clog10l.c (__clog10l): Likewise.
23772         * math/s_clogf.c (__clogf): Likewise.
23773         * math/s_clogl.c (__clogl): Likewise.
23774         * math/libm-test.inc (clog_test): Add more tests.
23775         (clog10_test): Likewise.
23776         * sysdeps/i386/fpu/libm-test-ulps: Update.
23777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23779         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23780         (pltexit): Likewise.
23781         (La_regs): Likewise.
23782         (La_retval): Likewise.
23783         (int_retval): Likewise.
23784         Update #error for removed macros to refer only to definitions in
23785         tst-audit.h.
23786         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23787         macro.
23788         (pltexit): Likewise.
23789         (La_regs): Likewise.
23790         (La_retval): Likewise.
23791         (int_retval): Likewise.
23792         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23793         macro.
23794         (pltexit): Likewise.
23795         (La_regs): Likewise.
23796         (La_retval): Likewise.
23797         (int_retval): Likewise.
23798         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23799         macro.
23800         (pltexit): Likewise.
23801         (La_regs): Likewise.
23802         (La_retval): Likewise.
23803         (int_retval): Likewise.
23804         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23805         macro.
23806         (pltexit): Likewise.
23807         (La_regs): Likewise.
23808         (La_retval): Likewise.
23809         (int_retval): Likewise.
23810         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23811         macro.
23812         (pltexit): Likewise.
23813         (La_regs): Likewise.
23814         (La_retval): Likewise.
23815         (int_retval): Likewise.
23816         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23817         macro.
23818         (pltexit): Likewise.
23819         (La_regs): Likewise.
23820         (La_retval): Likewise.
23821         (int_retval): Likewise.
23822         * sysdeps/generic/tst-audit.h: Update comment to refer only to
23823         macro definitions in tst-audit.h.
23824         * sysdeps/i386/tst-audit.h: New file.
23825         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23826         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23827         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23828         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23829         * sysdeps/sh/tst-audit.h: Likewise.
23830         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23831         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23832         * sysdeps/x86_64/tst-audit.h: Likewise.
23834 2012-07-26  Andreas Jaeger  <aj@suse.de>
23836         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23837         ptrace.
23839         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23840         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23841         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23842         PTRACE_O_MASK.
23843         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23844         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23845         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23847         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23848         value.
23850         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23851         _sigsys.
23852         (si_call_addr, si_syscall, si_arch): Define new macro.
23853         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23854         _sigsys.
23855         (si_call_addr, si_syscall, si_arch): Define new marcro.
23856         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23857         _sigsys.
23858         (si_call_addr, si_syscall, si_arch): Define new macro.
23859         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23860         _sigsys.
23861         (si_call_addr, si_syscall, si_arch): Define new macro.
23863 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23865         [BZ #13717]
23866         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23867         Change to 2.4.21 where previously 2.4.1.
23868         * sysdeps/unix/sysv/linux/configure: Regenerated.
23869         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23870         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23871         Linux kernel version.
23872         (__ASSUME_STD_AUXV): Remove.
23873         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23874         kernel version.
23875         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23876         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23877         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23878         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23879         (__ASSUME_NETLINK_SUPPORT): Likewise.
23880         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23881         (__no_netlink_support): Remove conditional definition.
23882         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23883         Remove.
23884         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23885         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23886         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23887         (if_nameindex_ioctl): Remove.
23888         (if_nameindex_netlink): Do not handle __no_netlink_support.
23889         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23890         code.
23891         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23892         Remove conditional code.
23893         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23894         code.
23895         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23896         unconditional.
23897         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23898         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23899         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23900         Remove.
23901         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23902         [!__ASSUME_STD_AUXV]: Remove conditional code.
23903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23904         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23905         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23907         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23908         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23909         code.
23910         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23912         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23913         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23914         conditional code.
23915         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23917         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23918         code.
23919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23920         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23921         conditional code.
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23923         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23924         code unconditional.
23925         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23926         conditional code.
23927         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23928         unconditional.
23929         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23930         conditional code.
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23932         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23933         unconditional.
23934         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23935         conditional code.
23936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23937         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23938         code unconditional.
23939         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23940         conditional code.
23941         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23942         unconditional.
23943         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23944         conditional code.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23946         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23947         code unconditional.
23948         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23949         conditional code.
23950         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23951         unconditional.
23952         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23953         conditional code.
23955 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
23957         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23958         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23959         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23960         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23961         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23962         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23963         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23964         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23965         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23966         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23967         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23969         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23970         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23971         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23972         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23973         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23974         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23975         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23977         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23981 2012-07-25  Florian Weimer  <fweimer@redhat.com>
23983         * Versions.def: Add GLIBC_2.17.
23984         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23985         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23986         Introduce __libc_secure_getenv.
23987         * stdlib/Versions (2.17): Add secure_getenv
23988         (GLIBC_PRIVATE): Add __libc_secure_getenv.
23989         * stdlib/secure-getenv.c: Rename __secure_getenv to
23990         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
23991         symbol __secure_getenv for GLIBC_2.0.
23992         * stdlib/tst-secure-getenv.c: New.
23993         * stdlib/Makefile (tests): Add testcase.
23994         * manual/startup.texi (Environment Access): Document
23995         secure_getenv.
23996         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23997         __libc_secure_getenv.
23998         * inet/ruserpass.c (ruserpass): Likewise.
23999         * malloc/mtrace.c (mtrace): Likewise.
24000         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24001         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24002         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24003         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24004         HAVE_SECURE_GETENV.
24005         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24006         __secure_getenv to __libc_secure_getenv.
24007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24009         Likewise.
24010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24011         Likewise.
24012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24014         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24020 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24022         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24023         (struct La_i86_retval): Likewise.
24024         (struct La_x86_64_regs): Likewise.
24025         (struct La_x86_64_retval): Likewise.
24026         (struct La_x32_regs): Likewise.
24027         (struct La_x32_retval): Likewise.
24028         (struct La_ppc32_regs): Likewise.
24029         (struct La_ppc32_retval): Likewise.
24030         (struct La_ppc64_regs): Likewise.
24031         (struct La_ppc64_retval): Likewise.
24032         (struct La_sh_regs): Likewise.
24033         (struct La_sh_retval): Likewise.
24034         (struct La_s390_32_regs): Likewise.
24035         (struct La_s390_32_retval): Likewise.
24036         (struct La_s390_64_regs): Likewise.
24037         (struct La_s390_64_retval): Likewise.
24038         (struct La_sparc32_regs): Likewise.
24039         (struct La_sparc32_retval): Likewise.
24040         (struct La_sparc64_regs): Likewise.
24041         (struct La_sparc64_retval): Likewise.
24042         (struct audit_ifaces): Remove architecture-specific pltenter and
24043         pltexit members.
24044         * sysdeps/i386/ldsodefs.h: New file.
24045         * sysdeps/powerpc/ldsodefs.h: Likewise.
24046         * sysdeps/s390/ldsodefs.h: Likewise.
24047         * sysdeps/sh/ldsodefs.h: Likewise.
24048         * sysdeps/sparc/ldsodefs.h: Likewise.
24049         * sysdeps/x86_64/ldsodefs.h: Likewise.
24051 2012-07-25  Marek Polacek  <polacek@redhat.com>
24053         [BZ #6808]
24054         * math/libm-test.inc (yn_test): Add another test.
24055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24056         to ERANGE when the result is +-Inf.
24057         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24058         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24059         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24060         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24062 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24064         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24065         equal to 0.
24066         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24067         clock_t.
24068         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24070 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24072         * configure.in <sysdeps resolving>: Correct printing
24073         Implies_before.
24074         * configure: Regenerate.
24076 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24078         * math/w_ilogb.c: Include <limits.h>.
24079         * math/w_ilogbl.c: Likewise.
24081 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24083         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24084         va_copy.  Document allowing for unavailable va_copy only as
24085         pre-C99 compatibility.
24086         * manual/string.texi (Copying and Concatenation): Use va_copy
24087         instead of __va_copy in concat example.
24089 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24091         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24092         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24093         it if not null.
24095         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24096         with O_NOLINK passed to __file_name_lookup.
24098         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24099         with O_NOLINK passed to __file_name_lookup.
24101         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24102         negative N or less than NGIDS.
24104         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24105         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24106         enough.  Use memcpy instead of strncpy.
24108 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24110         * elf/Makefile (check-data): Remove.
24111         (localplt.data): New vpath directive.
24112         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24113         instead of $(check-data).
24114         * scripts/data/localplt-generic.data: Move to ...
24115         * sysdeps/generic/localplt.data: ... here.
24116         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24117         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24118         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24120         ... here.
24121         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24123         ... here.
24124         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24126         ... here.
24127         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24129         ... here.
24130         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24132         ... here.
24133         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24135         ... here.
24137 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24139         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24140         PPC32 and PPC64 files.
24141         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24142         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24144 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24146         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24147         __makecontext_ret to ...
24148         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24149         ... here and call exit if uc_link is NULL.  New file.
24150         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24151         __makecontext_ret.S.
24152         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24153         __makecontext_ret to ...
24154         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24155         ... here and call exit if uc_link is NULL.  New file.
24156         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24157         __makecontext_ret.S.
24159 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24161         * elf/elf.h (R_390_IRELATIVE): New definition.
24162         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24163         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24164         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24165         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24166         (elf_machine_lazy_rel): Likewise.
24167         * sysdeps/s390/dl-irel.h: New file.
24168         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24169         * sysdeps/s390/s390-64/memset.S: New asm code.
24170         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24171         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24172         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24173         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24174         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24175         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24176         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24177         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24178         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24179         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24180         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24181         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24182         * sysdeps/s390/s390-32/memset.S: New asm code.
24183         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24185 2012-07-17  Marek Polacek  <polacek@redhat.com>
24187         [BZ #14349]
24188         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24189         * sysdeps/s390/s390-64/configure.in: Likewise.
24190         * sysdeps/sparc/configure.in: Likewise.
24191         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24192         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24193         * sysdeps/i386/configure.in: Likewise.
24194         * sysdeps/x86_64/configure.in: Likewise.
24195         * sysdeps/sh/configure.in: Likewise.
24196         * sysdeps/s390/s390-32/configure: Regenerated.
24197         * sysdeps/s390/s390-64/configure: Likewise.
24198         * sysdeps/x86_64/configure: Likewise.
24199         * sysdeps/sh/configure: Likewise.
24200         * sysdeps/powerpc/powerpc64/configure: Likewise.
24201         * sysdeps/powerpc/powerpc32/configure: Likewise.
24202         * sysdeps/sparc/configure: Likwise.
24203         * sysdeps/i386/configure: Likewise.
24205         * elf/dl-open.c: Comment fixes.
24207 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24209         * Makefile [CXX] (check-data): Remove.
24210         [CXX] (c++-types.data): New vpath directive.
24211         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24212         vpath.  Do not allow for C++ type data being missing.
24213         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24214         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24215         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24216         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24217         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24218         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24219         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24221         ... here.
24222         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24224         ... here.
24225         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24227         ... here.
24228         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24230         ... here.
24231         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24233         ... here.
24234         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24236         ... here.
24237         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24239         ... here.
24240         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24243         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24244         definitions to architecture-specific files.
24245         (TLS_IE): Likewise.
24246         (TLS_LD): Likewise.
24247         (TLS_GD): Likewise.
24248         * sysdeps/i386/tls-macros.h: New file.
24249         * sysdeps/powerpc/tls-macros.h: Likewise.
24250         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24251         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24252         * sysdeps/sh/tls-macros.h: Likewise.
24253         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24254         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24255         * sysdeps/x86_64/tls-macros.h: Likewise.
24257 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24259         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24260         zero value for regular exit case.
24262         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24263         (__start_context): Preserve zero value for regular exit case.
24265 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24266             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24268         * manual/setjmp.texi (setcontext): Clarify normal process
24269         termination when uc_link is the null pointer.
24270         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24271         exit call.
24273 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24275         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24276         preprocessor.  Test for each exception mask separately.
24278 2012-07-16  Andreas Jaeger  <aj@suse.de>
24280         * po/ru.po: Update from translation team.
24282 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24284         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24285         equal to 0.
24286         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24287         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24288         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24289         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24290         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24292 2012-07-13  Andreas Jaeger  <aj@suse.de>
24294         * po/fr.po: Update from translation team.
24296 2012-07-12  Marek Polacek  <polacek@redhat.com>
24298         [BZ #14173]
24299         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24300         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24301         loop condition.
24303 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24305         [BZ #13717]
24306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24307         Change to 2.4.1 where previously 2.4.0.
24308         * sysdeps/unix/sysv/linux/configure: Regenerated.
24309         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24310         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24311         version.
24312         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24313         (__ASSUME_AT_CLKTCK): Remove.
24314         (__ASSUME_AT_PAGESIZE): Likewise.
24315         (__ASSUME_AT_XID): Likewise.
24316         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24317         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24318         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24319         unconditionally.
24320         (HAVE_AUX_PAGESIZE): Likewise.
24321         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24322         [__ASSUME_AT_CLKTCK]: Make code unconditional.
24323         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24325 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
24327         [BZ #14307]
24328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24329         the temporary buffer used to invoke __gethostbyname2_r,
24330         __gethostbyaddr_r and gethostbyname4_r to make room for struct
24331         host_data / struct gaih_addrtuple.
24332         * resolv/nss_dns/dns-host.c (global scope): Move definition of
24333         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24334         header file nss/nsswitch.h.
24335         * nss/nsswitch.h (global scope): Add definition of implementation
24336         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24337         resolv/nss_dns/dns-host.c).
24339 2012-07-11  Andreas Jaeger  <aj@suse.de>
24341         * po/fr.po: Update from translation team.
24343         * po/sv.po: Update from translation team
24344         * po/fr.po: Another update from translation team.
24346 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24348         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
24349         for subnormals or multiply small sinh result by itself.
24350         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24353 2012-07-11  David S. Miller  <davem@davemloft.net>
24355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24357 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
24359         [BZ #14347]
24360         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
24361         (INTERNAL_MARK): Shift it here.
24363 2012-07-10  Marek Polacek  <polacek@redhat.com>
24365         [BZ #14151]
24366         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
24367         libc_cv_asm_global_directive with .globl.
24368         * configure: Regenerated.
24369         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
24370         with .globl.
24371         * sysdeps/i386/configure: Regenerated.
24372         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
24373         with .globl.
24374         * sysdeps/x86_64/configure: Regenerated.
24375         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
24376         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
24377         * elf/tst-unique2mod2.c: Likewise.
24378         * elf/tst-unique2mod1.c: Likewise.
24379         * elf/tst-unique1mod2.c: Likewise.
24380         * elf/tst-unique1mod1.c: Likewise.
24381         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24382         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24384         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24385         * sysdeps/mach/sysdep.h: Likewise.
24386         * sysdeps/i386/sysdep.h: Likewise.
24387         * sysdeps/i386/i386-mcount.S: Likewise.
24388         * sysdeps/x86_64/_mcount.S: Likewise.
24389         * sysdeps/x86_64/sysdep.h: Likewise.
24390         * sysdeps/sh/_mcount.S: Likewise.
24391         * sysdeps/sh/sysdep.h: Likewise.
24392         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
24393         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
24394         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
24395         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24396         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
24397         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
24398         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
24399         * locale/localeinfo.h: Likewise.
24400         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
24401         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
24403 2012-07-09  Roland McGrath  <roland@hack.frob.com>
24405         [BZ #14336]
24406         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
24407         system".
24408         * manual/message.texi (The Uniforum approach): Likewise.
24409         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
24410         (glibc iconv Implementation): Likewise.
24412 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
24414         [BZ #14337]
24415         * math/s_clog.c (__clog): Avoid scaling a value down where that
24416         could result in underflow.
24417         * math/s_clog10.c (__clog10): Likewise.
24418         * math/s_clog10f.c (__clog10f): Likewise.
24419         * math/s_clog10l.c (__clog10l): Likewise.
24420         * math/s_clogf.c (__clogf): Likewise.
24421         * math/s_clogl.c (__clogl): Likewise.
24422         * math/libm-test.inc (clog_test): Add more tests.
24423         (clog10_test): Likewise.
24424         * sysdeps/i386/fpu/libm-test-ulps: Update.
24425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24427 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
24429         [BZ #14283]
24430         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
24431         by 7 not 8 to examine high bit of fractional part.
24433         [BZ #14042]
24434         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24435         for call to __mcount_internal.
24436         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
24437         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
24438         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
24440 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
24442         [BZ #14154]
24443         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
24444         approximation for values within 0x1p-13f of an odd multiple of
24445         pi/4.
24446         * math/libm-test.inc (tan_test): Do not allow spurious underflow
24447         exception.  Add more tests.
24448         * sysdeps/i386/fpu/libm-test-ulps: Update.
24450         [BZ #6778]
24451         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
24452         inputs and return -1 for them.  Do not check for +Inf in case not
24453         reachable for +Inf.
24454         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24455         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
24456         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24457         and return -1 for them.  Do not check for +Inf in case not
24458         reachable for +Inf.
24459         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
24460         define.
24461         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
24462         and return -1 for them.  Do not check for +Inf in case not
24463         reachable for +Inf.
24464         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
24465         spurious underflow.
24466         * sysdeps/i386/fpu/libm-test-ulps: Update.
24467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24469 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
24471         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
24473 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
24475         [BZ #14157]
24476         [BZ #14331]
24477         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
24478         could result in spurious underflow.  Scale down values above
24479         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
24480         * math/s_csqrtf.c (__csqrtf): Likewise.
24481         * math/s_csqrtl.c (__csqrtl): Likewise.
24482         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
24483         spurious underflow.
24484         * sysdeps/i386/fpu/libm-test-ulps: Update.
24485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24487 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
24489         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
24490         xopen-msg.sed.
24491         * catgets/xopen-msg.awk: New file.
24492         * catgets/xopen-msg.sed: Removed.
24494         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
24495         po2text.sed.
24496         * intl/po2test.awk: New file.
24497         * intl/po2test.sed: Removed.
24499 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
24501         [BZ #14328]
24502         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
24503         or multiply small sinh result by itself.
24504         * math/s_ctanf.c (__ctanf): Likewise.
24505         * math/s_ctanh.c (__ctanh): Likewise.
24506         * math/s_ctanhf.c (__ctanhf): Likewise.
24507         * math/s_ctanhl.c (__ctanhl): Likewise.
24508         * math/s_ctanl.c (__ctanl): Likewise.
24509         * math/libm-test.inc (ctan_test_tonearest): New function.
24510         (ctan_test_towardzero): Likewise.
24511         (ctan_test_downward): Likewise.
24512         (ctan_test_upward): Likewise.
24513         (ctanh_test_tonearest): Likewise.
24514         (ctanh_test_towardzero): Likewise.
24515         (ctanh_test_downward): Likewise.
24516         (ctanh_test_upward): Likewise.
24517         (main): Call these new functions.
24518         * sysdeps/i386/fpu/libm-test-ulps: Update.
24519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24521 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
24523         * .gitignore: Delete /ports entry.
24525 2012-07-03  Andreas Jaeger  <aj@suse.de>
24527         * po/bg.po: Update from translation team.
24528         * po/cs.po: Likewise.
24529         * po/de.po: Likewise.
24530         * po/hr.po: Likewise.
24531         * po/nl.pl: Likewise.
24532         * po/pl.po: Likewise.
24533         * po/vi.po: Likewise.
24535 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
24537         * Makeconfig [!+link] (+link-before-libc): New variable.
24538         [!+link] (+link-after-libc): Likewise.
24539         [!+link] (+link-tests): Likewise.
24540         [!+link] (+link): Define in terms of $(+link-before-libc) and
24541         $(+link-after-libc).
24542         [!+link-static] (+link-static-before-libc): New variable.
24543         [!+link-static] (+link-static-after-libc): Likewise.
24544         [!+link-static] (+link-static-tests): Likewise.
24545         [!+link-static] (+link-static): Define in terms of
24546         $(+link-static-before-libc) and $(+link-static-after-libc).
24547         [build-shared] (link-libc-before-gnulib): New variable.
24548         [build-shared] (link-libc-tests): Likewise.
24549         [build-shared] (link-libc): Define in terms of
24550         $(link-libc-before-gnulib).
24551         [!build-shared] (link-libc-tests): New variable.
24552         (link-libc-static-tests): New variable.
24553         [!gnulib] (gnulib-arch): New variable.
24554         [!gnulib] (gnulib-tests): Likewise.
24555         [!gnulib] (static-gnulib-arch): Likewise.
24556         [!gnulib] (static-gnulib-tests): Likewise.
24557         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
24558         Define with "=" instead of ":=".
24559         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
24560         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
24561         * Rules (binaries-all-notests): New variable.
24562         (binaries-all-tests): Likewise.
24563         (binaries-static-notests): Likewise.
24564         (binaries-static-tests): Likewise.
24565         (binaries-all): Define using $(binaries-all-notests) and
24566         $(binaries-all-tests).
24567         (binaries-static): Define using $(binaries-static-notests) and
24568         $(binaries-static-tests).
24569         (binaries-shared-tests): New variable.
24570         (binaries-shared-notests): Likewise.
24571         (binaries-shared): Remove variable.
24572         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
24573         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
24574         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
24575         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
24576         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
24577         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
24578         * elf/Makefile (sln-modules): New variable.
24579         (extra-objs): Add $(sln-modules:=.o).
24580         (ldconfig-modules): Add static-stubs.
24581         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
24582         * elf/static-stubs.c: New file.
24584         [BZ #14283]
24585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
24586         by 7 not 8 to examine high bit of fractional part.  Use volatile
24587         variables when splitting into final array of floats if
24588         __FLT_EVAL_METHOD__ != 0.
24589         * math/libm-test.inc (cos_test): Add another test.
24590         (sin_test): Likewise.
24591         * sysdeps/i386/fpu/libm-test-ulps: Update.
24593         [BZ #14273]
24594         * math/libm-test.inc (cosh_test): Add more tests.
24596         * version.h (RELEASE): Set to "development".
24597         (VERSION): Set to "2.16.90".
24599 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
24601         * NEWS: Update copyright. Remove last-updated date.
24602         Mention math library bug fixes and timezone data changes.
24603         * README: Mention GNU/Hurd, x32, and HPPA support status.
24605 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
24607         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
24609 2012-06-27  Andreas Jaeger  <aj@suse.de>
24611         * manual/contrib.texi (Contributors): Add Samuel Thibault.
24613 2012-06-25  Andreas Jaeger  <aj@suse.de>
24615         * sysdeps/s390/fpu/libm-test-ulps: Update.
24617 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
24618             Thomas Schwinge  <thomas@codesourcery.com>
24620         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
24621         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
24622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
24623         fanotify_mark.
24625 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
24627         * sysdeps/mach/start.c: Remove file.
24628         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
24629         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
24630         * sysdeps/sh/init-first.c: Likewise.
24632         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24633         registers for frame unwinding purposes, add CFI directives.
24634         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24635         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24636         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24637         Likewise.
24639         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24640         __fortify_fail returning.
24641         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24643         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24644         sysdeps/sh/____longjmp_chk.S.
24645         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24646         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24647         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24648         (gen-as-const-headers): Append sigaltstack-offsets.sym.
24650         * sysdeps/sh/abort-instr.h: New file.
24651         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24652         process in case exit returns.
24654         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24655         initialize the GOT register before use.
24657         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24658         calculation of ARGC > 4.
24660         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24661         meaningful names to some local labels.
24663 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24664             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24666         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24667         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24668         (__arch_compare_and_exchange_val_16_acq): Likewise.
24669         (__arch_compare_and_exchange_val_32_acq): Likewise.
24670         (atomic_exchange_and_add): Fix gUSA sequence.
24671         (atomic_add): Likewise.
24672         (atomic_add_negative): Likewise.
24673         (atomic_add_zero): Likewise.
24674         (atomic_bit_test_set): Likewise.
24676 2012-06-22  Andreas Schwab  <schwab@redhat.com>
24678         [BZ #13579]
24679         * include/link.h (struct link_map): Add l_free_initfini.
24680         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24681         l_initfini.
24682         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24683         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24684         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24685         set.
24687 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
24689         * configure.in: Use AC_LANG_SOURCE.
24690         * configure: Regenerate.
24692 2012-06-22  Roland McGrath  <roland@hack.frob.com>
24694         * configure.in (libc_cv_localstatedir): New substituted variable.
24695         * configure: Regenerated.
24696         * config.make.in (localstatedir): New variable, substituted from
24697         libc_cv_localstatedir.
24698         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24699         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24700         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24701         * sysdeps/gnu/configure: Regenerated.
24703 2012-06-21  Jeff Law  <law@redhat.com>
24705         [BZ #14277]
24706         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24707         free.  Simplify list management for _LIBC case.
24709 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
24711         [BZ #14273]
24712         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24713         Clear sign bit of 64-bit integer value before comparing against
24714         overflow value.
24716         * sysdeps/mach/configure: Regenerated.
24718 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
24720         [BZ #14278]
24721         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24723 2012-06-21  Jeff Law  <law@redhat.com>
24725         [BZ #13882]
24726         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
24727         uint16_t for elements in the "seen" array to avoid char overflows.
24728         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24729         * elf/dl-open.c (dl_open_worker): Likewise.
24731 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
24733         * scripts/list-sources.sh: Scan PORTS for translations.
24734         * po/libc.pot: Regenerated.
24736 2012-06-21  Andreas Jaeger  <aj@suse.de>
24738         [BZ #12194]
24739         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24740         warning.
24741         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24742         * bits/byteswap-16.h (__bswap_16): Likewise.
24743         * bits/byteswap.h (__bswap_constant_16): Likewise.
24745 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
24747         [BZ #14117]
24748         * sysdeps/i386/fpu_control.h: Removed.
24749         * sysdeps/x86_64/fpu_control.h: Moved to ...
24750         * sysdeps/x86/fpu_control.h: Here.
24752         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24753         (_FPU_SETCW): Likewise.
24755 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
24757         [BZ #14117]
24758         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24759         * sysdeps/x86/fpu/bits/mathinline.h: This.
24760         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24762         [BZ #14050]
24763         [BZ #14117]
24764         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24765         functions if __x86_64__ is defined.
24767 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
24769         * string/endian.h: Add !__ASSEMBLER__ condition for including
24770         conversion interfaces.
24772 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
24774         [BZ #14241]
24775         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24776         of ABS(x) in calculating zero to negative powers other than odd
24777         integers.
24778         * math/libm-test.inc (pow_test): Add more tests.
24780 2012-06-15  Andreas Jaeger  <aj@suse.de>
24782         * manual/contrib.texi (Contributors): Update entry of Liubov
24783         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24784         Machado Filho.
24786 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
24788         * string/string.h: Add __wur to GNU version of strerror_r.
24790 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
24792         [BZ #14229]
24793         * string/Makefile (tests): Add tst-strtok_r.
24794         * string/tst-strtok_r.c: New file.
24795         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24796         RAX_LP/RDX_LP on SAVE_PTR.
24798 2012-06-14  Roland McGrath  <roland@hack.frob.com>
24800         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24802 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
24804         * libm_test.inc (csqrt_test): Allow more spurious underflow
24805         exceptions.
24806         (j0_test): Likewise.
24807         (j1_test): Likewise.
24808         (y0_test): Likewise.
24809         (y1_test): Likewise.
24811 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
24813         * po/Makefile (libc.pot): Use UTF-8 charset.
24815 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
24817         [BZ #14210]
24818         Suppress sign-conversion warning from FD_SET.
24819         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24820         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24821         not unsigned long int.
24822         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24824 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
24826         [BZ #14050]
24827         [BZ #14117]
24828         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24829         __extern_always_inline instead of __extern_inline.
24830         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24831         (__signbit): Likewise.
24832         (__signbitl): Support C++ namespace.
24833         (lrintf): New inline function.
24834         (lrint): Likewise.
24835         (llrintf): Likewise.
24836         (llrint): Likewise.
24837         (fmaxf): Likewise.
24838         (fmax): Likewise.
24839         (fminf): Likewise.
24840         (fmin): Likewise.
24841         (rint): Likewise.
24842         (rintf): Likewise.
24843         (ceil): Likewise.
24844         (ceilf): Likewise.
24845         (floor): Likewise.
24846         (floorf): Likewise.
24847         (nearbyint): Likewise.
24848         (nearbyintf): Likewise.
24850 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
24852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24853         non-default versions.
24855 2012-06-11  Roland McGrath  <roland@hack.frob.com>
24857         [BZ #14218]
24858         * manual/argp.texi (Argp): Reword argp_parse description slightly.
24860 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
24862         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24863         (FE_UPWARD, FE_DOWNWARD): Don't define.
24864         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24865         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24867         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24868         reading it.
24869         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24870         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24872 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24874         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24876         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24877         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24879 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
24881         [BZ #14117]
24882         * sysdeps/i386/fpu/bits/fenv.h: Removed.
24883         * sysdeps/i386/fpu/Implies: New file.
24884         * sysdeps/x86_64/fpu/Implies: Likewise.
24885         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24886         * sysdeps/x86/fpu/bits/fenv.h: This.
24888         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24889         __SSE_MATH__.
24891 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24893         [BZ #14134]
24894         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24895         character 0xffff that matches the last element of the
24896         conversion table.
24898 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24900         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24901         fmodl commit.
24903 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24905         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24906         values higher than 25.6283.
24908 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24911         subnormal exponent extraction and add some __builtin_expect.
24912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24913         Fix for subnormal mantissa calculation.
24915 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
24917         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24918         cpu2 is -1 and errno is not ENOSYS.
24920 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
24922         [BZ #14117]
24923         * sysdeps/i386/i486/bits/string.h: Renamed to ...
24924         * sysdeps/x86/bits/string.h: This.
24925         * sysdeps/x86_64/bits/string.h: Removed.
24927         * sysdeps/i386/i486/bits/string.h: Define inline functions only
24928         if not compiling for x86-64, but compiling for >= i486.
24930         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24931         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24933         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24934         New macro from Linux kernel 3.4.0.
24935         (FP_XSTATE_MAGIC2): Likewise.
24936         (FP_XSTATE_MAGIC2_SIZE): Likewise.
24937         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24938         (struct _fpx_sw_bytes): New struct.
24939         (struct _xsave_hdr): Likewise.
24940         (struct _ymmh_state): Likewise.
24941         (struct _xstate): Likewise.
24943         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24944         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24945         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24946         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24947         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24948         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24950         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24951         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24952         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24953         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24954         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24955         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24957 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24959         [BZ #13743]
24960         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24961         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24962         (sysdep_headers): Include sys/platform/ppc.h.
24963         * sysdeps/powerpc/test-gettimebase.c: Test for
24964         __ppc_get_timebase() to catch future ISA opcode/insn changes.
24965         * manual/Makefile (appendices): Include platform.texi.
24966         * manual/contrib.texi (Contributors): Update @node pointers.
24967         * manual/maint.texi (Maintenance): Likewise.
24968         (Platform): New node.
24969         * manual/platform.texi: New file.  Document the new features.
24971 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972             Jakub Jelinek  <jakub@redhat.com>
24974         [BZ #14188]
24975         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24976         where __builtin_expect is unavailable.
24978 2012-06-03  David S. Miller  <davem@davemloft.net>
24980         * stdlib/longlong.h: Updated from GCC.
24982 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
24984         [BZ #14042]
24985         * sysdeps/powerpc/powerpc32/mcount.c: New file.
24986         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24987         __mcount_internal.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24989         (GLIBC_2.16): Likewise.
24991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24995 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
24997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24998         (default-abi): New variable.
24999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25000         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25001         variable.
25002         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25003         Likewise.
25004         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25007         Likewise.
25009         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25010         definition.  Document in comment.
25012 2012-06-01  David S. Miller  <davem@davemloft.net>
25014         * stdlib/longlong.h: Updated from GCC.
25016 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25018         [BZ #14117]
25019         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25020         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25021         sys/debugreg.h sys/io.h here.
25022         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25023         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25024         sys/io.h.
25025         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25026         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25027         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25028         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25029         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25030         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25032         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25033         Define only if __x86_64__ is defined.
25035 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25037         [BZ #14048]
25038         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25039         Use int64_t for variable i.
25040         * math/libm-test.inc (fmod_test): Add more tests.
25042         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25043         z computation is not scheduled after fetestexcept.
25044         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25045         Use math_force_eval instead of asm to ensure calculation scheduled
25046         before exception test.
25047         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25048         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25050 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25053         computation is not scheduled after fetestexcept.
25055 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25057         [BZ #14117]
25058         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25059         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25061 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25063         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25064         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25066 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25068         [BZ #14117]
25069         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25070         <bits/wordsize.h>.
25071         (__WCHAR_MIN): Support __WORDSIZE == 64.
25072         (__WCHAR_MAX): Likewise.
25074         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25075         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25077         [BZ #14183]
25078         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25079         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25081         [BZ #14117]
25082         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25083         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25085         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25086         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25088         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25089         Defined to 1 if __x86_64__ isn't defined.
25090         (_STAT_VER_LINUX_OLD): New.
25091         (st_atime): Remove duplicate.
25092         (st_mtime): Likewise.
25093         (st_ctime): Likewise.
25095 2012-05-31  David S. Miller  <davem@davemloft.net>
25097         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25098         entries.
25100 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25102         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25103         gen-libm-test.pl.
25105         [BZ #14132]
25106         * elf/dl-reloc.c: Include <_itoa.h>.
25107         (_dl_reloc_bad_type): Remove use of INTUSE.
25108         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25109         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25110         * stdio-common/psiginfo.c (psiginfo): Likewise.
25111         * stdio-common/psignal.c (psignal): Likewise.
25112         * string/strsignal.c (strsignal): Likewise.
25113         * include/signal.h (_sys_siglist): Declare hidden proto.
25114         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25115         INTVARDEF with libc_hidden_data_def.
25116         * stdio-common/itoa-udigits.c: Likewise.
25117         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25118         (_itoa_lower_digits_internal): Remove declaration.
25119         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25120         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25121         (_sys_sigabbrev_internal): Remove aliases.
25122         (_sys_siglist): Define hidden alias.
25124 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25127         bits/sysctl.h.
25129 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25131         [BZ #14117]
25132         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25133         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25135         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25136         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25137         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25138         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25139         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25140         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25142         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25143         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25144         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25146         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25147         with __addr.
25148         (insw): Likewise.
25149         (insl): Likewise.
25150         (outsb): Likewise.
25151         (outsw): Likewise.
25152         (outsl): Likewise.
25154         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25155         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25156         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25158         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25159         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25160         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25161         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25162         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25163         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25165         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25166         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25168         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25169         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25171         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25173         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25175         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25176         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25177         to ...
25178         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25180         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25181         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25182         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25184         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25185         for x86-64.
25186         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25188 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25190         * math/math.h (M_El): Use two more decimal places.
25191         (M_LOG2El): Likewise.
25192         (M_LOG10El): Likewise.
25193         (M_LN2l): Likewise.
25194         (M_LN10l): Likewise.
25195         (M_PIl): Likewise.
25196         (M_PI_2l): Likewise.
25197         (M_PI_4l): Likewise.
25198         (M_1_PIl): Likewise.
25199         (M_2_PIl): Likewise.
25200         (M_2_SQRTPIl): Likewise.
25201         (M_SQRT2l): Likewise.
25202         (M_SQRT1_2l): Likewise.
25204 2012-05-31  David S. Miller  <davem@davemloft.net>
25206         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25207         values between float registers.
25208         * sysdeps/sparc/sparc64/memset.S: Likewise.
25209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25211 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25213         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25214         -D_FORTIFY_SOURCE=1.
25215         (CPPFLAGS-tst-longjmp_chk.c): Define.
25216         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25217         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25218         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25219         CFLAGS-tst-wchar-h.c.
25221 2012-05-31  Marek Polacek  <polacek@redhat.com>
25223         [BZ #14132]
25224         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25225         __endmntent_internal): Remove declaration.
25226         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25227         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25228         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25230 2012-05-30  David S. Miller  <davem@davemloft.net>
25232         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25233         (___Q_simulate_exceptions): Use real FP ops rather than writing
25234         into the %fsr.
25235         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25236         Likewise.
25238 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25240         [BZ #14117]
25241         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25242         * sysdeps/x86/bits/xtitypes.h: This.
25244         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25245         * sysdeps/x86/bits/wordsize.h: This.
25247         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25248         * sysdeps/x86/bits/huge_vall.h: This.
25250         * sysdeps/i386/bits/select.h: Removed.
25251         * sysdeps/x86_64/bits/select.h: Renamed to ...
25252         * sysdeps/x86/bits/select.h: This.
25254         * sysdeps/i386/bits/setjmp.h: Removed.
25255         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25256         * sysdeps/x86/bits/setjmp.h: This.
25258         * sysdeps/i386/bits/mathdef.h: Removed.
25259         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25260         * sysdeps/x86/bits/mathdef.h: This.
25262 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25264         [BZ #14132]
25265         * include/sys/socket.h (__connect_internal)
25266         (__libc_sa_len_internal): Remove declaration.
25267         (__connect, __libc_sa_len): Declare hidden_proto.
25268         (SA_LEN): Remove use of INTUSE.
25269         * socket/connect.c: Add libc_hidden_def.
25270         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25271         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25272         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25273         alias.
25274         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25275         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25276         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25277         of adding _internal alias.
25279 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25281         [BZ #14117]
25282         * sysdeps/i386/bits/link.h: Removed.
25283         * sysdeps/i386/bits/linkmap.h: Likewise.
25284         * sysdeps/x86_64/bits/link.h: Renamed to ...
25285         * sysdeps/x86/bits/link.h: This.
25286         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25287         * sysdeps/x86/bits/linkmap.h: This.
25289         * sysdeps/i386/bits/endian.h: Removed.
25290         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25291         * sysdeps/x86/bits/endian.h: This.
25293         * sysdeps/i386/bits/byteswap.h: Removed.
25294         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25295         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25296         * sysdeps/x86/bits/byteswap.h: This.
25297         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25298         * sysdeps/x86/bits/byteswap-16.h: This.
25299         * sysdeps/i386/Implies: Add x86.
25300         * sysdeps/x86_64/Implies: Likewise.
25302 2012-05-30  David S. Miller  <davem@davemloft.net>
25304         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25305         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25306         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25307         (FP_TRAPPING_EXCEPTIONS): Define.
25308         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25309         (FP_TRAPPING_EXCEPTIONS): Define.
25310         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25311         subnormals only when inexact has been signalled or underflow
25312         exceptions are enabled.
25313         (_FP_PACK_CANONICAL): Likewise.
25315 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25317         [BZ #14183]
25318         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25319         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25321 2012-05-30  Richard Henderson  <rth@twiddle.net>
25323         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25324         with #ifndef NOT_IN_libc.
25326         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
25327         marked to avoid plt entry.
25329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25331         [BZ #14112]
25332         * Makeconfig (default-abi): New macro.
25333         (abi-includes): Likewise.
25334         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
25335         $(abi-$(default-abi)-lib-soname) for soname if defined.
25336         ($(common-objpfx)gnu/lib-names.stmp): Generate from
25337         abi-variants.
25338         * Makefile (installed-stubs): Likewise.
25339         * include/stubs-biarch.h: Removed.
25340         * scripts/lib-names.awk: Only handle one library at a time.
25341         * scripts/soversions.awk: Remove WORDSIZE support.
25342         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25343         entries.
25344         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
25345         Removed.
25346         (syscall-list-default-condition): Likewise.
25347         (syscall-list-default-condition): Likewise.
25348         (syscall-list-includes): Likewise.
25349         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
25350         syscall-list-* with abi-*.  Handle undefined abi-variants.
25351         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
25352         * sysdeps/unix/sysv/linux/i386/Implies: New file.
25353         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
25354         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
25355         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
25356         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
25357         Removed.
25358         (syscall-list-32-options): Likewise.
25359         (syscall-list-32-condition): Likewise.
25360         (syscall-list-64-options): Likewise.
25361         (syscall-list-64-condition): Likewise.
25362         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
25363         macro.
25364         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
25365         Renamed to ...
25366         (abi-*): This.
25367         (abi-64-ld-soname): New macro.
25368         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
25369         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
25370         Renamed to ...
25371         (abi-*): This.
25372         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
25373         * sysdeps/x86_64/x32/shlib-versions: Likewise.
25375 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
25377         * sysdeps/unix/sysv/linux/kernel-features.h
25378         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
25379         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
25380         include <kernel-features.h>.
25381         [!__NR_ftruncate64]: Remove conditional code.
25382         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25383         [__NR_ftruncate64]: Make code unconditional.
25384         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25385         * sysdeps/unix/sysv/linux/truncate64.c: Do not
25386         include <kernel-features.h>.
25387         [!__NR_ftruncate64]: Remove conditional code.
25388         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25389         [__NR_ftruncate64]: Make code unconditional.
25390         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
25392         include <kernel-features.h>.
25393         [!__NR_ftruncate64]: Remove conditional code.
25394         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25395         [__NR_ftruncate64]: Make code unconditional.
25396         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25398         include <kernel-features.h>.
25399         [!__NR_ftruncate64]: Remove conditional code.
25400         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25401         [__NR_ftruncate64]: Make code unconditional.
25402         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
25404         * configure.in (libc_cv_fpie): Weaken to a compile test using
25405         LIBC_TRY_CC_OPTION.
25406         * configure: Regenerated.
25408 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
25411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
25412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
25413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25414         Refreshed.
25415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
25416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
25417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
25418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
25419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
25420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25421         Refreshed.
25423 2012-05-27  David S. Miller  <davem@davemloft.net>
25425         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
25426         (___Q_zero): New.
25427         (__Q_simulate_exceptions): Return void.  Change to simulate
25428         exceptions by writing into the %fsr.
25429         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
25430         (__Qp_handle_exceptions): Likewise.
25431         (numbers): Delete.
25432         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
25433         __Qp_handle_exceptions.
25434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
25435         __Qp_handle_exceptions.
25436         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25437         as unused and give dummy FP_RND_NEAREST initializer.
25438         (FP_INHIBIT_RESULTS): Define.
25439         (___Q_simulate_exceptions): Update declaration.
25440         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
25441         formatting.
25442         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
25443         as unused and give dummy FP_RND_NEAREST initializer.
25444         (__Qp_handle_exceptions): Update declaration.
25445         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
25446         formatting.
25448 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
25450         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
25451         the temporary FPU control word.
25452         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25453         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
25454         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25455         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25456         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25457         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25458         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25459         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25460         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25461         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25462         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25464 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25466         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
25467         fields.
25469 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
25471         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25472         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
25473         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
25474         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
25475         Likewise.
25476         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
25477         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
25478         Likewise.
25480 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
25482         * po/h.po: Update from translation team.
25484 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
25486         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
25488         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
25489         handling of denormals.
25490         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25491         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25492         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25493         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25495         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
25496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
25497         Likewise.
25499 2012-05-26  Marek Polacek  <polacek@redhat.com>
25501         [BZ #14152]
25502         * math/libm-test.inc (fma_test): Don't always expect underflow
25503         exception.
25505 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25507         [BZ #12416]
25508         * elf/tst-execstack.c: Include stackinfo.h.
25509         (do_test): Adjust test case to ensure that pthread_getattr_np
25510         behaviour remains the same after marking stack executable.
25512 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25514         * sysdeps/unix/sysv/linux/kernel-features.h
25515         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
25516         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
25517         kernel-features.h.
25518         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25519         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25520         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
25521         kernel-features.h.
25522         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
25523         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
25525 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
25527         * configure.in: Define the default includes to being none.
25528         * configure: Regenerated.
25530 2012-05-25  Roland McGrath  <roland@hack.frob.com>
25532         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
25533         * sysdeps/x86_64/setjmp.S: Likewise.
25534         * sysdeps/i386/bsd-setjmp.S: Likewise.
25535         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25536         * sysdeps/i386/setjmp.S: Likewise.
25537         * sysdeps/i386/__longjmp.S: Likewise.
25538         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25539         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
25541         * include/stap-probe.h: New file.
25542         * configure.in: Handle --enable-systemtap.
25543         * configure: Regenerated.
25544         * config.h.in (USE_STAP_PROBE): New #undef.
25545         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
25546         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
25547         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25549 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
25551         [BZ #13717]
25552         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25553         to 2.4.0 where earlier.
25554         * sysdeps/unix/sysv/linux/configure: Regenerated.
25555         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25556         <kernel-features.h>.
25557         [__ASSUME_32BITUIDS]: Make code unconditional.
25558         [!__ASSUME_32BITUIDS]: Remove conditional code.
25559         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
25560         <kernel-features.h>.
25561         [__ASSUME_32BITUIDS]: Make code unconditional.
25562         [!__ASSUME_32BITUIDS]: Remove conditional code.
25563         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
25564         [__ASSUME_32BITUIDS]: Make code unconditional.
25565         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
25566         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
25567         <kernel-features.h>.
25568         [__ASSUME_32BITUIDS]: Make code unconditional.
25569         [!__ASSUME_32BITUIDS]: Remove conditional code.
25570         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
25571         <kernel-features.h>.
25572         [__ASSUME_32BITUIDS]: Make code unconditional.
25573         [!__ASSUME_32BITUIDS]: Remove conditional code.
25574         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
25575         <kernel-features.h>.
25576         [__ASSUME_32BITUIDS]: Make code unconditional.
25577         [!__ASSUME_32BITUIDS]: Remove conditional code.
25578         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
25579         <kernel-features.h>.
25580         [__ASSUME_32BITUIDS]: Make code unconditional.
25581         [!__ASSUME_32BITUIDS]: Remove conditional code.
25582         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25583         <kernel-features.h>.
25584         [__ASSUME_32BITUIDS]: Make code unconditional.
25585         [!__ASSUME_32BITUIDS]: Remove conditional code.
25586         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25587         <kernel-features.h>.
25588         [__ASSUME_32BITUIDS]: Make code unconditional.
25589         [!__ASSUME_32BITUIDS]: Remove conditional code.
25590         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
25591         <kernel-features.h>.
25592         [__ASSUME_32BITUIDS]: Make code unconditional.
25593         [!__ASSUME_32BITUIDS]: Remove conditional code.
25594         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25595         <kernel-features.h>.
25596         [__ASSUME_32BITUIDS]: Make code unconditional.
25597         [!__ASSUME_32BITUIDS]: Remove conditional code.
25598         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25599         <kernel-features.h>.
25600         [__ASSUME_32BITUIDS]: Make code unconditional.
25601         [!__ASSUME_32BITUIDS]: Remove conditional code.
25602         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
25603         <kernel-features.h>.
25604         [__ASSUME_32BITUIDS]: Make code unconditional.
25605         [!__ASSUME_32BITUIDS]: Remove conditional code.
25606         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
25607         <kernel-features.h>.
25608         [__NR_setresgid] (__setresgid): Do not declare.
25609         [__ASSUME_32BITUIDS]: Make code unconditional.
25610         [!__ASSUME_32BITUIDS]: Remove conditional code.
25611         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
25612         <kernel-features.h>.
25613         [__NR_setresuid] (__setresuid): Do not declare.
25614         [__ASSUME_32BITUIDS]: Make code unconditional.
25615         [!__ASSUME_32BITUIDS]: Remove conditional code.
25616         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
25617         <kernel-features.h>.
25618         [__ASSUME_32BITUIDS]: Make code unconditional.
25619         [!__ASSUME_32BITUIDS]: Remove conditional code.
25620         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
25629         <kernel-features.h>.
25630         [__ASSUME_32BITUIDS]: Make code unconditional.
25631         [!__ASSUME_32BITUIDS]: Remove conditional code.
25632         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25633         <kernel-features.h>.
25634         [__ASSUME_32BITUIDS]: Make code unconditional.
25635         [!__ASSUME_32BITUIDS]: Remove conditional code.
25636         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25637         <kernel-features.h>.
25638         [__ASSUME_32BITUIDS]: Make code unconditional.
25639         [!__ASSUME_32BITUIDS]: Remove conditional code.
25640         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25641         <kernel-features.h>.
25642         [__ASSUME_32BITUIDS]: Make code unconditional.
25643         [!__ASSUME_32BITUIDS]: Remove conditional code.
25644         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25645         <kernel-features.h>.
25646         [__ASSUME_32BITUIDS]: Make code unconditional.
25647         [!__ASSUME_32BITUIDS]: Remove conditional code.
25648         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25649         <kernel-features.h>.
25650         [__ASSUME_32BITUIDS]: Make code unconditional.
25651         [!__ASSUME_32BITUIDS]: Remove conditional code.
25652         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25653         <kernel-features.h>.
25654         [__ASSUME_32BITUIDS]: Make code unconditional.
25655         [!__ASSUME_32BITUIDS]: Remove conditional code.
25656         * sysdeps/unix/sysv/linux/kernel-features.h
25657         (__ASSUME_SETRESUID_SYSCALL): Remove.
25658         (__ASSUME_SETRESGID_SYSCALL): Likewise.
25659         (__ASSUME_32BITUIDS): Likewise.
25660         (__ASSUME_LDT_WORKS): Likewise.
25661         (__ASSUME_O_DIRECTORY): Likewise.
25662         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25663         architecture but not kernel version.
25664         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25665         (__ASSUME_MMAP2_SYSCALL): Likewise.
25666         (__ASSUME_STAT64_SYSCALL): Likewise.
25667         (__ASSUME_IPC64): Likewise.
25668         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25669         <kernel-features.h>.
25670         [__ASSUME_32BITUIDS]: Make code unconditional.
25671         [!__ASSUME_32BITUIDS]: Remove conditional code.
25672         * sysdeps/unix/sysv/linux/opendir.c: Do not include
25673         <kernel-features.h>.
25674         [__ASSUME_O_DIRECTORY]: Make code unconditional.
25675         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25676         132096]: Remove conditional code.
25677         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25678         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25679         <kernel-features.h>.
25680         [__ASSUME_32BITUIDS]: Make code unconditional.
25681         [!__ASSUME_32BITUIDS]: Remove conditional code.
25682         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25683         <kernel-features.h>.
25684         [__ASSUME_32BITUIDS]: Make code unconditional.
25685         [!__ASSUME_32BITUIDS]: Remove conditional code.
25686         * sysdeps/unix/sysv/linux/setegid.c: Do not include
25687         <kernel-features.h>.
25688         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25689         unconditional.
25690         (__setresgid): Do not declare.
25691         [__ASSUME_32BITUIDS]: Make code unconditional.
25692         [!__ASSUME_32BITUIDS]: Remove conditional code.
25693         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25694         <kernel-features.h>.
25695         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25696         unconditional.
25697         (__setresuid): Do not declare.
25698         [__ASSUME_32BITUIDS]: Make code unconditional.
25699         [!__ASSUME_32BITUIDS]: Remove conditional code.
25700         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25701         <kernel-features.h>.
25702         [__ASSUME_32BITUIDS]: Make code unconditional.
25703         [!__ASSUME_32BITUIDS]: Remove conditional code.
25704         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25705         <kernel-features.h>.
25706         [__ASSUME_32BITUIDS]: Make code unconditional.
25707         [!__ASSUME_32BITUIDS]: Remove conditional code.
25709 2012-05-25  Richard Henderson  <rth@twiddle.net>
25711         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25712         dl_hwcap to ifunc resolver.
25713         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25714         elf_ifunc_invoke.
25715         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25716         dl_hwcap to ifunc resolver.
25717         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25719 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25721         [BZ #14153]
25722         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25723         for |x| <= 2**-26, not 2**-57.
25724         * math/libm-test.inc (acos_test): Do not allow spurious underflow
25725         exception.
25727 2012-05-24  Jeff Law  <law@redhat.com>
25729         * stdio-common/Makefile (tests): Add bug25.
25730         * stdio-common/bug25.c: New test.
25732 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25734         [BZ #13576]
25735         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25736         multiple of MALLOC_ALIGNMENT in size.
25737         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25739 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25741         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25742         Require >= 256.
25743         (FILENAME_MAX): Use macro-int-constant.
25744         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
25745         (_IOFBF): Use macro-int-constant.
25746         (_IOLBF): Likewise.
25747         (_IONBF): Likewise.
25748         (SEEK_CUR): Likewise.
25749         (SEEK_END): Likewise.
25750         (SEEK_SET): Likewise.
25751         (TMP_MAX): Likewise.
25752         (EOF): Use macro-int-constant.  Require < 0.
25753         (NULL): Use macro-constant.  Require == 0.
25754         (stdin): Require type to be FILE *.
25755         (stdout): Likewise.
25756         (stderr): Likewise.
25757         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25758         macro-int-constant.
25759         (EXIT_SUCCESS): Likewise.
25760         (NULL): Use macro-constant.  Require == 0.
25761         (RAND_MAX): Use macro-int-constant.
25762         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25763         [C99-based standards] (strtof): Require function.
25764         [C99-based standards] (strtold): Likewise.
25765         [C99-based standards] (strtoll): Likewise.
25766         [C99-based standards] (strtoull): Likewise.
25767         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25768         [ISO || ISO99 || ISO11] (limits.h): Likewise.
25769         [ISO || ISO99 || ISO11] (math.h): Likewise.
25770         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25771         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25772         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25774 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
25776         [BZ #14132]
25777         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25778         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25779         * intl/dgettext.c (DCGETTEXT): Likewise.
25780         * intl/gettext.c (DCGETTEXT): Likewise.
25781         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25782         * posix/regex_internal.h (gettext): Likewise.
25783         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25784         Remove declaration.
25785         * include/argz.h (__argz_count_internal)
25786         (__argz_stringify_internal): Remove declaration.
25787         (__argz_count, __argz_stringify): Declare hidden proto.
25788         * intl/dcgettext.c: Remove use of INTDEF.
25789         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25790         * string/argz-stringify.c: Likewise.
25791         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25792         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25793         Declare hidden proto.
25794         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25795         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25796         Declare hidden proto.
25797         * include/stdio.h (__asprintf_internal): Don't declare.
25798         (__asprintf): Don't define as macro.  Declare hidden proto.
25799         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25800         (__fsetlocking): Declare hidden proto.
25801         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25802         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25803         hidden proto.
25804         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25805         (_IO_setlinebuf): Remove use of INTUSE.
25806         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25807         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25808         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25809         Remove declaration.
25810         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25811         (_IO_do_flush): Remove use of INTUSE.
25812         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25813         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25814         (_IO_adjust_column, _IO_least_wmarker)
25815         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25816         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25817         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25818         (_IO_default_doallocate, _IO_wdefault_doallocate)
25819         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25820         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25821         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25822         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25823         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25824         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25825         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25826         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25827         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25828         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25829         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25830         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25831         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25832         proto.
25833         (_IO_flush_all_internal, _IO_adjust_column_internal)
25834         (_IO_default_uflow_internal, _IO_default_finish_internal)
25835         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25836         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25837         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25838         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25839         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25840         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25841         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25842         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25843         (_IO_file_close_internal, _IO_file_close_it_internal)
25844         (_IO_file_underflow_internal, _IO_file_overflow_internal)
25845         (_IO_file_init_internal, _IO_file_attach_internal)
25846         (_IO_file_fopen_internal, _IO_file_read_internal)
25847         (_IO_file_sync_internal, _IO_file_seek_internal)
25848         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25849         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25850         (_IO_str_underflow_internal, _IO_str_overflow_internal)
25851         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25852         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25853         (_IO_list_all_internal, _IO_link_in_internal)
25854         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25855         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25856         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25857         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25858         (_IO_do_write_internal, _IO_padn_internal)
25859         (_IO_getline_info_internal, _IO_getline_internal)
25860         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25861         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25862         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25863         (_IO_vfscanf_internal, _IO_vfprintf_internal)
25864         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25865         (_IO_init_internal, _IO_un_link_internal): Don't declare.
25866         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25867         with libc_hidden_ver, remove use of INTUSE.
25868         * libio/genops.c: Likewise.
25869         * libio/freopen.c: Likewise.
25870         * libio/freopen64.c: Likewise.
25871         * libio/iofclose.c: Likewise.
25872         * libio/iofdopen.c: Likewise.
25873         * libio/iofflush.c: Likewise.
25874         * libio/iofflush_u.c: Likewise.
25875         * libio/iofgets.c: Likewise.
25876         * libio/iofgets_u.c: Likewise.
25877         * libio/iofopen.c: Likewise.
25878         * libio/iofopncook.c: Likewise.
25879         * libio/iofread.c: Likewise.
25880         * libio/iofread_u.c: Likewise.
25881         * libio/ioftell.c: Likewise.
25882         * libio/iofwrite.c: Likewise.
25883         * libio/iogetline.c: Likewise.
25884         * libio/iogets.c: Likewise.
25885         * libio/iogetwline.c: Likewise.
25886         * libio/iopadn.c: Likewise.
25887         * libio/iopopen.c: Likewise.
25888         * libio/ioseekoff.c: Likewise.
25889         * libio/ioseekpos.c: Likewise.
25890         * libio/iosetbuffer.c: Likewise.
25891         * libio/iosetvbuf.c: Likewise.
25892         * libio/ioungetc.c: Likewise.
25893         * libio/ioungetwc.c: Likewise.
25894         * libio/iovdprintf.c: Likewise.
25895         * libio/iovsprintf.c: Likewise.
25896         * libio/iovsscanf.c: Likewise.
25897         * libio/memstream.c: Likewise.
25898         * libio/obprintf.c: Likewise.
25899         * libio/oldfileops.c: Likewise.
25900         * libio/oldiofclose.c: Likewise.
25901         * libio/oldiofdopen.c: Likewise.
25902         * libio/oldiofopen.c: Likewise.
25903         * libio/oldiopopen.c: Likewise.
25904         * libio/oldstdfiles.c: Likewise.
25905         * libio/putc.c: Likewise.
25906         * libio/setbuf.c: Likewise.
25907         * libio/setlinebuf.c: Likewise.
25908         * libio/stdfiles.c: Likewise.
25909         * libio/strops.c: Likewise.
25910         * libio/vasprintf.c: Likewise.
25911         * libio/vscanf.c: Likewise.
25912         * libio/vsnprintf.c: Likewise.
25913         * libio/vswprintf.c: Likewise.
25914         * libio/wfiledoalloc.c: Likewise.
25915         * libio/wfileops.c: Likewise.
25916         * libio/wgenops.c: Likewise.
25917         * libio/wmemstream.c: Likewise.
25918         * libio/wstrops.c: Likewise.
25919         * libio/__fpurge.c: Likewise.
25920         * libio/__fsetlocking.c: Likewise.
25921         * assert/assert.c: Likewise.
25922         * debug/fgets_chk.c: Likewise.
25923         * debug/fgets_u_chk.c: Likewise.
25924         * debug/fread_chk.c: Likewise.
25925         * debug/fread_u_chk.c: Likewise.
25926         * debug/gets_chk.c: Likewise.
25927         * debug/obprintf_chk.c: Likewise.
25928         * debug/vasprintf_chk.c: Likewise.
25929         * debug/vdprintf_chk.c: Likewise.
25930         * debug/vsnprintf_chk.c: Likewise.
25931         * debug/vsprintf_chk.c: Likewise.
25932         * malloc/mtrace.c: Likewise.
25933         * misc/error.c: Likewise.
25934         * misc/syslog.c: Likewise.
25935         * stdio-common/asprintf.c: Likewise.
25936         * stdio-common/fxprintf.c: Likewise.
25937         * stdio-common/getw.c: Likewise.
25938         * stdio-common/isoc99_fscanf.c: Likewise.
25939         * stdio-common/isoc99_scanf.c: Likewise.
25940         * stdio-common/isoc99_vfscanf.c: Likewise.
25941         * stdio-common/isoc99_vscanf.c: Likewise.
25942         * stdio-common/isoc99_vsscanf.c: Likewise.
25943         * stdio-common/printf-prs.c: Likewise.
25944         * stdio-common/printf_fp.c: Likewise.
25945         * stdio-common/printf_fphex.c: Likewise.
25946         * stdio-common/printf_size.c: Likewise.
25947         * stdio-common/putw.c: Likewise.
25948         * stdio-common/scanf.c: Likewise.
25949         * stdio-common/sprintf.c: Likewise.
25950         * stdio-common/tmpfile.c: Likewise.
25951         * stdio-common/vfprintf.c: Likewise.
25952         * stdio-common/vfscanf.c: Likewise.
25953         * stdlib/strfmon_l.c: Likewise.
25954         * sunrpc/openchild.c: Likewise.
25955         * sunrpc/xdr_stdio.c: Likewise.
25956         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25957         * sysdeps/mach/hurd/tmpfile.c: Likewise.
25959 2012-05-24  Roland McGrath  <roland@hack.frob.com>
25961         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25963         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25964         in the third column, to generate for the shared library an IFUNC
25965         that uses _dl_vdso_vsym.
25966         * Makerules (COMPILE.c, compile-stdin.c): New variables.
25967         * Makeconfig (object-suffixes-noshared): New variable.
25969         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25970         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25971         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25972         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25974         [BZ #14132]
25975         * include/sys/time.h (__gettimeofday): Remove macro.
25976         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25977         * time/gettimeofday.c (__gettimeofday): Remove #undef.
25978         Remove INTDEF.
25979         (__gettimeofday): Add libc_hidden_def.
25980         (gettimeofday): Add libc_hidden_weak.
25981         * sysdeps/mach/gettimeofday.c: Likewise.
25982         * sysdeps/posix/gettimeofday.c: Likewise.
25983         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25984         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25986         (__gettimeofday_internal): Remove strong_alias.
25987         (__gettimeofday): Add libc_hidden_def.
25988         (gettimeofday): Add libc_hidden_weak.
25989         * sysdeps/unix/syscalls.list (gettimeofday):
25990         Remove __gettimeofday_internal alias.
25992 2012-05-24  Daniel Jacobowitz  <drow@false.org>
25993             H.J. Lu  <hongjiu.lu@intel.com>
25995         [BZ #12495]
25996         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25997         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25998         (largebin_index_32_big): New.
25999         (largebin_index): Use it for 16-byte alignment.
26000         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26001         correction with front_misalign.
26003 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26007         Likewise.
26008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26009         Likewise.
26010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26011         Likewise.
26012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26013         Likewise.
26014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26015         Likewise.
26016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26017         Likewise.
26018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26019         Likewise.
26020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26021         Likewise.
26022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26023         Likewise.
26024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26025         Likewise.
26026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26027         Likewise.
26028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26029         Likewise.
26031         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26032         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26034 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26036         [BZ #10846]
26037         [BZ #14036]
26038         * math/libm-test.inc (exp_test): Add test from bug 14036.
26039         (pow_test): Add test from bug 10846.
26041         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26042         and other flags.
26043         (special_function): Do not include flags in test name.
26044         (parse_args): Likewise.
26045         * sysdeps/i386/fpu/libm-test-ulps: Update.
26046         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26047         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26048         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26051         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26052         exceptions.
26053         * math/libm-test.inc ("Philosophy"): Update comment about
26054         exception testing.
26055         (UNDERFLOW_EXCEPTION): New macro.
26056         (UNDERFLOW_EXCEPTION_OK): Likewise.
26057         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26058         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26059         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26060         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26061         (INVALID_EXCEPTION_OK): Update value.
26062         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26063         (OVERFLOW_EXCEPTION_OK): Likewise.
26064         (IGNORE_ZERO_INF_SIGN): Likewise.
26065         (test_exceptions): Handle underflow exceptions.
26066         (acos_test): Update for underflow exception expectations.
26067         (cexp_test): Likewise.
26068         (clog_test): Likewise.
26069         (clog10_test): Likewise.
26070         (csqrt_test): Likewise.
26071         (ctan_test): Likewise.
26072         (ctanh_test): Likewise.
26073         (exp_test): Likewise.
26074         (exp10_test): Likewise.
26075         (exp2_test): Likewise.
26076         (expm1_test): Likewise.
26077         (fma_test): Likewise.
26078         (j0_test): Likewise.
26079         (jn_test): Likewise.
26080         (nexttoward_test): Likewise.
26081         (pow_test): Likewise.
26082         (scalbn_test): Likewise.
26083         (scalbln_test): Likewise.
26084         (tan_test): Likewise.
26085         (y1_test): Likewise.
26086         * sysdeps/i386/fpu/libm-test-ulps: Update.
26087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26089 2012-05-23  David S. Miller  <davem@davemloft.net>
26091         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26092         (__libc_sigaction): Remove unused local variables.
26094 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26096         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26098 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26100         mktime: avoid signed integer overflow
26101         * time/mktime.c (__mktime_internal): Do not mishandle the case
26102         where diff == INT_MIN.
26104         mktime: simplify computation of average
26105         * time/mktime.c (ranged_convert): Use new time_t_avg function
26106         instead of rolling our own (probably-slower) code.
26108         mktime: do not assume signed right shift propagates sign bit
26109         * time/mktime.c (isdst_differ): New static function.
26110         (__mktime_internal): No need to normalize tm_isdst now.
26111         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26112         tm_isdst values.
26114         mktime: merge another wrapv change from gnulib
26115         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26116         from some compilers.
26118         mktime: remove incorrect attempt at unusual arithmetics
26119         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26120         The code didn't really work on such machines anyway.
26121         (TYPE_MINIMUM): Assume two's complement.
26122         (twos_complement_arithmetic): Verify that long_int and time_t
26123         are two's complement (or unsigned, in the latter case).
26125         mktime: check signed shifts on long_int and time_t, too
26126         * time/mktime.c (SHR): Check that shifts work as desired
26127         on the types long_int and time_t too, as SHR is used on
26128         such types.
26130         mktime: do not assume 'long' is wide enough
26131         * time/mktime.c (verify): Move decl up.
26132         (long_int): New type.
26133         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26134         to remove assumption in the code that 'long' is wide enough to
26135         store year values.  This assumption is not true on x32 and on
26136         some non-glibc platforms.
26138         mktime: merge wrapv change from gnulib
26139         * time/mktime.c (WRAPV): New macro.
26140         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26141         (guess_time_tm, __mktime_internal): Do not assume that signed
26142         integer overflow wraps around; modern compilers generate code
26143         where this assumption is no longer valid.
26145 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26147         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26148         Replace "jmp L(pseudo_end)" with "ret".
26149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26150         Likewise.
26152 2012-05-23  Andreas Jaeger  <aj@suse.de>
26154         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26155         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26157 2012-05-23  Andreas Jaeger  <aj@suse.de>
26158             Maximilian Attems  <max@stro.at>
26160         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26161         New macros.
26163 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26166         code so that pseudo_end is just ret and the stack pointer is
26167         correct also for static library in error case.
26169 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26171         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26172         move to syscalls.list.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26178         * manual/install.texi (Running make install): Do not mention Linux
26179         kernel version for which pt_chown is not needed.
26180         (Linux): Do not mention problems with nscd with 2.0 kernels.
26181         * INSTALL: Regenerated.
26183 2012-05-23  Andreas Jaeger  <aj@suse.de>
26185         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26186         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26187         macro.
26188         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26189         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26190         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26191         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26192         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26193         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26195         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26196         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26197         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26198         * sysdeps/unix/sysv/linux/bits/in.h
26199         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26201 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26203         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26204         (PREPARE_VERSION): Just use assert instead, it will be elided
26205         under [NDEBUG] anyway.
26207 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26209         * sysdeps/unix/sysv/linux/Makefile: Include
26210         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26211         (sysdep_routines): Remove sysctl.
26212         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26213         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26214         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26215         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26216         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26218 2012-05-22  Andreas Jaeger  <aj@suse.de>
26220         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26221         that pseudo_end is just ret and the stack pointer is correct also
26222         for static library in error case.
26224 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26226         [BZ #14122]
26227         * nss/nsswitch.c (defconfig_entries): New variable.
26228         (__nss_database_lookup): Don't leak defconfig entries.
26229         (nss_parse_service_list): Don't leak on error paths.
26230         (free_database_entries): New function.
26231         (free_defconfig): New function.
26232         (free_mem): Move common code to free_database_entries.
26234 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26236         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26237         Add arch_prctl.
26238         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26241         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26243         New macro.
26244         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26245         (INTERNAL_SYSCALL_TYPES): Likewise.
26246         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26247         (LOAD_REGS_TYPES_[1-6]): Likewise.
26248         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26249         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26251 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26253         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26254         copysignl for GLIBC_2_0.
26255         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26256         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26258         logbl for GLIBC_2_0.
26259         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26260         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26262 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26264         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26265         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26267         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26268         Use "neg %eax".
26270         * time/mktime.c: Update copyright years.
26272 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26274         mktime: merge comment-quoting-style change from gnulib
26275         * time/mktime.c: Quote 'like this' in comments.
26276         The GNU coding standards suggest that we no longer quote `like this',
26277         as "`" and "'" are typically rendered asymmetrically nowadays.
26278         The typical gnulib style is to quote 'like this' when quoting
26279         code, and "like this" when quoting English.
26281         * time/mktime.c (compile-command): Add "-I.".
26283         mktime: merge mktime-internal.h change from gnulib
26284         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26286         mktime: merge time_r change from gnulib
26287         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26289         mktime: merge DEBUG change from gnulib
26290         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26291         case system <time.h> has a #define.
26293         mktime: merge <sys/types.h> change from gnulib
26294         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26295         since <time.t> is now guaranteed to define time_t.
26297         mktime: merge HAVE_CONFIG_H change from gnulib
26298         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26300 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26303         Use "neg %eax".
26305         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26306         __rlim_t cast.
26307         (struct rusage): Use anonymous union to pad each field to
26308         __syscall_slong_t.
26310 2012-05-21  David S. Miller  <davem@davemloft.net>
26312         * Makefules (o-iterator): Remove .s cases.
26313         (compile-command.s): Delete.
26314         (COMPILE.s): Delete.
26315         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26317 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
26319         * configure.in (libc_cv_predef_stack_protector): Only consider
26320         "foobar" and "__stack_chk_fail" lines in libc_undefs.
26321         * configure: Regenerated.
26323 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26326         New macro.  Use R*LP on int and pointer.
26327         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26328         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26329         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26330         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26332         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26333         [__WORDSIZE_TIME64_COMPAT32] instead of
26334         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26335         (struct utmp): Likewise.
26336         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26337         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26338         Renamed to ...
26339         (__WORDSIZE_TIME64_COMPAT32): This.
26340         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26341         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26342         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26343         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26344         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
26345         (__WORDSIZE_TIME64_COMPAT32): New macro.
26347 2012-05-21  Andreas Jaeger  <aj@suse.de>
26349         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
26350         only if [SHARED]. Add prototype for __wcschr_ia32.
26352 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26354         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
26355         of %rbp unmolested in the jmp_buf while mangling the low bits.
26356         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
26357         unmolested high bits of %rbp while demangling the low bits.
26358         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26360 2012-05-21  Andreas Jaeger  <aj@suse.de>
26362         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
26363         * sunrpc/svc_simple.c: Use it for registerrpc.
26364         * sunrpc/xcrypt.c: Use it for passwd2des.
26366         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
26368 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26370         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
26371         Don't define if [__SYSCALL_WORDSIZE != 32].
26372         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
26373         New macro.
26375 2012-05-21  Bruno Haible  <bruno@clisp.org>
26376             Andreas Jaeger  <aj@suse.de>
26378         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
26379         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
26380         inptr and inend for must_buffer_ch.
26381         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
26382         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
26383         * stdio-common/Makefile (tests): Remove bug15.
26384         (bug15-ENV): Remove macro.
26385         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
26386         anymore.
26388 2012-05-19  Andreas Jaeger  <aj@suse.de>
26389             Roland McGrath  <roland@hack.frob.com>
26391         * manual/contrib.texi: Completely rewritten. It contains now an
26392         alphabetical list of contributors and their contributions.
26394 2012-05-21  Richard Henderson  <rth@twiddle.net>
26396         * misc/getauxval.c (__getauxval): Use unsigned long int.
26397         * misc/sys/auxv.h: Include <sys/cdefs.h>.
26398         (getauxval): Use unsigned long int.
26400 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26402         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26404 2012-05-21  Roland McGrath  <roland@hack.frob.com>
26406         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
26407         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
26408         __alignof__ (long double).
26410 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26414 2012-05-20  Richard Henderson  <rth@twiddle.net>
26416         * misc/getauxval.c: New file.
26417         * misc/sys/auxv.h: New file.
26418         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
26419         (routines): Add getauxval.
26420         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
26421         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
26422         * elf/dl-sysdep.c (_dl_auxv): Remove.
26423         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
26424         * elf/dl-support.c (_dl_auxv): New variable.
26425         (_dl_aux_init): Initialize it.
26426         * manual/startup.texi (Auxiliary Vector): New node.
26427         * sysdeps/generic/bits/hwcap.h: New file.
26428         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
26429         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
26430         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
26431         * sysdeps/sparc/sysdep.h: ... here.  Include it.
26432         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
26433         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26435         Update.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
26437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
26438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
26439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
26442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
26443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
26445 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26449 2012-05-19  David S. Miller  <davem@davemloft.net>
26451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26453 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26455         [BZ #14123]
26456         * math/s_ccosh.c: Include <float.h>
26457         (__ccosh): Avoid internal overflow calculating sinh and cosh
26458         values before multiplying by sin and cos values.
26459         * math/s_ccoshf.c: Likewise.
26460         * math/s_ccoshl.c: Likewise.
26461         * math/s_csin.c: Likewise.
26462         * math/s_csinf.c: Likewise.
26463         * math/s_csinl.c: Likewise.
26464         * math/s_csinh.c: Likewise.
26465         * math/s_csinhf.c: Likewise.
26466         * math/s_csinhl.c: Likewise.
26467         * math/libm-test.inc (ccos_test): Add more tests.
26468         (ccosh_test): Likewise.
26469         (csin_test): Likewise.
26470         (csinh_test): Likewise.
26471         * sysdeps/i386/fpu/libm-test-ulps: Update.
26472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26474 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
26476         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
26477         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
26479         * sysdeps/x86_64/x32/_itoa.h: Add comment.
26481 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
26483         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
26484         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
26485         * sysdeps/powerpc/soft-fp/Versions: Likewise.
26486         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
26487         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
26488         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
26489         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
26490         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
26491         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
26492         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
26493         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
26494         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
26495         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
26496         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
26497         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
26498         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
26499         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
26500         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
26501         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
26502         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
26503         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
26504         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
26505         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
26506         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
26507         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
26508         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
26509         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
26510         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
26511         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
26512         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
26513         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
26515 2012-05-18  Andreas Jaeger  <aj@suse.de>
26517         * csu/.gitignore: Delete.
26519 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26521         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
26522         (timex): Use __syscall_slong_t.
26524 2012-05-18  Andreas Jaeger  <aj@suse.de>
26525             Carlos O'Donell  <carlos_odonell@mentor.com>
26527         * manual/install.texi (Configuring and compiling): Update
26528         description about files modified in the source directory.
26529         * INSTALL: Regenerated.
26531 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26533         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
26534         value.  Use "or" to set return value to -1.
26535         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
26536         negate return value.
26538 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26540         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
26541         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
26542         failure if the compiler has Graphite support disabled.
26543         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
26544         Likewise.
26545         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
26546         CFLAGS-memmove.c): Likewise.
26547         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
26548         Likewise.
26550 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
26552         * sysdeps/x86_64/x32/_itoa.h: New file.
26554         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
26555         getdents system call only if kernel and user dirents have the
26556         same d_ino and d_off.
26558         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26559         LLONG_MAX != LONG_MAX.
26560         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26561         (_fitoa_word): Likewise.
26563         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
26564         years.
26565         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
26566         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
26567         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
26569         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
26570         include <bits/wordsize.h>.  Check __x86_64__ instead of
26571         __WORDSIZE.
26572         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
26573         if __x86_64__ is defined.  Use anonymous union on fpstate.
26575         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
26576         anonymous union.
26578 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
26580         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26581         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
26582         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
26583         Refer to _rtld_local_ro instead of _rtld_global_ro.
26584         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
26585         Likewise.
26586         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
26587         Likewise.
26588         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
26589         Likewise.
26590         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
26591         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
26592         of _rtld_global, and rtld_progname instead of _dl_argv[0].
26594         * sysdeps/powerpc/powerpc32/dl-machine.c
26595         (__elf_machine_runtime_setup) [PROF]: Don't reference
26596         _dl_prof_resolve.
26598 2012-05-18  Andreas Jaeger  <aj@suse.de>
26600         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
26601         function only available for GCCs before 3.4 since GCC 3.4
26602         introduced a builtin.
26603         (lrint): Likewise.
26604         (llrintf): Likewise.
26605         (llrint): Likewise.
26606         (fmaxf): Likewise.
26607         (fmax): Likewise.
26608         (fminf): Likewise.
26609         (fmin): Likewise.
26610         (rint): Likewise.
26611         (rintf): Likewise.
26612         (nearbyint): Likewise.
26613         (nearbyintf): Likewise.
26614         (ceil): Likewise.
26615         (ceilf): Likewise.
26616         (floor): Likewise.
26617         (floorf): Likewise.
26619 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26621         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
26622         on both fields and cast pointer to __syscall_ulong_t.
26624         * bits/types.h (__fsword_t): New type.
26625         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
26626         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
26627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26628         (__FSWORD_T_TYPE): Likewise.
26629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26630         (__FSWORD_T_TYPE): Likewise.
26631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26632         (__FSWORD_T_TYPE): Likewise.
26633         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26634         (__FSWORD_T_TYPE): Likewise.
26635         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26636         __SWORD_TYPE with __fsword_t.
26637         (statfs64): Likewise.
26639 2012-05-17  David S. Miller  <davem@davemloft.net>
26641         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26643 2012-05-17  Andreas Jaeger  <aj@suse.de>
26645         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26646         warning.
26648 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26650         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26652 2012-05-17  Andreas Jaeger  <aj@suse.de>
26654         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26655         when it is used.
26657 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26659         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26661 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
26663         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26664         * sysdeps/x86_64/tst-mallocalign1.c: New file.
26666 2012-05-17  Andreas Jaeger  <aj@suse.de>
26667             Carlos O'Donell  <carlos_odonell@mentor.com>
26669         [BZ #14059]
26670         * sysdeps/x86_64/multiarch/init-arch.h
26671         (bit_YMM_Usable): Rename to...
26672         (bit_AVX_Usable): ... this.
26673         (bit_FMA4_Usable): New macro.
26674         (bit_XMM_state): New macro.
26675         (bit_YMM_state): New macro.
26676         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26677         [__ASSEMBLER__] (index_AVX_Usable): ... this.
26678         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26679         (CPUID_OSXSAVE): New macro.
26680         (CPUID_AVX): New macro.
26681         (CPUID_FMA4): New macro.
26682         (index_YMM_Usable): Rename to...
26683         (index_AVX_Usable): ... this.
26684         (HAS_AVX): Use HAS_ARCH_FEATURE.
26685         (HAS_FMA4): Likewise.
26686         (HAS_YMM_USABLE): Remove.
26687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26688         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26689         are present.
26690         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26691         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26692         * sysdeps/x86_64/multiarch/Makefile: Likewise.
26693         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26694         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26696 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
26698         * math/libm-test.c: Support platforms without multiple rounding modes.
26699         * math/bug-nextafter.c: Support platforms without FP exceptions.
26700         * math/bug-nexttoward.c: Likewise.
26701         * math/test-fenv.c: Likewise.
26702         * math/test-misc.c: Likewise.
26703         * stdlib/bug-getcontext.c: Likewise.
26705 2012-05-17  Andreas Jaeger  <aj@suse.de>
26707         * manual/examples/search.c (critter_cmp): Change signature to
26708         avoid warnings.
26709         * manual/string.texi (Collation Functions): Likewise.
26711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26713         * bits/types.h: Fold copyright years.
26714         * bits/typesizes.h: Likewise.
26715         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26716         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26719         * time/time.h: Likewise.
26721 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
26723         [BZ #208]
26724         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26725         in instead of returning them.  Return void.
26726         (__libc_mallinfo): Accumulate over all arenas.
26727         (__malloc_stats): Adjust for change in int_mallinfo interface.
26729 2012-05-16  Roland McGrath  <roland@hack.frob.com>
26731         [BZ #10375]
26732         * configure.in (NM): Add AC_CHECK_TOOL for it.
26733         (libc_extra_cflags): New substituted variable.
26734         Check for -fstack-protector being used implicitly.
26735         * configure: Regenerated.
26736         * config.make.in (config-extra-cflags): New variable,
26737         gets @libc_extra_cflags@.
26738         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26740         [BZ #10375]
26741         * configure.in: Check for _FORTIFY_SOURCE being predefined.
26742         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26743         * configure: Regenerated.
26744         * config.make.in (CPPUNDEFS): New substituted variable.
26745         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26746         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26747         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26749 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26751         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26752         (mq_attr): Use __syscall_slong_t.
26754 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26756         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26757         Check __x86_64__ instead of __WORDSIZE.
26758         (_STAT_VER_LINUX): Likewise.
26759         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
26760         __syscall_ulong_t and __syscall_slong_t.
26761         (stat64): Likewise.
26763 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26765         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26767 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26769         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26773         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26774         __syscall_ulong_t.
26776         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26777         include <bits/wordsize.h>.  Check __x86_64__ instead of
26778         __WORDSIZE.
26779         (greg_t): Use "__extension__ long long int" if __x86_64__ is
26780         defined.
26781         (mcontext_t): Replace "unsigned long" with "unsigned long long".
26783         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26784         include <bits/wordsize.h>.  Check __x86_64__ instead of
26785         __WORDSIZE.
26786         (user_regs_struct): Use "__extension__ unsigned long long"
26787         instead of "unsigned long" if __x86_64__ is defined.
26788         (user): Likewise.  Pad after pointer field if __ILP32__ is
26789         defined.
26791 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
26793         * configure.in (makeinfo): Require version 4.5 or later.  Allow
26794         versions 5 to 9.
26795         * configure: Regenerated.
26796         * manual/install.texi (texinfo): Increase version requirement to
26797         4.5 or later.
26798         * INSTALL: Regenerated.
26800         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
26804         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26806         * sysdeps/x86_64/x32/ffs.c: New file.
26808         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26809         __syscall_ulong_t.
26810         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26811         defined.  Use __syscall_ulong_t.
26812         (shminfo): Use __syscall_ulong_t.
26813         (shm_info): Likewise.
26815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26816         __syscall_ulong_t.
26818         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26819         <bits/wordsize.h>.
26820         (msgqnum_t): Use __syscall_ulong_t.
26821         (msglen_t): Likewise.
26822         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
26823         __syscall_ulong_t.
26825         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26826         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26828         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26830         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26831         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26833         * sysvipc/sys/msg.h (msgbuf): Replace long int with
26834         __syscall_slong_t.
26836         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26837         include <bits/wordsize.h>.  Check __x86_64__ instead of
26838         __WORDSIZE.
26840         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26841         "unsigned long long int" if __x86_64__ is defined.
26842         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26844         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26845         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26846         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26848         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26849         <stdint.h>.
26850         (GET_PC): Cast to uintptr_t first.
26851         (GET_FRAME): Likewise.
26852         (GET_STACK): Likewise.
26854         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26855         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26856         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26857         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26858         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26859         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26860         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26861         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26862         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26863         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26864         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26865         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26866         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26867         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26868         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26869         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26870         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26871         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26872         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26873         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26874         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26875         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26876         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26877         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26878         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26879         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26880         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26881         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26882         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26884 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
26886         * Makerules (+depfiles): Also collect depfiles from .oS in
26887         $(extra-objs).
26888         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26889         .oS, $(libnldbl-routines)).
26891         * Makerules (native-compile-mkdep-flags): Define.
26892         * sunrpc/Makefile (extra-objs): Add $(addprefix
26893         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26894         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26895         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
26896         calling $(make-target-directory).
26898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26900         * bits/types.h (__snseconds_t): Removed.
26901         * time/time.h (struct timespec): Replace __snseconds_t with
26902         __syscall_slong_t.
26903         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26904         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26905         Likewise.
26906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26907         (__SNSECONDS_T_TYPE): Likewise.
26908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26909         (__SNSECONDS_T_TYPE): Likewise.
26910         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26911         (__SNSECONDS_T_TYPE): Likewise.
26913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26915         * sysdeps/mach/hurd/bits/typesizes.h
26916         (__SYSCALL_SLONG_TYPE): New macro.
26917         (__SYSCALL_ULONG_TYPE): Likewise.
26919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26921         * bits/types.h (__syscall_slong_t): New type.
26922         (__syscall_ulong_t): Likewise.
26924         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26925         (__SYSCALL_ULONG_TYPE): Likewise.
26926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26927         (__SYSCALL_SLONG_TYPE): Likewise.
26928         (__SYSCALL_ULONG_TYPE): Likewise.
26929         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26930         (__SYSCALL_SLONG_TYPE): Likewise.
26931         (__SYSCALL_ULONG_TYPE): Likewise.
26932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26933         (__SYSCALL_SLONG_TYPE): Likewise.
26934         (__SYSCALL_ULONG_TYPE): Likewise.
26936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26938         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26939         Add sigaltstack-offsets.sym.
26940         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26941         <sigaltstack-offsets.h>.
26942         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
26943         longjmp_msg pointer.
26944         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
26945         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26946         signal stack.
26947         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26949 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26951         * elf/stackguard-macros.h: Remove file.
26952         * sysdeps/generic/stackguard-macros.h: New file.
26953         * sysdeps/i386/stackguard-macros.h: Likewise.
26954         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26955         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26956         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26957         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26958         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26959         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26960         * sysdeps/x86_64/stackguard-macros.h: Likewise.
26961         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26962         <elf/stackguard-macros.h>.
26964         [BZ #14109]
26965         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26966         __aligned__ in attribute.
26967         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26968         (gregset_t): Likewise.
26970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26972         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26973         * sysdeps/x86_64/64/Implies-after: Here.  New file.
26974         * sysdeps/x86_64/x32/Implies-after: New file.
26976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26978         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26979         and access return value for _dl_profile_fixup.  Use R10_LP to
26980         load frame size.
26982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26984         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26988         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26989         * sysdeps/x86_64/x32/sysdep.h: New file.
26991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26993         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26994         * sysdeps/x86_64/setjmp.S: Likewise.
26996 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26998         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26999         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27000         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27002         remove unused global constant.
27004 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27006         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27007         include of <not-cancel.h>.
27009 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27011         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27013 2012-05-15  Jeff Law  <law@redhat.com>
27014             Andreas Jaeger  <aj@suse.de>
27016         [BZ #13594]
27017         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27018         out from...
27019         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27020         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27021         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27022         code changing __hst_map_handle.map.
27024 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27026         * configure.in (sysnames): Look for Implies-before and Implies-after
27027         files.
27028         * configure: Regenerated.
27030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27032         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27033         8-byte data alignment with LP_SIZE alignment.
27035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27037         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27038         into R10_LP.
27040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27042         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27046         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27047         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27048         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27049         Likewise.
27050         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27054         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27055         (stackinfo_sub_sp): Likewise.
27057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27060         RAX_LP.
27062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27064         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27065         into R*_LP.
27067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27069         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27070         sizes into R*_LP.
27072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27074         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27078         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27079         into R11_LP and load __x86_64_shared_cache_size_half into
27080         R8_LP.
27082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27084         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27085         R8_LP.
27087 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27090         logb for POWER7.
27091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27092         logbf for POWER7.
27093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27094         logbl for POWER7.
27095         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27096         powerpc32/power7/fpu/s_logb.c via #include.
27097         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27098         powerpc32/power7/fpu/s_logbf.c via #include.
27099         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27100         powerpc32/power7/fpu/s_logbl.c via #include.
27102 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27104         * README.libm: Remove file.
27106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27108         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27109         count for x32.  Use R*_LP and omit operand-size suffix.
27111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27113         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27114         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27115         * sysdeps/x86_64/x32/shlib-versions: New file.
27117 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27119         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27120         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27121         Use _dl_fatal_printf instead.
27123 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27125         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27126         set if not set by the user.  Do not allow for being unset.
27127         * sysdeps/unix/sysv/linux/configure: Regenerated.
27129 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27131         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27132         the `q' suffix from lea and replace .quad with ASM_ADDR.
27134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27137         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27138         instead of $17.
27139         (PTR_DEMANGLE): Likewise.
27141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27143         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27144         (LP_OP): Likewise.
27145         (ASM_ADDR): Likewise.
27146         (RAX_LP): Likewise.
27147         (RBP_LP): Likewise.
27148         (RBX_LP): Likewise.
27149         (RCX_LP): Likewise.
27150         (RDI_LP): Likewise.
27151         (RSI_LP): Likewise.
27152         (RSP_LP): Likewise.
27153         (R8_LP): Likewise.
27154         (R9_LP): Likewise.
27155         (R10_LP): Likewise.
27156         (R10_LP): Likewise.
27157         (R11_LP): Likewise.
27158         (R12_LP): Likewise.
27159         (R13_LP): Likewise.
27160         (R14_LP): Likewise.
27161         (R15_LP): Likewise.
27163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27165         * sysdeps/x86_64/x32/dl-machine.h: New file.
27167 2012-05-14  Andreas Jaeger  <aj@suse.de>
27169         * manual/Makefile (subdir): Remove export of subdir.
27170         (all): Remove target.
27171         (.PHONY): Remove all from list.
27172         (mkinstalldirs): Remove.
27173         (.PHONY): Remove installdirs from list.
27174         ($(inst_infodir)/libc.info): Use make-target-directory.
27175         (installdirs): Remove.
27176         (subdir_%): Remove.
27177         (glibc-targets): Remove.
27178         (lib): Remove.
27179         (stubs): Remove.
27180         ($(objpfx)stubs ../po/manual.pot): Remove.
27181         ($(objpfx)stamp%): Remove.
27182         (make-target-directory): Remove.
27183         (subdir_install): Remove.
27184         (routines): Remove.
27185         (aux): Remove.
27186         (sources): Remove.
27187         (objects): Remove.
27188         (headers): Remove.
27190         [BZ #13750]
27191         * manual/.gitignore: Remove, it's not needed anymore.
27192         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27193         all files in it.
27194         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27195         directory.
27196         (texis): Renamed to $(objpfx)texis.
27197         (texis-path): New, contains path to generated files.
27198         (chapters.%): Use texis-path for complete path, add extra argument
27199         libc-texinfo.sh.
27200         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27201         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27202         (summary,texi, stamp-summary): Use complete path of
27203         files. Generate files in build dir.
27204         (dir-add.texi): Build in build dir.
27205         (libm-err.texi,stamp-libm-err): Likewise.
27206         (version.texi, stamp-version): Likewise.
27207         (.%c.texi): Likewise.
27208         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27209         (mostlyclean): Remove target.
27210         (realclean): Remove target.
27211         (generated): Add new variable with contents from mostlyclean and
27212         realclean, remove entries duplicated in common-mostlyclean, add
27213         stamp-libm-err and stamp-version.
27214         (generated-dirs): Add libc directory.
27215         ($(inst_infodir)/libc.info): Install files from build dir.
27217         * manual/install.texi (Configuring and compiling): Adjust since
27218         the info files are not part of the tar ball anymore.
27220 2012-05-14  Andreas Jaeger  <aj@suse.de>
27222         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27223         variable.
27225 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27227         [BZ #13717]
27228         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27229         to 2.2.0 where earlier.
27230         * sysdeps/unix/sysv/linux/configure: Regenerated.
27231         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27232         Remove conditional code.
27233         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27234         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27235         Remove conditional code.
27236         [!__NR_lchown]: Likewise.
27237         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27238         [__NR_lchown]: Likewise.
27239         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27240         comment referencing __ASSUME_LCHOWN_SYSCALL.
27241         * sysdeps/unix/sysv/linux/i386/sigaction.c
27242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27244         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27245         Remove conditional code.
27246         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27247         (__protocol_available): Remove #if 0 code.
27248         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27249         conditional code.
27250         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27251         * sysdeps/unix/sysv/linux/kernel-features.h
27252         (__ASSUME_GETCWD_SYSCALL): Don't define.
27253         (__ASSUME_REALTIME_SIGNALS): Likewise.
27254         (__ASSUME_PREAD_SYSCALL): Likewise.
27255         (__ASSUME_PWRITE_SYSCALL): Likewise.
27256         (__ASSUME_POLL_SYSCALL): Likewise.
27257         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27258         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27259         non-SPARC.
27260         (__ASSUME_SIOCGIFNAME): Don't define.
27261         (__ASSUME_MSG_NOSIGNAL): Likewise.
27262         (__ASSUME_SENDFILE): Define unconditionally.
27263         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27264         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27265         conditional code.
27266         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27267         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27268         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27269         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27270         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27271         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27272         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27274         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27275         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27277         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27278         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27280         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27281         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27283         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27286         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27287         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27289         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27292         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27293         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27295         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27297         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27298         Remove conditional code.
27299         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27300         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27301         Remove conditional code.
27302         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27303         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27304         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27305         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27306         Remove conditional code.
27307         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27308         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27309         Remove conditional code.
27310         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27311         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27312         Remove conditional code.
27313         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27314         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27315         Remove conditional code.
27316         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27317         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27318         Remove conditional code.
27319         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27320         * sysdeps/unix/sysv/linux/sh/pwrite64.c
27321         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27323         * sysdeps/unix/sysv/linux/sigaction.c
27324         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27325         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27326         * sysdeps/unix/sysv/linux/sigpending.c
27327         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27328         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27329         * sysdeps/unix/sysv/linux/sigprocmask.c
27330         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27331         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27332         * sysdeps/unix/sysv/linux/sigsuspend.c
27333         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27334         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27336         (__libc_missing_rt_sigs): Remove.
27337         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27338         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27339         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27340         Remove conditional code.
27341         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27342         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27343         return 1.
27344         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
27345         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
27346         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
27347         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
27349 2012-05-14  Andreas Jaeger  <aj@suse.de>
27351         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
27352         it's not used in glibc.
27353         (__coshm1): Likewise.
27354         (__acosh1p): Likewise.
27355         (__sgn): Likewise.
27357         * manual/string.texi (Copying and Concatenation): Add missing
27358         variable in concat example.
27359         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27361 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27363         [BZ #14103]
27364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
27365         __builtin_clzl with __builtin_clzll.
27367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27369         [BZ #14104]
27370         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
27371         libc_freeres_ptr.
27373 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27375         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
27376         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
27377         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
27378         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
27380 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
27382         * NEWS: Update ia64 info.
27384 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
27386         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
27387         used as bcopy.
27389 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
27391         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
27392         * sysdeps/unix/syscalls.list (dup3): Likewise.
27393         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
27394         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
27396 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27398         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
27399         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
27401 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
27403         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
27404         thread pointer.
27405         (TLS_IE): Use mov/add instead of movq/addq to load thread
27406         pointer.
27407         (TLS_GD_PREFIX): New.
27408         (TLS_GD): Use it.
27410 2012-05-11  David S. Miller  <davem@davemloft.net>
27412         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
27413         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
27414         (_FPU_SETCW): Likewise.
27416 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27418         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
27419         is 32-byte aligned.
27421 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
27423         [BZ #11837]
27424         * iconvdata/gb18030.c: Update tables.
27425         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
27426         characters specially.
27427         (BODY for TO_LOOP): Add encoding of missing ranges.
27429 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
27431         [BZ #13673]
27432         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
27433         * sysdeps/mach/hurd/dup3.c: Likewise.
27434         * sysdeps/mach/hurd/readlinkat.c: Likewise.
27435         * sysdeps/powerpc/memmove.c:: Likewise.
27437 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27439         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
27440         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27442 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27444         * elf/elf.h (R_X86_64_RELATIVE64): New.
27445         (R_X86_64_NUM): Updated.
27446         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27447         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
27448         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
27449         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
27450         tst-quad1pie tst-quad2pie
27451         (modules-names): Add tst-quadmod1 tst-quadmod2.
27452         ($(objpfx)tst-quad1): New dependency.
27453         ($(objpfx)tst-quad2): Likewise.
27454         ($(objpfx)tst-quad1pie): Likewise.
27455         ($(objpfx)tst-quad2pie): Likewise.
27456         * sysdeps/x86_64/tst-quad1.c: New file.
27457         * sysdeps/x86_64/tst-quad1pie.c: New file.
27458         * sysdeps/x86_64/tst-quad2.c: Likewise.
27459         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
27460         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
27461         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
27462         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27463         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
27465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27467         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27468         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
27469         * streams/stropts.h (t_scalar_t): Define type.
27471         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
27472         (_PATH_PRESERVE): Set to "/var/lib".
27473         (_PATH_RWHODIR): Set to "/var/spool/rwho".
27475         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
27476         instead of int.
27478         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
27479         if __dir_mkfile succeeded.
27481         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
27482         checking for _hurd_dtablesize.  Unlock it right after having
27483         finished _hurd_dtable allocation.
27485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27487         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
27488         * sysdeps/mach/hurd/configure: Regenerated.
27489         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
27490         special-casing to...
27491         * sysdeps/gnu/configure.in: ... this new file.
27492         * sysdeps/unix/sysv/linux/configure: Regenerated.
27493         * sysdeps/gnu/configure: New generated file.
27495         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
27496         for Linux: use nsec instead of usec, as well as:
27497         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
27498         members of type struct timespec.
27499         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
27500         New macros.
27501         (struct stat64): Likewise.
27502         (_STATBUF_ST_NSEC): New macro.
27503         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
27505         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27506         __strtoul_internal rather than strtoul.
27508 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27510         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27511         and reject them.
27513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27515         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
27516         which preserves existing values.
27517         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
27519 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27521         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
27522         TIMEOUT values.  Return EINVAL for NFDS values either negative or
27523         greater than FD_SETSIZE.
27525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27527         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
27528         allocated, call __vm_protect to finish enabling the existing space, and
27529         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
27530         allocate the remainder.
27532 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27534         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
27535         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
27537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27539         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
27540         sysdeps/mach/hurd/readlink.c.
27542         * posix/tst-sysconf.c (posix_options): Only use
27543         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
27544         _POSIX_SYNCHRONIZED_IO when they are defined
27545         * sysdeps/mach/hurd/bits/posix_opt.h:
27546         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
27547         (_XOPEN_REALTIME): Undefine macro.
27548         (_XOPEN_REALTIME_THREADS): Undefine macro.
27549         (_XOPEN_SHM): Undefine macro.
27550         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
27551         macro to -1.
27552         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
27553         macro to -1.
27554         (_POSIX_ASYNC_IO): Undefine macro.
27555         (_POSIX_PRIORITIZED_IO): Undefine macro.
27556         (_POSIX_SPIN_LOCKS): Define macro to -1.
27558         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
27559         SA_NODEFER, SA_RESETHAND.
27560         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
27561         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
27562         F_DUPFD_CLOEXEC.
27564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27566         * elf/Makefile (pldd-modules): Define unconditionally.
27568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27570         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
27572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27574         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
27575         Return ENOENT when name is empty.
27576         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
27578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27580         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
27582         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
27584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27586         Fix mlock in all cases except non-readable pages.
27587         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
27588         instead of VM_PROT_ALL as parameter to __vm_wire function.
27590         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
27591         (__mkdir): When path is `/', just fail with EEXIST.
27592         * sysdeps/mach/hurd/mkdirat.c: Likewise.
27594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27596         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
27597         <sys/uio.h> (for writev).
27598         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
27599         and <sys/param.h> (for MIN).
27601 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27603         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
27604         REQUESTED_TIME.  Properly set the remaining time and return EINTR
27605         if interrupted.
27607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27609         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27610         Depend on against $(link-rpcuserlibs).
27612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27614         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
27615         (__libc_stack_end): Do not use attribute_relro.
27616         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
27617         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
27618         to libthread-provided value.
27619         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
27620         attribute_relro.
27622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27624         [BZ #3748]
27625         * bits/libc-lock.h (__libc_once_get): New macro.
27626         * sysdeps/mach/bits/libc-lock.h: Likewise.
27627         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
27628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
27629         instead of using implementation details.
27631         * libio/fileops.c: Unconditionally include <kernel-features.h>.
27632         * libio/freopen.c: Likewise.
27633         * libio/freopen64.c: Likewise.
27634         * misc/syslog.c: Likewise.
27635         * nscd/connections.c: Likewise.
27636         * nscd/netgroupcache.c: Likewise.
27637         * sysdeps/posix/getcwd.c: Likewise.
27639 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27641         * math/w_ilogbf.c: Add #include <limits.h>.
27643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27645         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27646         path instead of returning without unlocking.
27648         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27649         immediate-write ioctls.
27650         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27654         * sysdeps/mach/hurd/i386/init-first.c (init): Use
27655         __builtin_frame_address instead of making assumptions about the
27656         location of the return address relative to DATA.  Force early load of
27657         the return address.
27658         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27659         __builtin_frame_address.
27661         dup3 for GNU Hurd.
27662         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27663         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
27664         implement dup3 and do some further code clean-ups.
27665         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27666         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27670         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27672         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27673         HURD_CRITICAL_END around holding _hurd_dtable_lock.
27674         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27675         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27676         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27677         d->port.lock.
27679         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27680         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
27681         when handler == SIG_ERR, not when handler != SIG_ERR.
27683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27685         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27686         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27687         definitions.
27689         accept4 for GNU Hurd.
27690         * include/sys/socket.h (__libc_accept4): New prototype.
27691         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
27692         to implement __libc_accept4.
27693         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27694         __libc_accept4.
27695         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27697         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27698         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27699         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27700         signal-defines.sym.
27702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27704         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27706 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
27708         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27709         assertion on O_CLOEXEC flag.
27710         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27711         * hurd/intern-fd.c: Likewise.
27712         * hurd/port2fd.c: Likewise.
27714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27716         [BZ #3906]
27717         * bits/in.h (IPV6_PKTINFO): Define new macro.
27718         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27720 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27722         [BZ #13954]
27723         [BZ #13955]
27724         [BZ #13956]
27725         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27726         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27727         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27728         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27730         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27731         * math/libm-test.inc (logb_test) : Additional logb tests.
27733 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
27734             Andreas Jaeger  <aj@suse.de>
27736         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27737         * configure: Regenerated.
27738         * config.h.in (LINK_OBSOLETE_RPC): New macro.
27739         * config.make.in (link-obsolete-rpc): New substituted variable.
27740         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27741         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27742         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27743         (shared-only-routines): Don't set it under [link-obsolete-rpc],
27744         so that libc.a contains the symbols.
27745         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27746         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27747         * sunrpc/auth_none.c: Likewise.
27748         * sunrpc/auth_unix.c: Likewise.
27749         * sunrpc/authdes_prot.c: Likewise.
27750         * sunrpc/authuxprot.c: Likewise.
27751         * sunrpc/clnt_gen.c: Likewise.
27752         * sunrpc/clnt_perr.c: Likewise.
27753         * sunrpc/clnt_raw.c: Likewise.
27754         * sunrpc/clnt_simp.c: Likewise.
27755         * sunrpc/clnt_tcp.c: Likewise.
27756         * sunrpc/clnt_udp.c: Likewise.
27757         * sunrpc/clnt_unix.c: Likewise.
27758         * sunrpc/des_crypt.c: Likewise.
27759         * sunrpc/des_soft.c: Likewise.
27760         * sunrpc/get_myaddr.c: Likewise.
27761         * sunrpc/key_call.c: Likewise.
27762         * sunrpc/key_prot.c: Likewise.
27763         * sunrpc/netname.c: Likewise.
27764         * sunrpc/pm_getmaps.c: Likewise.
27765         * sunrpc/pm_getport.c: Likewise.
27766         * sunrpc/pmap_clnt.c: Likewise.
27767         * sunrpc/pmap_prot.c: Likewise.
27768         * sunrpc/pmap_prot2.c: Likewise.
27769         * sunrpc/pmap_rmt.c: Likewise.
27770         * sunrpc/publickey.c: Likewise.
27771         * sunrpc/rpc_cmsg.c: Likewise.
27772         * sunrpc/rpc_common.c: Likewise.
27773         * sunrpc/rpc_dtable.c: Likewise.
27774         * sunrpc/rpc_prot.c: Likewise.
27775         * sunrpc/rpc_thread.c: Likewise.
27776         * sunrpc/rtime.c: Likewise.
27777         * sunrpc/svc.c: Likewise.
27778         * sunrpc/svc_auth.c: Likewise.
27779         * sunrpc/svc_raw.c: Likewise.
27780         * sunrpc/svc_run.c: Likewise.
27781         * sunrpc/svc_tcp.c: Likewise.
27782         * sunrpc/svc_udp.c: Likewise.
27783         * sunrpc/svc_unix.c: Likewise.
27784         * sunrpc/svcauth_des.c: Likewise.
27785         * sunrpc/xcrypt.c: Likewise.
27786         * sunrpc/xdr.c: Likewise.
27787         * sunrpc/xdr_array.c: Likewise.
27788         * sunrpc/xdr_float.c: Likewise.
27789         * sunrpc/xdr_intXX_t.c: Likewise.
27790         * sunrpc/xdr_mem.c: Likewise.
27791         * sunrpc/xdr_rec.c: Likewise.
27792         * sunrpc/xdr_ref.c: Likewise.
27793         * sunrpc/xdr_sizeof.c: Likewise.
27794         * sunrpc/xdr_stdio.c: Likewise.
27796 2012-05-10  Roland McGrath  <roland@hack.frob.com>
27798         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27799         change.  Update copyright years.
27801 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27803         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27805 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
27806             Joseph Myers  <joseph@codesourcery.com>
27807             Paul Pluzhnikov  <ppluzhnikov@google.com>
27809         [BZ #14012]
27810         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27811         requiring rpcgen.
27812         [cross-compiling] (extra-libs): Likewise.
27813         [cross-compiling] (extra-libs-others): Likewise.
27814         [cross-compiling] (librpcsvc-routines): Likewise.
27815         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27816         [cross-compiling] (omit-deps): Likewise.
27817         (sunrpc-CPPFLAGS): New variable.
27818         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27819         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27820         (cross-rpcgen-objs): New variable.
27821         (extra-objs): Append $(cross-rpcgen-objs).
27822         ($(cross-rpcgen-objs)): New rule.
27823         ($(objpfx)cross-rpcgen): Likewise.
27824         (rpcgen-cmd): Define to use $(built-program-file).  Expand
27825         comment.
27826         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27827         ($(objpfx)x%.stmp): Likewise.
27828         * sunrpc/proto.h [IS_IN_build] (_): Define.
27829         [IS_IN_build] (_libc_intl_domainname): Likewise.
27831 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
27833         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27834         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27835         and R_X86_64_TPOFF64.
27837 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
27839         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27840         sysdeps/unix/sysv/syscalls.list.
27841         (stime): Likewise.
27842         (utime): Likewise.
27843         * sysdeps/unix/sysv/syscalls.list: Remove file.
27845 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
27847         [BZ #3440]
27848         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27849         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27850         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27851         (__LC_IDENTIFICATION): Make these macros useful in #if
27852         expressions, as required by C99.
27854 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
27856         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27857         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
27858         after this.
27860 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
27862         * stdlib/longlong.h: Updated from GCC.
27864 2012-05-09  Andreas Jaeger  <aj@suse.de>
27866         * nscd/nscd.c (run_modes): Make named enum, reorder so that
27867         default is first entry.
27868         (run_mode): Set type.
27869         (main): Remove informal message about syslog.
27870         (options): Fix typo.
27872         [BZ #14053]
27873         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27874         to asm.
27875         (lrint): Likewise.
27876         (llrintf): Likewise.
27877         (llrint): Likewise.
27878         (rint): Likewise.
27879         (rintf): Likewise.
27880         (nearbyint): Likewise.
27881         (nearbyintf): Likewise.
27883 2012-05-09  Andreas Jaeger  <aj@suse.de>
27884             Pedro Alves  <palves@redhat.com>
27886         * nscd/nscd.c (run_mode): Use enum.
27887         (main): Cleanup coding style issue.
27889 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
27890             Andreas Jaeger  <aj@suse.de>
27892         * nscd/nscd.c (go_background): Replaced with...
27893         (run_mode): ... this.
27894         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27895         (options): Add -F --foreground.
27896         (main): Implement it.
27897         (parse_opt): Parse it.
27899 2012-05-09  Andreas Jaeger  <aj@suse.de>
27901         [BZ #14083]
27902         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27903         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27904         -Wconversion warning.
27905         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27906         Likewise.
27908 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
27910         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
27911         == 0.
27912         (LC_ALL): Use macro-int-constant.
27913         (LC_COLLATE): Likewise.
27914         (LC_CTYPE): Likewise.
27915         (LC_MESSAGES): Likewise.
27916         (LC_MONETARY): Likewise.
27917         (LC_NUMERIC): Likewise.
27918         (LC_TIME): Likewise.
27919         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27920         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27921         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27922         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27923         Specify type.
27924         [C99-based standards] (float_t): Expect type.
27925         [C99-based standards] (double_t): Expect type.
27926         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
27927         type.
27928         [C99-based standards] (HUGE_VALL): Likewise.
27929         [C99-based standards] (INFINITY): Likewise.
27930         [C99-based standards] (NAN): Likewise.
27931         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27932         [C99-based standards] (FP_NAN): Likewise.
27933         [C99-based standards] (FP_NORMAL): Likewise.
27934         [C99-based standards] (FP_SUBNORMAL): Likewise.
27935         [C99-based standards] (FP_ZERO): Likewise.
27936         [C99-based standards] (FP_FAST_FMA): Use
27937         optional-macro-int-constant.  Specify type.  Require == 1.
27938         [C99-based standards] (FP_FAST_FMAF): Likewise.
27939         [C99-based standards] (FP_FAST_FMAL): Likewise.
27940         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27941         [C99-based standards] (FP_ILOGBNAN): Likewise.
27942         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27943         Specify type.
27944         [C99-based standards] (MATH_ERREXCEPT): Likewise.
27945         [C99-based standards] (math_errhandling): Specify type.
27946         [ISO99 || ISO11] (signgam): Do not allow.
27947         [non-C99-based standards] (copysignf): Do not allow.
27948         [non-C99-based standards] (exp2f): Likewise.
27949         [non-C99-based standards] (log2f): Likewise.
27950         [non-C99-based standards] (modff): Allow.
27951         [non-C99-based standards] (erff): Do not allow.
27952         [non-C99-based standards] (erfcf): Likewise.
27953         [non-C99-based standards] (gammaf): Likewise.
27954         [non-C99-based standards] (hypotf): Likewise.
27955         [non-C99-based standards] (j0f): Likewise.
27956         [non-C99-based standards] (j1f): Likewise.
27957         [non-C99-based standards] (jnf): Likewise.
27958         [non-C99-based standards] (lgammaf): Likewise.
27959         [non-C99-based standards] (tgammaf): Likewise.
27960         [non-C99-based standards] (y0f): Likewise.
27961         [non-C99-based standards] (y1f): Likewise.
27962         [non-C99-based standards] (ynf): Likewise.
27963         [non-C99-based standards] (isnanf): Likewise.
27964         [non-C99-based standards] (acoshf): Likewise.
27965         [non-C99-based standards] (asinhf): Likewise.
27966         [non-C99-based standards] (atanhf): Likewise.
27967         [non-C99-based standards] (cbrtf): Likewise.
27968         [non-C99-based standards] (expm1f): Likewise.
27969         [non-C99-based standards] (ilogbf): Likewise.
27970         [non-C99-based standards] (log1pf): Likewise.
27971         [non-C99-based standards] (logbf): Likewise.
27972         [non-C99-based standards] (nextafterf): Likewise.
27973         [non-C99-based standards] (remainderf): Likewise.
27974         [non-C99-based standards] (rintf): Likewise.
27975         [non-C99-based standards] (scalbf): Likewise.
27976         [non-C99-based standards] (copysignl): Likewise.
27977         [non-C99-based standards] (exp2l): Likewise.
27978         [non-C99-based standards] (log2l): Likewise.
27979         [non-C99-based standards] (modfl): Allow.
27980         [non-C99-based standards] (erfl): Do not allow.
27981         [non-C99-based standards] (erfcl): Likewise.
27982         [non-C99-based standards] (gammal): Likewise.
27983         [non-C99-based standards] (hypotl): Likewise.
27984         [non-C99-based standards] (j0l): Likewise.
27985         [non-C99-based standards] (j1l): Likewise.
27986         [non-C99-based standards] (jnl): Likewise.
27987         [non-C99-based standards] (lgammal): Likewise.
27988         [non-C99-based standards] (tgammal): Likewise.
27989         [non-C99-based standards] (y0l): Likewise.
27990         [non-C99-based standards] (y1l): Likewise.
27991         [non-C99-based standards] (ynl): Likewise.
27992         [non-C99-based standards] (isnanl): Likewise.
27993         [non-C99-based standards] (acoshl): Likewise.
27994         [non-C99-based standards] (asinhl): Likewise.
27995         [non-C99-based standards] (atanhl): Likewise.
27996         [non-C99-based standards] (cbrtl): Likewise.
27997         [non-C99-based standards] (expm1l): Likewise.
27998         [non-C99-based standards] (ilogbl): Likewise.
27999         [non-C99-based standards] (log1pl): Likewise.
28000         [non-C99-based standards] (logbl): Likewise.
28001         [non-C99-based standards] (nextafterl): Likewise.
28002         [non-C99-based standards] (remainderl): Likewise.
28003         [non-C99-based standards] (rintl): Likewise.
28004         [non-C99-based standards] (scalbl): Likewise.
28005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28006         [non-C99-based standards] (FP_*): Do not allow.
28007         [C99-based standards] (FP_*): Change to
28008         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28009         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28010         allow.
28011         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28012         (SIG_ERR): Likewise.
28013         [X/Open-based standards] (SIG_HOLD): Likewise.
28014         (SIG_IGN): Likewise.
28015         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28016         positive value.
28017         (SIGFPE): Likewise.
28018         (SIGILL): Likewise.
28019         (SIGINT): Likewise.
28020         (SIGSEGV): Likewise.
28021         (SIGTER): Likewise.
28022         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28023         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28024         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28025         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28026         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28027         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28028         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28029         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28030         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28031         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28032         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28033         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28034         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28035         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28036         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28037         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28038         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28039         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28040         [X/Open-based standards] (SIGTRAP): Likewise.
28041         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28042         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28043         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28044         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28045         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28046         allow.
28048 2012-05-08  Ian Wienand  <ianw@vmware.com>
28050         [BZ #14080]
28051         * time/tzset.c (__tzset_parse_tz): Update default rules for
28052         daylight time changes in the Energy Policy Act of 2005.
28054 2012-05-09  Andreas Jaeger  <aj@suse.de>
28056         [BZ #13983]
28057         * elf/ldconfig.c (parse_conf): Change string to make clear that
28058         ldconfig only issued a warning if ld.so.conf does not exist.
28060 2012-05-08  David S. Miller  <davem@davemloft.net>
28062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28063         movxtod instead of popping the value on the stack.
28065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28067 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28069         * config.h.in: Add HAVE_ARM_PCS_VFP.
28071 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28073         [BZ #13979]
28074         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28075         checking but the checks are disabled for any reason.
28077 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28079         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28080         and ELF64_R_TYPE with ELFW(R_TYPE).
28082 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28084         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28085         (ulimit): Likewise.
28087         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28088         (settimeofday): Likewise.
28090 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28092         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28093         a struct th_u2 inside the union, and move tu_block/tu_code into
28094         a new th_u3 union of tu_block/tu_code inside of that.  Move
28095         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28096         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28097         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28098         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28099         (th_stuff): Change to th_u1.tu_stuff.
28100         (th_data): Define.
28101         (th_msg): Change to th_u1.th_u2.tu_data.
28103 2012-05-07  David S. Miller  <davem@davemloft.net>
28105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28107         [BZ #14074]
28108         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28109         (SETUP_PIC_REG): Use it.
28110         (SETUP_PIC_REG_LEAF): Use it.
28112 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28114         [BZ #13885]
28115         [BZ #13923]
28116         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28117         USE_AS_EXPM1L.
28118         (EXPL_FINITE): Likewise.
28119         (FLDLOG): Likewise.
28120         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28121         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28122         e_expl.S.
28123         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28124         USE_AS_EXPM1L.
28125         (EXPL_FINITE): Likewise.
28126         (FLDLOG): Likewise.
28127         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28128         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28129         e_expl.S.
28130         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28131         test of -max_value argument for long double.
28132         * sysdeps/i386/fpu/libm-test-ulps: Update.
28133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28135 2012-05-06  David S. Miller  <davem@davemloft.net>
28137         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28138         quad soft-float symbols whose references which are compiler
28139         generated.
28140         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28142 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28144         [BZ #13884]
28145         [BZ #13914]
28146         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28147         USE_AS_EXP10L.
28148         (EXPL_FINITE): Likewise.
28149         (FLDLOG): Likewise.
28150         (c0): Likewise.
28151         (c1): Likewise.
28152         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28153         Adjust comments for base varying.
28154         (__expl_finite): Change alias to EXPL_FINITE.
28155         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28156         e_expl.S.
28157         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28158         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28160         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28161         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28162         USE_AS_EXP10L.
28163         (EXPL_FINITE): Likewise.
28164         (FLDLOG): Likewise.
28165         (c0): Likewise.
28166         (c1): Likewise.
28167         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28168         Adjust comments for base varying.
28169         (__expl_finite): Change alias to EXPL_FINITE.
28170         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28171         tests for bugs.
28172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28174         [BZ #14064]
28175         * math/libm-test.inc (check_float_internal): Correct ulp
28176         calculation for subnormal expected results.
28178 2012-05-06  Andreas Jaeger  <aj@suse.de>
28180         * Makeconfig (+math-flags): New, set to -frounding-math.
28181         (+cflags): Add +math-flags so that all of glibc gets compiled with
28182         it.
28184         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28186 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28188         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28189         Disable one test.
28191         [BZ #13787]
28192         [BZ #13922]
28193         [BZ #14036]
28194         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28195         (__ieee754_expl): Allow for and saturate large arguments.
28196         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28197         (u_threshold): Likewise.
28198         (__exp): Call __ieee754_exp before checking for overflow and
28199         underflow.
28200         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28201         (u_threshold): Likewise.
28202         (__expf): Call __ieee754_expf before checking for overflow and
28203         underflow.
28204         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28205         (u_threshold): Likewise.
28206         (__expl): Call __ieee754_expl before checking for overflow and
28207         underflow.
28208         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28209         (__ieee754_expl): Allow for and saturate large arguments.
28210         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28211         missing overflow exception on overflow.
28212         (expm1_test): Do not allow missing overflow exception on overflow.
28214         * sysdeps/i386/fpu/e_expl.c: Move to ...
28215         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28216         rather than using inline asm.
28217         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28218         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28219         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28221         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28222         (nice): Likewise.
28223         (poll): Likewise.
28224         (signal): Likewise.
28225         (time): Likewise.
28226         (times): Likewise.
28228 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28230         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28231         sysdeps/unix/common/syscalls.list.
28232         (fchmod): Likewise.
28233         (fchown): Likewise.
28234         (ftruncate): Likewise.
28235         (getrusage): Likewise.
28236         (gettimeofday): Likewise.
28237         (setpgid): Likewise.
28238         (setregid): Likewise.
28239         (setreuid): Likewise.
28240         (sigaction): Likewise.
28241         (truncate): Likewise.
28242         (vhangup): Likewise.
28243         * sysdeps/unix/common/syscalls.list: Remove file.
28244         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28245         * sysdeps/unix/sysv/linux/Implies: Likewise.
28247 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28249         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28251         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28252         Moved to ...
28253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28254         Here.
28255         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28256         to ...
28257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28258         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28259         to ...
28260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28261         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28262         to ...
28263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28264         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28265         to ...
28266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28267         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28268         to ...
28269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28270         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28271         to ...
28272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28273         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28274         to ...
28275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28276         Here.
28277         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28278         to ...
28279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28280         Here.
28281         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28282         to ...
28283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28284         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28285         Moved to ...
28286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28287         Here.
28288         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28289         to ...
28290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28292 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28294         * sysdeps/unix/common/bits/dirent.h: Remove file.
28295         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28297         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28298         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28299         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28300         * sysdeps/unix/bsd/isatty.c: Likewise.
28301         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28302         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28303         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28305 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28307         [BZ #13563]
28308         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28309         long double comparison inaccuracies.
28310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28313 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
28315         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28316         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28318 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28320         [BZ #14049]
28321         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28322         nonzero digits before rounding a hex value.
28323         * stdlib/tst-strtod.c (tests): Add another test.
28325 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28327         * sysdeps/s390/fpu/libm-test-ulps: Update.
28329 2012-05-03  Andreas Jaeger  <aj@suse.de>
28331         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28332         does not get optimized out.
28333         (malloc_opt_barrier): New.
28335 2012-05-03  Andreas Jaeger  <aj@suse.de>
28336             Roland McGrath  <roland@hack.frob.com>
28338         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28339         intermediate file deletion.
28340         (generated): Add .symlist files.
28342 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
28344         [BZ #13775]
28345         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
28346         Redirect under this condition.
28347         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28348         [__USE_GNU] (__dprintf_chk): Not under this condition.
28349         [__USE_GNU] (__vdprintf_chk): Likewise.
28350         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
28351         under this condition.
28352         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
28353         [__USE_XOPEN2K8] (dprintf): Define under this condition.
28354         [__USE_XOPEN2K8] (vdprintf): Likewise.
28355         [__USE_GNU] (__dprintf_chk): Not under this condition.
28356         [__USE_GNU] (__vdprintf_chk): Likewise.
28357         [__USE_GNU] (dprintf): Likewise.
28358         [__USE_GNU] (vdprintf): Likewise.
28360 2012-05-03  Roland McGrath  <roland@hack.frob.com>
28362         * elf/Makefile (common-generated): Set this instead of generated for
28363         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
28364         $(all-built-dso)-derived lists.
28366 2012-05-03  Andreas Jaeger  <aj@suse.de>
28368         * sysdeps/i386/fpu/libm-test-ulps: Update.
28370         * FAQ: Removed.
28371         * FAQ.in: Likewise.
28372         * scripts/gen-FAQ.pl: Likewise.
28373         * manual/install.texi (Installation): Point to online location of
28374         FAQ.
28375         * Makefile (files-for-dist): Remove FAQ.
28376         (FAQ): Remove.
28378 2012-05-02  Allan McRae  <allan@archlinux.org>
28380         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
28381         (LDFLAGS-reldepmod5.so): Likewise.
28382         (LDFLAGS-reldep6mod1.so): Likewise.
28383         (LDFLAGS-reldep6mod4.so): Likewise.
28384         (LDFLAGS-reldep8mod3.so): Likewise.
28385         (LDFLAGS-unload4mod1.so): Likewise.
28386         (LDFLAGS-unload4mod2.so): Likewise.
28387         (LDFLAGS-tst-initorder): Likewise.
28388         (LDFLAGS-tst-initordera2.so): Likewise.
28389         (LDFLAGS-tst-initordera3.so): Likewise.
28390         (LDFLAGS-tst-initordera4.so): Likewise.
28391         (LDFLAGS-tst-initorderb2.so): Likewise.
28392         (LDFLAGS-noload): Likewise.
28393         (LDFLAGS-next): Likewise.
28394         (LDFLAGS-order2mod1.so): Likewise.
28395         (LDFLAGS-order2mod2.so): Likewise.
28396         (LDFLAGS-tst-initorder2): Likewise.
28397         (LDFLAGS-tst-initorder2a.so): Likewise.
28398         (LDFLAGS-tst-initorder2b.so): Likewise.
28399         (LDFLAGS-tst-initorder2c.so): Likewise.
28400         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
28402 2012-05-02  David S. Miller  <davem@davemloft.net>
28404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28406 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28408         [BZ #14055]
28409         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
28411 2012-05-02  Andreas Jaeger  <aj@suse.de>
28413         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
28414         since we manipulate rounding mode.
28415         (CPPFLAGS-test-idouble.c): Likewise.
28416         (CPPFLAGS-test-ifloat.c): Likewise.
28417         (CFLAGS-test-ldouble.c): Likewise.
28418         (CFLAGS-test-double.c): Likewise.
28419         (CFLAGS-test-float.c): Likewise.
28420         (CFLAGS-test-misc.c): Likewise.
28421         (CFLAGS-test-test-fenv.c): Likewise.
28423 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28425         [BZ #2550]
28426         [BZ #2570]
28427         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
28428         comparisons to determine direction to adjust input.
28430 2012-05-01  Roland McGrath  <roland@hack.frob.com>
28432         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
28433         output to the target.
28435         * scripts/localplt.awk: New file.
28436         * elf/Makefile ($(objpfx)check-localplt): Target removed.
28437         (check-localplt-CFLAGS): Variable removed.
28438         ($(all-built-dso:=.jmprel)): New static pattern rule.
28439         (generated): Add those targets.
28440         (localplt-built-dso): New variable.
28441         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
28443         * elf/check-localplt.c: File removed.
28445         * scripts/check-execstack.awk: New file.
28446         * elf/Makefile ($(objpfx)check-execstack): Target removed.
28447         (check-execstack-CFLAGS): Variable removed.
28448         ($(objpfx)check-execstack.h): Target removed.
28449         ($(objpfx)execstack-default): New target.
28450         (generated): Add that instead of check-execstack.h.
28451         ($(all-built-dso:=.phdr)): New static pattern rule.
28452         (generated): Add those targets.
28453         * elf/check-execstack.c: File removed.
28455         * scripts/check-textrel.awk: New file.
28456         * elf/Makefile ($(objpfx)check-textrel): Target removed.
28457         (check-textrel-CFLAGS): Variable removed.
28458         (all-built-dso): Use := to define.o
28459         ($(all-built-dso:=.dyn)): New static pattern rule.
28460         (generated): Add those targets.
28461         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
28462         * config.make.in (READELF): New substituted variable.
28463         * elf/check-textrel.c: File removed.
28465 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28467         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28468         allow.
28469         * conform/data/ctype.h-data [C99-based standards] (isblank):
28470         Expect function.
28471         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
28472         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
28473         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28474         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
28475         Specify type.  Require positive value.
28476         (EILSEQ): Likewise.
28477         (ERANGE): Likewise.
28478         [ISO || POSIX] (EILSEQ): Do not expect.
28479         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
28480         Specify type.  Require positive value.
28481         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
28482         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
28483         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
28484         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
28485         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
28486         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
28487         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
28488         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
28489         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
28490         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
28491         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28492         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
28493         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
28494         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
28495         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
28496         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
28497         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
28498         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
28499         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
28500         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
28501         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
28502         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
28503         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
28504         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
28505         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
28506         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
28507         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
28508         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
28509         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
28510         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
28511         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
28512         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
28513         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
28514         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
28515         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
28516         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
28517         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
28518         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
28519         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
28520         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
28521         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
28522         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
28523         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
28524         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
28525         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
28526         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
28527         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
28528         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
28529         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
28530         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
28531         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
28532         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
28533         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
28534         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
28535         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
28536         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
28537         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
28538         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
28539         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
28540         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
28541         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
28542         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
28543         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
28544         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
28545         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
28546         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
28547         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
28548         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
28549         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
28550         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
28551         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
28552         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
28553         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
28554         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
28555         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
28556         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
28557         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
28558         Require >= 2.
28559         (FLT_ROUNDS): Expect as macro, not constant.
28560         (FLT_MANT_DIG): Use macro-int-constant.
28561         (DBL_MANT_DIG): Likewise.
28562         (LDBL_MANT_DIG): Likewise.
28563         (FLT_DIG): Likewise.
28564         (DBL_DIG): Likewise.
28565         (LDBL_DIG): Likewise.
28566         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
28567         (DBL_MIN_EXP): Likewise.
28568         (LDBL_MIN_EXP): Likewise.
28569         (FLT_MAX_EXP): Use macro-int-constant.
28570         (DBL_MAX_EXP): Likewise.
28571         (LDBL_MAX_EXP): Likewise.
28572         (FLT_MAX_10_EXP): Likewise.
28573         (DBL_MAX_10_EXP): Likewise.
28574         (LDBL_MAX_10_EXP): Likewise.
28575         (FLT_MAX): Use macro-constant.
28576         (DBL_MAX): Likewise.
28577         (LDBL_MAX): Likewise.
28578         (FLT_EPSILON): Use macro-constant.  Give upper bound.
28579         (DBL_EPSILON): Likewise.
28580         (LDBL_EPSILON): Likewise.
28581         (FLT_MIN): Likewise.
28582         (DBL_MIN): Likewise.
28583         (LDBL_MIN): Likewise.
28584         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
28585         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
28586         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
28587         [ISO11] (FLT_HAS_SUBNORM): Likewise.
28588         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
28589         [ISO11] (DBL_DECIMAL_DIG): Likewise.
28590         [ISO11] (FLT_DECIMAL_DIG): Likewise.
28591         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
28592         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
28593         [ISO11] (FLT_TRUE_MIN): Likewise.
28594         [ISO11] (LDBL_TRUE_MIN): Likewise.
28595         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28596         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
28597         (SCHAR_MIN): Use macro-int-constant.  Specify type.
28598         (SCHAR_MAX): Likewise.
28599         (UCHAR_MAX): Likewise.
28600         (CHAR_MIN): Likewise.
28601         (CHAR_MAX): Likewise.
28602         (MB_LEN_MAX): Use macro-int-constant.
28603         (SHRT_MIN): Use macro-int-constant.  Specify type.
28604         (SHRT_MAX): Likewise.
28605         (USHRT_MAX): Likewise.
28606         (INT_MAX): Likewise.
28607         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
28608         bound negative.
28609         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28610         bound with "U".
28611         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28612         bound with "L".
28613         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
28614         bound negative.  Suffix upper bound with "L".
28615         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
28616         bound with "UL".
28617         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
28618         Specify type.
28619         [C99-based standards] (LLONG_MAX): Likewise.
28620         [C99-based standards] (ULLONG_MAX): Likewise.
28621         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
28622         == 0.
28623         [ISO11] (max_align_t): Require type.
28624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28626         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
28627         from $CFLAGS, without defining away __attribute__ calls.
28628         (checknamespace): Use $CFLAGS_namespace.
28630         * conform/conformtest.pl (@keywords): Only include C99 keywords
28631         for standards based on C99 or C11.
28633         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28634         Disable tests.
28635         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28636         UNIX98]: Likewise.
28638         * conform/conformtest.pl: Handle "macro-int-constant" and test for
28639         usability of symbols in #if.
28641         * conform/conformtest.pl: If macro or constant types start
28642         "promoted:", expect the symbol to be of the following type
28643         promoted by the integer promotions.
28645         * conform/conformtest.pl: Parse all "constant" and "macro" lines
28646         in one place.  Also handle "macro-constant".
28648         * conform/conformtest.pl: Only accept expected macro values with
28649         "==".  Parse all "macro" lines in one place.
28650         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28652         * conform/conformtest.pl: Handle braced types on "constant" lines
28653         instead of handling "typed-constant".
28654         * conform/data/signal.h-data: Use "constant" instead of
28655         "typed-constant".
28657         * conform/conformtest.pl: Handle "optional-" at start of lines in
28658         one place rather than duplicating several cases.  Handle each
28659         format of "macro" line with initial "optional-".
28661         * conform/conformtest.pl: Only accept expected constant or
28662         optional-constant values with "==".  Parse all "constant" lines in
28663         one place.  Parse all "optional-constant" lines in one place.
28664         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28665         * conform/data/fmtmsg.h-data: Likewise.
28666         * conform/data/netinet/in.h-data: Likewise.
28667         * conform/data/tar.h-data: Likewise.
28668         * conform/data/limits.h-data: Use "==" form on "constant" and
28669         "optional-constant" lines.
28671         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28672         Use -std=c99 for XOPEN2K.
28673         (@knownproblems): Remove.
28674         (newtoken): Don't check %isknown.
28676         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28677         Do not expect macro.
28678         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28679         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28680         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28681         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28682         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28683         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28684         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28685         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28686         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28687         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28688         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28689         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28690         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28691         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28692         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28693         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28694         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28695         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28696         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28697         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28698         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28699         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28700         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28701         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28702         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28703         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28704         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28705         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28706         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28707         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28708         [XPG3] (acosh): Likewise.
28709         [XPG3] (asinh): Likewise.
28710         [XPG3] (atanh): Likewise.
28711         [XPG3] (cbrt): Likewise.
28712         [XPG3] (expm1): Likewise.
28713         [XPG3] (ilogb): Likewise.
28714         [XPG3] (log1p): Likewise.
28715         [XPG3] (logb): Likewise.
28716         [XPG3] (nextafter): Likewise.
28717         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28718         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28719         [XPG3] (remainder): Likewise.
28720         [XPG3] (rint): Likewise.
28721         [XPG3 || XPG4 || UNIX98] (round): Likewise.
28722         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28723         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28724         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28725         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28726         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28727         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28728         [UNIX98 || XOPEN2K] (scalb): Expect.
28729         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28730         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28731         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28732         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28733         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28734         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28735         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28736         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28737         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28738         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28739         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28740         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28741         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28742         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28743         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28744         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28745         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28746         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28747         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28748         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28749         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28750         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28751         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28752         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28753         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28754         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28755         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28756         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28757         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28758         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28759         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28760         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28761         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28762         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28763         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28764         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28765         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28766         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28767         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28768         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28769         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28770         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28771         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28772         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28773         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28774         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28775         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28776         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28777         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28778         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28779         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28780         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28781         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28782         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28783         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28784         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28785         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28786         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28787         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28788         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28789         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28790         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28791         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28792         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28793         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28794         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28795         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28796         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28797         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28798         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28799         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28800         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28801         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28802         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28803         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28804         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28805         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28806         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28807         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28808         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28809         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28810         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28811         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28812         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28813         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28814         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28815         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28816         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28817         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28818         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28819         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28820         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28821         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28822         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28823         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28824         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28825         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28826         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28827         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28828         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28829         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28830         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28831         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28832         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28833         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28834         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28835         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28836         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28837         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28838         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28839         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28840         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28841         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28842         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28843         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28844         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28845         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28846         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28847         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28848         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28849         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28850         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28851         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28852         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28853         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28854         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28855         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28856         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28857         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28858         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28859         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28860         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28861         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28862         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28863         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28864         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28865         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28867         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28868         _XOPEN_SOURCE_EXTENDED for XPG4.
28870         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28872         * Makeconfig (localtime): Remove variable.
28873         (inst_localtime-file): Likewise.
28875 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28878         Update.
28879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28880         Update.
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28882         Update.
28883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28884         Update.
28885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28886         Update.
28887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28888         Update.
28889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28890         Update.
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28892         Update.
28893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28894         Update.
28896 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28898         [BZ #2550]
28899         [BZ #2570]
28900         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28901         comparisons to determine direction to adjust input.
28902         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28903         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28904         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28905         Likewise.
28906         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28907         Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28909         Likewise.
28910         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28911         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28912         Likewise.
28913         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28914         Likewise.
28915         * math/libm-test.inc (nexttoward_test): Add more tests.
28917 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28919         [BZ #14040]
28920         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28921         in version GLIBC_2.1, not GLIBC_2.0.
28922         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28923         Likewise.
28925 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
28927         [BZ #13942]
28928         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28929         (1 - x) * (1 + x).
28930         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28931         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28932         * math/libm-test.inc (acos_test): Add more tests.
28933         (asin_test): Likewise.
28934         * sysdeps/i386/fpu/libm-test-ulps: Update.
28935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28937         [BZ #14034]
28938         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28939         of square root.
28940         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28941         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28942         * math/libm-test.inc (acos_test_tonearest): New function.
28943         (acos_test_towardzero): Likewise.
28944         (acos_test_downward): Likewise.
28945         (acos_test_upward): Likewise.
28946         (asin_test_tonearest): Likewise.
28947         (asin_test_towardzero): Likewise.
28948         (asin_test_downward): Likewise.
28949         (asin_test_upward): Likewise.
28950         (main): Call the new functions.
28951         * sysdeps/i386/fpu/libm-test-ulps: Update.
28952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28954         [BZ #13884]
28955         [BZ #13924]
28956         * math/e_exp10.c: Include <float.h>.
28957         (__ieee754_exp10): Handle underflow here rather than multiplying
28958         large negative argument by M_LN10.
28959         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28960         of __ieee754_expf.
28961         * math/e_exp10l.c: Include <float.h>.
28962         (__ieee754_exp10l): Handle underflow here rather than multiplying
28963         large negative argument by M_LN10l.
28964         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
28965         spurious overflow exception on underflow.
28967 2012-04-29  Marek Polacek  <polacek@redhat.com>
28969         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28970         (__fortify_function): New macro.
28971         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28972         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28973         __extern_always_inline.
28974         * libio/bits/stdio2.h: Likewise.
28975         * libio/bits/stdio.h: Likewise.
28976         * string/string.h: Likewise.
28977         * string/bits/string3.h: Likewise.
28978         * include/stdio.h: Likewise.
28979         * stdlib/bits/stdlib.h: Likewise.
28980         * stdlib/stdlib.h: Likewise.
28981         * rt/bits/mqueue2.h: Likewise.
28982         * rt/mqueue.h: Likewise.
28983         * posix/bits/unistd.h: Likewise.
28984         * posix/unistd.h: Likewise.
28985         * io/bits/poll2.h: Likewise.
28986         * io/bits/fcntl2.h: Likewise.
28987         * io/fcntl.h: Likewise.
28988         * io/sys/poll.h: Likewise.
28989         * misc/bits/syslog.h: Likewise.
28990         * misc/bits/syslog-ldbl.h: Likewise.
28991         * misc/sys/syslog.h: Likewise.
28992         * socket/bits/socket2.h: Likewise.
28993         * socket/sys/socket.h: Likewise.
28994         * debug/tst-chk1.c: Likewise.
28995         * wcsmbs/bits/wchar2.h: Likewise.
28996         * wcsmbs/bits/wchar-ldbl.h: Likewise.
28997         * wcsmbs/wchar.h: Likewise.
28999 2012-04-29  Andreas Jaeger  <aj@suse.de>
29001         * Makerules (tests): Remove enable-check-abi protection.
29002         (check-abi-warn): Remove.
29003         (check-abi-%): Remove check-abi-warn usage.
29005         * configure.in: Remove check-abi configure option.
29006         * configure: Regenerated.
29007         * config.make.in (enable-check-abi): Remove.
29009 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29011         [BZ #14033]
29012         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29013         double functions to double *_finite functions.
29015         [BZ #13941]
29016         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29017         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29018         LDBL_MIN_EXP.
29019         * stdio-common/Makefile (tests): Add tst-sprintf3.
29020         * stdio-common/tst-sprintf3.c: New file.
29022         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29023         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29025 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29027         * conform/conformtest.pl: Remove duplicate typed-constant
29028         handling.
29030 2012-04-28  David S. Miller  <davem@davemloft.net>
29032         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29033         (check-abi-%): Remove AWK script prerequisite and explicit
29034         abilist directory.
29035         (check-abi): Rewrite to just diff the symlist with the abilist.
29036         (config-tls, config-abi-config): Delete, no longer used.
29037         (update-abi-%): Remove AWK script and explicit abilist directory.
29038         (update-abi): Rewrite to simply compare and conditionally copy the
29039         symlist and the sysdep abilist file.  Remove update-abi-config
29040         checks.
29041         * abilist/ld.abilist: Remove.
29042         * abilist/libBrokenLocale.abilist: Remove.
29043         * abilist/libanl.abilist: Remove.
29044         * abilist/libcrypt.abilist: Remove.
29045         * abilist/libdl.abilist: Remove.
29046         * abilist/librt.abilist: Remove.
29047         * abilist/libthread_db.abilist: Remove.
29048         * abilist/libutil.abilist: Remove.
29049         * scripts/extract-abilist.awk: Remove.
29050         * scripts/merge-abilist.awk: Remove.
29051         * sysdeps/generic/libcidn.abilist: New file.
29052         * sysdeps/generic/libnss_compat.abilist: New file.
29053         * sysdeps/generic/libnss_db.abilist: New file.
29054         * sysdeps/generic/libnss_dns.abilist: New file.
29055         * sysdeps/generic/libnss_files.abilist: New file.
29056         * sysdeps/generic/libnss_hesiod.abilist: New file.
29057         * sysdeps/generic/libnss_nis.abilist: New file.
29058         * sysdeps/generic/libnss_nisplus.abilist: New file.
29059         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29060         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29061         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29062         file.
29063         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29064         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29065         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29066         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29067         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29068         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29069         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29070         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29071         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29072         file.
29073         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29074         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29075         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29076         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29077         file.
29078         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29079         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29080         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29081         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29082         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29083         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29084         file.
29085         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29086         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29087         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29088         file.
29089         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29091         New file.
29092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29093         New file.
29094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29095         New file.
29096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29097         New file.
29098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29099         New file.
29100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29101         New file.
29102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29103         New file.
29104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29105         New file.
29106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29107         New file.
29108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29109         New file.
29110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29111         New file.
29112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29113         New file.
29114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29115         New file.
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29117         file.
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29119         New file.
29120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29121         New file.
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29123         file.
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29125         New file.
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29127         New file.
29128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29129         file.
29130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29131         New file.
29132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29133         New file.
29134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29135         New file.
29136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29137         New file.
29138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29139         New file.
29140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29141         New file.
29142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29144         file.
29145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29146         New file.
29147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29148         file.
29149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29150         file.
29151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29152         file.
29153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29154         file.
29155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29156         file.
29157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29158         New file.
29159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29160         file.
29161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29162         file.
29163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29164         New file.
29165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29166         file.
29167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29169         file.
29170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29171         New file.
29172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29173         file.
29174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29175         file.
29176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29177         file.
29178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29179         file.
29180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29181         file.
29182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29183         New file.
29184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29185         file.
29186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29187         file.
29188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29189         New file.
29190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29191         file.
29192         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29193         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29194         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29195         file.
29196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29197         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29198         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29199         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29200         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29201         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29202         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29203         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29204         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29205         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29208         file.
29209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29210         New file.
29211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29212         file.
29213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29214         file.
29215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29216         file.
29217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29218         file.
29219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29220         file.
29221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29222         New file.
29223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29224         New file.
29225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29226         file.
29227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29228         New file.
29229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29230         file.
29231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29233         file.
29234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29235         New file.
29236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29237         file.
29238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29239         file.
29240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29241         file.
29242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29243         file.
29244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29245         file.
29246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29247         New file.
29248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29249         New file.
29250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29251         file.
29252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29253         New file.
29254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29255         file.
29257 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29259         * conform/conformtest.pl: Fix typo in handling typed-constant from
29260         allow-header.
29262 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29264         * README: Cut down references to pre-2.6 Linux kernels and
29265         Linuxthreads.  Update lists of configurations in libc and ports
29266         and sort alphabetically.  Say "or newer" with Linux kernel version
29267         requirements.
29269         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29271 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29273         [BZ #887]
29274         * math/libm-test.inc (logb_test_downward): New test to expose
29275         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29276         rounding mode.
29278 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #14027]
29281         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29282         to be done.
29283         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29284         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29286 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29288         * sysdeps/unix/i386/brk.S: Remove file.
29289         * sysdeps/unix/i386/dl-brk.S: Likewise.
29290         * sysdeps/unix/i386/pipe.S: Likewise.
29291         * sysdeps/unix/i386/sigreturn.S: Likewise.
29292         * sysdeps/unix/i386/syscall.S: Likewise.
29293         * sysdeps/unix/i386/vfork.S: Likewise.
29294         * sysdeps/unix/i386/wait.S: Likewise.
29296         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29297         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29299         * configure.in (arm*-none*): Do not allow without
29300         --enable-hacker-mode.
29301         (netbsd*): Remove case setting base_os.
29302         (386bsd*): Likewise.
29303         (freebsd*): Likewise.
29304         (bsdi*): Likewise.
29305         (osf*): Likewise.
29306         (sunos*): Likewise.
29307         (ultrix*): Likewise.
29308         (newsos*): Likewise.
29309         (dynix*): Likewise.
29310         (*bsd*): Likewise.
29311         (sysv*): Likewise.
29312         (isc*): Likewise.
29313         (esix*): Likewise.
29314         (sco*): Likewise.
29315         (minix*): Likewise.
29316         (irix4*): Likewise.
29317         (irix6*): Likewise.
29318         (solaris[2-9]*): Likewise.
29319         (none): Likewise.
29320         * configure: Regenerated.
29322 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29324         [BZ #11521]
29325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29326         overflow or cancellation in calculating denominator.
29327         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29328         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29329         down expression to avoid unexpected rounding in newer GCCs.
29330         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29332 2012-04-26  David S. Miller  <davem@davemloft.net>
29334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29335         long-double compat symbols.
29336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
29345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
29347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
29348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29350 2012-04-25  David S. Miller  <davem@davemloft.net>
29352         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
29353         HWCAP_* values only after the memory barriers have been defined.
29354         (atomic_full_barrier): Define.
29355         (atomic_read_barrier): Define.
29356         (atomic_write_barrier): Define.
29358 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29360         * shlib-versions: Add libgcc_s version information.
29361         * sysdeps/generic/libgcc_s.h: Remove.
29362         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
29363         libgcc_s.h.
29364         * sysdeps/gnu/unwind-resume.c: Likewise.
29365         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
29367 2012-04-25  David S. Miller  <davem@davemloft.net>
29369         * sysdeps/unix/sparc/brk.S: Delete.
29370         * sysdeps/unix/sparc/dl-brk.S: Delete.
29371         * sysdeps/unix/sparc/pipe.S: Delete.
29372         * sysdeps/unix/sparc/sysdep.S: Delete.
29373         * sysdeps/unix/sparc/sysdep.h: Delete.
29374         * sysdeps/unix/sparc/vfork.S: Delete.
29375         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
29376         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
29377         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29378         ret_ERRVAL, r0, r1, MOVE): Define.
29379         (JUMPTARGET): Remove.
29380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
29381         sysdeps/unix/sparc/sysdep.h
29382         (ENTRY, END): Remove.
29383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29385 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
29387         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
29388         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
29389         -DIS_IN_build.
29391         * timezone/README: Update upstream location and email address for
29392         tzcode and tzdata.
29393         * timezone/zdump.c: Update from tzcode 2012b.
29394         * timezone/zic.c: Likewise.
29396         * configure.in (libc_cv_as_needed): Remove test.
29397         * configure: Regenerated.
29398         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
29399         conditional definition.
29400         [$(have-as-needed) != yes] (no-as-needed): Likewise.
29401         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
29402         * config.make.in (have-as-needed): Remove variable.
29404 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29405             Paul Pluzhnikov  <ppluzhnikov@google.com>
29407         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
29408         strings correctly.
29410 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
29412         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
29413         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
29414         * sysdeps/sh/strlen.S: Likewise.
29416 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29418         * sysdeps/unix/fork.S: Remove file.
29419         * sysdeps/unix/i386/fork.S: Likewise.
29420         * sysdeps/unix/sparc/fork.S: Likewise.
29422         * sysdeps/unix/system.c: Remove file.
29423         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
29425         * sysdeps/unix/getegid.S: Remove file.
29426         * sysdeps/unix/geteuid.S: Likewise.
29428 2012-04-24  Roland McGrath  <roland@hack.frob.com>
29430         * scripts/check-localplt.awk: New file.
29431         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
29432         of diff.
29433         * scripts/data/localplt-generic.data: Add a comment.
29435         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
29436         NODE when __dir_mkfile failed.
29437         * sysdeps/mach/hurd/symlinkat.c: Likewise.
29438         Reported by Ludovic Courtès <ludo@gnu.org>.
29440 2012-04-24  Andreas Jaeger  <aj@suse.de>
29442         * Makerules (common-clean): Also remove gen-as-const-headers
29443         files.
29445 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29447         * Makerules (native-compile): Do not change working directory for
29448         build.  Use $(OUTPUT_OPTION) in command.
29449         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
29451 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29453         [BZ #13886]
29454         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
29455         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
29456         * math/libm-test.inc (floor_test): Add more tests.
29457         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
29459 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
29461         * sysdeps/unix/getdents.c: Remove file.
29462         * sysdeps/unix/sysv/getdents.c: Likewise.
29463         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
29465         * sysdeps/unix/syscalls.list (madvise): Add syscall from
29466         sysdeps/unix/mman/syscalls.list.
29467         (mmap): Likewise.
29468         (mprotect): Likewise.
29469         (msync): Likewise.
29470         (munmap): Likewise.
29471         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
29472         * sysdeps/unix/mman/syscalls.list: Remove.
29473         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
29475         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
29476         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
29477         * configure: Regenerated.
29478         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
29479         $(libgcc_s_suffix).
29480         * config.make.in (libgcc_s_suffix): Remove variable.
29482 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
29484         * sysdeps/unix/sysv/gethostname.c: Move to ...
29485         * sysdeps/posix/gethostname.c: ... here.
29487         * sysdeps/unix/execve.S: Remove file.
29489         * sysdeps/unix/_exit.S: Remove file.
29491 2012-04-23  Andreas Jaeger  <aj@suse.de>
29493         [BZ #13739]
29494         * manual/Makefile: Remove make dist support, there's no
29495         need for a stand-alone documentation tar ball.
29496         (TEXI2DVI): Define always, it's not in Makeconfig.
29497         (dist): Removed.
29498         (tar-it): Removed.
29499         (edition): Removed.
29500         (glibc-doc-$(edition).tar): Removed
29501         (%.Z): Removed.
29502         (%.gz): Removed.
29503         (%.uu): Removed.
29504         (ETAGS): Remove, it's in Makeconfig.
29505         (move-if-change): Remove, it's in Makeconfig.
29507 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
29509         [BZ #13970]
29510         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
29511         (strtod, strtof, strtold, strtol, strtoul, strtoq)
29512         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
29513         (strtod_l, strtof_l, strtold_l): Remove __wur.
29514         It is not necessarily an error to ignore strtol's return value.
29515         One can reliably look at the stored endptr to decide whether
29516         the number had valid syntax.
29518 2012-04-21  Andreas Jaeger  <aj@suse.de>
29520         [BZ #13739]
29521         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
29523 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
29525         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
29526         * sysdeps/unix/sysv/Versions: Remove file.
29528 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
29530         [BZ #13927]
29531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29533 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
29535         [BZ #7064]
29536         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
29537         version from __vm86.
29539 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
29541         * sysdeps/unix/common/lxstat.c: Remove file.
29542         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
29544         * sysdeps/unix/sysv/Makefile: Remove file.
29546         * sysdeps/unix/sysv/direct.h: Remove file.
29548         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
29549         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
29550         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
29551         * sysdeps/unix/sysv/bits/signum.h: Likewise.
29552         * sysdeps/unix/sysv/bits/stat.h: Likewise.
29553         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
29554         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
29556         * sysdeps/unix/sysv/setrlimit.c: Remove file.
29558         * sysdeps/unix/xmknod.c: Remove file.
29559         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
29561         * sysdeps/unix/sysv/settimeofday.c: Remove file.
29563         * sysdeps/unix/sysv/i386/time.S: Remove file.
29565         * sysdeps/unix/fxstat.c: Remove file.
29566         * sysdeps/unix/xstat.c: Likewise.
29567         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
29569         * sysdeps/unix/sysv/sigaction.c: Remove file.
29571         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
29572         (sysdep_headers): Remove variable.
29573         [termio.h not in sysdep_headers] (generated): Likewise.
29574         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
29575         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
29576         * sysdeps/unix/sysv/tcdrain.c: Likewise.
29577         * sysdeps/unix/sysv/tcflow.c: Likewise.
29578         * sysdeps/unix/sysv/tcflush.c: Likewise.
29579         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
29580         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
29581         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
29582         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
29583         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
29585         * sysdeps/unix/siglist.c: Remove file.
29587         * sysdeps/unix/getppid.S: Remove file.
29589         * sysdeps/unix/mkdir.c: Remove file.
29590         * sysdeps/unix/rmdir.c: Likewise.
29592 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
29594         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
29595         ERR_MAX value.
29596         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
29597         errlist-compat value.
29599 2012-04-18  David S. Miller  <davem@davemloft.net>
29601         * sysdeps/generic/memcopy.h (reg_char): Delete.
29602         * debug/strcat_chk.c: Use char, not reg_char.
29603         * debug/strcpy_chk.c: Likewise.
29604         * debug/strncat_chk.c: Likewise.
29605         * debug/strncpy_chk.c: Likewise.
29606         * string/memchr.c: Likewise.
29607         * string/memrchr.c: Likewise.
29608         * string/rawmemchr.c: Likewise.
29609         * string/strcat.c: Likewise.
29610         * string/strchr.c: Likewise.
29611         * string/strchrnul.c: Likewise.
29612         * string/strcmp.c: Likewise.
29613         * string/strcpy.c: Likewise.
29614         * string/strncat.c: Likewise.
29615         * string/strncmp.c: Likewise.
29616         * string/strncpy.c: Likewise.
29618 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29620         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
29621         __builtin_memcopy is called when src and dest ranges are known to not
29622         overlap.
29624 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29626         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29627         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
29628         fwd_align_merge macro call.
29629         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
29630         bwd_align_merge macro call.
29631         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29633 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
29635         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29636         bwd_align_merge macros.
29637         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29638         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29639         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29641 2012-04-18  David S. Miller  <davem@davemloft.net>
29643         * sysdeps/sparc/sparc64/memcopy.h: Delete.
29645 2012-04-18  Andreas Jaeger  <aj@suse.de>
29647         [BZ# 6794]
29648         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29649         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29650         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29652         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29653         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29654         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29656         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29657         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29658         Adjust for changed ldbl-128 files.
29660         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29661         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29662         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29664 2012-04-17  David S. Miller  <davem@davemloft.net>
29666         * sysdeps/sparc/sparc32/memcopy.h: Delete.
29668 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
29670         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29671         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29672         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29673         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29674         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29675         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29677 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29679         [BZ #6794]
29680         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29681         * math/libm-test.inc: Add ilogb errno and exception tests.
29682         * math/w_ilogb.c: New file: ilogb wrapper.
29683         * math/w_ilogbf.c: New file: ilogbf wrapper.
29684         * math/w_ilogbl.c: New file: ilogbl wrapper.
29685         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29686         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29687         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29688         exception being thrown with 0.0 as argument.
29689         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29690         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29691         exception being thrown with 0.0 as argument.
29692         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29693         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29694         exception being thrown with 0.0 as argument.
29695         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29696         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29697         exception being thrown with 0.0 as argument.
29698         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29699         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29700         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29701         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29702         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29703         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29704         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29705         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29706         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29708 2012-04-17  Petr Baudis  <pasky@ucw.cz>
29710         * include/sys/uio.h: Change __vector to __iovec to avoid clash
29711         with altivec.
29713 2012-04-16  Marek Polacek  <polacek@redhat.com>
29715         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29717 2012-04-16  Marek Polacek  <polacek@redhat.com>
29719         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29720         operands of fdivp instruction.
29722 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29724         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29725         * elf/tst-auditmod3b.c: Likewise.
29726         * elf/tst-auditmod4b.c: Likewise.
29727         * elf/tst-auditmod5b.c: Likewise.
29728         * elf/tst-auditmod6b.c: Likewise.
29729         * elf/tst-auditmod6c.c: Likewise.
29730         * elf/tst-auditmod7b.c: Likewise.
29731         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29732         * sysdeps/x86_64/preconfigure.in: Likewise.
29733         * sysdeps/x86_64/preconfigure: Regenerated.
29735 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29737         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29738         __ILP32__.
29740 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
29742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29743         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29745 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
29747         [BZ #13973]
29748         * locale/iso-639.def: Fix gl language name. Spotted by
29749         Yaron Shahrabani.
29751 2012-04-12  Roland McGrath  <roland@hack.frob.com>
29753         [BZ #2074]
29754         * libio/libio.h (__io_write_fn): Update comment.
29756 2012-04-12  Petr Baudis  <pasky@ucw.cz>
29758         [BZ #2074]
29759         * stdio.texi (Hook Functions): The user provided writer function
29760         is not allowed to return -1.
29762 2012-04-11  David S. Miller  <davem@davemloft.net>
29764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29766 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
29768         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29769         Add a leading slash to rtkaio.
29771 2012-04-11  Jim Meyering  <meyering@redhat.com>
29773         [BZ #11959]
29774         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29775         It is not necessarily an error to ignore fwrite's return
29776         value.  One can reliably use ferror to test for errors after
29777         the fact.
29779 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29781         * bits/types.h (__snseconds_t): New type.
29782         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29784         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29786         (__SNSECONDS_T_TYPE): Likewise.
29787         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29788         (__SNSECONDS_T_TYPE): Likewise.
29789         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29790         (__SNSECONDS_T_TYPE): Likewise.
29792 2012-04-10  Andreas Jaeger  <aj@suse.de>
29794         [BZ #2636]
29795         * manual/time.texi (Processor Time): Return type of times is
29796         elapsed real time since an arbitrary point in the past.
29797         (CPU Time): Move CLK_TCK from here...
29798         (Processor Time): ...to here.  Correct description.
29799         * manual/conf.texi (Constants for Sysconf): Correct description of
29800         _SC_CLK_TCK.
29802 2012-04-10  David S. Miller  <davem@davemloft.net>
29804         [BZ #13967]
29805         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29806         where the is a gap between DT_REL(A) and DT_JMPREL.
29808 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
29810         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29811         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29812         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29814 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29816         * elf/dl-support.c (_dl_inhibit_cache): New variable.
29817         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29818         (dl_main): Handle --inhibit-cache.
29819         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29820         _dl_inhibit_cache.
29821         * elf/dl-load.c (_dl_map_object): Use it.
29822         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29824 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29826         [BZ #13872]
29827         * sysdeps/i386/fpu/e_powl.S (p78): New object.
29828         (__ieee754_powl): Saturate large exponents rather than testing for
29829         overflow of y*log2(x).
29830         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29831         * math/libm-test.inc (pow_test): Do not permit spurious overflow
29832         exceptions.
29834         [BZ #11521]
29835         * math/s_ctan.c: Include <float.h>.
29836         (__ctan): Avoid internal overflow or cancellation in calculating
29837         denominator.
29838         * math/s_ctanf.c: Likewise.
29839         * math/s_ctanl.c: Likewise.
29840         * math/s_ctanh.c: Likewise.
29841         * math/s_ctanhf.c: Likewise.
29842         * math/s_ctanhl.c: Likewise.
29843         * math/libm-test.inc (ctan_test): Add more tests.
29844         (ctanh_test): Likewise.
29845         * sysdeps/i386/fpu/libm-test-ulps: Update.
29846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29848 2012-04-09  Andreas Jaeger  <aj@suse.de>
29850         [BZ #6894]
29851         * manual/filesys.texi (Directory Entries): Mention that d_namlen
29852         is an optional BSD extension.
29854         [BZ #10254]
29855         * manual/stdio.texi (Opening Streams): Document additional fopen
29856         parameters.
29858 2012-04-09  Roland McGrath  <roland@hack.frob.com>
29860         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29861         %eax without telling the compiler.
29863 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
29865         [BZ # 13963]
29866         * manual/install.texi: Use sourceware.org.
29868 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
29870         [BZ #13873]
29871         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29872         (__ieee754_pow): Generate overflow and underflow using huge*huge
29873         and tiny*tiny rather than just returning constant infinity or zero
29874         for large exponents.
29875         * math/libm-test.inc (pow_test): Require overflow exceptions for
29876         applicable cases of large exponents.
29878         [BZ #706]
29879         * sysdeps/i386/fpu/e_pow.S (p10): New object.
29880         (__ieee754_pow): Use iterative multiplication algorithm only for
29881         integer exponents with absolute value below 1024.  Check for odd
29882         integer exponents when using algorithm for real exponents.
29883         * math/libm-test.inc (pow_test): Add more tests.
29884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29886 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
29888         [BZ #13705]
29889         * math/libm-test.inc (exp_test): Do not allow overflow exception
29890         on underflow test.
29892 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
29894         [BZ #13705]
29895         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29896         instead of __kernel_standard_f.
29898 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
29900         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29901         * sysdeps/x86_64/memset_chk.S: Likewise.
29903 2012-04-08  Andreas Jaeger  <aj@suse.de>
29905         [BZ #10153]
29906         * manual/startup.texi (Environment Access): Describe return value
29907         for putenv and setenv.
29909         [BZ #6895]
29910         * manual/filesys.texi (Directory Entries): Add description for
29911         DT_LNK.
29913         [BZ #6890]
29914         * manual/filesys.texi (Directory Entries): Clarify that it's file
29915         system not operating system in the description of DT_UNKNOWN.
29917         [BZ #6578]
29918         * manual/syslog.texi (closelog): Fix reference, it's openlog.
29920 2012-04-08  Stephen Compall  <s11@member.fsf.org>
29922         [BZ #6649]
29923         * manual/llio.texi (Opening and Closing Files): Add cross
29924         reference to explain mode argument.
29926 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
29928         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29929         * sysdeps/x86_64/memset_chk.S: Likewise.
29931 2012-04-07  David S. Miller  <davem@davemloft.net>
29933         * elf/elf.h (R_SPARC_WDISP10): Define.
29934         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29935         R_SPARC_SIZE32.
29936         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29937         R_SPARC_SIZE64 and R_SPARC_H34.
29939 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
29941         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29942         conditions and remove no longer applicable assertion.
29944 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29946         * bits/byteswap.h: Include <features.h>.
29947         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29948         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29950 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29952         * bits/byteswap.h (__bswap_16): Removed.
29953         Include <bits/byteswap-16.h> to get __bswap_16.
29954         * sysdeps/i386/bits/byteswap.h: Likewise.
29955         * sysdeps/s390/bits/byteswap.h: Likewise.
29956         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29957         * bits/byteswap-16.h: New file.
29958         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29959         * sysdeps/s390/bits/byteswap-16.h: Likewise.
29960         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29961         * string/Makefile (headers): Add bits/byteswap-16.h.
29963 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29965         [BZ #13895]
29966         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29967         extra indirection.
29968         * nss/Makefile (tests-static, tests): Add tst-nss-static.
29969         * nss/tst-nss-static.c: New.
29971 2012-04-06  Robert Millan  <rmh@gnu.org>
29973         [BZ #6486]
29974         * manual/llio.texi (File Position Primitive): lseek
29975         refers to WHENCE when it really means OFFSET.
29977 2012-04-06  Andreas Jaeger  <aj@suse.de>
29979         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29980         strncmp declarations.
29982         * abilist/libc.abilist: Add __poll and __ppoll.
29984 2012-04-05  David S. Miller  <davem@davemloft.net>
29986         * scripts/check-local-headers.sh: Accept a host triplet in the
29987         path matched by the exclude regexp.
29989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29990         definition.
29991         * sysdeps/powerpc/powerpc32/dl-machine.h
29992         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29993         * sysdeps/s390/s390-32/dl-machine.h
29994         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29995         * sysdeps/sparc/sparc32/dl-machine.h
29996         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29997         * sysdeps/sparc/sparc64/dl-machine.h
29998         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30000         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30001         lazy binding.
30002         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30003         undefined symbol errors.
30005         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30006         DT_NEEDED entries.
30008 2012-04-05  Michael Matz  <matz@suse.de>
30010         [BZ #13592]
30011         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30013 2012-04-05  Andreas Jaeger  <aj@suse.de>
30015         [BZ #13908]
30016         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30017         comment.
30019 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30021         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30022         which ROUND is no valid rounding mode.
30024 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30026         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30027         read again.
30028         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30030 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30032         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30033         an exception using FPU order intentionally.
30035 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30037         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30038         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30039         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30040         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30042 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30044         [BZ #12340]
30045         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30046         EINVAL when BUFLEN is too smal.
30048 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30050         [BZ #13553]
30051         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30052         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30054 2012-04-03  Andreas Jaeger  <aj@suse.de>
30056         [BZ #13938]
30057         * manual/setjmp.texi (System V contexts): Fix sentence.
30059         [BZ #13926]
30060         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30061         New macro for this case.
30062         [!__GNUC__] (__bswap_64): New inline function for this case.
30063         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30064         * bits/byteswap.h: Likewise.
30065         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30066         ull, guard with __GLIBC_HAVE_LONG_LONG.
30068         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30069         __GLIBC_HAVE_LONG_LONG.
30071         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30072         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30074 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30076         [BZ #13691]
30077         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30078         inptr and inend, rather than using last_ch.
30080 2012-04-02  David S. Miller  <davem@davemloft.net>
30082         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30083         * stdio-common/printf-parse.h (read_int): Change return type to
30084         'int', return -1 on INT_MAX overflow.
30085         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30086         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30087         overflows INT_MAX.  Check for overflow of in-format-string precision
30088         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30089         SIZE_MAX not INT_MAX for integer overflow test.
30090         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30091         skip the construct in the format string but do not record anything.
30092         * stdio-common/bug22.c: Adjust to test both width/prevision
30093         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30094         explicitly for proper errno values.
30096 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30098         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30099         CHAR_MAX.
30100         * string/test-strcmp.c [! WIDE]: Likewise.
30101         * time/tst-mktime2.c: Likewise for INT_MAX.
30102         * string/test-string.h: #include <sys/param.h> for MIN.
30104         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30105         * sysdeps/i386/init-first.c (init): Likewise.
30106         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30107         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30108         * sysdeps/sh/init-first.c (init): Likewise.
30110 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30112         * po/ru.po: Update from translation team.
30113         * po/vi.po: Likewise.
30115 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30117         * resolv/nss_dns/dns-host.c: Merge copyright years.
30119 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30121         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30122         Optimize memcpy with prefetch if
30123         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30124         src, dst pointers have unequal 16 byte alignments.
30126 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30128         [BZ #13928]
30129         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30130         from a CNAME entry and return the minimum ttl for the query.
30131         (gaih_getanswer_slice): Likewise.
30133 2012-03-30  Jeff Law  <law@redhat.com>
30135         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30136         due to long keys.
30137         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30138         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30140         * resolv/nss_dns/dns-host.c: Update copyright year.
30142 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30144         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30145         requests to save a system call.  Fix check that all bytes are sent.
30147         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30148         comments for sendmmsg.
30150 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30152         [BZ #13691]
30153         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30154         with only 1 character between 0x0041 and 0x01b0.
30155         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30156         * wcsmbs/tst-mbsnrtowcs.c: New file.
30158 2012-03-29  David S. Miller  <davem@davemloft.net>
30160         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30161         small copies by hand.
30163 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30165         [BZ #13761]
30166         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30167         _nss_compat_initgroups_dyn): Fall back to malloc/free
30168         for large group memberships.
30170 2012-03-28  David S. Miller  <davem@davemloft.net>
30172         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30173         that branches into memcpy.
30174         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30176         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30177         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30179         bits.
30180         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30181         implementation too.
30182         * sysdeps/sparc/mempcpy.S: New file.
30184         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30185         the IFUNC routine in the libc case.
30186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30188         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30189         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30190         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30191         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30192         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30193         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30194         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30195         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30197         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30198         loop to 256 bytes instead of 64 bytes and fix test signedness.
30200         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30201         * sysdeps/sparc/sparc32/Makefile: rather than here...
30202         * sysdeps/sparc/sparc64/Makefile: and here.
30204 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30206         * malloc/mallocbug.c: Avoid warnings about unused variables.
30208 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30210         [BZ #13760]
30211         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30212         in the right place. Discard and retry query if response is
30213         larger than input buffer size.
30215 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30217         [BZ #369]
30218         [BZ #2678]
30219         [BZ #3866]
30220         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30221         x for large integer exponent.
30222         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30223         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30224         sign of result as needed afterwards.
30225         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30226         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30227         result for underflowing pow the same as for overflow.
30228         (__kernel_standard_l): Handle powl overflow and underflow here
30229         rather than calling __kernel_standard.
30230         * math/libm-test.inc (pow_test): Add more tests.
30232         [BZ #3868]
30233         [BZ #13879]
30234         [BZ #13910]
30235         [BZ #13911]
30236         [BZ #13912]
30237         [BZ #13913]
30238         [BZ #13915]
30239         [BZ #13916]
30240         [BZ #13917]
30241         [BZ #13918]
30242         [BZ #13919]
30243         [BZ #13920]
30244         [BZ #13921]
30245         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30246         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30247         (__kernel_standard_l): New function.
30248         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30249         __kernel_standard.
30250         * math/w_acosl.c (__acosl): Likewise.
30251         * math/w_asinl.c (__asinl): Likewise.
30252         * math/w_atan2l.c (__atan2l): Likewise.
30253         * math/w_atanhl.c (__atanhl): Likewise.
30254         * math/w_coshl.c (__coshl): Likewise.
30255         * math/w_exp10l.c (__exp10l): Likewise.
30256         * math/w_exp2l.c (__exp2l): Likewise.
30257         * math/w_fmodl.c (__fmodl): Likewise.
30258         * math/w_hypotl.c (__hypotl): Likewise.
30259         * math/w_j0l.c (__j0l, __y0l): Likewise.
30260         * math/w_j1l.c (__j1l, __y1l): Likewise.
30261         * math/w_jnl.c (__jnl, __ynl): Likewise.
30262         * math/w_lgammal.c (__lgammal): Likewise.
30263         * math/w_log10l.c (__log10l): Likewise.
30264         * math/w_log2l.c (__log2l): Likewise.
30265         * math/w_logl.c (__logl): Likewise.
30266         * math/w_powl.c (__powl): Likewise.
30267         * math/w_remainderl.c (__remainderl): Likewise.
30268         * math/w_scalbl.c (sysv_scalbl): Likewise.
30269         * math/w_sinhl.c (__sinhl): Likewise.
30270         * math/w_sqrtl.c (__sqrtl): Likewise.
30271         * math/w_tgammal.c (__tgammal): Likewise.
30272         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30273         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30274         * math/libm-test.inc (acos_test): Add more tests.
30275         (acosh_test): Likewise.
30276         (asin_test): Likewise.
30277         (atanh_test): Likewise.
30278         (exp_test): Likewise.
30279         (exp10_test): Likewise.
30280         (exp2_test): Likewise.
30281         (expm1_test): Likewise.
30282         (lgamma_test): Likewise.
30283         (log_test): Likewise.
30284         (log10_test): Likewise.
30285         (log1p_test): Likewise.
30286         (log2_test): Likewise.
30287         (pow_test): Do not allow some spurious overflow exceptions.
30288         (sqrt_test): Add more tests.
30289         (tgamma_test): Likewise.
30290         (y0_test): Likewise.
30291         (y1_test): Likewise.
30292         (yn_test): Likewise.
30294 2012-03-27  Anton Blanchard  <anton@samba.org>
30296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30297         MAP_HUGETLB.
30298         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30299         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30300         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30302 2012-03-27  David S. Miller  <davem@davemloft.net>
30304         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30306         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30307         have-as-vis3 check.
30309 2012-03-27  Andreas Jaeger  <aj@suse.de>
30311         * sysdeps/x86_64/elf/configure.in: Moved to ...
30312         * sysdeps/x86_64/configure.in: ... here.
30313         * sysdeps/x86_64/elf/start.S: Moved to ...
30314         * sysdeps/x86_64/start.S: ... here.
30315         * sysdeps/x86_64/elf/configure: Delete.
30317         * sysdeps/x86_64/configure.in: Merge contents from
30318         sysdeps/i386/configure.in (without i686 check).
30320         * sysdeps/i386/elf/Versions: Merge into ...
30321         * sysdeps/i386/Versions: ... this.
30322         * sysdeps/i386/elf/Versions: Delete file.
30323         * sysdeps/i386/elf/start.S: Moved to ...
30324         * sysdeps/i386/start.S: ...here.
30325         * sysdeps/i386/elf/configure.in: Merge into...
30326         * sysdeps/i386/configure.in: ...here.
30327         * sysdeps/i386/elf/configure.in: Delete file.
30328         * sysdeps/i386/elf/configure: Delete file.
30330         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30331         * debug/backtracesyms.c: ... here.
30332         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30333         * debug/backtracesymsfd.c: ... here.
30334         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30335         * sysdeps/generic/ifunc-sel.h: ... here.
30337         * sysdeps/unix/i386/start.c: Delete file.
30338         * sysdeps/unix/sparc/start.c: Delete file.
30339         * sysdeps/unix/start.c: Delete file.
30341         * sysdeps/sh/elf/configure.in: Moved to ...
30342         * sysdeps/sh/configure.in: ... here.
30343         * sysdeps/sh/elf/start.S: Moved to ...
30344         * sysdeps/sh/start.S: ... here.
30345         * sysdeps/sh/elf/configure: Delete file.
30347         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
30348         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
30349         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
30350         * sysdeps/powerpc/powerpc64/entry.h: ... here.
30351         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
30352         * sysdeps/powerpc/powerpc64/start.S: here.
30353         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
30354         * sysdeps/powerpc/powerpc64/Makefile: ... this.
30355         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
30356         * sysdeps/powerpc/powerpc64/configure.in: ... this.
30357         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
30359         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
30360         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
30361         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
30362         * sysdeps/powerpc/powerpc32/start.S: ... here.
30363         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
30364         * sysdeps/powerpc/powerpc32/configure.in: ... this.
30365         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
30367         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
30368         * sysdeps/powerpc/ifunc-sel.h: ... here.
30369         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
30370         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
30372         * sysdeps/sparc/elf/configure.in: Moved to ...
30373         * sysdeps/sparc/configure.in: ... here.
30374         * sysdeps/sparc/elf/configure: Delete file.
30375         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
30376         * sysdeps/sparc/sparc32/start.S: ... here.
30377         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
30378         * sysdeps/sparc/sparc64/start.S: ... here.
30379         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
30380         * sysdeps/sparc/sparc32/Makefile: ... this.
30381         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
30382         * sysdeps/sparc/sparc64/Makefile: ... this.
30384         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
30385         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
30386         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
30387         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
30388         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
30389         * sysdeps/s390/s390-32/setjmp.S: ... here.
30390         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
30391         * sysdeps/s390/s390-32/configure.in: ... here.
30392         * sysdeps/s390/s390-32/elf/configure: Delete file.
30393         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
30394         * sysdeps/s390/s390-32/start.S: ... here.
30396         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
30397         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
30398         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
30399         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
30400         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
30401         * sysdeps/s390/s390-64/setjmp.S: ... here.
30402         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
30403         * sysdeps/s390/s390-64/configure.in: ... here
30404         * sysdeps/s390/s390-64/elf/configure: Delete file.
30405         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
30406         * sysdeps/s390/s390-64/start.S: ... here.
30407         * sysdeps/s390/s390-64/elf/configure: Delete.
30409         * configure.in: Remove support for elf directories in sysdeps.
30411         * configure: Regenerated.
30412         * sysdeps/i386/configure: Regenerated.
30413         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30414         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30415         * sysdeps/s390/s390-32/configure: Regenerated.
30416         * sysdeps/s390/s390-64/configure: Regenerated.
30417         * sysdeps/sh/configure: Regenerated.
30418         * sysdeps/sparc/configure: Regenerated.
30419         * sysdeps/x86_64/configure: Regenerated.
30421 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
30423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
30426         denormal result into account.
30428 2012-03-25  Roland McGrath  <roland@hack.frob.com>
30430         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
30431         Reported by Allan McRae <allan@archlinux.org>.
30433 2012-03-23  Jeff Law  <law@redhat.com>
30435         * nss/getnssent.c (__nss_getent): Fix typo.
30437 2012-03-23  David S. Miller  <davem@davemloft.net>
30439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30441 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
30443         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
30444         to pad to uint64_t for each field.
30445         (dl_tls_index): Replace unsigned long with uint64_t.
30447 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
30448         Paul Pluzhnikov  <ppluzhnikov@google.com>
30450         [BZ #6528]
30451         * grp/Makefile (otherlibs): Don't set it.
30452         * inet/Makefile (otherlibs): Likewise.
30453         * login/Makefile (otherlibs): Likewise.
30454         * nscd/Makefile (otherlibs): Likewise.
30455         * posix/Makefile (otherlibs): Likewise.
30456         * pwd/Makefile (otherlibs): Likewise.
30457         * rt/Makefile (otherlibs): Likewise.
30458         * sunrpc/Makefile (otherlibs): Likewise.
30459         * nss/Makefile (otherlibs): Likewise.
30460         Add libnss_files to routines and static-only-routines.
30461         ($(objpfx)getent): Remove rule.
30462         * resolv/Makefile: Add libnss_dns and libresolv to routines and
30463         static-only-routines.
30465 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30467         [BZ #13892]
30468         * math/s_cexp.c: Include <float.h>.
30469         (__cexp): Handle exp result overflowing not necessarily
30470         overflowing both real and imaginary parts of result.
30471         * math/s_cexpf.c: Likewise.
30472         * math/s_cexpl.c: Likewise.
30473         * math/libm-test.inc (cexp_test): Add more tests.
30474         * sysdeps/i386/fpu/libm-test-ulps: Update.
30475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30477 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30479         * include/link.h (ELFW): New macro.
30480         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
30481         Replace ELF64_R_TYPE with ELFW(R_TYPE).
30483 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30485         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
30486         with uint64_t.
30488 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30490         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
30491         declaration.
30492         (struct La_x32_retval): Likewise.
30494 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
30496         * sysdeps/x86_64/preconfigure.in: New file.
30497         * sysdeps/x86_64/preconfigure: New generated file.
30499 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
30501         [BZ #13824]
30502         * math/e_exp2l.c: Include <float.h>.
30503         (__ieee754_exp2l): Handle overflow and underflow cases
30504         separately.  Only pass fractional part of argument to
30505         __ieee754_expl.
30506         * math/libm-test.inc (exp2_test): Add more tests.
30508         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
30509         negating x to take absolute value.
30510         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30511         Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30513         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30514         Likewise.
30515         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
30516         computing low part if x was negated.
30517         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30521         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
30522         la_x32_gnu_pltexit.
30523         (pltexit): Cast int_retval to ptrdiff_t.
30524         * elf/tst-auditmod3b.c: Likewise.
30525         * elf/tst-auditmod4b.c: Likewise.
30526         * elf/tst-auditmod5b.c: Likewise.
30527         * elf/tst-auditmod6b.c: Likewise.
30528         * elf/tst-auditmod6c.c: Likewise.
30529         * elf/tst-auditmod7b.c: Likewise.
30531         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
30532         and x32_gnu_pltexit.
30534         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
30535         __ELF_NATIVE_CLASS.
30536         (La_x32_regs): New macro.
30537         (La_x32_retval): Likewise.
30538         (la_x32_gnu_pltenter): New function prototype.
30539         (la_x32_gnu_pltexit): Likewise.
30541 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
30543         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
30544         exponent.
30546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30548         * configure.in (libc_cv_cc_nofma): Check for option to disable
30549         generation of FMA instructions.
30550         * configure: Regenerate.
30551         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
30552         * sysdeps/ieee754/dbl-64/Makefile: New file.
30553         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30554         Remove brandred-fma4.
30555         (CFLAGS-brandred-fma4.c): Remove.
30556         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
30557         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
30558         define.
30559         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
30560         define.
30562 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30564         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30565         LLONG_MAX != LONG_MAX.
30566         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30567         (_fitoa_word): Likewise.
30568         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
30569         LLONG_MAX != LONG_MAX.
30570         * stdio-common/_itowa.h: Include <_itoa.h>.
30571         (_itowa_word): Use _ITOA_WORD_TYPE on value.
30572         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
30573         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
30574         only if not defined.
30575         (_ITOA_WORD_TYPE): Likewise.
30576         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30577         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
30579 2012-03-21  David S. Miller  <davem@davemloft.net>
30581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30583 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
30585         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
30586         of x86_64 when setting libc_cv_slibdir, libdir and
30587         libc_cv_localedir.
30588         * sysdeps/unix/sysv/linux/configure: Regenerated.
30590 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30592         * manual/lang.texi (Old Varargs): Remove section.
30593         (How Variadic): Update menu.
30594         (va_start): Do not mention varargs.h.
30596 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30597             Joseph Myers  <joseph@codesourcery.com>
30599         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
30600         link test.
30601         * configure: Regenerated.
30603 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30605         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
30606         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
30607         conformtest.pl
30609 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30611         * NOTES: Remove.
30612         * Makefile (files-for-dist): Remove NOTES.
30613         (NOTES): Remove rule.
30614         * README: Don't refer to NOTES.
30615         * manual/creature.texi: Don't include macros.texi.
30616         * manual/intro.texi (creature.texi): Remove comment referring to
30617         NOTES.
30619         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
30620         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
30621         * configure: Regenerated.
30622         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
30623         LIBC_TRY_CC_OPTION.
30624         (libc_cv_as_i686): Likewise.
30625         (libc_cv_cc_avx): Likewise.
30626         (libc_cv_cc_sse2avx): Likewise.
30627         (libc_cv_cc_fma4): Likewise.
30628         (libc_cv_cc_novzeroupper): Likewise.
30629         * sysdeps/i386/configure: Regenerated.
30631         [BZ #13883]
30632         * sysdeps/i386/fpu/s_cexp.S: Remove.
30633         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30634         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30635         * math/libm-test.inc (cexp_test): Add more tests.
30636         * sysdeps/i386/fpu/libm-test-ulps: Update.
30637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30639 2012-03-21  Allan McRae  <allan@archlinux.org>
30641         * timezone/Makefile: Do not install iso3166.tab and zone.tab
30643 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
30645         [BZ #13871]
30646         * math/w_exp2.c: Do not include <float.h>.
30647         (o_threshold, u_threshold): Remove.
30648         (__exp2): Calculate result before checking finiteness and calling
30649         __kernel_standard.
30650         * math/w_exp2f.c: Likewise.
30651         * math/w_exp2l.c: Likewise.
30652         * math/libm-test.inc (exp2_test): Require overflow exception for
30653         1e6 input.
30655         [BZ #3866]
30656         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30657         range of signed 64-bit integers before using fistpll.  Remove
30658         checks for whether integers fit in mantissa bits.
30659         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30660         the range of signed 32-bit integers before using fistpl.  Remove
30661         checks for whether integers fit in mantissa bits.
30662         * sysdeps/i386/fpu/e_powl.S (p64): New object.
30663         (__ieee754_powl): Test for y outside the range of signed 64-bit
30664         integers before using fistpll.  Reduce 64-bit values to 63-bit
30665         ones as needed.
30666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30667         divide-by-zero is raised for zero to large negative powers.
30668         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30669         (__ieee754_powl): Test for y outside the range of signed 64-bit
30670         integers before using fistpll.  Reduce 64-bit values to 63-bit
30671         ones as needed.
30672         * math/libm-test.inc (pow_test): Add more tests.
30674 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30676         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30677         <stdio-common/_itoa.h>.
30678         * debug/segfault.c: Likewise.
30679         * elf/dl-cache.c: Likewise.
30680         * elf/dl-minimal.c: Likewise.
30681         * elf/dl-misc.c: Likewise.
30682         * elf/dl-sysdep.c: Likewise.
30683         * elf/dl-version.c: Likewise.
30684         * elf/rtld.c: Likewise.
30685         * hurd/hurdsock.c: Likewise.
30686         * hurd/lookup-retry.c: Likewise.
30687         * malloc/malloc.c: Likewise.
30688         * malloc/mtrace.c: Likewise.
30689         * nscd/nscd_getgr_r.c: Likewise.
30690         * nscd/nscd_getpw_r.c: Likewise.
30691         * nscd/nscd_getserv_r.c: Likewise.
30692         * posix/getopt_init.c: Likewise.
30693         * posix/wordexp.c: Likewise.
30694         * stdio-common/_itoa.c: Likewise.
30695         * stdio-common/printf_fphex.c: Likewise.
30696         * stdio-common/vfprintf.c: Likewise.
30697         * string/_strerror.c: Likewise.
30698         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30699         * sysdeps/i386/i686/hp-timing.h: Likewise.
30700         * sysdeps/mach/_strerror.c: Likewise.
30701         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30702         * sysdeps/mach/hurd/sethostid.c: Likewise.
30703         * sysdeps/mach/hurd/xmknodat.c: Likewise.
30704         * sysdeps/mach/xpg-strerror.c: Likewise.
30705         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30706         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30707         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30708         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30709         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30710         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30711         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30712         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30713         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30714         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30715         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30716         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30717         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30718         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30719         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30720         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30721         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30722         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30723         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30724         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30725         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30727         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30729         * stdio-common/_itoa.h: Moved to ...
30730         * sysdeps/generic/_itoa.h: Here.
30732         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30734         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30735         instead of "_itoa.h" and "_itowa.h".
30736         * stdio-common/vfprintf.: Likewise.
30738 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30740         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30741         <bits/wordsize.h>.
30742         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30743         (__signbit): Likwise.
30744         (llrintf): Likwise.
30745         (llrint): Likwise.
30747 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30749         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30750         __WORDSIZE != 64.
30752 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
30754         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30755         OVERFLOW_EXCEPTION_OK.
30756         * math/libm-test.inc ("Philosophy"): Update comment about
30757         exception testing.
30758         (OVERFLOW_EXCEPTION): Define.
30759         (OVERFLOW_EXCEPTION_OK): Likewise.
30760         (INVALID_EXCEPTION_OK): Renumber.
30761         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30762         (IGNORE_ZERO_INF_SIGN): Likewise.
30763         (test_exceptions): Handle FE_OVERFLOW.
30764         (exp10_test): Expect overflow exceptions.
30765         (exp2_test): Likewise.
30766         (expm1_test): Likewise.
30767         (nextafter_test): Likewise.
30768         (pow_test): Likewise.
30769         (scalbn_test): Likewise.
30770         (scalbln_test): Likewise.
30772 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30774         * sysdeps/x86_64/bits/atomic.h
30775         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30776         64bit integer.
30777         (atomic_exchange_acq): Likewise.
30778         (__arch_exchange_and_add_body): Likewise.
30779         (__arch_add_body): Likewise.
30780         (atomic_add_negative): Likewise.
30781         (atomic_add_zero): Likewise.
30783 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30785         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30786         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30788 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30790         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30791         Check __x86_64__ instead of __WORDSIZE.
30793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30795         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30797 2012-03-19  David S. Miller  <davem@davemloft.net>
30799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30801         * sysdeps/sparc/fpu/fenv_private.h: New file.
30802         * sysdeps/sparc/fpu/math_private.h: Use it.
30803         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30804         Remove.
30805         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30806         (libc_feholdexcept_setroundl): Remove.
30807         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30808         Remove.
30809         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30810         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30814         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30815         int64_t instead of long int.
30816         (INSERT_WORDS64): Likwise.
30818 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
30820         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30821         _Unwind_GetCFA return to _Unwind_Ptr first.
30823 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
30825         [BZ #13629]
30826         * math/s_clog.c: Include <float.h>.
30827         (__clog): Scale large or subnormal inputs.
30828         * math/s_clogf.c: Likewise.
30829         * math/s_clogl.c: Likewise.
30830         * math/s_clog10.c: Include <float.h>.
30831         (M_LOG10_2): Define.
30832         (__clog10): Scale large or subnormal inputs.
30833         * math/s_clog10f.c: Likewise.
30834         * math/s_clog10l.c: Likewise.
30835         * math/libm-test.inc (clog_test): Add more tests.
30836         (clog10_test): Likewise.
30837         * sysdeps/i386/fpu/libm-test-ulps: Update.
30838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30840         [BZ #11451]
30841         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30842         x and y.
30843         * math/libm-test.inc (atan2_test): Add another test.
30845         * Makerules (common-objdir-compile): Remove.
30846         * sysdeps/unix/Makefile (config-generated): Do not add
30847         $(unix-generated) to variable.
30848         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30849         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30850         Remove rule.
30851         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30852         Likewise.
30853         [generic bits/local_lim.h] (before-compile): Do not append to
30854         variable.
30855         [generic bits/local_lim.h] (common-generated): Likewise.
30856         [generic sys/param.h] (before-compile): Do not append to variable.
30857         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30858         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30859         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30860         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30861         include.
30862         [generic sys/param.h] (sys/param.h-includes): Remove variable.
30863         [generic sys/param.h] (sys/param.h-includes): Remove rule.
30864         [generic sys/param.h] ($(addprefix
30865         $(common-objpfx),$(sys/param.h-includes))): Likewise.
30866         [generic sys/param.h] (common-generated): Do not append to
30867         variable.
30868         [generic sys/param.h] (sysdep_headers): Likewise.
30869         [generic bits/errno.h] (before-compile): Do not append to
30870         variable.
30871         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30872         rule.
30873         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30874         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30875         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30876         [generic bits/errno.h] (common-generated): Do not append to
30877         variable.
30878         [generic bits/ioctls.h] (before-compile): Do not append to
30879         variable.
30880         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30881         rule.
30882         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30883         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30884         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30885         rule.
30886         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30887         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30888         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30889         [generic bits/ioctls.h] (common-generated): Do not append to
30890         variable.
30891         [generic sys/syscall.h] (syscall.h): Remove variable.
30892         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30893         rule.
30894         [generic sys/syscall.h] (before-compile): Do not append to
30895         variable.
30896         [generic sys/syscall.h] (common-generated): Likewise.
30897         * sysdeps/unix/errnos-tmpl.c: Remove file.
30898         * sysdeps/unix/errnos.awk: Likewise.
30899         * sysdeps/unix/ioctls-tmpl.c: Likewise.
30900         * sysdeps/unix/ioctls.awk: Likewise.
30901         * sysdeps/unix/mk-local_lim.c: Likewise.
30902         * sysdeps/unix/snarf-ioctls: Likewise.
30904 2012-03-19  Richard Henderson  <rth@twiddle.net>
30906         * sysdeps/i386/fpu/fenv_private.h: New file.
30907         * sysdeps/i386/fpu/math_private.h: Use it.
30908         (math_opt_barrier, math_force_eval): Remove.
30909         (libc_feholdexcept_setround_53bit): Remove.
30910         (libc_feupdateenv_53bit): Remove.
30911         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30912         (math_opt_barrier, math_force_eval): Remove.
30913         (libc_feholdexcept): Remove.
30914         (libc_feholdexcept_setround): Remove.
30915         (libc_fetestexcept, libc_fesetenv): Remove.
30916         (libc_feupdateenv_test): Remove.
30917         (libc_feupdateenv, libc_feholdsetround): Remove.
30918         (libc_feresetround): Remove.
30920         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30921         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30923         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30924         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30925         (libc_feupdateenv_testl): New.
30926         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30927         (libc_feupdateenv_testf): New.
30928         (libc_feupdateenv): Use libc_feupdateenv_test.
30929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30932         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30933         (libc_feholdsetroundf, libc_feholdsetroundl): New.
30934         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30935         (libc_feresetround_noex): New.
30936         (libc_feresetround_noexf): New.
30937         (libc_feresetround_noexl): New.
30938         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30939         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30940         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30941         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30942         SET_RESTORE_ROUND.
30943         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30945         (__cos): Likewise.
30946         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30947         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30948         SET_RESTORE_ROUND_NOEX.
30949         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30950         SET_RESTORE_ROUND_NOEXF.
30951         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30952         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30953         (libc_feholdsetroundf): New.
30954         (libc_feresetround, libc_feresetroundf): New.
30956         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30957         (libc_feholdexcept_setround_53bit): Convert from macro to function.
30958         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
30960         * sysdeps/generic/math_private.h: Include <fenv.h>.
30961         (default_libc_feholdexcept): New.
30962         (default_libc_feholdexcept_setround): New.
30963         (default_libc_fesetenv, default_libc_feupdateenv): New.
30964         (libc_feholdexcept): Only define if undefined.
30965         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30966         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30967         (libc_feholdexcept_setroundl): Likewise.
30968         (libc_feholdexcept_setround_53bit): Likewise.
30969         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30970         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30971         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30972         (libc_feupdateenv_53bit): Likewise.
30973         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30974         (libc_feholdexcept): Convert from macro to inline function.
30975         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30976         (libc_fesetenv, libc_feupdateenv): Likewise.
30978         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30979         not previously defined.
30980         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30981         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30982         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30983         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30984         * sysdeps/ieee754/flt-32/math_private.h: New file.
30985         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30986         math_private.h below SET_FLOAT_WORD.
30987         (__isnan, __isinf_ns, __finite): Remove.
30988         (__isnanf, __isinf_nsf, __finitef): Remove.
30990 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
30992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30994 2012-03-17  David S. Miller  <davem@davemloft.net>
30996         [BZ #6471]
30997         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30998         for 2.16.
31000 2012-03-16  David S. Miller  <davem@davemloft.net>
31002         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31003         warnings.
31005         [BZ #6471]
31006         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31007         properly.
31008         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31009         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31010         sysdep_routines when subdir is sysvipc.
31011         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31012         __getshmlba helper.
31014         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31016 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31018         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31019         [__LP64__].
31021 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31023         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31024         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31025         (__lround): Renamed to ...
31026         (__llround): This.  Replace long int with long long int.
31027         Define lround functions as aliases of llround functions.
31028         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31030 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31032         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31033         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31034         adresses to uintptr_t.  Replace "long int" and "unsigned long
31035         int" with "greg_t" on va_arg.
31037 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31039         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31040         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31042         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31043         Move e_machine check before EI_CLASS check.  Handle x32
31044         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31045         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31046         SKIP_EM_IA_64 and include
31047         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31049         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31050         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31051         (add_system_dir): New macro.
31053         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31054         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31056 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31058         [BZ #2551]
31059         [BZ #2552]
31060         [BZ #2553]
31061         [BZ #2554]
31062         [BZ #2562]
31063         [BZ #2563]
31064         [BZ #2565]
31065         [BZ #2566]
31066         [BZ #2576]
31067         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31068         (y0): Likewise.
31069         * math/w_j0f.c (j0f): Likewise.
31070         (y0f): Likewise.
31071         * math/w_j0l.c (__j0l): Likewise.
31072         (__y0l): Likewise.
31073         * math/w_j1.c (j1): Likewise.
31074         (y1): Likewise.
31075         * math/w_j1f.c (j1f): Likewise.
31076         (y1f): Likewise.
31077         * math/w_j1l.c (__j1l): Likewise.
31078         (__y1l): Likewise.
31079         * math/w_jn.c (jn): Likewise.
31080         (yn): Likewise.
31081         * math/w_jnf.c (jnf): Likewise.
31082         (ynf): Likewise.
31083         * math/w_jnl.c (__jnl): Likewise.
31084         (__ynl): Likewise.
31085         * math/libm-test.inc (j0_test): Add more tests.
31086         (j1_test): Likewise.
31087         (jn_test): Likewise.  Add trailing semicolon to existing test.
31088         (y0_test): Likewise.
31089         (y1_test): Likewise.
31090         * sysdeps/i386/fpu/libm-test-ulps: Update.
31091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31093         [BZ #13851]
31094         [BZ #13854]
31095         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31096         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31097         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31098         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31099         (__tanl): Set errno for infinite argument.
31100         * sysdeps/i386/fpu/mptan.c: Remove.
31101         * sysdeps/i386/fpu/s_tan.S: Likewise.
31102         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31103         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31104         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31105         * math/libm-test.inc (tan_test): Add more tests and enable more
31106         tests for double and long double.
31107         * sysdeps/i386/fpu/libm-test-ulps: Update.
31108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31110 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31112         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31113         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31115 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31117         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31118         * configure.in: Use it for both main tree and add-ons.
31119         * configure: Regenerated.
31121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31123         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31125 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31127         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31128         in comment.
31130         [BZ #13851]
31131         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31132         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31133         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31134         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31135         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31136         infinite argument.
31137         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31139         != 0 for prec == 2.
31140         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31141         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31142         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31143         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31144         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31145         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31146         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31147         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31148         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31149         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31150         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31151         * math/libm-test.inc (cos_test): Add more tests and enable more
31152         tests for long double.
31153         (sin_test): Likewise.
31154         (sincos_test): Likewise.
31155         * sysdeps/i386/fpu/libm-test-ulps: Update.
31156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158 2012-03-16  David S. Miller  <davem@davemloft.net>
31160         * sysdeps/sparc/fpu/math_private.h: New file.
31162 2012-03-15  David S. Miller  <davem@davemloft.net>
31164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31165         file.
31166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31168         file.
31169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31175         sysdep routines.
31176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31178         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31179         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31181         * sysdeps/sparc/sparc-ifunc.h: New file.
31182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31183         sparc-ifunc.h
31184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31186         Likewise.
31187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31188         Likewise.
31189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31193         Likewise.
31194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31199         Likewise.
31200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31201         Likewise.
31202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31208         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31209         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31220         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31224         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31225         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31227 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31229         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31230         scaling.
31231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31233 2012-03-15  Andreas Jaeger  <aj@suse.de>
31235         [BZ #13852]
31236         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31237         ieee754/flt-32 implementation for sin, cos and sincos.
31238         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31239         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31240         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31241         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31242         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31243         ieee754/flt-32 implementation for tan.
31245         * math/libm-test.inc (cos_test): Enable some large input tests for
31246         float as well
31247         (sin_test): Likewise.
31248         (sincos_test): Likewise.
31249         (tan_test): Add tests for large input.
31251         * sysdeps/i386/fpu/libm-test-ulps: Update.
31253 2012-03-15  Andreas Jaeger  <aj@suse.de>
31255         [BZ #13658]
31256         * math/libm-test.inc (cos_test): Add more test cases.
31257         (sin_test): Likewise.
31258         (sincos_test): Likewise.
31260 2012-03-15  Andreas Jaeger  <aj@suse.de>
31262         [BZ #13837]
31263         * math/libm-test.inc (cos_test): Add a test case for large input
31264         value.
31265         (sin_test): Likewise.
31266         (sincos_test): Likewise.
31268 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31269         Joseph Myers  <joseph@codesourcery.com>
31271         [BZ #13658]
31272         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31273         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31274         * sysdeps/i386/fpu/branred.c: Likewise.
31275         * sysdeps/i386/fpu/dosincos.c: Likewise.
31276         * sysdeps/i386/fpu/mpa.c: Likewise.
31277         * sysdeps/i386/fpu/s_cos.S: Likewise.
31278         * sysdeps/i386/fpu/s_sin.S: Likewise.
31279         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31280         * sysdeps/i386/fpu/sincos32.c: Likewise.
31282         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31283         Define.
31284         (libc_feupdateenv_53bit): Define.
31285         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31286         Define.
31287         (libc_feupdateenv_53bit): Define.
31289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31290         53 bit (without extend i386 double precision).
31292         * math/libm-test.inc (sincos_test): Add tests for large input.
31293         (sin): Likewise.
31294         (cos): Likewise.
31296         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31298 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31302 2012-03-15  David S. Miller  <davem@davemloft.net>
31304         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31305         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31306         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31307         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31320         file.
31321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31323         file.
31324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31326         file.
31327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31329         file.
31330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31331         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31332         fmin/fmax sysdep routines.
31333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31335 2012-03-14  David S. Miller  <davem@davemloft.net>
31337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31341         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31344         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
31345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
31346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
31347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
31348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
31349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
31350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
31351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
31352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
31353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
31354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
31355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
31356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
31357         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
31358         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
31359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
31360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
31361         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
31362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
31363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
31364         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
31365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
31366         routines.
31367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
31368         file.
31369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
31370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
31371         file.
31372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
31373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
31374         file.
31375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
31376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
31377         file.
31378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
31379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
31380         file.
31381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
31382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
31383         file.
31384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
31385         file.
31386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
31387         file.
31388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
31389         file.
31390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
31391         New file.
31392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
31393         file.
31394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
31395         file.
31396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
31397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
31398         file.
31399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
31400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
31401         file.
31402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
31403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
31404         file.
31405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
31406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
31407         VIS3 routines.
31409         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31410         New file.
31412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31414         * sysdeps/sparc/configure.in: New file.
31415         * sysdeps/sparc/configure: Generate.
31416         * configure.in (libc_cv_sparc_as_vis3): Substitute.
31417         * configure: Regenerate.
31418         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
31419         * config.make.in (have-as-vis3): New.
31420         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
31421         available use -Av9d instead of -Av9a.
31422         * sysdeps/sparc/sparc64/Makefile: Likewise.
31423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
31424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
31425         New file.
31426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
31427         file.
31428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
31429         New file.
31430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
31431         file.
31432         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
31433         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
31434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
31435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
31436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
31438         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
31439         fzeros/fnegs to load 0x80000000 into a float register instead of
31440         using the stack.
31441         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
31443 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31446         bits/syscall.h.
31447         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
31448         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
31449         ($(inst_includedir)/bits/syscall.h): Remove rule.
31450         ($(objpfx)bits/syscall.d): Include instead of
31451         $(objpfx)syscall-list.d.
31452         (generated): Change syscall-list.h and syscall-list.d to
31453         bits/syscall.h and bits/syscall.d.
31455 2012-03-14  Roland McGrath  <roland@hack.frob.com>
31457         [BZ #13846]
31458         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
31460 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
31462         [BZ #13841]
31463         * math/s_csqrt.c: Include <float.h>.
31464         (__csqrt): Scale large or subnormal inputs.
31465         * math/s_csqrtf.c: Likewise.
31466         * math/s_csqrtl.c: Likewise.
31467         * math/libm-test.inc (csqrt_test): Add more tests.
31468         * sysdeps/i386/fpu/libm-test-ulps: Update.
31469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31471         [BZ #13840]
31472         * math/libm-test.inc (hypot_test): Add more tests.
31474 2012-03-13  David S. Miller  <davem@davemloft.net>
31476         [BZ #13840]
31477         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
31478         double-precision for the calculation instead of scaling.
31480 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
31482         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
31483         manipulate bits before adding and subtracting TWO52[sx].
31484         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
31485         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31486         Likewise.
31487         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
31489 2012-03-13  David S. Miller  <davem@davemloft.net>
31491         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
31492         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
31493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
31494         rtld-global-offsets.h
31495         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31497         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
31498         large parameters.
31500         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
31502         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
31503         'err' in the ifdef scope in which it is actually used.
31505         * nss/nss_db/db-init.c: Include string.h
31507 2012-03-12  David S. Miller  <davem@davemloft.net>
31509         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31510         masking out of the most significant byte of random value used.
31511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31512         Fix coding style in previous change.
31514         * sysdeps/unix/sysv/linux/kernel-features.h
31515         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
31516         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
31517         expression.
31518         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
31519         later.
31521 2012-03-11  David S. Miller  <davem@davemloft.net>
31523         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31524         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
31525         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
31526         for 'resultvar' otherwise things get truncated on 64-bit.
31528         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31529         Fix masking out of the most significant byte of random value used.
31531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31533 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
31535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31537 2012-03-09  David S. Miller  <davem@davemloft.net>
31539         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
31540         variables with appropriate CPP guards.
31541         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
31542         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
31543         on resulting framesize and the management of the outregs buffer for pltexit.
31544         Preserve floating point return values across _dl_call_pltexit call.
31545         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
31546         framesize and the management of the outregs buffer for pltexit.
31547         Preserve floating point return values across _dl_call_pltexit
31548         call.
31549         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
31550         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
31551         (print_exit): Fix format string for return register value.
31553 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
31555         * sunrpc/Makefile (others): Add rpcgen.
31556         ($(objpfx)rpcgen): Remove special build rule and dependency on
31557         libc.
31558         * sunrpc/rpcgen.c: New file.
31560 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
31562         [BZ #13673]
31563         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
31564         * stdio-common/bug-vfprintf-nargs.c: Likewise.
31565         * sysdeps/i386/crti.S: Likewise.
31566         * sysdeps/i386/crtn.S: Likewise.
31567         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
31568         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
31569         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
31570         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
31571         * sysdeps/sh/crti.S: Likewise.
31572         * sysdeps/sh/crtn.S: Likewise.
31573         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31575         [BZ #13673]
31576         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
31577         with URL.
31578         * locale/programs/locfile-kw.gperf: Likewise.
31579         * locale/programs/charmap-kw.h: Regenerated.
31580         * locale/programs/locfile-kw.h: Likewise.
31582         [BZ #13673]
31583         * intl/plural.y: Replace FSF snail mail address with URL.
31584         * intl/plural.c: Regenerated.
31586 2012-03-09  Richard Henderson  <rth@twiddle.net>
31588         * include/math_private.h: Remove file.
31589         * math/math_private.h: Move file ...
31590         * sysdeps/generic/math_private.h: ... here.
31592         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
31593         * sysdeps/powerpc/fpu/math_private.h: Likewise.
31594         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31596         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
31597         and <math_private.h>.
31598         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31599         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31600         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31601         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31602         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31603         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
31604         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31606         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31607         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31609         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31610         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31612         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31613         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31614         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31615         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31616         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31617         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31619         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31620         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31621         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31622         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31623         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31624         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31625         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31628         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31629         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31630         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31631         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31632         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31633         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31634         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31635         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31636         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31637         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31638         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31639         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31640         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31641         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31642         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31643         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31644         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31645         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31646         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31647         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31648         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31649         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31650         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31651         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31652         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31653         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31654         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31655         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31656         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31657         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31658         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31659         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31660         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31661         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31662         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31663         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31664         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31673         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31678         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31680         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31681         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31682         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31683         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31684         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31685         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31686         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31687         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31688         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31689         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31691         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31692         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31693         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31694         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31695         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31696         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31697         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31698         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31699         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31700         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31701         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31702         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31703         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31704         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31705         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31706         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31707         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31708         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31709         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31710         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31711         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31712         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31713         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31714         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31715         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31716         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31717         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31718         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31719         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31720         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31721         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31722         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31723         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31724         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31725         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31726         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31727         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31728         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31729         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31730         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31731         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31732         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31733         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31734         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31735         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31736         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31737         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31738         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31739         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31740         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31741         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31742         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31743         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31744         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31745         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31746         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31747         * sysdeps/ieee754/k_standard.c: Likewise.
31748         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31749         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31750         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31751         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31752         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31753         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31754         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31755         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31756         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31757         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31758         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31759         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31760         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31761         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31762         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31763         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31764         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31765         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31766         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31767         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31768         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31769         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31770         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31771         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31772         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31773         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31774         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31775         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31776         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31778         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31779         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31780         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31781         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31782         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31783         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31784         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31785         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31786         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31787         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31788         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31789         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31790         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31791         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31792         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31794         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31795         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31796         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31797         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31798         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31799         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31800         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31801         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31802         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31804         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31805         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31809         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31810         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31822         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31823         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31825         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31826         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31827         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31828         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31829         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31830         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31831         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31832         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31833         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31835         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31839         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31840         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31841         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31842         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31843         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31844         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31845         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31846         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31847         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31848         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31849         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31850         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31852         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31853         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31854         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31855         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31856         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31857         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31858         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31859         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31860         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31861         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31862         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31863         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31864         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31865         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31866         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31867         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31868         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31869         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31870         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31871         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31874         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31875         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31876         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31877         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31878         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31879         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31880         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31881         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31882         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31883         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31884         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31885         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31886         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31887         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31888         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31889         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31890         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31891         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31892         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31893         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31894         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31895         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31896         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31897         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31898         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31899         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31900         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31901         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31902         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31903         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31906         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31907         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31908         * sysdeps/ieee754/s_lib_version.c: Likewise.
31909         * sysdeps/ieee754/s_matherr.c: Likewise.
31910         * sysdeps/ieee754/s_signgam.c: Likewise.
31911         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31912         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31913         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31914         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31915         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31916         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31917         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31918         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31919         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31920         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31921         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31922         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31923         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31924         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31925         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31926         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31927         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31928         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31929         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31931         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31933 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31935         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31936         * sunrpc/rpc_main.c: Likewise.
31937         * sunrpc/rpc_svcout.c: Likewise.
31939 2012-03-09  David S. Miller  <davem@davemloft.net>
31941         * include/math_private.h: New file.
31943 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31945         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31946         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31947         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31948         from <bits/socket_type.h>.
31949         (enum __socket_type): Don't define here.
31950         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31952         bits/socket_type.h.
31954         [BZ #13566]
31955         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31956         checking __USE_GNU.
31958         * Makerules ($(inst_includedir)/%.h): New rule.
31959         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31960         (install-others): Remove variable setting.
31961         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31963 2012-03-08  Richard Henderson  <rth@twiddle.net>
31965         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31966         from macro to inline function; merge with the
31967         !__LIBC_INTERNAL_MATH_INLINES version.
31968         (__ieee754_sqrtf): Likewise.
31970         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31971         to inline function.
31972         (__rintf, __floor, __floorf): Likewise.
31974         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31975         macro to inline function.
31976         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31978         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31979         not <math/math_private.h>.
31981 2012-03-08  David S. Miller  <davem@davemloft.net>
31983         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31984         copyright year.
31985         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31987 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
31989         * resolv/gai_misc.c (handle_requests): Fix struct timespec
31990         normalization.
31991         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31992         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31994 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
31996         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
31997         be defined individually, they must be defined as a block.  Define
31998         S for printing a string instead of hidint the different by using a
31999         macro for adding the 'l'.
32000         * stdio-common/tst-fphex-wide.c: Adjust.
32002 2012-03-07  Marek Polacek  <polacek@redhat.com>
32004         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32006 2012-03-08  Marek Polacek  <polacek@redhat.com>
32008         [BZ #13806]
32009         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32010         * stdio-common/tst-fphex.c: Define a few macros to make the
32011         test reusable.  Use them.
32012         * stdio-common/tst-fphex-wide.c: New file.
32014 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32016         [BZ #6911]
32017         * manual/macros.texi (gnusystems): New macro.
32018         (nongnusystems): Likewise.
32019         (gnulinuxhurdsystems): Likewise.
32020         (gnuhurdsystems): Likewise..
32021         (gnulinuxsystems): Likewise.
32022         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32023         variants of the GNU system, not "GNU system".
32024         * manual/conf.texi: Likewise.
32025         * manual/errno.texi: Likewise.  Update example of errno macro
32026         expansion.
32027         * manual/filesys.texi: Likewise.
32028         (getumask): Document as specific to GNU/Hurd.
32029         * manual/install.texi: Likewise.  Reword some references to
32030         GNU/Linux.
32031         * manual/intro.texi: Likewise.
32032         * manual/io.texi: Likewise.
32033         (File Name Portability): Detail which constraints are inapplicable
32034         to all GNU systems and which are only inapplicable to GNU/Hurd.
32035         * manual/job.texi: Likewise.
32036         * manual/llio.texi: Likewise.
32037         (O_NOCTTY): Document as present on GNU/Linux.
32038         * manual/maint.texi: Likewise.
32039         * manual/memory.texi: Likewise.
32040         * manual/pattern.texi: Likewise.
32041         * manual/pipe.texi: Likewise.
32042         * manual/process.texi: Likewise.
32043         * manual/resource.texi: Likewise.
32044         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32045         child on GNU/Hurd.
32046         * manual/setjmp.texi: Likewise.
32047         * manual/signal.texi: Likewise.
32048         * manual/startup.texi: Likewise.
32049         * manual/stdio.texi: Likewise.
32050         * manual/terminal.texi: Likewise.
32051         (ONLCR): Document as POSIX.
32052         (OXTABS): Document availability on GNU/Linux as XTABS.
32053         (ONOEOT): Document availability separately from other bits.
32054         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32055         * manual/time.texi: Likewise.
32056         * manual/users.texi: Likewise.
32057         * INSTALL: Regenerated.
32058         * sysdeps/gnu/errlist.c: Regenerated.
32060         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32061         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32062         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32063         puts.
32064         * configure: Regenerated.
32066 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32068         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32069         default includes instead of AC_HEADER_CHECK.
32070         * sysdeps/i386/configure: Regenerated.
32072         [BZ #10716]
32073         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32074         * math/s_cacoshf.c (__cacoshf): Likewise.
32075         * math/s_cacoshl.c (__cacoshl): Likewise.
32076         * math/s_casinh.c (__casinh): Set signs of result from argument.
32077         * math/s_casinhf.c (__casinhf): Likewise.
32078         * math/s_casinhl.c (__casinhl): Likewise.
32079         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32080         (casinh_test): Add more tests.
32081         * sysdeps/i386/fpu/libm-test-ulps: Update.
32082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32084 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32086         * po/zh_TW.po: Update from translation team.
32088         * login/Makefile (distribute): Remove variable.
32089         * catgets/Makefile: Likewise.
32090         * mach/Makefile: Likewise.
32091         * malloc/Makefile: Likewise.
32092         * misc/Makefile: Likewise.
32093         * iconv/Makefile: Likewise.
32094         * nscd/Makefile: Likewise.
32095         * hurd/Makefile: Likewise.
32096         * manual/Makefile: Likewise.
32097         * locale/Makefile: Likewise.
32098         * intl/Makefile: Likewise.
32099         * conform/Makefile: Likewise.
32100         * nss/Makefile: Likewise.
32101         * time/Makefile: Likewise.
32102         * soft-fp/Makefile: Likewise.
32103         * dirent/Makefile: Likewise.
32104         * gmon/Makefile: Likewise.
32105         * po/Makefile: Likewise.
32106         * rt/Makefile: Likewise.
32107         * socket/Makefile: Likewise.
32108         * math/Makefile: Likewise.
32109         * signal/Makefile: Likewise.
32110         * debug/Makefile: Likewise.
32111         * elf/Makefile: Likewise.
32112         * timezone/Makefile: Likewise.
32113         * stdlib/Makefile: Likewise.
32114         * iconvdata/Makefile: Likewise.
32115         * sunrpc/Makefile: Likewise.
32116         * io/Makefile: Likewise.
32117         * argp/Makefile: Likewise.
32118         * inet/Makefile: Likewise.
32119         * hesiod/Makefile: Likewise.
32120         * grp/Makefile: Likewise.
32121         * csu/Makefile: Likewise.
32122         * wctype/Makefile: Likewise.
32123         * crypt/Makefile: Likewise.
32124         * libio/Makefile: Likewise.
32125         * string/Makefile: Likewise.
32126         * nis/Makefile: Likewise.
32127         * resolv/Makefile: Likewise.
32128         * stdio-common/Makefile: Likewise.
32129         * wcsmbs/Makefile: Likewise.
32130         * dlfcn/Makefile: Likewise.
32131         * posix/Makefile: Likewise.
32133         [BZ #6959]
32134         * timezone/Makefile: Don't install timezone files, just the programs
32135         and scripts.
32137 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32139         * nss/databases.def: Add missing gshadow entry.
32141         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32143 2012-03-06  Marek Polacek  <polacek@redhat.com>
32145         [BZ #13726]
32146         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32147         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32148         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32149         * stdio-common/tst-long-dbl-fphex.c: New file.
32151 2012-03-06  David S. Miller  <davem@davemloft.net>
32153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32154         (set_obp_int): New function.
32155         (get_obp_int): New function.
32156         (__get_clockfreq_via_dev_openprom): Likewise.
32157         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32158         Avoid unused variable warnings on 'val' and use builtin_expect.
32159         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32160         __builtin_expect.
32161         (INLINE_CLONE_SYSCALL): Likewise.
32163 2012-03-05  David S. Miller  <davem@davemloft.net>
32165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32167 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32171         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32172         only for |x| >= 40.
32173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32175 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32178         Replace gettimeofday with __vdso_gettimeofday.
32180         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32181         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32182         __vdso_clock_gettime and __vdso_getcpu.
32184         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32185         time with __vdso_time.
32187 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32189         * manual/lang.texi (size_t): Note types to which size_t may be
32190         equivalent with the GNU C Library, but do not describe when
32191         differences between them are significant.
32193 2012-03-05  Andreas Jaeger  <aj@suse.de>
32195         * sysdeps/i386/fpu/libm-test-ulps: Update.
32197 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32199         [BZ #3976]
32200         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32201         (__ieee754_pow): Save and restore rounding mode and use
32202         round-to-nearest for main computations.
32203         * math/libm-test.inc (pow_test_tonearest): New function.
32204         (pow_test_towardzero): Likewise.
32205         (pow_test_downward): Likewise.
32206         (pow_test_upward): Likewise.
32207         (main): Call the new functions.
32208         * sysdeps/i386/fpu/libm-test-ulps: Update.
32209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32211         [BZ #3976]
32212         * math/libm-test.inc (cosh_test_tonearest): New function.
32213         (cosh_test_towardzero): Likewise.
32214         (cosh_test_downward): Likewise.
32215         (cosh_test_upward): Likewise.
32216         (sinh_test_tonearest): Likewise.
32217         (sinh_test_towardzero): Likewise.
32218         (sinh_test_downward): Likewise.
32219         (sinh_test_upward): Likewise.
32220         (main): Call the new functions.
32221         * sysdeps/i386/fpu/libm-test-ulps: Update.
32222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32224 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32226         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32227         default stack guard is set in last bytes.
32228         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32230 2012-03-05  Kees Cook  <keescook@chromium.org>
32232         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32234         [BZ #13656]
32235         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32236         possibly allocate from heap instead of stack.
32237         * stdio-common/bug-vfprintf-nargs.c: New file.
32238         * stdio-common/Makefile (tests): Add nargs overflow test.
32240 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32244 2012-03-03  Marek Polacek  <polacek@redhat.com>
32246         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32247         * math/math_private.h: Likewise.
32248         * stdlib/tst-strtod.c: Likewise.
32249         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32250         * sysdeps/x86_64/bits/atomic.h: Likewise.
32252 2012-03-02  David S. Miller  <davem@davemloft.net>
32254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32258         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32259         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32260         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32261         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32263 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32265         [BZ #13792]
32266         * manual/examples/README: New file, says the example source files
32267         can be used under GPL>=2.
32268         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32269         line containing just "*/".
32270         * manual/examples/add.c: Add copyright header (GPL>=2).
32271         * manual/examples/argp-ex1.c: Likewise.
32272         * manual/examples/argp-ex2.c: Likewise.
32273         * manual/examples/argp-ex3.c: Likewise.
32274         * manual/examples/argp-ex4.c: Likewise.
32275         * manual/examples/atexit.c: Likewise.
32276         * manual/examples/db.c: Likewise.
32277         * manual/examples/dir.c: Likewise.
32278         * manual/examples/dir2.c: Likewise.
32279         * manual/examples/execinfo.c: Likewise.
32280         * manual/examples/filecli.c: Likewise.
32281         * manual/examples/filesrv.c: Likewise.
32282         * manual/examples/fmtmsgexpl.c: Likewise.
32283         * manual/examples/genpass.c: Likewise.
32284         * manual/examples/inetcli.c: Likewise.
32285         * manual/examples/inetsrv.c: Likewise.
32286         * manual/examples/isockad.c: Likewise.
32287         * manual/examples/longopt.c: Likewise.
32288         * manual/examples/memopen.c: Likewise.
32289         * manual/examples/memstrm.c: Likewise.
32290         * manual/examples/mkfsock.c: Likewise.
32291         * manual/examples/mkisock.c: Likewise.
32292         * manual/examples/mygetpass.c: Likewise.
32293         * manual/examples/pipe.c: Likewise.
32294         * manual/examples/popen.c: Likewise.
32295         * manual/examples/rprintf.c: Likewise.
32296         * manual/examples/search.c: Likewise.
32297         * manual/examples/select.c: Likewise.
32298         * manual/examples/setjmp.c: Likewise.
32299         * manual/examples/sigh1.c: Likewise.
32300         * manual/examples/sigusr.c: Likewise.
32301         * manual/examples/stpcpy.c: Likewise.
32302         * manual/examples/strdupa.c: Likewise.
32303         * manual/examples/strftim.c: Likewise.
32304         * manual/examples/strncat.c: Likewise.
32305         * manual/examples/subopt.c: Likewise.
32306         * manual/examples/swapcontext.c: Likewise.
32307         * manual/examples/termios.c: Likewise.
32308         * manual/examples/testopt.c: Likewise.
32309         * manual/examples/testpass.c: Likewise.
32310         * manual/examples/timeval_subtract.c: Likewise.
32312         [BZ #13792]
32313         * manual/time.texi (Elapsed Time): Move timeval_subtract example
32314         function to ...
32315         * manual/timeval_subtract.c.texi: ... here, new file.
32317 2012-03-02  David S. Miller  <davem@davemloft.net>
32319         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32321 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
32323         [BZ #3976]
32324         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32325         (__sin): Save and restore rounding mode and use round-to-nearest
32326         for all computations.
32327         (__cos): Save and restore rounding mode and use round-to-nearest
32328         for all computations.
32329         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32330         <fenv.h>.
32331         (tan): Save and restore rounding mode and use round-to-nearest for
32332         all computations.
32333         * math/libm-test.inc (cos_test_tonearest): New function.
32334         (cos_test_towardzero): Likewise.
32335         (cos_test_downward): Likewise.
32336         (cos_test_upward): Likewise.
32337         (sin_test_tonearest): Likewise.
32338         (sin_test_towardzero): Likewise.
32339         (sin_test_downward): Likewise.
32340         (sin_test_upward): Likewise.
32341         (tan_test_tonearest): Likewise.
32342         (tan_test_towardzero): Likewise.
32343         (tan_test_downward): Likewise.
32344         (tan_test_upward): Likewise.
32345         (main): Call the new functions.
32346         * sysdeps/i386/fpu/libm-test-ulps: Update.
32347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32349         [BZ #10135]
32350         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
32351         small n, then large n, before computing and testing k+n.
32352         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32353         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
32354         Likewise.
32355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
32356         Likewise.
32357         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
32358         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
32359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
32360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
32361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32363         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
32364         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
32365         * math/libm-test.inc (scalbn_test): Add more tests.
32366         (scalbln_test): Likewise.
32368         * manual/filesys.texi (mode_t): Describe constraints on size and
32369         signedness, not exact equivalence to a particular type.
32370         (ino_t): Likewise.
32371         (ino64_t): Likewise.
32372         (dev_t): Likewise.
32373         (nlink_t): Likewise.
32374         (blkcnt_t): Likewise.
32375         (blkcnt64_t): Likewise.
32376         * manual/llio.texi (off_t): Likewise.
32378         [BZ #3976]
32379         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
32380         (__ieee754_exp): Save and restore rounding mode and use
32381         round-to-nearest for all computations.
32382         * math/libm-test.inc (exp_test_tonearest): New function.
32383         (exp_test_towardzero): Likewise.
32384         (exp_test_downward): Likewise.
32385         (exp_test_upward): Likewise.
32386         (main): Call the new functions.
32387         * sysdeps/i386/fpu/libm-test-ulps: Update.
32388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32390 2012-03-01  Chris Demetriou  <cgd@google.com>
32392         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
32393         have predictable order.
32395 2012-03-01  David S. Miller  <davem@davemloft.net>
32397         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
32399         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
32400         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
32401         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
32402         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
32404         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
32405         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
32406         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
32407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
32408         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
32409         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
32410         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
32411         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
32412         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
32414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32416         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
32417         * sysdeps/sparc/fpu/libm-test-ulps: to here.
32418         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
32420         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32421         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32422         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32423         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
32424         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
32425         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
32426         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
32427         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32428         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32429         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
32430         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
32431         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32433         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32434         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32436         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
32437         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
32438         * sysdeps/sparc/elf/configure: Regenerated.
32440 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
32442         * configure.in (AS, LD): Require binutils 2.20 or later.
32443         * configure: Regenerated.
32444         * manual/install.texi (Tools for Compilation): Give binutils 2.20
32445         as required minimum version.
32446         * INSTALL: Regenerated.
32448         [BZ #2541]
32449         [BZ #4108]
32450         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
32451         before squaring exponent.
32452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
32453         bottom long double and 27 bits of top long double before squaring
32454         exponent.
32455         * math/libm-test.inc (erfc_test): Add more tests.
32456         * sysdeps/i386/fpu/libm-test-ulps: Update.
32457         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32460 2012-03-01  Kai Tietz  <ktietz@redhat.com>
32462         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
32463         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
32464         containing bit-fields.
32465         * soft-fp/extended.h (_FP_UNION_E): Likewise.
32466         * soft-fp/single.h (_FP_UNION_S): Likewise.
32467         * soft-fp/double.h (_FP_UNION_D): Likewise.
32469 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32471         [BZ #13786]
32472         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
32473         not include ../strcmp.S.
32474         [USE_AS_STRNCASECMP_L]: Likewise.
32475         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
32476         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
32477         * sysdeps/i386/i686/multiarch/strncase_l-c.c
32478         (__strncasecmp_l_ia32): Define as alias to
32479         __strncasecmp_l_nonascii.
32481         [BZ #5794]
32482         * math/libm-test.inc (expm1_test): Add test for bug 5794.
32483         * sysdeps/i386/fpu/libm-test-ulps: Update.
32484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32486         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
32487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32489 2012-02-29  Jeff Law  <law@redhat.com>
32491         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
32492         out of bounds read.
32494 2012-02-29  Marek Polacek  <polacek@redhat.com>
32496         [BZ #13706]
32497         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
32498         * elf/Makefile: Add rules to run tst-unused-dep.out.
32500 2012-02-28  David S. Miller  <davem@davemloft.net>
32502         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
32503         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
32504         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
32505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
32506         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
32507         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
32509 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
32511         * math/libm-test.inc (llround_test): Move one test from
32512         lround_test.  Use TEST_f_L in moved test.
32513         (lround_test): Move misplaced test to llround_test.  Add testcase
32514         from bug 2561.
32516 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
32518         * sysdeps/x86_64/fpu/e_expf.S: New file.
32519         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
32521 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
32523         [BZ #13637]
32524         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
32525         of remain_len that may cause incomplete multi-byte character and
32526         false match.
32527         * posix/bug-regex33.c: New file.
32528         * posix/Makefile (tests): Add bug-regex33.
32530 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
32532         * manual/macros.texi: New file.
32533         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
32534         * manual/libc.texinfo: Include macros.texi.
32535         * manual/creatute.texi: Likewise.
32536         * manual/install.texi: Likewise.
32537         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
32538         @glibcadj{} in references to the GNU C Library.
32539         * manual/charset.texi: Likewise.
32540         * manual/conf.texi: Likewise.
32541         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
32542         when not using those macros.
32543         * manual/creature.texi: Likewise.
32544         * manual/crypt.texi: Likewise.
32545         * manual/errno.texi: Likewise.
32546         * manual/filesys.texi: Likewise.
32547         * manual/header.texi: Likewise.
32548         * manual/install.texi: Likewise.
32549         * manual/intro.texi: Likewise.
32550         * manual/io.texi: Likewise.
32551         * manual/job.texi: Likewise.
32552         * manual/lang.texi: Likewise.
32553         * manual/libc.texiinfo: Likewise.
32554         * manual/llio.texi: Likewise.
32555         * manual/locale.texi: Likewise.
32556         * manual/maint.texi: Likewise.
32557         * manual/math.texi: Likewise.
32558         * manual/memory.texi: Likewise.
32559         * manual/message.texi: Likewise.
32560         * manual/nss.texi: Likewise.
32561         * manual/pattern.texi: Likewise.
32562         * manual/process.texi: Likewise.
32563         * manual/resource.texi: Likewise.
32564         * manual/search.texi: Likewise.
32565         * manual/setjmp.texi: Likewise.
32566         * manual/signal.texi: Likewise.
32567         * manual/socket.texi: Likewise.
32568         * manual/startup.texi: Likewise.
32569         * manual/stdio.texi: Likewise.
32570         * manual/string.texi: Likewise.
32571         * manual/sysinfo.texi: Likewise.
32572         * manual/syslog.texi: Likewise.
32573         * manual/terminal.texi: Likewise.
32574         * manual/time.texi: Likewise.
32575         * manual/users.texi: Likewise.
32576         * INSTALL: Regenerated.
32577         * NOTES: Regenerated.
32578         * sysdeps/gnu/errlist.c: Regenerated.
32580 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
32582         * include/dirent.h: Include <dirstream.h> before
32583         <dirent/dirent.h>.
32585 2012-02-28  David S. Miller  <davem@davemloft.net>
32587         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
32588         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
32589         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
32590         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
32592 2012-02-27  David S. Miller  <davem@davemloft.net>
32594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
32595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
32596         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
32597         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
32599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
32600         frame pointer instead of stack pointer relative arg slot.
32601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32602         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32603         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32605 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
32607         [BZ #3992]
32608         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
32610 2012-02-27  David S. Miller  <davem@davemloft.net>
32612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
32613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
32614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
32616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
32617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
32618         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
32619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
32621 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32623         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
32624         later.  Allow versions 5-9.
32625         * configure: Regenerated.
32626         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
32627         required minimum version and 4.6 as recommended version.  Do not
32628         mention bugs in GCC 2.7 and 2.8.
32629         * INSTALL: Regenerated.
32631 2012-02-27  David S. Miller  <davem@davemloft.net>
32633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32637         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32638         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32639         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32640         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32642         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32643         manipulate bits before adding and subtracting TWO112[sx].
32644         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32646 2012-02-27  Roland McGrath  <roland@hack.frob.com>
32648         [BZ #13775]
32649         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32650         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32651         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32652         being in POSIX, because they are in 1003.1-2008.
32654         * rt/tst-aio.c: Include <fcntl.h>.
32655         * rt/tst-aio7.c: Likewise.
32656         * rt/tst-aio64.c: Likewise.
32658         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32660 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
32662         * manual/install.texi (--with-headers): Describe headers as
32663         interface headers, not private headers.
32664         (Specific advice for GNU/Linux systems): Describe use of headers
32665         from "make headers_install", not private headers from older
32666         kernels.
32667         * INSTALL: Regenerated.
32668         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32669         Change to 2.6.19.
32670         * sysdeps/unix/sysv/linux/configure: Regenerated.
32672         * manual/llio.texi (fclean): Remove documentation.
32674         * manual/Makefile (libc-texi-generated): New variable.  Include
32675         version.texi.
32676         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32677         $(libc-texi-generated), not duplicated list of files.
32678         (version.texi, stamp-version): New rules.
32679         (realclean): Remove $(libc-texi-generated), not individual files
32680         from that list.  Do not remove dir-add.texinfo.
32681         * manual/libc.texinfo: Comment out uses of edition numbers and
32682         references to printed manual.  Remove last-updated dates.
32683         (EDITION): Comment out.
32684         (ISBN): Likewise.
32685         (VERSION, UPDATED): Remove.
32686         (version.texi): Include.
32688 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
32690         * sysdeps/posix/spawni.c: Include <signal.h>.
32691         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32692         * sysdeps/pthread/aio_fsync.c: Likewise.
32694 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
32696         * conform/Makefile (tests): Run only when not cross-compiling and
32697         when fast-check is not defined.
32699         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32700         * conform/data/limits.h-data: Fixes for POSIX2008.
32701         * conform/run-conformtest.sh: Run all tests.
32702         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32703         headers.
32704         * include/bits/dlfcn.h: Likewise.
32705         * include/langinfo.h: Likewise.
32706         * include/monetary.h: Likewise.
32707         * include/sys/poll.h: Likewise.
32709         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32710         for __USE_GNU.
32711         * posix/spawn.h: Define __need_sigset_t.
32712         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32713         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32714         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
32715         to get sigevent_t only.
32716         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32717         only for __USE_GNU.
32718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32719         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32720         process_vm_writev only for __USE_GNU.
32721         * termios/termios.h: Declare tcgetsid also for POSIX2008.
32723         * conform/Makefile: For now ignore errors from run-conformtest.
32724         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
32725         POSIX to avoid namespace pollution.  Don't prepend headers.
32726         * conform/data/aio.h-data: Fixes for POSIX testing.
32727         * conform/data/fcntl.h-data: Likewise.
32728         * conform/data/glob.h-data: Likewise.
32729         * conform/data/grp.h-data: Likewise.
32730         * conform/data/pthread.h-data: Likewise.
32731         * conform/data/pwd.h-data: Likewise.
32732         * conform/data/signal.h-data: Likewise.
32733         * conform/data/spawn.h-data: Likewise.
32734         * conform/data/stdio.h-data: Likewise.
32735         * conform/data/stdlib.h-data: Likewise.
32736         * conform/data/stropts.h-data: Likewise.
32737         * conform/data/sys/mman.h-data: Likewise.
32738         * conform/data/sys/stat.h-data: Likewise.
32739         * conform/data/sys/types.h-data: Likewise.
32740         * conform/data/sys/wait.h-data: Likewise.
32741         * conform/data/time.h-data: Likewise.
32742         * conform/data/unistd.h-data: Likewise.
32743         * conform/data/utime.h-data: Likewise.
32745         * io/sys/stat.h: fchmod was always in POSIX.
32746         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32747         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32748         * rt/aio.h: Define __need_timespec before including <time.h>.
32749         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32750         struct.  Add forward declaration of pthread_attr_t and use it in
32751         sigevent.
32752         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32754         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32755         always remove CLK_TCK definition.
32757 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
32759         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32761 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
32763         * conform/run-conformtest.sh: New file.
32764         * conform/Makefile: Run run-conformtest for tests.
32765         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
32766         support.
32768         * conform/data/uchar.h-data: New file.
32769         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32770         * conform/data/arpa/inet.h-data: Likewise.
32771         * conform/data/assert.h-data: Likewise.
32772         * conform/data/complex.h-data: Likewise.
32773         * conform/data/cpio.h-data: Likewise.
32774         * conform/data/ctype.h-data: Likewise.
32775         * conform/data/dirent.h-data: Likewise.
32776         * conform/data/dlfcn.h-data: Likewise.
32777         * conform/data/errno.h-data: Likewise.
32778         * conform/data/fcntl.h-data: Likewise.
32779         * conform/data/float.h-data: Likewise.
32780         * conform/data/fmtmsg.h-data: Likewise.
32781         * conform/data/fnmatch.h-data: Likewise.
32782         * conform/data/ftw.h-data: Likewise.
32783         * conform/data/glob.h-data: Likewise.
32784         * conform/data/grp.h-data: Likewise.
32785         * conform/data/iconv.h-data: Likewise.
32786         * conform/data/inttypes.h-data: Likewise.
32787         * conform/data/langinfo.h-data: Likewise.
32788         * conform/data/libgen.h-data: Likewise.
32789         * conform/data/limits.h-data: Likewise.
32790         * conform/data/locale.h-data: Likewise.
32791         * conform/data/math.h-data: Likewise.
32792         * conform/data/monetary.h-data: Likewise.
32793         * conform/data/mqueue.h-data: Likewise.
32794         * conform/data/ndbm.h-data: Likewise.
32795         * conform/data/net/if.h-data: Likewise.
32796         * conform/data/netdb.h-data: Likewise.
32797         * conform/data/netinet/in.h-data: Likewise.
32798         * conform/data/nl_types.h-data: Likewise.
32799         * conform/data/poll.h-data: Likewise.
32800         * conform/data/pthread.h-data: Likewise.
32801         * conform/data/pwd.h-data: Likewise.
32802         * conform/data/regex.h-data: Likewise.
32803         * conform/data/sched.h-data: Likewise.
32804         * conform/data/search.h-data: Likewise.
32805         * conform/data/semaphore.h-data: Likewise.
32806         * conform/data/setjmp.h-data: Likewise.
32807         * conform/data/signal.h-data: Likewise.
32808         * conform/data/spawn.h-data: Likewise.
32809         * conform/data/stdarg.h-data: Likewise.
32810         * conform/data/stdio.h-data: Likewise.
32811         * conform/data/stdlib.h-data: Likewise.
32812         * conform/data/string.h-data: Likewise.
32813         * conform/data/strings.h-data: Likewise.
32814         * conform/data/stropts.h-data: Likewise.
32815         * conform/data/sys/ipc.h-data: Likewise.
32816         * conform/data/sys/mman.h-data: Likewise.
32817         * conform/data/sys/msg.h-data: Likewise.
32818         * conform/data/sys/resource.h-data: Likewise.
32819         * conform/data/sys/select.h-data: Likewise.
32820         * conform/data/sys/sem.h-data: Likewise.
32821         * conform/data/sys/shm.h-data: Likewise.
32822         * conform/data/sys/socket.h-data: Likewise.
32823         * conform/data/sys/stat.h-data: Likewise.
32824         * conform/data/sys/statvfs.h-data: Likewise.
32825         * conform/data/sys/time.h-data: Likewise.
32826         * conform/data/sys/timeb.h-data: Likewise.
32827         * conform/data/sys/times.h-data: Likewise.
32828         * conform/data/sys/types.h-data: Likewise.
32829         * conform/data/sys/uio.h-data: Likewise.
32830         * conform/data/sys/un.h-data: Likewise.
32831         * conform/data/sys/utsname.h-data: Likewise.
32832         * conform/data/sys/wait.h-data: Likewise.
32833         * conform/data/syslog.h-data: Likewise.
32834         * conform/data/tar.h-data: Likewise.
32835         * conform/data/termios.h-data: Likewise.
32836         * conform/data/utime.h-data: Likewise.
32837         * conform/data/utmpx.h-data: Likewise.
32838         * conform/data/varargs.h-data: Likewise.
32839         * conform/data/wchar.h-data: Likewise.
32840         * conform/data/wctype.h-data: Likewise.
32841         * conform/data/wordexp.h-data: Likewise.
32843         * include/stropts.h: New file.
32844         * include/uchar.h: New file.
32845         * include/aio.h: Changes to allow conformtest.pl to use the headers.
32846         * include/assert.h: Likewise.
32847         * include/ctype.h: Likewise.
32848         * include/dirent.h: Likewise.
32849         * include/dlfcn.h: Likewise.
32850         * include/fcntl.h: Likewise.
32851         * include/fnmatch.h: Likewise.
32852         * include/glob.h: Likewise.
32853         * include/grp.h: Likewise.
32854         * include/libio.h: Likewise.
32855         * include/locale.h: Likewise.
32856         * include/math.h: Likewise.
32857         * include/net/if.h: Likewise.
32858         * include/netdb.h: Likewise.
32859         * include/netinet/in.h: Likewise.
32860         * include/pthread.h: Likewise.
32861         * include/pwd.h: Likewise.
32862         * include/regex.h: Likewise.
32863         * include/sched.h: Likewise.
32864         * include/search.h: Likewise.
32865         * include/setjmp.h: Likewise.
32866         * include/signal.h: Likewise.
32867         * include/stdio.h: Likewise.
32868         * include/stdlib.h: Likewise.
32869         * include/string.h: Likewise.
32870         * include/sys/cdefs.h: Likewise.
32871         * include/sys/mman.h: Likewise.
32872         * include/sys/msg.h: Likewise.
32873         * include/sys/resource.h: Likewise.
32874         * include/sys/select.h: Likewise.
32875         * include/sys/socket.h: Likewise.
32876         * include/sys/stat.h: Likewise.
32877         * include/sys/statvfs.h: Likewise.
32878         * include/sys/time.h: Likewise.
32879         * include/sys/times.h: Likewise.
32880         * include/sys/uio.h: Likewise.
32881         * include/sys/utsname.h: Likewise.
32882         * include/sys/wait.h: Likewise.
32883         * include/termios.h: Likewise.
32884         * include/time.h: Likewise.
32885         * include/ulimit.h: Likewise.
32886         * include/unistd.h: Likewise.
32887         * include/utime.h: Likewise.
32888         * include/wchar.h: Likewise.
32889         * include/wctype.h: Likewise.
32890         * include/wordexp.h: Likewise.
32892         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32894         * time/time.h: TIME_UTC must be a macro.
32895         Make timespec_get available for ISO C11 only as well.
32897 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
32899         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32900         Reported by Peng Haitao <penght@cn.fujitsu.com>.
32902 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32904         * configure.in: Use -o not -a in test for unsupported multi-arch.
32906 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32908         * manual/texinfo.tex: Update to version 2012-01-19.16.
32910 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32912         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32914 2012-02-24  Roland McGrath  <roland@hack.frob.com>
32916         [BZ #13738]
32917         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32918         * manual/fdl-1.3.texi: New file.
32919         * manual/fdl-1.1.texi: File removed.
32921         [BZ #13738]
32922         * manual/libc.texinfo (FDL_VERSION): New @set.
32923         Use it for mention of FDL in cover text.
32924         (Documentation License): Use it in @include file name.
32926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32927             Roland McGrath  <roland@hack.frob.com>
32929         [BZ #5461]
32930         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32931         not LONG_LONG_MAX and LONG_LONG_MIN.
32932         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32933         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
32934         name.
32935         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32937 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32939         [BZ #2547]
32940         [BZ #11365]
32941         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32942         manipulate bits before adding and subtracting TWO23[sx].
32943         * math/libm-test.inc (nearbyint_test): Add more tests.
32945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32947         [BZ #2548]
32948         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32949         bits before adding and subtracting TWO23[sx].
32950         * math/libm-test.inc (rint_test): Add more tests.
32951         (rint_test_tonearest): Likewise.
32952         (rint_test_towardzero): Likewise.
32953         (rint_test_downward): Likewise.
32954         (rint_test_upward: Likewise.
32956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32958         [BZ #10110]
32959         * include/stdc-predef.h: New file.  Extracted from features.h.
32960         * include/features.h: Include stdc-predef.h.
32961         * Makefile (headers): Add stdc-predef.h.
32962         * CONFORMANCE (Compiler limitations): Update.
32964 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32966         * manual/libc.texinfo (VERSION, UPDATED): Revert.
32968 2012-02-21  David S. Miller  <davem@davemloft.net>
32970         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32971         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32973 2012-02-20  David S. Miller  <davem@davemloft.net>
32975         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32976         using a normal save/restore sequence, rather than allocating a
32977         dummy stack frame just to store a frame pointer and restore.
32978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32980 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32982         * manual/install.texi: Fix stray word in line-wrapped comment.
32984 2012-02-20  David S. Miller  <davem@davemloft.net>
32986         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32987         both binutils and gcc support GOTDATA.
32989         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32990         "rd %pc" in the PIC register setup sequences.
32992         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32993         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32994         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32995         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32996         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32997         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33001         (SYSCALL_ERROR_HANDLER): Likewise.
33002         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33003         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33005         (SYSCALL_ERROR_HANDLER): Likewise.
33007         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33008         (HAVE_GCC_GOTDATA): New.
33009         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33010         relocation support in both binutils and gcc.
33011         * sysdeps/sparc/elf/configure: Regenerate.
33013         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33014         * sysdeps/sparc/sparc32/elf/configure: Delete.
33015         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33016         * sysdeps/sparc/sparc64/elf/configure: Delete.
33017         * sysdeps/sparc/elf/configure.in: New file.
33018         * sysdeps/sparc/elf/configure: Generate.
33020         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33021         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33022         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33023         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33024         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33026 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33028         * manual/install.texi: Do not mention specific glibc version
33029         numbers.
33030         * manual/libc.texinfo (VERSION, UPDATED): Update.
33031         (@copying): Use @copyright{} and range of years.
33033 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33035         [BZ #13695]
33036         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33037         [crti.S not in sysdirs] (generated): Do not append.
33038         [crti.S not in sysdirs] (omit-deps): Likewise.
33039         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33040         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33041         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33042         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33043         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33044         Likewise.
33045         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33046         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33047         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33048         * csu/defs.awk: Remove file.
33049         * sysdeps/generic/initfini.c: Likewise.
33050         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33051         variable.
33052         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33053         Likewise.
33055 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33057         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33058         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33059         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33060         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33061         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33062         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33063         <bits/epoll.h>.
33064         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33065         (__EPOLL_PACKED): Define to empty if not defined by
33066         <bits/epoll.h>.
33067         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33069         bits/epoll.h.
33071 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33073         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33074         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33075         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33076         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33077         <bits/timerfd.h>.
33078         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33080         bits/timerfd.h.
33082 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33084         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33085         in C locale.
33086         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33087         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33088         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33093         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33094         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33096 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33098         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33099         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33100         defined.
33101         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33102         Likewise.
33103         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33104         entry for 2.16.
33106 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33108         * math/w_acos.c: Use non-signaling floating-point comparisons.
33109         * math/w_acosf.c: Likewise.
33110         * math/w_acosh.c: Likewise.
33111         * math/w_acoshf.c: Likewise.
33112         * math/w_acoshl.c: Likewise.
33113         * math/w_acosl.c: Likewise.
33114         * math/w_asin.c: Likewise.
33115         * math/w_asinf.c: Likewise.
33116         * math/w_asinl.c: Likewise.
33117         * math/w_atanh.c: Likewise.
33118         * math/w_atanhf.c: Likewise.
33119         * math/w_atanhl.c: Likewise.
33120         * math/w_exp2.c: Likewise.
33121         * math/w_exp2f.c: Likewise.
33122         * math/w_exp2l.c: Likewise.
33123         * math/w_j0.c: Likewise.
33124         * math/w_j0f.c: Likewise.
33125         * math/w_j0l.c: Likewise.
33126         * math/w_j1.c: Likewise.
33127         * math/w_j1f.c: Likewise.
33128         * math/w_j1l.c: Likewise.
33129         * math/w_jn.c: Likewise.
33130         * math/w_jnf.c: Likewise.
33131         * math/w_log.c: Likewise.
33132         * math/w_log10.c: Likewise.
33133         * math/w_log10f.c: Likewise.
33134         * math/w_log10l.c: Likewise.
33135         * math/w_log2.c: Likewise.
33136         * math/w_log2f.c: Likewise.
33137         * math/w_log2l.c: Likewise.
33138         * math/w_logf.c: Likewise.
33139         * math/w_logl.c: Likewise.
33140         * math/w_sqrt.c: Likewise.
33141         * math/w_sqrtf.c: Likewise.
33142         * math/w_sqrtl.c: Likewise.
33143         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33144         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33145         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33146         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33147         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33149 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33151         [BZ #9739]
33152         * manual/string.texi (strnlen): Use correct parameter name in
33153         equivalent expression.
33155 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33157         [BZ #11174]
33158         * manual/users.texi (seteuid): Consistently use neweuid for
33159         argument name.
33161 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33163         [BZ #13704]
33164         * manual/nss.texi (Services in the NSS configuration): Correct
33165         list of services in example configuration file.
33167 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33169         [BZ #11322]
33170         * manual/arith.texi: Remove statements about negative zero
33171         behaving identically to zero.
33173 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33175         [BZ #5993]
33176         * manual/install.texi: Do not document upgrading from libc5.
33178 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33180         [BZ #4596]
33181         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33183 2012-02-18  David S. Miller  <davem@davemloft.net>
33185         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33186         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33187         %o7 across the call.
33188         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33189         instead.
33190         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33191         SETUP_PIC_REG_LEAF.
33192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33193         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33194         * sysdeps/sparc/crtn.S: Likewise.
33196 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33198         * aout/Makefile: Remove.
33200 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33202         [BZ #13058]
33203         * manual/examples/argp-ex1.c (main): Format definition in GNU
33204         style.
33205         * manual/examples/argp-ex2.c (main): Likewise.
33206         * manual/examples/argp-ex3.c (main): Likewise.
33207         * manual/examples/argp-ex4.c (main): Likewise.
33208         * manual/examples/longopt.c (main): Use new-style prototype
33209         definition.
33210         * manual/examples/strncat.c (main): Specify return type and use
33211         (void) for arguments.
33212         * manual/examples/subopt.c (main): Use char **argv argument.
33214 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33216         [BZ #5077]
33217         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33218         rounding modes.
33220 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33222         [BZ #6907]
33223         * manual/string.texi (strchr): Change when strchrnul is
33224         recommended.
33226 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33228         [BZ #174]
33229         * manual/locale.texi (setlocale): Document LOCPATH.
33231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33233         [BZ #10210]
33234         * manual/process.texi (execle): Move @dots{} before last argument.
33236 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33238         [BZ #12047]
33239         * manual/charset.texi (Generic Charset Conversion): Fix typo
33240         (LC_TYPE -> LC_CTYPE).
33242 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33244         [BZ #5805]
33245         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33246         (scalbnf): Likewise.
33247         (scalbnl): Likewise.
33248         (scalbln): Likewise.
33249         (scalblnf): Likewise.
33250         (scalblnl): Likewise.
33251         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33252         (vwarnx): Likewise.
33253         (verr): Likewise.
33254         (verrx): Likewise.
33255         * manual/filesys.texi (telldir): Use braces around return type.
33256         * manual/llio.texi (mmap): Add space after comma.
33257         (mmap64): Likewise.
33258         * manual/math.texi (jn): Use @var{} on parameter names.
33259         (jnf): Likewise.
33260         (jnl): Likewise.
33261         (yn): Likewise.
33262         (ynf): Likewise.
33263         (ynl): Likewise.
33264         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33265         line.
33266         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33267         "...".
33268         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33269         (sched_get_priority_max): Likewise.
33270         * manual/signal.texi (sigvec): Add space after comma.
33271         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33272         names.
33273         (if_indextoname): Likewise.
33274         (if_freenameindex): Likewise.
33275         (sendto): Use ',' instead of '.' in prototype.
33276         * manual/startup.texi (syscall): Use @dots{} instead of literal
33277         "...".
33278         * manual/stdio.texi (__fpending): Separate initial words of
33279         paragraph from @deftypefun line.
33280         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33281         "...".
33282         (vsyslog): Use @var{} on parameter names.
33283         * manual/terminal.texi (stty): Use @var{} on parameter names.
33284         * manual/users.texi (getutmp): Use @var{} on parameter names.
33285         (getutmpx): Likewise.
33287 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33289         [BZ #6884]
33290         * manual/stdio.texi (fopen): Fix typos in description of
33291         ",ccs=STRING".
33293 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33295         [BZ #4026]
33296         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33297         get clock_id definition.
33299 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33301         [BZ #4822]
33302         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33303         (madvise): Cast every argument to void on its own.
33305 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33307         [BZ #9902]
33308         * manual/startup.texi (Exit Status): Fix typo.
33310 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33312         [BZ #10140]
33313         * manual/examples/argp-ex1.c: Include <stdlib.h>.
33314         * manual/examples/argp-ex2.c: Likewise.
33315         * manual/examples/argp-ex3.c: Likewise.
33317 2012-02-16  Richard Henderson  <rth@redhat.com>
33319         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33320         * sysdeps/s390/s390-32/initfini.c: Remove.
33321         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33322         * sysdeps/s390/s390-64/initfini.c: Remove.
33324 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33326         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33327         compiler output for sysdeps/generic/initfini.c.
33328         * sysdeps/sh/elf/initfini.c: Remove file.
33330 2012-02-16  David S. Miller  <davem@davemloft.net>
33332         [BZ #11494]
33333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33335         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33336         * sysdeps/sparc/crti.S: New file.
33337         * sysdeps/sparc/crtn.S: New file.
33338         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33339         * sysdeps/sparc/sparc64/Makefile: Likewise.
33341 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
33343         [BZ #3335]
33344         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
33346 2012-02-15  Roland McGrath  <roland@hack.frob.com>
33348         [BZ #4822]
33349         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
33351         * mach/devstream.c (cookie_io_functions_t): Macro removed.
33352         (write, read, close): Likewise.
33353         Patch by Aurelien Jarno <aurelien@aurel32.net>.
33355 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
33357         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
33358         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
33359         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
33360         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
33361         <bits/signalfd.h>.
33362         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
33363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33364         bits/signalfd.h.
33366 2012-02-14  Marek Polacek  <polacek@redhat.com>
33368         * sysdeps/x86_64/crti.S: New file.
33369         * sysdeps/x86_64/crtn.S: New file.
33370         * sysdeps/x86_64/elf/initfini.c: Remove file.
33372 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33374         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
33375         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
33376         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
33377         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
33378         <bits/inotify.h>.
33379         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
33380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33381         bits/inotify.h.
33383 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
33385         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
33386         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
33387         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
33388         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
33389         <bits/eventfd.h>.
33390         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
33391         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33392         bits/eventfd.h.
33394 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
33396         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
33397         __feraiseexcept instead of feraiseexcept.
33399         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
33400         nanosleep invocations.
33401         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
33402         strings, and add error checking for a nanosleep invocations.
33404 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
33406         Replace FSF snail mail address with URLs, as per GNU coding standards.
33407         Most of the snail mail addresses were wrong anyway, and omitting
33408         them makes the source code easier to maintain.  Almost all of the
33409         changes are to license notices and to locale LC_IDENTIFICATION
33410         addresses, except for this one:
33411         * manual/libc.texinfo: In "Published by", give the FSF's URL,
33412         not its snail mail address.
33414 2012-02-09  Richard Henderson  <rth@twiddle.net>
33416         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
33417         of kernel-features.h.
33419         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
33421 2012-02-08  Marek Polacek  <polacek@redhat.com>
33423         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
33424         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
33425         * sysdeps/gnu/_G_config.h: Likewise.
33426         * sysdeps/generic/_G_config.h: Likewise.
33428 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
33430         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
33431         tests.
33432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33434         * sysdeps/powerpc/powerpc32/crti.S: New file.
33435         * sysdeps/powerpc/powerpc32/crtn.S: New file.
33436         * sysdeps/powerpc/powerpc64/crti.S: New file.
33437         * sysdeps/powerpc/powerpc64/crtn.S: New file.
33439         * Makeconfig (have-initfini): Don't set.
33440         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
33441         * configure.in (nopic_initfini): Don't substitute.
33442         * config.h.in (HAVE_INITFINI): Don't #undef.
33443         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
33444         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
33446 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
33448         Support crti.S and crtn.S provided directly by architectures.
33449         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
33450         [crti.S in sysdirs] (omit-deps): Likewise.
33451         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
33452         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
33453         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
33454         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
33455         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
33456         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
33457         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
33458         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
33459         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
33460         compiler output for sysdeps/generic/initfini.c.
33461         * sysdeps/i386/elf/Makefile: Remove file.
33462         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
33464 2012-02-07  Marek Polacek  <polacek@redhat.com>
33466         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
33467         * sysdeps/gnu/_G_config.h: Likewise.
33468         * sysdeps/mach/hurd/_G_config.h: Likewise.
33470 2012-02-07  Marek Polacek  <polacek@redhat.com>
33472         * math/Makefile (tests): Add tst-CMPLX2.
33473         * math/tst-CMPLX2.c: New file.
33475 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
33477         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33479         * math/libm-test.inc (jn_test): Add missing L suffix.
33481 2012-02-06  Marek Polacek  <polacek@redhat.com>
33483         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
33484         * sysdeps/i386/fpu/e_powf.S: Likewise.
33485         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33486         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33487         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33488         * sysdeps/i386/fpu/e_pow.S: Likewise.
33489         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33490         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33491         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33492         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33493         * sysdeps/i386/fpu/e_log2.S: Likewise.
33494         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33495         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33496         * sysdeps/i386/fpu/e_powl.S: Likewise.
33497         * sysdeps/i386/fpu/s_log1p.S: Likewise.
33498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33499         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33500         * sysdeps/i386/fpu/e_logl.S: Likewise.
33501         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33502         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
33503         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33504         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33505         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33506         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33507         * sysdeps/i386/fpu/e_log.S: Likewise.
33508         * sysdeps/i386/fpu/s_cexp.S: Likewise.
33509         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33510         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
33511         * sysdeps/i386/fpu/e_logf.S: Likewise.
33512         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33513         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33514         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
33515         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33516         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33517         * sysdeps/i386/fpu/e_log10.S: Likewise.
33518         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33519         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33520         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33521         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33522         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33523         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33524         * sysdeps/i386/asm-syntax.h: Likewise.
33525         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33527         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33528         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
33529         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
33530         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33531         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33532         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33533         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33534         * sysdeps/powerpc/sysdep.h: Likewise.
33535         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
33536         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33538 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33540         [BZ #411]
33541         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
33543 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
33545         * sysdeps/i386/sysdep.h: Include <features.h>.
33546         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
33547         version.
33549 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
33551         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
33552         Define.
33553         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
33554         LOAD_PIC_REG_STR.
33556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33558         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
33559         (SETUP_PIC_REG): Use GET_PC_THUNK.
33560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
33561         macro.
33563 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33565         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
33566         for non-PIC compilation.
33567         (SETUP_PIC_REG): Add .p2align directive.
33568         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
33569         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33570         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33571         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33572         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33573         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33574         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33575         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33576         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33577         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33578         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33579         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33580         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33581         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33582         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33583         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33584         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33585         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33586         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33587         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33588         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33590         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33591         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33594         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33595         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33596         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33597         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33598         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33599         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33600         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33601         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33602         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33603         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33604         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33605         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33606         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33607         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33608         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33610 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
33612         * math/tst-CMPLX.c: Include <stdio.h>.
33614 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
33616         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
33617         float.
33618         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33619         * sysdeps/sparc/bits/mathdef.h: Likewise.
33621 2012-01-31  Marek Polacek  <polacek@redhat.com>
33623         * libio/libio.h: Don't define _PARAMS.
33624         * locale/programs/config.h: Don't define PARAMS.
33625         * stdlib/strtol_l.c: Likewise.
33626         (__strtol_l): Remove PARAMS from the prototype.
33628 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
33630         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
33631         names.  Just use the correct names.  Remove unnecessary wrapper
33632         functions.
33633         * malloc/arena.c: Likewise.
33634         * malloc/hooks.c: Likewise.
33636         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33637         ARENA_TEST says not to.  Simplify test for creation of a new arena.
33638         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33640 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
33642         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33643         into tail calls.
33644         (update_get_addr): New function.
33645         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33646         GET_ADDR_MODULE parameter.
33648 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33650         * crypt/cert.c: Remove __STDC__ conditionals.
33651         * crypt/crypt-entry.c: Likewise.
33652         * crypt/crypt_util.c: Likewise.
33653         * libio/filedoalloc.c: Likewise.
33654         * libio/fileops.c: Likewise.
33655         * libio/genops.c: Likewise.
33656         * libio/iofclose.c: Likewise.
33657         * libio/iofdopen.c: Likewise.
33658         * libio/iofopen.c: Likewise.
33659         * libio/iofopen64.c: Likewise.
33660         * libio/iogetdelim.c: Likewise.
33661         * libio/iopopen.c: Likewise.
33662         * libio/obprintf.c: Likewise.
33663         * libio/oldfileops.c: Likewise.
33664         * libio/oldiofclose.c: Likewise.
33665         * libio/oldiofdopen.c: Likewise.
33666         * libio/oldiofopen.c: Likewise.
33667         * libio/oldiopopen.c: Likewise.
33668         * libio/wfiledoalloc.c: Likewise.
33669         * libio/wgenops.c: Likewise.
33670         * locale/programs/xmalloc.c: Likewise.
33671         * misc/syslog.c: Likewise.
33672         * stdio-common/xbug.c: Likewise.
33673         * string/memchr.c: Likewise.
33674         * string/memcmp.c: Likewise.
33675         * string/memrchr.c: Likewise.
33676         * string/rawmemchr.c: Likewise.
33677         * sysdeps/posix/getcwd.c: Likewise.
33678         * time/strftime_l.c: Likewise.
33680 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
33682         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33683         * config.make.in (config-cflags-sse2avx): Define.
33684         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33685         Fix typo.
33687 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
33689         * scripts/config.guess: Update from upstream config git repository.
33690         * scripts/config.sub: Likewise.
33692 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
33694         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33695         (EM_NUM): Update.
33696         (R_TILEPRO_*, R_TILEGX_*): New macros.
33698         * scripts/firstversions.awk: Fix bug in version range handling.
33700         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33702         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33704         * include/sys/epoll.h: New file.
33705         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33706         libc_hidden_def.
33708 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
33710         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33711         Avoid unnecessary __WORDSIZE == 64 test.
33712         (fmaxf): Use VEX format if possible.
33713         (fmax): Likewise.
33714         (fminf): Likewise.
33715         (fmin): Likewise.
33717         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33718         * math/math_private.h: Remove libc_fegetround* and
33719         libc_fesetround*.
33720         * sysdeps/i386/configure.in: Check for -msse2avx.
33721         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33722         also if SSE2AVX is defined.
33723         Remove libc_fegetround* and libc_fesetround*.
33724         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33725         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
33726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33727         of HAS_YMM_USABLE.
33728         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33729         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33732         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33734         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33736 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33738         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33739         size is not set.
33740         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33742 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
33744         [BZ #13618]
33745         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33746         relocation.
33747         * Makeconfig (libm): Define.
33748         * elf/Makefile: Add rules to build and run tst-relsort1.
33749         * elf/tst-relsort1.c: New file.
33750         * elf/tst-relsort1mod1.c: New file.
33751         * elf/tst-relsort1mod2.c: New file.
33753 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
33755         * math/s_ldexp.c: Remove __STDC__ conditionals.
33756         * math/s_ldexpf.c: Likewise.
33757         * math/s_ldexpl.c: Likewise.
33758         * math/s_nextafter.c: Likewise.
33759         * math/s_nexttowardf.c: Likewise.
33760         * math/s_significand.c: Likewise.
33761         * math/s_significandf.c: Likewise.
33762         * math/s_significandl.c: Likewise.
33763         * math/w_jnl.c: Likewise.
33764         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33765         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33766         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33767         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33768         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33770         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33771         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33772         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33773         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33774         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33777         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33778         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33779         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33780         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33781         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33783         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33784         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33785         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33786         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33787         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33788         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33789         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33790         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33791         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33792         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33793         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33795         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33796         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33797         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33798         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33799         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33800         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33801         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33802         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33803         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33804         * sysdeps/ieee754/k_standard.c: Likewise.
33805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33806         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33807         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33808         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33812         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33813         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33814         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33815         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33816         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33817         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33818         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33819         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33821         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33822         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33823         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33824         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33827         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33828         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33829         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33830         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33831         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33832         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33835         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33837         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33838         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33840         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33841         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33842         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33843         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33844         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33845         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33848         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33849         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33852         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33853         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33855         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33856         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33858         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33859         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33860         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33861         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33862         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33863         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33864         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33865         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33866         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33867         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33868         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33869         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33870         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33871         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33872         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33876         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33879         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33880         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33884         * sysdeps/ieee754/s_matherr.c: Likewise.
33885         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33886         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33890 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33892         * crypt/md5.h: Remove __STDC__ conditionals.
33893         * libio/libioP.h: Likewise.
33894         * locale/programs/config.h: Likewise.
33895         * sysdeps/generic/sysdep.h: Likewise.
33896         * sysdeps/i386/asm-syntax.h: Likewise.
33897         * sysdeps/s390/asm-syntax.h: Likewise.
33898         * sysdeps/unix/sysdep.h: Likewise.
33899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33902 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33904         * libio/libio.h: Remove __STDC__ conditionals.
33905         * malloc/obstack.h: Likewise.
33906         * math/complex.h: Likewise.
33907         * math/math.h: Likewise.
33908         * sysdeps/generic/_G_config.h: Likewise.
33909         * sysdeps/gnu/_G_config.h: Likewise.
33910         * sysdeps/mach/hurd/_G_config.h: Likewise.
33911         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33912         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33913         * sysdeps/sparc/bits/mathdef.h: Likewise.
33915 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
33917         [BZ #13583]
33918         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33919         Clean up HAS_* macros.
33920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33921         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33922         possible.
33923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33924         HAS_AVX.
33925         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33926         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33927         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33928         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33929         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33931 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
33933         * elf/tst-unique3.cc (gets): Remove declaration.
33934         * elf/tst-unique3lib.cc (gets): Likewise.
33935         * elf/tst-unique3lib2.cc (gets): Likewise.
33936         * elf/tst-unique4.cc (gets): Likewise.
33938 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
33940         * include/stdio.h: Add C++ protection.  Add gets declarations and
33941         definitions.
33942         * debug/tst-chk1.c: Don't declare gets here.
33943         * stdio-common/tst-gets.c: Likewise.
33945 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33947         * posix/glob: Remove directory.
33949 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33951         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33953 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
33955         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33956         of the non-standard EPFNOSUPPORT.
33958 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33960         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33961         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33962         ANYWHERE set to 1 only on KERN_NO_SPACE error.
33964 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
33966         * wcsmbs/uchar.h: Test __STDC_VERSION__.
33968 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
33970         * nscd/aicache.c (addhstaiX): Do not cache negative results of
33971         transient errors.
33972         * nscd/grpcache.c (cache_addgr): Likewise.
33973         * nscd/hstcache.c (cache_addhst): Likewise.
33974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33975         * nscd/pwdcache.c (cache_addpw): Likewise.
33976         * nscd/servicescache.c (cache_addserv): Likewise.
33978 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
33980         * malloc/malloc.c: Various cleanups.
33981         * malloc/hooks.c: Likewise.
33983         * stdlib/Makefile (tests): Add bug-fmtmsg1.
33984         * stdlib/bug-fmtmsg1.c: New file.
33986         * stdlib/fmtmsg.c (init): Add missing unlock.
33987         Patch by Peng Haitao <penght@cn.fujitsu.com>.
33989 2012-01-12  Marek Polacek  <polacek@redhat.com>
33991         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33992         and _GNU_SOURCE.
33994 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33996         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33997         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33998         macro to ensure uniqueness of label name.
33999         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34000         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34002 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34004         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34006         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34007         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34008         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34009         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34011 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34013         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34015         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34016         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34017         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34019         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34021         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34022         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34023         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34026         * math/bits/math-finite.h: Add ldexp support.
34028 2012-01-10  Marek Polacek  <polacek@redhat.com>
34030         * locale/programs/localedef.h (show_archive_content): Add noreturn
34031         attribute.
34033 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34035         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34037 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34039         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34041         * io/Makefile (headers): Add bits/poll2.h.
34043 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34046         typo #include statement.
34048 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34050         * include/sys/cdefs.h: Define __attribute_alloc_size.
34051         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34052         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34053         * elf/pldd.c: Likewise.
34054         * iconv/iconv_charmap.c: Likewise.
34055         * iconv/iconvconfig.c: Likewise.
34056         * iconv/strtab.c: Likewise.
34057         * locale/programs/locale.c: Likewise.
34058         * locale/programs/localedef.h: Likewise.
34059         * locale/programs/simple-hash.c: Likewise.
34060         * nscd/nscd.h: Likewise.
34061         * nss/makedb.c: Likewise.
34062         * sysdeps/generic/ldconfig.h: Likewise.
34063         * locale/programs/localedef.c: Remove xmalloc prototype.
34064         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34066 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34068         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34069         appropriate.
34071 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34073         * math/Makefile (tests): Add tst-CMPLX.
34074         * math/tst-CMPLX.c: New file.
34076         * math/complex.h (CMPLXL): Fix typo.
34078         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34079         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34080         GLIBC_2.16.
34081         * debug/tst-chk1.c: Add poll and ppoll tests.
34082         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34083         * include/sys/poll.h: Add hidden proto for ppoll.
34084         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34085         * sysdeps/mach/hurd/ppoll.c: Likewise.
34086         * io/ppoll.c: Likewise.
34087         * debug/poll_chk.c: New file.
34088         * debug/ppoll_chk.c: New file.
34089         * include/bits/poll2.h: New file.
34090         * io/bits/poll2.h: New file.
34092         [BZ #1350]
34093         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34095         * configure.in: static is always set to yes.  Remove.
34096         * config.make.in: Don't set build-static.
34097         * Makeconfig: Remove use of build-static.
34098         * dlfcn/Makefile: Likewise.
34099         * elf/Makefile: Likewise.
34100         * math/Makefile: Likewise.
34101         * misc/Makefile: Likewise.
34102         * nptl/Makefile: Likewise.
34103         * sysdeps/mach/hurd/Makefile: Likewise.
34105         * configure.in: PWD_P is not used anymore.
34106         * config.make.in: Remove PWD_P entry.
34108         * configure.in: Remove last remnants of RANLIB.
34109         No need to check for signed size_t anymore.
34110         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34111         and IA-64.
34112         Remove __builtin_expect test because we require at least gcc 3.4.
34113         * aclocal.m4: Likewise.
34115         * wcsmbs/mbrtoc16.c: Implement using towc function.
34116         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34117         * wcsmbs/wcsmbsload.c: Likewise.
34118         * iconv/gconv_simple.c: Likewise.
34119         * iconv/gconv_int.h: Likewise.
34120         * iconv/gconv_builtin.h: Likewise.
34121         * iconv/iconv_prog.c: Remove CHAR16 handling.
34123         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34125         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34127         * configure.in: Remove --with-elf and --enable-bounded options.
34128         Dont set base_machine for ia64.  More non-ELF conditions removed.
34129         Remove testing and setting of leading underscore information.
34130         * config.make.in (build-bounded): Set to no.
34131         * config.h.in: Remove NO_UNDERSCORES entry.
34132         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34133         them.
34134         * csu/start.c: Remove !NO_UNDERSCORE code.
34135         * locale/localeinfo.h: Likewise.
34136         * sysdeps/generic/machine-gmon.h: Likewise.
34137         * sysdeps/generic/sysdep.h: Likewise.
34138         * sysdeps/i386/sysdep.h: Likewise.
34139         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34140         * sysdeps/mach/sysdep.h: Likewise.
34141         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34142         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34143         * sysdeps/sh/sysdep.h: Likewise.
34144         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34145         * sysdeps/unix/i386/sysdep.S: Likewise.
34146         * sysdeps/unix/sparc/start.c: Likewise.
34147         * sysdeps/unix/sparc/sysdep.S: Likewise.
34148         * sysdeps/unix/sparc/sysdep.h: Likewise.
34149         * sysdeps/unix/start.c: Likewise.
34150         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34151         * sysdeps/x86_64/sysdep.h: Likewise.
34153 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34155         [BZ #13553]
34156         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34157         for non-gcc.
34158         * argp/argp-fmtstream.h: Use const instead __const.
34159         * argp/argp.h: Likewise.
34160         * assert/assert.h: Likewise.
34161         * bits/fenv.h: Likewise.
34162         * bits/sched.h: Likewise.
34163         * bits/sigset.h: Likewise.
34164         * bits/sigthread.h: Likewise.
34165         * catgets/nl_types.h: Likewise.
34166         * conform/data/pthread.h-data: Likewise.
34167         * crypt/crypt-private.h: Likewise.
34168         * crypt/crypt.h: Likewise.
34169         * crypt/crypt_util.c: Likewise.
34170         * ctype/ctype.h: Likewise.
34171         * debug/execinfo.h: Likewise.
34172         * debug/mbsnrtowcs_chk.c: Likewise.
34173         * debug/mbsrtowcs_chk.c: Likewise.
34174         * debug/wcsnrtombs_chk.c: Likewise.
34175         * debug/wcsrtombs_chk.c: Likewise.
34176         * debug/wcstombs_chk.c: Likewise.
34177         * dirent/dirent.h: Likewise.
34178         * dlfcn/dlfcn.h: Likewise.
34179         * elf/neededtest4.c: Likewise.
34180         * grp/grp.h: Likewise.
34181         * gshadow/gshadow.h: Likewise.
34182         * iconv/gconv.h: Likewise.
34183         * iconv/gconv_int.h: Likewise.
34184         * iconv/gconv_simple.c: Likewise.
34185         * iconv/iconv.h: Likewise.
34186         * iconv/loop.c: Likewise.
34187         * iconv/skeleton.c: Likewise.
34188         * include/aio.h: Likewise.
34189         * include/aliases.h: Likewise.
34190         * include/argz.h: Likewise.
34191         * include/arpa/inet.h: Likewise.
34192         * include/assert.h: Likewise.
34193         * include/dirent.h: Likewise.
34194         * include/dlfcn.h: Likewise.
34195         * include/execinfo.h: Likewise.
34196         * include/fcntl.h: Likewise.
34197         * include/fenv.h: Likewise.
34198         * include/glob.h: Likewise.
34199         * include/grp.h: Likewise.
34200         * include/libintl.h: Likewise.
34201         * include/mntent.h: Likewise.
34202         * include/netdb.h: Likewise.
34203         * include/pwd.h: Likewise.
34204         * include/rpc/netdb.h: Likewise.
34205         * include/sched.h: Likewise.
34206         * include/search.h: Likewise.
34207         * include/shadow.h: Likewise.
34208         * include/signal.h: Likewise.
34209         * include/stdio.h: Likewise.
34210         * include/stdlib.h: Likewise.
34211         * include/string.h: Likewise.
34212         * include/sys/socket.h: Likewise.
34213         * include/sys/stat.h: Likewise.
34214         * include/sys/statfs.h: Likewise.
34215         * include/sys/statvfs.h: Likewise.
34216         * include/sys/syslog.h: Likewise.
34217         * include/sys/time.h: Likewise.
34218         * include/sys/uio.h: Likewise.
34219         * include/time.h: Likewise.
34220         * include/unistd.h: Likewise.
34221         * include/utmp.h: Likewise.
34222         * include/wchar.h: Likewise.
34223         * include/wctype.h: Likewise.
34224         * inet/aliases.h: Likewise.
34225         * inet/arpa/inet.h: Likewise.
34226         * inet/netinet/ether.h: Likewise.
34227         * inet/netinet/in.h: Likewise.
34228         * intl/libintl.h: Likewise.
34229         * io/bits/fcntl2.h: Likewise.
34230         * io/fcntl.h: Likewise.
34231         * io/ftw.h: Likewise.
34232         * io/sys/poll.h: Likewise.
34233         * io/sys/stat.h: Likewise.
34234         * io/sys/statfs.h: Likewise.
34235         * io/sys/statvfs.h: Likewise.
34236         * io/utime.h: Likewise.
34237         * libio/bits/stdio.h: Likewise.
34238         * libio/bits/stdio2.h: Likewise.
34239         * libio/libio.h: Likewise.
34240         * libio/libioP.h: Likewise.
34241         * libio/stdio.h: Likewise.
34242         * locale/lc-ctype.c: Likewise.
34243         * locale/locale.h: Likewise.
34244         * login/utmp.h: Likewise.
34245         * malloc/arena.c: Likewise.
34246         * malloc/malloc.c: Likewise.
34247         * malloc/malloc.h: Likewise.
34248         * malloc/mcheck.c: Likewise.
34249         * malloc/mtrace.c: Likewise.
34250         * math/bits/mathcalls.h: Likewise.
34251         * math/fenv.h: Likewise.
34252         * math/math_private.h: Likewise.
34253         * misc/bits/error.h: Likewise.
34254         * misc/bits/syslog.h: Likewise.
34255         * misc/err.h: Likewise.
34256         * misc/error.h: Likewise.
34257         * misc/fstab.h: Likewise.
34258         * misc/mntent.h: Likewise.
34259         * misc/regexp.h: Likewise.
34260         * misc/search.h: Likewise.
34261         * misc/sgtty.h: Likewise.
34262         * misc/sys/mman.h: Likewise.
34263         * misc/sys/syslog.h: Likewise.
34264         * misc/sys/uio.h: Likewise.
34265         * misc/sys/xattr.h: Likewise.
34266         * misc/ttyent.h: Likewise.
34267         * nis/rpcsvc/ypclnt.h: Likewise.
34268         * nss/nss.h: Likewise.
34269         * posix/bits/unistd.h: Likewise.
34270         * posix/fnmatch.h: Likewise.
34271         * posix/glob.h: Likewise.
34272         * posix/sched.h: Likewise.
34273         * posix/spawn.h: Likewise.
34274         * posix/sys/wait.h: Likewise.
34275         * posix/unistd.h: Likewise.
34276         * posix/wordexp.h: Likewise.
34277         * pwd/pwd.h: Likewise.
34278         * resolv/netdb.h: Likewise.
34279         * resource/sys/resource.h: Likewise.
34280         * rt/aio.h: Likewise.
34281         * rt/bits/mqueue2.h: Likewise.
34282         * rt/mqueue.h: Likewise.
34283         * shadow/shadow.h: Likewise.
34284         * signal/signal.h: Likewise.
34285         * socket/send.c: Likewise.
34286         * socket/sendto.c: Likewise.
34287         * socket/sys/socket.h: Likewise.
34288         * stdio-common/printf.h: Likewise.
34289         * stdlib/bits/stdlib.h: Likewise.
34290         * stdlib/fmtmsg.h: Likewise.
34291         * stdlib/monetary.h: Likewise.
34292         * stdlib/stdlib.h: Likewise.
34293         * stdlib/ucontext.h: Likewise.
34294         * streams/stropts.h: Likewise.
34295         * string/argz.h: Likewise.
34296         * string/bits/string2.h: Likewise.
34297         * string/string.h: Likewise.
34298         * string/strings.h: Likewise.
34299         * sunrpc/rpc/auth.h: Likewise.
34300         * sunrpc/rpc/auth_des.h: Likewise.
34301         * sunrpc/rpc/clnt.h: Likewise.
34302         * sunrpc/rpc/netdb.h: Likewise.
34303         * sunrpc/rpc/pmap_clnt.h: Likewise.
34304         * sunrpc/rpc/xdr.h: Likewise.
34305         * sysdeps/generic/inttypes.h: Likewise.
34306         * sysdeps/generic/net/if.h: Likewise.
34307         * sysdeps/generic/sys/swap.h: Likewise.
34308         * sysdeps/gnu/net/if.h: Likewise.
34309         * sysdeps/gnu/utmpx.h: Likewise.
34310         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34311         * sysdeps/i386/i486/bits/string.h: Likewise.
34312         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34313         * sysdeps/s390/bits/string.h: Likewise.
34314         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34315         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34316         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34317         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34318         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34319         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34320         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34321         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34322         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34323         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34324         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34325         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34326         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34327         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34328         * sysdeps/unix/sysv/linux/readv.c: Likewise.
34329         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34330         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34332         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34334         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34335         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34336         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34337         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34338         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34339         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34340         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34341         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34342         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34343         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34344         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
34345         * sysvipc/sys/ipc.h: Likewise.
34346         * sysvipc/sys/msg.h: Likewise.
34347         * sysvipc/sys/sem.h: Likewise.
34348         * sysvipc/sys/shm.h: Likewise.
34349         * termios/termios.h: Likewise.
34350         * time/sys/time.h: Likewise.
34351         * time/time.h: Likewise.
34352         * wcsmbs/bits/wchar2.h: Likewise.
34353         * wcsmbs/uchar.h: Likewise.
34354         * wcsmbs/wchar.h: Likewise.
34355         * wctype/wctype.h: Likewise.
34357         [BZ #13551]
34358         * Makeconfig: Remove all but ELF support including AIX support.
34359         * Makerules: Likewise.
34360         * config.h.in: Likewise.
34361         * config.make.in: Likewise.
34362         * configure: Likewise.
34363         * configure.in: Likewise.
34364         * csu/Makefile: Likewise.
34365         * csu/version.c: Likewise.
34366         * debug/Makefile: Likewise.
34367         * dlfcn/Makefile: Likewise.
34368         * elf/Makefile: Likewise.
34369         * extra-lib.mk: Likewise.
34370         * iconv/Makefile: Likewise.
34371         * include/libc-symbols.h: Likewise.
34372         * include/shlib-compat.h: Likewise.
34373         * resolv/Makefile: Likewise.
34374         * resolv/res_libc.c: Likewise.
34375         * rt/Makefile: Likewise.
34376         * sysdeps/i386/asm-syntax.h: Likewise.
34377         * sysdeps/i386/sysdep.h: Likewise.
34378         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34379         * sysdeps/mach/sysdep.h: Likewise.
34380         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
34381         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
34382         * sysdeps/s390/asm-syntax.h: Likewise.
34383         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34384         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34385         * sysdeps/sh/sysdep.h: Likewise.
34386         * sysdeps/unix/sparc/sysdep.h: Likewise.
34387         * sysdeps/wordsize-32/divdi3.c: Likewise.
34388         * sysdeps/x86_64/sysdep.h: Likewise.
34390         * argp/Versions: Remove _argp_unlock_xxx.
34392         [BZ #13559]
34393         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
34394         * abilist/libBrokenLocale.abilist: Likewise.
34395         * abilist/libanl.abilist: Likewise.
34396         * abilist/libc.abilist: Likewise.
34397         * abilist/libcrypt.abilist: Likewise.
34398         * abilist/libdl.abilist: Likewise.
34399         * abilist/libm.abilist: Likewise.
34400         * abilist/libnsl.abilist: Likewise.
34401         * abilist/libpthread.abilist: Likewise.
34402         * abilist/libresolv.abilist: Likewise.
34403         * abilist/librt.abilist: Likewise.
34404         * abilist/libthread_db.abilist: Likewise.
34405         * abilist/libutil.abilist: Likewise.
34406         * abilist/libnss_db.abilist: New file.
34408         * scripts/abilist.awk: Add support for indirect functions.
34410         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
34412         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
34414         * shlib-versions: Remove entries for ports architectures.
34416         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
34417         files in ports.
34418         * elf/stackguard-macros.h: Remove support for IA-64.
34419         * elf/tst-auditmod1.c: Likewise.
34420         * sysdeps/generic/ldsodefs.h: Likewise.
34422         * sysdeps/unix/sysv/linux/configure.in: Ports should define
34423         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
34424         configure files.
34426         [BZ #13552]
34427         * configure.in: Remove --enable-omitfp support.
34428         * FAQ.in: Adjust.
34429         * config.make.in: Likewise.
34430         * Makeconfig: Likewise.
34431         * manual/install.texi: Likewise.
34433         In case anyone cares, the IA-64 architecture could move to ports.
34434         * sysdeps/ia64/*: Removed.
34435         * sysdeps/unix/sysv/linux/ia64/*: Removed.
34436         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
34438         [BZ #13555]
34439         * configure.in: Remove entries for unsupported architectures.
34441         [BZ #13533]
34442         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
34443         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
34444         routines.
34445         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
34446         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
34447         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
34448         fall back to using wcrtomb.
34449         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
34450         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
34451         renaming.
34452         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
34453         * wcsmbs/tst-c16c32-1.c: New file.
34455         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
34456         local variable.
34458         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
34460         * elf/tst-unique3.cc: Add explicit declaration of gets.
34461         * elf/tst-unique3lib.cc: Likewise.
34462         * elf/tst-unique3lib2.cc: Likewise.
34463         * elf/tst-unique4.cc: Likewise.
34465         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
34467 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
34469         [BZ #13566]
34470         * assert/assert.h (static_assert): Don't define for C++.
34471         * libio/stdio.h (gets): Do declare for C++ <= C++11.
34472         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
34474 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
34476         * iconv/loop.c (single loop): Fix assertion in storing of
34477         remaining bytes.
34479         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
34481 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
34483         * posix/getconf.c: Update copyright year.
34484         * nss/getent.c: Likewise.
34485         * nss/makedb.c: Likewise.
34486         * iconv/iconvconfig.c: Likewise.
34487         * iconv/iconv_prog.c: Likewise.
34488         * elf/ldconfig.c: Likewise.
34489         * elf/pldd.c: Likewise.
34490         * elf/sotruss.ksh: Likewise.
34491         * catgets/gencat.c: Likewise.
34492         * csu/version.c: Likewise.
34493         * elf/ldd.bash.in: Likewise.
34494         * elf/sprof.c (print_version): Likewise.
34495         * locale/programs/locale.c: Likewise.
34496         * locale/programs/localedef.c: Likewise.
34497         * login/programs/pt_chown.c: Likewise.
34498         * nscd/nscd.c (print_version): Likewise.
34499         * debug/xtrace.sh: Likewise.
34500         * malloc/memusage.sh: Likewise.
34501         * malloc/mtrace.pl: Likewise.
34502         * debug/catchsegv.sh: Likewise.
34504 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
34506         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
34507         pure attribute.
34509 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
34511         [BZ #13533]
34512         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
34513         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
34514         transformations.
34515         * iconv/gconv_int.h: Likewise.
34516         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
34517         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
34518         from libc for GLIBC_2.16.
34519         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
34520         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
34521         * wcsmbs/uchar.h: Really define mbstate_t.
34522         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
34523         * wcsmbs/c16rtomb.c: New file.
34524         * wcsmbs/mbrtoc16.c: New file.
34525         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
34526         for C/POSIX locale.
34527         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
34528         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
34530         * wcsmbs/wchar.h: Add missing __restrict.
34532 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34534         [BZ #13532]
34535         * time/Makefile (routines): Add timespec_get.
34536         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
34537         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
34538         timespec for ISO C11.
34539         * time/timespec_get.c: New file.
34540         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
34541         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
34543         [BZ #13531]
34544         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
34545         * stdlib/stdlib.h: Declare aligned_alloc.
34546         * Versions.def: Add GLIBC_2.16 for libc.
34547         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
34549         [BZ 13527]
34550         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
34551         ISO C11.
34553         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
34554         code.
34556         [BZ #13528]
34557         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
34559         [BZ #13529]
34560         * assert/assert.h (static_assert): Define.
34562         * version.h: Update for 2.16 development version.
34564         [BZ #13526]
34565         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
34566         _ISOC11_SOURCE.
34568         * version.h (RELEASE): Bump for 2.15 release.
34569         * include/features.h (__GLIBC_MINOR__): Bump to 15.
34571         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
34572         Patch by Marek Polacek <mpolacek@redhat.com>.
34574         * bits/byteswap.h: Protect long long constants with __extension__.
34575         * sysdeps/i386/bits/byteswap.h: Likewise.
34576         * sysdeps/ia64/bits/byteswap.h: Likewise.
34577         * sysdeps/s390/bits/byteswap.h: Likewise.
34578         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34580 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34582         [BZ #13540]
34583         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
34584         destination buffer.
34585         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34587 2011-12-23  Marek Polacek  <polacek@redhat.com>
34589         * elf/dl-addr.c (determine_info): Add inline keyword.
34590         * elf/tst-auditmod4b.c (check_avx): Likewise.
34591         * elf/tst-auditmod6b.c (check_avx): Likewise.
34592         * elf/tst-auditmod6c.c (check_avx): Likewise.
34593         * elf/tst-auditmod7b.c (check_avx): Likewise.
34595 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
34597         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
34598         !__SSE_MATH__.
34600 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34602         [BZ #13540]
34603         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
34604         processing for last bytes.
34606 2011-08-06  Bruno Haible  <bruno@clisp.org>
34608         [BZ #13061]
34609         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
34610         U+0385, not to U+1FEE.
34612         [BZ #13062]
34613         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
34614         entry for U+00A5 U+0301.
34616 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34618         [BZ #13166]
34619         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
34620         buffer for the output is too small.
34622         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
34623         optimization.
34625         [BZ #13185]
34626         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
34627         SSE flags if possible.
34629 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34631         [BZ #13540]
34632         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34633         processing for last bytes.
34635 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
34637         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34638         (syscall-list-default-options, syscall-list-default-condition)
34639         (syscall-list-includes): Define.
34640         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34641         list of ABIs and options and #if conditions for each ABI.  Do not
34642         handle common syscalls between ABIs specially.
34643         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34644         Remove.
34645         (syscall-list-variants, syscall-list-32bit-options)
34646         (syscall-list-32bit-condition, syscall-list-64bit-options)
34647         (syscall-list-64bit-condition): Define.
34648         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34649         (syscall-list-variants, syscall-list-32bit-options)
34650         (syscall-list-32bit-condition, syscall-list-64bit-options)
34651         (syscall-list-64bit-condition): Define.
34652         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34653         Remove.
34654         (syscall-list-variants, syscall-list-32bit-options)
34655         (syscall-list-32bit-condition, syscall-list-64bit-options)
34656         (syscall-list-64bit-condition): Define.
34657         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34658         Remove.
34659         (syscall-list-variants, syscall-list-32bit-options)
34660         (syscall-list-32bit-condition, syscall-list-64bit-options)
34661         (syscall-list-64bit-condition): Define.
34663 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
34665         * locale/iso-639.def: Add brx entry.
34667         [BZ #13328]
34668         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34669         Proposed by Mariusz_Cukr <marcukr@op.pl>.
34671         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34672         __feraiseexcept_renamed.
34674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34676         [BZ #13538]
34677         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34678         EPOLLET with unsigned values.
34679         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34682         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34683         to large cancellation.
34684         * math/s_cacoshf.c: Likewise.
34685         * math/s_cacoshl.c: Likewise.
34687 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
34689         [BZ #13305]
34690         [BZ #12786]
34691         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34692         * math/s_cacoshf.c: Likewise.
34693         * math/s_cacoshl.c: Likewise.
34695 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
34697         [BZ #13439]
34698         * iconv/gconv.h: Define __GCONV_SWAP.
34699         * iconvdata/unicode.c: The swap bit must be stored in __flags.
34700         * iconvdata/utf-16.c: Likewise.
34701         * iconvdata/utf-32.c: Likewise.
34703 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34705         [BZ #13524]
34706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34707         numerator after shifting it by one limb.
34709 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
34711         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34712         under [__USE_EXTERN_INLINES].
34714 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34716         [BZ #13446]
34717         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34719 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34721         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34722         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34723         optimized code.
34724         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34725         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34726         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34727         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34728         for strncasecmp/strncasecmp_l compilation.
34729         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34730         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34732 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
34734         [BZ #13484]
34735         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34736         of __asm__.
34738 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
34740         [BZ #13506]
34741         * time/tzfile.c (__tzfile_read): Check values from file header.
34743 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34745         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34746         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34747         * powerpc/powerpc32/dl-start.S: Likewise.
34748         * powerpc/powerpc32/elf/start.S: Likewise.
34749         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34750         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34751         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34752         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34753         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34754         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34755         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34756         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34757         * powerpc/powerpc32/fpu/s_round.S: Likewise.
34758         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34759         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34760         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34761         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34762         * powerpc/powerpc32/memset.S: Likewise.
34763         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34764         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34765         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34766         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34767         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34768         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34769         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34770         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34771         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34772         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34773         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34774         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34775         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34777 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34779         * math/libm-test.inc: Added more nearbyint tests.
34780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34781         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34782         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34783         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34785 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
34787         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34788         FD_CLOEXEC.
34790 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34792         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34793         Add wcscpy-ssse3 wcscpy-c.
34794         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34795         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34796         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34797         * sysdeps/x86_64/wcschr.S: New file.
34798         * sysdeps/x86_64/wcsrchr.S: New file.
34799         * string/test-strcmp.c: Remove checking of wcscmp function for
34800         wrong alignments.
34801         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34802         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34803         wcsrchr-sse2 wcsrchr-c.
34804         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34805         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34806         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34807         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34808         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34809         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34810         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34811         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34812         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34813         * wcsmbc/wcschr.c (WCSCHR): New macro.
34815 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34817         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34818         * wcsmbs/test-wcsrchr.c: New file.
34819         * string/test-strrchr.c: Add wcsrchr support.
34820         (WIDE): New macro.
34821         * wcsmbs/test-wcscpy.c: New file.
34822         * string/test-strcpy.c: Add wcscpy support.
34823         (WIDE): New macro.
34825 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
34827         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34828         the inner loop.
34830 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
34832         [BZ #13472]
34833         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34835 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
34837         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34838         Minor optimizations.
34840         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34841         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34842         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34844 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
34846         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34847         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34848         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34849         for gcc to avoid warnings.
34850         * inet/Makefile (tests): Add tst-checks.
34851         * inet/tst-checks.c: New file.
34853         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34854         warning.
34856         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34857         __wmemcmp_sse2.
34859         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34860         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34862         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34864 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
34866         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34867         problem.
34869         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34871 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
34873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34874         conditional on GCC version.
34875         (__arch_compare_and_exchange_val_8_acq)
34876         (__arch_compare_and_exchange_val_16_acq)
34877         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34878         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34879         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34881 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
34883         * sysdeps/sh/backtrace.c: New file.
34885 2011-12-02  Andreas Schwab  <schwab@redhat.com>
34887         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
34888         parenthesis.
34890 2011-12-01  Andreas Schwab  <schwab@redhat.com>
34892         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34893         falling back to utime.
34895 2011-11-30  Andreas Schwab  <schwab@redhat.com>
34897         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34898         expectations for float.
34900 2011-11-29  Andreas Schwab  <schwab@redhat.com>
34902         * locale/weight.h (findidx): Add parameter len.
34903         * locale/weightwc.h (findidx): Likewise.
34904         * posix/fnmatch_loop.c (FCT): Adjust caller.
34905         * posix/regcomp.c (build_equiv_class): Likewise.
34906         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34907         * posix/regexec.c (check_node_accept_bytes): Likewise.
34908         * string/strcoll_l.c (STRCOLL): Likewise.
34909         * string/strxfrm_l.c (STRXFRM): Likewise.
34911 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
34913         * Makefile.in: Remove CVSOPT handling.
34914         * configure.in: Remove use of AC_REVISION.
34915         * iconvdata/Makefile (distribute): No need to filter out CVS.
34916         * scripts/list-sources.sh: Remove CVS, subversion and monotone
34917         handling.
34919 2011-11-16  Andreas Schwab  <schwab@redhat.com>
34921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34922         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34923         [USE_AS_STRNCASECMP_L]: Likewise.
34924         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34925         NO_TLS_DIRECT_SEG_REFS.
34926         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34927         Fix argument offsets for non-PIC.
34928         [USE_AS_STRNCASECMP_L]: Likewise.
34929         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34930         NO_TLS_DIRECT_SEG_REFS.
34932 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34934         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34935         O_CLOEXEC.
34936         * locale/loadlocale.c (_nl_load_locale): Likewise.
34938 2011-11-15  Andreas Schwab  <schwab@redhat.com>
34940         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34941         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34942         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34943         (SYSCALL_GETTIME): Set errno on error.
34945         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34946         count references to noai6ai_cached.
34948 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34950         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34952         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34953         FD_CLOEXEC for /proc/self/maps.
34955         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34956         FD_CLOEXEC for /proc/meminfo.
34958         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34959         gai.conf.
34961         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
34962         FD_CLOEXEC for given file.
34964         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34966         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34967         FD_CLOEXEC for /etc/hosts.
34968         (_gethtent): Likewise.
34970         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34972         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34973         cancellation and set FD_CLOEXEC for /etc/netgroup.
34975         * nss/nss_files/files-key.c (search): Don't allow cancellation when
34976         reading /etc/publickey.
34978         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34979         allow cancellation when reading /etc/group.
34981         * nss/nss_files/files-alias.c (internal_setent): Don't allow
34982         cancellation.
34983         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
34985         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34986         when using data file.
34988         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34990         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34991         (write_nis_obj): Use "c" and "e" in fopen.
34993         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34995         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34997         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34999         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35001         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35002         locale.alias.
35004         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35006         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35008         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35010         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35011         file parsing and set FD_CLOEXEC.
35013 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35015         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35017 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35019         * malloc/arena.c (arena_get2): Don't call reused_arena when
35020         _int_new_arena failed.
35022 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35024         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35025         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35030         to compile strcasecmp and strncasecmp.
35031         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35032         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35036 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35038         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35039         locale-defines.sym to gen-as-const-headers.
35040         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35041         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35043         to compile strcasecmp and strncasecmp.
35044         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35045         strcasecmp_l and strncasecmp_l.
35046         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35047         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35048         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35049         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35050         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35051         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35052         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35053         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35054         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35055         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35056         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35058 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35060         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35061         result of SYSDEP_GETTIME_CPU to retval.
35062         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35063         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35065         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35066         variable.
35068         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35069         mantissa words.
35070         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35072         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35073         from unused variable.
35075         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35076         DWARF definitions.
35077         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35078         for assembling.
35080         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35081         over namespaces.
35083         * sunrpc/rpc_prot.c (rejected): Fix case value.
35085         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35086         unsigned long long int to avoid warnings in shift.
35088         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35089         of use of trans.
35090         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35091         variable tmp.
35093         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35094         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35095         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35097         * nis/nis_table.c (nis_list): Use variable of correct type for
35098         result of __follow_path call.
35100 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35102         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35103         of math functions ceil, trunc, floor, round, and sqrt, when
35104         avaliable on the platform.
35105         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35106         name clash.
35107         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35108         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35109         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35111 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35113         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35114         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35116 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35118         * include/unistd.h: Fix __readlink return type.
35119         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35121 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35123         * stdlib/ucontext.h: Undo last change for makecontext.
35125 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35127         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35129         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35130         * setjmp/setjmp.h: Mark functions as non-leaf.
35131         * setjmp/bits/setjmp2.h: Likewise.
35132         * stdlib/ucontext.h: Likewise.
35134 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35136         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35137         (reused_arena): Don't check arena limit.
35138         (arena_get2): Atomically check arena limit.
35140 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35142         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35143         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35146         instructions.
35148 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35150         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35151         handler when locking.
35153         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35154         Fix size of allocated buffer.
35156 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35158         [BZ #10103]
35159         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35160         declarations for long double functions.
35161         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35163         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35165 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35167         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35168         installed.
35170         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35171         is disabled.
35173 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35175         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35177 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35179         * include/alloca.h (stackinfo_alloca_round): Define.
35180         (extend_alloca): Use it.
35181         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35182         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35183         here.
35185         * scripts/check-local-headers.sh: Ignore libaudit.h.
35187         * nscd/Makefile (extra-objs): Make recursively expanded.
35189 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35191         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35194         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35195         * posix/tst-rfc3484-2.c: Likewise.
35196         * posix/tst-rfc3484-3.c: Likewise.
35198         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35199         process_vm_writev.
35200         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35201         process_vm_writev.
35202         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35203         process_vm_writev from libc using GLIBC_2.15 version.
35205         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35207 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35209         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35210         stack usage.
35212 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35214         [BZ #13367]
35215         * nss/getent.c (initgroups_keys): Show error message in case no group
35216         names are given.
35218         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35219         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35220         __bump_nl_timestamp.
35221         * nscd/connections (nscd_init): When host database is served open
35222         netlink socket and request notification about configuration changes.
35223         (main_loop_poll): Track netlink file descriptor and bump timestamp
35224         in case data becomes available.
35225         (main_loop_epoll): Likewise.
35226         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35227         (database_pers_head): Add extra_data fileds.
35228         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35229         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35230         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35231         Adjust caller.
35232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35233         in6ai data, call __free_in6ai.
35234         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35235         Add -DHAVE_NETLINK.
35236         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35237         interface information.  Reuse previous data if netlink timestamp
35238         is not changed.
35239         (__bump_nl_timestamp): New function.
35240         (__free_in6ai): New function.
35242 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35244         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35245         close_not_cancel_no_status here.
35246         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35248 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35250         [BZ #13276]
35251         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35252         return value.
35254         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35255         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35256         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35258 2011-07-03  Andreas Jaeger  <aj@suse.de>
35260         [BZ #10709]
35261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35262         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35263         * math/libm-test.inc (sin_test): Add test case.
35265 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35267         [BZ #13337]
35268         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35269         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35271         * elf/chroot_canon.c (chroot_canon): Cleanups.
35273         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35275         [BZ #13335]
35276         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35277         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35279         * string/test-strchr.c: Make usable for strchrnul testing.
35280         * string/test-strchrnul.c: New file.
35281         * string/Makefile (strop-tests): Add strchrnul.
35283         * po/it.po: Update from translation team.
35284         * po/es.po: Likewise.
35286 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35289         the three constants needed as parameters.  Drop the others.
35290         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35291         __m128i_strloadu_tolower.
35292         Create and initialize variable zero and use it in all the places
35293         where _mm_setzero_si128 was used.
35295         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35296         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35297         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35298         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35299         anymore.
35300         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35301         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35302         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35303         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35304         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35305         __mpranred, __mptan.
35306         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35307         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35308         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35309         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35310         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35311         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35313         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35314         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35316 2011-10-28  Andreas Schwab  <schwab@redhat.com>
35318         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35319         redefine if SHARED.
35320         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35323         wide char related routines to wcsmbs subdir.
35325 2011-10-27  Andreas Schwab  <schwab@redhat.com>
35327         [BZ #13344]
35328         * misc/sys/cdefs.h (__THROWNL): Define.
35329         * posix/unistd.h: Use __THREADNL instead of __THREAD
35330         for memory synchronization functions.
35332 2011-10-26  Roland McGrath  <roland@hack.frob.com>
35334         [BZ #13349]
35335         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35336         doesn't exist.
35337         * manual/stdio.texi (Obstack Streams): Node removed.
35339 2011-10-26  Andreas Schwab  <schwab@redhat.com>
35341         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35343         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35345         * math/math_private.h (math_force_eval): Allow non-addressable
35346         arguments.
35347         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
35349 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35351         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
35352         file is not needed.
35354         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
35355         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35356         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35357         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35358         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35359         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35360         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35361         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
35362         Add AVX variants.
35363         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
35364         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
35365         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
35366         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
35367         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
35368         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
35369         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
35370         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
35371         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
35372         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
35373         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
35374         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
35375         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
35376         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
35377         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
35378         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
35379         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
35380         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
35381         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
35383         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
35384         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
35386         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
35387         place.  Use VEX encoding when compiling for AVX.
35389 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35391         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
35392         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35394         * string/test-strchr.c (do_test): Don't generate NUL bytes.
35396 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35398         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
35399         useless if() expression.
35400         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35401         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35402         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35403         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35404         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35405         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35406         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35407         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35408         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35409         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35410         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35412         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35413         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35414         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35415         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35416         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35417         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35418         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35420         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
35422 2011-10-25  Andreas Schwab  <schwab@redhat.com>
35424         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
35425         condition.
35426         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35428 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
35430         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
35431         .text section.  Avoid duplicate constants.
35432         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35434         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35440         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35441         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
35442         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35443         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35444         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35445         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35446         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35447         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35448         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35449         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35450         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35452         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35453         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35454         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35455         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
35456         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
35457         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
35458         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
35459         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
35460         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
35461         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
35462         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
35463         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
35464         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35465         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
35466         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
35467         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
35468         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
35469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
35470         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
35471         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
35472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
35473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
35474         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
35475         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
35476         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
35478 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
35480         * sysdeps/x86_64/dla.h: Move to ...
35481         * sysdeps/x86_64/fpu/dla.h: ...here.
35482         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
35483         situations.  Use __builtin_fma only for gcc 4.6 and up.
35485         * config.make.in: Add have-mfma4 entry.
35486         * configure.in: Substitute libc_cv_cc_fma4.
35487         * math/Makefile (dbl-only-routines): Add sincostab.
35488         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
35489         Use __sincostab not sincos.
35490         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
35491         name is a macro.
35492         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
35496         using __copysign.
35497         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
35498         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
35499         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
35500         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
35501         and __inv.
35502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
35503         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
35504         __copysign.
35505         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
35506         define aliases when function name is a macro.
35507         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
35508         sysdeps/ieee754/dbl-64/sincos.tbl.
35509         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
35510         fma4-enabled routines.
35511         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
35512         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
35513         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
35514         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
35515         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
35516         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
35517         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
35518         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
35519         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
35520         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
35521         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
35522         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
35523         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
35524         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
35525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
35526         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
35527         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
35528         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
35529         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
35530         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
35531         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
35532         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
35533         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
35534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
35535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
35536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
35537         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
35538         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
35539         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
35540         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
35542         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
35543         rename.
35544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35547         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35548         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35553 2011-10-24  Andreas Schwab  <schwab@redhat.com>
35555         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
35557 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35559         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
35561         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
35562         prediction.
35563         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
35565         * string/strnlen.c: Don't define STRNLEN, reverse logic.
35566         Remove unused variable magic_bits.
35567         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
35569         * string/strnlen.c: Define and use STRNLEN macro.
35570         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
35571         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
35572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
35573         * wcsmbs/wcslen.c: Define and use WCSLEN.
35574         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
35575         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
35576         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
35577         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
35578         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
35579         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
35580         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35582 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35585         strnlen-sse2-no-bsf.
35586         Rename strlen-no-bsf to strlen-sse2-no-bsf.
35587         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
35588         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
35589         Add strnlen support.
35590         (USE_AS_STRNLEN): New macro.
35591         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
35592         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
35593         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
35594         * sysdeps/x86_64/wcslen.S: New file.
35596 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
35598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35599         XMM-moves are used for copying on small sizes.
35601 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35603         * wcsmbs/Makefile (strop-tests): Add wcschr.
35604         * wcsmbs/test-wcschr.c: New file.
35605         * string/test-strchr.c: Update.
35606         Add wcschr support.
35607         (WIDE): New macro.
35609 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35611         * wcsmbs/Makefile (strop-tests): Add wcslen.
35612         * wcsmbs/test-wcslen.c: New file.
35613         * string/test-strlen.c: Update.
35614         Add wcslen support.
35615         (WIDE): New macro.
35617 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35619         * po/it.po: Update from translation team.
35621 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35623         * sysdeps/x86_64/wcscmp.S: Update.
35624         Fix wrong comparison semantics.
35625         wcscmp shall use signed comparison not unsigned.
35626         Don't use substraction to avoid overflow bug.
35627         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35628         * wcsmbc/wcscmp.c: Likewise.
35629         * string/test-strcmp.c: Likewise.
35630         Add new tests to check cases with negative values.
35632 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
35634         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35635         * sysdeps/x86_64/dla.h: ...here.  New file.
35636         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35637         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35646 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
35648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35649         __ynl_finite aliases.
35651 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35655         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35656         define DLA_FMA.
35657         [DLA_FMA] (EMULV): Use DLA_FMA.
35658         [DLA_FMA] (MUL12): Use EMULV.
35659         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35660         that are not needed.
35661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35669 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
35671         * math/s_nan.c: Undef __nan.
35672         * math/s_nanf.c: Undef __nanf.
35673         * math/s_nanl.c: Undef __nanl.
35674         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35675         "math_private.h".
35677 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
35679         * math/s_catan.c: Add branch predictions.
35680         * math/s_catanf.c: Likewise.
35681         * math/s_catanh.c: Likewise.
35682         * math/s_catanhf.c: Likewise.
35683         * math/s_catanhl.c: Likewise.
35684         * math/s_catanl.c: Likewise.
35685         * math/s_cexp.c: Likewise.
35686         * math/s_cexpf.c: Likewise.
35687         * math/s_cexpl.c: Likewise.
35688         * math/s_clog.c: Likewise.
35689         * math/s_clog10.c: Likewise.
35690         * math/s_clog10f.c: Likewise.
35691         * math/s_clog10l.c: Likewise.
35692         * math/s_clogf.c: Likewise.
35693         * math/s_clogl.c: Likewise.
35694         * math/s_csqrt.c: Likewise.
35695         * math/s_csqrtf.c: Likewise.
35696         * math/s_csqrtl.c: Likewise.
35697         * math/s_ctanf.c: Likewise.
35698         * math/s_ctanh.c: Likewise.
35699         * math/s_ctanhf.c: Likewise.
35700         * math/s_ctanhl.c: Likewise.
35701         * math/s_ctanl.c: Likewise.
35703         * math/math_private.h: Define __nan, __nanf, __nanl.
35704         * math/s_cacosh.c: Include <math_private.h>.
35705         * math/s_cacoshl.c: Likewise.
35706         * math/s_casinh.c: Likewise.
35707         * math/s_casinhf.c: Likewise.
35708         * math/s_casinhl.c: Likewise.
35709         * math/s_ccos.c: Rely entire on ccosh.
35710         * math/s_ccosf.c: Rely entire on ccoshf.
35711         * math/s_ccosl.c: Rely entirely on ccoshl.
35712         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
35713         Remove tests for FE_INVALID.
35714         * math/s_ccoshf.c: Likewise.
35715         * math/s_ccoshl.c: Likewise.
35716         * math/s_csin.c: Likewise.
35717         * math/s_csinf.c: Likewise.
35718         * math/s_csinh.c Likewise.
35719         * math/s_csinhf.c: Likewise.
35720         * math/s_csinhl.c: Likewise.
35721         * math/s_csinl.c: Likewise.
35722         * math/s_ctan.c: Likewise.
35723         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35724         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35725         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35727 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
35729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35730         compilation problems.
35732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35733         __builtin_expect.
35735 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
35737         * sysdeps/i386/configure.in: Test for -mfma4 option.
35738         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35739         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35740         COMMON_CPUID_INDEX_80000001.
35741         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35742         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35743         use it if FMA3 is not supported.
35744         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35746         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35747         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35749 2011-10-20  Andreas Schwab  <schwab@redhat.com>
35751         [BZ #12892]
35752         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35753         it would create a cycle with a link time dependency.
35755 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
35757         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35758         instruction.
35759         * string/Makefile (strop-tests): Add rawmemchr.
35760         * string/test-rawmemchr.c: New file.
35762         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35763         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
35764         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
35765         when compiling str{,n}casecmp and when AVX is available.  Hook up
35766         new optimized code in initializers.
35768 2011-10-19  Andreas Schwab  <schwab@redhat.com>
35770         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35771         __feraiseexcept instead of feraiseexcept.
35773 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
35775         * math/math_private.h: Define defaults for libc_fetestexcept and
35776         libc_feupdateenv.
35777         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35778         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35779         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35780         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35781         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35782         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35783         libc_fetestexcept and libc_feupdateenv.
35785         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35786         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35787         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35788         * sysdeps/x86_64/fpu/math_private.h: Define special version of
35789         libc_feholdexcept_setround.
35791         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35792         Add s_nearbyint-c and s_nearbyintf-c.
35793         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35794         nearbyintf inlines.
35795         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35796         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35797         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35798         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35800         * math/math_private.h: Define defaults for libc_fegetround,
35801         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35802         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35803         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35804         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35805         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35806         standard functions.
35807         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35808         Remove comments and hacks for old compiler versions.
35809         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35810         libc_fegetround, libc_fesetround, libc_feholdexcept, and
35811         libc_feholdexceptl.
35813 2011-10-18  Andreas Schwab  <schwab@redhat.com>
35815         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35816         (__feraiseexcept_renamed): Add __NTH.
35817         (feraiseexcept): Add __NTH.  Rename local variables to fix
35818         namespace violations.
35820 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
35822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35824         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35826         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35827         recently added interfaces.
35828         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35830         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35831         about macro parameter expansion.
35833         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35834         __NO_MATH_INLINES is defined.  Cleanups.
35836         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35837         and __floorf is target has SSE4.1.
35838         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35839         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35840         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35841         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35843         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35844         name.
35845         (floorf): Likewise.
35847         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35849 2011-10-17  Andreas Schwab  <schwab@redhat.com>
35851         * misc/sys/cdefs.h: Fix last change.
35853         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35854         database lookup.
35856 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
35858         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35860         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35861         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35862         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35863         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35865         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35866         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35867         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35868         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35869         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35870         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35871         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35872         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35873         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35874         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35875         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35876         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35877         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35878         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35879         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35880         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35881         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35883         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35884         ceil, ceilf, floor, floorf.
35886         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35887         Perform IRELATIVE relocations last.
35889         * elf/do-rel.h: Add another parameter nrelative, replacing the
35890         local variable with the same name.  Change name of the function
35891         to end in Rel or Rela (uppercase).
35892         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35893         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
35894         elf_dynamic_do_##reloc function.
35896 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35898         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35899         is sufficient, at least on modern CPUs.
35901         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35903         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35904         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35906         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35907         __expl_finite.
35908         * math/bits/math-finite.h: Add entries for exp.
35909         * math/e_expl.c: Add __*_finite alias.
35910         * sysdeps/i386/fpu/e_exp.S: Likewise.
35911         * sysdeps/i386/fpu/e_expf.S: Likewise.
35912         * sysdeps/i386/fpu/e_expl.c: Likewise.
35913         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35914         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35915         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35916         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35917         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35918         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35919         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35921         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35922         is sufficient, at least on modern CPUs.
35924         * ctype/ctype-info.c (__ctype_init): Define.
35925         * include/ctype.h (__ctype_init): Declare.
35926         (__ctype_b_loc): The variable is always initialized.
35927         (__ctype_toupper_loc): Likewise.
35928         (__ctype_tolower_loc): Likewise.
35929         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35930         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35932 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
35934         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35936         * configure.in: Also look in $cxxmachine/include for C++ system
35937         headers.
35939 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35941         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35942         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35943         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35944         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
35945         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35946         (USE_AS_WMEMCMP): New macro.
35947         Fixing indents.
35948         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35949         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35950         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35951         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35953         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35954         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35955         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35956         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35957         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35958         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35959         (USE_AS_WMEMCMP): New macro.
35960         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35961         * sysdeps/string/test-memcmp.c: Update.
35962         Fix simple_wmemcmp.
35963         Add new tests.
35964         * wcsmbs/wmemcmp.c: Update.
35965         (WMEMCMP): New macro.
35966         Fix overflow bug.
35968 2011-10-12  Andreas Jaeger  <aj@suse.de>
35970         [BZ #13268]
35971         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35973 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35975         * libio/iofwide.c (do_length): Avoid warning.
35977         * ctype/ctype.h (__isctype_f): Add missing __THROW.
35979 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
35981         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35983         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35984         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35985         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35986         * sysdeps/i386/i686/fpu/e_log.S: New file.
35987         * sysdeps/i386/i686/fpu/e_logf.S: New file.
35988         * sysdeps/i386/i686/fpu/e_logl.S: New file.
35990         * ctype/ctype.h: Add support for inlined isXXX functions when
35991         compiling C++ code.
35993 2011-10-14  Andreas Schwab  <schwab@redhat.com>
35995         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35997         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35999 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36001         [BZ #13291]
36002         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36004 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36006         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36007         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36008         feraiseexcept.
36010         * sysdeps/x86_64/memrchr.S: Check for zero size.
36012         * string/stratcliff.c: Add memrchr tests.
36014 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36017         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36018         rawmemchr-sse2 rawmemchr-sse2-bsf.
36019         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36020         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36021         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36022         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36023         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36024         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36025         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36026         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36027         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36028         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36029         * string/memrchr.c (MEMRCHR): New macro.
36031 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36033         Add integration with gcc's -ffinite-math-only and optimize wrapper
36034         functions in libm.
36035         * Versions.def: Define GLIBC_2.15 version for libm.
36036         * math/Makefile (headers): Add bits/math-finite.h.
36037         * math/bits/math-finite.h: New file.
36038         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36039         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36040         * math/e_acoshl.c: Add __*_finite alias.
36041         * math/e_acosl.c: Likewise.
36042         * math/e_asinl.c: Likewise.
36043         * math/e_atan2l.c: Likewise.
36044         * math/e_atanhl.c: Likewise.
36045         * math/e_coshl.c: Likewise.
36046         * math/e_exp10.c: Likewise.
36047         * math/e_exp10f.c: Likewise.
36048         * math/e_exp10l.c: Likewise.
36049         * math/e_exp2l.c: Likewise.
36050         * math/e_fmodl.c: Likewise.
36051         * math/e_gammal_r.c: Likewise.
36052         * math/e_hypotl.c: Likewise.
36053         * math/e_j0l.c: Likewise.
36054         * math/e_j1l.c: Likewise.
36055         * math/e_jnl.c: Likewise.
36056         * math/e_lgammal_r.c: Likewise.
36057         * math/e_log10l.c: Likewise.
36058         * math/e_log2l.c: Likewise.
36059         * math/e_logl.c: Likewise.
36060         * math/e_powl.c: Likewise.
36061         * math/e_sinhl.c: Likewise.
36062         * math/e_sqrtl.c: Likewise.
36063         * math/e_scalb.c: Completely rewritten and optimized.
36064         * math/e_scalbf.c: Likewise.
36065         * math/e_scalbl.c: Likewise.
36066         * math/w_acos.c: Likewise.
36067         * math/w_acosf.c: Likewise.
36068         * math/w_acosl.c: Likewise.
36069         * math/w_acosh.c: Likewise.
36070         * math/w_acoshf.c: Likewise.
36071         * math/w_acoshl.c: Likewise.
36072         * math/w_asin.c: Likewise.
36073         * math/w_asinf.c: Likewise.
36074         * math/w_asinl.c: Likewise.
36075         * math/w_atan2.c: Likewise.
36076         * math/w_atan2f.c: Likewise.
36077         * math/w_atan2l.c: Likewise.
36078         * math/w_atanh.c: Likewise.
36079         * math/w_atanhf.c: Likewise.
36080         * math/w_atanhl.c: Likewise.
36081         * math/w_exp10.c: Likewise.
36082         * math/w_exp10f.c: Likewise.
36083         * math/w_exp10l.c: Likewise.
36084         * math/w_fmod.c: Likewise.
36085         * math/w_fmodf.c: Likewise.
36086         * math/w_fmodl.c: Likewise.
36087         * math/w_j0.c: Likewise.
36088         * math/w_j0f.c: Likewise.
36089         * math/w_j0l.c: Likewise.
36090         * math/w_j1.c: Likewise.
36091         * math/w_j1f.c: Likewise.
36092         * math/w_j1l.c: Likewise.
36093         * math/w_jn.c: Likewise.
36094         * math/w_jnf.c: Likewise.
36095         * math/w_log.c: Likewise.
36096         * math/w_logf.c: Likewise.
36097         * math/w_logl.c: Likewise.
36098         * math/w_log10.c: Likewise.
36099         * math/w_log10f.c: Likewise.
36100         * math/w_log10l.c: Likewise.
36101         * math/w_log2.c: Likewise.
36102         * math/w_log2f.c: Likewise.
36103         * math/w_log2l.c: Likewise.
36104         * math/w_pow.c: Likewise.
36105         * math/w_powf.c: Likewise.
36106         * math/w_powl.c: Likewise.
36107         * math/w_remainder.c: Likewise.
36108         * math/w_remainderf.c: Likewise.
36109         * math/w_remainderl.c: Likewise.
36110         * math/w_scalb.c: Likewise.
36111         * math/w_scalbf.c: Likewise.
36112         * math/w_scalbl.c: Likewise.
36113         * math/w_sqrt.c: Likewise.
36114         * math/w_sqrtf.c: Likewise.
36115         * math/w_sqrtl.c: Likewise.
36116         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36117         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36118         used.
36119         * math/math_private.h: Declare __kernel_standard_f.
36120         * math/w_cosh.c: Remove cruft and optimize a bit.
36121         * math/w_coshf.c: Likewise.
36122         * math/w_coshl.c: Likewise.
36123         * math/w_exp2.c: Likewise.
36124         * math/w_exp2f.c: Likewise.
36125         * math/w_exp2l.c: Likewise.
36126         * math/w_hypot.c: Likewise.
36127         * math/w_hypotf.c: Likewise.
36128         * math/w_hypotl.c: Likewise.
36129         * math/w_lgamma.c: Likewise.
36130         * math/w_lgamma_r.c: Likewise.
36131         * math/w_lgammaf.c: Likewise.
36132         * math/w_lgammaf_r.c: Likewise.
36133         * math/w_lgammal.c: Likewise.
36134         * math/w_lgammal_r.c: Likewise.
36135         * math/w_sinh.c: Likewise.
36136         * math/w_sinhf.c: Likewise.
36137         * math/w_sinhl.c: Likewise.
36138         * math/w_tgamma.c: Likewise.
36139         * math/w_tgammaf.c: Likewise.
36140         * math/w_tgammal.c: Likewise.
36141         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36142         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36143         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36144         Minor optimizations.  Pretty printing.  Remove cruft.
36145         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36146         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36147         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36148         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36149         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36150         * sysdeps/i386/fpu/e_asin.S: Likewise.
36151         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36152         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36153         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36154         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36155         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36156         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36158         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36159         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36160         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36161         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36162         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36163         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36164         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36165         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36166         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36167         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36168         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36169         * sysdeps/i386/fpu/e_log.S: Likewise.
36170         * sysdeps/i386/fpu/e_log10.S: Likewise.
36171         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36172         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36173         * sysdeps/i386/fpu/e_log2.S: Likewise.
36174         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36175         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36176         * sysdeps/i386/fpu/e_logf.S: Likewise.
36177         * sysdeps/i386/fpu/e_logl.S: Likewise.
36178         * sysdeps/i386/fpu/e_pow.S: Likewise.
36179         * sysdeps/i386/fpu/e_powf.S: Likewise.
36180         * sysdeps/i386/fpu/e_powl.S: Likewise.
36181         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36182         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36183         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36185         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36186         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36187         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36188         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36189         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36190         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36191         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36192         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36193         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36194         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36195         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36196         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36197         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36198         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36199         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36200         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36201         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36203         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36204         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36207         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36208         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36210         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36211         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36214         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36215         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36216         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36217         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36218         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36219         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36220         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36221         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36222         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36223         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36224         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36225         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36226         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36227         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36228         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36229         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36230         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36231         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36232         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36233         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36235         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36236         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36237         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36238         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36239         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36240         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36241         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36242         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36243         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36244         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36245         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36246         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36247         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36248         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36249         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36251         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36254         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36255         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36256         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36257         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36258         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36260         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36261         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36262         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36264         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36266         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36267         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36268         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36269         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36270         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36271         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36272         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36273         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36274         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36275         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36276         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36277         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36278         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36279         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36280         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36281         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36282         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36283         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36284         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36285         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36286         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36287         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36288         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36289         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36290         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36291         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36292         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36293         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36295         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36296         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36297         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36298         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36299         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36300         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36301         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36302         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36303         (__isnanf): Likewise.
36304         (__isinf_ns): Likewise.
36305         (__isinf_nsf): Likewise.
36306         (__finite): Likewise.
36307         (__finitef): Likewise.
36308         (__ieee754_sqrt): Define as macro.
36309         (__ieee754_sqrtf): Define as macro.
36310         (__ieee754_sqrtl): Define as macro.
36311         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36312         inlined copy.
36313         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36314         __FINITE_MATH_ONLY__ consistent.
36315         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36317 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
36319         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36320         of rawmemchr.
36322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36324 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
36326         * po/ja.po: Update from translation team.
36328 2011-10-08  Roland McGrath  <roland@hack.frob.com>
36330         * locale/programs/locarchive.c (prepare_address_space): New function.
36331         (create_archive, enlarge_archive, open_archive): Use it.
36333         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36334         inside [SHARED], where it is used.
36336         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36338         * nss/getent.c (netgroup_keys): Remove unused variable.
36339         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36341 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
36343         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36344         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
36345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
36346         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
36347         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
36348         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
36349         * math/Makefile (libm-calls): Add s_isinf_ns.
36350         * math/divtc3.c: Use __isinf_nsl instead of isinf.
36351         * math/multc3.c: Likewise.
36352         * math/s_casin.c: Likewise.
36353         * math/s_casinf.c: Likewise.
36354         * math/s_casinl.c: Likewise.
36355         * math/s_ccos.c: Likewise.
36356         * math/s_ccosf.c: Likewise.
36357         * math/s_ccosl.c: Likewise.
36358         * math/s_ctan.c: Likewise.
36359         * math/s_ctanf.c: Likewise.
36360         * math/s_ctanh.c: Likewise.
36361         * math/s_ctanhf.c: Likewise.
36362         * math/s_ctanhl.c: Likewise.
36363         * math/s_ctanl.c: Likewise.
36364         * math/w_fmod.c: Likewise.
36365         * math/w_fmodf.c: Likewise.
36366         * math/w_fmodl.c: Likewise.
36367         * math/w_remainder.c: Likewise.
36368         * math/w_remainderf.c: Likewise.
36369         * math/w_remainderl.c: Likewise.
36370         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
36371         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
36372         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
36373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
36374         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
36375         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
36376         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
36377         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
36379         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
36380         of the number.
36381         * stdio-common/printf_fphex.c: Likewise.
36382         * stdio-common/printf_size.c: Likewise.
36384         * math/e_exp10.c: Include math_private.h using <...> not "...".
36385         * math/e_exp10f.c: Likewise.
36386         * math/e_exp10l.c: Likewise.
36387         * math/e_exp2l.c: Likewise.
36388         * math/e_j0l.c: Likewise.
36389         * math/e_j1l.c: Likewise.
36390         * math/e_jnl.c: Likewise.
36391         * math/e_lgammal_r.c: Likewise.
36392         * math/e_rem_pio2l.c: Likewise.
36393         * math/e_scalb.c: Likewise.
36394         * math/e_scalbf.c: Likewise.
36395         * math/e_scalbl.c: Likewise.
36396         * math/k_cosl.c: Likewise.
36397         * math/k_sinl.c: Likewise.
36398         * math/k_tanl.c: Likewise.
36399         * math/s_cacoshf.c: Likewise.
36400         * math/s_catan.c: Likewise.
36401         * math/s_catanf.c: Likewise.
36402         * math/s_catanh.c: Likewise.
36403         * math/s_catanhf.c: Likewise.
36404         * math/s_catanhl.c: Likewise.
36405         * math/s_catanl.c: Likewise.
36406         * math/s_ccosh.c: Likewise.
36407         * math/s_ccoshf.c: Likewise.
36408         * math/s_ccoshl.c: Likewise.
36409         * math/s_cexp.c: Likewise.
36410         * math/s_cexpf.c: Likewise.
36411         * math/s_cexpl.c: Likewise.
36412         * math/s_clog.c: Likewise.
36413         * math/s_clog10.c: Likewise.
36414         * math/s_clog10f.c: Likewise.
36415         * math/s_clog10l.c: Likewise.
36416         * math/s_clogf.c: Likewise.
36417         * math/s_clogl.c: Likewise.
36418         * math/s_csin.c: Likewise.
36419         * math/s_csinf.c: Likewise.
36420         * math/s_csinh.c: Likewise.
36421         * math/s_csinhf.c: Likewise.
36422         * math/s_csinhl.c: Likewise.
36423         * math/s_csinl.c: Likewise.
36424         * math/s_csqrt.c: Likewise.
36425         * math/s_csqrtf.c: Likewise.
36426         * math/s_csqrtl.c: Likewise.
36427         * math/s_ctan.c: Likewise.
36428         * math/s_ctanf.c: Likewise.
36429         * math/s_ctanh.c: Likewise.
36430         * math/s_ctanhf.c: Likewise.
36431         * math/s_ctanhl.c: Likewise.
36432         * math/s_ctanl.c: Likewise.
36433         * math/s_ldexp.c: Likewise.
36434         * math/s_ldexpf.c: Likewise.
36435         * math/s_ldexpl.c: Likewise.
36436         * math/s_significand.c: Likewise.
36437         * math/s_significandf.c: Likewise.
36438         * math/s_significandl.c: Likewise.
36439         * math/w_acos.c: Likewise.
36440         * math/w_acosf.c: Likewise.
36441         * math/w_acosh.c: Likewise.
36442         * math/w_acoshf.c: Likewise.
36443         * math/w_acoshl.c: Likewise.
36444         * math/w_acosl.c: Likewise.
36445         * math/w_asin.c: Likewise.
36446         * math/w_asinf.c: Likewise.
36447         * math/w_asinl.c: Likewise.
36448         * math/w_atan2.c: Likewise.
36449         * math/w_atan2f.c: Likewise.
36450         * math/w_atan2l.c: Likewise.
36451         * math/w_atanh.c: Likewise.
36452         * math/w_atanhf.c: Likewise.
36453         * math/w_atanhl.c: Likewise.
36454         * math/w_cosh.c: Likewise.
36455         * math/w_coshf.c: Likewise.
36456         * math/w_coshl.c: Likewise.
36457         * math/w_dremf.c: Likewise.
36458         * math/w_exp10.c: Likewise.
36459         * math/w_exp10f.c: Likewise.
36460         * math/w_exp10l.c: Likewise.
36461         * math/w_exp2.c: Likewise.
36462         * math/w_exp2f.c: Likewise.
36463         * math/w_fmod.c: Likewise.
36464         * math/w_fmodf.c: Likewise.
36465         * math/w_fmodl.c: Likewise.
36466         * math/w_hypot.c: Likewise.
36467         * math/w_hypotf.c: Likewise.
36468         * math/w_hypotl.c: Likewise.
36469         * math/w_j0.c: Likewise.
36470         * math/w_j0f.c: Likewise.
36471         * math/w_j0l.c: Likewise.
36472         * math/w_j1.c: Likewise.
36473         * math/w_j1f.c: Likewise.
36474         * math/w_j1l.c: Likewise.
36475         * math/w_jn.c: Likewise.
36476         * math/w_jnf.c: Likewise.
36477         * math/w_jnl.c: Likewise.
36478         * math/w_lgamma.c: Likewise.
36479         * math/w_lgamma_r.c: Likewise.
36480         * math/w_lgammaf.c: Likewise.
36481         * math/w_lgammaf_r.c: Likewise.
36482         * math/w_lgammal.c: Likewise.
36483         * math/w_lgammal_r.c: Likewise.
36484         * math/w_log.c: Likewise.
36485         * math/w_log10.c: Likewise.
36486         * math/w_log10f.c: Likewise.
36487         * math/w_log10l.c: Likewise.
36488         * math/w_log2.c: Likewise.
36489         * math/w_log2f.c: Likewise.
36490         * math/w_log2l.c: Likewise.
36491         * math/w_logf.c: Likewise.
36492         * math/w_logl.c: Likewise.
36493         * math/w_pow.c: Likewise.
36494         * math/w_powf.c: Likewise.
36495         * math/w_powl.c: Likewise.
36496         * math/w_remainder.c: Likewise.
36497         * math/w_remainderf.c: Likewise.
36498         * math/w_remainderl.c: Likewise.
36499         * math/w_scalb.c: Likewise.
36500         * math/w_scalbf.c: Likewise.
36501         * math/w_scalbl.c: Likewise.
36502         * math/w_sinh.c: Likewise.
36503         * math/w_sinhf.c: Likewise.
36504         * math/w_sinhl.c: Likewise.
36505         * math/w_sqrt.c: Likewise.
36506         * math/w_sqrtf.c: Likewise.
36507         * math/w_sqrtl.c: Likewise.
36508         * math/w_tgamma.c: Likewise.
36509         * math/w_tgammaf.c: Likewise.
36510         * math/w_tgammal.c: Likewise.
36512         * po/ja.po: Update from translation team.
36514 2011-09-29  Andreas Jaeger  <aj@suse.de>
36516         [BZ #13179]
36517         * sunrpc/netname.c (netname2host): Fix logic.
36519         [BZ #6779]
36520         [BZ #6783]
36521         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
36522         correctly.
36523         * math/w_remainder.c (__remainder): Likewise.
36524         * math/w_remainderf.c (__remainderf): Likewise.
36525         * math/libm-test.inc (remainder_test): Add test cases.
36527 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36529         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
36530         sdiv_qrnnd.
36532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36534         * string/test-memcmp.c: Avoid unncessary #defines.
36535         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36537 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36539         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
36540         Use new sse2 version for core i3 - i7 as it's faster
36541         than sse42 version.
36542         (bit_Prefer_PMINUB_for_stringop): New.
36543         * sysdeps/x86_64/rawmemchr.S: Update.
36544         Replace with faster SSE2 version.
36545         * sysdeps/x86_64/memrchr.S: New file.
36546         * sysdeps/x86_64/memchr.S: Update.
36547         Replace with faster SSE2 version.
36549 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
36551         * elf/dl-load.c (lose): Add cast to avoid warning.
36553 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
36555         * po/ca.po: Update from translation team.
36557         * inet/getnetgrent_r.c: Hook up nscd.
36558         * nscd/Makefile (routines): Add nscd_netgroup.
36559         (nscd-modules): Add netgroupcache.
36560         (CFLAGS-netgroupcache.c): Define.
36561         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
36562         (cache_search): Add const to second parameter.
36563         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
36564         INNETGR.
36565         (dbs): Add netgrdb entry.
36566         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
36567         (verify_persistent_db): Handle netgrdb.
36568         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
36569         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
36570         GETFDNETGR.
36571         (netgroup_response_header): Define.
36572         (innetgroup_response_header): Define.
36573         (datahead): Add netgroup_response_header and innetgroup_response_header
36574         elements.
36575         * nscd/nscd.conf: Add entries for netgroup cache.
36576         * nscd/nscd.h (dbtype): Add netgrdb.
36577         (_PATH_NSCD_NETGROUP_DB): Define.
36578         (netgroup_iov_disabled): Declare.
36579         (xmalloc, xcalloc, xrealloc): Move declarations here.
36580         (cache_search): Adjust prototype.
36581         Add netgroup-related prototypes.
36582         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
36583         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
36584         (__nscd_innetgr): Declare.
36585         * nscd/selinux.c (perms): Use access_vector_t as element type and
36586         add netgroup-related initializers.
36587         * nscd/netgroupcache.c: New file.
36588         * nscd/nscd_netgroup.c: New file.
36589         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
36590         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
36591         For four parameters use innetgr.
36592         * nss/nss_files/files-init.c: Add definition and callback for netgr.
36593         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
36594         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
36595         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
36597         * nscd/connections.c (register_traced_file): Don't register file
36598         for disabled databases.
36600 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
36602         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
36604         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
36605         from tree and freeing node.
36607 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
36609         * nss/nsswitch.c (__nss_database_lookup): Handle
36610         nss_parse_service_list out of memory case.
36612 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
36614         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
36615         out of memory case.
36617 2011-10-04  Andreas Schwab  <schwab@redhat.com>
36619         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
36620         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
36621         pass it down.
36622         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
36623         elf_machine_rela, elf_machine_lazy_rel.
36624         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
36625         (ELF_DYNAMIC_DO_REL): Likewise.
36626         (ELF_DYNAMIC_DO_RELA): Likewise.
36627         (ELF_DYNAMIC_RELOCATE): Likewise.
36628         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
36629         to ELF_DYNAMIC_DO_REL.
36630         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36631         (dl_main): In trace mode always set __RTLD_NOIFUNC.
36632         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36633         elf_machine_rela.
36634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36635         skip_ifunc, don't call ifunc function if non-zero.
36636         (elf_machine_rela): Likewise.
36637         (elf_machine_lazy_rel): Likewise.
36638         (elf_machine_lazy_rela): Likewise.
36639         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36640         (elf_machine_lazy_rel): Likewise.
36641         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36642         Likewise.
36643         (elf_machine_lazy_rel): Likewise.
36644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36645         Likewise.
36646         (elf_machine_lazy_rel): Likewise.
36647         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36648         (elf_machine_lazy_rel): Likewise.
36649         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36650         (elf_machine_lazy_rel): Likewise.
36651         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36652         (elf_machine_lazy_rel): Likewise.
36653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36654         (elf_machine_lazy_rel): Likewise.
36655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36656         (elf_machine_lazy_rel): Likewise.
36657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36658         (elf_machine_lazy_rel): Likewise.
36660 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
36662         * nss/nss_files/files-init.c (_nss_files_init): Use static
36663         initialization for all the *_traced_file variables.
36665 2011-09-28  Andreas Schwab  <schwab@redhat.com>
36667         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36669 2011-09-27  Roland McGrath  <roland@hack.frob.com>
36671         [BZ #13226]
36672         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36674 2011-09-27  Andreas Schwab  <schwab@redhat.com>
36676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36677         Reread the line before reparsing it.
36679 2011-09-26  Andreas Schwab  <schwab@redhat.com>
36681         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36683 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
36684             Maxim Kuvyrkov  <maxim@codesourcery.com>
36685             Joseph Myers  <joseph@codesourcery.com>
36687         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36688         if needed for __stack_chk_guard.
36690 2011-09-19  Roland McGrath  <roland@hack.frob.com>
36692         * sysdeps/posix/spawni.c (script_execute): Always define it.
36693         It will be optimized away if unused.
36694         (maybe_script_execute): New function.
36695         (__spawni): Call it.
36697         * Makerules: Don't include tls.make.
36698         (config-tls): Always set to thread.
36699         * tls.make.c: File removed.
36701 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
36703         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36704         * config.make.in (CPPFLAGS-config): New substituted variable.
36706 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36708         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36710         [BZ #13192]
36711         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36712         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36714 2011-09-15  Roland McGrath  <roland@hack.frob.com>
36716         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36717         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36718         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36719         (CALL_FAIL): Likewise.
36720         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36721         (CALL_FAIL): Macro removed.
36722         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36724 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
36726         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36727         for __FINITE_MATH_ONLY__ == 1.
36729 2011-09-15  Andreas Schwab  <schwab@redhat.com>
36731         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36732         __ieee754_sqrt instead of sqrt.
36733         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36734         __ieee754_sqrtf instead of sqrtf.
36735         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36736         __floorf instead of floorf.
36737         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36738         __floorf, __truncf instead of floorf, truncf.
36740 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
36742         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36744         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36745         __extern_always_inline.
36746         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36747         32-bit.
36749 2011-09-14  Andreas Schwab  <schwab@redhat.com>
36751         * elf/rtld.c (dl_main): Also relocate in dependency order when
36752         doing symbol dependency testing.
36754 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
36756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36757         Always define `refsym'.
36759 2011-09-13  Andreas Schwab  <schwab@redhat.com>
36761         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36762         (__FD_ELT): Renamed from __FDELT.
36763         * misc/bits/select2.h (__FD_ELT): Likewise.
36764         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36765         __FD_MASK instead of __FDELT, __FDMASK.
36766         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36767         Likewise.
36768         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36769         Likewise.
36771         * elf/Makefile (gen-ldd): Fix pattern.
36773         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36774         (init_tls): Likewise.
36776 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
36778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36780 2011-09-12  Andreas Schwab  <schwab@redhat.com>
36782         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36783         `struct cmsghdr *' instead of `void *'.
36784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36785         Likewise.
36787 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
36789         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36790         if non-absolute.
36791         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36792         ldd_rewrite_script.
36794 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
36796         * configure.in: Remove --with-tls option.
36797         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36798         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36799         out in case it is missing.
36800         * sysdeps/ia64/elf/configure.in: Likewise.
36801         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36802         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36803         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36804         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36805         * sysdeps/sh/elf/configure.in: Likewise.
36806         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36807         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36808         * sysdeps/x86_64/elf/configure.in: Likewise.
36809         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36810         * sysdeps/mach/hurd/tls.h: Likewise.
36812         [BZ #13067]
36813         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36815         [BZ #13090]
36816         * configure.in: Fix use of AC_INIT.
36818         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36820 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
36822         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36823         __set_errno.
36824         * malloc/hooks.c: Likewise.
36826         [BZ #11929]
36827         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
36828         variables statically.
36829         (narenas): Initialize.
36830         (list_lock): Initialize.
36831         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
36832         initializtion of main_arena and list_lock.  Small cleanups.
36833         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36834         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
36835         Add initializers to main_arena and mp_.
36836         (malloc_state): Remove pagesize member.  Change all users to use
36837         GLRO(dl_pagesize).
36839         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36840         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
36841         is always initialized.
36843         * malloc/malloc.c: Removed unused configurations and dead code.
36844         * malloc/arena.c: Likewise.
36845         * malloc/hooks.c: Likewise.
36846         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36848         * include/tls.h: Removed.  USE___THREAD must always be defined.
36849         * bits/libc-tsd.h: Don't handle !USE___THREAD.
36850         * elf/dl-libc.c: Likewise.
36851         * elf/dl-tsd.c: Likewise.
36852         * include/errno.h: Likewise.
36853         * include/netdb.h: Likewise.
36854         * include/resolv.h: Likewise.
36855         * inet/herrno-loc.c: Likewise.
36856         * inet/herrno.c: Likewise.
36857         * malloc/arena.c: Likewise.
36858         * malloc/hooks.c: Likewise.
36859         * malloc/malloc.c: Likewise.
36860         * resolv/res-state.c: Likewise.
36861         * resolv/res_libc.c: Likewise.
36862         * sysdeps/i386/dl-machine.h: Likewise.
36863         * sysdeps/ia64/dl-machine.h: Likewise.
36864         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36865         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36866         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36867         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36868         * sysdeps/sh/dl-machine.h: Likewise.
36869         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36870         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36871         * sysdeps/unix/i386/sysdep.S: Likewise.
36872         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36873         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36878         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36882         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36883         * sysdeps/x86_64/dl-machine.h: Likewise.
36884         * tls.make.c: Likewise.
36886         * configure.in: Remove --with-__thread option.  Make tests for
36887         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36888         tls_model attribute fail if no support is available.  Remove
36889         USE_IN_LIBIO.
36890         * Makeconfig: Adjust for dropped configure option.  All features are
36891         now mandatory.
36892         * Makerules: Likewise.
36893         * Versions.def: Likewise.
36894         * argp/argp-fmtstream.c: Likewise.
36895         * argp/argp-fmtstream.h: Likewise.
36896         * argp/argp-help.c: Likewise.
36897         * assert/assert.c: Likewise.
36898         * config.h.in: Likewise.
36899         * config.make.in: Likewise.
36900         * configure: Likewise.
36901         * configure.in: Likewise.
36902         * csu/Versions: Likewise.
36903         * csu/init.c: Likewise.
36904         * elf/tst-audit2.c: Likewise.
36905         * elf/tst-tls10.c: Likewise.
36906         * elf/tst-tls10.h: Likewise.
36907         * elf/tst-tls11.c: Likewise.
36908         * elf/tst-tls12.c: Likewise.
36909         * elf/tst-tls14.c: Likewise.
36910         * elf/tst-tlsmod11.c: Likewise.
36911         * elf/tst-tlsmod12.c: Likewise.
36912         * elf/tst-tlsmod13.c: Likewise.
36913         * elf/tst-tlsmod13a.c: Likewise.
36914         * elf/tst-tlsmod14a.c: Likewise.
36915         * elf/tst-tlsmod15b.c: Likewise.
36916         * elf/tst-tlsmod16a.c: Likewise.
36917         * elf/tst-tlsmod16b.c: Likewise.
36918         * elf/tst-tlsmod7.c: Likewise.
36919         * elf/tst-tlsmod8.c: Likewise.
36920         * elf/tst-tlsmod9.c: Likewise.
36921         * gmon/gmon.c: Likewise.
36922         * grp/fgetgrent_r.c: Likewise.
36923         * grp/putgrent.c: Likewise.
36924         * hurd/fopenport.c: Likewise.
36925         * include/libc-symbols.h: Likewise.
36926         * include/tls.h: Likewise.
36927         * intl/gettextP.h: Likewise.
36928         * intl/loadinfo.h: Likewise.
36929         * locale/global-locale.c: Likewise.
36930         * locale/localeinfo.h: Likewise.
36931         * mach/devstream.c: Likewise.
36932         * malloc/arena.c: Likewise.
36933         * malloc/set-freeres.c: Likewise.
36934         * misc/err.c: Likewise.
36935         * misc/getttyent.c: Likewise.
36936         * misc/mntent_r.c: Likewise.
36937         * posix/getopt.c: Likewise.
36938         * posix/wordexp.c: Likewise.
36939         * pwd/fgetpwent_r.c: Likewise.
36940         * resolv/Versions: Likewise.
36941         * resolv/res_hconf.c: Likewise.
36942         * shadow/fgetspent_r.c: Likewise.
36943         * shadow/putspent.c: Likewise.
36944         * stdio-common/printf_fphex.c: Likewise.
36945         * stdio-common/tmpfile.c: Likewise.
36946         * stdlib/abort.c: Likewise.
36947         * stdlib/fmtmsg.c: Likewise.
36948         * sunrpc/auth_unix.c: Likewise.
36949         * sunrpc/clnt_perr.c: Likewise.
36950         * sunrpc/clnt_tcp.c: Likewise.
36951         * sunrpc/clnt_udp.c: Likewise.
36952         * sunrpc/clnt_unix.c: Likewise.
36953         * sunrpc/openchild.c: Likewise.
36954         * sunrpc/svc_simple.c: Likewise.
36955         * sunrpc/svc_tcp.c: Likewise.
36956         * sunrpc/svc_udp.c: Likewise.
36957         * sunrpc/svc_unix.c: Likewise.
36958         * sunrpc/xdr.c: Likewise.
36959         * sunrpc/xdr_array.c: Likewise.
36960         * sunrpc/xdr_rec.c: Likewise.
36961         * sunrpc/xdr_ref.c: Likewise.
36962         * sunrpc/xdr_stdio.c: Likewise.
36964 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36966         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36968 2011-07-03  Andreas Jaeger  <aj@suse.de>
36970         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36971         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36972         regenerate with gen-libm-tests.pl.
36974 2010-05-12  Petr Baudis  <pasky@suse.cz>
36976         [BZ #11589]
36977         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36978         around j0() zero points by switching to j1().
36979         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36980         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36982         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36984 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36986         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36987         instead of 0.
36988         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36989         instead of 0.
36990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36991         Patch in part by Pavel Roskin <proski@gnu.org>.
36993         [BZ #13138]
36994         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36995         realloc.
36996         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
36997         Free memory block if necessary.
36999         [BZ #12847]
37000         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37001         be NULL.  Don't lock in this case.
37003 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37005         * elf/elf.h (ELFOSABI_GNU): New macro.
37006         (ELFOSABI_LINUX): Define to that.
37008 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37010         * string/strncat.c (strncat): Undef the symbol in case it has been
37011         defined in bits/string.h.
37013 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37015         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37017         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37018         link map.
37020 2011-08-17  Andreas Jaeger  <aj@suse.de>
37022         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37024 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37025             Ian Lance Taylor  <iant@google.com>
37027         * math/libm-test.inc (lround_test): New testcase.
37028         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37030 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37032         * Makefile: Remove support for automatic cvs check-ins.
37033         * Makerules: Likewise.
37034         * config.make.in: Likewise.
37035         * configure.in: Likewise.
37036         * intl/Makefile: Likewise.
37037         * locale/Makefile: Likewise.
37038         * po/Makefile: Likewise.
37039         * posix/Makefile: Likewise.
37040         * sysdeps/gnu/Makefile: Likewise.
37041         * sysdeps/mach/hurd/Makefile: Likewise.
37042         * sysdeps/sparc/sparc32/Makefile: Likewise.
37044         [BZ #13118]
37045         * posix/Makefile (bug-regex32-ENV): Define.
37046         Patch by John Stanley <jpsinthemix@verizon.net>.
37048         * misc/Makefile (headers): Add bits/select2.h.
37049         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37050         * misc/bits/select2.h: New file.
37051         * include/bits/select2.h: New file.
37052         * debug/Makefile (routines): Add fdelt_chk.
37053         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37054         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37055         FD_ISSET.
37056         * debug/fdelt_chk.c: New file.
37058         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37059         * wcsmbs/test-wmemcmp.c: Likewise.
37060         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37061         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37063 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37065         * string/Makefile (strop-tests): Add memcmp.
37066         * string/test-wmemcmp.c: New file.
37067         * string/test-memcmp.c: Add wmemcmp support.
37069 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37071         [BZ #13153]
37072         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37073         2011-07-19 change.
37075         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37076         garbage value in a __mach_port_mod_refs call in the cases of the
37077         task-self and thread-self ports.
37079 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37081         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37083 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37085         * elf/dl-load.c (lose): Check for non-null L.
37087 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37089         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37091         * elf/dl-libc.c (dlerror_run): Pass back error code from
37092         dl_catch_error.
37094         [BZ #13123]
37095         * elf/dl-load.c (lose): Free l_origin if it is valid.
37097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37098         names.
37099         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37100         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37101         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37102         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37103         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37104         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37106 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37108         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37109         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37110         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37111         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37112         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37113         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37114         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37115         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37116         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37117         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37119 2011-08-15  Alan Modra  <amodra@gmail.com>
37121         [BZ #13092]
37122         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37123         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37124         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37125         ppc_mcount to static-only-routines.
37126         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37127         __mcount_internal.
37128         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37129         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37131 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37133         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37134         for finite and infinity parameters.
37136 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37139         and add nop instructions for throughput optimization.
37140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37142 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37144         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37145         aligned copy for power7 with vector-scalar instructions.
37146         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37148 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37150         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37151         AVX check.
37153 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37155         [BZ #13144]
37156         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37157         last change.
37159 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37161         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37162         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37163         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37164         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37165         clock_gettime.
37167 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37169         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37170         Forgot to demangle the pointer.
37172         * sysdeps/i386/sysdep.h: Define atom_text_section.
37173         * sysdeps/x86_64/sysdep.h: Likewise.
37174         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37175         section with atom_text_section.
37176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37177         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37178         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37179         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37180         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37182         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37183         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37184         already be defined.  Change to take two parameters and don't assign
37185         result to variable.  Adjust all users.
37186         Define INTERNAL_GETTIME if not already defined.
37187         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37188         call.
37189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37190         HAVE_CLOCK_GETTIME_VSYSCALL.
37191         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37194         gettimeofday vsyscall, just use time.
37196 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37199         <errno.h>.
37201 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37203         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37204         syscall on x86-64.
37205         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37206         syscall.
37207         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37208         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37209         syscall if possible.
37211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37213         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37214         e_ident.  Don't pass to find_mapsXX.
37215         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37217 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37220         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37221         * sysdeps/x86_64/multiarch/strchr.S: Update.
37222         Check bit_slow_BSF bit.
37223         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37224         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37225         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37227 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37229         [BZ #13134]
37230         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37231         before glibc 2.15.
37232         (tryshell): Define.
37233         (__spawni): Change last parameter to be flag.  Test
37234         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37235         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37236         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37237         * posix/spawni.c: Likewise.
37238         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37239         * posix/spawnp.c: Likewise.  Change normal version to use
37240         SPAWN_XFLAGS_USE_PATH.
37241         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37242         SPAWN_XFLAGS_TRY_SHELL.
37244         [BZ #13150]
37245         * posix/glob.h: Remove gcc 1.x support.
37247         [BZ #13068]
37248         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37250 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37253         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37254         strrchr-sse2-bsf
37255         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37256         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37257         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37258         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37259         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37260         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37262 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37264         * sysdeps/x86_64/wcscmp.S: New file.
37266         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37267         wcscmp-c wcscmp-sse2
37268         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37269         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37270         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37271         * wcsmbs/wcscmp.c: Allow renaming.
37273 2011-09-05  David S. Miller  <davem@davemloft.net>
37275         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37276         stack slot, rather than the struct return pointer slot.
37277         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37278         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37280         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37284         * po/ja.po: Update from translation team.
37286         [BZ #13144]
37287         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37288         kernel in 64-bit binaries.
37290 2011-09-01  David S. Miller  <davem@davemloft.net>
37292         * elf/elf.h (HWCAP_SPARC_*): Move to..
37293         * sysdeps/sparc/sysdep.h: this new file and add new values.
37294         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37295         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37296         _DL_HWCAP_COUNT to 24.
37297         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37298         entries.
37299         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37300         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37301         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37303         instead of magic constants.
37304         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37306 2011-08-31  David S. Miller  <davem@davemloft.net>
37308         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37310         Reimplement to do errno handling inline.
37311         (SYSCALL_ERROR_HANDLER): New macro.
37312         (__SYSCALL_STRING): Do not do errno handling in asm.
37313         (__CLONE_SYSCALL_STRING): Delete.
37314         (__INTERNAL_SYSCALL_STRING): Delete.
37315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37316         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37317         (PSEUDO): Reimplement to do errno handling inline.
37318         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37319         (SYSCALL_ERROR_HANDLER): New macro.
37320         (__SYSCALL_STRING): Do not do errno handling in asm.
37321         (__CLONE_SYSCALL_STRING): Delete.
37322         (__INTERNAL_SYSCALL_STRING): Delete.
37323         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37324         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37325         i386.
37326         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37327         (inline_syscall*): Add 'err' argument.
37328         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37329         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37330         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37331         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37333         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37334         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37336 2011-08-30  Andreas Schwab  <schwab@redhat.com>
37338         * elf/rtld.c (dl_main): Relocate objects in dependency order.
37340 2011-08-29  Jiri Olsa <jolsa@redhat.com>
37342         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37343         directive.
37345 2011-08-24  David S. Miller  <davem@davemloft.net>
37347         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
37349 2011-08-24  Andreas Schwab  <schwab@redhat.com>
37351         * elf/Makefile: Add rules to build and run unload8 test.
37352         * elf/unload8.c: New file.
37353         * elf/unload8mod1.c: New file.
37354         * elf/unload8mod1x.c: New file.
37355         * elf/unload8mod2.c: New file.
37356         * elf/unload8mod3.c: New file.
37358         * elf/dl-close.c (_dl_close_worker): Reset private search list if
37359         it wasn't used.
37361 2011-08-23  David S. Miller  <davem@davemloft.net>
37363         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
37364         subtract stack bias.
37365         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
37366         %sp not %fp in calculations.
37367         (_JMPBUF_UNWINDS_ADJ): Likewise.
37369         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
37370         (aio_suspend): Call it to force an exception region around the
37371         AIO_MISC_WAIT() invocation.
37373 2011-08-23  Andreas Schwab  <schwab@redhat.com>
37375         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
37376         backslash.
37378 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
37380         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
37381         protection macro.
37382         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
37383         and <dl-machine.h>.
37384         (Elf64_FuncDesc): Remove.
37386 2011-08-22  David S. Miller  <davem@davemloft.net>
37388         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
37389         sigaltstack check, add missing cfi directives.
37390         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
37391         missing cfi directives, and sigaltstack handling.
37393 2011-08-16  Andreas Schwab  <schwab@redhat.com>
37395         [BZ #11724]
37396         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
37397         object is seen twice.
37398         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37400         * elf/Makefile (distribute): Add tst-initorder2.c.
37401         (tests): Add tst-initorder2.
37402         (modules-names): Add tst-initorder2a tst-initorder2b
37403         tst-initorder2c tst-initorder2d.  Add rules to build them.
37404         ($(objpfx)tst-initorder2.out): New rule.
37405         * elf/tst-initorder2.c: New file.
37406         * elf/tst-initorder2.exp: New file.
37408 2011-08-22  Andreas Schwab  <schwab@redhat.com>
37410         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
37412         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
37413         dependencies back to end of function.
37415         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37416         $(elfobjdir)/ld.so.
37418 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
37420         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
37421         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
37422         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
37423         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
37424         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
37425         of __vdso_gettimeofday.
37426         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
37427         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
37428         attribute_hidden.
37429         (_libc_vdso_platform_setup): Remove initialization of
37430         __vdso_gettimeofday and __vdso_time.
37432 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37434         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
37435         and fgetc_unlocked.
37436         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
37437         getc_unlocked.
37439         * elf/dl-open.c (add_to_global): Report additions to the global scope
37440         for LD_DEBUG=scopes.
37441         (dl_open_worker): Also print scope of newly loaded dependencies.
37442         (_dl_show_scope): Indicate if there is no scope.
37444         [BZ #13114]
37445         * stdio-common/Makefile (tests): Add bug24.
37446         * stdio-common/bug24.c: New file.
37448 2011-08-19  Andreas Jaeger  <aj@suse.de>
37450         [BZ #13114]
37451         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
37452         non-existant file when using close-on-exec mode.
37454 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
37456         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
37457         the very first instruction.
37459         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
37460         the CFI state in the end.
37461         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
37462         inclusion of dl-trampoline.h.
37463         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
37465 2011-08-19  Andreas Schwab  <schwab@redhat.com>
37467         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
37468         expectations for long double.
37470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
37471         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
37473 2011-08-14  David S. Miller  <davem@davemloft.net>
37475         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
37476         artificual limit depends upon the system page size.
37478 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37480         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
37481         * resolv/Makefile: Define CFLAGS-libresolv.
37483 2011-08-17  Andreas Schwab  <schwab@redhat.com>
37485         * nss/makedb.c (compute_tables): Make variables used in nested
37486         function static.
37488 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
37490         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
37491         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
37492         if buffer was too small.
37494         * elf/pldd.c (main): Attach to all threads in the process.
37495         Rewrite /proc handling to use *at functions.
37497 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
37499         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
37500         specifies first scope to show.
37501         (dl_open_worker): Update callers.  Move printing scope of new
37502         object to before the relocation.
37503         * elf/rtld.c (dl_main): Update _dl_show_scope call.
37504         * sysdeps/generic/ldsodefs.h: Update declaration.
37506         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
37507         string for the scope number.
37509 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
37511         * nscd/servicescache.c (cache_addserv): Make sure written is always
37512         initialized.
37514 2011-08-14  Roland McGrath  <roland@hack.frob.com>
37516         * sysdeps/i386/i486/bits/atomic.h
37517         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
37518         statement expression, so as to suppress "set but not used" warning.
37519         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
37521         * string/strncat.c (STRNCAT): Use prototype definition.
37523         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
37524         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
37525         -Iprograms here.
37526         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
37527         (localedef-modules): Add localedef.
37528         (locale-modules): Add locale.
37530         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
37531         * elf/rtld.c (dl_main): Invert order of assignment in last change,
37532         to avoid a warning.
37534 2011-08-14  David S. Miller  <davem@davemloft.net>
37536         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
37537         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
37539 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
37541         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
37542         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
37543         * elf/rtld.c (dl_main): Set l_name of vDSO.
37544         Call _dl_show_scope when DL_DEBUG_SCOPES.
37545         (process_dl_debug): Recognize scopes flag and also set it for all.
37546         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
37547         Declare _dl_show_scope.
37549         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
37550         (do_dlopen): Pass caller_dlopen to dl_open.
37551         (__libc_dlopen_mode): Initialize caller_dlopen.
37553         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
37554         of libc.  Make tolower call locale-independent.  Optimize a bit by
37555         using isdigit instead of isalnum.
37556         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
37558 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
37560         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
37561         was a dependency or dynamically loaded.
37563 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
37565         * intl/l10nflist.c: Allow architecture-specific pop function.
37566         * sysdeps/x86_64/l10nflist.c: New file.
37568         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
37569         classification.
37571 2011-08-10  Andreas Schwab  <schwab@redhat.com>
37573         * include/dirent.h: Add libc_hidden_proto for scandirat and
37574         scandirat64.  Don't declare __scandirat64.
37575         * dirent/scandirat.c: Add libc_hidden_def.
37576         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
37577         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
37579 2011-08-10  David S. Miller  <davem@davemloft.net>
37581         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
37582         enum.
37583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37584         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37587 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
37589         * Versions.def [libc]: Add GLIBC_2.15.
37590         * dirent/Makefile (routines): Add scandirat and scandirat64.
37591         * dirent/Versions [libc]: Export scandirat and scandirat64 for
37592         GLIBC_2.15.
37593         * dirent/dirent.h: Declare scandirat and scandirat64.
37594         * dirent/scandirat.c: New file.
37595         * dirent/scandirat64.c: New file.
37596         * sysdeps/wordsize-64/scandirat.c: New file.
37597         * sysdeps/wordsize-64/scandirat64.c: New file.
37598         * dirent/opendir.c: Define opendirat.
37599         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
37600         using scandirat.
37601         * dirent/scandir64.c: Adjust for scandir.c change.
37602         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
37603         __scandirat64, and __scandir_cancel_handler.
37604         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
37605         additional parameter and use openat instead of open (outside of ld.so).
37606         Add new __opendir as wrapper around __opendirat.
37607         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
37608         here without requiring old scandirat implementation.
37610 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
37612         * dirent/scandir.c (cancel_handler): Renamed to
37613         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
37614         defined.  Adjust users.
37615         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
37616         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
37618 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
37620         * string/test-string.h (IMPL): Use __STRING to expand name and then
37621         stringify it.
37623         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
37624         of cleanups.
37626 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37628         * string/Makefile: Update.
37629         (strop-tests): Append strncat.
37630         * string/test-wcscmp.c: New file.
37631         New comprehensive test for wcscmp.
37632         * string/test-strcmp.c: Update.
37633         (WIDE): New define.
37635 2011-07-22  Andreas Schwab  <schwab@redhat.com>
37637         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37638         line.
37640 2011-07-26  Andreas Schwab  <schwab@redhat.com>
37642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37643         encoding to ACE if AI_IDN.
37645 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
37647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37648         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37650 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37652         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37653         Fix overflow bug in strncat.
37654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37656         * string/test-strncat.c: Update.
37657         Add new tests for checking overflow bugs.
37659 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37661         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37662         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37663         * sysdeps/i386/i686/multiarch/strcat.S: New file.
37664         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37666         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37667         * sysdeps/i386/i686/multiarch/strncat.S: New file.
37668         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37669         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37671         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37672         (USE_AS_STRCAT): Define.
37673         Add strcat and strncat support.
37674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37676 2011-07-25  Andreas Schwab  <schwab@redhat.com>
37678         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37679         __n bigger than INT_MAX+1.
37680         (__strncmp_g): Likewise.
37682 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
37684         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37685         * libio/stido.h: Likewise.
37687         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37688         (AF_NFC): Define.
37689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37690         (AF_NFC): Define.
37692         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37693         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37694         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37695         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37698         [BZ #13021]
37699         * scripts/test-installation.pl: Don't expect libnss_test1 to be
37700         installed.
37702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37703         typo.
37704         (_dl_x86_64_save_sse): Likewise.
37706 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
37708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37709         OSXSAVE.
37710         (_dl_x86_64_save_sse): Likewise.
37712         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37714         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37716 2011-07-21  Andreas Schwab  <schwab@redhat.com>
37718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37719         change.
37720         (_dl_x86_64_save_sse): Use correct AVX check.
37722 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37724         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37725         bug in strncpy/strncat.
37726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37728 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
37730         * string/tester.c (test_strcat): Add tests for different alignments
37731         of source and destination.
37732         (test_strncat): Likewise.
37734 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37736         [BZ #12852]
37737         * posix/glob.c (glob): Check passed in values before using them in
37738         expressions to avoid some overflows.
37739         (glob_in_dir): Likewise.
37741         [BZ #13007]
37742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37743         check for AVX enablement so that we don't crash with old kernels and
37744         new hardware.
37745         * elf/tst-audit4.c: Add same checks here.
37746         * elf/tst-audit6.c: Likewise.
37748         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37750 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
37752         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37754 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
37756         * po/cs.po: Update from translation team.
37757         * po/bg.po: Likewise.
37759 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
37761         * misc/sys/cdefs.h: Add support for const attribute.
37762         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37763         to gnu_dev_{major,minor,makedev} functions.
37765 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
37767         * intl/dcigettext.c (get_output_charset): Add missing bracket.
37769 2011-07-20  Andreas Schwab  <schwab@redhat.com>
37771         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37772         strlen results.
37774 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37776         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37777         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37778         register in order to avoid conflicts with the soft frame pointer
37779         being held in r11 when necessary.
37780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37781         (INTERNAL_VSYSCALL_NCS): Likewise.
37783 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
37785         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37786         * elf/dl-fini.c (_dl_fini): Adjust caller.
37787         * elf/dl-close.c (_dl_close_worker): Likewise.
37788         * sysdeps/generic/ldsodefs.h: Adjust declaration.
37790 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37792         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37793         "aux_cache->nlibs < 0".
37795         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37796         in the reload-count case.
37798 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37801         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37802         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37803         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37804         * sysdeps/x86_64/multiarch/strcat.S: New file.
37805         * sysdeps/x86_64/multiarch/strncat.S: New file.
37806         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37807         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37808         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37809         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37810         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37811         (USE_AS_STRCAT): Define.
37812         Add strcat and strncat support.
37813         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37815         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37816         * string/strncat.c: Update.
37817         (USE_AS_STRNCAT): Define.
37818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37819         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37820         and i7.
37821         * sysdeps/x86_64/multiarch/init-arch.h
37822         (bit_Prefer_PMINUB_for_stringop): New.
37823         (index_Prefer_PMINUB_for_stringop): Likewise.
37824         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37825         bit_Prefer_PMINUB_for_stringop.
37827 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37829         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37830         buffer64.
37831         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37832         of casting of buffer.
37833         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37834         buffer32 and buffer64.
37835         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37836         writes instead of casting of buffer.
37837         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37838         buffer32.
37839         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37840         casting of buffer.
37842 2011-07-19  Andreas Schwab  <schwab@redhat.com>
37844         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37846 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
37848         * nscd/nscd.c (termination_handler): Don't do anything for a database
37849         if it has not yet been initialized.
37851 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37853         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37855 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
37857         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37859 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
37861         * po/nl.po: Update from translation team.
37862         * po/sv.po: Likewise.
37864 2011-07-16  Roland McGrath  <roland@hack.frob.com>
37866         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37867         now disallowed by GCC.
37869         * configure.in (use-default-link): Default to yes if a test -shared
37870         link meets our qualifications.
37871         * configure: Regenerated.
37873         * config.make.in (output-format): New variable.
37874         * configure.in: Check for ld --print-output-format support.
37875         * configure: Regenerated.
37876         * Makerules ($(common-objpfx)format.lds)
37877         [$(output-format) != unknown]: Just use $(output-format),
37878         instead of the linker-script munging.
37880 2011-07-14  Roland McGrath  <roland@hack.frob.com>
37882         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37883         of $(common-objpfx)shlib.lds.
37884         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37886         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37887         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37889         * configure.in (-z relro check): Adjust test code to add a large
37890         writable data section after it.
37891         * configure: Regenerated.
37893 2011-07-11  Roland McGrath  <roland@hack.frob.com>
37895         * configure.in (-z relro check): Fix test code to make the variable
37896         truly const.
37897         * configure: Regenerated.
37899 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
37901         * nscd/nscd.h (struct traced_file): Define.
37902         (struct database_dyn): Remove inotify_descr, reset_res, and filename
37903         elements.  Add traced_files.
37904         (inotify_fd): Declare.
37905         (register_traced_file): Declare.
37906         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37907         (inotify_fd): Export.
37908         (resolv_conf_descr): Remove.
37909         (nscd_init): Move inotify descriptor creation to main.
37910         Don't register files for notification here.
37911         (register_traced_file): New function.
37912         (invalidate_cache): Don't use reset_res to determine whether to call
37913         res_init, go through the list of registered files.
37914         (main_loop_poll): The inotify descriptors are now stored in the
37915         structures for the traced files.
37916         (main_loop_epoll): Likewise
37917         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
37918         to __nss_disable_nscd.
37919         * nscd/cache.c (prune_cache): There is no single inotify descriptor
37920         for a database anymore.  Check the records for all the registered
37921         files instead.
37922         * nss/Makefile (libnss_files-routines): Add files-init.
37923         (libnss_db-routines): Add db-init.
37924         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37925         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37926         * nss/nss_db/db-init.c: New file.
37927         * nss/nss_files/files-init.c: New file.
37928         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
37929         __nss_lookup_function.
37930         (__nss_lookup_function): Call nss_load_library.
37931         (nss_load_all_libraries): New function.
37932         (__nss_disable_nscd): Take parameter with callback function for files
37933         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
37934         used for the cached services.
37935         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37936         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37937         options for features to all the files in nscd.
37939         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37941 2011-07-10  Roland McGrath  <roland@hack.frob.com>
37943         * csu/elf-init.c (__libc_csu_init): Comment typo.
37945 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
37947         * po/pl.po: Update from translation team.
37948         * po/ja.po: Likewise.
37949         * po/ru.po: Likewise.
37950         * po/ko.po: Likewise.
37951         * po/fr.po: Likewise.
37953 2011-07-09  Roland McGrath  <roland@hack.frob.com>
37955         * configure.in (.ctors/.dtors header and trailer check):
37956         Use an empirical test on a built program.
37957         * configure: Regenerated.
37959         * configure.in (-z relro check): Use an empirical test on a built DSO.
37960         Detect, but do not require, on ia64.
37961         * configure: Regenerated.
37963         * configure.in (READELF): Find it with AC_CHECK_TOOL.
37964         Update tests that use readelf to use $READELF instead.
37965         * configure: Regenerated.
37967 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
37969         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37970         if the result is not used.
37972 2011-07-05  Andreas Jaeger  <aj@suse.de>
37974         [BZ#9696]
37975         * stdlib/tst-strtod.c: Add testcase.
37977 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
37979         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37980         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37981         The latter has a higher limit.  Take additional parameter to pass to
37982         the new function.
37983         (__pathconf): Pass file to __statfs_link_max.
37984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37985         __statfs_link_max.
37986         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37987         __statfs_link_max.
37989         [BZ #12868]
37990         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37991         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37992         Handle Lustre.
37993         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37994         (__statfs_filesize_max): Likewise.
37995         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37997 2011-07-05  Andreas Jaeger  <aj@suse.de>
37999         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38001 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38003         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38004         `status' variable.
38005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38006         Likewise.
38008 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38010         * Makefile (strop-tests): Add strncat.
38011         * string/test-strncat.c: New file.
38013 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38015         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38017 2011-06-21  Andreas Jaeger  <aj@suse.de>
38019         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38020         Copy rule from iconvdata/Makefile.
38022 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38024         [BZ #12922]
38025         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38026         but no long options are defined, just return 'W'.
38028 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38030         [BZ #9696]
38031         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38033 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38035         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38036         netgroups to read.
38037         (innetgr): Likewise.
38039 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38041         * config.make.in (install_root): Default to $(DESTDIR).
38043 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38045         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38047 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38049         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38051         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38052         containing directory rather than embedding absolute directory names.
38054         * scripts/check-local-headers.sh: Rewritten using awk.
38055         Match by word, not by line.  Print error messages for matches.
38056         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38058         * Makerules [shlib-lds-flags empty]:
38059         ($(common-objpfx)libc_pic.opts): New target.
38060         ($(common-objpfx)libc_pic.os.clean): New target.
38061         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38063         * config.make.in (OBJCOPY): New variable.
38064         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38065         * configure: Regenerated.
38067         * config.make.in (use-default-link): New variable.
38068         * configure.in (use_default_link): Grok --with-default-link to set it.
38069         * configure: Regenerated.
38070         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38071         (shlib-lds, shlib-lds-flags): Define to empty.
38073         * Makerules (shlib-lds): New variable.
38074         (shlib-lds-flags): New variable.
38075         (build-shlib, build-moduile, build-module-asneeded): Use it.
38076         ($(common-objpfx)libc.so): Use $(shlib-lds).
38077         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38078         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38080         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38081         DT_FLAGS/DT_FLAGS_1 with zero flags.
38083         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38084         linker script munging.
38086 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38088         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38089         as 128-bit value.
38090         * crypt/sha512.c (sha512_process_block): Perform total addition using
38091         128-bit if possible.
38092         (__sha512_finish_ctx): Likewise.
38093         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38094         as 64-bit value.
38095         * crypt/sha256.c (SWAP64): Define.
38096         (sha256_process_block): Perform total addition using 64-bit if
38097         possible.
38098         (__sha256_finish_ctx): Likewise.
38100 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38102         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38104         * nscd/hstcache.c (cache_addhst): Likewise.
38105         * nscd/grpcache.c (cache_addgr): Likewise.
38106         * nscd/aicache.c (addhstaiX): Likewise
38107         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38109 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38111         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38112         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38113         * nscd/hstcache.c (cache_addhst): Likewise.
38114         * nscd/grpcache.c (cache_addgr): Likewise.
38115         * nscd/aicache.c (addhstaiX): Likewise
38117 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38119         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38120         domain only when needed.
38122 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38125         is always restored.
38127 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38129         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38130         are re-adding the entry.
38131         * nscd/servicescache.c (cache_addserv): Likewise.
38133 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38135         * sysdeps/generic/dl-irel.h: fix protection against multiple
38136         inclusions.
38137         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38139 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38141         [BZ #12935]
38142         * malloc/memusage.sh: Fix quoting in message.
38143         * debug/xtrace.sh: Likewise.
38145         * configure.in: Remove support for --experimental-malloc option, make
38146         it the default.
38147         * config.make.in: Likewise.
38148         * malloc/Makefile: Likewise.
38150 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38152         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38153         two-byte characters.
38155 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38157         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38158         AC_CACHE_CHECK invocation.
38159         * configure: Regenerated.
38161         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38163 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38165         [BZ #12350]
38166         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38167         bit from old_res_options.
38169         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38171         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38172         value type for setfct.
38174 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38177         __gettimeofday instead of gettimeofday.
38179 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38181         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38183 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38185         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38187         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38188         info.
38190 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38193         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38194         strcpy-sse2-unaligned strncpy-sse2-unaligned
38195         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38196         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38197         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38198         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38199         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38200         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38201         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38202         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38203         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38204         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38205         (STRCPY): Support SSE2 and SSSE3 versions.
38207 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38209         [BZ #12874]
38210         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38211         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38212         kernels which artificially limit size of requests.
38214 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38217         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38218         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38219         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38220         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38221         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38222         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38223         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38224         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38225         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38226         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38227         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38228         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38229         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38230         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38232         Enable unaligned load optimization for Intel Core i3, i5 and i7
38233         processors.
38234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38235         Define.
38236         (index_Fast_Unaligned_Load): Define.
38237         (HAS_FAST_UNALIGNED_LOAD): Define.
38239 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38241         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38243 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38245         [BZ #12907]
38246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38247         until it is clear that the information is realy needed.
38248         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38250 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38254 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38256         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38257         /sys/devices/system/cpu/online if it is usable.
38259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38260         reading the information from the /proc filesystem to once a second.
38262 2011-06-21  Andreas Jaeger  <aj@suse.de>
38264         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38265         NULL after inclusion of kernel headers.
38267 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38269         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38270         calls to internal_setent.
38272         [BZ #12885]
38273         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38274         addresses using gethostbyname4_r ignore IPv4 addresses.
38276         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38277         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38279         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38281 2011-06-20  David S. Miller  <davem@davemloft.net>
38283         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38284         inclusions.
38285         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38287         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38288         (elf_irel): Use it.
38289         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38290         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38291         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38292         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38293         * sysdeps/x86_64/dl-irel.h: Likewise.
38295         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38296         * elf/dl-sym.c: Likewise.
38298 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38300         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38301         need to dereference resplen2.
38303 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38305         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38307 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38309         * Makeconfig: Define vardbdir and inst_vardbdir.
38310         * nss/Makefile: Add rules to install db-Makefile.
38312         * nss/nss_db/db-XXX.c: Cleanup.
38314         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38315         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38316         GLIBC_PRIVATE.
38317         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38318         * nss/makedb.c: Implement -g option to specify that value strings
38319         are generated and should not be added to table iterated over for
38320         get*ent calls.
38321         * nss/nss_db/db-initgroups.c: New file.
38323         * nss/getent.c: Add support for initgroups lookups through getgrouplist
38324         interface.
38326         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38327         (internal_getgrouplist): Adjust to name change.
38328         Update use_initgroups_entry if this is not the first call.
38329         * nss/databases.def: Add initgroups entry.
38331         * nss/makedb.c (compute_tables): Check result of multiple hash table
38332         sizes to minimize maximum chain length.
38334 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
38336         * Versions.def: Add entry for libnss_db.
38337         * shlib-versions: Likewise.
38338         * nss/Makefile: Add rules to build libnss_db.
38339         * nss/Versions: Add libnss_db information.  Organize libnss_files
38340         entries better.
38341         * nss/db-Makefile: Add gshadow support.  Change rules for the new
38342         makedb progra.  Some minor improvements to generate smaller files.
38343         * nss/nss_db/nss_db.h: Move NSS database header data structures to
38344         here from...
38345         * nss/makedb.c: ...here.
38346         Improve database format to be smaller and require less memory at
38347         runtime.
38348         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
38349         db anymore.
38350         * nss/nss_db/db-netgrp.c: Likewise.
38351         * nss/nss_db/db-open.c: Likewise.
38352         * nss/nss_files/flies-XXX.x: Adjust comments.
38353         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
38354         * nss/nss_files/files-grp.c: Likewise.
38355         * nss/nss_files/files-hosts.c: Likewise.
38356         * nss/nss_files/files-network.c: Likewise.
38357         * nss/nss_files/files-proto.c: Likewise.
38358         * nss/nss_files/files-pwd.c: Likewise.
38359         * nss/nss_files/files-rpc.c: Likewise.
38360         * nss/nss_files/files-service.c: Likewise.
38361         * nss/nss_files/files-sgrp.c: Likewise.
38362         * nss/nss_files/files-spwd.c: Likewise.
38363         * nss/nss_db/db-alias.c: Removed.
38364         * nss/nss_db/dummy-db.h: Removed.
38366 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
38368         * nss/makedb.c: Rewritten to not use database library.
38369         * nss/Makefile: Update to build new makedb program.
38371 2011-06-14  Andreas Jaeger  <aj@suse.de>
38373         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
38374         memset declaration.
38376 2011-06-10  Andreas Schwab  <schwab@redhat.com>
38378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
38379         tmpbuf.
38381 2011-06-10  Roland McGrath  <roland@hack.frob.com>
38383         * Makerules (shlib.lds): Fail if the linker script comes out empty.
38384         * elf/Makefile ($(objpfx)ld.so): Likewise.
38386         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
38387         Don't list ld.so twice in dependencies.
38389         * posix/bug-regex31.c: Include <stdlib.h>.
38391         * nscd/hstcache.c (cache_addhst): Remove unused variable.
38393         * nis/nss_compat/compat-spwd.c
38394         (getspent_next_nss_netgr): Remove unused variable.
38395         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
38397         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
38398         nonmembers" output to use the right array.
38400         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
38402         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
38404         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
38405         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
38406         * catgets/gencat.c (read_input_file): Likewise.
38407         * locale/programs/locarchive.c (enlarge_archive): Likewise.
38409         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
38410         variable definition inside #if's controlling its use.
38412         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
38414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
38416         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
38418         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
38419         unreachable code.
38421         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
38423         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
38424         * configure: Regenerated.
38426         * Makerules: Revert last change.
38427         * elf/Makefile: Likewise.
38429 2011-06-09  Roland McGrath  <roland@hack.frob.com>
38431         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
38432         * elf/Makefile ($(objpfx)librtld.os): Likewise.
38433         (reloc-link): Likewise.
38435 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
38437         * elf/Makefile: Add rules to build pldd.
38438         * elf/pldd.c: New file.
38439         * elf/pldd-xx.c: New file.
38441 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
38443         * version.h: Update for 2.15 development version.
38445 2011-06-07  David S. Miller  <davem@davemloft.net>
38447         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
38448         ifuncs.
38449         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
38450         elf_machine_lazy_rel): Likewise.
38451         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
38453         elf_machine_lazy_rel): Likewise.
38454         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
38455         dl_hwcap via passed in argument.
38456         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
38457         Likewise.
38459 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38461         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
38463 2011-06-06  Roland McGrath  <roland@hack.frob.com>
38465         [BZ #12849]
38466         * manual/fdl-1.1.texi: New file, verbatim from:
38467         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
38468         * manual/lgpl-2.1.texi: New file, verbatim from:
38469         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
38470         * manual/Makefile (licenses): New variable, list those new file names.
38471         (texis): Use it.
38472         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
38474         * manual/fdl.texi: File removed.
38475         * manual/lesser.texi: File removed.
38476         * manual/libc.texinfo (Copying, Documentation License):
38477         Use new @include file names, put @appendix directive before @include.
38479 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
38481         [BZ #12841]
38482         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
38483         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
38484         (mq_open): Add __NTH.
38486 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
38488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38489         Assume Intel Core i3/i5/i7 processor if AVX is available.
38491 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38494         typo.
38496 2011-05-31  Andreas Schwab  <schwab@redhat.com>
38498         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
38499         memory.  Use alloca_account.  Fix memory leak when retrying.
38501 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
38503         * version.h (RELEASE): Bump for 2.14 release.
38504         * include/features.h (__GLIBC_MINOR__): Bump to 14.
38506         * config.make.in (RANLIB): Remove entry.
38508 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
38510         * po/Makefile (po-sed-cmd): Add ksh to extensions.
38511         (libc.pot): Work around missing support for .ksh extension in xgettext.
38513         [BZ #12684]
38514         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
38515         if both request failed.
38516         (send_dg): In case of server errors clear resplen or *resplen2.
38518         [BZ #12454]
38519         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
38520         when there are multiple maps.
38521         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
38522         (_dl_fini): Remove test here.
38524         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
38526 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
38528         [BZ #12350]
38529         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
38530         bit from old_res_options.
38531         (gaih_inet): Likewise.
38533         [BZ #11099]
38534         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
38535         as signed.
38537         * resolv/res_init.c (res_setoptions): Make the code more compact.
38539         [BZ #11558]
38540         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
38541         set RES_USEVC.
38543         [BZ #11634]
38544         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
38546         * malloc/malloc.h: Mark malloc hook variables as deprecated.
38548         [BZ #11781]
38549         * malloc/malloc.h: Declare malloc hook variables as volatile.
38551         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
38552         in last patch.
38554         [BZ #11799]
38555         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
38556         raise in the comment.
38557         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38559         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
38561 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
38563         [BZ #12811]
38564         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
38565         grow the buffers more if it already has to be sufficient.
38566         (build_wcs_upper_buffer): Likewise.
38567         * posix/regexec.c (check_matching): Likewise.
38568         (clean_state_log_if_needed): Likewise.
38569         (extend_buffers): Don't enlarge buffers beyond size of the input
38570         buffer.
38571         Patches mostly by Emil Wojak <emil@wojak.eu>.
38572         * posix/bug-regex32.c: New file.
38573         * posix/Makefile (tests): Add bug-regex32.
38575         * locale/findlocale.c (_nl_find_locale): Return right away if
38576         _nl_explode_name failed.
38577         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
38579         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
38581         * debug/xtrace.sh: Unify messages.
38582         * malloc/memusage.sh: Likewise.
38584         [BZ #12813]
38585         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
38586         time symbol from vDSO.  Substitute with vsyscall if not available.
38587         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
38588         __vdso_time.
38590         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
38591         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
38592         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
38593         Add sendmmsg and internal_sendmmsg.
38594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
38595         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
38596         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
38598         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
38599         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
38600         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
38602 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
38604         [BZ #12813]
38605         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
38606         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
38607         available.
38608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
38609         __vdso_getcpu.
38611         [BZ #12814]
38612         * iconvdata/Makefile (tests): Add bug-iconv9.
38613         * iconvdata/bug-iconv9.c: New file.
38615 2011-05-27  Andreas Schwab  <schwab@redhat.com>
38617         [BZ #12814]
38618         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
38620 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
38622         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38623         (struct user_regs_struct): Change intcs field back to cs.
38625 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
38627         * po/ja.po: Update from translation team.
38629 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
38631         [BZ #12795]
38632         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38633         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38635 2011-05-20  Andreas Schwab  <schwab@redhat.com>
38637         * stdlib/longlong.h: Update from GCC.
38639 2011-05-23  Andreas Schwab  <schwab@redhat.com>
38641         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38642         parameter name.
38643         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38644         Add parameter name.
38645         (__sysconf): Pass it down.
38647 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
38649         [BZ #12671]
38650         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38651         some situations.
38652         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38653         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38654         add in in __libc_use_alloca calls.  Adjust callers.
38655         (glob): Use malloc in some situations.
38657         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38658         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38659         pltexit.
38661 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
38663         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38664         and CLOCK_BOOTTIME_ALARM.
38666         [BZ #12782]
38667         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38668         is returned.
38670         * string/_strerror.c (__strerror_r): Print negative errors as signed
38671         numbers.
38673         [BZ #12777]
38674         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38675         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38676         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38678         * configure.in: Fix typo in redirection and correct removal of test
38679         files in two cases.
38681         [BZ #12788]
38682         * locale/setlocale.c (new_composite_name): Fix test to check for
38683         identical name of all categories.
38685         [BZ #12792]
38686         * libio/filedoalloc.c (local_isatty): New function.
38687         (_IO_file_doallocate): Use local_isatty.
38688         * stdio-common/perror.c (perror): In case a new stream is used
38689         forward the stream error.
38690         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38691         error flag.
38693 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
38695         [BZ #11869]
38696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38697         alloca.
38698         * include/alloca.h (extend_alloca_account): Define.
38700         [BZ #11857]
38701         * posix/regex.h: Fix comments with documentation of user-accessible
38702         fields after compilation and describe correct free'ing of pattern
38703         after re_compile_pattern.
38704         Patch by Reuben Thomas <rrt@sc3d.org>.
38706 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
38708         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38709         and -mno-altivec to prevent the compiler from using Altivec and/or
38710         VSX instructions when the corresponding registers are not available.
38712 2011-05-19  Andreas Schwab  <schwab@redhat.com>
38714         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38716 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
38718         * libio/freopen.c (freopen): Use __dup2, not dup2.
38719         * libio/freopen64.c (freopen64): Likewise.
38721 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38723         [BZ #12775]
38724         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38725         * math/Makefile (tests): Add test-powl.
38726         (CFLAGS-test-powl.c): Define.
38727         * math/test-powl.c: New file.
38729 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38731         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38733 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
38735         [BZ #11837]
38736         * iconvdata/gb18030.c: Update to GB18020-2005.
38738 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
38740         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38741         RE_SYNTAX_POSIX_AWK): Update to match recent development.
38742         Patch by Aharon Robbins <arnold@skeeve.com>.
38744         [BZ #11892]
38745         * stdlib/putenv.c (putenv): Don't always create copy of the variable
38746         on the stack.
38748         [BZ #11895]
38749         * misc/pselect.c (__pselect): Handle timeout value errors hidden
38750         through underflows.
38752         [BZ #12766]
38753         * misc/error.c (error_at_line): Ensure file_name and old_file_name
38754         point to strings before performing equality test for error_one_per_line
38755         mode.
38757         [BZ #11697]
38758         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38760         [BZ #11820]
38761         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38762         (struct user_fpregs_struct): Avoid __uint*_t types.
38764         [BZ #6420]
38765         * malloc/mtrace.c (tr_where): Add additional parameter to point to
38766         symbol info.  Use it instead of calling _dl_addr locally.
38767         (lock_and_info): New function.
38768         (tr_freehook): Call lock_and_info and pass symbol info as additional
38769         parameter to tr_where.
38770         (tr_mallochook): Likewise.
38771         (tr_reallochook): Likewise.
38772         (tr_memalignhook): Likewise.
38774         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
38775         used and couldn't be at all thread-safe.
38777 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
38779         * libio/freopen.c (freopen): Don't close old file descriptor
38780         before the new one is opened.  Instead dup the new file descriptor
38781         to the old one after the new stream is created.
38782         * libio/freopen64.c (freopen64): Likewise.
38783         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38784         * libio/fileops.c (_IO_new_file_close_it): Handle new
38785         _IO_FLAGS2_NOCLOSE flag.
38786         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38787         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38788         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38789         _IO_FLAGS2_NOCLOSE flag.
38790         * include/unistd.h: Add hidden_proto for dup3.
38791         Define __have_dup3.
38792         * io/dup3.c: Define hidden symbol.
38793         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38795         [BZ #7101]
38796         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38797         when an incomplete long option is used.
38798         * posix/tst-getopt_long1.c: New file.
38799         * posix/Makefile (tests): Add tst-getopt_long1.
38801         [BZ #10138]
38802         * scripts/config.guess: Update from autoconf-2.68.
38803         * scripts/config.sub: Likewise.
38805         [BZ #10157]
38806         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38807         tests into ...
38808         (has_cpuclock): ...this.  New function.
38809         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38810         macro here based on has_cpuclock code.
38812         [BZ #10149]
38813         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38814         First byte (not low byte) is now always NUL.
38815         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38817         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38818         Use non-cancelable interfaces.
38820         [BZ #9809]
38821         * locale/iso-639.def: Add entry for Sorani.
38823         [BZ #11901]
38824         * include/stdlib.h: Move include protection to the right place.
38825         Define abort_msg_s.  Declare __abort_msg with it.
38826         * stdlib/abort.c (__abort_msg): Adjust type.
38827         * assert/assert.c (__assert_fail_base): New function.  Majority
38828         of code from __assert_fail.  Allocate memory for __abort_msg with
38829         mmap.
38830         (__assert_fail): Now call __assert_fail_base.
38831         * assert/assert-perr.c: Remove bulk of implementation.  Use
38832         __assert_fail_base.
38833         * include/assert.hL Declare __assert_fail_base.
38834         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38835         mmap.
38836         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38838 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
38840         [BZ #11952]
38841         [BZ #12453]
38842         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38843         until all modules are registered in the DTV.
38844         * elf/Makefile: Add rules to build and run tst-tls19.
38845         * elf/tst-tls19.c: New file.
38846         * elf/tst-tls19mod1.c: New file.
38847         * elf/tst-tls19mod2.c: New file.
38848         * elf/tst-tls19mod3.c: New file.
38849         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38851         [BZ #12083]
38852         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38853         correctly.
38855         [BZ #12601]
38856         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38857         two-byte sequence errors.
38858         * iconvdata/Makefile (tests): Add bug-iconv8.
38859         * iconvdata/bug-iconv8.c: New file.
38861         [BZ #12626]
38862         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38863         buf2 definition.
38865         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38867         [BZ #12432]
38868         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38869         (dummy_getcfa): New function.
38870         (init): Get _Unwind_GetCFA address, use dummy if not found.
38871         (backtrace_helper): In recursion check, also check whether CFA changes.
38872         (__backtrace): Completely initialize arg.
38874         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38875         storing incomplete byte sequence in state object.  Avoid testing for
38876         guaranteed too small input if we know there is enough data available.
38878 2011-05-11  Andreas Schwab  <schwab@redhat.com>
38880         * Makeconfig (+link-pie): Indent.
38881         * Rules (binaries-pie): Define if $(have-fpie) and
38882         $(build-shared).
38883         (binaries-shared): Also filter out $(binaries-pie).
38884         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38885         * nscd/Makefile (others-pie): Add nscd.
38886         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38887         ($(objpfx)nscd): Remove command override.
38888         * login/Makefile (others-pie): Add pt_chown.
38889         ($(objpfx)pt_chown): Remove command override.
38890         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38891         remove command overrides.
38893 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
38895         * libio/tst_putwc.c: Fix error messages.
38897         [BZ #12724]
38898         * libio/fileops.c (_IO_new_file_close_it): Always flush when
38899         currently writing and seek to current position when not.
38900         * libio/Makefile (tests): Add bug-fclose1.
38901         * libio/bug-fclose1.c: New file.
38903 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
38905         [BZ #12511]
38906         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38907         don't set DF_1_NODELETE here.
38908         (do_lookup_x): When entering new entry test for copy relocation
38909         and if necessary set DF_1_NODELETE flag.
38910         * elf/tst-unique4.cc: New file.
38911         * elf/tst-unique4.h: New file.
38912         * elf/tst-unique4lib.cc: New file.
38913         * elf/Makefile: Add rules to build and run tst-unique4.
38914         Patch by Piotr Bury <pbury@goahead.com>.
38916 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
38918         [BZ #12052]
38919         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38921         [BZ #12625]
38922         * misc/mntent_r.c (addmntent): Flush the stream after the output
38924         [BZ #12393]
38925         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38926         (is_trusted_path_normalize): Skip initial colon.  Append slash
38927         to empty buffer.  Duplicate is_trusted_path code but allow
38928         constructed patch to be prefix.
38929         (is_dst): Allow $ORIGIN followed by /.
38930         (_dl_dst_substitute): Correct clearing of check_for_trusted.
38931         Correct testing of result of is_trusted_path_normalize
38932         (decompose_rpath): Fix warning.
38934 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
38936         [BZ #11257]
38937         * grp/initgroups.c (internal_getgrouplist): When we found the service
38938         list through the initgroups entry in nsswitch.conf do not always
38939         continue on a successful lookup.  Don't always use the
38940         __nss_group_database value if it is set.
38941         * nss/nsswitch.conf (initgroups): Change action for successful db
38942         lookup to continue for compatibility.
38944 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
38946         [BZ #11532]
38947         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38948         and CP774 modules.
38949         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38950         and CP774 modules.
38951         * iconvdata/tst-tables.sh: Likewise.
38952         * iconvdata/cp770.c: New file.
38953         * iconvdata/cp771.c: New file.
38954         * iconvdata/cp772.c: New file.
38955         * iconvdata/cp773.c: New file.
38956         * iconvdata/cp774.c: New file.
38957         * iconvdata/testdata/CP770: New file.
38958         * iconvdata/testdata/CP770..UTF8: New file.
38959         * iconvdata/testdata/CP771: New file.
38960         * iconvdata/testdata/CP771..UTF8: New file.
38961         * iconvdata/testdata/CP772: New file.
38962         * iconvdata/testdata/CP772..UTF8: New file.
38963         * iconvdata/testdata/CP773: New file.
38964         * iconvdata/testdata/CP773..UTF8: New file.
38965         * iconvdata/testdata/CP774: New file.
38966         * iconvdata/testdata/CP774..UTF8: New file.
38968         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38969         END CHARMAP line.
38970         * iconvdata/gen-8bit-gap.sh: Likewise.
38971         * iconvdata/gen-8bit.sh: Likewise.
38973         * locale/iso-639.def: Add ary entry.
38975         [BZ #11258]
38976         * locale/C-translit.h.in: Add U20A1 transliteration.
38978         [BZ #12178]
38979         * locale/iso-639.def: Add wae entry.
38980         Patch by Kevin Bortis <bortis@translate-wae.ch>.
38982         [BZ #12545]
38983         * locale/programs/localedef.c (construct_output_path): Use ssize_t
38984         for n.
38986         [BZ #12711]
38987         * locale/C-translit.h.in: Add entry for U20B9.
38988         Patch by pravin.d.s@gmail.com.
38990 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
38992         [BZ #12713]
38993         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38994         ENAMETOOLONG use generic getcwd.
38995         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
38996         in rtld.  Use *stat64.
38997         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38998         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38999         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39000         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39001         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39002         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39003         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39004         __fstatat64 macros.
39005         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39006         * dirent/rewinddir.c: Add libc_hidden_def.
39007         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39008         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39010         * include/dirent.h (__alloc_dir): Add flags parameter.
39011         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39012         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39013         __alloc_dir.
39014         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39015         from fdopendir if O_CLOEXEC is already set.
39017 2011-03-15  Alan Modra  <amodra@gmail.com>
39019         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39020         l_tls_firstbyte_offset non-zero.  Save padding offset in
39021         l_tls_firstbyte_offset for later use.
39022         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39023         freeing static tls block.
39025 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39027         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39028         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39029         being defined by the kernel headers.
39031 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39033         [BZ #12734]
39034         * resolv/resolv.h: Define RES_NOTLDQUERY.
39035         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39036         no-tld-query and set RES_NOTLDQUERY.
39037         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39038         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39039         modern BIND to search name as TLD unless forbidden.
39041 2011-05-07  Petr Baudis  <pasky@suse.cz>
39042             Ulrich Drepper  <drepper@gmail.com>
39044         [BZ #12393]
39045         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39046         (is_trusted_path): ...to here.
39047         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39048         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39049         using is_trusted_path_normalize() in setuid scripts.
39051 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39053         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39054         __BEGIN/__END_DECLS.
39056 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39059         NSS_STATUS_NOTFOUND if no record was found.
39061 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39063         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39064         (headers-not-in-tirpc): Remove rpc/netdb.h
39065         * resolv/netdb.h: Revert last change.
39067 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39069         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39070         circular dependency between libgcc.a and libc.a.
39072 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39074         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39075         * nis/Makefile: Don't install rpcsvc/*.
39076         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39077         instead of <rpc/types.h>.
39078         (MAXHOSTNAMELEN): Define.
39080 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39082         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39084 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39086         [BZ #12714]
39087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39088         gethostbyname4_r when IPv6 results are possible.
39090 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39092         [BZ #12723]
39093         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39094         _PC_PIPE_BUF handling.
39096 2011-04-30  Bruno Haible  <bruno@clisp.org>
39098         [BZ #12717]
39099         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39100         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39101         to 'int'.
39102         * inet/getnameinfo.c (getnameinfo): Likewise.
39104 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39106         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39107         to groups setting in database lookup.
39108         * nss/nsswitch.conf: Add initgroups entry.
39110 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39112         [BZ #12685]
39113         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39114         mode string.
39115         Patch by Eric Blake <eblake@redhat.com>.
39117 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39119         * sunrpc/Makefile (need-export-routines): Add svc_run.
39120         (routines): Remove svc_run.
39121         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39122         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39123         * sunrpc/svc_run.c (svc_run): Likewise.
39124         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39126 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39128         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39129         problem in reallocation in last patch.
39131 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39133         * sunrpc/Makefile: Move inclusion of Rules.
39135 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39137         * nss/nss_files/files-initgroups.c: New file.
39138         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39139         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39140         _nss_files_initgroups_dyn.
39142 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39144         * elf/elf.h (R_ARM_IRELATIVE): Define.
39146 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39148         * po/ru.po: Update from translation team.
39150 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39152         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39153         dependencies.
39155 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39157         [BZ #12653]
39158         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39159         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39160         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39164 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39166         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39167         differing bytes.
39168         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39172 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39174         [BZ #12420]
39175         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39176         storing it.
39177         * stdlib/bug-getcontext.c: New file.
39178         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39180 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39182         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39183         instructions into .machine "z9-109".
39184         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39185         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39187 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39189         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39190         between environment variables and auxiliary vector.
39192 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39194         * Makefile: Add rules to build linkobj/libc.so.
39195         * include/libc-symbols.h: Define libc_hidden_nolink.
39196         * include/rpc/auth.h: Mark functions which are to be hidden.
39197         * include/rpc/auth_des.h: Likewise.
39198         * include/rpc/auth_unix.h: Likewise.
39199         * include/rpc/clnt.h: Likewise.
39200         * include/rpc/des_crypt.h: Likewise.
39201         * include/rpc/key_prot.h: Likewise.
39202         * include/rpc/pmap_clnt.h: Likewise.
39203         * include/rpc/pmap_prot.h: Likewise.
39204         * include/rpc/pmap_rmt.h: Likewise.
39205         * include/rpc/rpc_msg.h: Likewise.
39206         * include/rpc/svc.h: Likewise.
39207         * include/rpc/svc_auth.h: Likewise.
39208         * include/rpc/xdr.h: Likewise.
39209         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39210         * nss/Makefile: Likewise.
39211         * sunrpc/Makefile: Don't install headers.  Build library with normal
39212         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39213         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39214         for the compat linking library.  Remove use of INTDEF/INTUSE.
39215         * sunrpc/auth_none.c: Likewise.
39216         * sunrpc/auth_unix.c: Likewise.
39217         * sunrpc/authdes_prot.c: Likewise.
39218         * sunrpc/authuxprot.c: Likewise.
39219         * sunrpc/clnt_gen.c: Likewise.
39220         * sunrpc/clnt_perr.c: Likewise.
39221         * sunrpc/clnt_raw.c: Likewise.
39222         * sunrpc/clnt_simp.c: Likewise.
39223         * sunrpc/clnt_tcp.c: Likewise.
39224         * sunrpc/clnt_udp.c: Likewise.
39225         * sunrpc/clnt_unix.c: Likewise.
39226         * sunrpc/des_crypt.c: Likewise.
39227         * sunrpc/des_soft.c: Likewise.
39228         * sunrpc/get_myaddr.c: Likewise.
39229         * sunrpc/key_call.c: Likewise.
39230         * sunrpc/key_prot.c: Likewise.
39231         * sunrpc/netname.c: Likewise.
39232         * sunrpc/pm_getmaps.c: Likewise.
39233         * sunrpc/pm_getport.c: Likewise.
39234         * sunrpc/pmap_clnt.c: Likewise.
39235         * sunrpc/pmap_prot.c: Likewise.
39236         * sunrpc/pmap_prot2.c: Likewise.
39237         * sunrpc/pmap_rmt.c: Likewise.
39238         * sunrpc/publickey.c: Likewise.
39239         * sunrpc/rpc_cmsg.c: Likewise.
39240         * sunrpc/rpc_common.c: Likewise.
39241         * sunrpc/rpc_dtable.c: Likewise.
39242         * sunrpc/rpc_prot.c: Likewise.
39243         * sunrpc/rpc_thread.c: Likewise.
39244         * sunrpc/rtime.c: Likewise.
39245         * sunrpc/svc.c: Likewise.
39246         * sunrpc/svc_auth.c: Likewise.
39247         * sunrpc/svc_authux.c: Likewise.
39248         * sunrpc/svc_raw.c: Likewise.
39249         * sunrpc/svc_run.c: Likewise.
39250         * sunrpc/svc_simple.c: Likewise.
39251         * sunrpc/svc_tcp.c: Likewise.
39252         * sunrpc/svc_udp.c: Likewise.
39253         * sunrpc/svc_unix.c: Likewise.
39254         * sunrpc/svcauth_des.c: Likewise.
39255         * sunrpc/xcrypt.c: Likewise.
39256         * sunrpc/xdr.c: Likewise.
39257         * sunrpc/xdr_array.c: Likewise.
39258         * sunrpc/xdr_float.c: Likewise.
39259         * sunrpc/xdr_intXX_t.c: Likewise.
39260         * sunrpc/xdr_mem.c: Likewise.
39261         * sunrpc/xdr_rec.c: Likewise.
39262         * sunrpc/xdr_ref.c: Likewise.
39263         * sunrpc/xdr_sizeof.c: Likewise.
39264         * sunrpc/xdr_stdio.c: Likewise.
39266 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39268         [BZ #12650]
39269         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39270         * sysdeps/ia64/dl-tls.h: Likewise.
39271         * sysdeps/powerpc/dl-tls.h: Likewise.
39272         * sysdeps/s390/dl-tls.h: Likewise.
39273         * sysdeps/sh/dl-tls.h: Likewise.
39274         * sysdeps/sparc/dl-tls.h: Likewise.
39275         * sysdeps/x86_64/dl-tls.h: Likewise.
39276         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39278 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39280         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39281         rpath element also skip the following colon.
39282         (expand_dynamic_string_token): Add is_path parameter and pass
39283         down to DL_DST_REQUIRED and _dl_dst_substitute.
39284         (decompose_rpath): Call expand_dynamic_string_token with
39285         non-zero is_path.  Ignore empty rpaths.
39286         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39287         with zero is_path.
39289 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39292         Make cancelable.
39294 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39296         [BZ #12655]
39297         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39298         Patch by Filipe David Manana <fdmanana@apache.org>.
39300 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39302         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39303         Maintain aligned stack.
39304         (CHECK_RSP): Remove unused macro.
39306 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39308         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39309         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39311 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
39313         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39315         * include/features.h: Mention __USE_XOPEN2K8 in comment.
39317 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
39319         [BZ #12518]
39320         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39321         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39322         * sysdeps/x86_64/memmove.c: New file.
39323         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39324         (memcpy): Renamed to ...
39325         (__new_memcpy): This.
39326         (memcpy): Provide GLIBC_2_14 memcpy.
39327         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39328         (memcpy): Provide GLIBC_2_2_5 memcpy.
39330 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39332         [BZ #12631]
39333         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39335 2011-03-30  Andreas Schwab  <schwab@redhat.com>
39337         * misc/syncfs.c: New file.
39338         * misc/Makefile (routines): Add syncfs.
39339         * posix/unistd.h: Declare syncfs.
39340         * sysdeps/unix/syscalls.list: Add syncfs.
39342 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39344         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
39345         open_by_handle_at.
39346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39351         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
39352         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39354 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
39357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39358         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
39359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39362         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39364         * io/Makefile: Compile fallocate.c, fallocate64.c, and
39365         sync_file_range.c with -fexceptions.
39366         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
39367         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
39368         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
39369         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
39370         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
39371         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
39373         sync_file_range as cancellation point
39374         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
39375         now a wrapper around __call_sync_file_range with cancellation handling.
39376         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
39377         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
39378         function name to __call_sync_file_range.
39379         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
39380         Add call_sync_file_range.
39382 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39385         bits/timex.h.
39387 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39389         * iconv/iconv.h: Fix typo in comment.
39390         * io/fcntl.h: Likewise.
39391         * libio/stdio.h: Likewise.
39392         * posix/spawn.h: Likewise.
39393         * posix/unistd.h: Likewise.
39394         * stdlib/stdlib.h: Likewise.
39395         * time/time.h: Likewise.
39396         * wcsmbs/wchar.h: Likewise.
39398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
39399         open_by_handle): Add.
39400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
39401         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
39402         Augment a few comments.
39403         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
39404         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39405         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39406         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39408         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
39409         open_by_handle.
39411         * io/fcntl.h (AT_EMPTY_PATH): Define.
39413 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
39415         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
39416         * sysdeps/unix/sysv/linux/bits/time.h: New file.
39417         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
39418         to...
39419         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
39420         * Versions.def: Add GLIBC_2.14.
39421         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
39422         Export.
39424 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
39426         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
39427         round counter.
39428         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39430 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39432         [BZ #12597]
39433         * string/test-strncmp.c (do_page_test): New function.
39434         (check2): Likewise.
39435         (test_main): Call check2.
39436         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
39438 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
39440         [BZ #12587]
39441         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
39442         Handle cache information in CPU leaf 4.
39443         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
39445 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
39447         [BZ #12583]
39448         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
39449         character representation.
39450         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
39452 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
39454         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
39455         END(__isnan) to END(__isnanf) to match function entry point/label
39456         EALIGN(__isnanf,...).
39458 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
39460         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
39462 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
39464         [BZ #12510]
39465         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
39466         copy from the symbol referenced in the relocation to initialize the
39467         used variable.
39468         Patch by Piotr Bury <pbury@goahead.com>.
39469         * elf/Makefile: Add rules to build and tst-unique3.
39470         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
39471         * elf/tst-unique3.cc: New file.
39472         * elf/tst-unique3.h: New file.
39473         * elf/tst-unique3lib.cc: New file.
39474         * elf/tst-unique3lib2.cc: New file.
39476         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
39478 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
39480         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
39481         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
39482         to _start.
39484 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
39486         * elf/dl-load.c (_dl_map_object): If we are looking for the first
39487         to-be-loaded object along a path to loader is ld.so.
39489 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39490             Ulrich Drepper  <drepper@gmail.com>
39492         * sysdeps/x86_64/memset.S: After aligning destination, code
39493         branches to different locations depending on the value of
39494         misalignment, when multiarch is enabled. Fix this.
39496 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
39498         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
39499         Set _x86_64_preferred_memory_instruction for AMD processsors.
39500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39501         Set bit_Prefer_SSE_for_memop for AMD processors.
39503 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
39505         * libio/fmemopen.c (fmemopen): Optimize a bit.
39507 2011-03-03  Andreas Schwab  <schwab@redhat.com>
39509         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
39511 2011-03-03  Roland McGrath  <roland@redhat.com>
39513         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
39515 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
39517         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
39518         __bzero_ultra1 instead of __memset_ultra1.
39520 2011-02-23  Andreas Schwab  <schwab@redhat.com>
39521             Ulrich Drepper  <drepper@gmail.com>
39523         [BZ #12509]
39524         * include/link.h (struct link_map): Add l_orig_initfini.
39525         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
39526         returning unsuccessfully.
39527         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
39528         close of a file loaded at startup, restore the original l_initfini
39529         list.
39530         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
39531         list, store the pointer.
39532         * elf/Makefile ($(objpfx)noload-mem): New rule.
39533         (noload-ENV): Define.
39534         (tests): Add $(objpfx)noload-mem.
39535         * elf/noload.c: Include <memcheck.h>.
39536         (main): Call mtrace.  Close all opened handles.
39538 2011-02-17  Andreas Schwab  <schwab@redhat.com>
39540         [BZ #12454]
39541         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
39542         dependencies are missing.
39544 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39546         Fix __if_freereq crash: Unlike the generic version which uses free,
39547         Hurd needs munmap.
39548         * sysdeps/mach/hurd/ifreq.h: New file.
39550 2011-01-27  Petr Baudis  <pasky@suse.cz>
39551             Ulrich Drepper  <drepper@gmail.com>
39553         [BZ 12445]#
39554         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
39555         to extend_alloca().
39556         * stdio-common/bug23.c: New file.
39557         * stdio-common/Makefile (tests): Add bug23.
39559 2010-09-28  Andreas Schwab  <schwab@redhat.com>
39560             Ulrich Drepper  <drepper@gmail.com>
39562         [BZ #12489]
39563         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
39564         before performing relro protection.  At old place add assertion
39565         to make sure nothing changed.
39567 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
39568             Glauber de Oliveira Costa  <glommer@gmail.com>
39570         * elf/elf.h: Add new ARM TLS relocs.
39572 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
39574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39575         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
39576         cast from r3.
39577         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
39578         'tests' variable.
39579         * sysdeps/wordsize-64/tst-writev.c: New file.
39581 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
39583         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
39584         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
39585         insns in _dl_start to prevent a TOC reference before relocs are
39586         resolved.
39588 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
39590         [BZ #12469]
39591         * Makeconfig: Remove RANLIB definition.
39592         * Makerules: Don't use RANLIB.
39593         * aclocal.m4: Remove ranlib test.
39594         * configure.in: No need to check for ranlib.
39595         * elf/rtld-Rules: Don't use RANLIB.
39597 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39599         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
39600         protection macro.
39601         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
39602         inclusion protection macro.
39604         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
39605         SIGRTMIN and SIGRTMAX and print information in that case only when
39606         SIGRTMIN is defined.
39608 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
39610         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
39611         arginfo fn returning -1.
39613         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
39614         and thousands string is zero terminated.
39616 2011-02-03  Andreas Schwab  <schwab@redhat.com>
39618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
39619         sysdeps/unix/sysv/linux/bits/socket.h.
39621 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39623         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
39624         (__CPU_COUNT): Remove old macros.
39625         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
39626         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
39627         (__CPU_ALLOC, __CPU_FREE): Add macros.
39628         (__sched_cpualloc, __sched_cpufree): Add declarations.
39630 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
39632         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39633         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39634         * nscd/aicache.c (addhstaiX): Return timeout of added value.
39635         (readdhstai): Return value of addhstaiX call.
39636         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39637         (addgrbyX): Return value returned by cache_addgr.
39638         (readdgrbyname): Return value returned by addgrbyX.
39639         (readdgrbygid): Likewise.
39640         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39641         (addpwbyX): Return value returned by cache_addpw.
39642         (readdpwbyname): Return value returned by addhstbyX.
39643         (readdpwbyuid): Likewise.
39644         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39645         (addservbyX): Return value returned by cache_addserv.
39646         (readdservbyname): Return value returned by addservbyX:
39647         (readdservbyport): Likewise.
39648         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39649         (addhstbyX): Return value returned by cache_addhst.
39650         (readdhstbyname): Return value returned by addhstbyX.
39651         (readdhstbyaddr): Likewise.
39652         (readdhstbynamev6): Likewise.
39653         (readdhstbyaddrv6): Likewise.
39654         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39655         (readdinitgroups): Return value returned by addinitgroupsX.
39656         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39657         (prune_cache): Keep track of timeout value of re-added entries.
39658         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39659         * nscd/nscd.h: Adjust prototypes of readd* functions.
39661 2011-02-04  Roland McGrath  <roland@redhat.com>
39663         * nis/nis_server.c (nis_servstate): Use the right name for 0.
39664         (nis_stats): Likewise.
39665         * nis/nis_modify.c (nis_modify): Likewise.
39666         * nis/nis_remove.c (nis_remove): Likewise.
39667         * nis/nis_add.c (nis_add): Likewise.
39669         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39671         * posix/fnmatch_loop.c: Add some consts.
39673         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39675 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
39677         [BZ #12460]
39678         * config.make.in (config-cflags-novzeroupper): Define.
39679         * configure.in: Substitute libc_cv_cc_novzeroupper.
39680         * elf/Makefile (AVX-CFLAGS): Define.
39681         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39682         (CFLAGS-tst-auditmod4a.c): Likewise.
39683         (CFLAGS-tst-auditmod4b.c): Likewise.
39684         (CFLAGS-tst-auditmod6b.c): Likewise.
39685         (CFLAGS-tst-auditmod6c.c): Likewise.
39686         (CFLAGS-tst-auditmod7b.c): Likewise.
39687         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39689 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
39691         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39692         function to the callback.
39693         Patch partly by Jiri Olsa <jolsa@redhat.com>.
39695 2011-02-02  Andreas Schwab  <schwab@redhat.com>
39697         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39698         of errno.
39700 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
39702         [BZ #11724]
39703         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39704         of constructors.
39705         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39706         of destructors.
39707         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39709         [BZ #11724]
39710         * elf/Makefile: Add rules to build and run new test.
39711         * elf/tst-initorder.c: New file.
39712         * elf/tst-initorder.exp: New file.
39713         * elf/tst-initordera1.c: New file.
39714         * elf/tst-initordera2.c: New file.
39715         * elf/tst-initordera3.c: New file.
39716         * elf/tst-initordera4.c: New file.
39717         * elf/tst-initorderb1.c: New file.
39718         * elf/tst-initorderb2.c: New file.
39719         * elf/tst-order-a1.c: New file.
39720         * elf/tst-order-a2.c: New file.
39721         * elf/tst-order-a3.c: New file.
39722         * elf/tst-order-a4.c: New file.
39723         * elf/tst-order-b1.c: New file.
39724         * elf/tst-order-b2.c: New file.
39725         * elf/tst-order-main.c: New file.
39726         New test case by George Gensure <werkt0@gmail.com>.
39728 2010-10-01  Andreas Schwab  <schwab@redhat.com>
39730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39731         decoding ACE if AI_CANONIDN.
39733 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
39735         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39737 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
39739         * version.h (RELEASE): Bump for 2.13 release.
39740         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39742         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39744         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39745         MADV_NOHUGEPAGE.
39746         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39747         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39748         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39749         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39750         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39751         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39753         * posix/getconf.c: Update copyright year.
39754         * catgets/gencat.c: Likewise.
39755         * csu/version.c: Likewise.
39756         * debug/catchsegv.sh: Likewise.
39757         * debug/xtrace.sh: Likewise.
39758         * elf/ldconfig.c: Likewise.
39759         * elf/ldd.bash.in: Likewise.
39760         * elf/sprof.c (print_version): Likewise.
39761         * iconv/iconv_prog.c: Likewise.
39762         * iconv/iconvconfig.c: Likewise.
39763         * locale/programs/locale.c: Likewise.
39764         * locale/programs/localedef.c: Likewise.
39765         * malloc/memusage.sh: Likewise.
39766         * malloc/mtrace.pl: Likewise.
39767         * nscd/nscd.c (print_version): Likewise.
39768         * nss/getent.c: Likewise.
39770         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39771         PF_CAIF, and PF_ALG.
39772         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39774 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
39776         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39777         (modules-names): Use them.
39778         (ifunc-test-modules, ifunc-pie-tests): Define.
39779         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39780         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39781         (test-extras): Likewise.
39782         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39783         $(compile-command.c).
39784         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39785         (all-built-dso): Define.
39786         (check-textrel.out, check-execstack.out): Depend on it.
39788         * configure.in: Don't override --enable-multi-arch.
39790 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
39792         [BZ #6812]
39793         * nscd/hstcache.c (tryagain): Define.
39794         (cache_addhst): Return tryagain not notfound for temporary errors.
39795         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39796         failed.
39798 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
39800         [BZ #10563]
39801         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39802         to make the syscall.
39803         * sysdeps/unix/sysv/linux/setgroups.c: New file.
39805         [BZ #12378]
39806         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39807         and fall back to matching as normal character if the string ends before
39808         the matching ']' is found.  This is what POSIX requires.
39809         * posix/testfnm.c: Adjust test result.
39810         * posix/globtest.sh: Adjust test result.  Add new test.
39811         * posix/tst-fnmatch.input: Likewise.
39812         * posix/tst-fnmatch2.c: Add new test.
39814 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
39816         * elf/Makefile (check-execstack): Revert last change.  Depend on
39817         check-execstack.h.
39818         (check-execstack.h): New target.
39819         (generated): Add check-execstack.h.
39820         * elf/check-execstack.c: Include "check-execstack.h".
39821         (main): Revert last change.
39822         (handle_file): Return zero if GNU_STACK is absent and
39823         DEFAULT_STACK_PERMS doesn't include PF_X.
39825 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
39827         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39828         in child fails because the descriptor is already closed.
39829         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39830         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39831         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39833         [BZ #12397]
39834         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39835         syscall.
39837         [BZ #10484]
39838         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39839         temporary buffer used to handle multi lookups locally.
39840         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39842 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39844         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39845         loader is ld.so.
39847 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
39849         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39850         alignment for SSE2.
39852 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
39854         [BZ #12394]
39855         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39856         characters.  When rounding increased number of integer digits recompute
39857         number of groups.
39858         * stdio-common/tst-grouping.c: New file.
39859         * stdio-common/Makefile: Add rules to build and run tst-grouping.
39861 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
39863         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39864         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
39866         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39867         void.
39868         * bits/select.h: Likewise.
39870 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
39872         * po/ja.po: Update from translation team.
39874 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
39876         [BZ #11155]
39877         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39878         implementation just like for lxstat, fxstatat, et al.
39880 2010-12-27  Jim Meyering  <meyering@redhat.com>
39882         [BZ #12348]
39883         * posix/regexec.c (build_trtable): Return failure indication upon
39884         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
39886 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
39888         [BZ #12201]
39889         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39890         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39892         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39894         [BZ #12207]
39895         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39897         [BZ #12204]
39898         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39899         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39901 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
39903         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39904         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39905         script has SORT_BY_INIT_PRIORITY.
39906         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39907         NO_CTORS_DTORS_SECTIONS is defined.
39908         * elf/soinit.c: Likewise.
39909         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39910         NO_CTORS_DTORS_SECTIONS is defined.
39911         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39912         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39913         * sysdeps/sh/init-first.c: Likewise.
39914         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39916 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
39918         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39919         always use the slow path.
39921 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
39923         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39924         similar rule which adds the sysdep directories to the header search in
39925         order to pick up the correct platform stackinfo.h.
39926         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39927         perform test if it is, otherwise return successfully without testing.
39928         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39929         DEFAULT_STACK_PERMS define in stackinfo.h.
39930         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39931         defined in stackinfo.h.
39932         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39933         DEFAULT_STACK_PERMS defined in stackinfo.h.
39934         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39935         * sysdeps/ia64/stackinfo.h: Likewise.
39936         * sysdeps/s390/stackinfo.h: Likewise.
39937         * sysdeps/sh/stackinfo.h: Likewise.
39938         * sysdeps/sparc/stackinfo.h: Likewise.
39939         * sysdeps/x86_64/stackinfo.h: Likewise.
39940         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39941         PF_X for powerpc64.  Retain PF_X for powerpc32.
39943 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
39945         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39946         accurately.
39947         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39948         GETDENTS_64BIT_ALIGNED.
39950 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
39952         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39954 2010-12-10  Andreas Schwab  <schwab@redhat.com>
39956         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39957         _GNU_SOURCE.
39959         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39960         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39961         Remove __restrict.
39962         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39963         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39965 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
39967         [BZ #11655]
39968         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39969         are initialized.
39971 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
39973         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39975 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
39977         * po/it.po: Update from translation team.
39979 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
39981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39982         unused codes.
39984 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
39986         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39988 2010-11-24  Andreas Schwab  <schwab@redhat.com>
39990         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39991         specially.
39992         (gaih_getanswer_slice): Likewise.
39994 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
39996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39998 2010-05-31  Petr Baudis  <pasky@suse.cz>
40000         [BZ #11149]
40001         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40002         silently even in the chroot mode.
40004 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40006         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40007         last patch a bit.  Pretty printing
40009 2010-05-31  Petr Baudis <pasky@suse.cz>
40011         [BZ #10085]
40012         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40013         initialization of skip_initgroups_dyn.
40015 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40017         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40018         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40020 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40022         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40024 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40026         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40027         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40028         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40029         ($(objpfx)tst-fnmatch-mem): New rule.
40030         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40031         * posix/tst-fnmatch.c (main): Call mtrace.
40033 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40036         Support Intel processor model 6 and model 0x2c.
40038 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40040         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40041           signed comparison.
40043 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40045         [BZ #12205]
40046         * string/test-strncasecmp.c (check_result): New function.
40047         (do_one_test): Use it.
40048         (check1): New function.
40049         (test_main): Use it.
40050         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40051         Support strcasecmp and strncasecmp.
40053 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40055         [BZ #12194]
40056         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40057         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40059 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40061         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40062         IFUNC support.
40063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40064         memset-x86-64.
40065         * sysdeps/x86_64/multiarch/bzero.S: New file.
40066         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40067         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40068         * sysdeps/x86_64/multiarch/memset.S: New file.
40069         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40071         Set bit_Prefer_SSE_for_memop for Intel processors.
40072         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40073         Define.
40074         (index_Prefer_SSE_for_memop): Define.
40075         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40077 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40079         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40080         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40082 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40084         [BZ #12191]
40085         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40086         (__x86_64_raw_data_cache_size_half): Likewise.
40087         (__x86_64_raw_shared_cache_size): Likewise.
40088         (__x86_64_raw_shared_cache_size_half): Likewise.
40090         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40091         (__x86_64_raw_data_cache_size_half): Likewise.
40092         (__x86_64_raw_shared_cache_size): Likewise.
40093         (__x86_64_raw_shared_cache_size_half): Likewise.
40094         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40095         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40096         and __x86_64_raw_shared_cache_size_half.  Round
40097         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40098         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40099         to multiple of 256 bytes.
40101 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40103         [BZ #12167]
40104         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40105         of inacessible symlinks.  Verify result of symlink before returning it.
40106         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40107         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40109 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40111         * math/math.h (isinf): Fix typo in comment.
40113 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40115         * po/da.po: Update from translation team.
40117 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40119         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40120         is added to the list.
40122 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40123             Ulrich Drepper  <drepper@gmail.com>
40125         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40126         the global list here.  Move code to...
40127         (_dl_add_to_namespace_list): ...here.  New function.
40128         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40129         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40130         * elf/dl-load.c (lose): Don't remove the element from the list.
40131         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40132         (_dl_map_object): Likewise.
40134 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40136         [BZ #12159]
40137         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40138         into all bytes of SSE register.
40139         Patch by Richard Li <richardpku@gmail.com>.
40141 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40143         [BZ #12140]
40144         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40145         perturbing.
40147 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40149         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40150         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40151         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40152         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40154         submachine.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40157 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40159         * include/dlfcn.h (__RTLD_SECURE): Define.
40160         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40161         mode & __RTLD_SECURE instead.
40162         (open_path): Rename preloaded parameter to secure.
40163         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40164         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40165         * elf/dl-deps.c (openaux): Likewise.
40166         * elf/rtld.c (struct map_args): Remove is_preloaded.
40167         (map_doit): Don't use it.
40168         (dl_main): Likewise.
40169         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40170         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40172 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40174         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40175         (sysd-rules-targets): Remove duplicates.
40176         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40177         rtld-%.$o dependency.
40179 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40181         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40182         _dl_map_object do it.
40184 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40186         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40187         fast fma builtins, define the macros in the C99 standard.
40188         (FP_FAST_FMAF): Likewise.
40189         (FP_FAST_FMAL): Likewise.
40190         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40192         * bits/mathdef.h: Update copyright year.
40193         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40195 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40197         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40198         builtins, define the macros in the C99 standard.
40199         (FP_FAST_FMAF): Likewise.
40200         (FP_FAST_FMAL): Likewise.
40201         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40202         multiply/add.
40203         (FP_FAST_FMAF): Likewise.
40205 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40207         [BZ #3268]
40208         * math/libm-test.inc (fma_test): Some new testcases.
40209         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40210         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40211         y and infinite z.  Do multiplication by C already in long double.
40212         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40214         y and infinite z.  Do bitwise or of inexact bit into u.d.
40215         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40216         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40217         * sysdeps/i386/fpu/s_fma.S: Removed.
40218         * sysdeps/i386/fpu/s_fmal.S: Removed.
40220 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40222         [BZ #3268]
40223         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40225         computation is not scheduled after fetestexcept.  Fix value
40226         of minimum denormal long double.
40228 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40230         [BZ #3268]
40231         * math/libm-test.inc (fma_test): Add some more tests.
40232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40233         correctly.
40235 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40237         * scripts/data/localplt-s390-linux-gnu.data: New file.
40238         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40240 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40242         [BZ #3268]
40243         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40244         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40245         instead of dbl-64.
40246         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40247         inlines.
40248         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40250         if one of x and y is very large and the other is subnormal.
40251         * sysdeps/s390/fpu/s_fmaf.c: New file.
40252         * sysdeps/s390/fpu/s_fma.c: New file.
40253         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40254         * sysdeps/powerpc/fpu/s_fma.S: New file.
40255         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40256         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40257         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40259 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40261         [BZ #3268]
40262         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40263         fma tests.
40264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40265         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40266         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40267         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40268         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40269         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40272 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40274         [BZ #12078]
40275         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40276         * posix/bug-regex31.input: Add test case.
40278 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40280         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40281         * posix/bug-regex31.input: New file.
40283         [BZ #12078]
40284         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40285         (parse_sub_exp): Fix last change, use postorder.
40287         * posix/bug-regex31.c: New file.
40288         * posix/Makefile: Add rules to build and run bug-regex31.
40290         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40292         [BZ #12078]
40293         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40295         [BZ #12108]
40296         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40297         to have entries in sys_siglist.
40299         [BZ #12093]
40300         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40301         be NULL.
40303 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40305         [BZ #3268]
40306         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40307         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40308         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40309         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40310         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40311         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40312         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40313         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40314         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40315         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40316         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40317         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40319         * math/ftestexcept.c (fetestexcept): Likewise.
40320         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40321         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40322         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40323         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40324         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40325         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40326         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40328 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40330         [BZ #12107]
40331         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40332         newline.
40334 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
40336         * string/bug-strstr1.c: New file.
40337         * string/Makefile: Add rules to build and run bug-strstr1.
40339 2010-10-05  Eric Blake  <eblake@redhat.com>
40341         [BZ #12092]
40342         * string/str-two-way.h (two_way_long_needle): Always clear memory
40343         when skipping input due to the shift table.
40345 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
40347         [BZ #12005]
40348         * malloc/mcheck.c: Handle large requests.
40350         [BZ #12077]
40351         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
40352         for strncmp and strncasecmp.
40353         * string/stratcliff.c: Add tests for strcmp and strncmp.
40354         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
40356 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40358         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
40359         __set_fpscr.
40361 2010-09-30  Andreas Jaeger  <aj@suse.de>
40363         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
40364         (CGROUP_SUPER_MAGIC): Define.
40365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40366         Handle btrfs and cgroup file systems.
40367         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40368         Likewise.
40370 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
40372         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
40373         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
40375 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40377         [BZ #12067]
40378         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
40379         trying to locate the ELF header.
40381 2010-09-27  Andreas Schwab  <schwab@redhat.com>
40383         [BZ #11611]
40384         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
40385         Mask out sign-bit copies when constructing f_fsid.
40387 2010-09-24  Petr Baudis <pasky@suse.cz>
40389         * debug/stack_chk_fail_local.c: Add missing licence exception.
40390         * debug/warning-nop.c: Likewise.
40392 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
40394         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
40395         implementing getdents64 using getdents syscall, set d_type if
40396         __ASSUME_GETDENTS32_D_TYPE.
40398 2010-09-16  Andreas Schwab  <schwab@redhat.com>
40400         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
40401         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
40403 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
40405         [BZ #12037]
40406         * posix/unistd.h: Undo change of feature selection for ftruncate from
40407         2010-01-11.
40409 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
40411         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
40412         detection.
40414 2010-09-20  Andreas Schwab  <schwab@redhat.com>
40416         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
40417         fanotify_mark.
40418         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40420 2010-09-14  Andreas Schwab  <schwab@redhat.com>
40422         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
40423         variables after CHECK_SP call.
40424         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
40426 2010-09-13  Andreas Schwab  <schwab@redhat.com>
40427             Ulrich Drepper  <drepper@redhat.com>
40429         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
40430         re-relocationg ld.so.
40431         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
40432         _dl_init_paths call.
40433         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
40434         here anymore.
40436 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
40438         * resolv/res_init.c (__res_vinit): Count the default server we added.
40440 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
40441             Ulrich Drepper  <drepper@redhat.com>
40443         [BZ #11968]
40444         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40445         (____longjmp_chk): Use %ebx for saving value across system call.
40446         Add unwind info.
40448 2010-09-06  Andreas Schwab  <schwab@redhat.com>
40450         * manual/Makefile: Don't mix pattern rules with normal rules.
40452 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40454         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
40455         operation.
40456         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
40457         * libio/iofopncook.c (_IO_cookie_init): Likewise.
40458         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
40459         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
40460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40461         Likewise.
40463 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
40465         [BZ #11979]
40466         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
40467         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
40469 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
40471         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
40472         * sysdeps/x86_64/addmul_1.S: Likewise.
40473         * sysdeps/x86_64/lshift.S: Likewise.
40474         * sysdeps/x86_64/mul_1.S: Likewise.
40475         * sysdeps/x86_64/rshift.S: Likewise.
40476         * sysdeps/x86_64/sub_n.S: Likewise.
40477         * sysdeps/x86_64/submul_1.S: Likewise.
40479 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40481         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
40482         Define __sched_param instead of SCHED_* and sched_param when
40483         <bits/sched.h> is included with __need_schedparam defined.
40484         * bits/sched.h [__need_schedparam]
40485         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
40486         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
40487         (__defined_schedparam): Define to 1.
40488         (__sched_param): New structure, identical to sched_param.
40489         (__need_schedparam): Undefine.
40491 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
40493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
40494         (epoll_create1): Declare.
40496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
40498 2010-08-31  Andreas Schwab  <schwab@redhat.com>
40500         [BZ #7066]
40501         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40502         shifting retval into place.
40504 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
40506         * nis/rpcsvc/nis.h: Update copyright notice.
40507         * nis/rpcsvc/nis.x: Likewise.
40508         * nis/rpcsvc/nis_callback.h: Likewise.
40509         * nis/rpcsvc/nis_callback.x: Likewise.
40510         * nis/rpcsvc/nis_object.x: Likewise.
40511         * nis/rpcsvc/nis_tags.h: Likewise.
40512         * nis/rpcsvc/yp.h: Likewise.
40513         * nis/rpcsvc/yp.x: Likewise.
40514         * nis/rpcsvc/ypupd.h: Likewise.
40515         * nis/yp_xdr.c: Likewise.
40516         * nis/ypupdate_xdr.c: Likewise.
40518         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
40519         mainly the body of pmap_getport.  Add parameters to specify timeouts.
40520         (pmap_getport): Use __libc_rpc_getport.
40521         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
40522         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
40523         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
40525 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
40527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
40528         fanotify_mark.
40530 2010-08-27  Roland McGrath  <roland@redhat.com>
40532         * sysdeps/i386/i686/multiarch/Makefile
40533         (CFLAGS-varshift.c): New variable.
40535 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
40537         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
40538         * sysdeps/i386/i686/multiarch/varshift.c: New file.
40540         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
40542         * sysdeps/x86_64/strlen.S: Minimal code improvement.
40544 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
40546         * sysdeps/x86_64/strlen.S: Unroll the loop.
40547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40548         strlen-sse2 strlen-sse2-bsf.
40549         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
40550         __strlen_no_bsf if bit_Slow_BSF is set.
40551         (__strlen_sse42): Removed.
40552         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
40553         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
40555 2010-08-25  Roland McGrath  <roland@redhat.com>
40557         * sysdeps/x86_64/multiarch/varshift.S: File removed.
40558         * sysdeps/x86_64/multiarch/varshift.c: New file.
40559         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
40560         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
40561         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
40562         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40564 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
40566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40567         strlen-sse2 strlen-sse2-bsf.
40568         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
40569         __strlen_sse2_bsf if bit_Slow_BSF is unset.
40570         (__strlen_sse2): Removed.
40571         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
40572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
40573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40574         bit_Slow_BSF for Atom.
40575         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
40576         (index_Slow_BSF): Define.
40577         (HAS_SLOW_BSF): Define.
40579 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
40581         [BZ #10851]
40582         * resolv/res_init.c (__res_vinit): When no server address at all
40583         is given default to loopback.
40585 2010-08-24  Roland McGrath  <roland@redhat.com>
40587         * configure.in: Remove config-name.h generation.
40588         * configure: Regenerated.
40589         * config-name.in: File removed.
40590         * scripts/config-uname.sh: New file.
40591         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
40592         ($(objdir)config-name.h): New target.
40594         * sunrpc/rpc_parse.h: Avoid nested comment.
40596 2010-08-24  Richard Henderson  <rth@redhat.com>
40597             Ulrich Drepper  <drepper@redhat.com>
40598             H.J. Lu  <hongjiu.lu@intel.com>
40600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
40601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
40602         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
40603         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
40604         _mm_alignr_epi8 with _mm_loadu_si128.
40605         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
40606         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
40607         (__m128i_shift_right): Removed.
40608         * sysdeps/i386/i686/multiarch/varshift.h: New file.
40609         * sysdeps/i386/i686/multiarch/varshift.S: New file.
40610         * sysdeps/x86_64/multiarch/varshift.h: New file.
40611         * sysdeps/x86_64/multiarch/varshift.S: New file.
40613 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
40615         * configure.in: Move assembler checks to before sysdep dir checking.
40617 2010-08-20  Petr Baudis  <pasky@suse.cz>
40619         * LICENSES: Sync the sunrpc license.
40621 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
40623         * sunrpc/auth_des.c: Update copyright notice once again.
40624         * sunrpc/auth_none.c: Likewise.
40625         * sunrpc/auth_unix.c: Likewise.
40626         * sunrpc/authdes_prot.c: Likewise.
40627         * sunrpc/authuxprot.c: Likewise.
40628         * sunrpc/bindrsvprt.c: Likewise.
40629         * sunrpc/clnt_gen.c: Likewise.
40630         * sunrpc/clnt_perr.c: Likewise.
40631         * sunrpc/clnt_raw.c: Likewise.
40632         * sunrpc/clnt_simp.c: Likewise.
40633         * sunrpc/clnt_tcp.c: Likewise.
40634         * sunrpc/clnt_udp.c: Likewise.
40635         * sunrpc/clnt_unix.c: Likewise.
40636         * sunrpc/des_crypt.c: Likewise.
40637         * sunrpc/des_soft.c: Likewise.
40638         * sunrpc/get_myaddr.c: Likewise.
40639         * sunrpc/getrpcport.c: Likewise.
40640         * sunrpc/key_call.c: Likewise.
40641         * sunrpc/key_prot.c: Likewise.
40642         * sunrpc/openchild.c: Likewise.
40643         * sunrpc/pm_getmaps.c: Likewise.
40644         * sunrpc/pm_getport.c: Likewise.
40645         * sunrpc/pmap_clnt.c: Likewise.
40646         * sunrpc/pmap_prot.c: Likewise.
40647         * sunrpc/pmap_prot2.c: Likewise.
40648         * sunrpc/pmap_rmt.c: Likewise.
40649         * sunrpc/rpc/auth.h: Likewise.
40650         * sunrpc/rpc/auth_unix.h: Likewise.
40651         * sunrpc/rpc/clnt.h: Likewise.
40652         * sunrpc/rpc/des_crypt.h: Likewise.
40653         * sunrpc/rpc/key_prot.h: Likewise.
40654         * sunrpc/rpc/netdb.h: Likewise.
40655         * sunrpc/rpc/pmap_clnt.h: Likewise.
40656         * sunrpc/rpc/pmap_prot.h: Likewise.
40657         * sunrpc/rpc/pmap_rmt.h: Likewise.
40658         * sunrpc/rpc/rpc.h: Likewise.
40659         * sunrpc/rpc/rpc_des.h: Likewise.
40660         * sunrpc/rpc/rpc_msg.h: Likewise.
40661         * sunrpc/rpc/svc.h: Likewise.
40662         * sunrpc/rpc/svc_auth.h: Likewise.
40663         * sunrpc/rpc/types.h: Likewise.
40664         * sunrpc/rpc/xdr.h: Likewise.
40665         * sunrpc/rpc_clntout.c: Likewise.
40666         * sunrpc/rpc_cmsg.c: Likewise.
40667         * sunrpc/rpc_common.c: Likewise.
40668         * sunrpc/rpc_cout.c: Likewise.
40669         * sunrpc/rpc_dtable.c: Likewise.
40670         * sunrpc/rpc_hout.c: Likewise.
40671         * sunrpc/rpc_main.c: Likewise.
40672         * sunrpc/rpc_parse.c: Likewise.
40673         * sunrpc/rpc_parse.h: Likewise.
40674         * sunrpc/rpc_prot.c: Likewise.
40675         * sunrpc/rpc_sample.c: Likewise.
40676         * sunrpc/rpc_scan.c: Likewise.
40677         * sunrpc/rpc_scan.h: Likewise.
40678         * sunrpc/rpc_svcout.c: Likewise.
40679         * sunrpc/rpc_tblout.c: Likewise.
40680         * sunrpc/rpc_util.c: Likewise.
40681         * sunrpc/rpc_util.h: Likewise.
40682         * sunrpc/rpcinfo.c: Likewise.
40683         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40684         * sunrpc/rpcsvc/key_prot.x: Likewise.
40685         * sunrpc/rpcsvc/klm_prot.x: Likewise.
40686         * sunrpc/rpcsvc/mount.x: Likewise.
40687         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40688         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40689         * sunrpc/rpcsvc/rex.x: Likewise.
40690         * sunrpc/rpcsvc/rstat.x: Likewise.
40691         * sunrpc/rpcsvc/rusers.x: Likewise.
40692         * sunrpc/rpcsvc/sm_inter.x: Likewise.
40693         * sunrpc/rpcsvc/spray.x: Likewise.
40694         * sunrpc/rpcsvc/yppasswd.x: Likewise.
40695         * sunrpc/rtime.c: Likewise.
40696         * sunrpc/svc.c: Likewise.
40697         * sunrpc/svc_auth.c: Likewise.
40698         * sunrpc/svc_authux.c: Likewise.
40699         * sunrpc/svc_raw.c: Likewise.
40700         * sunrpc/svc_run.c: Likewise.
40701         * sunrpc/svc_simple.c: Likewise.
40702         * sunrpc/svc_tcp.c: Likewise.
40703         * sunrpc/svc_udp.c: Likewise.
40704         * sunrpc/svc_unix.c: Likewise.
40705         * sunrpc/svcauth_des.c: Likewise.
40706         * sunrpc/xcrypt.c: Likewise.
40707         * sunrpc/xdr.c: Likewise.
40708         * sunrpc/xdr_array.c: Likewise.
40709         * sunrpc/xdr_float.c: Likewise.
40710         * sunrpc/xdr_mem.c: Likewise.
40711         * sunrpc/xdr_rec.c: Likewise.
40712         * sunrpc/xdr_ref.c: Likewise.
40713         * sunrpc/xdr_sizeof.c: Likewise.
40714         * sunrpc/xdr_stdio.c: Likewise.
40716         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40717         handling.
40719 2010-08-19  Andreas Schwab  <schwab@redhat.com>
40721         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40723 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
40725         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40727         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40728         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40729         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40730         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40732         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40733         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40734         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40735         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40736         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40737         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40738         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40740 2010-07-26  Anton Blanchard  <anton@samba.org>
40742         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40743         * malloc/arena.c (heap_trim): Likewise.
40745 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
40747         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40748         here.  Not...
40749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40750         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40752 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40754         * sysdeps/i386/elf/Makefile: New file.
40756 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40758         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40759         from fanotify_init.
40760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40763 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
40765         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40766         of strncasecmp_l.
40767         * sysdeps/multiarch/strcmp.S: Likewise.
40769 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
40771         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40772         strncase_l-nonascii.
40773         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40774         Add strncase_l-ssse3.
40775         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40776         * sysdeps/x86_64/strcmp.S: Likewise.
40777         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40778         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40779         * sysdeps/x86_64/strncase.S: New file.
40780         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40781         * sysdeps/x86_64/strncase_l.S: New file.
40782         * string/Makefile (strop-tests): Add strncasecmp.
40783         * string/test-strncasecmp.c: New file.
40785         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40786         warning.
40788         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40789         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40791 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
40793         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40795 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
40797         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40798         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40799         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40801 2010-05-01  Alan Modra  <amodra@gmail.com>
40803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40804         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40805         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40806         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40807         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40808         tidying.  Don't tail-call __sigjmp_save for static lib.
40809         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40810         save location.
40811         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40812         (CALL_MCOUNT): Add eh info, and nop after bl.
40813         (TAIL_CALL_SYSCALL_ERROR): New macro.
40814         (PSEUDO_RET): Use it.
40815         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40816         Correct save location of integer regs and cr.
40817         (_dl_profile_resolve): Correct cr save location.  Delete nops
40818         after bl when SHARED.  Reduce cfi size a little by better
40819         placement of cfi directives.
40820         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40821         make a stack frame.  Instead use parm save area as a temp.
40822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40823         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
40824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40825         Don't make a stack frame for parent, use parm save area.
40826         Increase child stack frame to 112 bytes.  Don't save unused reg,
40827         and adjust reg usage.  Set up cfi on error recovery and
40828         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40830         (__makecontext): Add dummy nop after jump to exit.
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40832         Use correct parm save area and cr save, reduce stack frame.
40833         Correct cfi for possible PSEUDO_RET frame setup.
40834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40835         Branch to local label emitted by PSEUDO_RET rather than
40836         __syscall_error.
40838 2010-08-12  Andreas Schwab  <schwab@redhat.com>
40840         [BZ #11904]
40841         * locale/programs/locale.c (print_assignment): New function.
40842         (show_locale_vars): Use it.
40844 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
40846         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40847         field.
40848         (struct statfs64): Likewise.
40849         (_STATFS_F_FLAGS): Define.
40850         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40851         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40852         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40853         (ST_VALID): Define locally.
40854         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40855         __statvfs_getflags, use the provided value.
40856         * sysdeps/unix/sysv/linux/kernel-features.h: Define
40857         __ASSUME_STATFS_F_FLAGS.
40859         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40861         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40862         Add sys/fanotify.h.
40863         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40864         fanotify_mask for GLIBC_2.13.
40865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40866         fanotify_init and fanotify_mark.
40867         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40868         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40870         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40871         Add prlimit.
40872         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40873         prlimit64 for GLIBC_2.13.
40874         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40875         prlimit64.
40876         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40877         syscall.
40878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40879         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40880         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40881         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
40883         add prlimit alias.
40884         * sysdeps/unix/sysv/linux/prlimit.c: New file.
40886         [BZ #11903]
40887         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40888         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40890         * nss/Makefile: Add rules to build and run tst-nss-test1.
40891         * shlib-versions: Add entry for libnss_test1.
40892         * nss/nss_test1.c: New file.
40893         * nss/tst-nss-test1.c: New file.
40895         * nss/nsswitch.c (__nss_database_custom): Define new variable.
40896         (__nss_configure_lookup): Set appropriate entry in
40897         __nss_configure_lookup to true.
40898         * nss/nsswitch.h: Define enum with indeces of databases in
40899         databases and __nss_database_custom arrays.  Declare
40900         __nss_database_custom.
40901         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40902         to avoid using nscd when custom rules are installed.
40903         * nss/getXXbyYY_r.c: Likewise.
40904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40906         * nss/nss_files/files-parse.c: Whitespace fixes.
40908 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
40910         [BZ #11883]
40911         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40912         * posix/fnmatch_loop.c: Likewise.
40914 2010-07-17  Andi Kleen  <ak@linux.intel.com>
40916         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40917         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40918         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40919         * Versions.def [GLIBC_2.13]: Add.
40921 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
40923         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40924         Also fail if tpwd after pwuid call is NULL.
40926 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40928         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40929         when converting to ms.
40931 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40933         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40934         EOPNOTSUPP errors with ENOTTY.
40935         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40936         EOPNOTSUPP errors with ENOTTY.
40938 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
40940         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40941         Add strcasecmp_l-ssse3.
40942         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40943         strcasecmp.
40944         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40945         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40946         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40948 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
40950         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40952         * string/Makefile (strop-tests): Add strcasecmp.
40953         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40954         strcasecmp_l-nonascii.
40955         (gen-as-const-headers): Add locale-defines.sym.
40956         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40957         * sysdeps/x86_64/strcasecmp.S: New file.
40958         * sysdeps/x86_64/strcasecmp_l.S: New file.
40959         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40960         * sysdeps/x86_64/locale-defines.sym: New file.
40961         * string/test-strcasecmp.c: New file.
40963         * string/test-strcasestr.c: Test both ends of the range of characters.
40964         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40966 2010-07-29  Roland McGrath  <roland@redhat.com>
40968         [BZ #11856]
40969         * manual/locale.texi (Yes-or-No Questions): Fix example code.
40971 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
40973         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40974         for ld.so.
40976 2010-07-27  Andreas Schwab  <schwab@redhat.com>
40978         * manual/memory.texi (Malloc Tunable Parameters): Document
40979         M_PERTURB.
40981 2010-07-26  Roland McGrath  <roland@redhat.com>
40983         [BZ #11840]
40984         * configure.in (-fgnu89-inline check): Set and substitute
40985         gnu89_inline, not libc_cv_gnu89_inline.
40986         * configure: Regenerated.
40987         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40989 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
40991         * string/test-strnlen.c: New file.
40992         * string/Makefile (strop-tests): Add strnlen.
40993         * string/tester.c (test_strnlen): Add a few more test cases.
40994         * string/tst-strlen.c: Better error reporting.
40996         * sysdeps/x86_64/strnlen.S: New file.
40998 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41000         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41001         lower-latency instructions.
41003 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41005         * string/test-strcasestr.c: New file.
41006         * string/test-strstr.c: New file.
41007         * string/Makefile (strop-tests): Add strstr and strcasestr.
41008         * string/str-two-way.h: Don't undefine MAX.
41009         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41011 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41014         strcasestr-nonascii.
41015         (CFLAGS-strcasestr-nonascii.c): Define.
41016         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41017         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41018         Remove unused attribute.
41020 2010-07-20  Roland McGrath  <roland@redhat.com>
41022         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41023         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41024         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41025         like LD_HWCAP_MASK can disable hwcaps.
41027 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41029         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41031 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41033         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41034         call in strcasestr.
41035         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41036         __strcasestr_sse42_nonascii.
41037         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41038         strcasestr-nonascii.c.
41039         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41041 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41043         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41044         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41045         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41046         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41048 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41050         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41051         fcntl.
41053 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41055         [BZ #11577]
41056         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41057         dl_signal_cerror.
41059 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41061         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41062         _PC_PIPE_BUF using F_GETPIPE_SZ.
41064 2010-07-05  Roland McGrath  <roland@redhat.com>
41066         * manual/arith.texi (Rounding Functions): Fix rint description
41067         implicit in round description.
41069 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41071         * elf/Makefile: Fix linking for a few tests to make recent linker
41072         happy.
41074 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41076         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41077         $(common-objpfx)libc_nonshared.a.
41079 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41081         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41082         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41083         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41084         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41085         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41086         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41087         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41088         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41103         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41104         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41105         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41106         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41107         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41108         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41109         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41110         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41111         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41112         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41113         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41114         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41130 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41132         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41133         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41134         * string/memmove.c (memmove): Renamed to ...
41135         (MEMMOVE): ...this.  Default to memmove.
41136         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41137         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41138         (END_CHK): Define.
41139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41140         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41141         mempcpy-ssse3-back memmove-ssse3-back.
41142         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41143         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41145         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41146         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41147         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41148         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41149         * sysdeps/x86_64/multiarch/memmove.c: New file.
41150         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41151         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41152         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41153         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41154         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41156         Define.
41157         (index_Fast_Copy_Backward): Define.
41158         (HAS_ARCH_FEATURE): Define.
41159         (HAS_FAST_REP_STRING): Define.
41160         (HAS_FAST_COPY_BACKWARD): Define.
41162 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41164         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41165         Restore proper fallback handling.
41167 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41169         [BZ #11701]
41170         * posix/group_member.c (__group_member): Correct checking loop.
41172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41173         OOM in getpwuid_r correctly.  Return error number when the caller
41174         should return, otherwise -1.
41175         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41176         call returning > 0 value.
41177         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41179 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41181         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41182         libc_nonshared.a from targets in modules-names.
41184 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41186         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41187         requires it.
41189 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41191         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41192         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41193         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41194         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41196 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41198         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41200 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41202         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41203         and F_GETPIPE_SZ.
41204         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41211 2010-06-14  Roland McGrath  <roland@redhat.com>
41213         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41215 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41217         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41218         __REDIRECT followed by __THROW.
41219         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41220         * posix/getopt.h (getopt): Likewise.
41222 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41224         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41225         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41226         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41227         in AT_FLAGS.
41228         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41229         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41231 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41235 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41237         [BZ #11640]
41238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41239         Properly check family and model.
41241 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41243         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41245 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41247         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41249 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41251         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41252         symbol reference.
41254 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41256         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41257         symbol reference.
41259 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41261         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41262         and internal_recvmmsg.
41263         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41264         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41265         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41266         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41268         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41269         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41270         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41272 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41274         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41276 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41278         POWER7 optimizations.
41279         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41280         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41282 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41284         * version.h: Update for 2.13 development version.
41286 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41288         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41289         exceptions.  Return 0.
41291 2010-05-07  Roland McGrath  <roland@redhat.com>
41293         * elf/ldconfig.c (main): Add a const.
41295 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41297         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41298         (args_options): Add no-idn option.
41299         (ahosts_keys_int): Add idn_flags to ai_flags.
41300         (parse_option): Handle 'i' option to clear idn_flags.
41302         * malloc/malloc.c (_int_free): Possible race in the most recently
41303         added check.  Only act on the data if no current modification
41304         happened.
41306 See ChangeLog.17 for earlier changes.